Skip to content

Update CI platforms, modernise network tests - #325

Merged
graeme-a-stewart merged 4 commits into
mainfrom
update-ci
Oct 18, 2026
Merged

graeme-a-stewart merged 4 commits into
mainfrom
update-ci

Conversation

@graeme-a-stewart

@graeme-a-stewart graeme-a-stewart commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

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 cgi module 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 the http.server.CGIHTTPRequestHandler deprecation, scheduled for Python 3.15.

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>
@graeme-a-stewart graeme-a-stewart changed the title Update CI platforms Update CI platforms, modernise network tests Oct 16, 2026
Change this to almalinux:latest, so that it rolls with releases,
rather than being locked to a specific release.
@graeme-a-stewart

Copy link
Copy Markdown
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
@graeme-a-stewart

Copy link
Copy Markdown
Member Author

I don't really understand the almalinux:10 failure as it doesn't happen for me locally...

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.

@graeme-a-stewart

Copy link
Copy Markdown
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.

@graeme-a-stewart
graeme-a-stewart merged commit f13c702 into main Oct 18, 2026
8 checks passed
@graeme-a-stewart
graeme-a-stewart deleted the update-ci branch October 18, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant