GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||
GeezerVison is showing github.com — Http2ConnectionRoundtripTest: Reduce timing sensitivity to fix CI flakiness by normanmaurer · Pull Request #17540 · netty/netty Conversation
Member
Motivation: We saw sporadic CI failures in Http2ConnectionRoundtripTest where a Modifications:
Result: Less flaky Http2ConnectionRoundtripTest.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…kiness Motivation: We saw sporadic CI failures in Http2ConnectionRoundtripTest where a CountDownLatch.await(...) timed out even though the connection was behaving correctly. Each test method spins up two MultiThreadIoEventLoopGroups with the default thread count (2 * available processors), even though the test only exercises LocalChannel and never needs more than one thread per group. Combined with this module running JUnit5 tests concurrently, this can create significant thread oversubscription and starve the event loop long enough to blow the 15 second timeout under load. This was reproduced locally by running many instances of the test concurrently while the machine was under heavy CPU load, which reliably reproduced the same kind of timeout failure seen on CI. Modifications: - Pin the client and server MultiThreadIoEventLoopGroups in bootstrapEnv(...) to a single thread each instead of the default, since LocalChannel does not benefit from extra threads. - Increase DEFAULT_AWAIT_TIMEOUT_SECONDS from 15 to 30 seconds to give more headroom under CI load. Result: Less flaky Http2ConnectionRoundtripTest.
|
There was an error while loading. Please reload this page.
🚨 TestLens detected 1 failed test 🚨Here is what you can do:
Test SummaryBuild PR / linux-x86_64-java25 build > Netty/Handler/Ssl/Ocsp
🏷️ Commit: 9121b89 Test FailuresOcspServerCertificateValidatorTest (Netty/Handler/Ssl/Ocsp in Build PR / linux-x86_64-java25 build)OcspServerCertificateValidatorTest (Netty/Handler/Ssl/Ocsp in Build PR / linux-x86_64-java25 build | Attempt 1/2)Rerun ControlsSelect tests to mute in this pull request:
Reuse successful test results:
Click the checkbox to trigger a rerun:
Learn more about TestLens at testlens.app/docs. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Auto-port PR for 5.0: #17551 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Could not create auto-port PR. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Port for 4.1 #17552 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…kiness (#17540) (#17552) Motivation: We saw sporadic CI failures in Http2ConnectionRoundtripTest where a CountDownLatch.await(...) timed out even though the connection was behaving correctly. Each test method spins up two MultiThreadIoEventLoopGroups with the default thread count (2 * available processors), even though the test only exercises LocalChannel and never needs more than one thread per group. Combined with this module running JUnit5 tests concurrently, this can create significant thread oversubscription and starve the event loop long enough to blow the 15 second timeout under load. This was reproduced locally by running many instances of the test concurrently while the machine was under heavy CPU load, which reliably reproduced the same kind of timeout failure seen on CI. Modifications: - Pin the client and server MultiThreadIoEventLoopGroups in bootstrapEnv(...) to a single thread each instead of the default, since LocalChannel does not benefit from extra threads. - Increase DEFAULT_AWAIT_TIMEOUT_SECONDS from 15 to 30 seconds to give more headroom under CI load. Result: Less flaky Http2ConnectionRoundtripTest.
…y to fix CI flakiness (#17551) Auto-port of #17540 to 5.0 Cherry-picked commit: dd1e53e --- Motivation: We saw sporadic CI failures in Http2ConnectionRoundtripTest where a CountDownLatch.await(...) timed out even though the connection was behaving correctly. Each test method spins up two MultiThreadIoEventLoopGroups with the default thread count (2 * available processors), even though the test only exercises LocalChannel and never needs more than one thread per group. Combined with this module running JUnit5 tests concurrently, this can create significant thread oversubscription and starve the event loop long enough to blow the 15 second timeout under load. This was reproduced locally by running many instances of the test concurrently while the machine was under heavy CPU load, which reliably reproduced the same kind of timeout failure seen on CI. Modifications: - Pin the client and server MultiThreadIoEventLoopGroups in bootstrapEnv(...) to a single thread each instead of the default, since LocalChannel does not benefit from extra threads. - Increase DEFAULT_AWAIT_TIMEOUT_SECONDS from 15 to 30 seconds to give more headroom under CI load. Result: Less flaky Http2ConnectionRoundtripTest. Co-authored-by: Norman Maurer <[email protected]>
…kiness (netty#17540) (netty#17552) Motivation: We saw sporadic CI failures in Http2ConnectionRoundtripTest where a CountDownLatch.await(...) timed out even though the connection was behaving correctly. Each test method spins up two MultiThreadIoEventLoopGroups with the default thread count (2 * available processors), even though the test only exercises LocalChannel and never needs more than one thread per group. Combined with this module running JUnit5 tests concurrently, this can create significant thread oversubscription and starve the event loop long enough to blow the 15 second timeout under load. This was reproduced locally by running many instances of the test concurrently while the machine was under heavy CPU load, which reliably reproduced the same kind of timeout failure seen on CI. Modifications: - Pin the client and server MultiThreadIoEventLoopGroups in bootstrapEnv(...) to a single thread each instead of the default, since LocalChannel does not benefit from extra threads. - Increase DEFAULT_AWAIT_TIMEOUT_SECONDS from 15 to 30 seconds to give more headroom under CI load. Result: Less flaky Http2ConnectionRoundtripTest.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.