C0urante opened a new pull request, #12191:
URL: https://github.com/apache/kafka/pull/12191

   [Jira](https://github.com/C0urante/kafka/pull/new/kafka-12657)
   
   As an initial step to address the notoriously flaky `BlockingConnectorTest` 
test suite, we can try increasing test timeouts.
   
   This approach may not be sufficient, and even if it is, it's still 
suboptimal. Although it may address flakiness on Jenkins, it will make genuine 
failures harder to detect when testing local changes. Additionally, if the 
workload on Jenkins continues to increase, we'll probably have to bump these 
timeouts in the future again at some point.
   
   Potential next steps, for this PR and beyond:
   1. Stop leaking threads that block during test runs
   2. Test repeatedly on Jenkins, ideally at least 50 times
   3. Gather information on the number of CPU cores available to each Jenkins 
node and the distribution of how many threads are allocated over a given time 
period (maybe a day?); this is especially relevant since local testing 
indicates that these tests all do much better when parallelism is reduced, 
which shouldn't be too surprising considering that each Connect integration 
test spins up separate threads for at least one Zookeeper node, one Kafka 
broker, one Connect worker, and usually at least one connector and one task.
   
   I'd like to test these changes as a first step before investigating any of 
the above (except maybe item 1, which should be fairly straightforward). To 
trigger new runs I plan on pushing empty commits or, if those do not trigger 
new Jenkins runs, dummy commits. If this is objectionable let me know and 
hopefully we can find a suitable alternative.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to