CI: temporarily disable ci_fuzz due to incompatibility with recent Go
> github.com/containerd/containerd/contrib/apparmor > github.com/containerd/containerd/contrib/apparmor > Running go-fuzz -tags gofuzz -func FuzzLoadDefaultProfile -o fuzz_FuzzLoadDefaultProfile.a github.com/containerd/containerd/contrib/apparmor > /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25 > fuzz_FuzzLoadDefaultProfile.a(000021.o): in function `_cgo_9c8efe9babca_C2func_res_search': > cgo_unix_cgo_res.cgo2.c:(.text+0x32): undefined reference to `__res_search' > /usr/bin/ld: fuzz_FuzzLoadDefaultProfile.a(000021.o): in function `_cgo_9c8efe9babca_Cfunc_res_search': > cgo_unix_cgo_res.cgo2.c:(.text+0x81): undefined reference to `__res_search' > clang-15: error: linker command failed with exit code 1 (use -v to see invocation) > 2023-08-11 14:25:45,433 - root - ERROR - Building fuzzers failed. > 2023-08-11 14:25:45,433 - root - ERROR - Error building fuzzers for (commit: 432d86b87f75cc8ddf8f8101a5540eb206ffc894, pr_ref: refs/pull/8957/merge). Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
parent
3b32d3c6f2
commit
5d9bf7d139
70
.github/workflows/fuzz.yml
vendored
70
.github/workflows/fuzz.yml
vendored
@ -4,33 +4,49 @@ permissions: # added using https://github.com/step-security/secure-workflows
|
|||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# Run all fuzzing tests. Some of them use Go 1.18's testing.F.
|
# ci_fuzz is temporarily disabled as it is not compatible with recent Go:
|
||||||
# Others use https://github.com/AdaLogics/go-fuzz-headers.
|
#
|
||||||
ci_fuzz:
|
#####
|
||||||
name: CI Fuzz
|
# >github.com/containerd/containerd/contrib/apparmor
|
||||||
if: github.repository == 'containerd/containerd'
|
# >github.com/containerd/containerd/contrib/apparmor
|
||||||
runs-on: ubuntu-latest
|
# >Running go-fuzz -tags gofuzz -func FuzzLoadDefaultProfile -o fuzz_FuzzLoadDefaultProfile.a github.com/containerd/containerd/contrib/apparmor
|
||||||
timeout-minutes: 60
|
# >/usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25
|
||||||
steps:
|
# >fuzz_FuzzLoadDefaultProfile.a(000021.o): in function `_cgo_9c8efe9babca_C2func_res_search':
|
||||||
- name: Build Fuzzers
|
# >cgo_unix_cgo_res.cgo2.c:(.text+0x32): undefined reference to `__res_search'
|
||||||
id: build
|
# >/usr/bin/ld: fuzz_FuzzLoadDefaultProfile.a(000021.o): in function `_cgo_9c8efe9babca_Cfunc_res_search':
|
||||||
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
|
# >cgo_unix_cgo_res.cgo2.c:(.text+0x81): undefined reference to `__res_search'
|
||||||
with:
|
# >clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
|
||||||
oss-fuzz-project-name: 'containerd'
|
# >2023-08-11 14:25:45,433 - root - ERROR - Building fuzzers failed.
|
||||||
language: go
|
# >2023-08-11 14:25:45,433 - root - ERROR - Error building fuzzers for (commit: 432d86b87f75cc8ddf8f8101a5540eb206ffc894, pr_ref: refs/pull/8957/merge).
|
||||||
- name: Run Fuzzers
|
#####
|
||||||
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
|
#
|
||||||
with:
|
# # Run all fuzzing tests. Some of them use Go 1.18's testing.F.
|
||||||
oss-fuzz-project-name: 'containerd'
|
# # Others use https://github.com/AdaLogics/go-fuzz-headers.
|
||||||
fuzz-seconds: 300
|
# ci_fuzz:
|
||||||
language: go
|
# name: CI Fuzz
|
||||||
continue-on-error: true
|
# if: github.repository == 'containerd/containerd'
|
||||||
- name: Upload Crash
|
# runs-on: ubuntu-latest
|
||||||
uses: actions/upload-artifact@v1
|
# timeout-minutes: 60
|
||||||
if: failure() && steps.build.outcome == 'success'
|
# steps:
|
||||||
with:
|
# - name: Build Fuzzers
|
||||||
name: artifacts
|
# id: build
|
||||||
path: ./out/artifacts
|
# uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
|
||||||
|
# with:
|
||||||
|
# oss-fuzz-project-name: 'containerd'
|
||||||
|
# language: go
|
||||||
|
# - name: Run Fuzzers
|
||||||
|
# uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
|
||||||
|
# with:
|
||||||
|
# oss-fuzz-project-name: 'containerd'
|
||||||
|
# fuzz-seconds: 300
|
||||||
|
# language: go
|
||||||
|
# continue-on-error: true
|
||||||
|
# - name: Upload Crash
|
||||||
|
# uses: actions/upload-artifact@v1
|
||||||
|
# if: failure() && steps.build.outcome == 'success'
|
||||||
|
# with:
|
||||||
|
# name: artifacts
|
||||||
|
# path: ./out/artifacts
|
||||||
|
|
||||||
# Make sure all fuzzing tests which use Go 1.18's testing.F are
|
# Make sure all fuzzing tests which use Go 1.18's testing.F are
|
||||||
# runnable with go test -fuzz.
|
# runnable with go test -fuzz.
|
||||||
|
Loading…
Reference in New Issue
Block a user