-
Notifications
You must be signed in to change notification settings - Fork 16
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
CI: make in ./sev-snp-simulator dir fails with fatal error: passing argument 1 of ‘class_create’ from incompatible pointer type #242
Comments
Hi, @rgerganov @yelvmw -- can you help give this issue a fresh look? This is a brand-new failure happening in CI when I started a PR to merge some doc-changes. From my initial investigation, it appears that some Linux system / headers interfaces have changed. If you have an active Linux-VM on which this CFCC repo was building correctly before, can you please try the following out and let me know how it works? (Cut-n-paste your outputs here as a reply, so it's publicly visible.)
This used to build just fine previously. If you run into an error that But I am not sure why that should even be necessary. |
History: The last successful PR that was merged into this repo was in Dec 2023 (PR #232), after which this repo was moved to CCC's ci-infra. So, that might be one cause for the drift in Linux rev-levels, triggering some build issue. |
This commit attempts to keep the CI tests runing cleanly. Some tests are failing due to different issues reported under issue #242 and #244. Those will need some minor corrections in build-steps. For now, 5 test-cases from test.sh are commented out with a Warning message. - Skip few simulated-SEV related build-and-test cases. - Skip ISLET-related build-and-test tests due to rustc version incompatibility. Those will need to be re-enabled when above two issues are resolved, if possible. (If further investigation shows that we cannot support Ubunutu 22.04, then some changes will need to be made in CI's build.yml to drop-down to an older Ubuntu rev-level.)
Looks like a kernel 6.4 change to API. We might want to try this:
|
I'm actually not sure about the exact version. Got some hints from discussions elsewhere. Can you confirm the CI environment kernel version? |
This commit attempts to keep the CI tests runing cleanly. Some tests are failing due to different issues reported under issue #242 and #244. Those will need some minor corrections in build-steps. For now, 5 test-cases from test.sh are commented out with a Warning message. - Skip few simulated-SEV related build-and-test cases. - Skip ISLET-related build-and-test tests due to rustc version incompatibility. Those will need to be re-enabled when above two issues are resolved, if possible. (If further investigation shows that we cannot support Ubunutu 22.04, then some changes will need to be made in CI's build.yml to drop-down to an older Ubuntu rev-level.)
Thanks for the tip, @yelvmw, that looks promising. -- I'll work on this after Sangwan checks-in his Islet-cleanup PR. Will let you know what I find out about Linux kernel version. |
I did a quick search and found the following suggestion. Wonder if this is relevant. |
CI Job for PR #241 fails with following hard error:
CI's build.yml specifies:
runs-on: ubuntu-latest
I am able to reproduce this on my Linux-VM running: Ubuntu 22.04.4 LTS jammy
Somethings seem to have changed in Linux system / include files. By default, if you do the following:
This will fail with:
Fix this by installing gcc-12 (for whatever reasons):
$ sudo apt-get install -y gcc-12
Upon re-run this
make
command now fails with the same signature of failure as seen in CI job:The text was updated successfully, but these errors were encountered: