Repository navigation
ci, test: pin ubuntu-24.04, prevent apt download stalls, and stabilize test timeouts - #5245
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5245 +/- ##
==========================================
+ Coverage 80.82% 81.17% +0.35%
==========================================
Files 394 394
Lines 98758 98770 +12
==========================================
+ Hits 79822 80181 +359
+ Misses 18936 18589 -347
🚀 New features to boost your workflow:
|
BenGardiner
force-pushed
the
ci-pin-ubuntu-2404
branch
from
October 22, 2026 20:51
c1a1723 to
b9287c1
Compare
GitHub Actions updated ubuntu-latest to Ubuntu 26.04. On Ubuntu 26.04, actions/setup-python does not provide Python 3.8 and 3.9, and OpenSSL 3.4 disallows TLS 1.0 and 1.1 handshakes in test_tls_server. Pin ubuntu-24.04 for the utscapy test matrix to maintain test compatibility across Python versions and legacy TLS tests. Also replace degraded azure apt mirrors with archive.ubuntu.com, set apt timeouts, and increase runner timeout to 30 minutes to prevent apt download stalls from exhausting the test timeout. AI-Assisted: yes (GPT-5.6-Cyber)
In test/contrib/automotive/testsocket.uts:50, sender.sr1() used a 0.5s timeout to receive paired responses across 1000 loop iterations. On loaded Windows CI runners, thread scheduling jitter can exceed 0.5s, causing sr1() to return None and pks.sr() to raise AttributeError. Increase timeout to 1s. AI-Assisted: yes (GPT-5.6-Cyber)
BenGardiner
force-pushed
the
ci-pin-ubuntu-2404
branch
from
October 23, 2026 01:27
b9287c1 to
d3ec7fe
Compare
In .github/workflows/unittests.yml:103, run jobs using matrix.runner while keeping matrix.os as ubuntu-latest so that job names match the required status check contexts in master branch protection. AI-Assisted: yes (GPT-5.6-Cyber)
…nsive whois servers In scapy/as_resolvers.py, add a default 5-second socket timeout to AS_resolver and AS_resolver_cymru so that unresponsive or rate-limiting whois servers (such as whois.ra.net) fail fast and allow AS_resolver_multi to fall back to subsequent resolvers. AI-Assisted: yes (GPT-5.6-Cyber)
Contributor
|
Thanks for the PR |
polybassa
approved these changes
Oct 23, 2026
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.
GitHub Actions migrated
ubuntu-latestto Ubuntu 26.04. On Ubuntu 26.04,actions/setup-pythondoes not provide Python 3.8 and 3.9, and OpenSSL 3.4 disallows legacy TLS 1.0 and 1.1 handshakes intest_tls_server.Pin
ubuntu-24.04in .github/workflows/unittests.yml for theutscapymatrix, replaceazure.archive.ubuntu.commirrors witharchive.ubuntu.comand timeoutlinux-modules-extrain .config/ci/install.sh to prevent package download stalls, and increase timeout in test/contrib/automotive/testsocket.uts to prevent test runner timeouts on Windows.This message was written with the help of AI (GPT-5.6-Cyber).