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

CI might be broken after #187 #193

Closed
jsturtevant opened this issue Jul 21, 2023 · 9 comments · Fixed by #197
Closed

CI might be broken after #187 #193

jsturtevant opened this issue Jul 21, 2023 · 9 comments · Fixed by #197

Comments

@jsturtevant
Copy link
Contributor

jsturtevant commented Jul 21, 2023

seems like CI might be broken after #187

   Dirty wasmedge-sys v0.15.0: the file `/usr/lib/llvm-14/lib/clang/14.0.0/include/stdbool.h` is missing
   Compiling wasmedge-sys v0.15.0
     Running `/home/runner/work/runwasi/runwasi/target/debug/build/wasmedge-sys-24c4a5d29523e79f/build-script-build`
error: failed to run custom build command for `wasmedge-sys v0.15.0`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.

Caused by:
  process didn't exit successfully: `/home/runner/work/runwasi/runwasi/target/debug/build/wasmedge-sys-24c4a5d29523e79f/build-script-build` (exit status: 1)
  --- stderr
  /home/runner/work/runwasi/runwasi/target/debug/build/wasmedge-sys-24c4a5d29523e79f/build-script-build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/runner/work/runwasi/runwasi/target/debug/build/wasmedge-sys-24c4a5d29523e79f/build-script-build)
  /home/runner/work/runwasi/runwasi/target/debug/build/wasmedge-sys-24c4a5d29523e79f/build-script-build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/runner/work/runwasi/runwasi/target/debug/build/wasmedge-sys-24c4a5d29523e79f/build-script-build)
  /home/runner/work/runwasi/runwasi/target/debug/build/wasmedge-sys-24c4a5d29523e79f/build-script-build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/runner/work/runwasi/runwasi/target/debug/build/wasmedge-sys-24c4a5d29523e79f/build-script-build)
warning: build failed, waiting for other jobs to finish...

Originally posted by @jsturtevant in #192 (comment)

@jsturtevant jsturtevant changed the title seems like CI might be broken after #187 CI might be broken after #187 Jul 21, 2023
@jsturtevant
Copy link
Contributor Author

@jsturtevant
Copy link
Contributor Author

and is failing in #147 after rebasing

@jsturtevant
Copy link
Contributor Author

@jprendes any ideas?

@jprendes
Copy link
Collaborator

jprendes commented Jul 21, 2023

It's odd, it did build fine in #187.
From this error

/home/runner/work/runwasi/runwasi/target/debug/build/wasmedge-sys-24c4a5d29523e79f/build-script-build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/runner/work/runwasi/runwasi/target/debug/build/wasmedge-sys-24c4a5d29523e79f/build-script-build)

The buildscript seems to be compiled with a newer glibc than the one in the system. But normally the build script is compiled locally.
It makes me think that Ubuntu 20.04 is trying to use the cache from Ubuntu 22.04.

Can you try adding back the cache in ci.yml removed in #189 and try again?

@jprendes
Copy link
Collaborator

jprendes commented Jul 21, 2023

The CI in #189 failed 2 days ago before #187 was merged.
It also failed with wasmedge-sys 0.14.0, while #189 bumped it to 0.15.0.
It further makes me think it's a cache issue.

@jsturtevant
Copy link
Contributor Author

added the cache bits back in #192 and still failing 🤷 . will look again with fresh eyes next week

@jsturtevant jsturtevant mentioned this issue Jul 22, 2023
@jsturtevant
Copy link
Contributor Author

The CI in #189 failed 2 days ago before #187 was merged.

good catch, something else is going on....

@jsturtevant
Copy link
Contributor Author

jsturtevant commented Jul 22, 2023

verified that isn't related to any of the code changes with #195 which had a failed run https://github.com/containerd/runwasi/actions/runs/5627640566/job/15250472538?pr=195

@jprendes
Copy link
Collaborator

Here you can see in #195 that both ubuntu 20.04 ans 22.04 are using the same cache:

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 a pull request may close this issue.

2 participants