Repository navigation
Refactor infra of Go 1.18 fuzzers - #8937
Conversation
5c545f9 to
5d4c8e3
Compare
|
@Navidem This one should go green. Could you review? |
Sure, the changes in this PR are 3-fold:
1: Update the
2: Update projects with new changes
3: Modify the coverage build of native go fuzzers |
1ada7aa to
b358c77
Compare
|
@oliverchang As discussed, I have fixed the coverage build instead of deferring it to a future PR. Could you review? |
oliverchang
left a comment
There was a problem hiding this comment.
thanks! This LGTM with just two more comments/questions.
There was a problem hiding this comment.
Should we expect the dev branch changes to be merged into the main branch soon?
There was a problem hiding this comment.
Yes. That should happen by end of month.
871ed89 to
444f794
Compare
|
/gcbrun trial_build.py smt helm moby go-dns go-coredns istio --sanitizer address --fuzzing-engine libfuzzer |
|
From the trial build, istio is failing with many instances of: helm is failing with many instances of: These appear to be passing normally without this PR. @AdamKorcz is this expected? can you please investigate? |
Yes it is expected. Istio and Helm need similar updates as the OSS-Fuzz build scripts(change libfuzzer, address, x86_64 libfuzzer, coverage, x86_64 Naturally I will adjust the upstream build scripts of all projects running native Go fuzzers. |
Thanks. If other breakages are expected, can we please have those fixes ready to go with this PR? IT wouldn't be good if we start spamming oss-fuzz users with build failure emails because of our own breakage. |
|
I have gone through all Go projects and found that 3 (besides those fixed in this PR) would break from this PR. I have created a draft with a fix on those projects:
I have removed the Istio fix from this PR. |
|
OK, thanks! Please merge this whenever you're ready. We should aim to merge the three fixes you listed as soon as this one lands. |
b524594 to
019096d
Compare
Signed-off-by: AdamKorcz <[email protected]>
…h github.com/AdamKorcz/go-118-fuzz-build/testing Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
019096d to
8ff1157
Compare
|
@AdamKorcz Would it be possible for you to take a look at the build script of the u-root project as well? |
Will do |
#8937 cloned go-118-fuzz-build from the `dev` branch. This PR reverts that since `dev` has been merged into `master`. Signed-off-by: AdamKorcz <[email protected]> Signed-off-by: AdamKorcz <[email protected]>
Fixes: #8937 (comment) Signed-off-by: AdamKorcz <[email protected]> Signed-off-by: AdamKorcz <[email protected]> Co-authored-by: Oliver Chang <[email protected]>
|
#9808 looks caused by this Why should we have coverage only for native fuzzing @AdamKorcz ? |
@AdamKorcz what do you think of these commits ? cf #8937 and should fix #9808
`go-118-fuzz-build` is undergoing refactoring to fix some runtime issues affecting Rekor and other projects. Currently none of Rekors fuzzers run. This PR has been tested on all of Rekors fuzzers that will run with this PR. This PR modifies the infra OSS-Fuzz build script to adapt to the upstream changes. Cloning the `dev` branch of `go-118-fuzz-build` is a temporary solution until it gets merged into `main` upstream. Cloning go-118-fuzz-build in each build script is also a temporary measure until `dev` gets merged into `main`. Signed-off-by: AdamKorcz <[email protected]> Signed-off-by: AdamKorcz <[email protected]>
google#8937 cloned go-118-fuzz-build from the `dev` branch. This PR reverts that since `dev` has been merged into `master`. Signed-off-by: AdamKorcz <[email protected]> Signed-off-by: AdamKorcz <[email protected]>
Fixes: google#8937 (comment) Signed-off-by: AdamKorcz <[email protected]> Signed-off-by: AdamKorcz <[email protected]> Co-authored-by: Oliver Chang <[email protected]>
@AdamKorcz what do you think of these commits ? cf google#8937 and should fix google#9808
go-118-fuzz-buildis undergoing refactoring to fix some runtime issues affecting Rekor and other projects. Currently none of Rekors fuzzers run. This PR has been tested on all of Rekors fuzzers that will run with this PR.This PR modifies the infra OSS-Fuzz build script to adapt to the upstream changes.
Cloning the
devbranch ofgo-118-fuzz-buildis a temporary solution until it gets merged intomainupstream.Cloning go-118-fuzz-build in each build script is also a temporary measure until
devgets merged intomain.Signed-off-by: AdamKorcz [email protected]