starting build "d689e393-7dbc-4767-8240-32cd75815113" 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: 81271cf7a52d: Pulling fs layer Step #1: 076e7ea7d2be: Pulling fs layer Step #1: f972795033e0: Pulling fs layer Step #1: 955fcbf34e0c: Pulling fs layer Step #1: 3d3d7fb65ba7: Pulling fs layer Step #1: 174afde8b08f: Pulling fs layer Step #1: 45de6e62747b: Pulling fs layer Step #1: e2d79d747ed8: Pulling fs layer Step #1: ae4e2bcce13c: Pulling fs layer Step #1: 7ebb7f4ef4ba: Pulling fs layer Step #1: a3f19c78a4e0: Pulling fs layer Step #1: d5a5e8ce33af: Pulling fs layer Step #1: 73be63f18a2d: Pulling fs layer Step #1: 26e1ff8f4610: Pulling fs layer Step #1: ebd8249059d4: Pulling fs layer Step #1: f46125ccc6bc: Pulling fs layer Step #1: 1e6f40e53d7f: Pulling fs layer Step #1: bb416e3a2055: Pulling fs layer Step #1: 20b4f3764835: Pulling fs layer Step #1: 3cb217e698e8: Pulling fs layer Step #1: 17edcc97785b: Pulling fs layer Step #1: da6fa1422508: Pulling fs layer Step #1: 236229e44656: Pulling fs layer Step #1: fff17b067246: Pulling fs layer Step #1: e667c6c012a1: Pulling fs layer Step #1: 1c6dc0c7729f: Pulling fs layer Step #1: 50e898cc1c8e: Pulling fs layer Step #1: db7af1b26c60: Pulling fs layer Step #1: f96a58b6493f: Pulling fs layer Step #1: 5f14f2d5a944: Pulling fs layer Step #1: f972795033e0: Waiting Step #1: 955fcbf34e0c: Waiting Step #1: 3d3d7fb65ba7: Waiting Step #1: bb416e3a2055: Waiting Step #1: 174afde8b08f: Waiting Step #1: 20b4f3764835: Waiting Step #1: 45de6e62747b: Waiting Step #1: 3cb217e698e8: Waiting Step #1: e2d79d747ed8: Waiting Step #1: ae4e2bcce13c: Waiting Step #1: 17edcc97785b: Waiting Step #1: 7ebb7f4ef4ba: Waiting Step #1: da6fa1422508: Waiting Step #1: a3f19c78a4e0: Waiting Step #1: 236229e44656: Waiting Step #1: d5a5e8ce33af: Waiting Step #1: fff17b067246: Waiting Step #1: 73be63f18a2d: Waiting Step #1: e667c6c012a1: Waiting Step #1: 1c6dc0c7729f: Waiting Step #1: 26e1ff8f4610: Waiting Step #1: 50e898cc1c8e: Waiting Step #1: ebd8249059d4: Waiting Step #1: f46125ccc6bc: Waiting Step #1: db7af1b26c60: Waiting Step #1: 1e6f40e53d7f: Waiting Step #1: f96a58b6493f: Waiting Step #1: 5f14f2d5a944: Waiting Step #1: 076e7ea7d2be: Verifying Checksum Step #1: 076e7ea7d2be: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: f972795033e0: Verifying Checksum Step #1: f972795033e0: Download complete Step #1: 955fcbf34e0c: Verifying Checksum Step #1: 955fcbf34e0c: Download complete Step #1: 3d3d7fb65ba7: Download complete Step #1: 45de6e62747b: Verifying Checksum Step #1: 45de6e62747b: Download complete Step #1: e2d79d747ed8: Verifying Checksum Step #1: e2d79d747ed8: Download complete Step #1: 81271cf7a52d: Verifying Checksum Step #1: 81271cf7a52d: Download complete Step #1: 7ebb7f4ef4ba: Verifying Checksum Step #1: 7ebb7f4ef4ba: Download complete Step #1: a3f19c78a4e0: Download complete Step #1: d5a5e8ce33af: Verifying Checksum Step #1: d5a5e8ce33af: Download complete Step #1: 73be63f18a2d: Download complete Step #1: 26e1ff8f4610: Verifying Checksum Step #1: 26e1ff8f4610: Download complete Step #1: ebd8249059d4: Download complete Step #1: b549f31133a9: Pull complete Step #1: f46125ccc6bc: Verifying Checksum Step #1: f46125ccc6bc: Download complete Step #1: 1e6f40e53d7f: Verifying Checksum Step #1: 1e6f40e53d7f: Download complete Step #1: bb416e3a2055: Verifying Checksum Step #1: bb416e3a2055: Download complete Step #1: 20b4f3764835: Verifying Checksum Step #1: 20b4f3764835: Download complete Step #1: ae4e2bcce13c: Verifying Checksum Step #1: ae4e2bcce13c: Download complete Step #1: 3cb217e698e8: Verifying Checksum Step #1: 3cb217e698e8: Download complete Step #1: 17edcc97785b: Verifying Checksum Step #1: 17edcc97785b: Download complete Step #1: da6fa1422508: Verifying Checksum Step #1: da6fa1422508: Download complete Step #1: 236229e44656: Verifying Checksum Step #1: 236229e44656: Download complete Step #1: fff17b067246: Verifying Checksum Step #1: fff17b067246: Download complete Step #1: e667c6c012a1: Verifying Checksum Step #1: e667c6c012a1: Download complete Step #1: 1c6dc0c7729f: Verifying Checksum Step #1: 1c6dc0c7729f: Download complete Step #1: 50e898cc1c8e: Verifying Checksum Step #1: 50e898cc1c8e: Download complete Step #1: 174afde8b08f: Verifying Checksum Step #1: 174afde8b08f: Download complete Step #1: db7af1b26c60: Verifying Checksum Step #1: db7af1b26c60: Download complete Step #1: f96a58b6493f: Verifying Checksum Step #1: f96a58b6493f: Download complete Step #1: 5f14f2d5a944: Verifying Checksum Step #1: 5f14f2d5a944: Download complete Step #1: 81271cf7a52d: Pull complete Step #1: 076e7ea7d2be: Pull complete Step #1: f972795033e0: Pull complete Step #1: 955fcbf34e0c: Pull complete Step #1: 3d3d7fb65ba7: Pull complete Step #1: 174afde8b08f: Pull complete Step #1: 45de6e62747b: Pull complete Step #1: e2d79d747ed8: Pull complete Step #1: ae4e2bcce13c: Pull complete Step #1: 7ebb7f4ef4ba: Pull complete Step #1: a3f19c78a4e0: Pull complete Step #1: d5a5e8ce33af: Pull complete Step #1: 73be63f18a2d: Pull complete Step #1: 26e1ff8f4610: Pull complete Step #1: ebd8249059d4: Pull complete Step #1: f46125ccc6bc: Pull complete Step #1: 1e6f40e53d7f: Pull complete Step #1: bb416e3a2055: Pull complete Step #1: 20b4f3764835: Pull complete Step #1: 3cb217e698e8: Pull complete Step #1: 17edcc97785b: Pull complete Step #1: da6fa1422508: Pull complete Step #1: 236229e44656: Pull complete Step #1: fff17b067246: Pull complete Step #1: e667c6c012a1: Pull complete Step #1: 1c6dc0c7729f: Pull complete Step #1: 50e898cc1c8e: Pull complete Step #1: db7af1b26c60: Pull complete Step #1: f96a58b6493f: Pull complete Step #1: 5f14f2d5a944: Pull complete Step #1: Digest: sha256:c030cd8381f6db00d004f295580b7a72b0d4301cd0ccfa8e3597658394ee1b4f Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> dc4e9bdad619 Step #1: Step 2/4 : RUN git clone https://github.com/python-markdown/markdown markdown Step #1: ---> Running in 543d848f233b Step #1: Cloning into 'markdown'... Step #1: Removing intermediate container 543d848f233b Step #1: ---> 0d80217439d9 Step #1: Step 3/4 : COPY *.sh *py $SRC/ Step #1: ---> 70cfe8d5d127 Step #1: Step 4/4 : WORKDIR $SRC/markdown Step #1: ---> Running in 21467c003b72 Step #1: Removing intermediate container 21467c003b72 Step #1: ---> 919cc476c262 Step #1: Successfully built 919cc476c262 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/fileTRh32P 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=421f1e88ff4661b4433b97ec57b040a2a74e5aed Step #2 - "srcmap": + jq_inplace /tmp/fileTRh32P '."/src/markdown" = { type: "git", url: "https://github.com/python-markdown/markdown", rev: "421f1e88ff4661b4433b97ec57b040a2a74e5aed" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filejyxjt9 Step #2 - "srcmap": + cat /tmp/fileTRh32P Step #2 - "srcmap": + jq '."/src/markdown" = { type: "git", url: "https://github.com/python-markdown/markdown", rev: "421f1e88ff4661b4433b97ec57b040a2a74e5aed" }' Step #2 - "srcmap": + mv /tmp/filejyxjt9 /tmp/fileTRh32P 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/fileTRh32P Step #2 - "srcmap": + rm /tmp/fileTRh32P 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": "421f1e88ff4661b4433b97ec57b040a2a74e5aed" 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": 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.5.2) (7.0.1) 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.5.2) (3.17.0) 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.5.2-cp38-none-any.whl size=103962 sha256=9441b30b9218870e9b7e9e58b54d9edccd9a0e162dc329fc2b293f71b5e03145 Step #3 - "compile-libfuzzer-address-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-vqecftae/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.5.2 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/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": copying pysecsan/__init__.py -> build/lib/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": creating build/bdist.linux-x86_64 Step #3 - "compile-libfuzzer-address-x86_64": creating build/bdist.linux-x86_64/egg Step #3 - "compile-libfuzzer-address-x86_64": creating build/bdist.linux-x86_64/egg/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying build/lib/pysecsan/yaml_deserialization.py -> build/bdist.linux-x86_64/egg/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying build/lib/pysecsan/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": copying build/lib/pysecsan/__init__.py -> build/bdist.linux-x86_64/egg/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": byte-compiling build/bdist.linux-x86_64/egg/pysecsan/yaml_deserialization.py to yaml_deserialization.cpython-38.pyc Step #3 - "compile-libfuzzer-address-x86_64": byte-compiling build/bdist.linux-x86_64/egg/pysecsan/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": byte-compiling build/bdist.linux-x86_64/egg/pysecsan/__init__.py to __init__.cpython-38.pyc Step #3 - "compile-libfuzzer-address-x86_64": creating build/bdist.linux-x86_64/egg/EGG-INFO Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO Step #3 - "compile-libfuzzer-address-x86_64": zip_safe flag not set; analyzing archive contents... Step #3 - "compile-libfuzzer-address-x86_64": creating dist Step #3 - "compile-libfuzzer-address-x86_64": creating 'dist/pysecsan-0.1-py3.8.egg' and adding 'build/bdist.linux-x86_64/egg' to it Step #3 - "compile-libfuzzer-address-x86_64": removing 'build/bdist.linux-x86_64/egg' (and everything under it) Step #3 - "compile-libfuzzer-address-x86_64": Processing pysecsan-0.1-py3.8.egg Step #3 - "compile-libfuzzer-address-x86_64": Copying pysecsan-0.1-py3.8.egg to /usr/local/lib/python3.8/site-packages Step #3 - "compile-libfuzzer-address-x86_64": Adding pysecsan 0.1 to easy-install.pth file Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": Installed /usr/local/lib/python3.8/site-packages/pysecsan-0.1-py3.8.egg Step #3 - "compile-libfuzzer-address-x86_64": Processing dependencies for pysecsan==0.1 Step #3 - "compile-libfuzzer-address-x86_64": Finished processing dependencies for pysecsan==0.1 Step #3 - "compile-libfuzzer-address-x86_64": + popd Step #3 - "compile-libfuzzer-address-x86_64": /src/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": 47 INFO: PyInstaller: 5.0.1 Step #3 - "compile-libfuzzer-address-x86_64": 47 INFO: Python: 3.8.3 Step #3 - "compile-libfuzzer-address-x86_64": 48 INFO: Platform: Linux-5.10.0-27-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 48 INFO: wrote /src/markdown/fuzz_convert.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 51 INFO: UPX is not available. Step #3 - "compile-libfuzzer-address-x86_64": 52 INFO: Extending PYTHONPATH with paths Step #3 - "compile-libfuzzer-address-x86_64": ['/src'] Step #3 - "compile-libfuzzer-address-x86_64": 28 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": 218 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 218 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 218 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 219 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 222 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 2522 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": 2523 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 3902 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 4024 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 4048 INFO: Analyzing /src/fuzz_convert.py Step #3 - "compile-libfuzzer-address-x86_64": 4386 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 4386 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 4387 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4395 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4396 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4397 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": 4397 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": 4398 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4399 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4436 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4614 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4615 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": 4628 INFO: checking Tree Step #3 - "compile-libfuzzer-address-x86_64": 4629 INFO: Building Tree because Tree-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 4629 INFO: Building Tree Tree-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 4629 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 4634 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 4637 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": 4638 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": 4640 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": 4642 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": 4649 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 5536 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 5536 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 5540 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_convert/fuzz_convert.pkg/warn-fuzz_convert.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 5563 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": 5575 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 5575 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 5575 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_convert/fuzz_convert.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 5941 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_convert/fuzz_convert.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 5945 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 5945 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 5945 INFO: Building PKG (CArchive) fuzz_convert.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 11309 INFO: Building PKG (CArchive) fuzz_convert.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 11312 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 11312 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 11312 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 11312 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 11312 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_convert.pkg Step #3 - "compile-libfuzzer-address-x86_64": 11312 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 11364 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": 81271cf7a52d: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 076e7ea7d2be: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 31dcf48b8b3c: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 7d0504eb26f4: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 8155837b9b6e: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": b981ea28643a: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 0d80090e4d10: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 40df21b34b6e: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": d77fafe1f614: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 170e46022092: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 1f9826e811f7: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": fa8f1fe6cbd5: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 8d2b0d37b71a: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 1a5430d9da5c: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 6da9817935dd: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 11beb6e5e983: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 40df21b34b6e: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": d77fafe1f614: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 170e46022092: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 1f9826e811f7: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": fa8f1fe6cbd5: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 8d2b0d37b71a: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 1a5430d9da5c: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 6da9817935dd: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 11beb6e5e983: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": b981ea28643a: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 0d80090e4d10: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 8155837b9b6e: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 8155837b9b6e: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 31dcf48b8b3c: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 31dcf48b8b3c: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 7d0504eb26f4: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 0d80090e4d10: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 0d80090e4d10: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 40df21b34b6e: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 40df21b34b6e: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 31dcf48b8b3c: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": d77fafe1f614: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": d77fafe1f614: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 1f9826e811f7: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 1f9826e811f7: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 170e46022092: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 170e46022092: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 7d0504eb26f4: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 8d2b0d37b71a: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 8d2b0d37b71a: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b981ea28643a: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": b981ea28643a: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 8155837b9b6e: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 1a5430d9da5c: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 1a5430d9da5c: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 11beb6e5e983: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 11beb6e5e983: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": fa8f1fe6cbd5: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": fa8f1fe6cbd5: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 6da9817935dd: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b981ea28643a: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 0d80090e4d10: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 40df21b34b6e: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": d77fafe1f614: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 170e46022092: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 1f9826e811f7: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": fa8f1fe6cbd5: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 8d2b0d37b71a: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 1a5430d9da5c: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 6da9817935dd: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 11beb6e5e983: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": Digest: sha256:7675d12c9093c87bf4cb1b9f9b6ec584eddf024f0dedde02cc1944f2d5b8b5e5 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/tmp7f8t75vo/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/tmp7f8t75vo/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/tmp7f8t75vo/fuzz_convert', CompletedProcess(args=['bad_build_check', '/tmp/not-out/tmp7f8t75vo/fuzz_convert'], returncode=1, stdout=b'BAD BUILD: /tmp/not-out/tmp7f8t75vo/fuzz_convert seems to have either startup crash or exit:\n/tmp/not-out/tmp7f8t75vo/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[71] 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/tmp7f8t75vo/fuzz_convert seems to have either startup crash or exit: Step #4 - "build-check-libfuzzer-address-x86_64": /tmp/not-out/tmp7f8t75vo/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": [102] 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