Flaky-test: org.apache.pulsar.broker.loadbalance.extensions.ExtensibleLoadManagerImplTest.stateCheck
- Dominant language
- Java
- Stars
- 15.3k
- Forks
- 3.8k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 160
Description
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
I found another flaky test from the same class, but it involved a different method. https://github.com/apache/pulsar/issues/19908
### Example failure
https://pipelines.actions.githubusercontent.com/serviceHosts/1e11ea78-7103-4d16-8bd8-700e92a4654d/_apis/pipelines/1/runs/130/signedlogcontent/32?urlExpires=2023-03-31T10%3A44%3A30.8944325Z&urlSigningMethod=HMACV1&urlSignature=3oZB7lcjHEKp6oSpe%2BcWIG%2B30rRZkAUs5Bw%2FolW2gxU%3D
### Exception stacktrace
```
Error: org.apache.pulsar.broker.loadbalance.extensions.ExtensibleLoadManagerImplTest.stateCheck(org.apache.pulsar.broker.loadbalance.extensions.ExtensibleLoadManagerImplTest)
Error: Run 1: ExtensibleLoadManagerImplTest>TestRetrySupport.stateCheck:60->setup:141->MockedPulsarServiceBaseTest.internalSetup:150->MockedPulsarServiceBaseTest.internalSetup:133->MockedPulsarServiceBaseTest.init:213->MockedPulsarServiceBaseTest.startBroker:293->MockedPulsarServiceBaseTest.createMainPulsarTestContext:341->MockedPulsarServiceBaseTest.lambda$createPulsarTestContextBuilder$0:372 » Runtime
```
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
Contributor guide
Research direction
Start with org.apache.pulsar.broker.loadbalance.extensions.ExtensibleLoadManagerImplTest.stateCheck and its TestRetrySupport setup path. Read the MockedPulsarServiceBaseTest initialization frames shown in the stack trace and use the linked example failure to reproduce the flake. Done means the test no longer fails intermittently during setup and the relevant test run passes reliably.
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
- Mostly clear
- Newbie friendliness
- 35/100