starting build "6ca99c60-a0ca-4c3e-b997-a159d15d6ce3" FETCHSOURCE BUILD Starting Step #0 Step #0: Already have image (with digest): gcr.io/cloud-builders/git Step #0: Cloning into 'oss-fuzz'... Finished Step #0 Starting Step #1 Step #1: Already have image (with digest): gcr.io/cloud-builders/docker Step #1: Sending build context to Docker daemon 6.656kB Step #1: Step 1/4 : FROM gcr.io/oss-fuzz-base/base-builder-go Step #1: latest: Pulling from oss-fuzz-base/base-builder-go Step #1: b549f31133a9: Pulling fs layer Step #1: 9e47fb9dd199: Pulling fs layer Step #1: 905e641a4b54: Pulling fs layer Step #1: 8fcaf59102ed: Pulling fs layer Step #1: a9c74f632174: Pulling fs layer Step #1: f013ccbc22d3: Pulling fs layer Step #1: aa7628f757ea: Pulling fs layer Step #1: 49780d3797d7: Pulling fs layer Step #1: 8bb48e7bd5aa: Pulling fs layer Step #1: a60c1afcc4de: Pulling fs layer Step #1: 1bf625c1f2e9: Pulling fs layer Step #1: 0d403ab20828: Pulling fs layer Step #1: 59b333e0d31f: Pulling fs layer Step #1: f9f618c603e5: Pulling fs layer Step #1: 51a11501906f: Pulling fs layer Step #1: 058ec0f2cc9f: Pulling fs layer Step #1: bf5fa999ddb8: Pulling fs layer Step #1: 3b79056069ee: Pulling fs layer Step #1: 2af4c62c4868: Pulling fs layer Step #1: b7f4aba96676: Pulling fs layer Step #1: b183bf4b4905: Pulling fs layer Step #1: 684bf5ceae20: Pulling fs layer Step #1: 9f325110a2f2: Pulling fs layer Step #1: 9506c77dd40c: Pulling fs layer Step #1: 9fe2f424e764: Pulling fs layer Step #1: 629364863e03: Pulling fs layer Step #1: d2235c9c3e41: Pulling fs layer Step #1: 3ae4a153df7c: Pulling fs layer Step #1: 5363e097ce6b: Pulling fs layer Step #1: edf30144e380: Pulling fs layer Step #1: 52c96b4bb475: Pulling fs layer Step #1: b20e6dcdc7b5: Pulling fs layer Step #1: c0b911980589: Pulling fs layer Step #1: a9c74f632174: Waiting Step #1: 0d403ab20828: Waiting Step #1: 8fcaf59102ed: Waiting Step #1: 629364863e03: Waiting Step #1: a60c1afcc4de: Waiting Step #1: 8bb48e7bd5aa: Waiting Step #1: f013ccbc22d3: Waiting Step #1: b183bf4b4905: Waiting Step #1: 9f325110a2f2: Waiting Step #1: 3b79056069ee: Waiting Step #1: b20e6dcdc7b5: Waiting Step #1: 2af4c62c4868: Waiting Step #1: 9506c77dd40c: Waiting Step #1: 52c96b4bb475: Waiting Step #1: b7f4aba96676: Waiting Step #1: 59b333e0d31f: Waiting Step #1: 9fe2f424e764: Waiting Step #1: aa7628f757ea: Waiting Step #1: f9f618c603e5: Waiting Step #1: 3ae4a153df7c: Waiting Step #1: d2235c9c3e41: Waiting Step #1: 51a11501906f: Waiting Step #1: edf30144e380: Waiting Step #1: 1bf625c1f2e9: Waiting Step #1: bf5fa999ddb8: Waiting Step #1: c0b911980589: Waiting Step #1: 905e641a4b54: Verifying Checksum Step #1: 905e641a4b54: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 8fcaf59102ed: Verifying Checksum Step #1: 8fcaf59102ed: Download complete Step #1: a9c74f632174: Verifying Checksum Step #1: a9c74f632174: Download complete Step #1: f013ccbc22d3: Download complete Step #1: 49780d3797d7: Verifying Checksum Step #1: 49780d3797d7: Download complete Step #1: 8bb48e7bd5aa: Download complete Step #1: 9e47fb9dd199: Verifying Checksum Step #1: 9e47fb9dd199: Download complete Step #1: 1bf625c1f2e9: Verifying Checksum Step #1: 1bf625c1f2e9: Download complete Step #1: 0d403ab20828: Verifying Checksum Step #1: 0d403ab20828: Download complete Step #1: b549f31133a9: Pull complete Step #1: 59b333e0d31f: Verifying Checksum Step #1: 59b333e0d31f: Download complete Step #1: f9f618c603e5: Verifying Checksum Step #1: f9f618c603e5: Download complete Step #1: 51a11501906f: Verifying Checksum Step #1: 51a11501906f: Download complete Step #1: 058ec0f2cc9f: Verifying Checksum Step #1: 058ec0f2cc9f: Download complete Step #1: bf5fa999ddb8: Download complete Step #1: 3b79056069ee: Download complete Step #1: 2af4c62c4868: Download complete Step #1: a60c1afcc4de: Verifying Checksum Step #1: a60c1afcc4de: Download complete Step #1: b7f4aba96676: Verifying Checksum Step #1: b7f4aba96676: Download complete Step #1: b183bf4b4905: Verifying Checksum Step #1: b183bf4b4905: Download complete Step #1: 9f325110a2f2: Download complete Step #1: 684bf5ceae20: Verifying Checksum Step #1: 684bf5ceae20: Download complete Step #1: 9506c77dd40c: Download complete Step #1: 9fe2f424e764: Verifying Checksum Step #1: 9fe2f424e764: Download complete Step #1: 629364863e03: Verifying Checksum Step #1: 629364863e03: Download complete Step #1: 3ae4a153df7c: Verifying Checksum Step #1: 3ae4a153df7c: Download complete Step #1: d2235c9c3e41: Download complete Step #1: edf30144e380: Verifying Checksum Step #1: edf30144e380: Download complete Step #1: 5363e097ce6b: Download complete Step #1: 52c96b4bb475: Verifying Checksum Step #1: 52c96b4bb475: Download complete Step #1: c0b911980589: Download complete Step #1: aa7628f757ea: Verifying Checksum Step #1: aa7628f757ea: Download complete Step #1: 9e47fb9dd199: Pull complete Step #1: 905e641a4b54: Pull complete Step #1: b20e6dcdc7b5: Verifying Checksum Step #1: b20e6dcdc7b5: Download complete Step #1: 8fcaf59102ed: Pull complete Step #1: a9c74f632174: Pull complete Step #1: f013ccbc22d3: Pull complete Step #1: aa7628f757ea: Pull complete Step #1: 49780d3797d7: Pull complete Step #1: 8bb48e7bd5aa: Pull complete Step #1: a60c1afcc4de: Pull complete Step #1: 1bf625c1f2e9: Pull complete Step #1: 0d403ab20828: Pull complete Step #1: 59b333e0d31f: Pull complete Step #1: f9f618c603e5: Pull complete Step #1: 51a11501906f: Pull complete Step #1: 058ec0f2cc9f: Pull complete Step #1: bf5fa999ddb8: Pull complete Step #1: 3b79056069ee: Pull complete Step #1: 2af4c62c4868: Pull complete Step #1: b7f4aba96676: Pull complete Step #1: b183bf4b4905: Pull complete Step #1: 684bf5ceae20: Pull complete Step #1: 9f325110a2f2: Pull complete Step #1: 9506c77dd40c: Pull complete Step #1: 9fe2f424e764: Pull complete Step #1: 629364863e03: Pull complete Step #1: d2235c9c3e41: Pull complete Step #1: 3ae4a153df7c: Pull complete Step #1: 5363e097ce6b: Pull complete Step #1: edf30144e380: Pull complete Step #1: 52c96b4bb475: Pull complete Step #1: b20e6dcdc7b5: Pull complete Step #1: c0b911980589: Pull complete Step #1: Digest: sha256:c5558bce6bd9fad2c8d3c50afe02aba668507b640de9b334d80523d4932be627 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> dd211ee65816 Step #1: Step 2/4 : RUN git clone --depth 1 https://github.com/facebook/time.git Step #1: ---> Running in 6452f7a0e500 Step #1: Cloning into 'time'... Step #1: Removing intermediate container 6452f7a0e500 Step #1: ---> 01a9a7215e36 Step #1: Step 3/4 : COPY build.sh $SRC/ Step #1: ---> f578636d483d Step #1: Step 4/4 : WORKDIR $SRC/time Step #1: ---> Running in 7350d4924127 Step #1: Removing intermediate container 7350d4924127 Step #1: ---> 36be54f10ce8 Step #1: Successfully built 36be54f10ce8 Step #1: Successfully tagged gcr.io/oss-fuzz/time:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/time Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/file4mz99O Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ go == \g\o ]] Step #2 - "srcmap": + PATHS_TO_SCAN='/src /root/go' Step #2 - "srcmap": ++ find /src /root/go -name .git -type d Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /src/time/.git Step #2 - "srcmap": + GIT_DIR=/src/time Step #2 - "srcmap": + cd /src/time Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/facebook/time.git Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=0346d5184f8acd40b3108fa3d8ccaf487aedea9b Step #2 - "srcmap": + jq_inplace /tmp/file4mz99O '."/src/time" = { type: "git", url: "https://github.com/facebook/time.git", rev: "0346d5184f8acd40b3108fa3d8ccaf487aedea9b" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileYbY9wc Step #2 - "srcmap": + cat /tmp/file4mz99O Step #2 - "srcmap": + jq '."/src/time" = { type: "git", url: "https://github.com/facebook/time.git", rev: "0346d5184f8acd40b3108fa3d8ccaf487aedea9b" }' Step #2 - "srcmap": + mv /tmp/fileYbY9wc /tmp/file4mz99O Step #2 - "srcmap": ++ find /src /root/go -name .svn -type d Step #2 - "srcmap": ++ find /src /root/go -name .hg -type d Step #2 - "srcmap": + '[' '' '!=' '' ']' Step #2 - "srcmap": + cat /tmp/file4mz99O Step #2 - "srcmap": + rm /tmp/file4mz99O Step #2 - "srcmap": { Step #2 - "srcmap": "/src/time": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/facebook/time.git", Step #2 - "srcmap": "rev": "0346d5184f8acd40b3108fa3d8ccaf487aedea9b" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-address-x86_64" Step #3 - "compile-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-address-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": CC=clang Step #3 - "compile-libfuzzer-address-x86_64": CXX=clang++ -lresolv Step #3 - "compile-libfuzzer-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link Step #3 - "compile-libfuzzer-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ Step #3 - "compile-libfuzzer-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": + go install golang.org/x/tools/cmd/goimports@latest Step #3 - "compile-libfuzzer-address-x86_64": go: downloading golang.org/x/tools v0.21.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading golang.org/x/mod v0.17.0 Step #3 - "compile-libfuzzer-address-x86_64": + go get github.com/AdamKorcz/go-118-fuzz-build/testing Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20231105174938-2b5cbb29f3e2 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 Step #3 - "compile-libfuzzer-address-x86_64": go: added github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 Step #3 - "compile-libfuzzer-address-x86_64": go: added github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20231105174938-2b5cbb29f3e2 Step #3 - "compile-libfuzzer-address-x86_64": + go get github.com/stretchr/testify/assert@v1.7.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/stretchr/testify v1.7.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/pmezard/go-difflib v1.0.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/davecgh/go-spew v1.1.1 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading gopkg.in/yaml.v3 v3.0.1 Step #3 - "compile-libfuzzer-address-x86_64": go: downgraded github.com/stretchr/testify v1.8.4 => v1.7.0 Step #3 - "compile-libfuzzer-address-x86_64": + go get github.com/facebook/time/fbclock/daemon Step #3 - "compile-libfuzzer-address-x86_64": go: downloading golang.org/x/sys v0.18.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading gopkg.in/yaml.v2 v2.4.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/Knetic/govaluate v3.0.0+incompatible Step #3 - "compile-libfuzzer-address-x86_64": go: downloading golang.org/x/sync v0.5.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/sirupsen/logrus v1.8.1 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/eclesh/welford v0.0.0-20150116075914-eec62615b1f0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/prometheus/client_golang v1.14.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/vtolstov/go-ioctl v0.0.0-20151206205506-6be9cced4810 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/prometheus/client_model v0.3.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/cespare/xxhash/v2 v2.1.2 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/golang/protobuf v1.5.2 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/beorn7/perks v1.0.1 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading google.golang.org/protobuf v1.33.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/prometheus/procfs v0.8.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/prometheus/common v0.37.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 Step #3 - "compile-libfuzzer-address-x86_64": + sed -i -e '/func TestHashShouldMatch(/,/^}/ s/^/\/\//' leaphash/leaphash_test.go Step #3 - "compile-libfuzzer-address-x86_64": + sed -i -e '/func Benchmark.*(/,/^}/ s/^/\/\//' ntp/protocol/ntp_test.go Step #3 - "compile-libfuzzer-address-x86_64": + goimports -w ntp/protocol/ntp_test.go Step #3 - "compile-libfuzzer-address-x86_64": + sed -i -e '/func Benchmark.*(/,/^}/ s/^/\/\//' ptp/protocol/protocol_test.go Step #3 - "compile-libfuzzer-address-x86_64": + compile_native_go_fuzzer github.com/facebook/time/fbclock/daemon FuzzPrepareExpression fuzz_prepare_expression Step #3 - "compile-libfuzzer-address-x86_64": # github.com/facebook/time/fbclock Step #3 - "compile-libfuzzer-address-x86_64": fbclock/shmem.go:142:3: unknown field clock_smearing_start in struct literal of type _Ctype_struct_fbclock_clockdata Step #3 - "compile-libfuzzer-address-x86_64": fbclock/shmem.go:143:3: unknown field clock_smearing_end in struct literal of type _Ctype_struct_fbclock_clockdata Step #3 - "compile-libfuzzer-address-x86_64": fbclock/shmem.go:144:3: unknown field utc_offset_pre in struct literal of type _Ctype_struct_fbclock_clockdata Step #3 - "compile-libfuzzer-address-x86_64": fbclock/shmem.go:145:3: unknown field utc_offset_post in struct literal of type _Ctype_struct_fbclock_clockdata Step #3 - "compile-libfuzzer-address-x86_64": 2024/05/22 06:15:08 failed to build packages:exit status 1 Step #3 - "compile-libfuzzer-address-x86_64": ******************************************************************************** Step #3 - "compile-libfuzzer-address-x86_64": Failed to build. Step #3 - "compile-libfuzzer-address-x86_64": To reproduce, run: Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_image time Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 time Step #3 - "compile-libfuzzer-address-x86_64": ******************************************************************************** Finished Step #3 - "compile-libfuzzer-address-x86_64" ERROR ERROR: build step 3 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1