test,tools: reduce CI test runtime - #65980
Open
panva wants to merge 12 commits into
Open
Conversation
A leading member just over 4 GiB followed by a small member exercises Zip64 sizes and offsets with less I/O. Reuse source buffers and verify raw Zip64 fields while retaining full readback and file-backed reserialization. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex
Named modp14 parameters avoid generating and repeatedly validating a custom prime. Keep the existing exchange counts and FIPS rejection assertion. The separate deterministic padding test continues to cover imported prime parameters. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex
Unreferencing listeners leaves accepted connections alive until the keep-alive timeout. Close each single-use connection and its server when the response closes, including intentionally destroyed responses. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex
RunProcess sleeps after polling even when the child has already exited. Skip that sleep, saving up to 100 ms per test. Sort --time results in descending order to display the 20 slowest tests. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex
Single-use requests otherwise wait for the keep-alive timeout. Use nonpersistent agents where agent selection is unrelated to coverage. For default-agent tests, close the server after consuming the response. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex
Use the modp14 prime instead of generating fresh parameters for tests of constructors, key setters, and memory retention. Keep generic DiffieHellman instances and the existing setter and leak assertions. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex
Release the slow fixture over a local socket after the fast fixture emits its bypassed completion event. This removes the fixed 30-second delay while preserving event-order assertions and a bounded failure timeout. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex
A single query attempt exercises the configured timeout without the default retry backoff. Retry behavior has separate coverage. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex
Force collection on a later turn while the timeout sources are only retained by AbortSignal.any(). Shorten the first timeout and clear the watchdog after the assertion. This preserves the source-retention regression check without waiting ten seconds on successful runs. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex
The source delay should not keep the process alive after cancellation. Keep the blocked-source cancellation assertions and unref its timer. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex
Start each asynchronous signature before the synchronous checks for the same algorithm. Keep every sign, verify, and invalid-digest assertion, with only one asynchronous signature outstanding. This reduces elapsed time when CPU capacity is available without reducing coverage. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #65980 +/- ##
==========================================
- Coverage 90.17% 90.16% -0.01%
==========================================
Files 771 771
Lines 265451 265451
Branches 50459 50459
==========================================
- Hits 239361 239347 -14
+ Misses 17059 17058 -1
- Partials 9031 9046 +15 🚀 New features to boost your workflow:
|
jasnell
approved these changes
Sep 11, 2026
This comment was marked as resolved.
This comment was marked as resolved.
Retain the original small imported parameters when the OpenSSL 3 provider shortcut is unavailable. BoringSSL checks the prime on every named-group construction, making 4,000 modp14 constructions too slow. Preserve the existing exchange counts and FIPS assertions. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex
This comment has been minimized.
This comment has been minimized.
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reduce idle waits and redundant work in tests identified through Jenkins timing reports:
--timeshow the slowest 20 tests.