-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Github Actions for Ubuntu-24.04 #11112
Conversation
Signed-off-by: Derek Nola <[email protected]>
Signed-off-by: Derek Nola <[email protected]>
Signed-off-by: Derek Nola <[email protected]>
Signed-off-by: Derek Nola <[email protected]>
Signed-off-by: Derek Nola <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #11112 +/- ##
==========================================
- Coverage 49.91% 44.17% -5.75%
==========================================
Files 178 178
Lines 14820 14813 -7
==========================================
- Hits 7398 6544 -854
- Misses 6070 7062 +992
+ Partials 1352 1207 -145
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Derek Nola <[email protected]>
"testing" | ||
) | ||
|
||
// checkLock checks whether any process is using the lock | ||
func checkLock(path string) bool { | ||
lockByte, _ := exec.Command("lsof", "-w", "-F", "lfn", path).Output() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we check for the error here? and return false if err != nil ?
* Fix vagrant/libvirt composite action for ubuntu-24.04 * Don't ignore changes to internal actions * Fix unit tests for ubuntu 24.04, new lsof version * Pin os version for unit and E2E workflows Signed-off-by: Derek Nola <[email protected]>
* Fix vagrant/libvirt composite action for ubuntu-24.04 * Don't ignore changes to internal actions * Fix unit tests for ubuntu 24.04, new lsof version * Pin os version for unit and E2E workflows Signed-off-by: Derek Nola <[email protected]>
* Fix vagrant/libvirt composite action for ubuntu-24.04 * Don't ignore changes to internal actions * Fix unit tests for ubuntu 24.04, new lsof version * Pin os version for unit and E2E workflows Signed-off-by: Derek Nola <[email protected]>
* Fix vagrant/libvirt composite action for ubuntu-24.04 * Don't ignore changes to internal actions * Fix unit tests for ubuntu 24.04, new lsof version * Pin os version for unit and E2E workflows Signed-off-by: Derek Nola <[email protected]>
* Fix vagrant/libvirt composite action for ubuntu-24.04 * Don't ignore changes to internal actions * Fix unit tests for ubuntu 24.04, new lsof version * Pin os version for unit and E2E workflows Signed-off-by: Derek Nola <[email protected]>
* Fix vagrant/libvirt composite action for ubuntu-24.04 * Don't ignore changes to internal actions * Fix unit tests for ubuntu 24.04, new lsof version * Pin os version for unit and E2E workflows Signed-off-by: Derek Nola <[email protected]>
* Fix vagrant/libvirt composite action for ubuntu-24.04 * Don't ignore changes to internal actions * Fix unit tests for ubuntu 24.04, new lsof version * Pin os version for unit and E2E workflows Signed-off-by: Derek Nola <[email protected]>
* Fix Github Actions for Ubuntu-24.04 (#11112) * Fix vagrant/libvirt composite action for ubuntu-24.04 * Don't ignore changes to internal actions * Fix unit tests for ubuntu 24.04, new lsof version * Pin os version for unit and E2E workflows Signed-off-by: Derek Nola <[email protected]> * Pin vagrant to older version to avoid known issue 13527 Signed-off-by: Derek Nola <[email protected]> --------- Signed-off-by: Derek Nola <[email protected]>
* Fix Github Actions for Ubuntu-24.04 (#11112) * Fix vagrant/libvirt composite action for ubuntu-24.04 * Don't ignore changes to internal actions * Fix unit tests for ubuntu 24.04, new lsof version * Pin os version for unit and E2E workflows Signed-off-by: Derek Nola <[email protected]> * Pin vagrant to older version to avoid known issue 13527 Signed-off-by: Derek Nola <[email protected]> --------- Signed-off-by: Derek Nola <[email protected]>
* Fix Github Actions for Ubuntu-24.04 (#11112) * Fix vagrant/libvirt composite action for ubuntu-24.04 * Don't ignore changes to internal actions * Fix unit tests for ubuntu 24.04, new lsof version * Pin os version for unit and E2E workflows Signed-off-by: Derek Nola <[email protected]> * Pin vagrant to older version to avoid known issue 13527 Signed-off-by: Derek Nola <[email protected]> --------- Signed-off-by: Derek Nola <[email protected]>
* Fix Github Actions for Ubuntu-24.04 (#11112) * Fix vagrant/libvirt composite action for ubuntu-24.04 * Don't ignore changes to internal actions * Fix unit tests for ubuntu 24.04, new lsof version * Pin os version for unit and E2E workflows Signed-off-by: Derek Nola <[email protected]> * Pin vagrant to older version to avoid known issue 13527 Signed-off-by: Derek Nola <[email protected]> --------- Signed-off-by: Derek Nola <[email protected]>
Proposed Changes
Fix lsof output for flock utility function. Ubuntu 24.04 moved to a new(ish) version of
lsof
which included Fix FD field description lsof-org/lsof#158.Fix composite action for libvirt/vagrant installation. Now works on ubuntu-24.04
Pinned e2e and unit test workflows to ubuntu-24.04 to prevent future disruption (in 2 years I can manually open PRs for ubuntu-26.04)
Types of Changes
Verification
Testing
Linked Issues
User-Facing Change
Further Comments