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

fuzz: Fix upstream build and optimise execution #529

Merged
merged 3 commits into from
Sep 2, 2022

Conversation

pjbgf
Copy link
Member

@pjbgf pjbgf commented Sep 2, 2022

The upstream build is failing with: /usr/local/bin/compile_native_go_fuzzer: line 35: addimport: command not found.

The changes uses the upstream approach to install the missing commands.
Note that one of the reasons of the unilateral failure upstream is due to the base image changed in: google/oss-fuzz@e71e320

The change upstream only breaks Go native fuzzing, and will be reverted on a follow-up upstream PR.

Latest base image should contain Go 1.18, removing
the need of updating that ourselves, apart from
benefiting from latest changes upstream.

Signed-off-by: Paulo Gomes <[email protected]>
@pjbgf pjbgf added this to the GA milestone Sep 2, 2022
Paulo Gomes added 2 commits September 2, 2022 15:59
The upstream build is failing with:
/usr/local/bin/compile_native_go_fuzzer: line 35: addimport: command
not found

The changes uses the upstream approach to install the missing commands.
Note that one of the reasons of the unilateral failure upstream is due
to the base image changed in:
google/oss-fuzz@e71e320

Signed-off-by: Paulo Gomes <[email protected]>
Signed-off-by: Paulo Gomes <[email protected]>
@pjbgf pjbgf merged commit b543e5f into fluxcd:main Sep 2, 2022
@pjbgf pjbgf deleted the fuzz-update branch September 2, 2022 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants