Skip to content
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

test failure with libkcapi #30972

Open
murraybd opened this issue Oct 16, 2024 · 1 comment
Open

test failure with libkcapi #30972

murraybd opened this issue Oct 16, 2024 · 1 comment

Comments

@murraybd
Copy link
Contributor

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
Copy link
Contributor

xnox commented Oct 17, 2024

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.

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

No branches or pull requests

2 participants