starting build "8006ed3e-13fb-4478-a7d8-e7225b6ecf6d" 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: 160496dfdc1e: Pulling fs layer Step #1: e2c1e6ffb55e: Pulling fs layer Step #1: 790f0b60d601: Pulling fs layer Step #1: ba5377523637: Pulling fs layer Step #1: fcf19af99e9b: Pulling fs layer Step #1: c120616e8611: Pulling fs layer Step #1: 648979ff9271: Pulling fs layer Step #1: 38b58f40b986: Pulling fs layer Step #1: 6fec27639895: Pulling fs layer Step #1: 6311c17bee61: Pulling fs layer Step #1: 63cd1cde0eec: Pulling fs layer Step #1: 1ef02760f71f: Pulling fs layer Step #1: fda5a71c8862: Pulling fs layer Step #1: 7ad2f7c615a2: Pulling fs layer Step #1: 0b07407e6342: Pulling fs layer Step #1: fbed995eca46: Pulling fs layer Step #1: 4381c7f8884c: Pulling fs layer Step #1: bd3393df7542: Pulling fs layer Step #1: f8afaf16f210: Pulling fs layer Step #1: 086216b75b6f: Pulling fs layer Step #1: ebb3d4059a93: Pulling fs layer Step #1: 1cb7b39b268b: Pulling fs layer Step #1: fd1f752e3c9f: Pulling fs layer Step #1: 84db406b755d: Pulling fs layer Step #1: 3968f7202bef: Pulling fs layer Step #1: 37c0a55501a4: Pulling fs layer Step #1: fddacf1580ff: Pulling fs layer Step #1: 3c790d5687e6: Pulling fs layer Step #1: 0fcda4deea49: Pulling fs layer Step #1: cfc1aaab3799: Pulling fs layer Step #1: 790f0b60d601: Waiting Step #1: 5764b068ae0e: Pulling fs layer Step #1: 8f040e5204f2: Pulling fs layer Step #1: ba5377523637: Waiting Step #1: f8afaf16f210: Waiting Step #1: ebb3d4059a93: Waiting Step #1: fcf19af99e9b: Waiting Step #1: 8f040e5204f2: Waiting Step #1: c120616e8611: Waiting Step #1: 6311c17bee61: Waiting Step #1: 648979ff9271: Waiting Step #1: 1ef02760f71f: Waiting Step #1: 63cd1cde0eec: Waiting Step #1: 38b58f40b986: Waiting Step #1: 6fec27639895: Waiting Step #1: 37c0a55501a4: Waiting Step #1: cfc1aaab3799: Waiting Step #1: fddacf1580ff: Waiting Step #1: fd1f752e3c9f: Waiting Step #1: fbed995eca46: Waiting Step #1: 4381c7f8884c: Waiting Step #1: bd3393df7542: Waiting Step #1: 84db406b755d: Waiting Step #1: 0b07407e6342: Waiting Step #1: 0fcda4deea49: Waiting Step #1: 3968f7202bef: Waiting Step #1: 7ad2f7c615a2: Waiting Step #1: e2c1e6ffb55e: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: ba5377523637: Verifying Checksum Step #1: ba5377523637: Download complete Step #1: 790f0b60d601: Verifying Checksum Step #1: 790f0b60d601: Download complete Step #1: fcf19af99e9b: Verifying Checksum Step #1: fcf19af99e9b: Download complete Step #1: 648979ff9271: Verifying Checksum Step #1: 648979ff9271: Download complete Step #1: 160496dfdc1e: Verifying Checksum Step #1: 160496dfdc1e: Download complete Step #1: 38b58f40b986: Verifying Checksum Step #1: 38b58f40b986: Download complete Step #1: b549f31133a9: Pull complete Step #1: 6311c17bee61: Verifying Checksum Step #1: 6311c17bee61: Download complete Step #1: 63cd1cde0eec: Verifying Checksum Step #1: 63cd1cde0eec: Download complete Step #1: 1ef02760f71f: Verifying Checksum Step #1: 1ef02760f71f: Download complete Step #1: fda5a71c8862: Verifying Checksum Step #1: fda5a71c8862: Download complete Step #1: 7ad2f7c615a2: Verifying Checksum Step #1: 7ad2f7c615a2: Download complete Step #1: 6fec27639895: Verifying Checksum Step #1: 6fec27639895: Download complete Step #1: 0b07407e6342: Verifying Checksum Step #1: 0b07407e6342: Download complete Step #1: fbed995eca46: Verifying Checksum Step #1: fbed995eca46: Download complete Step #1: 4381c7f8884c: Verifying Checksum Step #1: 4381c7f8884c: Download complete Step #1: bd3393df7542: Verifying Checksum Step #1: bd3393df7542: Download complete Step #1: f8afaf16f210: Verifying Checksum Step #1: f8afaf16f210: Download complete Step #1: 086216b75b6f: Verifying Checksum Step #1: 086216b75b6f: Download complete Step #1: 1cb7b39b268b: Verifying Checksum Step #1: 1cb7b39b268b: Download complete Step #1: ebb3d4059a93: Verifying Checksum Step #1: ebb3d4059a93: Download complete Step #1: c120616e8611: Verifying Checksum Step #1: c120616e8611: Download complete Step #1: fd1f752e3c9f: Verifying Checksum Step #1: fd1f752e3c9f: Download complete Step #1: 84db406b755d: Download complete Step #1: 3968f7202bef: Verifying Checksum Step #1: 3968f7202bef: Download complete Step #1: 37c0a55501a4: Verifying Checksum Step #1: 37c0a55501a4: Download complete Step #1: fddacf1580ff: Verifying Checksum Step #1: fddacf1580ff: Download complete Step #1: 0fcda4deea49: Verifying Checksum Step #1: 0fcda4deea49: Download complete Step #1: 3c790d5687e6: Verifying Checksum Step #1: 3c790d5687e6: Download complete Step #1: cfc1aaab3799: Download complete Step #1: 5764b068ae0e: Download complete Step #1: 8f040e5204f2: Verifying Checksum Step #1: 8f040e5204f2: Download complete Step #1: 160496dfdc1e: Pull complete Step #1: e2c1e6ffb55e: Pull complete Step #1: 790f0b60d601: Pull complete Step #1: ba5377523637: Pull complete Step #1: fcf19af99e9b: Pull complete Step #1: c120616e8611: Pull complete Step #1: 648979ff9271: Pull complete Step #1: 38b58f40b986: Pull complete Step #1: 6fec27639895: Pull complete Step #1: 6311c17bee61: Pull complete Step #1: 63cd1cde0eec: Pull complete Step #1: 1ef02760f71f: Pull complete Step #1: fda5a71c8862: Pull complete Step #1: 7ad2f7c615a2: Pull complete Step #1: 0b07407e6342: Pull complete Step #1: fbed995eca46: Pull complete Step #1: 4381c7f8884c: Pull complete Step #1: bd3393df7542: Pull complete Step #1: f8afaf16f210: Pull complete Step #1: 086216b75b6f: Pull complete Step #1: ebb3d4059a93: Pull complete Step #1: 1cb7b39b268b: Pull complete Step #1: fd1f752e3c9f: Pull complete Step #1: 84db406b755d: Pull complete Step #1: 3968f7202bef: Pull complete Step #1: 37c0a55501a4: Pull complete Step #1: fddacf1580ff: Pull complete Step #1: 3c790d5687e6: Pull complete Step #1: 0fcda4deea49: Pull complete Step #1: cfc1aaab3799: Pull complete Step #1: 5764b068ae0e: Pull complete Step #1: 8f040e5204f2: Pull complete Step #1: Digest: sha256:437ef4d9f60c4eb6d8f0d941a2babcaf990bcf778647179e6eb31fb599c265fb Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> 32358ee18a2e Step #1: Step 2/5 : RUN pip3 install --upgrade pip simplejson Step #1: ---> Running in 7d2ab9929e88 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: Collecting simplejson Step #1: Downloading https://files.pythonhosted.org/packages/96/ef/4384c2f76d44022ab59fe63406df3aa720ba4610aa6942f548fe406890ae/simplejson-3.19.3-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.3.1 simplejson-3.19.3 Step #1: Removing intermediate container 7d2ab9929e88 Step #1: ---> d25ca54a7c62 Step #1: Step 3/5 : RUN git clone https://github.com/jsonpickle/jsonpickle jsonpickle Step #1: ---> Running in 5d09767347a6 Step #1: Cloning into 'jsonpickle'... Step #1: Removing intermediate container 5d09767347a6 Step #1: ---> f8c53888cb76 Step #1: Step 4/5 : COPY *.sh *py $SRC/ Step #1: ---> 4a07c4739392 Step #1: Step 5/5 : WORKDIR $SRC/jsonpickle Step #1: ---> Running in af69d11c98d7 Step #1: Removing intermediate container af69d11c98d7 Step #1: ---> f5ffda5dc960 Step #1: Successfully built f5ffda5dc960 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/filengp7yO 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=0ba597a0f905667d890ef4c177bc073886c26df5 Step #2 - "srcmap": + jq_inplace /tmp/filengp7yO '."/src/jsonpickle" = { type: "git", url: "https://github.com/jsonpickle/jsonpickle", rev: "0ba597a0f905667d890ef4c177bc073886c26df5" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileuNkxic Step #2 - "srcmap": + cat /tmp/filengp7yO Step #2 - "srcmap": + jq '."/src/jsonpickle" = { type: "git", url: "https://github.com/jsonpickle/jsonpickle", rev: "0ba597a0f905667d890ef4c177bc073886c26df5" }' Step #2 - "srcmap": + mv /tmp/fileuNkxic /tmp/filengp7yO 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/filengp7yO Step #2 - "srcmap": + rm /tmp/filengp7yO 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": "0ba597a0f905667d890ef4c177bc073886c26df5" 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/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 ... [?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.3.1.dev26+g0ba597a-py3-none-any.whl size=42643 sha256=196d76f041c872a54a1d3e583dddf0b0354fc97db6996de2259fbd5313a853cf Step #3 - "compile-libfuzzer-address-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-tt0p33xf/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.3.1.dev26+g0ba597a 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, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. 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": 46 INFO: PyInstaller: 5.0.1 Step #3 - "compile-libfuzzer-address-x86_64": 46 INFO: Python: 3.8.3 Step #3 - "compile-libfuzzer-address-x86_64": 47 INFO: Platform: Linux-5.10.0-33-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 47 INFO: wrote /src/jsonpickle/fuzz_unpickle.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 50 INFO: UPX is not available. Step #3 - "compile-libfuzzer-address-x86_64": 51 INFO: Extending PYTHONPATH with paths Step #3 - "compile-libfuzzer-address-x86_64": ['/src'] Step #3 - "compile-libfuzzer-address-x86_64": 232 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 232 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 232 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 234 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 242 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 2332 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": 2332 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 3675 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 3796 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 3820 INFO: Analyzing /src/fuzz_unpickle.py Step #3 - "compile-libfuzzer-address-x86_64": 4149 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 4150 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 4151 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": 4152 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": 4153 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4344 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4345 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4351 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4352 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4353 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4393 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4403 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 4410 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 4413 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": 4414 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": 4416 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": 4418 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": 4424 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 5320 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 5320 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 5324 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_unpickle/fuzz_unpickle.pkg/warn-fuzz_unpickle.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 5348 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": 5360 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 5360 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 5360 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_unpickle/fuzz_unpickle.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 5696 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_unpickle/fuzz_unpickle.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 5700 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 5700 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 5700 INFO: Building PKG (CArchive) fuzz_unpickle.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 11290 INFO: Building PKG (CArchive) fuzz_unpickle.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 11293 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 11293 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 11293 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 11293 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 11293 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_unpickle.pkg Step #3 - "compile-libfuzzer-address-x86_64": 11293 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 11326 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": 160496dfdc1e: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": e2c1e6ffb55e: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 4ff5c6df21dc: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 9c40b4b6ab93: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 3a41f07f0f5e: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": f2eebf95c256: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 51b6805f931b: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": f14d762ddb18: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 824e3821d370: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": b060a849310f: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 8c6f96c778be: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": ea2656352539: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": a4eac7fd5a70: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 9397d40d87fe: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 7f1d39d824ad: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 1291d71657d7: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": f2eebf95c256: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 6b2fa2f75a10: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 51b6805f931b: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 181f037809f9: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": f14d762ddb18: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": ea2656352539: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 57b88e43bdf2: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": b060a849310f: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 8c6f96c778be: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": a4eac7fd5a70: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 1291d71657d7: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 9397d40d87fe: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 6b2fa2f75a10: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 181f037809f9: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 57b88e43bdf2: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 3a41f07f0f5e: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 4ff5c6df21dc: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 9c40b4b6ab93: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 9c40b4b6ab93: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 51b6805f931b: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 51b6805f931b: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 4ff5c6df21dc: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": f14d762ddb18: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": f14d762ddb18: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 824e3821d370: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 9c40b4b6ab93: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 8c6f96c778be: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 8c6f96c778be: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b060a849310f: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": b060a849310f: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 3a41f07f0f5e: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": a4eac7fd5a70: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": a4eac7fd5a70: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 9397d40d87fe: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": f2eebf95c256: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": f2eebf95c256: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 7f1d39d824ad: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 7f1d39d824ad: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 6b2fa2f75a10: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 6b2fa2f75a10: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 181f037809f9: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": ea2656352539: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": ea2656352539: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 57b88e43bdf2: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 1291d71657d7: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 1291d71657d7: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": f2eebf95c256: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 51b6805f931b: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": f14d762ddb18: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 824e3821d370: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": b060a849310f: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 8c6f96c778be: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": ea2656352539: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": a4eac7fd5a70: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 9397d40d87fe: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 7f1d39d824ad: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 1291d71657d7: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 6b2fa2f75a10: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 181f037809f9: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 57b88e43bdf2: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": Digest: sha256:406489e5f3b0d7944f100a946fa06474c8c5e465f080ce17c1b734b13d81a16c 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/tmptvvm3xzb/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/tmptvvm3xzb/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/tmptvvm3xzb/fuzz_unpickle', CompletedProcess(args=['bad_build_check', '/tmp/not-out/tmptvvm3xzb/fuzz_unpickle'], returncode=1, stdout=b'BAD BUILD: /tmp/not-out/tmptvvm3xzb/fuzz_unpickle seems to have either startup crash or exit:\nvm.mmap_rnd_bits = 28\n/tmp/not-out/tmptvvm3xzb/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 102, in decode\n File "jsonpickle/backend.py", line 66, in decode\n File "jsonpickle/backend.py", line 63, in decode\n File "jsonpickle/backend.py", line 218, 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 3869 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 0x7f0118941be1 in __sanitizer_print_stack_trace /src/llvm-project/compiler-rt/lib/asan/asan_stack.cpp:87:3\n #1 0x7f0118847ef8 in fuzzer::PrintStackTrace() /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerUtil.cpp:210:5\n #2 0x7f011882b34c in fuzzer::Fuzzer::ExitCallback() /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:248:3\n #3 0x7f01185f08a6 (/lib/x86_64-linux-gnu/libc.so.6+0x468a6) (BuildId: 0702430aef5fa3dda43986563e9ffcc47efbd75e)\n #4 0x7f01185f0a5f in exit (/lib/x86_64-linux-gnu/libc.so.6+0x46a5f) (BuildId: 0702430aef5fa3dda43986563e9ffcc47efbd75e)\n #5 0x7f011634d7c8 in Py_Exit /tmp/Python-3.8.3/Python/pylifecycle.c:2299:5\n #6 0x7f0116352371 in handle_system_exit /tmp/Python-3.8.3/Python/pythonrun.c:658:9\n #7 0x7f0116352371 in _PyErr_PrintEx /tmp/Python-3.8.3/Python/pythonrun.c:668:5\n #8 0x5640f68fdb73 (/tmp/not-out/tmptvvm3xzb/fuzz_unpickle.pkg+0x3b73)\n #9 0x5640f68fdf10 (/tmp/not-out/tmptvvm3xzb/fuzz_unpickle.pkg+0x3f10)\n #10 0x7f01185ce082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: 0702430aef5fa3dda43986563e9ffcc47efbd75e)\n #11 0x5640f68fc4ad (/tmp/not-out/tmptvvm3xzb/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/tmptvvm3xzb/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/tmptvvm3xzb/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 102, in decode Step #4 - "build-check-libfuzzer-address-x86_64": File "jsonpickle/backend.py", line 66, in decode Step #4 - "build-check-libfuzzer-address-x86_64": File "jsonpickle/backend.py", line 63, in decode Step #4 - "build-check-libfuzzer-address-x86_64": File "jsonpickle/backend.py", line 218, 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 3869 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 0x7fd2db535be1 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 0x7fd2db43bef8 in fuzzer::PrintStackTrace() /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerUtil.cpp:210:5 Step #4 - "build-check-libfuzzer-address-x86_64": #2 0x7fd2db41f34c in fuzzer::Fuzzer::ExitCallback() /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:248:3 Step #4 - "build-check-libfuzzer-address-x86_64": #3 0x7fd2db1e48a6 (/lib/x86_64-linux-gnu/libc.so.6+0x468a6) (BuildId: 0702430aef5fa3dda43986563e9ffcc47efbd75e) Step #4 - "build-check-libfuzzer-address-x86_64": #4 0x7fd2db1e4a5f in exit (/lib/x86_64-linux-gnu/libc.so.6+0x46a5f) (BuildId: 0702430aef5fa3dda43986563e9ffcc47efbd75e) Step #4 - "build-check-libfuzzer-address-x86_64": #5 0x7fd2d8f4d7c8 in Py_Exit /tmp/Python-3.8.3/Python/pylifecycle.c:2299:5 Step #4 - "build-check-libfuzzer-address-x86_64": #6 0x7fd2d8f52371 in handle_system_exit /tmp/Python-3.8.3/Python/pythonrun.c:658:9 Step #4 - "build-check-libfuzzer-address-x86_64": #7 0x7fd2d8f52371 in _PyErr_PrintEx /tmp/Python-3.8.3/Python/pythonrun.c:668:5 Step #4 - "build-check-libfuzzer-address-x86_64": #8 0x559e2af06b73 (/tmp/not-out/tmptvvm3xzb/fuzz_unpickle.pkg+0x3b73) Step #4 - "build-check-libfuzzer-address-x86_64": #9 0x559e2af06f10 (/tmp/not-out/tmptvvm3xzb/fuzz_unpickle.pkg+0x3f10) Step #4 - "build-check-libfuzzer-address-x86_64": #10 0x7fd2db1c2082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: 0702430aef5fa3dda43986563e9ffcc47efbd75e) Step #4 - "build-check-libfuzzer-address-x86_64": #11 0x559e2af054ad (/tmp/not-out/tmptvvm3xzb/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