Skip to content

GHA/windows: fail CI early on stunnel install failure - #20409

Closed
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:chocofail
Closed

vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:chocofail

Conversation

@vszakats

@vszakats vszakats commented Jan 23, 2026 •

Copy link
Copy Markdown
Member

Before this patch CI silently ignored stunnel install failures. This
pushed the failure to the test run step due to not meeting the minimum
number of tests.

Make the root cause obvious by failing early in this case.

Reported-by: Stefan Eissing
Follow-up to 3f1cd80 #19942
Ref: https://github.com/curl/curl/actions/runs/21245626382/job/61134101176?pr=20397
Ref: #16819

Before this patch CI silently ignored stunnel install failures. This
pushed the failure to the test run step due to not meeting the minimum
number of tests.

Make the root cause obvious by failing early in this case.

Reported-by: Stefan Eissing
Follow-up to 3f1cd80 curl#19942
@vszakats vszakats added tests Windows Windows-specific CI Continuous Integration labels Jan 23, 2026
@vszakats vszakats changed the title GHA/windows: fail CI on stunnel install failure GHA/windows: fail CI early on stunnel install failure Jan 23, 2026
@vszakats vszakats closed this in 19b1e44 Jan 23, 2026
@vszakats
vszakats deleted the chocofail branch January 23, 2026 11:45
vszakats added a commit that referenced this pull request Jan 23, 2026
Replace Chocolatey install with direct download and unpack. To reduce
CI dependencies (Chocolatey, NuGet), improve install performance
(10s -> 1s) and hopefully reliability. Last but not least to enable it
for the Cygwin CI job.

Caveats:
- Need to bump stunnel versions manually (2-3 times a year).
  Renovate could likely do it, but I failed to understand its
  documentation and miss tooling/interface to make tests.
- FIPS not enabled. (can be done if necessary)
- Possibly losing checksum verification (not sure if Chocolatey did it
  automatically for this package.)

Also:
- Increase minimum tests by 100 for the Cygwin job.

Ref: #16819 (earlier attempt)
Ref: https://www.stunnel.org/archive/
Ref: https://www.githubstatus.com/incidents/cqb5hcy0gx18
Follow-up to d176f58 #20413
Follow-up to 19b1e44 #20409

Closes #20410
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous Integration tests Windows Windows-specific

Development

Successfully merging this pull request may close these issues.

1 participant