starting build "bc437756-b89f-40fb-8232-a6925752564b" 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 14.85kB Step #1: Step 1/5 : FROM gcr.io/oss-fuzz-base/base-builder-jvm Step #1: latest: Pulling from oss-fuzz-base/base-builder-jvm Step #1: b549f31133a9: Pulling fs layer Step #1: 68f0a05088d4: Pulling fs layer Step #1: fc036af1fb82: Pulling fs layer Step #1: 4dd984a2c4cd: Pulling fs layer Step #1: 02f44cff9251: Pulling fs layer Step #1: 78eedb9c24d1: Pulling fs layer Step #1: c10ce716bc48: Pulling fs layer Step #1: 5a002da03f93: Pulling fs layer Step #1: c26cf580b400: Pulling fs layer Step #1: a34000951f24: Pulling fs layer Step #1: 09d46e9bcc80: Pulling fs layer Step #1: e868cba1bf9d: Pulling fs layer Step #1: bb609e1d8712: Pulling fs layer Step #1: 9cefa2757712: Pulling fs layer Step #1: 504c7b716e54: Pulling fs layer Step #1: d5a6ee2c6055: Pulling fs layer Step #1: 5da197700b3d: Pulling fs layer Step #1: 34ce862331f6: Pulling fs layer Step #1: 9859ff431d87: Pulling fs layer Step #1: 5e4160ae6b8d: Pulling fs layer Step #1: 4dd984a2c4cd: Waiting Step #1: d6b2b8ceba38: Pulling fs layer Step #1: a98e84c730db: Pulling fs layer Step #1: c10ce716bc48: Waiting Step #1: 110756886791: Pulling fs layer Step #1: 84ca88975d01: Pulling fs layer Step #1: e1cbe534da93: Pulling fs layer Step #1: 5a002da03f93: Waiting Step #1: d7f2a05063bc: Pulling fs layer Step #1: 02f44cff9251: Waiting Step #1: db2baaddc893: Pulling fs layer Step #1: 37586d83063c: Pulling fs layer Step #1: 78eedb9c24d1: Waiting Step #1: 618d4cdb2e86: Pulling fs layer Step #1: da476df3c135: Pulling fs layer Step #1: b1178a5dd98e: Pulling fs layer Step #1: c26cf580b400: Waiting Step #1: 5e4160ae6b8d: Waiting Step #1: 37586d83063c: Waiting Step #1: a34000951f24: Waiting Step #1: d6b2b8ceba38: Waiting Step #1: e1cbe534da93: Waiting Step #1: da476df3c135: Waiting Step #1: b1178a5dd98e: Waiting Step #1: a98e84c730db: Waiting Step #1: 09d46e9bcc80: Waiting Step #1: 618d4cdb2e86: Waiting Step #1: d7f2a05063bc: Waiting Step #1: db2baaddc893: Waiting Step #1: e868cba1bf9d: Waiting Step #1: bb609e1d8712: Waiting Step #1: 9cefa2757712: Waiting Step #1: 110756886791: Waiting Step #1: d5a6ee2c6055: Waiting Step #1: 5da197700b3d: Waiting Step #1: 34ce862331f6: Waiting Step #1: 504c7b716e54: Waiting Step #1: 9859ff431d87: Waiting Step #1: 84ca88975d01: Waiting Step #1: fc036af1fb82: Verifying Checksum Step #1: fc036af1fb82: Download complete Step #1: b549f31133a9: Download complete Step #1: 4dd984a2c4cd: Verifying Checksum Step #1: 4dd984a2c4cd: Download complete Step #1: 02f44cff9251: Verifying Checksum Step #1: 02f44cff9251: Download complete Step #1: 78eedb9c24d1: Verifying Checksum Step #1: 78eedb9c24d1: Download complete Step #1: 5a002da03f93: Download complete Step #1: c26cf580b400: Verifying Checksum Step #1: c26cf580b400: Download complete Step #1: 68f0a05088d4: Verifying Checksum Step #1: 68f0a05088d4: Download complete Step #1: b549f31133a9: Pull complete Step #1: 09d46e9bcc80: Verifying Checksum Step #1: 09d46e9bcc80: Download complete Step #1: e868cba1bf9d: Verifying Checksum Step #1: e868cba1bf9d: Download complete Step #1: bb609e1d8712: Verifying Checksum Step #1: bb609e1d8712: Download complete Step #1: 9cefa2757712: Verifying Checksum Step #1: 9cefa2757712: Download complete Step #1: 504c7b716e54: Verifying Checksum Step #1: 504c7b716e54: Download complete Step #1: d5a6ee2c6055: Verifying Checksum Step #1: d5a6ee2c6055: Download complete Step #1: 5da197700b3d: Download complete Step #1: 34ce862331f6: Download complete Step #1: a34000951f24: Verifying Checksum Step #1: a34000951f24: Download complete Step #1: 9859ff431d87: Verifying Checksum Step #1: 9859ff431d87: Download complete Step #1: 5e4160ae6b8d: Verifying Checksum Step #1: 5e4160ae6b8d: Download complete Step #1: d6b2b8ceba38: Verifying Checksum Step #1: d6b2b8ceba38: Download complete Step #1: 110756886791: Verifying Checksum Step #1: 110756886791: Download complete Step #1: a98e84c730db: Verifying Checksum Step #1: a98e84c730db: Download complete Step #1: 84ca88975d01: Verifying Checksum Step #1: 84ca88975d01: Download complete Step #1: e1cbe534da93: Verifying Checksum Step #1: e1cbe534da93: Download complete Step #1: d7f2a05063bc: Verifying Checksum Step #1: d7f2a05063bc: Download complete Step #1: 37586d83063c: Download complete Step #1: db2baaddc893: Verifying Checksum Step #1: db2baaddc893: Download complete Step #1: da476df3c135: Verifying Checksum Step #1: da476df3c135: Download complete Step #1: 618d4cdb2e86: Verifying Checksum Step #1: 618d4cdb2e86: Download complete Step #1: b1178a5dd98e: Verifying Checksum Step #1: b1178a5dd98e: Download complete Step #1: 68f0a05088d4: Pull complete Step #1: c10ce716bc48: Verifying Checksum Step #1: c10ce716bc48: Download complete Step #1: fc036af1fb82: Pull complete Step #1: 4dd984a2c4cd: Pull complete Step #1: 02f44cff9251: Pull complete Step #1: 78eedb9c24d1: Pull complete Step #1: c10ce716bc48: Pull complete Step #1: 5a002da03f93: Pull complete Step #1: c26cf580b400: Pull complete Step #1: a34000951f24: Pull complete Step #1: 09d46e9bcc80: Pull complete Step #1: e868cba1bf9d: Pull complete Step #1: bb609e1d8712: Pull complete Step #1: 9cefa2757712: Pull complete Step #1: 504c7b716e54: Pull complete Step #1: d5a6ee2c6055: Pull complete Step #1: 5da197700b3d: Pull complete Step #1: 34ce862331f6: Pull complete Step #1: 9859ff431d87: Pull complete Step #1: 5e4160ae6b8d: Pull complete Step #1: d6b2b8ceba38: Pull complete Step #1: a98e84c730db: Pull complete Step #1: 110756886791: Pull complete Step #1: 84ca88975d01: Pull complete Step #1: e1cbe534da93: Pull complete Step #1: d7f2a05063bc: Pull complete Step #1: db2baaddc893: Pull complete Step #1: 37586d83063c: Pull complete Step #1: 618d4cdb2e86: Pull complete Step #1: da476df3c135: Pull complete Step #1: b1178a5dd98e: Pull complete Step #1: Digest: sha256:b694b0810e1d2895292933665cb7beece4c5373988ee54a47df85dde646b9b18 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-jvm:latest Step #1: ---> de752bb09d0c Step #1: Step 2/5 : RUN git clone --depth 1 https://github.com/apache/logging-log4j2 Step #1: ---> Running in 833b77e64fa1 Step #1: Cloning into 'logging-log4j2'... Step #1: Removing intermediate container 833b77e64fa1 Step #1: ---> 9d5284c754b2 Step #1: Step 3/5 : COPY build.sh $SRC/ Step #1: ---> 5f5bd64de641 Step #1: Step 4/5 : COPY *.java *.xml $SRC/ Step #1: ---> dfd3a2058f14 Step #1: Step 5/5 : WORKDIR $SRC/logging-log4j2 Step #1: ---> Running in e8275e66b4dc Step #1: Removing intermediate container e8275e66b4dc Step #1: ---> 175ddc02ed99 Step #1: Successfully built 175ddc02ed99 Step #1: Successfully tagged gcr.io/oss-fuzz/log4j2:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/log4j2 Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileTWUqsM Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ jvm == \g\o ]] Step #2 - "srcmap": ++ find /src -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/logging-log4j2/.git Step #2 - "srcmap": + GIT_DIR=/src/logging-log4j2 Step #2 - "srcmap": + cd /src/logging-log4j2 Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/apache/logging-log4j2 Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=7962cae01b2b3633f278b8b9cfeadb12fb2fa35c Step #2 - "srcmap": + jq_inplace /tmp/fileTWUqsM '."/src/logging-log4j2" = { type: "git", url: "https://github.com/apache/logging-log4j2", rev: "7962cae01b2b3633f278b8b9cfeadb12fb2fa35c" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/file01XL7a Step #2 - "srcmap": + cat /tmp/fileTWUqsM Step #2 - "srcmap": + jq '."/src/logging-log4j2" = { type: "git", url: "https://github.com/apache/logging-log4j2", rev: "7962cae01b2b3633f278b8b9cfeadb12fb2fa35c" }' Step #2 - "srcmap": + mv /tmp/file01XL7a /tmp/fileTWUqsM Step #2 - "srcmap": ++ find /src -name .svn -type d Step #2 - "srcmap": ++ find /src -name .hg -type d Step #2 - "srcmap": + '[' '' '!=' '' ']' Step #2 - "srcmap": + cat /tmp/fileTWUqsM Step #2 - "srcmap": + rm /tmp/fileTWUqsM Step #2 - "srcmap": { Step #2 - "srcmap": "/src/logging-log4j2": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/apache/logging-log4j2", Step #2 - "srcmap": "rev": "7962cae01b2b3633f278b8b9cfeadb12fb2fa35c" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-coverage-x86_64" Step #3 - "compile-libfuzzer-coverage-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": CC=clang Step #3 - "compile-libfuzzer-coverage-x86_64": CXX=clang++ Step #3 - "compile-libfuzzer-coverage-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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -fno-sanitize=leak Step #3 - "compile-libfuzzer-coverage-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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -stdlib=libc++ -fno-sanitize=leak Step #3 - "compile-libfuzzer-coverage-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers -Cinstrument-coverage -C link-arg=-lc++ Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": + echo ' Step #3 - "compile-libfuzzer-coverage-x86_64": Step #3 - "compile-libfuzzer-coverage-x86_64": Step #3 - "compile-libfuzzer-coverage-x86_64": jdk Step #3 - "compile-libfuzzer-coverage-x86_64": Step #3 - "compile-libfuzzer-coverage-x86_64": 15 Step #3 - "compile-libfuzzer-coverage-x86_64": Step #3 - "compile-libfuzzer-coverage-x86_64": Step #3 - "compile-libfuzzer-coverage-x86_64": /usr/lib/jvm/java-15-openjdk-amd64 Step #3 - "compile-libfuzzer-coverage-x86_64": Step #3 - "compile-libfuzzer-coverage-x86_64": Step #3 - "compile-libfuzzer-coverage-x86_64": Step #3 - "compile-libfuzzer-coverage-x86_64": ' Step #3 - "compile-libfuzzer-coverage-x86_64": + MAVEN_ARGS='-Dmaven.test.skip=true --no-transfer-progress --global-toolchains /src/maven-toolchains.xml' Step #3 - "compile-libfuzzer-coverage-x86_64": + ./mvnw package org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade -am -pl log4j-perf,log4j-to-slf4j,log4j-slf4j-impl,log4j-api,log4j-api-java9,log4j-core,log4j-core-java9 -Dmaven.test.skip=true --no-transfer-progress --global-toolchains /src/maven-toolchains.xml Step #3 - "compile-libfuzzer-coverage-x86_64": [INFO] Scanning for projects... Step #3 - "compile-libfuzzer-coverage-x86_64": [ERROR] [ERROR] Could not find the selected project in the reactor: log4j-perf @ Step #3 - "compile-libfuzzer-coverage-x86_64": [INFO] 0 goals, 0 executed Step #3 - "compile-libfuzzer-coverage-x86_64": [WARNING] Adding build scan buildFinished actions is not allowed once their invocation has started. Newly added action will be ignored. Step #3 - "compile-libfuzzer-coverage-x86_64": [ERROR] Could not find the selected project in the reactor: log4j-perf -> [Help 1] Step #3 - "compile-libfuzzer-coverage-x86_64": [ERROR] Step #3 - "compile-libfuzzer-coverage-x86_64": [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. Step #3 - "compile-libfuzzer-coverage-x86_64": [ERROR] Re-run Maven using the -X switch to enable full debug logging. Step #3 - "compile-libfuzzer-coverage-x86_64": [ERROR] Step #3 - "compile-libfuzzer-coverage-x86_64": [ERROR] For more information about the errors and possible solutions, please read the following articles: Step #3 - "compile-libfuzzer-coverage-x86_64": [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException Step #3 - "compile-libfuzzer-coverage-x86_64": ******************************************************************************** Step #3 - "compile-libfuzzer-coverage-x86_64": Failed to build. Step #3 - "compile-libfuzzer-coverage-x86_64": To reproduce, run: Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_image log4j2 Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_fuzzers --sanitizer coverage --engine libfuzzer --architecture x86_64 log4j2 Step #3 - "compile-libfuzzer-coverage-x86_64": ******************************************************************************** Finished Step #3 - "compile-libfuzzer-coverage-x86_64" ERROR ERROR: build step 3 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1