starting build "94f95efe-db62-4021-82a0-4d5a7b6e9903" 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/5 : FROM gcr.io/oss-fuzz-base/base-builder-python Step #1: latest: Pulling from oss-fuzz-base/base-builder-python Step #1: b549f31133a9: Pulling fs layer Step #1: 9c24ebce6de6: Pulling fs layer Step #1: 98c072d7ae8d: Pulling fs layer Step #1: a9b738d7fcdd: Pulling fs layer Step #1: 2af7c99e9fc6: Pulling fs layer Step #1: c1f0b15d02dc: Pulling fs layer Step #1: 90d311b1d188: Pulling fs layer Step #1: 06b6d8c57a7c: Pulling fs layer Step #1: bb7e036c3ed4: Pulling fs layer Step #1: 681a7021a112: Pulling fs layer Step #1: 7e52e3463fca: Pulling fs layer Step #1: 0c5b4d81d541: Pulling fs layer Step #1: 2072c9ddabc3: Pulling fs layer Step #1: fac04dccdbe5: Pulling fs layer Step #1: 73e9b38a68dd: Pulling fs layer Step #1: e83b229fadee: Pulling fs layer Step #1: 3f81dc9369e8: Pulling fs layer Step #1: ef55aa97e73c: Pulling fs layer Step #1: f78546c8ac3d: Pulling fs layer Step #1: 022bb6f26798: Pulling fs layer Step #1: 9526b1b40f40: Pulling fs layer Step #1: 4bce2ce3663d: Pulling fs layer Step #1: 876105f11e3e: Pulling fs layer Step #1: e8c3a365ab63: Pulling fs layer Step #1: 946c23731906: Pulling fs layer Step #1: 24a48b392450: Pulling fs layer Step #1: 7c1c7c664610: Pulling fs layer Step #1: 7e52e3463fca: Waiting Step #1: 90d311b1d188: Waiting Step #1: 2072c9ddabc3: Waiting Step #1: 92dd481acdad: Pulling fs layer Step #1: 9af24dbf487d: Pulling fs layer Step #1: 06b6d8c57a7c: Waiting Step #1: fac04dccdbe5: Waiting Step #1: bb7e036c3ed4: Waiting Step #1: a3b9a4bedf51: Pulling fs layer Step #1: 73e9b38a68dd: Waiting Step #1: 2bab089e94ac: Pulling fs layer Step #1: 681a7021a112: Waiting Step #1: 0c5b4d81d541: Waiting Step #1: 2af7c99e9fc6: Waiting Step #1: 88c1f026fcff: Pulling fs layer Step #1: caf43f578f30: Pulling fs layer Step #1: 384e9c4397f2: Pulling fs layer Step #1: 1cf646353835: Pulling fs layer Step #1: e83b229fadee: Waiting Step #1: 3f81dc9369e8: Waiting Step #1: a3b9a4bedf51: Waiting Step #1: 7c1c7c664610: Waiting Step #1: 92dd481acdad: Waiting Step #1: 9af24dbf487d: Waiting Step #1: ef55aa97e73c: Waiting Step #1: 4bce2ce3663d: Waiting Step #1: 022bb6f26798: Waiting Step #1: 88c1f026fcff: Waiting Step #1: caf43f578f30: Waiting Step #1: 9526b1b40f40: Waiting Step #1: e8c3a365ab63: Waiting Step #1: 98c072d7ae8d: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: a9b738d7fcdd: Verifying Checksum Step #1: a9b738d7fcdd: Download complete Step #1: 2af7c99e9fc6: Verifying Checksum Step #1: 2af7c99e9fc6: Download complete Step #1: c1f0b15d02dc: Verifying Checksum Step #1: c1f0b15d02dc: Download complete Step #1: 06b6d8c57a7c: Verifying Checksum Step #1: 06b6d8c57a7c: Download complete Step #1: 9c24ebce6de6: Verifying Checksum Step #1: 9c24ebce6de6: Download complete Step #1: bb7e036c3ed4: Verifying Checksum Step #1: bb7e036c3ed4: Download complete Step #1: 7e52e3463fca: Verifying Checksum Step #1: 7e52e3463fca: Download complete Step #1: b549f31133a9: Pull complete Step #1: 0c5b4d81d541: Verifying Checksum Step #1: 0c5b4d81d541: Download complete Step #1: 2072c9ddabc3: Verifying Checksum Step #1: 2072c9ddabc3: Download complete Step #1: fac04dccdbe5: Verifying Checksum Step #1: fac04dccdbe5: Download complete Step #1: 73e9b38a68dd: Verifying Checksum Step #1: 73e9b38a68dd: Download complete Step #1: e83b229fadee: Download complete Step #1: 3f81dc9369e8: Verifying Checksum Step #1: 3f81dc9369e8: Download complete Step #1: 681a7021a112: Download complete Step #1: ef55aa97e73c: Verifying Checksum Step #1: ef55aa97e73c: Download complete Step #1: f78546c8ac3d: Verifying Checksum Step #1: f78546c8ac3d: Download complete Step #1: 022bb6f26798: Verifying Checksum Step #1: 022bb6f26798: Download complete Step #1: 9526b1b40f40: Verifying Checksum Step #1: 9526b1b40f40: Download complete Step #1: 4bce2ce3663d: Verifying Checksum Step #1: 4bce2ce3663d: Download complete Step #1: 876105f11e3e: Verifying Checksum Step #1: 876105f11e3e: Download complete Step #1: e8c3a365ab63: Verifying Checksum Step #1: e8c3a365ab63: Download complete Step #1: 946c23731906: Verifying Checksum Step #1: 946c23731906: Download complete Step #1: 24a48b392450: Verifying Checksum Step #1: 24a48b392450: Download complete Step #1: 90d311b1d188: Verifying Checksum Step #1: 90d311b1d188: Download complete Step #1: 92dd481acdad: Verifying Checksum Step #1: 92dd481acdad: Download complete Step #1: 7c1c7c664610: Verifying Checksum Step #1: 7c1c7c664610: Download complete Step #1: 9af24dbf487d: Verifying Checksum Step #1: 9af24dbf487d: Download complete Step #1: 2bab089e94ac: Download complete Step #1: 88c1f026fcff: Download complete Step #1: a3b9a4bedf51: Verifying Checksum Step #1: a3b9a4bedf51: Download complete Step #1: caf43f578f30: Verifying Checksum Step #1: caf43f578f30: Download complete Step #1: 384e9c4397f2: Verifying Checksum Step #1: 384e9c4397f2: Download complete Step #1: 1cf646353835: Verifying Checksum Step #1: 1cf646353835: Download complete Step #1: 9c24ebce6de6: Pull complete Step #1: 98c072d7ae8d: Pull complete Step #1: a9b738d7fcdd: Pull complete Step #1: 2af7c99e9fc6: Pull complete Step #1: c1f0b15d02dc: Pull complete Step #1: 90d311b1d188: Pull complete Step #1: 06b6d8c57a7c: Pull complete Step #1: bb7e036c3ed4: Pull complete Step #1: 681a7021a112: Pull complete Step #1: 7e52e3463fca: Pull complete Step #1: 0c5b4d81d541: Pull complete Step #1: 2072c9ddabc3: Pull complete Step #1: fac04dccdbe5: Pull complete Step #1: 73e9b38a68dd: Pull complete Step #1: e83b229fadee: Pull complete Step #1: 3f81dc9369e8: Pull complete Step #1: ef55aa97e73c: Pull complete Step #1: f78546c8ac3d: Pull complete Step #1: 022bb6f26798: Pull complete Step #1: 9526b1b40f40: Pull complete Step #1: 4bce2ce3663d: Pull complete Step #1: 876105f11e3e: Pull complete Step #1: e8c3a365ab63: Pull complete Step #1: 946c23731906: Pull complete Step #1: 24a48b392450: Pull complete Step #1: 7c1c7c664610: Pull complete Step #1: 92dd481acdad: Pull complete Step #1: 9af24dbf487d: Pull complete Step #1: a3b9a4bedf51: Pull complete Step #1: 2bab089e94ac: Pull complete Step #1: 88c1f026fcff: Pull complete Step #1: caf43f578f30: Pull complete Step #1: 384e9c4397f2: Pull complete Step #1: 1cf646353835: Pull complete Step #1: Digest: sha256:3e31f41e2643aa7cae1655b3d57a032d64289a5da0571f795b38df7a7431e2a1 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> c63ed6e22bc0 Step #1: Step 2/5 : RUN pip3 install --upgrade pip Step #1: ---> Running in 5c7ea7de7108 Step #1: Collecting pip Step #1: Downloading https://files.pythonhosted.org/packages/ef/7d/500c9ad20238fcfcb4cb9243eede163594d7020ce87bd9610c9e02771876/pip-24.3.1-py3-none-any.whl (1.8MB) Step #1: Installing collected packages: pip Step #1: Found existing installation: pip 19.2.3 Step #1: Uninstalling pip-19.2.3: Step #1: Successfully uninstalled pip-19.2.3 Step #1: Successfully installed pip-24.3.1 Step #1: Removing intermediate container 5c7ea7de7108 Step #1: ---> aa48e761b9e9 Step #1: Step 3/5 : RUN git clone https://github.com/psf/black black Step #1: ---> Running in 51558227448f Step #1: Cloning into 'black'... Step #1: Removing intermediate container 51558227448f Step #1: ---> c6d49c151897 Step #1: Step 4/5 : COPY *.sh *py $SRC/ Step #1: ---> 419486a4910a Step #1: Step 5/5 : WORKDIR $SRC/black Step #1: ---> Running in 78d85a08e9e5 Step #1: Removing intermediate container 78d85a08e9e5 Step #1: ---> b6cadf528b16 Step #1: Successfully built b6cadf528b16 Step #1: Successfully tagged gcr.io/oss-fuzz/black:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/black Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileQ0aFFL Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ python == \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/black/.git Step #2 - "srcmap": + GIT_DIR=/src/black Step #2 - "srcmap": + cd /src/black Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/psf/black Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=c472557ba84bf0bd8a31c15542479fe19c989901 Step #2 - "srcmap": + jq_inplace /tmp/fileQ0aFFL '."/src/black" = { type: "git", url: "https://github.com/psf/black", rev: "c472557ba84bf0bd8a31c15542479fe19c989901" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileMwra2a Step #2 - "srcmap": + cat /tmp/fileQ0aFFL Step #2 - "srcmap": + jq '."/src/black" = { type: "git", url: "https://github.com/psf/black", rev: "c472557ba84bf0bd8a31c15542479fe19c989901" }' Step #2 - "srcmap": + mv /tmp/fileMwra2a /tmp/fileQ0aFFL 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/fileQ0aFFL Step #2 - "srcmap": + rm /tmp/fileQ0aFFL Step #2 - "srcmap": { Step #2 - "srcmap": "/src/black": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/psf/black", Step #2 - "srcmap": "rev": "c472557ba84bf0bd8a31c15542479fe19c989901" 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++ 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 -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -fno-sanitize=function,leak,vptr, 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 -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ -fno-sanitize=function,leak,vptr 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": + pip3 install . Step #3 - "compile-libfuzzer-address-x86_64": Processing /src/black Step #3 - "compile-libfuzzer-address-x86_64": Installing build dependencies ... [?25l- \ | / - \ | / - \ done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Getting requirements to build wheel ... [?25ldone Step #3 - "compile-libfuzzer-address-x86_64": [?25h Preparing metadata (pyproject.toml) ... [?25ldone Step #3 - "compile-libfuzzer-address-x86_64": [?25hCollecting click>=8.0.0 (from black==24.10.1.dev9+gc472557) Step #3 - "compile-libfuzzer-address-x86_64": Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB) Step #3 - "compile-libfuzzer-address-x86_64": Collecting mypy-extensions>=0.4.3 (from black==24.10.1.dev9+gc472557) Step #3 - "compile-libfuzzer-address-x86_64": Downloading mypy_extensions-1.0.0-py3-none-any.whl.metadata (1.1 kB) Step #3 - "compile-libfuzzer-address-x86_64": Requirement already satisfied: packaging>=22.0 in /usr/local/lib/python3.8/site-packages (from black==24.10.1.dev9+gc472557) (24.2) Step #3 - "compile-libfuzzer-address-x86_64": Collecting pathspec>=0.9.0 (from black==24.10.1.dev9+gc472557) Step #3 - "compile-libfuzzer-address-x86_64": Using cached pathspec-0.12.1-py3-none-any.whl.metadata (21 kB) Step #3 - "compile-libfuzzer-address-x86_64": Collecting platformdirs>=2 (from black==24.10.1.dev9+gc472557) Step #3 - "compile-libfuzzer-address-x86_64": Downloading platformdirs-4.3.6-py3-none-any.whl.metadata (11 kB) Step #3 - "compile-libfuzzer-address-x86_64": Collecting tomli>=1.1.0 (from black==24.10.1.dev9+gc472557) Step #3 - "compile-libfuzzer-address-x86_64": Using cached tomli-2.0.2-py3-none-any.whl.metadata (10.0 kB) Step #3 - "compile-libfuzzer-address-x86_64": Collecting typing-extensions>=4.0.1 (from black==24.10.1.dev9+gc472557) Step #3 - "compile-libfuzzer-address-x86_64": Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB) Step #3 - "compile-libfuzzer-address-x86_64": INFO: pip is looking at multiple versions of black to determine which version is compatible with other requirements. This could take a while. Step #3 - "compile-libfuzzer-address-x86_64": ERROR: Package 'black' requires a different Python: 3.8.3 not in '>=3.9' 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 black Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 black 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