starting build "eb71c20a-6b20-4359-80e0-c7ce2cd854ec" 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: 800687449569: Pulling fs layer Step #1: 67cc84ed39bf: Pulling fs layer Step #1: 33c4464df317: Pulling fs layer Step #1: 7a3d59ffed63: Pulling fs layer Step #1: bc24bccd8f7c: Pulling fs layer Step #1: 18d20619fb8d: Pulling fs layer Step #1: 0ec212d79142: Pulling fs layer Step #1: 0d731e844f5b: Pulling fs layer Step #1: 03e6d4298870: Pulling fs layer Step #1: 9cb6c9480ffe: Pulling fs layer Step #1: 636367483a85: Pulling fs layer Step #1: ab160a08f40f: Pulling fs layer Step #1: d56fb1501120: Pulling fs layer Step #1: 6e5ee80d4b76: Pulling fs layer Step #1: 069b70ca1828: Pulling fs layer Step #1: 082a5c4ba783: Pulling fs layer Step #1: aeb889ce9374: Pulling fs layer Step #1: b3c77a307741: Pulling fs layer Step #1: 19afa95abd0d: Pulling fs layer Step #1: 3331bfca5447: Pulling fs layer Step #1: ca89507fe8d3: Pulling fs layer Step #1: 093d0a8d4813: Pulling fs layer Step #1: 562130e5e1f0: Pulling fs layer Step #1: c78d65770fdc: Pulling fs layer Step #1: d8a48a39f3bb: Pulling fs layer Step #1: d547270a8392: Pulling fs layer Step #1: cd72b15f7674: Pulling fs layer Step #1: fed123fa2f8a: Pulling fs layer Step #1: 39a8609a58c5: Pulling fs layer Step #1: bd774abe73c3: Pulling fs layer Step #1: bc24bccd8f7c: Waiting Step #1: 18d20619fb8d: Waiting Step #1: 0ec212d79142: Waiting Step #1: 0d731e844f5b: Waiting Step #1: 03e6d4298870: Waiting Step #1: 9cb6c9480ffe: Waiting Step #1: 636367483a85: Waiting Step #1: ab160a08f40f: Waiting Step #1: d56fb1501120: Waiting Step #1: 6e5ee80d4b76: Waiting Step #1: 069b70ca1828: Waiting Step #1: c78d65770fdc: Waiting Step #1: d8a48a39f3bb: Waiting Step #1: 082a5c4ba783: Waiting Step #1: d547270a8392: Waiting Step #1: aeb889ce9374: Waiting Step #1: cd72b15f7674: Waiting Step #1: b3c77a307741: Waiting Step #1: fed123fa2f8a: Waiting Step #1: 19afa95abd0d: Waiting Step #1: 39a8609a58c5: Waiting Step #1: bd774abe73c3: Waiting Step #1: 3331bfca5447: Waiting Step #1: ca89507fe8d3: Waiting Step #1: 093d0a8d4813: Waiting Step #1: 562130e5e1f0: Waiting Step #1: 33c4464df317: Waiting Step #1: 7a3d59ffed63: Waiting Step #1: 67cc84ed39bf: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 33c4464df317: Verifying Checksum Step #1: 7a3d59ffed63: Verifying Checksum Step #1: 7a3d59ffed63: Download complete Step #1: bc24bccd8f7c: Verifying Checksum Step #1: bc24bccd8f7c: Download complete Step #1: 0ec212d79142: Verifying Checksum Step #1: 0ec212d79142: Download complete Step #1: 0d731e844f5b: Verifying Checksum Step #1: 0d731e844f5b: Download complete Step #1: 800687449569: Verifying Checksum Step #1: 800687449569: Download complete Step #1: b549f31133a9: Pull complete Step #1: 9cb6c9480ffe: Download complete Step #1: 636367483a85: Verifying Checksum Step #1: 636367483a85: Download complete Step #1: 03e6d4298870: Verifying Checksum Step #1: 03e6d4298870: Download complete Step #1: ab160a08f40f: Verifying Checksum Step #1: ab160a08f40f: Download complete Step #1: 18d20619fb8d: Verifying Checksum Step #1: 18d20619fb8d: Download complete Step #1: 6e5ee80d4b76: Verifying Checksum Step #1: 6e5ee80d4b76: Download complete Step #1: 069b70ca1828: Verifying Checksum Step #1: 069b70ca1828: Download complete Step #1: 082a5c4ba783: Verifying Checksum Step #1: 082a5c4ba783: Download complete Step #1: d56fb1501120: Verifying Checksum Step #1: d56fb1501120: Download complete Step #1: 19afa95abd0d: Verifying Checksum Step #1: 19afa95abd0d: Download complete Step #1: b3c77a307741: Verifying Checksum Step #1: b3c77a307741: Download complete Step #1: aeb889ce9374: Download complete Step #1: 3331bfca5447: Verifying Checksum Step #1: 3331bfca5447: Download complete Step #1: 093d0a8d4813: Verifying Checksum Step #1: 093d0a8d4813: Download complete Step #1: ca89507fe8d3: Verifying Checksum Step #1: ca89507fe8d3: Download complete Step #1: 562130e5e1f0: Download complete Step #1: d8a48a39f3bb: Download complete Step #1: c78d65770fdc: Verifying Checksum Step #1: c78d65770fdc: Download complete Step #1: d547270a8392: Download complete Step #1: cd72b15f7674: Verifying Checksum Step #1: cd72b15f7674: Download complete Step #1: 39a8609a58c5: Verifying Checksum Step #1: 39a8609a58c5: Download complete Step #1: fed123fa2f8a: Verifying Checksum Step #1: fed123fa2f8a: Download complete Step #1: bd774abe73c3: Verifying Checksum Step #1: bd774abe73c3: Download complete Step #1: 800687449569: Pull complete Step #1: 67cc84ed39bf: Pull complete Step #1: 33c4464df317: Pull complete Step #1: 7a3d59ffed63: Pull complete Step #1: bc24bccd8f7c: Pull complete Step #1: 18d20619fb8d: Pull complete Step #1: 0ec212d79142: Pull complete Step #1: 0d731e844f5b: Pull complete Step #1: 03e6d4298870: Pull complete Step #1: 9cb6c9480ffe: Pull complete Step #1: 636367483a85: Pull complete Step #1: ab160a08f40f: Pull complete Step #1: d56fb1501120: Pull complete Step #1: 6e5ee80d4b76: Pull complete Step #1: 069b70ca1828: Pull complete Step #1: 082a5c4ba783: Pull complete Step #1: aeb889ce9374: Pull complete Step #1: b3c77a307741: Pull complete Step #1: 19afa95abd0d: Pull complete Step #1: 3331bfca5447: Pull complete Step #1: ca89507fe8d3: Pull complete Step #1: 093d0a8d4813: Pull complete Step #1: 562130e5e1f0: Pull complete Step #1: c78d65770fdc: Pull complete Step #1: d8a48a39f3bb: Pull complete Step #1: d547270a8392: Pull complete Step #1: cd72b15f7674: Pull complete Step #1: fed123fa2f8a: Pull complete Step #1: 39a8609a58c5: Pull complete Step #1: bd774abe73c3: Pull complete Step #1: Digest: sha256:c1096e43e9893304494218d2df7aae08f08025decad25071d096b114fed8ca13 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-jvm:latest Step #1: ---> cd032ea9dbed Step #1: Step 2/5 : RUN git clone --depth 1 https://github.com/apache/logging-log4j2 Step #1: ---> Running in ecfb67d5a83f Step #1: Cloning into 'logging-log4j2'... Step #1: Removing intermediate container ecfb67d5a83f Step #1: ---> 98c919d4ed03 Step #1: Step 3/5 : COPY build.sh $SRC/ Step #1: ---> 60750af4e50a Step #1: Step 4/5 : COPY *.java *.xml $SRC/ Step #1: ---> 7e35aa96e748 Step #1: Step 5/5 : WORKDIR $SRC/logging-log4j2 Step #1: ---> Running in 7d9f73de9506 Step #1: Removing intermediate container 7d9f73de9506 Step #1: ---> 3a5ffba52ee0 Step #1: Successfully built 3a5ffba52ee0 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/fileO0wrtN 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=8c09c3fbd0281fa43727df6f5401be25ee4e4b32 Step #2 - "srcmap": + jq_inplace /tmp/fileO0wrtN '."/src/logging-log4j2" = { type: "git", url: "https://github.com/apache/logging-log4j2", rev: "8c09c3fbd0281fa43727df6f5401be25ee4e4b32" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileKOawS9 Step #2 - "srcmap": + cat /tmp/fileO0wrtN Step #2 - "srcmap": + jq '."/src/logging-log4j2" = { type: "git", url: "https://github.com/apache/logging-log4j2", rev: "8c09c3fbd0281fa43727df6f5401be25ee4e4b32" }' Step #2 - "srcmap": + mv /tmp/fileKOawS9 /tmp/fileO0wrtN 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/fileO0wrtN Step #2 - "srcmap": + rm /tmp/fileO0wrtN 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": "8c09c3fbd0281fa43727df6f5401be25ee4e4b32" 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": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": CC=clang Step #3 - "compile-libfuzzer-address-x86_64": CXX=clang++ Step #3 - "compile-libfuzzer-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -fno-sanitize=leak Step #3 - "compile-libfuzzer-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ -fno-sanitize=leak 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": + echo ' Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": jdk Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": 15 Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": /usr/lib/jvm/java-15-openjdk-amd64 Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": ' Step #3 - "compile-libfuzzer-address-x86_64": + MAVEN_ARGS='-Dmaven.test.skip=true --no-transfer-progress --global-toolchains /src/maven-toolchains.xml' Step #3 - "compile-libfuzzer-address-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-address-x86_64": [INFO] Scanning for projects... Step #3 - "compile-libfuzzer-address-x86_64": [ERROR] [ERROR] Could not find the selected project in the reactor: log4j-perf @ Step #3 - "compile-libfuzzer-address-x86_64": [ERROR] Could not find the selected project in the reactor: log4j-perf -> [Help 1] Step #3 - "compile-libfuzzer-address-x86_64": [ERROR] Step #3 - "compile-libfuzzer-address-x86_64": [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. Step #3 - "compile-libfuzzer-address-x86_64": [ERROR] Re-run Maven using the -X switch to enable full debug logging. Step #3 - "compile-libfuzzer-address-x86_64": [ERROR] Step #3 - "compile-libfuzzer-address-x86_64": [ERROR] For more information about the errors and possible solutions, please read the following articles: Step #3 - "compile-libfuzzer-address-x86_64": [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException 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 log4j2 Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 log4j2 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