starting build "2a52e48d-b36f-4275-9d86-3f178c548368" 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 10.75kB Step #1: Step 1/4 : 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: 9f80bca35359: Pulling fs layer Step #1: c2e9ab7e6d55: Pulling fs layer Step #1: a2c1799b005c: Pulling fs layer Step #1: 647124c852bc: Pulling fs layer Step #1: 4c0db9535385: Pulling fs layer Step #1: 7d9d6400b844: Pulling fs layer Step #1: b95ba533437d: Pulling fs layer Step #1: 98ef18780bd4: Pulling fs layer Step #1: 0bcc6c903840: Pulling fs layer Step #1: 294ba0b9a924: Pulling fs layer Step #1: 344841c178fd: Pulling fs layer Step #1: 8a24d9f6813c: Pulling fs layer Step #1: 8cfff2f8b62b: Pulling fs layer Step #1: 7b6fc8fef10c: Pulling fs layer Step #1: b56b52e44dc7: Pulling fs layer Step #1: d4dbf4e8824f: Pulling fs layer Step #1: fa95fc65ee8e: Pulling fs layer Step #1: 1da1ba4445a7: Pulling fs layer Step #1: 14cc587b05ae: Pulling fs layer Step #1: 03fa8c0fad9a: Pulling fs layer Step #1: ccfd740776f9: Pulling fs layer Step #1: 04ec2d031af9: Pulling fs layer Step #1: 0fe86fe6d25a: Pulling fs layer Step #1: a2c1799b005c: Waiting Step #1: 3d5e727cc8f7: Pulling fs layer Step #1: 639389e328da: Pulling fs layer Step #1: da2ba7c8e5f6: Pulling fs layer Step #1: 98ef18780bd4: Waiting Step #1: 647124c852bc: Waiting Step #1: 0c2ec5c7c85c: Pulling fs layer Step #1: 0bcc6c903840: Waiting Step #1: 189e9da4e490: Pulling fs layer Step #1: 6ec4707e85be: Pulling fs layer Step #1: cb2c466f5a8e: Pulling fs layer Step #1: 294ba0b9a924: Waiting Step #1: 7d9d6400b844: Waiting Step #1: b95ba533437d: Waiting Step #1: ccfd740776f9: Waiting Step #1: 344841c178fd: Waiting Step #1: 4c0db9535385: Waiting Step #1: 04ec2d031af9: Waiting Step #1: 8a24d9f6813c: Waiting Step #1: 14cc587b05ae: Waiting Step #1: 0fe86fe6d25a: Waiting Step #1: fa95fc65ee8e: Waiting Step #1: 03fa8c0fad9a: Waiting Step #1: 8cfff2f8b62b: Waiting Step #1: 3d5e727cc8f7: Waiting Step #1: 7b6fc8fef10c: Waiting Step #1: d4dbf4e8824f: Waiting Step #1: 639389e328da: Waiting Step #1: 6ec4707e85be: Waiting Step #1: da2ba7c8e5f6: Waiting Step #1: cb2c466f5a8e: Waiting Step #1: 0c2ec5c7c85c: Waiting Step #1: 189e9da4e490: Waiting Step #1: c2e9ab7e6d55: Verifying Checksum Step #1: c2e9ab7e6d55: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: a2c1799b005c: Verifying Checksum Step #1: a2c1799b005c: Download complete Step #1: 647124c852bc: Verifying Checksum Step #1: 647124c852bc: Download complete Step #1: 4c0db9535385: Download complete Step #1: b95ba533437d: Download complete Step #1: 98ef18780bd4: Verifying Checksum Step #1: 98ef18780bd4: Download complete Step #1: 9f80bca35359: Verifying Checksum Step #1: 9f80bca35359: Download complete Step #1: 294ba0b9a924: Verifying Checksum Step #1: 294ba0b9a924: Download complete Step #1: 344841c178fd: Verifying Checksum Step #1: 344841c178fd: Download complete Step #1: 8a24d9f6813c: Verifying Checksum Step #1: 8a24d9f6813c: Download complete Step #1: b549f31133a9: Pull complete Step #1: 8cfff2f8b62b: Verifying Checksum Step #1: 8cfff2f8b62b: Download complete Step #1: 7b6fc8fef10c: Download complete Step #1: b56b52e44dc7: Verifying Checksum Step #1: b56b52e44dc7: Download complete Step #1: d4dbf4e8824f: Verifying Checksum Step #1: d4dbf4e8824f: Download complete Step #1: fa95fc65ee8e: Verifying Checksum Step #1: fa95fc65ee8e: Download complete Step #1: 1da1ba4445a7: Download complete Step #1: 14cc587b05ae: Verifying Checksum Step #1: 14cc587b05ae: Download complete Step #1: 03fa8c0fad9a: Verifying Checksum Step #1: 03fa8c0fad9a: Download complete Step #1: 0bcc6c903840: Verifying Checksum Step #1: 0bcc6c903840: Download complete Step #1: 04ec2d031af9: Verifying Checksum Step #1: 04ec2d031af9: Download complete Step #1: ccfd740776f9: Verifying Checksum Step #1: ccfd740776f9: Download complete Step #1: 0fe86fe6d25a: Verifying Checksum Step #1: 0fe86fe6d25a: Download complete Step #1: 3d5e727cc8f7: Verifying Checksum Step #1: 3d5e727cc8f7: Download complete Step #1: 639389e328da: Verifying Checksum Step #1: 639389e328da: Download complete Step #1: 0c2ec5c7c85c: Verifying Checksum Step #1: 0c2ec5c7c85c: Download complete Step #1: da2ba7c8e5f6: Verifying Checksum Step #1: da2ba7c8e5f6: Download complete Step #1: 189e9da4e490: Verifying Checksum Step #1: 189e9da4e490: Download complete Step #1: 6ec4707e85be: Download complete Step #1: 7d9d6400b844: Verifying Checksum Step #1: 7d9d6400b844: Download complete Step #1: cb2c466f5a8e: Verifying Checksum Step #1: cb2c466f5a8e: Download complete Step #1: 9f80bca35359: Pull complete Step #1: c2e9ab7e6d55: Pull complete Step #1: a2c1799b005c: Pull complete Step #1: 647124c852bc: Pull complete Step #1: 4c0db9535385: Pull complete Step #1: 7d9d6400b844: Pull complete Step #1: b95ba533437d: Pull complete Step #1: 98ef18780bd4: Pull complete Step #1: 0bcc6c903840: Pull complete Step #1: 294ba0b9a924: Pull complete Step #1: 344841c178fd: Pull complete Step #1: 8a24d9f6813c: Pull complete Step #1: 8cfff2f8b62b: Pull complete Step #1: 7b6fc8fef10c: Pull complete Step #1: b56b52e44dc7: Pull complete Step #1: d4dbf4e8824f: Pull complete Step #1: fa95fc65ee8e: Pull complete Step #1: 1da1ba4445a7: Pull complete Step #1: 14cc587b05ae: Pull complete Step #1: 03fa8c0fad9a: Pull complete Step #1: ccfd740776f9: Pull complete Step #1: 04ec2d031af9: Pull complete Step #1: 0fe86fe6d25a: Pull complete Step #1: 3d5e727cc8f7: Pull complete Step #1: 639389e328da: Pull complete Step #1: da2ba7c8e5f6: Pull complete Step #1: 0c2ec5c7c85c: Pull complete Step #1: 189e9da4e490: Pull complete Step #1: 6ec4707e85be: Pull complete Step #1: cb2c466f5a8e: Pull complete Step #1: Digest: sha256:37bd64da14e9d572eec4808e6d3804a868e1734d036b44e31320c16a690000a5 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-jvm:latest Step #1: ---> f40253179eb7 Step #1: Step 2/4 : RUN git clone --depth 1 https://github.com/apache/calcite-avatica calcite-avatica Step #1: ---> Running in 0555ba856aa3 Step #1: Cloning into 'calcite-avatica'... Step #1: Removing intermediate container 0555ba856aa3 Step #1: ---> d816fc14d71f Step #1: Step 3/4 : COPY *.sh *.java $SRC/ Step #1: ---> 6e44651c9c4d Step #1: Step 4/4 : WORKDIR $SRC/calcite-avatica Step #1: ---> Running in b01807a2f5f5 Step #1: Removing intermediate container b01807a2f5f5 Step #1: ---> 9b52dff98e44 Step #1: Successfully built 9b52dff98e44 Step #1: Successfully tagged gcr.io/oss-fuzz/calcite-avatica:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/calcite-avatica Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/filehW4YaQ 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/calcite-avatica/.git Step #2 - "srcmap": + GIT_DIR=/src/calcite-avatica Step #2 - "srcmap": + cd /src/calcite-avatica Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/apache/calcite-avatica Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=0a7fffe95cd63e568f0068f06d8007729a9ee54e Step #2 - "srcmap": + jq_inplace /tmp/filehW4YaQ '."/src/calcite-avatica" = { type: "git", url: "https://github.com/apache/calcite-avatica", rev: "0a7fffe95cd63e568f0068f06d8007729a9ee54e" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filePI1dUc Step #2 - "srcmap": + cat /tmp/filehW4YaQ Step #2 - "srcmap": + jq '."/src/calcite-avatica" = { type: "git", url: "https://github.com/apache/calcite-avatica", rev: "0a7fffe95cd63e568f0068f06d8007729a9ee54e" }' Step #2 - "srcmap": + mv /tmp/filePI1dUc /tmp/filehW4YaQ 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/filehW4YaQ Step #2 - "srcmap": + rm /tmp/filehW4YaQ Step #2 - "srcmap": { Step #2 - "srcmap": "/src/calcite-avatica": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/apache/calcite-avatica", Step #2 - "srcmap": "rev": "0a7fffe95cd63e568f0068f06d8007729a9ee54e" 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": --------------------------------------------------------------- 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 -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 -fno-sanitize=leak 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++ -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": + rm -rf /root/.gradle/caches/ Step #3 - "compile-libfuzzer-address-x86_64": + ./gradlew clean build shadowJar -x test Step #3 - "compile-libfuzzer-address-x86_64": Downloading https://services.gradle.org/distributions/gradle-8.5-bin.zip Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": Exception in thread "main" javax.net.ssl.SSLException: Connection reset Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:369) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:312) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:307) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:144) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1491) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1456) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:1038) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:282) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:343) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.net.www.MeteredStream.read(MeteredStream.java:134) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/java.io.FilterInputStream.read(FilterInputStream.java:132) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3540) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3533) Step #3 - "compile-libfuzzer-address-x86_64": at org.gradle.wrapper.Download.downloadInternal(Download.java:135) Step #3 - "compile-libfuzzer-address-x86_64": at org.gradle.wrapper.Download.download(Download.java:109) Step #3 - "compile-libfuzzer-address-x86_64": at org.gradle.wrapper.Install.forceFetch(Install.java:171) Step #3 - "compile-libfuzzer-address-x86_64": at org.gradle.wrapper.Install.fetchDistribution(Install.java:104) Step #3 - "compile-libfuzzer-address-x86_64": at org.gradle.wrapper.Install.access$400(Install.java:46) Step #3 - "compile-libfuzzer-address-x86_64": at org.gradle.wrapper.Install$1.call(Install.java:81) Step #3 - "compile-libfuzzer-address-x86_64": at org.gradle.wrapper.Install$1.call(Install.java:68) Step #3 - "compile-libfuzzer-address-x86_64": at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69) Step #3 - "compile-libfuzzer-address-x86_64": at org.gradle.wrapper.Install.createDist(Install.java:68) Step #3 - "compile-libfuzzer-address-x86_64": at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:102) Step #3 - "compile-libfuzzer-address-x86_64": at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:66) Step #3 - "compile-libfuzzer-address-x86_64": Suppressed: java.net.SocketException: Broken pipe Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.nio.ch.NioSocketImpl.implWrite(NioSocketImpl.java:420) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.nio.ch.NioSocketImpl.write(NioSocketImpl.java:440) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.nio.ch.NioSocketImpl$2.write(NioSocketImpl.java:826) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/java.net.Socket$SocketOutputStream.write(Socket.java:1051) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(SSLSocketOutputRecord.java:82) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:400) Step #3 - "compile-libfuzzer-address-x86_64": ... 23 more Step #3 - "compile-libfuzzer-address-x86_64": Caused by: java.net.SocketException: Connection reset Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/java.net.Socket$SocketInputStream.read(Socket.java:981) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.security.ssl.SSLSocketInputRecord.readFully(SSLSocketInputRecord.java:461) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.security.ssl.SSLSocketInputRecord.decodeInputRecord(SSLSocketInputRecord.java:243) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:181) Step #3 - "compile-libfuzzer-address-x86_64": at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:110) Step #3 - "compile-libfuzzer-address-x86_64": ... 20 more 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 calcite-avatica Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 calcite-avatica 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