ci: Run on Ubuntu 26.04#1577
Open
adombeck wants to merge 5 commits into
Open
Conversation
The Ubuntu 26.04 image is currently available in public preview. That means it can be used by specifically requesting it but the "ubuntu-latest" label still resolves to ubuntu-24.04. Using the new image will allow us to simplify a few things in our e2e-tests and also help me with #1529, so I'd like to make the switch now.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1577 +/- ##
==========================================
- Coverage 88.09% 84.22% -3.87%
==========================================
Files 98 21 -77
Lines 6709 1160 -5549
Branches 111 0 -111
==========================================
- Hits 5910 977 -4933
+ Misses 743 183 -560
+ Partials 56 0 -56 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The go-sanity job was failing with
Error getting pkg-config variable "dynamic_uid_min": exit status 1
Go tests failed in CI with:
Error Trace: /home/runner/work/authd/authd/pam/integration-tests/modulehelpers_test.go:111
/opt/hostedtoolcache/go/1.25.11/x64/src/testing/testing.go:1308
/opt/hostedtoolcache/go/1.25.11/x64/src/testing/testing.go:1572
/opt/hostedtoolcache/go/1.25.11/x64/src/testing/testing.go:1898
Error: Received unexpected error:
rename /tmp/TestCLIChangeAuthTok1077107872/002/pam_authd_exectestclichangeauthtok.so-module.gcda /home/runner/work/authd/authd/raw-coverage/TestCLIChangeAuthTok.gcov/pam_authd_exectestclichangeauthtok.so-module.gcda: invalid cross-device link
Test: TestCLIChangeAuthTok
Messages: Teardown: Can't move coverage report data for c Library: rename /tmp/TestCLIChangeAuthTok1077107872/002/
The fix is to move the coverage data from a directory below /tmp to
another directory below /tmp, avoiding crossing filesystem boundaries.
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.
The Ubuntu 26.04 image is currently available in public preview. That means it can be used by specifically requesting it but the "ubuntu-latest" label still resolves to ubuntu-24.04.
Using the new image will allow us to simplify a few things in our e2e-tests and also help me with #1529, so I'd like to make the switch now.
UDENG-10655