starting build "3a37df40-43b8-4e22-bb88-75a297c8567b" 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/4 : 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: a977fd1d1d2c: Pulling fs layer Step #1: b7af597d0683: Pulling fs layer Step #1: 0ad851ab79a7: Pulling fs layer Step #1: 32d6a845953a: Pulling fs layer Step #1: 13291e1f0083: Pulling fs layer Step #1: 12c3fa064ec9: Pulling fs layer Step #1: 5bf877a30e45: Pulling fs layer Step #1: 12c76ab55805: Pulling fs layer Step #1: bcee33c0f2c5: Pulling fs layer Step #1: 00901539164e: Pulling fs layer Step #1: 652e81a6c3ce: Pulling fs layer Step #1: 2bd7184f3186: Pulling fs layer Step #1: 6ef14a282d78: Pulling fs layer Step #1: f0b30797ba63: Pulling fs layer Step #1: c255474facb8: Pulling fs layer Step #1: 2037056aed43: Pulling fs layer Step #1: 4ea8cc67e5b1: Pulling fs layer Step #1: 1593bc33732e: Pulling fs layer Step #1: 0ad851ab79a7: Waiting Step #1: fac862d0d976: Pulling fs layer Step #1: 8a5f772dc665: Pulling fs layer Step #1: a682fa05afee: Pulling fs layer Step #1: 5bf877a30e45: Waiting Step #1: 50ae31b489cf: Pulling fs layer Step #1: 12c76ab55805: Waiting Step #1: bcfe6fcb5c6a: Pulling fs layer Step #1: 32d6a845953a: Waiting Step #1: 88ea93146e84: Pulling fs layer Step #1: 13291e1f0083: Waiting Step #1: 912a9adfcdcb: Pulling fs layer Step #1: bcee33c0f2c5: Waiting Step #1: 12c3fa064ec9: Waiting Step #1: 7ec1d093c1da: Pulling fs layer Step #1: 00901539164e: Waiting Step #1: 2037056aed43: Waiting Step #1: 8c8a3977119b: Pulling fs layer Step #1: 4ea8cc67e5b1: Waiting Step #1: 652e81a6c3ce: Waiting Step #1: 7e3654bd47ef: Pulling fs layer Step #1: 1593bc33732e: Waiting Step #1: 390d9580ed9e: Pulling fs layer Step #1: fac862d0d976: Waiting Step #1: dcd9de8bf193: Pulling fs layer Step #1: 2bd7184f3186: Waiting Step #1: f97e0fb3e819: Pulling fs layer Step #1: 8a5f772dc665: Waiting Step #1: 290c9d807336: Pulling fs layer Step #1: c255474facb8: Waiting Step #1: a682fa05afee: Waiting Step #1: 7e3654bd47ef: Waiting Step #1: 50ae31b489cf: Waiting Step #1: 390d9580ed9e: Waiting Step #1: 6ef14a282d78: Waiting Step #1: 8c8a3977119b: Waiting Step #1: dcd9de8bf193: Waiting Step #1: f0b30797ba63: Waiting Step #1: bcfe6fcb5c6a: Waiting Step #1: 912a9adfcdcb: Waiting Step #1: 7ec1d093c1da: Waiting Step #1: f97e0fb3e819: Waiting Step #1: 88ea93146e84: Waiting Step #1: b7af597d0683: Verifying Checksum Step #1: b7af597d0683: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 32d6a845953a: Verifying Checksum Step #1: 32d6a845953a: Download complete Step #1: 0ad851ab79a7: Verifying Checksum Step #1: 0ad851ab79a7: Download complete Step #1: 13291e1f0083: Download complete Step #1: 5bf877a30e45: Download complete Step #1: a977fd1d1d2c: Verifying Checksum Step #1: a977fd1d1d2c: Download complete Step #1: 12c76ab55805: Verifying Checksum Step #1: 12c76ab55805: Download complete Step #1: b549f31133a9: Pull complete Step #1: 00901539164e: Verifying Checksum Step #1: 00901539164e: Download complete Step #1: 652e81a6c3ce: Verifying Checksum Step #1: 652e81a6c3ce: Download complete Step #1: 2bd7184f3186: Verifying Checksum Step #1: 2bd7184f3186: Download complete Step #1: 6ef14a282d78: Verifying Checksum Step #1: 6ef14a282d78: Download complete Step #1: f0b30797ba63: Verifying Checksum Step #1: f0b30797ba63: Download complete Step #1: c255474facb8: Verifying Checksum Step #1: c255474facb8: Download complete Step #1: bcee33c0f2c5: Verifying Checksum Step #1: bcee33c0f2c5: Download complete Step #1: 2037056aed43: Verifying Checksum Step #1: 2037056aed43: Download complete Step #1: 4ea8cc67e5b1: Verifying Checksum Step #1: 4ea8cc67e5b1: Download complete Step #1: 1593bc33732e: Verifying Checksum Step #1: 1593bc33732e: Download complete Step #1: fac862d0d976: Verifying Checksum Step #1: fac862d0d976: Download complete Step #1: 8a5f772dc665: Verifying Checksum Step #1: 8a5f772dc665: Download complete Step #1: 50ae31b489cf: Verifying Checksum Step #1: 50ae31b489cf: Download complete Step #1: a682fa05afee: Verifying Checksum Step #1: a682fa05afee: Download complete Step #1: bcfe6fcb5c6a: Verifying Checksum Step #1: bcfe6fcb5c6a: Download complete Step #1: 88ea93146e84: Verifying Checksum Step #1: 88ea93146e84: Download complete Step #1: 912a9adfcdcb: Verifying Checksum Step #1: 912a9adfcdcb: Download complete Step #1: 12c3fa064ec9: Verifying Checksum Step #1: 12c3fa064ec9: Download complete Step #1: 8c8a3977119b: Verifying Checksum Step #1: 8c8a3977119b: Download complete Step #1: 7ec1d093c1da: Verifying Checksum Step #1: 7ec1d093c1da: Download complete Step #1: 7e3654bd47ef: Verifying Checksum Step #1: 7e3654bd47ef: Download complete Step #1: 390d9580ed9e: Verifying Checksum Step #1: 390d9580ed9e: Download complete Step #1: dcd9de8bf193: Download complete Step #1: f97e0fb3e819: Download complete Step #1: 290c9d807336: Verifying Checksum Step #1: 290c9d807336: Download complete Step #1: a977fd1d1d2c: Pull complete Step #1: b7af597d0683: Pull complete Step #1: 0ad851ab79a7: Pull complete Step #1: 32d6a845953a: Pull complete Step #1: 13291e1f0083: Pull complete Step #1: 12c3fa064ec9: Pull complete Step #1: 5bf877a30e45: Pull complete Step #1: 12c76ab55805: Pull complete Step #1: bcee33c0f2c5: Pull complete Step #1: 00901539164e: Pull complete Step #1: 652e81a6c3ce: Pull complete Step #1: 2bd7184f3186: Pull complete Step #1: 6ef14a282d78: Pull complete Step #1: f0b30797ba63: Pull complete Step #1: c255474facb8: Pull complete Step #1: 2037056aed43: Pull complete Step #1: 4ea8cc67e5b1: Pull complete Step #1: 1593bc33732e: Pull complete Step #1: fac862d0d976: Pull complete Step #1: 8a5f772dc665: Pull complete Step #1: a682fa05afee: Pull complete Step #1: 50ae31b489cf: Pull complete Step #1: bcfe6fcb5c6a: Pull complete Step #1: 88ea93146e84: Pull complete Step #1: 912a9adfcdcb: Pull complete Step #1: 7ec1d093c1da: Pull complete Step #1: 8c8a3977119b: Pull complete Step #1: 7e3654bd47ef: Pull complete Step #1: 390d9580ed9e: Pull complete Step #1: dcd9de8bf193: Pull complete Step #1: f97e0fb3e819: Pull complete Step #1: 290c9d807336: Pull complete Step #1: Digest: sha256:522e05eb433fe415db843a936f4e7f8d1a51fa8149730ec8ddc897755ef424f8 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> 712396eedf9a Step #1: Step 2/4 : RUN git clone https://github.com/dpranke/pyjson5 pyjson5 Step #1: ---> Running in 286fc02ce36f Step #1: Cloning into 'pyjson5'... Step #1: Removing intermediate container 286fc02ce36f Step #1: ---> 88bb8e6c7305 Step #1: Step 3/4 : COPY *.sh *py $SRC/ Step #1: ---> 618d5b779bac Step #1: Step 4/4 : WORKDIR $SRC/pyjson5 Step #1: ---> Running in b0103c9f319c Step #1: Removing intermediate container b0103c9f319c Step #1: ---> 1e175d301b42 Step #1: Successfully built 1e175d301b42 Step #1: Successfully tagged gcr.io/oss-fuzz/pyjson5:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/pyjson5 Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileJYAosP 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/pyjson5/.git Step #2 - "srcmap": + GIT_DIR=/src/pyjson5 Step #2 - "srcmap": + cd /src/pyjson5 Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/dpranke/pyjson5 Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": warning: refname 'HEAD' is ambiguous. Step #2 - "srcmap": + GIT_REV=43901a8f45579b6d987245edffd8c8fd5cb6a158 Step #2 - "srcmap": + jq_inplace /tmp/fileJYAosP '."/src/pyjson5" = { type: "git", url: "https://github.com/dpranke/pyjson5", rev: "43901a8f45579b6d987245edffd8c8fd5cb6a158" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileDbiXMc Step #2 - "srcmap": + cat /tmp/fileJYAosP Step #2 - "srcmap": + jq '."/src/pyjson5" = { type: "git", url: "https://github.com/dpranke/pyjson5", rev: "43901a8f45579b6d987245edffd8c8fd5cb6a158" }' Step #2 - "srcmap": + mv /tmp/fileDbiXMc /tmp/fileJYAosP 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/fileJYAosP Step #2 - "srcmap": + rm /tmp/fileJYAosP Step #2 - "srcmap": { Step #2 - "srcmap": "/src/pyjson5": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/dpranke/pyjson5", Step #2 - "srcmap": "rev": "43901a8f45579b6d987245edffd8c8fd5cb6a158" 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/pyjson5 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 wheel metadata ... [?25l- done Step #3 - "compile-libfuzzer-address-x86_64": [?25hBuilding wheels for collected packages: json5 Step #3 - "compile-libfuzzer-address-x86_64": Building wheel for json5 (PEP 517) ... [?25l- done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Created wheel for json5: filename=json5-0.9.25-cp38-none-any.whl size=30109 sha256=eed3f04871057220a321caba6caec1f2d2180cc9f15dcb0cdc487f68c7ba98d1 Step #3 - "compile-libfuzzer-address-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-lvw1uk69/wheels/15/bc/b5/a9c1e7e0a65b90da381b9993b1be4b56a1cfdee78da1954f91 Step #3 - "compile-libfuzzer-address-x86_64": Successfully built json5 Step #3 - "compile-libfuzzer-address-x86_64": Installing collected packages: json5 Step #3 - "compile-libfuzzer-address-x86_64": Successfully installed json5-0.9.25 Step #3 - "compile-libfuzzer-address-x86_64": WARNING: You are using pip version 19.2.3, however version 24.2 is available. Step #3 - "compile-libfuzzer-address-x86_64": You should consider upgrading via the 'pip install --upgrade pip' command. Step #3 - "compile-libfuzzer-address-x86_64": + '[' address = address ']' Step #3 - "compile-libfuzzer-address-x86_64": + export ENABLE_PYSECSAN=1 Step #3 - "compile-libfuzzer-address-x86_64": + ENABLE_PYSECSAN=1 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_json.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_path=/src/fuzz_json.py Step #3 - "compile-libfuzzer-address-x86_64": + shift 1 Step #3 - "compile-libfuzzer-address-x86_64": ++ basename -s .py /src/fuzz_json.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_basename=fuzz_json Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_package=fuzz_json.pkg Step #3 - "compile-libfuzzer-address-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_json 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": + [[ 1 != \0 ]] Step #3 - "compile-libfuzzer-address-x86_64": + [[ ! -d /pysecsan ]] Step #3 - "compile-libfuzzer-address-x86_64": + pushd /usr/local/lib/sanitizers/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": /usr/local/lib/sanitizers/pysecsan /src/pyjson5 Step #3 - "compile-libfuzzer-address-x86_64": + python3 setup.py install Step #3 - "compile-libfuzzer-address-x86_64": running install Step #3 - "compile-libfuzzer-address-x86_64": running bdist_egg Step #3 - "compile-libfuzzer-address-x86_64": running egg_info Step #3 - "compile-libfuzzer-address-x86_64": creating pysecsan.egg-info Step #3 - "compile-libfuzzer-address-x86_64": writing pysecsan.egg-info/PKG-INFO Step #3 - "compile-libfuzzer-address-x86_64": writing dependency_links to pysecsan.egg-info/dependency_links.txt Step #3 - "compile-libfuzzer-address-x86_64": writing top-level names to pysecsan.egg-info/top_level.txt Step #3 - "compile-libfuzzer-address-x86_64": writing manifest file 'pysecsan.egg-info/SOURCES.txt' Step #3 - "compile-libfuzzer-address-x86_64": reading manifest file 'pysecsan.egg-info/SOURCES.txt' Step #3 - "compile-libfuzzer-address-x86_64": writing manifest file 'pysecsan.egg-info/SOURCES.txt' Step #3 - "compile-libfuzzer-address-x86_64": installing library code to build/bdist.linux-x86_64/egg Step #3 - "compile-libfuzzer-address-x86_64": running install_lib Step #3 - "compile-libfuzzer-address-x86_64": running build_py Step #3 - "compile-libfuzzer-address-x86_64": creating build Step #3 - "compile-libfuzzer-address-x86_64": creating build/lib Step #3 - "compile-libfuzzer-address-x86_64": creating build/lib/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan/yaml_deserialization.py -> build/lib/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan/command_injection.py -> build/lib/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan/sanlib.py -> build/lib/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan/redos.py -> build/lib/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan/__init__.py -> build/lib/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": creating build/bdist.linux-x86_64 Step #3 - "compile-libfuzzer-address-x86_64": creating build/bdist.linux-x86_64/egg Step #3 - "compile-libfuzzer-address-x86_64": creating build/bdist.linux-x86_64/egg/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying build/lib/pysecsan/yaml_deserialization.py -> build/bdist.linux-x86_64/egg/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying build/lib/pysecsan/command_injection.py -> build/bdist.linux-x86_64/egg/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying build/lib/pysecsan/sanlib.py -> build/bdist.linux-x86_64/egg/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying build/lib/pysecsan/redos.py -> build/bdist.linux-x86_64/egg/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying build/lib/pysecsan/__init__.py -> build/bdist.linux-x86_64/egg/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": byte-compiling build/bdist.linux-x86_64/egg/pysecsan/yaml_deserialization.py to yaml_deserialization.cpython-38.pyc Step #3 - "compile-libfuzzer-address-x86_64": byte-compiling build/bdist.linux-x86_64/egg/pysecsan/command_injection.py to command_injection.cpython-38.pyc Step #3 - "compile-libfuzzer-address-x86_64": byte-compiling build/bdist.linux-x86_64/egg/pysecsan/sanlib.py to sanlib.cpython-38.pyc Step #3 - "compile-libfuzzer-address-x86_64": byte-compiling build/bdist.linux-x86_64/egg/pysecsan/redos.py to redos.cpython-38.pyc Step #3 - "compile-libfuzzer-address-x86_64": byte-compiling build/bdist.linux-x86_64/egg/pysecsan/__init__.py to __init__.cpython-38.pyc Step #3 - "compile-libfuzzer-address-x86_64": creating build/bdist.linux-x86_64/egg/EGG-INFO Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO Step #3 - "compile-libfuzzer-address-x86_64": zip_safe flag not set; analyzing archive contents... Step #3 - "compile-libfuzzer-address-x86_64": creating dist Step #3 - "compile-libfuzzer-address-x86_64": creating 'dist/pysecsan-0.1-py3.8.egg' and adding 'build/bdist.linux-x86_64/egg' to it Step #3 - "compile-libfuzzer-address-x86_64": removing 'build/bdist.linux-x86_64/egg' (and everything under it) Step #3 - "compile-libfuzzer-address-x86_64": Processing pysecsan-0.1-py3.8.egg Step #3 - "compile-libfuzzer-address-x86_64": Copying pysecsan-0.1-py3.8.egg to /usr/local/lib/python3.8/site-packages Step #3 - "compile-libfuzzer-address-x86_64": Adding pysecsan 0.1 to easy-install.pth file Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": Installed /usr/local/lib/python3.8/site-packages/pysecsan-0.1-py3.8.egg Step #3 - "compile-libfuzzer-address-x86_64": Processing dependencies for pysecsan==0.1 Step #3 - "compile-libfuzzer-address-x86_64": Finished processing dependencies for pysecsan==0.1 Step #3 - "compile-libfuzzer-address-x86_64": + popd Step #3 - "compile-libfuzzer-address-x86_64": /src/pyjson5 Step #3 - "compile-libfuzzer-address-x86_64": + cat Step #3 - "compile-libfuzzer-address-x86_64": + cat pysecsan_wrapper.py /src/fuzz_json.py Step #3 - "compile-libfuzzer-address-x86_64": + mv tmp_fuzzer_pysecsan.py /src/fuzz_json.py Step #3 - "compile-libfuzzer-address-x86_64": + rm -rf /src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + mkdir /src/pyfuzzworkdir/ /src/pyfuzzworkdir//fuzz_json Step #3 - "compile-libfuzzer-address-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-address-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_json --onefile --name fuzz_json.pkg /src/fuzz_json.py Step #3 - "compile-libfuzzer-address-x86_64": 59 INFO: PyInstaller: 5.0.1 Step #3 - "compile-libfuzzer-address-x86_64": 60 INFO: Python: 3.8.3 Step #3 - "compile-libfuzzer-address-x86_64": 61 INFO: Platform: Linux-5.10.0-32-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 61 INFO: wrote /src/pyjson5/fuzz_json.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 63 INFO: UPX is not available. Step #3 - "compile-libfuzzer-address-x86_64": 65 INFO: Extending PYTHONPATH with paths Step #3 - "compile-libfuzzer-address-x86_64": ['/src'] Step #3 - "compile-libfuzzer-address-x86_64": 298 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 298 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 298 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 300 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 309 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 2806 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": 2806 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 5103 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 5263 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 5287 INFO: Analyzing /src/fuzz_json.py Step #3 - "compile-libfuzzer-address-x86_64": 5474 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 5475 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 5476 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5709 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5759 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5760 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": 5762 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5763 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5772 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5774 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5790 INFO: checking Tree Step #3 - "compile-libfuzzer-address-x86_64": 5790 INFO: Building Tree because Tree-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 5790 INFO: Building Tree Tree-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 5790 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 5795 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 5798 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": 5800 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": 5803 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": 5805 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": 5813 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 6696 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 6696 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 6700 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_json/fuzz_json.pkg/warn-fuzz_json.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 6728 INFO: Graph cross-reference written to /src/pyfuzzworkdir//fuzz_json/fuzz_json.pkg/xref-fuzz_json.pkg.html Step #3 - "compile-libfuzzer-address-x86_64": 6743 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 6743 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 6743 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_json/fuzz_json.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 7198 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_json/fuzz_json.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 7203 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 7203 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 7203 INFO: Building PKG (CArchive) fuzz_json.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 14260 INFO: Building PKG (CArchive) fuzz_json.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 14263 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 14263 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 14263 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 14263 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 14263 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_json.pkg Step #3 - "compile-libfuzzer-address-x86_64": 14264 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 14321 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_json.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_json.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_json.pkg $@' Step #3 - "compile-libfuzzer-address-x86_64": + chmod +x /workspace/out/libfuzzer-address-x86_64/fuzz_json 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": a977fd1d1d2c: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": b7af597d0683: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 13e3034c244d: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": dec64d51f794: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": e31f3b260b9e: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 367f9bb09834: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 5b25d2c94427: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": d2a50f9fb1f3: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 8632b0bd8e7d: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 5368468cae7f: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 3c2efcf61031: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": ac5a534aec8b: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": b7e426295cd7: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": a3f08180fccf: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": d948d546ccc6: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 0ad7fe872fbd: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 6a857bbda8a0: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": a70462462a24: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 2a0c7f3b0701: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 5b25d2c94427: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": d2a50f9fb1f3: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": ac5a534aec8b: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 8632b0bd8e7d: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 6a857bbda8a0: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 5368468cae7f: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": a70462462a24: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 3c2efcf61031: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 2a0c7f3b0701: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": a3f08180fccf: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": b7e426295cd7: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": d948d546ccc6: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 0ad7fe872fbd: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 367f9bb09834: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": e31f3b260b9e: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": e31f3b260b9e: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 13e3034c244d: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 13e3034c244d: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": dec64d51f794: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": dec64d51f794: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": d2a50f9fb1f3: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": d2a50f9fb1f3: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 5b25d2c94427: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 5b25d2c94427: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 13e3034c244d: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 8632b0bd8e7d: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 8632b0bd8e7d: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 3c2efcf61031: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 3c2efcf61031: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": dec64d51f794: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 5368468cae7f: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 5368468cae7f: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": e31f3b260b9e: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": b7e426295cd7: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": b7e426295cd7: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": a3f08180fccf: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": a3f08180fccf: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 367f9bb09834: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 367f9bb09834: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": d948d546ccc6: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": d948d546ccc6: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 6a857bbda8a0: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 6a857bbda8a0: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": ac5a534aec8b: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": ac5a534aec8b: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": a70462462a24: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": a70462462a24: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 0ad7fe872fbd: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 0ad7fe872fbd: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 2a0c7f3b0701: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 2a0c7f3b0701: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 367f9bb09834: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 5b25d2c94427: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": d2a50f9fb1f3: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 8632b0bd8e7d: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 5368468cae7f: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 3c2efcf61031: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": ac5a534aec8b: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": b7e426295cd7: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": a3f08180fccf: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": d948d546ccc6: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 0ad7fe872fbd: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 6a857bbda8a0: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": a70462462a24: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 2a0c7f3b0701: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": Digest: sha256:44d0c2654e5beb6475c2a8205a6abe1b890292906574ed74740db7d2400248f9 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/tmp9sb782es/fuzz_json Finished Step #4 - "build-check-libfuzzer-address-x86_64" Starting Step #5 Step #5: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #5 Starting Step #6 Step #6: Already have image: gcr.io/oss-fuzz/pyjson5 Step #6: adding: fuzz_json (deflated 31%) Step #6: adding: fuzz_json.pkg (deflated 1%) Step #6: adding: llvm-symbolizer (deflated 66%) Step #6: adding: sanitizer_with_fuzzer.so (deflated 67%) Finished Step #6 Starting Step #7 Step #7: Pulling image: gcr.io/oss-fuzz-base/uploader Step #7: Using default tag: latest Step #7: latest: Pulling from oss-fuzz-base/uploader Step #7: c62795f78da9: Pulling fs layer Step #7: d4fceeeb758e: Pulling fs layer Step #7: 5c9125a401ae: Pulling fs layer Step #7: 0062f774e994: Pulling fs layer Step #7: 6b33fd031fac: Pulling fs layer Step #7: 7eb39101e508: Pulling fs layer Step #7: 89257482f398: Pulling fs layer Step #7: 0062f774e994: Waiting Step #7: 6b33fd031fac: Waiting Step #7: 7eb39101e508: Waiting Step #7: 89257482f398: Waiting Step #7: 5c9125a401ae: Verifying Checksum Step #7: 5c9125a401ae: Download complete Step #7: d4fceeeb758e: Verifying Checksum Step #7: d4fceeeb758e: Download complete Step #7: 0062f774e994: Verifying Checksum Step #7: 0062f774e994: Download complete Step #7: 6b33fd031fac: Download complete Step #7: 89257482f398: Verifying Checksum Step #7: 89257482f398: Download complete Step #7: c62795f78da9: Verifying Checksum Step #7: c62795f78da9: Download complete Step #7: 7eb39101e508: Verifying Checksum Step #7: 7eb39101e508: Download complete Step #7: c62795f78da9: Pull complete Step #7: d4fceeeb758e: Pull complete Step #7: 5c9125a401ae: Pull complete Step #7: 0062f774e994: Pull complete Step #7: 6b33fd031fac: Pull complete Step #7: 7eb39101e508: Pull complete Step #7: 89257482f398: Pull complete Step #7: Digest: sha256:5717ba63d13b5515063e2a6ccad09fb5bf32a86c8e0798a363d81c2be522e411 Step #7: Status: Downloaded newer image for gcr.io/oss-fuzz-base/uploader:latest Step #7: gcr.io/oss-fuzz-base/uploader:latest Step #7: % Total % Received % Xferd Average Speed Time Time Time Current Step #7: Dload Upload Total Spent Left Speed Step #7: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 150 0 0 100 150 0 694 --:--:-- --:--:-- --:--:-- 697 Finished Step #7 Starting Step #8 Step #8: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #8: % Total % Received % Xferd Average Speed Time Time Time Current Step #8: Dload Upload Total Spent Left Speed Step #8: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20.7M 0 0 100 20.7M 0 62.2M --:--:-- --:--:-- --:--:-- 62.2M Finished Step #8 Starting Step #9 Step #9: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #9: % Total % Received % Xferd Average Speed Time Time Time Current Step #9: Dload Upload Total Spent Left Speed Step #9: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10 0 0 100 10 0 32 --:--:-- --:--:-- --:--:-- 32 Finished Step #9 Starting Step #10 Step #10: Already have image (with digest): gcr.io/cloud-builders/curl Step #10: Step #10: ***** NOTICE ***** Step #10: Step #10: Supported `curl` versions can be found in the various images available at Step #10: https://console.cloud.google.com/launcher/details/google/ubuntu1604. Step #10: Step #10: ***** END OF NOTICE ***** Step #10: Step #10: % Total % Received % Xferd Average Speed Time Time Time Current Step #10: Dload Upload Total Spent Left Speed Step #10: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 32 0 0 100 32 0 162 --:--:-- --:--:-- --:--:-- 162 Finished Step #10 Starting Step #11 Step #11: Already have image: gcr.io/oss-fuzz/pyjson5 Finished Step #11 Starting Step #12 - "compile-libfuzzer-undefined-x86_64" Step #12 - "compile-libfuzzer-undefined-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #12 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #12 - "compile-libfuzzer-undefined-x86_64": vm.mmap_rnd_bits = 28 Step #12 - "compile-libfuzzer-undefined-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #12 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #12 - "compile-libfuzzer-undefined-x86_64": CC=clang Step #12 - "compile-libfuzzer-undefined-x86_64": CXX=clang++ Step #12 - "compile-libfuzzer-undefined-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=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function -fno-sanitize=function,leak,vptr, Step #12 - "compile-libfuzzer-undefined-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=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -stdlib=libc++ -fno-sanitize=function,leak,vptr Step #12 - "compile-libfuzzer-undefined-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers Step #12 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #12 - "compile-libfuzzer-undefined-x86_64": + pip3 install . Step #12 - "compile-libfuzzer-undefined-x86_64": Processing /src/pyjson5 Step #12 - "compile-libfuzzer-undefined-x86_64": Installing build dependencies ... [?25l- \ | / done Step #12 - "compile-libfuzzer-undefined-x86_64": [?25h Getting requirements to build wheel ... [?25l- done Step #12 - "compile-libfuzzer-undefined-x86_64": [?25h Preparing wheel metadata ... [?25l- done Step #12 - "compile-libfuzzer-undefined-x86_64": [?25hBuilding wheels for collected packages: json5 Step #12 - "compile-libfuzzer-undefined-x86_64": Building wheel for json5 (PEP 517) ... [?25l- done Step #12 - "compile-libfuzzer-undefined-x86_64": [?25h Created wheel for json5: filename=json5-0.9.25-cp38-none-any.whl size=30109 sha256=2cb368b2f2ee18f727d856a06b91ebe9a55471977ce11c30b511e1390ab700da Step #12 - "compile-libfuzzer-undefined-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-gs8ovu9w/wheels/15/bc/b5/a9c1e7e0a65b90da381b9993b1be4b56a1cfdee78da1954f91 Step #12 - "compile-libfuzzer-undefined-x86_64": Successfully built json5 Step #12 - "compile-libfuzzer-undefined-x86_64": Installing collected packages: json5 Step #12 - "compile-libfuzzer-undefined-x86_64": Successfully installed json5-0.9.25 Step #12 - "compile-libfuzzer-undefined-x86_64": WARNING: You are using pip version 19.2.3, however version 24.2 is available. Step #12 - "compile-libfuzzer-undefined-x86_64": You should consider upgrading via the 'pip install --upgrade pip' command. Step #12 - "compile-libfuzzer-undefined-x86_64": + '[' undefined = address ']' Step #12 - "compile-libfuzzer-undefined-x86_64": ++ find /src -name 'fuzz_*.py' Step #12 - "compile-libfuzzer-undefined-x86_64": + for fuzzer in $(find $SRC -name 'fuzz_*.py') Step #12 - "compile-libfuzzer-undefined-x86_64": + compile_python_fuzzer /src/fuzz_json.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_path=/src/fuzz_json.py Step #12 - "compile-libfuzzer-undefined-x86_64": + shift 1 Step #12 - "compile-libfuzzer-undefined-x86_64": ++ basename -s .py /src/fuzz_json.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_basename=fuzz_json Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_package=fuzz_json.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #12 - "compile-libfuzzer-undefined-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_json Step #12 - "compile-libfuzzer-undefined-x86_64": + [[ undefined = *introspector* ]] Step #12 - "compile-libfuzzer-undefined-x86_64": + [[ undefined = *coverage* ]] Step #12 - "compile-libfuzzer-undefined-x86_64": + [[ 0 != \0 ]] Step #12 - "compile-libfuzzer-undefined-x86_64": + rm -rf /src/pyfuzzworkdir/ Step #12 - "compile-libfuzzer-undefined-x86_64": + mkdir /src/pyfuzzworkdir/ /src/pyfuzzworkdir//fuzz_json Step #12 - "compile-libfuzzer-undefined-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-undefined-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_json --onefile --name fuzz_json.pkg /src/fuzz_json.py Step #12 - "compile-libfuzzer-undefined-x86_64": 59 INFO: PyInstaller: 5.0.1 Step #12 - "compile-libfuzzer-undefined-x86_64": 59 INFO: Python: 3.8.3 Step #12 - "compile-libfuzzer-undefined-x86_64": 61 INFO: Platform: Linux-5.10.0-32-cloud-amd64-x86_64-with-glibc2.2.5 Step #12 - "compile-libfuzzer-undefined-x86_64": 61 INFO: wrote /src/pyjson5/fuzz_json.pkg.spec Step #12 - "compile-libfuzzer-undefined-x86_64": 63 INFO: UPX is not available. Step #12 - "compile-libfuzzer-undefined-x86_64": 65 INFO: Extending PYTHONPATH with paths Step #12 - "compile-libfuzzer-undefined-x86_64": ['/src'] Step #12 - "compile-libfuzzer-undefined-x86_64": 300 INFO: checking Analysis Step #12 - "compile-libfuzzer-undefined-x86_64": 300 INFO: Building Analysis because Analysis-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 301 INFO: Initializing module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 302 INFO: Caching module graph hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 312 INFO: Analyzing base_library.zip ... Step #12 - "compile-libfuzzer-undefined-x86_64": 3178 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 #12 - "compile-libfuzzer-undefined-x86_64": 3179 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #12 - "compile-libfuzzer-undefined-x86_64": 5030 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 5190 INFO: running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 5215 INFO: Analyzing /src/fuzz_json.py Step #12 - "compile-libfuzzer-undefined-x86_64": 5369 INFO: Processing module hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 5370 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5371 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5632 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5682 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5683 INFO: Loading module hook 'hook-multiprocessing.util.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5685 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5686 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5696 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5697 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5710 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 5714 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 5718 INFO: Including run-time hook '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks/rthooks/pyi_rth_subprocess.py' Step #12 - "compile-libfuzzer-undefined-x86_64": 5720 INFO: Including run-time hook '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgutil.py' Step #12 - "compile-libfuzzer-undefined-x86_64": 5722 INFO: Including run-time hook '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py' Step #12 - "compile-libfuzzer-undefined-x86_64": 5725 INFO: Including run-time hook '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py' Step #12 - "compile-libfuzzer-undefined-x86_64": 5733 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 6619 INFO: Looking for eggs Step #12 - "compile-libfuzzer-undefined-x86_64": 6619 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 6623 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_json/fuzz_json.pkg/warn-fuzz_json.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 6652 INFO: Graph cross-reference written to /src/pyfuzzworkdir//fuzz_json/fuzz_json.pkg/xref-fuzz_json.pkg.html Step #12 - "compile-libfuzzer-undefined-x86_64": 6666 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 6666 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 6666 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_json/fuzz_json.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 7092 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_json/fuzz_json.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 7096 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 7097 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 7097 INFO: Building PKG (CArchive) fuzz_json.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 14152 INFO: Building PKG (CArchive) fuzz_json.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 14155 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 14156 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 14156 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 14156 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 14156 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/fuzz_json.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 14156 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 14218 INFO: Building EXE from EXE-00.toc completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod -x /workspace/out/libfuzzer-undefined-x86_64/fuzz_json.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": + [[ undefined = *coverage* ]] Step #12 - "compile-libfuzzer-undefined-x86_64": + echo '#!/bin/sh Step #12 - "compile-libfuzzer-undefined-x86_64": # LLVMFuzzerTestOneInput for fuzzer detection. Step #12 - "compile-libfuzzer-undefined-x86_64": this_dir=$(dirname "$0") Step #12 - "compile-libfuzzer-undefined-x86_64": chmod +x $this_dir/fuzz_json.pkg Step #12 - "compile-libfuzzer-undefined-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_json.pkg $@' Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod +x /workspace/out/libfuzzer-undefined-x86_64/fuzz_json Finished Step #12 - "compile-libfuzzer-undefined-x86_64" Starting Step #13 - "build-check-libfuzzer-undefined-x86_64" Step #13 - "build-check-libfuzzer-undefined-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #13 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpz0klar_u/fuzz_json Finished Step #13 - "build-check-libfuzzer-undefined-x86_64" Starting Step #14 Step #14: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #14 Starting Step #15 Step #15: Already have image: gcr.io/oss-fuzz/pyjson5 Step #15: adding: fuzz_json (deflated 31%) Step #15: adding: fuzz_json.pkg (deflated 1%) Step #15: adding: llvm-symbolizer (deflated 66%) Step #15: adding: sanitizer_with_fuzzer.so (deflated 65%) Finished Step #15 Starting Step #16 Step #16: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #16: % Total % Received % Xferd Average Speed Time Time Time Current Step #16: Dload Upload Total Spent Left Speed Step #16: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 150 0 0 100 150 0 736 --:--:-- --:--:-- --:--:-- 738 Finished Step #16 Starting Step #17 Step #17: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #17: % Total % Received % Xferd Average Speed Time Time Time Current Step #17: Dload Upload Total Spent Left Speed Step #17: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20.0M 0 0 100 20.0M 0 97.7M --:--:-- --:--:-- --:--:-- 97.5M 100 20.0M 0 0 100 20.0M 0 67.8M --:--:-- --:--:-- --:--:-- 67.6M Finished Step #17 Starting Step #18 Step #18: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #18: % Total % Received % Xferd Average Speed Time Time Time Current Step #18: Dload Upload Total Spent Left Speed Step #18: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10 0 0 100 10 0 33 --:--:-- --:--:-- --:--:-- 33 Finished Step #18 Starting Step #19 Step #19: Already have image (with digest): gcr.io/cloud-builders/curl Step #19: % Total % Received % Xferd Average Speed Time Time Time Current Step #19: Dload Upload Total Spent Left Speed Step #19: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 34 0 0 100 34 0 168 --:--:-- --:--:-- --:--:-- 169 Finished Step #19 Starting Step #20 Step #20: Already have image: gcr.io/oss-fuzz/pyjson5 Finished Step #20 PUSH DONE