Stop lstopo from hanging in 26.04 (BugFix)#2520
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2520 +/- ##
=======================================
Coverage 58.92% 58.92%
=======================================
Files 476 476
Lines 48033 48033
Branches 8575 8575
=======================================
Hits 28305 28305
+ Misses 18835 18832 -3
- Partials 893 896 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request updates the base “info” attachment job that captures hardware topology to avoid lstopo hanging on Ubuntu 26.04 by switching to a non-graphics invocation and disabling the gl hwloc component.
Changes:
- Update the topology attachment command to run
HWLOC_COMPONENTS=-gl lstopo-no-graphicsinstead oflstopo -v.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Hook25
approved these changes
May 6, 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.
WARNING: This modifies com.canonical.certification::sru-server
Description
A quick 1-line fix to stop lstopo from hanging forever. The solution comes from here open-mpi/ompi#13838 (comment).
This PR also changes
lstopotolstopo-no-graphicsas discussed in the office hours.Resolved issues
lstopo hanging in 26.04
Documentation
open-mpi/hwloc#517
Tests
Ran
HWLOC_COMPONENTS=-gl lstopo-no-graphicsin 16.04~26.04 and they all successfully finish.https://certification.canonical.com/hardware/201812-26713/submission/486967/