starting build "bba54562-b993-4308-aea4-b20a5ea1f755" 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: 9e174c08eb85: Pulling fs layer Step #1: 2cd29e6c1ecf: Pulling fs layer Step #1: 1366d8263393: Pulling fs layer Step #1: fa41e3551025: Pulling fs layer Step #1: 61b5b8ad0f96: Pulling fs layer Step #1: fe870a1d2514: Pulling fs layer Step #1: afa3b9d0eab0: Pulling fs layer Step #1: 037ef7d40100: Pulling fs layer Step #1: 83455dd42233: Pulling fs layer Step #1: 72bd13282b8a: Pulling fs layer Step #1: c50d3c031bb4: Pulling fs layer Step #1: 8dd946c71e81: Pulling fs layer Step #1: 2c06dd19cdaf: Pulling fs layer Step #1: 8efacf68f3c7: Pulling fs layer Step #1: b064effd2ca5: Pulling fs layer Step #1: 314b2533b0cb: Pulling fs layer Step #1: 70f6b0eb3293: Pulling fs layer Step #1: 79ce9e592395: Pulling fs layer Step #1: c76fcee71e43: Pulling fs layer Step #1: df9a59b82586: Pulling fs layer Step #1: 6feee60eb383: Pulling fs layer Step #1: 0b48d58ed109: Pulling fs layer Step #1: d17b5b838f7f: Pulling fs layer Step #1: ed7aabd173cf: Pulling fs layer Step #1: fe8a129ab9c8: Pulling fs layer Step #1: f1055bddfaf5: Pulling fs layer Step #1: ea5733fa39c4: Pulling fs layer Step #1: 24074cdd3473: Pulling fs layer Step #1: b016e5ae518d: Pulling fs layer Step #1: 0f5b5705375a: Pulling fs layer Step #1: fa41e3551025: Waiting Step #1: 79ce9e592395: Waiting Step #1: 61b5b8ad0f96: Waiting Step #1: c76fcee71e43: Waiting Step #1: fe870a1d2514: Waiting Step #1: df9a59b82586: Waiting Step #1: fe8a129ab9c8: Waiting Step #1: 1366d8263393: Waiting Step #1: afa3b9d0eab0: Waiting Step #1: 72bd13282b8a: Waiting Step #1: 70f6b0eb3293: Waiting Step #1: d17b5b838f7f: Waiting Step #1: c50d3c031bb4: Waiting Step #1: 8efacf68f3c7: Waiting Step #1: 037ef7d40100: Waiting Step #1: b064effd2ca5: Waiting Step #1: 314b2533b0cb: Waiting Step #1: ed7aabd173cf: Waiting Step #1: ea5733fa39c4: Waiting Step #1: 2c06dd19cdaf: Waiting Step #1: 24074cdd3473: Waiting Step #1: b016e5ae518d: Waiting Step #1: f1055bddfaf5: Waiting Step #1: 8dd946c71e81: Waiting Step #1: 0b48d58ed109: Waiting Step #1: 83455dd42233: Waiting Step #1: 2cd29e6c1ecf: Verifying Checksum Step #1: 2cd29e6c1ecf: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 1366d8263393: Download complete Step #1: fa41e3551025: Verifying Checksum Step #1: fa41e3551025: Download complete Step #1: 61b5b8ad0f96: Verifying Checksum Step #1: 61b5b8ad0f96: Download complete Step #1: afa3b9d0eab0: Download complete Step #1: 037ef7d40100: Verifying Checksum Step #1: 037ef7d40100: Download complete Step #1: 9e174c08eb85: Verifying Checksum Step #1: 9e174c08eb85: Download complete Step #1: 72bd13282b8a: Verifying Checksum Step #1: 72bd13282b8a: Download complete Step #1: c50d3c031bb4: Verifying Checksum Step #1: c50d3c031bb4: Download complete Step #1: 8dd946c71e81: Verifying Checksum Step #1: 8dd946c71e81: Download complete Step #1: b549f31133a9: Pull complete Step #1: 2c06dd19cdaf: Verifying Checksum Step #1: 2c06dd19cdaf: Download complete Step #1: 8efacf68f3c7: Verifying Checksum Step #1: 8efacf68f3c7: Download complete Step #1: b064effd2ca5: Verifying Checksum Step #1: b064effd2ca5: Download complete Step #1: 314b2533b0cb: Verifying Checksum Step #1: 314b2533b0cb: Download complete Step #1: 70f6b0eb3293: Verifying Checksum Step #1: 70f6b0eb3293: Download complete Step #1: 79ce9e592395: Verifying Checksum Step #1: 79ce9e592395: Download complete Step #1: c76fcee71e43: Verifying Checksum Step #1: c76fcee71e43: Download complete Step #1: 83455dd42233: Download complete Step #1: df9a59b82586: Download complete Step #1: 0b48d58ed109: Verifying Checksum Step #1: 0b48d58ed109: Download complete Step #1: 6feee60eb383: Download complete Step #1: d17b5b838f7f: Download complete Step #1: ed7aabd173cf: Verifying Checksum Step #1: ed7aabd173cf: Download complete Step #1: fe8a129ab9c8: Verifying Checksum Step #1: fe8a129ab9c8: Download complete Step #1: ea5733fa39c4: Verifying Checksum Step #1: ea5733fa39c4: Download complete Step #1: f1055bddfaf5: Verifying Checksum Step #1: f1055bddfaf5: Download complete Step #1: 24074cdd3473: Verifying Checksum Step #1: 24074cdd3473: Download complete Step #1: b016e5ae518d: Verifying Checksum Step #1: b016e5ae518d: Download complete Step #1: fe870a1d2514: Verifying Checksum Step #1: fe870a1d2514: Download complete Step #1: 0f5b5705375a: Verifying Checksum Step #1: 0f5b5705375a: Download complete Step #1: 9e174c08eb85: Pull complete Step #1: 2cd29e6c1ecf: Pull complete Step #1: 1366d8263393: Pull complete Step #1: fa41e3551025: Pull complete Step #1: 61b5b8ad0f96: Pull complete Step #1: fe870a1d2514: Pull complete Step #1: afa3b9d0eab0: Pull complete Step #1: 037ef7d40100: Pull complete Step #1: 83455dd42233: Pull complete Step #1: 72bd13282b8a: Pull complete Step #1: c50d3c031bb4: Pull complete Step #1: 8dd946c71e81: Pull complete Step #1: 2c06dd19cdaf: Pull complete Step #1: 8efacf68f3c7: Pull complete Step #1: b064effd2ca5: Pull complete Step #1: 314b2533b0cb: Pull complete Step #1: 70f6b0eb3293: Pull complete Step #1: 79ce9e592395: Pull complete Step #1: c76fcee71e43: Pull complete Step #1: df9a59b82586: Pull complete Step #1: 6feee60eb383: Pull complete Step #1: 0b48d58ed109: Pull complete Step #1: d17b5b838f7f: Pull complete Step #1: ed7aabd173cf: Pull complete Step #1: fe8a129ab9c8: Pull complete Step #1: f1055bddfaf5: Pull complete Step #1: ea5733fa39c4: Pull complete Step #1: 24074cdd3473: Pull complete Step #1: b016e5ae518d: Pull complete Step #1: 0f5b5705375a: Pull complete Step #1: Digest: sha256:2605f92589899de4b5b0b823099d8e58ac15332718ec29e9ef1b8904fc2758b6 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> 373f7828829d Step #1: Step 2/4 : RUN git clone https://github.com/python-markdown/markdown markdown Step #1: ---> Running in 1ceee69b99ba Step #1: Cloning into 'markdown'... Step #1: Removing intermediate container 1ceee69b99ba Step #1: ---> 94d4399beb1b Step #1: Step 3/4 : COPY *.sh *py $SRC/ Step #1: ---> 79fef1eafe3f Step #1: Step 4/4 : WORKDIR $SRC/markdown Step #1: ---> Running in 46b9b2f84973 Step #1: Removing intermediate container 46b9b2f84973 Step #1: ---> eea74dc4adc8 Step #1: Successfully built eea74dc4adc8 Step #1: Successfully tagged gcr.io/oss-fuzz/python-markdown:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/python-markdown Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileVbn0sO 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/markdown/.git Step #2 - "srcmap": + GIT_DIR=/src/markdown Step #2 - "srcmap": + cd /src/markdown Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/python-markdown/markdown Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=993b57b8ea577f2120f7d0c81b45ee5ed74a0f57 Step #2 - "srcmap": + jq_inplace /tmp/fileVbn0sO '."/src/markdown" = { type: "git", url: "https://github.com/python-markdown/markdown", rev: "993b57b8ea577f2120f7d0c81b45ee5ed74a0f57" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileBIdtDb Step #2 - "srcmap": + cat /tmp/fileVbn0sO Step #2 - "srcmap": + jq '."/src/markdown" = { type: "git", url: "https://github.com/python-markdown/markdown", rev: "993b57b8ea577f2120f7d0c81b45ee5ed74a0f57" }' Step #2 - "srcmap": + mv /tmp/fileBIdtDb /tmp/fileVbn0sO 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/fileVbn0sO Step #2 - "srcmap": + rm /tmp/fileVbn0sO Step #2 - "srcmap": { Step #2 - "srcmap": "/src/markdown": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/python-markdown/markdown", Step #2 - "srcmap": "rev": "993b57b8ea577f2120f7d0c81b45ee5ed74a0f57" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-address-x86_64" Step #3 - "compile-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-address-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": CC=clang Step #3 - "compile-libfuzzer-address-x86_64": CXX=clang++ Step #3 - "compile-libfuzzer-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -fno-sanitize=function,leak,vptr, Step #3 - "compile-libfuzzer-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ -fno-sanitize=function,leak,vptr Step #3 - "compile-libfuzzer-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": + pip3 install . Step #3 - "compile-libfuzzer-address-x86_64": Processing /src/markdown 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 Installing backend dependencies ... [?25l- \ | done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Preparing wheel metadata ... [?25l- done Step #3 - "compile-libfuzzer-address-x86_64": [?25hRequirement already satisfied: importlib-metadata>=4.4; python_version < "3.10" in /usr/local/lib/python3.8/site-packages (from Markdown==3.6) (7.1.0) Step #3 - "compile-libfuzzer-address-x86_64": Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.8/site-packages (from importlib-metadata>=4.4; python_version < "3.10"->Markdown==3.6) (3.18.1) Step #3 - "compile-libfuzzer-address-x86_64": Building wheels for collected packages: Markdown Step #3 - "compile-libfuzzer-address-x86_64": Building wheel for Markdown (PEP 517) ... [?25l- done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Created wheel for Markdown: filename=Markdown-3.6-cp38-none-any.whl size=105381 sha256=169a54845995ad9272fba994e32ba331e9ba8c8724dc8e896147ed3a0bc6caaf Step #3 - "compile-libfuzzer-address-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-p5h14d32/wheels/1c/19/c6/9f589aa23d3873a308499136d9953e73e86c453a3baa549db2 Step #3 - "compile-libfuzzer-address-x86_64": Successfully built Markdown Step #3 - "compile-libfuzzer-address-x86_64": Installing collected packages: Markdown Step #3 - "compile-libfuzzer-address-x86_64": Successfully installed Markdown-3.6 Step #3 - "compile-libfuzzer-address-x86_64": WARNING: You are using pip version 19.2.3, however version 24.0 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_convert.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_path=/src/fuzz_convert.py Step #3 - "compile-libfuzzer-address-x86_64": + shift 1 Step #3 - "compile-libfuzzer-address-x86_64": ++ basename -s .py /src/fuzz_convert.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_basename=fuzz_convert Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_package=fuzz_convert.pkg Step #3 - "compile-libfuzzer-address-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_convert 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/markdown 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/redos.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/__init__.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": 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/redos.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/__init__.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": 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/redos.py to redos.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/__init__.py to __init__.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": 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/markdown Step #3 - "compile-libfuzzer-address-x86_64": + cat Step #3 - "compile-libfuzzer-address-x86_64": + cat pysecsan_wrapper.py /src/fuzz_convert.py Step #3 - "compile-libfuzzer-address-x86_64": + mv tmp_fuzzer_pysecsan.py /src/fuzz_convert.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_convert Step #3 - "compile-libfuzzer-address-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-address-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_convert --onefile --name fuzz_convert.pkg /src/fuzz_convert.py Step #3 - "compile-libfuzzer-address-x86_64": 61 INFO: PyInstaller: 5.0.1 Step #3 - "compile-libfuzzer-address-x86_64": 61 INFO: Python: 3.8.3 Step #3 - "compile-libfuzzer-address-x86_64": 62 INFO: Platform: Linux-5.10.0-28-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 62 INFO: wrote /src/markdown/fuzz_convert.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 65 INFO: UPX is not available. Step #3 - "compile-libfuzzer-address-x86_64": 67 INFO: Extending PYTHONPATH with paths Step #3 - "compile-libfuzzer-address-x86_64": ['/src'] Step #3 - "compile-libfuzzer-address-x86_64": 32 WARNING: discover_hook_directories: Failed to process hook entry point 'hook-dirs = _pyinstaller_hooks_contrib.hooks:get_hook_dirs': pkg_resources.VersionConflict: (setuptools 41.2.0 (/usr/local/lib/python3.8/site-packages), Requirement.parse('setuptools>=42.0.0')) Step #3 - "compile-libfuzzer-address-x86_64": 277 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 278 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 278 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 279 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 283 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 3101 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": 3101 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 4913 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 5067 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 5092 INFO: Analyzing /src/fuzz_convert.py Step #3 - "compile-libfuzzer-address-x86_64": 5517 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 5517 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 5518 INFO: Loading module hook 'hook-importlib_metadata.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5519 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5521 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5530 INFO: Loading module hook 'hook-xml.etree.cElementTree.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5531 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5532 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5534 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5534 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5783 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": 5785 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5853 INFO: checking Tree Step #3 - "compile-libfuzzer-address-x86_64": 5853 INFO: Building Tree because Tree-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 5853 INFO: Building Tree Tree-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 5854 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 5860 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 5864 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": 5866 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": 5868 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": 5871 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": 5879 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 6843 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 6844 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 6848 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_convert/fuzz_convert.pkg/warn-fuzz_convert.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 6878 INFO: Graph cross-reference written to /src/pyfuzzworkdir//fuzz_convert/fuzz_convert.pkg/xref-fuzz_convert.pkg.html Step #3 - "compile-libfuzzer-address-x86_64": 6894 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 6894 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 6894 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_convert/fuzz_convert.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 7362 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_convert/fuzz_convert.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 7368 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 7368 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 7368 INFO: Building PKG (CArchive) fuzz_convert.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 14252 INFO: Building PKG (CArchive) fuzz_convert.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 14255 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 14255 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 14255 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 14256 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 14256 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_convert.pkg Step #3 - "compile-libfuzzer-address-x86_64": 14256 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 14338 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_convert.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_convert.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_convert.pkg $@' Step #3 - "compile-libfuzzer-address-x86_64": + chmod +x /workspace/out/libfuzzer-address-x86_64/fuzz_convert Finished Step #3 - "compile-libfuzzer-address-x86_64" Starting Step #4 - "build-check-libfuzzer-address-x86_64" Step #4 - "build-check-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #4 - "build-check-libfuzzer-address-x86_64": Unable to find image 'gcr.io/oss-fuzz-base/base-runner:latest' locally Step #4 - "build-check-libfuzzer-address-x86_64": latest: Pulling from oss-fuzz-base/base-runner Step #4 - "build-check-libfuzzer-address-x86_64": b549f31133a9: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 9e174c08eb85: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 2cd29e6c1ecf: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 158c198cc409: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": e5526743a90f: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 7c9948031b76: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 755b75e514ce: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 2078725ef15f: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 5fdd25473f87: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 438ad07ac746: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": fb206ce9d36e: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": e7976d8d7e7d: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 242a5c8eaf67: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 172e9a883b5b: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": cf448115f1be: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 8111253a1e8e: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": abb56446c75b: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": fb206ce9d36e: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": e7976d8d7e7d: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 242a5c8eaf67: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 172e9a883b5b: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": cf448115f1be: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 8111253a1e8e: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": abb56446c75b: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 755b75e514ce: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 2078725ef15f: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 5fdd25473f87: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 438ad07ac746: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 158c198cc409: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 158c198cc409: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 7c9948031b76: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 7c9948031b76: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": e5526743a90f: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": e5526743a90f: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 2078725ef15f: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 2078725ef15f: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 158c198cc409: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 438ad07ac746: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 438ad07ac746: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 5fdd25473f87: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 5fdd25473f87: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": e7976d8d7e7d: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": e7976d8d7e7d: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": e5526743a90f: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": fb206ce9d36e: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 7c9948031b76: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 172e9a883b5b: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 172e9a883b5b: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": cf448115f1be: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": cf448115f1be: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 755b75e514ce: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 755b75e514ce: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": abb56446c75b: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": abb56446c75b: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 242a5c8eaf67: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 8111253a1e8e: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 8111253a1e8e: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 755b75e514ce: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 2078725ef15f: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 5fdd25473f87: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 438ad07ac746: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": fb206ce9d36e: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": e7976d8d7e7d: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 242a5c8eaf67: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 172e9a883b5b: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": cf448115f1be: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 8111253a1e8e: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": abb56446c75b: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": Digest: sha256:e23d6d8ac8bea4b010b702a3a0e763d0ddd7351f947cb4b46c53043e7f754b77 Step #4 - "build-check-libfuzzer-address-x86_64": Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-runner:latest Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp7hp0yoe2/fuzz_convert Step #4 - "build-check-libfuzzer-address-x86_64": Retrying failed fuzz targets sequentially 1 Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp7hp0yoe2/fuzz_convert Step #4 - "build-check-libfuzzer-address-x86_64": Broken fuzz targets 1 Step #4 - "build-check-libfuzzer-address-x86_64": ('/tmp/not-out/tmp7hp0yoe2/fuzz_convert', CompletedProcess(args=['bad_build_check', '/tmp/not-out/tmp7hp0yoe2/fuzz_convert'], returncode=1, stdout=b'BAD BUILD: /tmp/not-out/tmp7hp0yoe2/fuzz_convert seems to have either startup crash or exit:\nvm.mmap_rnd_bits = 28\n/tmp/not-out/tmp7hp0yoe2/fuzz_convert -rss_limit_mb=2560 -timeout=25 -seed=1337 -runs=4 < /dev/null\nTraceback (most recent call last):\n File "fuzz_convert.py", line 19, in \n File "", line 991, in _find_and_load\n File "", line 975, in _find_and_load_unlocked\n File "", line 671, in _load_unlocked\n File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module\n File "markdown/__init__.py", line 42, in \n File "", line 991, in _find_and_load\n File "", line 975, in _find_and_load_unlocked\n File "", line 671, in _load_unlocked\n File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module\n File "markdown/core.py", line 28, in \n File "", line 991, in _find_and_load\n File "", line 975, in _find_and_load_unlocked\n File "", line 671, in _load_unlocked\n File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module\n File "markdown/preprocessors.py", line 30, in \n File "", line 991, in _find_and_load\n File "", line 975, in _find_and_load_unlocked\n File "", line 671, in _load_unlocked\n File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module\n File "markdown/htmlparser.py", line 40, in \n File "", line 553, in module_from_spec\nAttributeError: \'NoneType\' object has no attribute \'loader\'\n[72] Failed to execute script \'fuzz_convert\' due to unhandled exception!\n[PYSECSAN] Starting\n', stderr=b'')) Step #4 - "build-check-libfuzzer-address-x86_64": BAD BUILD: /tmp/not-out/tmp7hp0yoe2/fuzz_convert seems to have either startup crash or exit: Step #4 - "build-check-libfuzzer-address-x86_64": vm.mmap_rnd_bits = 28 Step #4 - "build-check-libfuzzer-address-x86_64": /tmp/not-out/tmp7hp0yoe2/fuzz_convert -rss_limit_mb=2560 -timeout=25 -seed=1337 -runs=4 < /dev/null Step #4 - "build-check-libfuzzer-address-x86_64": Traceback (most recent call last): Step #4 - "build-check-libfuzzer-address-x86_64": File "fuzz_convert.py", line 19, in Step #4 - "build-check-libfuzzer-address-x86_64": File "", line 991, in _find_and_load Step #4 - "build-check-libfuzzer-address-x86_64": File "", line 975, in _find_and_load_unlocked Step #4 - "build-check-libfuzzer-address-x86_64": File "", line 671, in _load_unlocked Step #4 - "build-check-libfuzzer-address-x86_64": File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module Step #4 - "build-check-libfuzzer-address-x86_64": File "markdown/__init__.py", line 42, in Step #4 - "build-check-libfuzzer-address-x86_64": File "", line 991, in _find_and_load Step #4 - "build-check-libfuzzer-address-x86_64": File "", line 975, in _find_and_load_unlocked Step #4 - "build-check-libfuzzer-address-x86_64": File "", line 671, in _load_unlocked Step #4 - "build-check-libfuzzer-address-x86_64": File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module Step #4 - "build-check-libfuzzer-address-x86_64": File "markdown/core.py", line 28, in Step #4 - "build-check-libfuzzer-address-x86_64": File "", line 991, in _find_and_load Step #4 - "build-check-libfuzzer-address-x86_64": File "", line 975, in _find_and_load_unlocked Step #4 - "build-check-libfuzzer-address-x86_64": File "", line 671, in _load_unlocked Step #4 - "build-check-libfuzzer-address-x86_64": File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module Step #4 - "build-check-libfuzzer-address-x86_64": File "markdown/preprocessors.py", line 30, in Step #4 - "build-check-libfuzzer-address-x86_64": File "", line 991, in _find_and_load Step #4 - "build-check-libfuzzer-address-x86_64": File "", line 975, in _find_and_load_unlocked Step #4 - "build-check-libfuzzer-address-x86_64": File "", line 671, in _load_unlocked Step #4 - "build-check-libfuzzer-address-x86_64": File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module Step #4 - "build-check-libfuzzer-address-x86_64": File "markdown/htmlparser.py", line 40, in Step #4 - "build-check-libfuzzer-address-x86_64": File "", line 553, in module_from_spec Step #4 - "build-check-libfuzzer-address-x86_64": AttributeError: 'NoneType' object has no attribute 'loader' Step #4 - "build-check-libfuzzer-address-x86_64": [104] Failed to execute script 'fuzz_convert' due to unhandled exception! Step #4 - "build-check-libfuzzer-address-x86_64": [PYSECSAN] Starting Step #4 - "build-check-libfuzzer-address-x86_64": Step #4 - "build-check-libfuzzer-address-x86_64": ERROR: 100.0% of fuzz targets seem to be broken. See the list above for a detailed information. Step #4 - "build-check-libfuzzer-address-x86_64": ******************************************************************************** Step #4 - "build-check-libfuzzer-address-x86_64": Build checks failed. Step #4 - "build-check-libfuzzer-address-x86_64": To reproduce, run: Step #4 - "build-check-libfuzzer-address-x86_64": python infra/helper.py build_image python-markdown Step #4 - "build-check-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 python-markdown Step #4 - "build-check-libfuzzer-address-x86_64": python infra/helper.py check_build --sanitizer address --engine libfuzzer --architecture x86_64 python-markdown Step #4 - "build-check-libfuzzer-address-x86_64": ******************************************************************************** Finished Step #4 - "build-check-libfuzzer-address-x86_64" ERROR ERROR: build step 4 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1