Content-Length: 327579 | pFad | https://github.com/google/oss-fuzz/pull/10920

29 Go 1.21 by catenacyber · Pull Request #10920 · google/oss-fuzz · GitHub
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

Go 1.21 #10920

Merged
merged 2 commits into from
Sep 13, 2023
Merged

Go 1.21 #10920

merged 2 commits into from
Sep 13, 2023

Conversation

catenacyber
Copy link
Contributor

cc @DavidKorczynski

Should replace #9950

Should fix ngolo-fuzzing build cf https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=60807

@jonathanmetzman
Copy link
Contributor

/gcbrun trial_build.py go --sanitizer address coverage undefined --fuzzing-engines libfuzzer

@catenacyber
Copy link
Contributor Author

From CI, It looks like there is something wrong with base-builder-javascript, so unrelated to this PR, right ?

@jonathanmetzman
Copy link
Contributor

Blocked on #10936

@catenacyber
Copy link
Contributor Author

#10936 was solved, and I rebased to fix a conflict

@jonathanmetzman
Copy link
Contributor

/gcbrun trial_build.py go --sanitizer address coverage undefined --fuzzing-engines libfuzzer

@catenacyber
Copy link
Contributor Author

gcbrun failed due to some quota ?

@jonathanmetzman
Copy link
Contributor

gcbrun failed due to some quota ?

I think there's a genuine failure in Kubeedge
https://oss-fuzz-gcb-logs.storage.googleapis.com/log-466e06e4-99c8-46a1-bf17-d724568ab38d.txt

Step #19 - "compile-libfuzzer-address-x86_64": go: downloading gopkg.in/fsnotify.v1 v1.4.7
Step #19 - "compile-libfuzzer-address-x86_64": go: downloading golang.org/x/text v0.3.0
Step #19 - "compile-libfuzzer-address-x86_64": go: finding module for package github.com/AdaLogics/go-fuzz-headers
Step #19 - "compile-libfuzzer-address-x86_64": go: downloading github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24
Step #19 - "compile-libfuzzer-address-x86_64": go: found github.com/AdaLogics/go-fuzz-headers in github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24
Step #19 - "compile-libfuzzer-address-x86_64": github.com/kubeedge/viaduct/pkg/lane
Step #19 - "compile-libfuzzer-address-x86_64": github.com/kubeedge/viaduct/pkg/lane
Step #19 - "compile-libfuzzer-address-x86_64": Running go-fuzz -tags gofuzz -func FuzzLaneReadMessage -o fuzz_lane_read_message.a github.com/kubeedge/viaduct/pkg/lane
Step #19 - "compile-libfuzzer-address-x86_64": ++ cp /src/cncf-fuzzing/projects/kubeedge/dtmanager_fuzzer.go /src/kubeedge/edge/pkg/devicetwin/dtmanager/
Step #19 - "compile-libfuzzer-address-x86_64": ++ mv /src/kubeedge/edge/pkg/devicetwin/dtmanager/twin_test.go /src/kubeedge/edge/pkg/devicetwin/dtmanager/twint_test_fuzz.go
Step #19 - "compile-libfuzzer-address-x86_64": ++ cd /src/kubeedge
Step #19 - "compile-libfuzzer-address-x86_64": ++ go mod tidy
Step #19 - "compile-libfuzzer-address-x86_64": ++ go mod vendor
Step #19 - "compile-libfuzzer-address-x86_64": ++ sed 's/klog\./\/\/klog\./g' -i /src/kubeedge/edge/pkg/devicetwin/dtmanager/twin.go
Step #19 - "compile-libfuzzer-address-x86_64": ++ sed 's/\"k8s\.io\/klog\/v2"/\/\/\"k8s\.io\/klog\/v2\"/g' -i /src/kubeedge/edge/pkg/devicetwin/dtmanager/twin.go
Step #19 - "compile-libfuzzer-address-x86_64": ++ sed 's/klog\./\/\/klog\./g' -i /src/kubeedge/edge/pkg/devicetwin/dtcontext/dtcontext.go
Step #19 - "compile-libfuzzer-address-x86_64": ++ sed 's/\"k8s\.io\/klog\/v2"/\/\/\"k8s\.io\/klog\/v2\"/g' -i /src/kubeedge/edge/pkg/devicetwin/dtcontext/dtcontext.go
Step #19 - "compile-libfuzzer-address-x86_64": ++ sed 's/klog\./\/\/klog\./g' -i /src/kubeedge/edge/pkg/devicetwin/dtmanager/communicate.go
Step #19 - "compile-libfuzzer-address-x86_64": ++ sed 's/\"k8s\.io\/klog\/v2"/\/\/\"k8s\.io\/klog\/v2\"/g' -i /src/kubeedge/edge/pkg/devicetwin/dtmanager/communicate.go
Step #19 - "compile-libfuzzer-address-x86_64": ++ sed 's/klog\./\/\/klog\./g' -i /src/kubeedge/edge/pkg/devicetwin/dtmanager/membership.go
Step #19 - "compile-libfuzzer-address-x86_64": ++ sed 's/\"k8s\.io\/klog\/v2"/\/\/\"k8s\.io\/klog\/v2\"/g' -i /src/kubeedge/edge/pkg/devicetwin/dtmanager/membership.go
Step #19 - "compile-libfuzzer-address-x86_64": ++ sed 's/klog\./\/\/klog\./g' -i /src/kubeedge/edge/pkg/devicetwin/dtmanager/device.go
Step #19 - "compile-libfuzzer-address-x86_64": ++ sed 's/\"k8s\.io\/klog\/v2"/\/\/\"k8s\.io\/klog\/v2\"/g' -i /src/kubeedge/edge/pkg/devicetwin/dtmanager/device.go
Step #19 - "compile-libfuzzer-address-x86_64": ++ compile_go_fuzzer github.com/kubeedge/kubeedge/edge/pkg/devicetwin/dtmanager FuzzdealTwinActions fuzz_deal_twin_actions
Step #19 - "compile-libfuzzer-address-x86_64": /usr/local/bin/compile_go_fuzzer: line 28: cd: /root/go/src/github.com/kubeedge/kubeedge/edge/pkg/devicetwin/dtmanager: No such file or directory
Step #19 - "compile-libfuzzer-address-x86_64": github.com/kubeedge/kubeedge/edge/pkg/devicetwin/dtmanager
Step #19 - "compile-libfuzzer-address-x86_64": github.com/kubeedge/kubeedge/edge/pkg/devicetwin/dtmanager
Step #19 - "compile-libfuzzer-address-x86_64": Running go-fuzz -tags gofuzz -func FuzzdealTwinActions -o fuzz_deal_twin_actions.a github.com/kubeedge/kubeedge/edge/pkg/devicetwin/dtmanager
Step #19 - "compile-libfuzzer-address-x86_64": # github.com/cilium/ebpf/internal/btf
Step #19 - "compile-libfuzzer-address-x86_64": vendor/github.com/cilium/ebpf/internal/btf/fuzz.go:20:15: undefined: loadNakedSpec
Step #19 - "compile-libfuzzer-address-x86_64": 2023/09/13 14:04:18 failed to build packages:exit status 1
Step #19 - "compile-libfuzzer-address-x86_64": ********************************************************************************
Step #19 - "compile-libfuzzer-address-x86_64": Failed to build.
Step #19 - "compile-libfuzzer-address-x86_64": To reproduce, run:
Step #19 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_image kubeedge
Step #19 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 kubeedge

@jonathanmetzman jonathanmetzman merged commit 6efce3b into google:master Sep 13, 2023
gedigi pushed a commit to gedigi/oss-fuzz that referenced this pull request Sep 27, 2023
jonathanmetzman added a commit that referenced this pull request May 6, 2024
New version of Go came out, so I have upgrade the version used in this
project from 1.21 --> 1.22.

This PR is very similar to #10920

This fixes #11661

Co-authored-by: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.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

Successfully merging this pull request may close these issues.

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/google/oss-fuzz/pull/10920

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy