starting build "5bbf575d-5589-44b6-af1d-54131d37acd1" 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: 9e174c08eb85: Pulling fs layer Step #1: 2cd29e6c1ecf: Pulling fs layer Step #1: 1366d8263393: Pulling fs layer Step #1: fa41e3551025: Pulling fs layer Step #1: 61b5b8ad0f96: Pulling fs layer Step #1: fe870a1d2514: Pulling fs layer Step #1: afa3b9d0eab0: Pulling fs layer Step #1: 037ef7d40100: Pulling fs layer Step #1: 83455dd42233: Pulling fs layer Step #1: 72bd13282b8a: Pulling fs layer Step #1: c50d3c031bb4: Pulling fs layer Step #1: 8dd946c71e81: Pulling fs layer Step #1: 2c06dd19cdaf: Pulling fs layer Step #1: 8efacf68f3c7: Pulling fs layer Step #1: b064effd2ca5: Pulling fs layer Step #1: 314b2533b0cb: Pulling fs layer Step #1: 70f6b0eb3293: Pulling fs layer Step #1: 79ce9e592395: Pulling fs layer Step #1: c76fcee71e43: Pulling fs layer Step #1: df9a59b82586: Pulling fs layer Step #1: 6feee60eb383: Pulling fs layer Step #1: 0b48d58ed109: Pulling fs layer Step #1: d17b5b838f7f: Pulling fs layer Step #1: ed7aabd173cf: Pulling fs layer Step #1: fe8a129ab9c8: Pulling fs layer Step #1: f1055bddfaf5: Pulling fs layer Step #1: ea5733fa39c4: Pulling fs layer Step #1: 24074cdd3473: Pulling fs layer Step #1: b016e5ae518d: Pulling fs layer Step #1: 0f5b5705375a: Pulling fs layer Step #1: 1366d8263393: Waiting Step #1: fa41e3551025: Waiting Step #1: 61b5b8ad0f96: Waiting Step #1: fe870a1d2514: Waiting Step #1: afa3b9d0eab0: Waiting Step #1: 037ef7d40100: Waiting Step #1: 83455dd42233: Waiting Step #1: 72bd13282b8a: Waiting Step #1: 0b48d58ed109: Waiting Step #1: c50d3c031bb4: Waiting Step #1: 8dd946c71e81: Waiting Step #1: 70f6b0eb3293: Waiting Step #1: 2c06dd19cdaf: Waiting Step #1: 79ce9e592395: Waiting Step #1: 8efacf68f3c7: Waiting Step #1: c76fcee71e43: Waiting Step #1: df9a59b82586: Waiting Step #1: b064effd2ca5: Waiting Step #1: d17b5b838f7f: Waiting Step #1: ed7aabd173cf: Waiting Step #1: fe8a129ab9c8: Waiting Step #1: f1055bddfaf5: Waiting Step #1: ea5733fa39c4: Waiting Step #1: 24074cdd3473: Waiting Step #1: b016e5ae518d: Waiting Step #1: 0f5b5705375a: Waiting Step #1: 6feee60eb383: Waiting Step #1: 314b2533b0cb: Waiting Step #1: 2cd29e6c1ecf: Verifying Checksum Step #1: 2cd29e6c1ecf: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: fa41e3551025: Verifying Checksum Step #1: fa41e3551025: Download complete Step #1: 1366d8263393: Download complete Step #1: 61b5b8ad0f96: Verifying Checksum Step #1: 61b5b8ad0f96: Download complete Step #1: afa3b9d0eab0: Download complete Step #1: 037ef7d40100: Verifying Checksum Step #1: 037ef7d40100: Download complete Step #1: 9e174c08eb85: Verifying Checksum Step #1: 9e174c08eb85: Download complete Step #1: 72bd13282b8a: Verifying Checksum Step #1: 72bd13282b8a: Download complete Step #1: c50d3c031bb4: Verifying Checksum Step #1: c50d3c031bb4: Download complete Step #1: 8dd946c71e81: Verifying Checksum Step #1: 8dd946c71e81: Download complete Step #1: 2c06dd19cdaf: Verifying Checksum Step #1: 2c06dd19cdaf: Download complete Step #1: b549f31133a9: Pull complete Step #1: 8efacf68f3c7: Verifying Checksum Step #1: 8efacf68f3c7: Download complete Step #1: b064effd2ca5: Verifying Checksum Step #1: b064effd2ca5: Download complete Step #1: 314b2533b0cb: Verifying Checksum Step #1: 314b2533b0cb: Download complete Step #1: 70f6b0eb3293: Download complete Step #1: 79ce9e592395: Verifying Checksum Step #1: 79ce9e592395: Download complete Step #1: 83455dd42233: Verifying Checksum Step #1: 83455dd42233: Download complete Step #1: c76fcee71e43: Verifying Checksum Step #1: c76fcee71e43: Download complete Step #1: df9a59b82586: Verifying Checksum Step #1: df9a59b82586: Download complete Step #1: 0b48d58ed109: Verifying Checksum Step #1: 0b48d58ed109: Download complete Step #1: 6feee60eb383: Verifying Checksum Step #1: 6feee60eb383: Download complete Step #1: ed7aabd173cf: Download complete Step #1: d17b5b838f7f: Verifying Checksum Step #1: d17b5b838f7f: Download complete Step #1: fe8a129ab9c8: Verifying Checksum Step #1: fe8a129ab9c8: Download complete Step #1: f1055bddfaf5: Verifying Checksum Step #1: f1055bddfaf5: Download complete Step #1: ea5733fa39c4: Verifying Checksum Step #1: ea5733fa39c4: Download complete Step #1: b016e5ae518d: Download complete Step #1: 24074cdd3473: Download complete Step #1: fe870a1d2514: Verifying Checksum Step #1: fe870a1d2514: Download complete Step #1: 0f5b5705375a: Verifying Checksum Step #1: 0f5b5705375a: Download complete Step #1: 9e174c08eb85: Pull complete Step #1: 2cd29e6c1ecf: Pull complete Step #1: 1366d8263393: Pull complete Step #1: fa41e3551025: Pull complete Step #1: 61b5b8ad0f96: Pull complete Step #1: fe870a1d2514: Pull complete Step #1: afa3b9d0eab0: Pull complete Step #1: 037ef7d40100: Pull complete Step #1: 83455dd42233: Pull complete Step #1: 72bd13282b8a: Pull complete Step #1: c50d3c031bb4: Pull complete Step #1: 8dd946c71e81: Pull complete Step #1: 2c06dd19cdaf: Pull complete Step #1: 8efacf68f3c7: Pull complete Step #1: b064effd2ca5: Pull complete Step #1: 314b2533b0cb: Pull complete Step #1: 70f6b0eb3293: Pull complete Step #1: 79ce9e592395: Pull complete Step #1: c76fcee71e43: Pull complete Step #1: df9a59b82586: Pull complete Step #1: 6feee60eb383: Pull complete Step #1: 0b48d58ed109: Pull complete Step #1: d17b5b838f7f: Pull complete Step #1: ed7aabd173cf: Pull complete Step #1: fe8a129ab9c8: Pull complete Step #1: f1055bddfaf5: Pull complete Step #1: ea5733fa39c4: Pull complete Step #1: 24074cdd3473: Pull complete Step #1: b016e5ae518d: Pull complete Step #1: 0f5b5705375a: Pull complete Step #1: Digest: sha256:2605f92589899de4b5b0b823099d8e58ac15332718ec29e9ef1b8904fc2758b6 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> 373f7828829d Step #1: Step 2/5 : RUN pip3 install --upgrade pip simplejson Step #1: ---> Running in c15f35d8669f 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 c15f35d8669f Step #1: ---> b4c9edb5e942 Step #1: Step 3/5 : RUN git clone https://github.com/jsonpickle/jsonpickle jsonpickle Step #1: ---> Running in ff788690c227 Step #1: Cloning into 'jsonpickle'... Step #1: Removing intermediate container ff788690c227 Step #1: ---> 4cb5c79e9e63 Step #1: Step 4/5 : COPY *.sh *py $SRC/ Step #1: ---> 28ec620eabdd Step #1: Step 5/5 : WORKDIR $SRC/jsonpickle Step #1: ---> Running in 31afde447a84 Step #1: Removing intermediate container 31afde447a84 Step #1: ---> 50f1a6ed3347 Step #1: Successfully built 50f1a6ed3347 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/filehBxRzP 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=4eb8869c89ac715d683d43712491d27eed7ee613 Step #2 - "srcmap": + jq_inplace /tmp/filehBxRzP '."/src/jsonpickle" = { type: "git", url: "https://github.com/jsonpickle/jsonpickle", rev: "4eb8869c89ac715d683d43712491d27eed7ee613" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileteGRfa Step #2 - "srcmap": + cat /tmp/filehBxRzP Step #2 - "srcmap": + jq '."/src/jsonpickle" = { type: "git", url: "https://github.com/jsonpickle/jsonpickle", rev: "4eb8869c89ac715d683d43712491d27eed7ee613" }' Step #2 - "srcmap": + mv /tmp/fileteGRfa /tmp/filehBxRzP 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/filehBxRzP Step #2 - "srcmap": + rm /tmp/filehBxRzP 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": "4eb8869c89ac715d683d43712491d27eed7ee613" 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 -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 -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.4.dev43+g4eb8869-py3-none-any.whl size=41740 sha256=0ca1c4e355e09f84e7cf8094b87cca7fe8e9db30b7b5e4a36b8870919d88eae3 Step #3 - "compile-libfuzzer-address-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-zv4nealn/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.4.dev43+g4eb8869 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": 58 INFO: PyInstaller: 5.0.1 Step #3 - "compile-libfuzzer-address-x86_64": 58 INFO: Python: 3.8.3 Step #3 - "compile-libfuzzer-address-x86_64": 59 INFO: Platform: Linux-5.10.0-28-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 60 INFO: wrote /src/jsonpickle/fuzz_unpickle.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 62 INFO: UPX is not available. Step #3 - "compile-libfuzzer-address-x86_64": 63 INFO: Extending PYTHONPATH with paths Step #3 - "compile-libfuzzer-address-x86_64": ['/src'] Step #3 - "compile-libfuzzer-address-x86_64": 33 WARNING: discover_hook_directories: Failed to process hook entry point 'hook-dirs = _pyinstaller_hooks_contrib.hooks:get_hook_dirs': pkg_resources.VersionConflict: (setuptools 41.2.0 (/usr/local/lib/python3.8/site-packages), Requirement.parse('setuptools>=42.0.0')) Step #3 - "compile-libfuzzer-address-x86_64": 265 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 265 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 265 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 267 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 271 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 3058 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": 3058 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 4717 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 4861 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 4884 INFO: Analyzing /src/fuzz_unpickle.py Step #3 - "compile-libfuzzer-address-x86_64": 5298 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 5298 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 5299 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": 5301 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5302 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5312 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5314 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5315 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5315 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5566 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": 5568 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5627 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 5635 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 5639 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": 5640 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": 5643 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": 5646 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": 5653 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 6546 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 6546 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 6550 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_unpickle/fuzz_unpickle.pkg/warn-fuzz_unpickle.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 6581 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": 6596 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 6596 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 6596 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_unpickle/fuzz_unpickle.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 7036 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_unpickle/fuzz_unpickle.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 7041 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 7041 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 7041 INFO: Building PKG (CArchive) fuzz_unpickle.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 13972 INFO: Building PKG (CArchive) fuzz_unpickle.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 13975 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 13975 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 13975 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 13975 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 13976 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_unpickle.pkg Step #3 - "compile-libfuzzer-address-x86_64": 13976 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 14030 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": 9e174c08eb85: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 2cd29e6c1ecf: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 158c198cc409: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": e5526743a90f: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 7c9948031b76: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 755b75e514ce: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 2078725ef15f: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 5fdd25473f87: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 438ad07ac746: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": fb206ce9d36e: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": e7976d8d7e7d: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 242a5c8eaf67: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 172e9a883b5b: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": cf448115f1be: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 8111253a1e8e: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 755b75e514ce: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 438ad07ac746: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 2078725ef15f: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": fb206ce9d36e: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 5fdd25473f87: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": e7976d8d7e7d: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 242a5c8eaf67: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": cf448115f1be: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 8111253a1e8e: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 172e9a883b5b: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": abb56446c75b: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": abb56446c75b: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 7c9948031b76: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 7c9948031b76: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 158c198cc409: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 158c198cc409: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": e5526743a90f: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": e5526743a90f: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 2078725ef15f: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 2078725ef15f: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 5fdd25473f87: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 438ad07ac746: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 438ad07ac746: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 158c198cc409: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": e7976d8d7e7d: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": e7976d8d7e7d: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": e5526743a90f: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": fb206ce9d36e: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": fb206ce9d36e: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 7c9948031b76: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 172e9a883b5b: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 172e9a883b5b: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 755b75e514ce: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 755b75e514ce: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": cf448115f1be: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": cf448115f1be: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": abb56446c75b: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 242a5c8eaf67: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 242a5c8eaf67: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 8111253a1e8e: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 8111253a1e8e: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 755b75e514ce: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 2078725ef15f: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 5fdd25473f87: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 438ad07ac746: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": fb206ce9d36e: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": e7976d8d7e7d: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 242a5c8eaf67: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 172e9a883b5b: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": cf448115f1be: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 8111253a1e8e: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": abb56446c75b: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": Digest: sha256:e23d6d8ac8bea4b010b702a3a0e763d0ddd7351f947cb4b46c53043e7f754b77 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/tmph1r1xvbm/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/tmph1r1xvbm/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/tmph1r1xvbm/fuzz_unpickle', CompletedProcess(args=['bad_build_check', '/tmp/not-out/tmph1r1xvbm/fuzz_unpickle'], returncode=1, stdout=b'BAD BUILD: /tmp/not-out/tmph1r1xvbm/fuzz_unpickle seems to have either startup crash or exit:\nvm.mmap_rnd_bits = 28\n/tmp/not-out/tmph1r1xvbm/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 99, in decode\n File "jsonpickle/backend.py", line 72, in decode\n File "jsonpickle/backend.py", line 69, in decode\n File "jsonpickle/backend.py", line 221, 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 0x7fd8b46e8131 in __sanitizer_print_stack_trace /src/llvm-project/compiler-rt/lib/asan/asan_stack.cpp:87:3\n #1 0x7fd8b4607fe8 in fuzzer::PrintStackTrace() /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerUtil.cpp:210:5\n #2 0x7fd8b45ecd7c in fuzzer::Fuzzer::ExitCallback() /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:250:3\n #3 0x7fd8b43c68a6 (/lib/x86_64-linux-gnu/libc.so.6+0x468a6) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)\n #4 0x7fd8b43c6a5f in exit (/lib/x86_64-linux-gnu/libc.so.6+0x46a5f) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)\n #5 0x7fd8b214dc78 in Py_Exit /tmp/Python-3.8.3/Python/pylifecycle.c:2299:5\n #6 0x7fd8b21526cf in handle_system_exit /tmp/Python-3.8.3/Python/pythonrun.c:658:9\n #7 0x7fd8b21526cf in _PyErr_PrintEx /tmp/Python-3.8.3/Python/pythonrun.c:668:5\n #8 0x403ad2 (/tmp/not-out/tmph1r1xvbm/fuzz_unpickle.pkg+0x403ad2)\n #9 0x403e67 (/tmp/not-out/tmph1r1xvbm/fuzz_unpickle.pkg+0x403e67)\n #10 0x7fd8b43a4082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)\n #11 0x40249d (/tmp/not-out/tmph1r1xvbm/fuzz_unpickle.pkg+0x40249d)\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/tmph1r1xvbm/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/tmph1r1xvbm/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 99, in decode Step #4 - "build-check-libfuzzer-address-x86_64": File "jsonpickle/backend.py", line 72, in decode Step #4 - "build-check-libfuzzer-address-x86_64": File "jsonpickle/backend.py", line 69, in decode Step #4 - "build-check-libfuzzer-address-x86_64": File "jsonpickle/backend.py", line 221, 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 0x7fcdf6f64131 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 0x7fcdf6e83fe8 in fuzzer::PrintStackTrace() /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerUtil.cpp:210:5 Step #4 - "build-check-libfuzzer-address-x86_64": #2 0x7fcdf6e68d7c in fuzzer::Fuzzer::ExitCallback() /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:250:3 Step #4 - "build-check-libfuzzer-address-x86_64": #3 0x7fcdf6c428a6 (/lib/x86_64-linux-gnu/libc.so.6+0x468a6) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca) Step #4 - "build-check-libfuzzer-address-x86_64": #4 0x7fcdf6c42a5f in exit (/lib/x86_64-linux-gnu/libc.so.6+0x46a5f) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca) Step #4 - "build-check-libfuzzer-address-x86_64": #5 0x7fcdf4a4dc78 in Py_Exit /tmp/Python-3.8.3/Python/pylifecycle.c:2299:5 Step #4 - "build-check-libfuzzer-address-x86_64": #6 0x7fcdf4a526cf in handle_system_exit /tmp/Python-3.8.3/Python/pythonrun.c:658:9 Step #4 - "build-check-libfuzzer-address-x86_64": #7 0x7fcdf4a526cf in _PyErr_PrintEx /tmp/Python-3.8.3/Python/pythonrun.c:668:5 Step #4 - "build-check-libfuzzer-address-x86_64": #8 0x403ad2 (/tmp/not-out/tmph1r1xvbm/fuzz_unpickle.pkg+0x403ad2) Step #4 - "build-check-libfuzzer-address-x86_64": #9 0x403e67 (/tmp/not-out/tmph1r1xvbm/fuzz_unpickle.pkg+0x403e67) Step #4 - "build-check-libfuzzer-address-x86_64": #10 0x7fcdf6c20082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca) Step #4 - "build-check-libfuzzer-address-x86_64": #11 0x40249d (/tmp/not-out/tmph1r1xvbm/fuzz_unpickle.pkg+0x40249d) 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