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

Remove fuzz from .github/workflows/go.yml #1238

Merged
merged 1 commit into from
Mar 4, 2021

Conversation

tmthrgd
Copy link
Collaborator

@tmthrgd tmthrgd commented Mar 4, 2021

The Fuzz step is still failing even after #1237. See these two runs on the master branch: https://github.com/miekg/dns/runs/2031876704 & https://github.com/miekg/dns/runs/2031876289. They failed even though the run for the #1237 PR succeeded: https://github.com/miekg/dns/pull/1237/checks?check_run_id=2027941443.

The problem is caused by github.com/dvyukov/go-fuzz/go-fuzz (and it's dependencies as it lacks a go.mod file) not being included in our go.mod file. For some reason the go command seems to be non-deterministically picking a version of golang.org/x/tools to download, sometimes picking one that's too old. I'm not sure why that is, and it feels like a bug in the go command or go module proxy.

We can either add it to our go.mod and go.sum files or remove the step. I think removing it (this PR) is the best option as it doesn't actually run the fuzzer, it merely checks it builds. go1.17/go1.18 is set to have a native fuzzer support (see golang.org/issue/44551) so I don't think wrangling this makes a ton of sense.

Also oss-fuzz is actually running the fuzzers so they'd break loudly if we broke the fuzz targets anyway.

This should finally fix the failing CI runs.

Updates #1237

@tmthrgd tmthrgd requested a review from miekg March 4, 2021 14:58
@miekg miekg merged commit e5407eb into miekg:master Mar 4, 2021
@tmthrgd tmthrgd deleted the remove-ci-fuzz-build branch March 4, 2021 23:29
aanm pushed a commit to cilium/dns that referenced this pull request Jul 29, 2022
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 this pull request may close these issues.

2 participants