starting build "d3ca6e9e-0911-4a7f-b4fd-93c6b6bfc9d7" 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 7.168kB 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: 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: a2c1799b005c: Waiting Step #1: 647124c852bc: Waiting Step #1: 7d9d6400b844: Waiting Step #1: 294ba0b9a924: Pulling fs layer Step #1: b95ba533437d: Waiting Step #1: 4c0db9535385: Waiting 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: 294ba0b9a924: Waiting Step #1: b56b52e44dc7: Pulling fs layer Step #1: 8a24d9f6813c: Waiting Step #1: 344841c178fd: Waiting Step #1: d4dbf4e8824f: Pulling fs layer Step #1: fa95fc65ee8e: Pulling fs layer Step #1: 8cfff2f8b62b: Waiting Step #1: b56b52e44dc7: Waiting Step #1: 7b6fc8fef10c: Waiting Step #1: 1da1ba4445a7: Pulling fs layer Step #1: d4dbf4e8824f: Waiting Step #1: fa95fc65ee8e: Waiting Step #1: 14cc587b05ae: Pulling fs layer Step #1: 1da1ba4445a7: Waiting Step #1: 03fa8c0fad9a: Pulling fs layer Step #1: ccfd740776f9: Pulling fs layer Step #1: 14cc587b05ae: Waiting Step #1: 04ec2d031af9: Pulling fs layer Step #1: 0fe86fe6d25a: Pulling fs layer Step #1: 3d5e727cc8f7: Pulling fs layer Step #1: 639389e328da: Pulling fs layer Step #1: ccfd740776f9: Waiting Step #1: da2ba7c8e5f6: Pulling fs layer Step #1: 0c2ec5c7c85c: Pulling fs layer Step #1: 189e9da4e490: Pulling fs layer Step #1: da2ba7c8e5f6: Waiting Step #1: 3d5e727cc8f7: Waiting Step #1: 6ec4707e85be: Pulling fs layer Step #1: 639389e328da: Waiting Step #1: 04ec2d031af9: Waiting Step #1: e5ccbdccd3b0: Pulling fs layer Step #1: 6ec4707e85be: Waiting Step #1: e5ccbdccd3b0: Waiting Step #1: 0c2ec5c7c85c: Waiting Step #1: 0fe86fe6d25a: Waiting Step #1: c2e9ab7e6d55: Verifying Checksum Step #1: c2e9ab7e6d55: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 647124c852bc: Verifying Checksum Step #1: 647124c852bc: Download complete Step #1: a2c1799b005c: Verifying Checksum Step #1: a2c1799b005c: Download complete Step #1: 4c0db9535385: Verifying Checksum Step #1: 4c0db9535385: Download complete Step #1: b95ba533437d: Verifying Checksum 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: b549f31133a9: Pull complete Step #1: 8a24d9f6813c: Verifying Checksum Step #1: 8a24d9f6813c: Download 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: 0bcc6c903840: Verifying Checksum Step #1: 0bcc6c903840: Download complete Step #1: 14cc587b05ae: Verifying Checksum Step #1: 14cc587b05ae: Download complete Step #1: 03fa8c0fad9a: Verifying Checksum Step #1: 03fa8c0fad9a: 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: da2ba7c8e5f6: Verifying Checksum Step #1: da2ba7c8e5f6: Download complete Step #1: 0c2ec5c7c85c: Verifying Checksum Step #1: 0c2ec5c7c85c: Download complete Step #1: 189e9da4e490: Verifying Checksum Step #1: 189e9da4e490: Download complete Step #1: 6ec4707e85be: Download complete Step #1: e5ccbdccd3b0: Verifying Checksum Step #1: e5ccbdccd3b0: Download complete Step #1: 7d9d6400b844: Verifying Checksum Step #1: 7d9d6400b844: 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: e5ccbdccd3b0: Pull complete Step #1: Digest: sha256:786ad72422a2b8582c6774030abd6a124f957369661848a806307195d3467d95 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> 577e624e3043 Step #1: Step 2/5 : RUN pip3 install --upgrade pip simplejson Step #1: ---> Running in b099caafa4e1 Step #1: Collecting pip Step #1: Downloading https://files.pythonhosted.org/packages/8a/6a/19e9fe04fca059ccf770861c7d5721ab4c2aebc539889e97c7977528a53b/pip-24.0-py3-none-any.whl (2.1MB) Step #1: Collecting simplejson Step #1: Downloading https://files.pythonhosted.org/packages/33/5f/b9506e323ea89737b34c97a6eda9d22ad6b771190df93f6eb72657a3b996/simplejson-3.19.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (136kB) Step #1: Installing collected packages: pip, simplejson 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.0 simplejson-3.19.2 Step #1: Removing intermediate container b099caafa4e1 Step #1: ---> 3f3724490c06 Step #1: Step 3/5 : RUN git clone https://github.com/jsonpickle/jsonpickle jsonpickle Step #1: ---> Running in 2c2d4b60201f Step #1: Cloning into 'jsonpickle'... Step #1: Removing intermediate container 2c2d4b60201f Step #1: ---> ed41ff3b5dcb Step #1: Step 4/5 : COPY *.sh *py $SRC/ Step #1: ---> 514155cc4e9b Step #1: Step 5/5 : WORKDIR $SRC/jsonpickle Step #1: ---> Running in 5d0c42b9d868 Step #1: Removing intermediate container 5d0c42b9d868 Step #1: ---> 88fff34d0a99 Step #1: Successfully built 88fff34d0a99 Step #1: Successfully tagged gcr.io/oss-fuzz/jsonpickle:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/jsonpickle Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileBK9QRP 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/jsonpickle/.git Step #2 - "srcmap": + GIT_DIR=/src/jsonpickle Step #2 - "srcmap": + cd /src/jsonpickle Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/jsonpickle/jsonpickle Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=29a5584d80d0e0be1e612ab6771360acdf33242e Step #2 - "srcmap": + jq_inplace /tmp/fileBK9QRP '."/src/jsonpickle" = { type: "git", url: "https://github.com/jsonpickle/jsonpickle", rev: "29a5584d80d0e0be1e612ab6771360acdf33242e" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filet6xex9 Step #2 - "srcmap": + cat /tmp/fileBK9QRP Step #2 - "srcmap": + jq '."/src/jsonpickle" = { type: "git", url: "https://github.com/jsonpickle/jsonpickle", rev: "29a5584d80d0e0be1e612ab6771360acdf33242e" }' Step #2 - "srcmap": + mv /tmp/filet6xex9 /tmp/fileBK9QRP 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/fileBK9QRP Step #2 - "srcmap": + rm /tmp/fileBK9QRP Step #2 - "srcmap": { Step #2 - "srcmap": "/src/jsonpickle": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/jsonpickle/jsonpickle", Step #2 - "srcmap": "rev": "29a5584d80d0e0be1e612ab6771360acdf33242e" 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 -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 -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/jsonpickle 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 Installing backend dependencies ... [?25l- \ | done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Preparing metadata (pyproject.toml) ... [?25l- done Step #3 - "compile-libfuzzer-address-x86_64": [?25hBuilding wheels for collected packages: jsonpickle Step #3 - "compile-libfuzzer-address-x86_64": Building wheel for jsonpickle (pyproject.toml) ... [?25l- done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Created wheel for jsonpickle: filename=jsonpickle-3.0.5.dev25+g29a5584-py3-none-any.whl size=41835 sha256=23d36f3b87bc5a10901bd4a7cd94a616d9c37a8adcb70327ebd1276ad14990b2 Step #3 - "compile-libfuzzer-address-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-tqs03lpo/wheels/e4/e4/b8/b522c92f3e717266636146052544c29de04d19435fc59fb691 Step #3 - "compile-libfuzzer-address-x86_64": Successfully built jsonpickle Step #3 - "compile-libfuzzer-address-x86_64": Installing collected packages: jsonpickle Step #3 - "compile-libfuzzer-address-x86_64": Successfully installed jsonpickle-3.0.5.dev25+g29a5584 Step #3 - "compile-libfuzzer-address-x86_64": WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Step #3 - "compile-libfuzzer-address-x86_64": ++ find /src -name 'fuzz_*.py' Step #3 - "compile-libfuzzer-address-x86_64": + for fuzzer in $(find $SRC -name 'fuzz_*.py') Step #3 - "compile-libfuzzer-address-x86_64": + compile_python_fuzzer /src/fuzz_unpickle.py --hidden-import=simplejson Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_path=/src/fuzz_unpickle.py Step #3 - "compile-libfuzzer-address-x86_64": + shift 1 Step #3 - "compile-libfuzzer-address-x86_64": ++ basename -s .py /src/fuzz_unpickle.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_basename=fuzz_unpickle Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_package=fuzz_unpickle.pkg Step #3 - "compile-libfuzzer-address-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_unpickle Step #3 - "compile-libfuzzer-address-x86_64": + [[ address = *introspector* ]] Step #3 - "compile-libfuzzer-address-x86_64": + [[ address = *coverage* ]] Step #3 - "compile-libfuzzer-address-x86_64": + [[ 0 != \0 ]] Step #3 - "compile-libfuzzer-address-x86_64": + rm -rf /src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + mkdir /src/pyfuzzworkdir/ /src/pyfuzzworkdir//fuzz_unpickle Step #3 - "compile-libfuzzer-address-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-address-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_unpickle --onefile --name fuzz_unpickle.pkg --hidden-import=simplejson /src/fuzz_unpickle.py Step #3 - "compile-libfuzzer-address-x86_64": 57 INFO: PyInstaller: 5.0.1 Step #3 - "compile-libfuzzer-address-x86_64": 57 INFO: Python: 3.8.3 Step #3 - "compile-libfuzzer-address-x86_64": 58 INFO: Platform: Linux-5.10.0-28-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 59 INFO: wrote /src/jsonpickle/fuzz_unpickle.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 61 INFO: UPX is not available. Step #3 - "compile-libfuzzer-address-x86_64": 62 INFO: Extending PYTHONPATH with paths Step #3 - "compile-libfuzzer-address-x86_64": ['/src'] Step #3 - "compile-libfuzzer-address-x86_64": 283 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 283 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 283 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 284 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 294 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 2973 INFO: Processing pre-find module path hook distutils from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks/pre_find_module_path/hook-distutils.py'. Step #3 - "compile-libfuzzer-address-x86_64": 2974 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 4730 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 4884 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 4908 INFO: Analyzing /src/fuzz_unpickle.py Step #3 - "compile-libfuzzer-address-x86_64": 5332 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 5333 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 5334 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5588 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5590 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5598 INFO: Loading module hook 'hook-importlib_metadata.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5599 INFO: Loading module hook 'hook-multiprocessing.util.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5601 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5648 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5650 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5651 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5664 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 5672 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 5676 INFO: Including run-time hook '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks/rthooks/pyi_rth_subprocess.py' Step #3 - "compile-libfuzzer-address-x86_64": 5678 INFO: Including run-time hook '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgutil.py' Step #3 - "compile-libfuzzer-address-x86_64": 5680 INFO: Including run-time hook '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py' Step #3 - "compile-libfuzzer-address-x86_64": 5683 INFO: Including run-time hook '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py' Step #3 - "compile-libfuzzer-address-x86_64": 5690 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 6579 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 6579 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 6583 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_unpickle/fuzz_unpickle.pkg/warn-fuzz_unpickle.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 6614 INFO: Graph cross-reference written to /src/pyfuzzworkdir//fuzz_unpickle/fuzz_unpickle.pkg/xref-fuzz_unpickle.pkg.html Step #3 - "compile-libfuzzer-address-x86_64": 6630 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 6630 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 6630 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_unpickle/fuzz_unpickle.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 7066 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_unpickle/fuzz_unpickle.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 7071 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 7071 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 7071 INFO: Building PKG (CArchive) fuzz_unpickle.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 14212 INFO: Building PKG (CArchive) fuzz_unpickle.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 14215 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 14215 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 14215 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 14215 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 14215 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_unpickle.pkg Step #3 - "compile-libfuzzer-address-x86_64": 14216 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 14273 INFO: Building EXE from EXE-00.toc completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": + chmod -x /workspace/out/libfuzzer-address-x86_64/fuzz_unpickle.pkg Step #3 - "compile-libfuzzer-address-x86_64": + [[ address = *coverage* ]] Step #3 - "compile-libfuzzer-address-x86_64": + echo '#!/bin/sh Step #3 - "compile-libfuzzer-address-x86_64": # LLVMFuzzerTestOneInput for fuzzer detection. Step #3 - "compile-libfuzzer-address-x86_64": this_dir=$(dirname "$0") Step #3 - "compile-libfuzzer-address-x86_64": chmod +x $this_dir/fuzz_unpickle.pkg Step #3 - "compile-libfuzzer-address-x86_64": LD_PRELOAD=$this_dir/sanitizer_with_fuzzer.so ASAN_OPTIONS=$ASAN_OPTIONS:symbolize=1:external_symbolizer_path=$this_dir/llvm-symbolizer:detect_leaks=0 $this_dir/fuzz_unpickle.pkg $@' Step #3 - "compile-libfuzzer-address-x86_64": + chmod +x /workspace/out/libfuzzer-address-x86_64/fuzz_unpickle Finished Step #3 - "compile-libfuzzer-address-x86_64" Starting Step #4 - "build-check-libfuzzer-address-x86_64" Step #4 - "build-check-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #4 - "build-check-libfuzzer-address-x86_64": Unable to find image 'gcr.io/oss-fuzz-base/base-runner:latest' locally Step #4 - "build-check-libfuzzer-address-x86_64": latest: Pulling from oss-fuzz-base/base-runner Step #4 - "build-check-libfuzzer-address-x86_64": b549f31133a9: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 9f80bca35359: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": c2e9ab7e6d55: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 34329875bf35: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 4ef379a667ce: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 90815380e3de: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": a59c863bb923: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": dce8e8465201: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": f7a1ab9755fe: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 453b65b09a13: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 3fd132016e48: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 219f663a713b: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": b4ac4ea952f9: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 98f9214581fe: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 6a01e16b5a30: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 7cce4d76b05d: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 4125849e1150: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": dce8e8465201: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": f7a1ab9755fe: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 453b65b09a13: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 3fd132016e48: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 219f663a713b: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 7cce4d76b05d: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 4125849e1150: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": b4ac4ea952f9: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 98f9214581fe: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 6a01e16b5a30: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 90815380e3de: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 34329875bf35: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 34329875bf35: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 4ef379a667ce: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 4ef379a667ce: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": dce8e8465201: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": f7a1ab9755fe: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": f7a1ab9755fe: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 34329875bf35: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 453b65b09a13: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 453b65b09a13: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 219f663a713b: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 219f663a713b: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 4ef379a667ce: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 3fd132016e48: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 3fd132016e48: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 90815380e3de: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 98f9214581fe: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 98f9214581fe: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 6a01e16b5a30: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": a59c863bb923: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": a59c863bb923: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 4125849e1150: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 4125849e1150: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b4ac4ea952f9: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": b4ac4ea952f9: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 7cce4d76b05d: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 7cce4d76b05d: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": a59c863bb923: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": dce8e8465201: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": f7a1ab9755fe: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 453b65b09a13: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 3fd132016e48: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 219f663a713b: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": b4ac4ea952f9: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 98f9214581fe: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 6a01e16b5a30: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 7cce4d76b05d: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 4125849e1150: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": Digest: sha256:318fe6ad2cc701012a20a7432786802ca2d2788eb46e7c0dbd9087f0b5457c59 Step #4 - "build-check-libfuzzer-address-x86_64": Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-runner:latest Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpe5975ad_/fuzz_unpickle Step #4 - "build-check-libfuzzer-address-x86_64": Retrying failed fuzz targets sequentially 1 Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpe5975ad_/fuzz_unpickle Step #4 - "build-check-libfuzzer-address-x86_64": Broken fuzz targets 1 Step #4 - "build-check-libfuzzer-address-x86_64": ('/tmp/not-out/tmpe5975ad_/fuzz_unpickle', CompletedProcess(args=['bad_build_check', '/tmp/not-out/tmpe5975ad_/fuzz_unpickle'], returncode=1, stdout=b'BAD BUILD: /tmp/not-out/tmpe5975ad_/fuzz_unpickle seems to have either startup crash or exit:\nvm.mmap_rnd_bits = 28\n/tmp/not-out/tmpe5975ad_/fuzz_unpickle -rss_limit_mb=2560 -timeout=25 -seed=1337 -runs=4 < /dev/null\nINFO: Using preloaded libfuzzer\nINFO: Running with entropic power schedule (0xFF, 100).\nINFO: Seed: 1337\nINFO: -max_len is not provided; libFuzzer will not generate inputs larger than 4096 bytes\n\n === Uncaught Python exception: ===\nJSONDecodeError: Expecting value: line 1 column 1 (char 0)\nTraceback (most recent call last):\n File "fuzz_unpickle.py", line 29, in TestOneInput\n File "jsonpickle/unpickler.py", line 97, in decode\n File "jsonpickle/backend.py", line 70, in decode\n File "jsonpickle/backend.py", line 67, in decode\n File "jsonpickle/backend.py", line 219, in backend_decode\n File "json/__init__.py", line 357, in loads\n File "json/decoder.py", line 337, in decode\n File "json/decoder.py", line 355, in raw_decode\nJSONDecodeError: Expecting value: line 1 column 1 (char 0)\n\nINFO: Instrumenting 3865 functions...\nINFO: Instrumentation complete.\nException ignored in: \nTraceback (most recent call last):\n File "logging/__init__.py", line 830, in _removeHandlerRef\nTypeError: \'NoneType\' object is not callable\n==75== ERROR: libFuzzer: fuzz target exited\n #0 0x7f5f784227f1 in __sanitizer_print_stack_trace /src/llvm-project/compiler-rt/lib/asan/asan_stack.cpp:87:3\n #1 0x7f5f783256e8 in fuzzer::PrintStackTrace() /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerUtil.cpp:210:5\n #2 0x7f5f783084cc in fuzzer::Fuzzer::ExitCallback() /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:248:3\n #3 0x7f5f780cb8a6 (/lib/x86_64-linux-gnu/libc.so.6+0x468a6) (BuildId: 87b331c034a6458c64ce09c03939e947212e18ce)\n #4 0x7f5f780cba5f in exit (/lib/x86_64-linux-gnu/libc.so.6+0x46a5f) (BuildId: 87b331c034a6458c64ce09c03939e947212e18ce)\n #5 0x7f5f75e4eaa8 in Py_Exit /tmp/Python-3.8.3/Python/pylifecycle.c:2299:5\n #6 0x7f5f75e534b1 in handle_system_exit /tmp/Python-3.8.3/Python/pythonrun.c:658:9\n #7 0x7f5f75e534b1 in _PyErr_PrintEx /tmp/Python-3.8.3/Python/pythonrun.c:668:5\n #8 0x56077328fb73 (/tmp/not-out/tmpe5975ad_/fuzz_unpickle.pkg+0x3b73)\n #9 0x56077328ff10 (/tmp/not-out/tmpe5975ad_/fuzz_unpickle.pkg+0x3f10)\n #10 0x7f5f780a9082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: 87b331c034a6458c64ce09c03939e947212e18ce)\n #11 0x56077328e4ad (/tmp/not-out/tmpe5975ad_/fuzz_unpickle.pkg+0x24ad)\n\nDEDUP_TOKEN: __sanitizer_print_stack_trace--fuzzer::PrintStackTrace()--fuzzer::Fuzzer::ExitCallback()\nSUMMARY: libFuzzer: fuzz target exited\nMS: 0 ; base unit: 0000000000000000000000000000000000000000\n\n\nartifact_prefix=\'./\'; Test unit written to ./crash-da39a3ee5e6b4b0d3255bfef95601890afd80709\nBase64: \n', stderr=b'')) Step #4 - "build-check-libfuzzer-address-x86_64": BAD BUILD: /tmp/not-out/tmpe5975ad_/fuzz_unpickle seems to have either startup crash or exit: Step #4 - "build-check-libfuzzer-address-x86_64": vm.mmap_rnd_bits = 28 Step #4 - "build-check-libfuzzer-address-x86_64": /tmp/not-out/tmpe5975ad_/fuzz_unpickle -rss_limit_mb=2560 -timeout=25 -seed=1337 -runs=4 < /dev/null Step #4 - "build-check-libfuzzer-address-x86_64": INFO: Using preloaded libfuzzer Step #4 - "build-check-libfuzzer-address-x86_64": INFO: Running with entropic power schedule (0xFF, 100). Step #4 - "build-check-libfuzzer-address-x86_64": INFO: Seed: 1337 Step #4 - "build-check-libfuzzer-address-x86_64": INFO: -max_len is not provided; libFuzzer will not generate inputs larger than 4096 bytes Step #4 - "build-check-libfuzzer-address-x86_64": Step #4 - "build-check-libfuzzer-address-x86_64": === Uncaught Python exception: === Step #4 - "build-check-libfuzzer-address-x86_64": JSONDecodeError: Expecting value: line 1 column 1 (char 0) Step #4 - "build-check-libfuzzer-address-x86_64": Traceback (most recent call last): Step #4 - "build-check-libfuzzer-address-x86_64": File "fuzz_unpickle.py", line 29, in TestOneInput Step #4 - "build-check-libfuzzer-address-x86_64": File "jsonpickle/unpickler.py", line 97, in decode Step #4 - "build-check-libfuzzer-address-x86_64": File "jsonpickle/backend.py", line 70, in decode Step #4 - "build-check-libfuzzer-address-x86_64": File "jsonpickle/backend.py", line 67, in decode Step #4 - "build-check-libfuzzer-address-x86_64": File "jsonpickle/backend.py", line 219, in backend_decode Step #4 - "build-check-libfuzzer-address-x86_64": File "json/__init__.py", line 357, in loads Step #4 - "build-check-libfuzzer-address-x86_64": File "json/decoder.py", line 337, in decode Step #4 - "build-check-libfuzzer-address-x86_64": File "json/decoder.py", line 355, in raw_decode Step #4 - "build-check-libfuzzer-address-x86_64": JSONDecodeError: Expecting value: line 1 column 1 (char 0) Step #4 - "build-check-libfuzzer-address-x86_64": Step #4 - "build-check-libfuzzer-address-x86_64": INFO: Instrumenting 3865 functions... Step #4 - "build-check-libfuzzer-address-x86_64": INFO: Instrumentation complete. Step #4 - "build-check-libfuzzer-address-x86_64": Exception ignored in: Step #4 - "build-check-libfuzzer-address-x86_64": Traceback (most recent call last): Step #4 - "build-check-libfuzzer-address-x86_64": File "logging/__init__.py", line 830, in _removeHandlerRef Step #4 - "build-check-libfuzzer-address-x86_64": TypeError: 'NoneType' object is not callable Step #4 - "build-check-libfuzzer-address-x86_64": ==113== ERROR: libFuzzer: fuzz target exited Step #4 - "build-check-libfuzzer-address-x86_64": #0 0x7f5283cc27f1 in __sanitizer_print_stack_trace /src/llvm-project/compiler-rt/lib/asan/asan_stack.cpp:87:3 Step #4 - "build-check-libfuzzer-address-x86_64": #1 0x7f5283bc56e8 in fuzzer::PrintStackTrace() /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerUtil.cpp:210:5 Step #4 - "build-check-libfuzzer-address-x86_64": #2 0x7f5283ba84cc in fuzzer::Fuzzer::ExitCallback() /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:248:3 Step #4 - "build-check-libfuzzer-address-x86_64": #3 0x7f528396b8a6 (/lib/x86_64-linux-gnu/libc.so.6+0x468a6) (BuildId: 87b331c034a6458c64ce09c03939e947212e18ce) Step #4 - "build-check-libfuzzer-address-x86_64": #4 0x7f528396ba5f in exit (/lib/x86_64-linux-gnu/libc.so.6+0x46a5f) (BuildId: 87b331c034a6458c64ce09c03939e947212e18ce) Step #4 - "build-check-libfuzzer-address-x86_64": #5 0x7f528174eaa8 in Py_Exit /tmp/Python-3.8.3/Python/pylifecycle.c:2299:5 Step #4 - "build-check-libfuzzer-address-x86_64": #6 0x7f52817534b1 in handle_system_exit /tmp/Python-3.8.3/Python/pythonrun.c:658:9 Step #4 - "build-check-libfuzzer-address-x86_64": #7 0x7f52817534b1 in _PyErr_PrintEx /tmp/Python-3.8.3/Python/pythonrun.c:668:5 Step #4 - "build-check-libfuzzer-address-x86_64": #8 0x55fbd9232b73 (/tmp/not-out/tmpe5975ad_/fuzz_unpickle.pkg+0x3b73) Step #4 - "build-check-libfuzzer-address-x86_64": #9 0x55fbd9232f10 (/tmp/not-out/tmpe5975ad_/fuzz_unpickle.pkg+0x3f10) Step #4 - "build-check-libfuzzer-address-x86_64": #10 0x7f5283949082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: 87b331c034a6458c64ce09c03939e947212e18ce) Step #4 - "build-check-libfuzzer-address-x86_64": #11 0x55fbd92314ad (/tmp/not-out/tmpe5975ad_/fuzz_unpickle.pkg+0x24ad) Step #4 - "build-check-libfuzzer-address-x86_64": Step #4 - "build-check-libfuzzer-address-x86_64": DEDUP_TOKEN: __sanitizer_print_stack_trace--fuzzer::PrintStackTrace()--fuzzer::Fuzzer::ExitCallback() Step #4 - "build-check-libfuzzer-address-x86_64": SUMMARY: libFuzzer: fuzz target exited Step #4 - "build-check-libfuzzer-address-x86_64": MS: 0 ; base unit: 0000000000000000000000000000000000000000 Step #4 - "build-check-libfuzzer-address-x86_64": Step #4 - "build-check-libfuzzer-address-x86_64": Step #4 - "build-check-libfuzzer-address-x86_64": artifact_prefix='./'; Test unit written to ./crash-da39a3ee5e6b4b0d3255bfef95601890afd80709 Step #4 - "build-check-libfuzzer-address-x86_64": Base64: Step #4 - "build-check-libfuzzer-address-x86_64": Step #4 - "build-check-libfuzzer-address-x86_64": ERROR: 100.0% of fuzz targets seem to be broken. See the list above for a detailed information. Step #4 - "build-check-libfuzzer-address-x86_64": ******************************************************************************** Step #4 - "build-check-libfuzzer-address-x86_64": Build checks failed. Step #4 - "build-check-libfuzzer-address-x86_64": To reproduce, run: Step #4 - "build-check-libfuzzer-address-x86_64": python infra/helper.py build_image jsonpickle Step #4 - "build-check-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 jsonpickle Step #4 - "build-check-libfuzzer-address-x86_64": python infra/helper.py check_build --sanitizer address --engine libfuzzer --architecture x86_64 jsonpickle Step #4 - "build-check-libfuzzer-address-x86_64": ******************************************************************************** Finished Step #4 - "build-check-libfuzzer-address-x86_64" ERROR ERROR: build step 4 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1