-
Notifications
You must be signed in to change notification settings - Fork 46
Migrate actions to Ubuntu 24.04-v1 #146
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -74,7 +74,7 @@ inputs: | |
| default: true | ||
| runs: | ||
| using: 'docker' | ||
| image: 'docker://gcr.io/oss-fuzz-base/clusterfuzzlite-run-fuzzers:v1' | ||
| image: 'docker://gcr.io/oss-fuzz-base/clusterfuzzlite-run-fuzzers:ubuntu-24-04-v1' | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this change safe to make? Or do we pivot back to 20 if they aren't opting into 24?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As far as I understand the build-fuzzers/run-fuzzers entrypoints can switch to Ubuntu 24.04 only so it seems by default the action should just keep using 2025-12-14T03:40:54.3215386Z 2025-12-14 03:40:54,319 - root - INFO - ci_system: <continuous_integration.ExternalGithub object at 0x7f41f6dfa750>.
2025-12-14T03:40:54.3216462Z 2025-12-14 03:40:54,320 - root - INFO - ClusterFuzzDeployment: <clusterfuzz_deployment.ClusterFuzzLite object at 0x7f41f6dbf190>.
2025-12-14T03:40:54.3217237Z 2025-12-14 03:40:54,320 - root - INFO - ExternalGithub: preparing for fuzzer build.and proceeds with Ubuntu 20.04 where it fails. My guess would be that the ExternalGithub part should be tweaked. |
||
| env: | ||
| FUZZ_SECONDS: ${{ inputs.fuzz-seconds }} | ||
| MODE: ${{ inputs.mode }} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW I'm not sure how safe it is to change it here. As far as I can remember the
v1tag used by projects using CFLite was updated automatically and I don't think it should start pointing at these versions automatically (because it can just break stuff that doesn't work with Ubuntu 24.04 yet. For example avahi fails under MSan on Ubuntu 24.04 (avahi/avahi#787) so I'd keep Ubuntu 20.04 there for now).(If it doesn't affect the v1 tag and another tag is going to be added instead it should be fine of course)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to clarify I mean https://github.com/google/clusterfuzzlite/tags and things like
used in actions https://google.github.io/clusterfuzzlite/running-clusterfuzzlite/github-actions/#pr-fuzzing.
Projects pulling
maininstead ofv1probably know what they're doing so they probably should be fine with breaking changes.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand your concern. The plan here is to re-release
v1specifically with the fix from google/oss-fuzz#14388. The default fallback behavior will remainubuntu-20-04. So, unless someone explicitly changesbase_os_versiontoubuntu-24-04inproject.yaml, it will continue running onubuntu-20-04. We can set the default toubuntu-24-04inv2(or on themainbranch) once the migration is complete.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm also worried about this, but your explanation makes sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. It makes sense. I guess I thought that it would start pulling ubuntu-24-04 left and right but it isn't the case. As long as ubuntu-20-04 is used by default it should be fine then.