Skip to content

runtests: add extra room for mininum number of tests in sliced jobs - #23211

Closed
vszakats wants to merge 5 commits into
curl:masterfrom
vszakats:t-split-limits
Closed

vszakats wants to merge 5 commits into
curl:masterfrom
vszakats:t-split-limits

Conversation

@vszakats

@vszakats vszakats commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

To avoid random fallouts and micro-management of limits.

Fixing, seen in 'AM curl_global_init_mem debug valgrind 2':

TESTDONE: 899 tests out of 899 reported OK: 100%
TESTFAIL: number of tests run (899) was below the minimum of: 900

Ref: https://github.com/curl/curl/actions/runs/36842851539/job/110305788106?pr=23209

Also: drop manual workarounds from CI.

Follow-up to 6648669 #22619

@vszakats
vszakats marked this pull request as draft October 1, 2026 09:58
@github-actions github-actions Bot added tests CI Continuous Integration labels Oct 1, 2026
@vszakats
vszakats marked this pull request as ready for review October 1, 2026 10:16
@vszakats
vszakats requested a lite review from Copilot October 1, 2026 10:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Windows msys2 slice minimums can increase above the established overrides and still reject affected runs.

Review effort: Lite
Findings: None

What changed in this PR

Adjusts sliced test jobs to tolerate small test-count underruns and removes CI-specific minimum overrides.

Changes:

  • Adds a 15-test safety margin for subset minimums.
  • Removes manual subset minimum overrides from Linux and Windows CI jobs.
File Description
tests/​runtests.pl Applies a safety margin to sliced test minimums.
.github/​workflows/​windows.yml Removes per-slice minimum overrides.
.github/​workflows/​linux.yml Removes per-slice minimum overrides.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

mingw, CM ucrt-x86_64 schannel U torture 2
```
TESTINFO: "Resolving IPv6 'ip6-localhost' did not work" 1 time (1083)
TESTDONE: 929 tests out of 929 reported OK: 100%
TESTFAIL: number of tests run (929) was below the minimum of: 935
FAILED: [code=1] tests/CMakeFiles/test-ci D:/a/curl/curl/bld/tests/CMakeFiles/test-ci
C:\Windows\system32\cmd.exe /C "cd /D D:\a\curl\curl\bld\tests && D:\a\_temp\msys64\usr\bin\perl.exe D:/a/curl/curl/tests/runtests.pl -a -p ~flaky ~timing-dependent -r --retry=5 -j20 --buildinfo $TFLAGS"
ninja: build stopped: subcommand failed.
```
https://github.com/curl/curl/actions/runs/36848095823/job/110323029422?pr=23211
@vszakats vszakats closed this in 01d6471 Oct 1, 2026
@vszakats
vszakats deleted the t-split-limits branch October 1, 2026 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous Integration tests

Development

Successfully merging this pull request may close these issues.

2 participants