apache / apache/bookkeeper

BookieStorageThresholdTest#testStorageThresholdCompaction is flaky on CI

Open
#1,562 0 comments 0 reactions 0 assignees View on GitHub
area/tests triage/week-8 type/task
Dominant language
Java
Stars
2k
Forks
976
Avg merge
6d 15h
Merged PRs (30d)
7

Description

*Problem*

```
2018-07-20\T\08:51:54.182 [ERROR] org.apache.bookkeeper.bookie.BookieStorageThresholdTest.testStorageThresholdCompaction(org.apache.bookkeeper.bookie.BookieStorageThresholdTest)
2018-07-20\T\08:51:54.182 [ERROR] Run 1: BookieStorageThresholdTest.testStorageThresholdCompaction:229 Found entry log file ([0,1,2].log. They should have been compacted/tmp/ledger2356933004759883304test2/current
2018-07-20\T\08:51:54.183 [ERROR] Run 2: BookieStorageThresholdTest.testStorageThresholdCompaction:229 Found entry log file ([0,1,2].log. They should have been compacted/tmp/ledger7058711915875226551test2/current
2018-07-20\T\08:51:54.183 [ERROR] Run 3: BookieStorageThresholdTest.testStorageThresholdCompaction:229 Found entry log file ([0,1,2].log. They should have been compacted/tmp/ledger4884835867022850349test2/current
```

Contributor guide

Open the contributing guide

Research direction

Start with BookieStorageThresholdTest#testStorageThresholdCompaction and the assertion at line 229, using the reported CI failures as the reproduction signal. Trace the storage-threshold compaction behavior and make the test reliable; done means repeated CI runs no longer report un-compacted entry log files.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.