wolfi-dev / os

Main package repository for production Wolfi images
Other
808 stars 235 forks source link

test failure with libkcapi #30972

Open murraybd opened 5 days ago

murraybd commented 5 days ago

The binary kcapi-convenience is failing its test as seen here:

2024/10/16 21:59:44 WARN + kcapi-convenience --version
2024/10/16 21:59:44 INFO SHA-1 error
2024/10/16 21:59:44 INFO ERROR: failed to test package. the test environment has been preserved:
2024/10/16 21:59:44 INFO   workspace dir: /home/user/tmp/melange-workspace-1681519873
2024/10/16 21:59:44 INFO   guest dir: /home/user/tmp/melange-guest-734484581
2024/10/16 21:59:44 ERRO failed to test package: unable to run pipeline: unable to run pipeline: exit status 1
make: *** [Makefile:136: test/libkcapi] Error 1

Curiously it doesn't fail on my Ubuntu 24.04 LTS desktop using the devel version of melange but fails on my developer workstation.

xnox commented 5 days ago

This tests depend on the features of the kernel they are running on which is highly variable across GHA containerOS local-OS.

We had similar issues with testing cryptsetup. Is it possible to control algorithms and test something non-obsolete like sha256?

Also it is possible that some kernels have kcapi APIs disabled, as it is optional config in the kernel, that might not actually be needed at all.