starting build "ba5d5408-6593-4cdf-9fa5-fb8355966867" 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 9.728kB 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: 8726513ee210: Pulling fs layer Step #1: 7054a7cd5879: Pulling fs layer Step #1: fa4207b84c31: Pulling fs layer Step #1: c9e16898e54d: Pulling fs layer Step #1: a397e481ff57: Pulling fs layer Step #1: 7f90ecb8e4d6: Pulling fs layer Step #1: ce26b4380d46: Pulling fs layer Step #1: 5dc6edc3cf5f: Pulling fs layer Step #1: 5173cde1bd66: Pulling fs layer Step #1: 1e34e18e386e: Pulling fs layer Step #1: da35800ee821: Pulling fs layer Step #1: 8c2556f55b93: Pulling fs layer Step #1: bf4f02a303d8: Pulling fs layer Step #1: bfc41af53bee: Pulling fs layer Step #1: ee19cad5d6c8: Pulling fs layer Step #1: 43fb6ebaf28e: Pulling fs layer Step #1: e2bf934a1fde: Pulling fs layer Step #1: 67ae2060248d: Pulling fs layer Step #1: eccb1330175b: Pulling fs layer Step #1: 20f0bfcb2bcb: Pulling fs layer Step #1: 0f18c7482fde: Pulling fs layer Step #1: f931609958c7: Pulling fs layer Step #1: 7384719a7753: Pulling fs layer Step #1: b840ccdb7eeb: Pulling fs layer Step #1: cbffa59180b5: Pulling fs layer Step #1: 3291b748342a: Pulling fs layer Step #1: ef31bd35b792: Pulling fs layer Step #1: b1256746ef70: Pulling fs layer Step #1: ce1ee8b7110e: Pulling fs layer Step #1: 1bbdcbbd8481: Pulling fs layer Step #1: 1933c895cdb1: Pulling fs layer Step #1: 90835bbe9867: Pulling fs layer Step #1: c9e16898e54d: Waiting Step #1: a397e481ff57: Waiting Step #1: 20f0bfcb2bcb: Waiting Step #1: 0f18c7482fde: Waiting Step #1: fa4207b84c31: Waiting Step #1: f931609958c7: Waiting Step #1: 7384719a7753: Waiting Step #1: 7f90ecb8e4d6: Waiting Step #1: b840ccdb7eeb: Waiting Step #1: bf4f02a303d8: Waiting Step #1: cbffa59180b5: Waiting Step #1: bfc41af53bee: Waiting Step #1: ce26b4380d46: Waiting Step #1: 1933c895cdb1: Waiting Step #1: 90835bbe9867: Waiting Step #1: ee19cad5d6c8: Waiting Step #1: 1bbdcbbd8481: Waiting Step #1: 5dc6edc3cf5f: Waiting Step #1: 43fb6ebaf28e: Waiting Step #1: 5173cde1bd66: Waiting Step #1: 1e34e18e386e: Waiting Step #1: 3291b748342a: Waiting Step #1: eccb1330175b: Waiting Step #1: ef31bd35b792: Waiting Step #1: da35800ee821: Waiting Step #1: b1256746ef70: Waiting Step #1: 8c2556f55b93: Waiting Step #1: e2bf934a1fde: Waiting Step #1: 67ae2060248d: Waiting Step #1: ce1ee8b7110e: Waiting Step #1: 7054a7cd5879: Verifying Checksum Step #1: 7054a7cd5879: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: c9e16898e54d: Verifying Checksum Step #1: c9e16898e54d: Download complete Step #1: a397e481ff57: Verifying Checksum Step #1: a397e481ff57: Download complete Step #1: fa4207b84c31: Download complete Step #1: ce26b4380d46: Verifying Checksum Step #1: ce26b4380d46: Download complete Step #1: 8726513ee210: Verifying Checksum Step #1: 8726513ee210: Download complete Step #1: 5dc6edc3cf5f: Verifying Checksum Step #1: 5dc6edc3cf5f: Download complete Step #1: b549f31133a9: Pull complete Step #1: 1e34e18e386e: Verifying Checksum Step #1: 1e34e18e386e: Download complete Step #1: da35800ee821: Download complete Step #1: 8c2556f55b93: Verifying Checksum Step #1: 8c2556f55b93: Download complete Step #1: bf4f02a303d8: Verifying Checksum Step #1: bf4f02a303d8: Download complete Step #1: bfc41af53bee: Download complete Step #1: ee19cad5d6c8: Verifying Checksum Step #1: ee19cad5d6c8: Download complete Step #1: 43fb6ebaf28e: Verifying Checksum Step #1: 43fb6ebaf28e: Download complete Step #1: e2bf934a1fde: Verifying Checksum Step #1: e2bf934a1fde: Download complete Step #1: 67ae2060248d: Verifying Checksum Step #1: 67ae2060248d: Download complete Step #1: eccb1330175b: Verifying Checksum Step #1: eccb1330175b: Download complete Step #1: 5173cde1bd66: Verifying Checksum Step #1: 5173cde1bd66: Download complete Step #1: 20f0bfcb2bcb: Verifying Checksum Step #1: 20f0bfcb2bcb: Download complete Step #1: 0f18c7482fde: Verifying Checksum Step #1: 0f18c7482fde: Download complete Step #1: f931609958c7: Verifying Checksum Step #1: f931609958c7: Download complete Step #1: 7384719a7753: Verifying Checksum Step #1: 7384719a7753: Download complete Step #1: b840ccdb7eeb: Verifying Checksum Step #1: b840ccdb7eeb: Download complete Step #1: cbffa59180b5: Verifying Checksum Step #1: cbffa59180b5: Download complete Step #1: 3291b748342a: Verifying Checksum Step #1: 3291b748342a: Download complete Step #1: ef31bd35b792: Verifying Checksum Step #1: ef31bd35b792: Download complete Step #1: ce1ee8b7110e: Verifying Checksum Step #1: ce1ee8b7110e: Download complete Step #1: 1bbdcbbd8481: Verifying Checksum Step #1: 1bbdcbbd8481: Download complete Step #1: 7f90ecb8e4d6: Verifying Checksum Step #1: 7f90ecb8e4d6: Download complete Step #1: b1256746ef70: Verifying Checksum Step #1: b1256746ef70: Download complete Step #1: 1933c895cdb1: Verifying Checksum Step #1: 1933c895cdb1: Download complete Step #1: 90835bbe9867: Verifying Checksum Step #1: 90835bbe9867: Download complete Step #1: 8726513ee210: Pull complete Step #1: 7054a7cd5879: Pull complete Step #1: fa4207b84c31: Pull complete Step #1: c9e16898e54d: Pull complete Step #1: a397e481ff57: Pull complete Step #1: 7f90ecb8e4d6: Pull complete Step #1: ce26b4380d46: Pull complete Step #1: 5dc6edc3cf5f: Pull complete Step #1: 5173cde1bd66: Pull complete Step #1: 1e34e18e386e: Pull complete Step #1: da35800ee821: Pull complete Step #1: 8c2556f55b93: Pull complete Step #1: bf4f02a303d8: Pull complete Step #1: bfc41af53bee: Pull complete Step #1: ee19cad5d6c8: Pull complete Step #1: 43fb6ebaf28e: Pull complete Step #1: e2bf934a1fde: Pull complete Step #1: 67ae2060248d: Pull complete Step #1: eccb1330175b: Pull complete Step #1: 20f0bfcb2bcb: Pull complete Step #1: 0f18c7482fde: Pull complete Step #1: f931609958c7: Pull complete Step #1: 7384719a7753: Pull complete Step #1: b840ccdb7eeb: Pull complete Step #1: cbffa59180b5: Pull complete Step #1: 3291b748342a: Pull complete Step #1: ef31bd35b792: Pull complete Step #1: b1256746ef70: Pull complete Step #1: ce1ee8b7110e: Pull complete Step #1: 1bbdcbbd8481: Pull complete Step #1: 1933c895cdb1: Pull complete Step #1: 90835bbe9867: Pull complete Step #1: Digest: sha256:5848c0f46065c033fcafc3df186a27fd60f314a645d7aa6469905af9da98f94b Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> 501e35d6ccf4 Step #1: Step 2/4 : RUN git clone --depth 1 --branch master https://github.com/martinblech/xmltodict.git Step #1: ---> Running in f2b1ac3f7042 Step #1: Cloning into 'xmltodict'... Step #1: Removing intermediate container f2b1ac3f7042 Step #1: ---> 8569aa4e4d5f Step #1: Step 3/4 : WORKDIR xmltodict Step #1: ---> Running in 68a6400ea3c4 Step #1: Removing intermediate container 68a6400ea3c4 Step #1: ---> 1ef6b0acc479 Step #1: Step 4/4 : COPY build.sh unparse_parse_fuzzer.py $SRC/ Step #1: ---> 6d25059f83ce Step #1: Successfully built 6d25059f83ce Step #1: Successfully tagged gcr.io/oss-fuzz/xmltodict:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/xmltodict Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileY62e5L 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/xmltodict/.git Step #2 - "srcmap": + GIT_DIR=/src/xmltodict Step #2 - "srcmap": + cd /src/xmltodict Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/martinblech/xmltodict.git Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=9c3ec3c67accf6ebffc2a5d6ba9fc9b2afe4936d Step #2 - "srcmap": + jq_inplace /tmp/fileY62e5L '."/src/xmltodict" = { type: "git", url: "https://github.com/martinblech/xmltodict.git", rev: "9c3ec3c67accf6ebffc2a5d6ba9fc9b2afe4936d" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filesZ28ac Step #2 - "srcmap": + cat /tmp/fileY62e5L Step #2 - "srcmap": + jq '."/src/xmltodict" = { type: "git", url: "https://github.com/martinblech/xmltodict.git", rev: "9c3ec3c67accf6ebffc2a5d6ba9fc9b2afe4936d" }' Step #2 - "srcmap": + mv /tmp/filesZ28ac /tmp/fileY62e5L 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/fileY62e5L Step #2 - "srcmap": + rm /tmp/fileY62e5L Step #2 - "srcmap": { Step #2 - "srcmap": "/src/xmltodict": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/martinblech/xmltodict.git", Step #2 - "srcmap": "rev": "9c3ec3c67accf6ebffc2a5d6ba9fc9b2afe4936d" 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/xmltodict Step #3 - "compile-libfuzzer-address-x86_64": Installing collected packages: xmltodict Step #3 - "compile-libfuzzer-address-x86_64": Running setup.py install for xmltodict ... [?25l- done Step #3 - "compile-libfuzzer-address-x86_64": [?25hSuccessfully installed xmltodict-0.13.0 Step #3 - "compile-libfuzzer-address-x86_64": WARNING: You are using pip version 19.2.3, however version 24.1.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 '*_fuzzer.py' Step #3 - "compile-libfuzzer-address-x86_64": + for fuzzer in $(find $SRC -name '*_fuzzer.py') Step #3 - "compile-libfuzzer-address-x86_64": + compile_python_fuzzer /src/unparse_parse_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_path=/src/unparse_parse_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": + shift 1 Step #3 - "compile-libfuzzer-address-x86_64": ++ basename -s .py /src/unparse_parse_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_basename=unparse_parse_fuzzer Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_package=unparse_parse_fuzzer.pkg Step #3 - "compile-libfuzzer-address-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//unparse_parse_fuzzer 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/xmltodict 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/__init__.py -> 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/sanlib.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/redos.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/__init__.py -> 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/sanlib.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/redos.py -> build/bdist.linux-x86_64/egg/pysecsan 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": 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/sanlib.py to sanlib.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/redos.py to redos.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/xmltodict Step #3 - "compile-libfuzzer-address-x86_64": + cat Step #3 - "compile-libfuzzer-address-x86_64": + cat pysecsan_wrapper.py /src/unparse_parse_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": + mv tmp_fuzzer_pysecsan.py /src/unparse_parse_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": + rm -rf /src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + mkdir /src/pyfuzzworkdir/ /src/pyfuzzworkdir//unparse_parse_fuzzer Step #3 - "compile-libfuzzer-address-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-address-x86_64 --workpath=/src/pyfuzzworkdir//unparse_parse_fuzzer --onefile --name unparse_parse_fuzzer.pkg /src/unparse_parse_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": 44 INFO: PyInstaller: 5.0.1 Step #3 - "compile-libfuzzer-address-x86_64": 44 INFO: Python: 3.8.3 Step #3 - "compile-libfuzzer-address-x86_64": 45 INFO: Platform: Linux-5.10.0-30-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 45 INFO: wrote /src/xmltodict/unparse_parse_fuzzer.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 48 INFO: UPX is not available. Step #3 - "compile-libfuzzer-address-x86_64": 49 INFO: Extending PYTHONPATH with paths Step #3 - "compile-libfuzzer-address-x86_64": ['/src'] Step #3 - "compile-libfuzzer-address-x86_64": 226 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 227 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 227 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 228 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 236 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 2318 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": 2318 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 3596 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 3717 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 3738 INFO: Analyzing /src/unparse_parse_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": 4014 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 4015 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 4016 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4022 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4023 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4060 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4061 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4062 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4062 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": 4063 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4076 INFO: checking Tree Step #3 - "compile-libfuzzer-address-x86_64": 4077 INFO: Building Tree because Tree-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 4077 INFO: Building Tree Tree-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 4077 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 4081 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 4083 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": 4085 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": 4087 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": 4089 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": 4094 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 4897 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 4898 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 4901 INFO: Warnings written to /src/pyfuzzworkdir//unparse_parse_fuzzer/unparse_parse_fuzzer.pkg/warn-unparse_parse_fuzzer.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 4921 INFO: Graph cross-reference written to /src/pyfuzzworkdir//unparse_parse_fuzzer/unparse_parse_fuzzer.pkg/xref-unparse_parse_fuzzer.pkg.html Step #3 - "compile-libfuzzer-address-x86_64": 4932 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 4932 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 4932 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//unparse_parse_fuzzer/unparse_parse_fuzzer.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 5255 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//unparse_parse_fuzzer/unparse_parse_fuzzer.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 5258 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 5258 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 5258 INFO: Building PKG (CArchive) unparse_parse_fuzzer.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 10769 INFO: Building PKG (CArchive) unparse_parse_fuzzer.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 10771 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 10771 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 10771 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 10771 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 10772 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/unparse_parse_fuzzer.pkg Step #3 - "compile-libfuzzer-address-x86_64": 10772 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 10830 INFO: Building EXE from EXE-00.toc completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": + chmod -x /workspace/out/libfuzzer-address-x86_64/unparse_parse_fuzzer.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/unparse_parse_fuzzer.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/unparse_parse_fuzzer.pkg $@' Step #3 - "compile-libfuzzer-address-x86_64": + chmod +x /workspace/out/libfuzzer-address-x86_64/unparse_parse_fuzzer 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": 8726513ee210: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 7054a7cd5879: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": f739589ce639: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": b2322709fa19: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": ec3daab22494: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 25b017c9085d: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 6d8064d22942: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 2c5826f03939: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 5342ef9d65f0: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": bf550828fd45: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 6653c9292bbf: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": b1b96c73e874: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 30e213053f23: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 0c00a16d8aaa: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 0468880b53a6: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": fe12524a520c: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 222eb0282449: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 242151016182: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 6e1ab450e78e: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": bf550828fd45: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 5342ef9d65f0: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 0468880b53a6: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 222eb0282449: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 6653c9292bbf: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 242151016182: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": b1b96c73e874: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 6e1ab450e78e: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 6d8064d22942: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 25b017c9085d: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": fe12524a520c: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 30e213053f23: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 2c5826f03939: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 0c00a16d8aaa: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": ec3daab22494: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": ec3daab22494: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": f739589ce639: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": f739589ce639: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b2322709fa19: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": b2322709fa19: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 6d8064d22942: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 6d8064d22942: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": f739589ce639: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 2c5826f03939: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 2c5826f03939: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 5342ef9d65f0: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 5342ef9d65f0: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 6653c9292bbf: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b2322709fa19: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": ec3daab22494: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": bf550828fd45: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": bf550828fd45: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 30e213053f23: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 30e213053f23: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 25b017c9085d: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 25b017c9085d: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 0c00a16d8aaa: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 0c00a16d8aaa: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b1b96c73e874: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": b1b96c73e874: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 222eb0282449: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 222eb0282449: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 0468880b53a6: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 0468880b53a6: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 6e1ab450e78e: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 6e1ab450e78e: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 242151016182: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 242151016182: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": fe12524a520c: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": fe12524a520c: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 25b017c9085d: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 6d8064d22942: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 2c5826f03939: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 5342ef9d65f0: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": bf550828fd45: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 6653c9292bbf: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": b1b96c73e874: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 30e213053f23: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 0c00a16d8aaa: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 0468880b53a6: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": fe12524a520c: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 222eb0282449: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 242151016182: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 6e1ab450e78e: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": Digest: sha256:d621363d499310ec5bc7b44d62ff87d43cb095b1d56c74cf68d189ea6487d961 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/tmpoubt6tri/unparse_parse_fuzzer 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/xmltodict Step #6: adding: llvm-symbolizer (deflated 66%) Step #6: adding: sanitizer_with_fuzzer.so (deflated 67%) Step #6: adding: unparse_parse_fuzzer (deflated 36%) Step #6: adding: unparse_parse_fuzzer.pkg (deflated 1%) 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: 7eb39101e508: Waiting Step #7: 6b33fd031fac: Waiting Step #7: 89257482f398: Waiting Step #7: d4fceeeb758e: Verifying Checksum Step #7: d4fceeeb758e: Download complete Step #7: 5c9125a401ae: Download complete Step #7: 0062f774e994: Verifying Checksum Step #7: 0062f774e994: Download complete Step #7: 6b33fd031fac: Verifying Checksum Step #7: 6b33fd031fac: Download complete Step #7: 89257482f398: Verifying Checksum Step #7: 89257482f398: Download complete 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 162 0 0 100 162 0 857 --:--:-- --:--:-- --:--:-- 861 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 67.6M --:--:-- --:--:-- --:--:-- 67.7M 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 21 0 0 100 21 0 78 --:--:-- --:--:-- --:--:-- 78 Finished Step #9 Starting Step #10 Step #10: Already have image (with digest): gcr.io/cloud-builders/curl 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 100 34 0 0 100 34 0 178 --:--:-- --:--:-- --:--:-- 178 Finished Step #10 Starting Step #11 Step #11: Already have image: gcr.io/oss-fuzz/xmltodict 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/xmltodict Step #12 - "compile-libfuzzer-undefined-x86_64": Installing collected packages: xmltodict Step #12 - "compile-libfuzzer-undefined-x86_64": Running setup.py install for xmltodict ... [?25l- done Step #12 - "compile-libfuzzer-undefined-x86_64": [?25hSuccessfully installed xmltodict-0.13.0 Step #12 - "compile-libfuzzer-undefined-x86_64": WARNING: You are using pip version 19.2.3, however version 24.1.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 '*_fuzzer.py' Step #12 - "compile-libfuzzer-undefined-x86_64": + for fuzzer in $(find $SRC -name '*_fuzzer.py') Step #12 - "compile-libfuzzer-undefined-x86_64": + compile_python_fuzzer /src/unparse_parse_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_path=/src/unparse_parse_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": + shift 1 Step #12 - "compile-libfuzzer-undefined-x86_64": ++ basename -s .py /src/unparse_parse_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_basename=unparse_parse_fuzzer Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_package=unparse_parse_fuzzer.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #12 - "compile-libfuzzer-undefined-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//unparse_parse_fuzzer 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//unparse_parse_fuzzer Step #12 - "compile-libfuzzer-undefined-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-undefined-x86_64 --workpath=/src/pyfuzzworkdir//unparse_parse_fuzzer --onefile --name unparse_parse_fuzzer.pkg /src/unparse_parse_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": 44 INFO: PyInstaller: 5.0.1 Step #12 - "compile-libfuzzer-undefined-x86_64": 44 INFO: Python: 3.8.3 Step #12 - "compile-libfuzzer-undefined-x86_64": 45 INFO: Platform: Linux-5.10.0-30-cloud-amd64-x86_64-with-glibc2.2.5 Step #12 - "compile-libfuzzer-undefined-x86_64": 45 INFO: wrote /src/xmltodict/unparse_parse_fuzzer.pkg.spec Step #12 - "compile-libfuzzer-undefined-x86_64": 48 INFO: UPX is not available. Step #12 - "compile-libfuzzer-undefined-x86_64": 49 INFO: Extending PYTHONPATH with paths Step #12 - "compile-libfuzzer-undefined-x86_64": ['/src'] Step #12 - "compile-libfuzzer-undefined-x86_64": 224 INFO: checking Analysis Step #12 - "compile-libfuzzer-undefined-x86_64": 224 INFO: Building Analysis because Analysis-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 225 INFO: Initializing module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 226 INFO: Caching module graph hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 234 INFO: Analyzing base_library.zip ... Step #12 - "compile-libfuzzer-undefined-x86_64": 2067 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": 2068 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #12 - "compile-libfuzzer-undefined-x86_64": 3895 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 4013 INFO: running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 4036 INFO: Analyzing /src/unparse_parse_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": 4306 INFO: Processing module hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 4307 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4307 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4314 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4315 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4353 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4354 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4355 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4355 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": 4356 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4365 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 4369 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 4371 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": 4372 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": 4374 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": 4376 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": 4381 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 5184 INFO: Looking for eggs Step #12 - "compile-libfuzzer-undefined-x86_64": 5184 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 5187 INFO: Warnings written to /src/pyfuzzworkdir//unparse_parse_fuzzer/unparse_parse_fuzzer.pkg/warn-unparse_parse_fuzzer.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 5211 INFO: Graph cross-reference written to /src/pyfuzzworkdir//unparse_parse_fuzzer/unparse_parse_fuzzer.pkg/xref-unparse_parse_fuzzer.pkg.html Step #12 - "compile-libfuzzer-undefined-x86_64": 5222 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 5222 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 5223 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//unparse_parse_fuzzer/unparse_parse_fuzzer.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 5532 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//unparse_parse_fuzzer/unparse_parse_fuzzer.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 5536 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 5536 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 5536 INFO: Building PKG (CArchive) unparse_parse_fuzzer.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 11033 INFO: Building PKG (CArchive) unparse_parse_fuzzer.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 11035 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 11035 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 11035 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 11035 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 11035 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/unparse_parse_fuzzer.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 11036 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 11090 INFO: Building EXE from EXE-00.toc completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod -x /workspace/out/libfuzzer-undefined-x86_64/unparse_parse_fuzzer.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/unparse_parse_fuzzer.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/unparse_parse_fuzzer.pkg $@' Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod +x /workspace/out/libfuzzer-undefined-x86_64/unparse_parse_fuzzer 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/tmpccmunitg/unparse_parse_fuzzer 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/xmltodict Step #15: adding: llvm-symbolizer (deflated 66%) Step #15: adding: sanitizer_with_fuzzer.so (deflated 65%) Step #15: adding: unparse_parse_fuzzer (deflated 36%) Step #15: adding: unparse_parse_fuzzer.pkg (deflated 1%) 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 162 0 0 100 162 0 680 --:--:-- --:--:-- --:--:-- 680 100 162 0 0 100 162 0 680 --:--:-- --:--:-- --:--:-- 680 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 54.1M --:--:-- --:--:-- --:--:-- 54.2M 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 21 0 0 100 21 0 85 --:--:-- --:--:-- --:--:-- 85 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 36 0 0 100 36 0 155 --:--:-- --:--:-- --:--:-- 155 Finished Step #19 Starting Step #20 Step #20: Already have image: gcr.io/oss-fuzz/xmltodict Finished Step #20 PUSH DONE