-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Fix go coverage builds #6369
Fix go coverage builds #6369
Conversation
@catenacyber fyi |
@@ -24,3 +24,6 @@ ENV GOPATH /root/go | |||
ENV PATH $PATH:/root/.go/bin:$GOPATH/bin | |||
|
|||
RUN install_go.sh | |||
|
|||
COPY ossfuzz_coverage_runner.go $GOPATH |
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.
this needs to be after install_go.sh, otherwise install_go fails.
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.
Wait. Where is this file located. Is it located in base-builder-go or base-builder-new?
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.
LGTM
@@ -24,3 +24,6 @@ ENV GOPATH /root/go | |||
ENV PATH $PATH:/root/.go/bin:$GOPATH/bin | |||
|
|||
RUN install_go.sh | |||
|
|||
COPY ossfuzz_coverage_runner.go $GOPATH |
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.
Wait. Where is this file located. Is it located in base-builder-go or base-builder-new?
that file is in infra/base-images/base-builder-go/ossfuzz_coverage_runner.go |
TBR to unblock broken go coverage builds. |
…rotoreflect/desc/protoparse (#12504) I've recently merged a long-lived "v2" branch to main in the `github.com/jhump/protoreflect` repo. The v2 of that repo does _not_ include a protoparse package, since that has been effectively replaced by `github.com/bufbuild/protocompile`. (Since v1.15 of protoreflect, the protoparse package is just API veneer on top of protocompile.) After I did that merge of v2 to main, the fuzzer for the project began to fail since the packages are no longer present: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=71629 So this updates the fuzzer configuration to directly test the underlying protocompile module. There was also a fuzz tester for the `github.com/jhump/protoreflect/dynamic` package, but it was not actually enabled. (It was disabled in #6369 but neither the PR description nor comment threads describe why this test was problematic 🤷.) Anyhow, that package has also been removed for v2, effectively replaced by `google.golang.org/protobuf/types/dynamicpb`. So this PR deletes it completely from the oss-fuzz repo.
No description provided.