Repository navigation
Update CI platforms, modernise network tests - #325
Merged
Merged
Conversation
Drop alamlinux 8 and ubuntu 22,04 (old). Add ubuntu 26.04 (new LTS). Switch clang test to almalinux 10.
The cgi module was removed in Python 3.13 and CGIHTTPRequestHandler is deprecated for removal in 3.15. http_block.py is now a small BaseHTTPRequestHandler server, launched directly by test_net.py, that serves the requested number of 1KB blocks on localhost. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Change this to almalinux:latest, so that it rolls with releases, rather than being locked to a specific release.
Member
Author
|
I don't really understand the almalinux:10 failure as it doesn't happen for me locally... |
Test failures in CI don't produce useful output from ctest, so now if a failure is detected then logfiles get dumped for inspection: - LastTest.log from any failure detected by ctest - The prmon output files, if a Python test script detects a failure
Member
Author
Well, bugger me, I instrument the failures and now it passes! Chalk it up to CI glitch? Clearly the log file printing is definitely useful, so some good has come of this. |
Member
Author
|
I think this is a fairly clear improvement, so self merging. @amete if you have any post-facto comments I'd be happy to get them. |
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.
Drop alamlinux 8 and ubuntu 22,04 (old).
Add ubuntu 26.04 (new LTS).
Switch clang test to almalinux 10.
This update revealed that our testing of network parameters was way out of date, relying on the deprecated
cgimodule in Python. This didn't work on Ubuntu 26.04, which has Python 3.14. With a bit of Claude help this is now updated to a standard http server process, which also avoids thehttp.server.CGIHTTPRequestHandlerdeprecation, scheduled for Python 3.15.