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

building fuzzers failed after bumping quic-go version #232

Open
vincentgoat opened this issue Oct 31, 2022 · 3 comments
Open

building fuzzers failed after bumping quic-go version #232

vincentgoat opened this issue Oct 31, 2022 · 3 comments

Comments

@vincentgoat
Copy link

Building fuzzers failed after bumping quic-go version.
Errors are /root/go/pkg/mod/github.com/lucas-clemente/quic-go@v0.24.0/internal/qtls/go118.go:6:13: cannot use "quic-go doesn't build on Go 1.18 yet." (untyped string constant) as int value in variable declaration, but it is normal when we build our artifacts manually.
More details show as follows.
https://github.com/kubeedge/kubeedge/actions/runs/3359066312/jobs/5566711345

cc @AdamKorcz

@AdamKorcz
Copy link
Collaborator

That is strange given that Kubeedge builds fine on OSS-Fuzz.

@vincentgoat
Copy link
Author

I may not have been clear, it is not the master branch of Kubeedge that brings out this issue, it is on my own repository https://github.com/vincentgoat/kubeedge/tree/verifynodecert.
I run Fuzzing locally and the same error happend.

@vincentgoat
Copy link
Author

When I build KubeEdge with go version 1.18, I got the same error but it works fine with go1.16/go1.17. I'm wondering if the OSS-Fuzz builder takes go1.18 to build fuzzer?
image

AdamKorcz pushed a commit to google/oss-fuzz that referenced this issue Nov 1, 2022
Signed-off-by: vincentgoat <linguohui1@huawei.com>

install go1.17 for KubeEdge when building fuzzers

Fix issue cncf/cncf-fuzzing#232
cc @AdamKorcz

Signed-off-by: vincentgoat <linguohui1@huawei.com>
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

No branches or pull requests

2 participants