Skip to content

kernel/will-it-scale: Add support to download libhwloc#2943

Merged
PraveenPenguin merged 1 commit intoavocado-framework-tests:masterfrom
sacsant:willitscale
Mar 10, 2025
Merged

kernel/will-it-scale: Add support to download libhwloc#2943
PraveenPenguin merged 1 commit intoavocado-framework-tests:masterfrom
sacsant:willitscale

Conversation

@sacsant
Copy link
Contributor

@sacsant sacsant commented Mar 4, 2025

On certain Linux distributions libhwloc may not be available. This blocks the
execution of will-it-scale. Add support to compile and install libhwloc library
using the hwloc source code.

Update the will-it-scale source code to use the installed libhwloc library.
Restrict this check to the distribution releases that do not ship hwloc-devel
package.

Signed-off-by: Sachin Sant sachinp@linux.ibm.com

On certain Linux distributions libhwloc may not be available. This
blocks the execution of will-it-scale.
Add support to compile and install libhwloc library using the hwloc
source code.

Update the will-it-scale source code to use the installed libhwloc
library. Restrict this check to the distribution releases that do not
ship hwloc-devel package.

Signed-off-by: Sachin Sant <sachinp@linux.ibm.com>
@sacsant
Copy link
Contributor Author

sacsant commented Mar 4, 2025

avocado run --max-parallel-tasks=1 kernel/will-it-scale.py
Fetching asset from kernel/will-it-scale.py:WillItScaleTest.test_scaleitall
JOB ID : 95a4452f10deed9da1c6640020c73ceb1f1b1f12
JOB LOG : /root/results/job-2025-03-04T04.21-95a4452/job.log
(1/1) kernel/will-it-scale.py:WillItScaleTest.test_scaleitall: STARTED
(1/1) kernel/will-it-scale.py:WillItScaleTest.test_scaleitall: PASS (1815.17 s)
RESULTS : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML : /root/results/job-2025-03-04T04.21-95a4452/results.html
JOB TIME : 1846.74 s

Copy link
Member

@PraveenPenguin PraveenPenguin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@PraveenPenguin PraveenPenguin merged commit 15cf6c0 into avocado-framework-tests:master Mar 10, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants