schur-complement CI: don't fail install on pyomo download-extensions#667
Merged
DLWoodruff merged 1 commit intoPyomo:mainfrom Apr 19, 2026
Merged
Conversation
pyomo download-extensions fetches optional artifacts (gjh from netlib.org, mc++, AMPL GSL). Whenever the netlib.org GET hangs (observed ~2.5 min until URLError [Errno 110]), the command exits 1 and the entire schur-complement install step fails. Recent flake-rate is high enough that the user reports the job failing on roughly half of all PRs. mpisppy/tests/test_sc.py only imports parapint, which depends on pymumps (installed via conda above) and PyNumero. Neither gjh nor mc++ is referenced anywhere in the schur-complement path, and pyomo build-extensions builds APPSI/PyNumero C extensions independently of whatever download-extensions managed to fetch. Make the line non-fatal with an explicit warning so transient netlib timeouts no longer red-X the job. If a future test actually needs gjh/mc++, build-extensions will fail loudly and the warning in the log explains why. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #667 +/- ##
==========================================
- Coverage 70.71% 70.70% -0.02%
==========================================
Files 153 153
Lines 19005 19005
==========================================
- Hits 13439 13437 -2
- Misses 5566 5568 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Summary
The
schur-complementjob'sInstall dependenciesstep runspyomo download-extensions, which fetches optional artifacts (gjhfromnetlib.org,mc++, AMPL GSL). Thenetlib.orgGET intermittently hangs (~2.5 min untilURLError [Errno 110]), causingpyomo download-extensionsto exit non-zero and the whole install step to fail. The schur-complement job is currently failing on roughly half of all PRs because of this.mpisppy/tests/test_sc.pyonly importsparapint, which depends onpymumps(installed via conda earlier in the step) and PyNumero. Neithergjhnormc++is referenced anywhere in the Schur-complement path, andpyomo build-extensions(which runs on the next line) builds the APPSI/PyNumero C extensions independently of whateverdownload-extensionsmanaged to fetch.This makes the line non-fatal with an explicit warning. Transient
netlib.orgtimeouts no longer red-X the job. If a future test actually needsgjh/mc++,build-extensionswill fail loudly and the warning in the log explains why.Test plan
schur-complementjob passes (or, if it fails, that the failure is inTest with pytest, not in the install step).netlib.orgis unhappy.🤖 Generated with Claude Code