starting build "501a2511-f8e7-412d-b075-837b56380dbd" 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 8.704kB Step #1: Step 1/7 : 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: e2d79d747ed8: Waiting Step #1: ae4e2bcce13c: Waiting Step #1: 7ebb7f4ef4ba: Waiting Step #1: a3f19c78a4e0: Waiting Step #1: d5a5e8ce33af: Waiting Step #1: 73be63f18a2d: Waiting Step #1: 26e1ff8f4610: Waiting Step #1: ebd8249059d4: Waiting Step #1: f46125ccc6bc: Waiting Step #1: 1e6f40e53d7f: Waiting Step #1: bb416e3a2055: Waiting Step #1: 20b4f3764835: Waiting Step #1: 3cb217e698e8: Waiting Step #1: 17edcc97785b: Waiting Step #1: da6fa1422508: Waiting Step #1: 236229e44656: Waiting Step #1: fff17b067246: Waiting Step #1: e667c6c012a1: Waiting Step #1: 1c6dc0c7729f: Waiting Step #1: 50e898cc1c8e: Waiting Step #1: db7af1b26c60: Waiting Step #1: f96a58b6493f: Waiting Step #1: 5f14f2d5a944: Waiting Step #1: f972795033e0: Waiting Step #1: 955fcbf34e0c: Waiting Step #1: 174afde8b08f: Waiting Step #1: 3d3d7fb65ba7: Waiting Step #1: 45de6e62747b: Waiting Step #1: 076e7ea7d2be: Verifying Checksum Step #1: 076e7ea7d2be: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 955fcbf34e0c: Verifying Checksum Step #1: 955fcbf34e0c: Download complete Step #1: f972795033e0: Verifying Checksum Step #1: f972795033e0: Download complete Step #1: 3d3d7fb65ba7: Verifying Checksum 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: Verifying Checksum Step #1: a3f19c78a4e0: Download complete Step #1: d5a5e8ce33af: Verifying Checksum Step #1: d5a5e8ce33af: Download complete Step #1: 73be63f18a2d: Verifying Checksum Step #1: 73be63f18a2d: Download complete Step #1: b549f31133a9: Pull complete Step #1: 26e1ff8f4610: Verifying Checksum Step #1: 26e1ff8f4610: Download complete Step #1: ebd8249059d4: Verifying Checksum Step #1: ebd8249059d4: Download 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: ae4e2bcce13c: Verifying Checksum Step #1: ae4e2bcce13c: Download complete Step #1: 20b4f3764835: Verifying Checksum Step #1: 20b4f3764835: Download complete Step #1: 3cb217e698e8: Verifying Checksum Step #1: 3cb217e698e8: Download complete Step #1: da6fa1422508: Verifying Checksum Step #1: da6fa1422508: Download complete Step #1: 17edcc97785b: Verifying Checksum Step #1: 17edcc97785b: Download complete 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: 50e898cc1c8e: Verifying Checksum Step #1: 50e898cc1c8e: Download complete Step #1: 1c6dc0c7729f: Verifying Checksum Step #1: 1c6dc0c7729f: Download complete Step #1: db7af1b26c60: Verifying Checksum Step #1: db7af1b26c60: Download complete Step #1: f96a58b6493f: Verifying Checksum Step #1: f96a58b6493f: Download complete Step #1: 174afde8b08f: Verifying Checksum Step #1: 174afde8b08f: 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/7 : RUN git clone --depth 1 --branch main https://github.com/mozilla/bleach.git Step #1: ---> Running in a89d57700f2c Step #1: Cloning into 'bleach'... Step #1: Removing intermediate container a89d57700f2c Step #1: ---> 5a70f6329c4f Step #1: Step 3/7 : WORKDIR bleach Step #1: ---> Running in 1d33f23ac547 Step #1: Removing intermediate container 1d33f23ac547 Step #1: ---> b0cd89c3e594 Step #1: Step 4/7 : RUN git clone --depth 1 https://github.com/google/fuzzing Step #1: ---> Running in 682c1c57b062 Step #1: Cloning into 'fuzzing'... Step #1: Removing intermediate container 682c1c57b062 Step #1: ---> 436d7de8cfa9 Step #1: Step 5/7 : RUN cat fuzzing/dictionaries/html.dict > $OUT/linkify_fuzzer.dict Step #1: ---> Running in 5406a2af866c Step #1: Removing intermediate container 5406a2af866c Step #1: ---> 529517b0115c Step #1: Step 6/7 : RUN cat fuzzing/dictionaries/html.dict > $OUT/sanitize_fuzzer.dict Step #1: ---> Running in 884eafbcb6f8 Step #1: Removing intermediate container 884eafbcb6f8 Step #1: ---> 9d7ed36942c0 Step #1: Step 7/7 : COPY build.sh sanitize_fuzzer.py linkify_fuzzer.py $SRC/ Step #1: ---> 9fcecfc7f479 Step #1: Successfully built 9fcecfc7f479 Step #1: Successfully tagged gcr.io/oss-fuzz/bleach:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/bleach Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/file7wx20N 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/bleach/.git Step #2 - "srcmap": + GIT_DIR=/src/bleach Step #2 - "srcmap": + cd /src/bleach Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/mozilla/bleach.git Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=f8fb8482687df63d158d6eccfa2a8153ab467367 Step #2 - "srcmap": + jq_inplace /tmp/file7wx20N '."/src/bleach" = { type: "git", url: "https://github.com/mozilla/bleach.git", rev: "f8fb8482687df63d158d6eccfa2a8153ab467367" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filePOgvic Step #2 - "srcmap": + cat /tmp/file7wx20N Step #2 - "srcmap": + jq '."/src/bleach" = { type: "git", url: "https://github.com/mozilla/bleach.git", rev: "f8fb8482687df63d158d6eccfa2a8153ab467367" }' Step #2 - "srcmap": + mv /tmp/filePOgvic /tmp/file7wx20N Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /src/bleach/fuzzing/.git Step #2 - "srcmap": + GIT_DIR=/src/bleach/fuzzing Step #2 - "srcmap": + cd /src/bleach/fuzzing Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/google/fuzzing Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=41d7725e6a12ec2e0a89b68fafacb4bb5af8fac7 Step #2 - "srcmap": + jq_inplace /tmp/file7wx20N '."/src/bleach/fuzzing" = { type: "git", url: "https://github.com/google/fuzzing", rev: "41d7725e6a12ec2e0a89b68fafacb4bb5af8fac7" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filesAtUFJ Step #2 - "srcmap": + cat /tmp/file7wx20N Step #2 - "srcmap": + jq '."/src/bleach/fuzzing" = { type: "git", url: "https://github.com/google/fuzzing", rev: "41d7725e6a12ec2e0a89b68fafacb4bb5af8fac7" }' Step #2 - "srcmap": + mv /tmp/filesAtUFJ /tmp/file7wx20N 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/file7wx20N Step #2 - "srcmap": + rm /tmp/file7wx20N Step #2 - "srcmap": { Step #2 - "srcmap": "/src/bleach": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/mozilla/bleach.git", Step #2 - "srcmap": "rev": "f8fb8482687df63d158d6eccfa2a8153ab467367" Step #2 - "srcmap": }, Step #2 - "srcmap": "/src/bleach/fuzzing": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/google/fuzzing", Step #2 - "srcmap": "rev": "41d7725e6a12ec2e0a89b68fafacb4bb5af8fac7" 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/bleach Step #3 - "compile-libfuzzer-address-x86_64": Requirement already satisfied: six>=1.9.0 in /usr/local/lib/python3.8/site-packages (from bleach==6.1.0) (1.15.0) Step #3 - "compile-libfuzzer-address-x86_64": Collecting webencodings (from bleach==6.1.0) Step #3 - "compile-libfuzzer-address-x86_64": Downloading https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl Step #3 - "compile-libfuzzer-address-x86_64": Installing collected packages: webencodings, bleach Step #3 - "compile-libfuzzer-address-x86_64": Running setup.py install for bleach ... [?25l- \ done Step #3 - "compile-libfuzzer-address-x86_64": [?25hSuccessfully installed bleach-6.1.0 webencodings-0.5.1 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": ++ 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/linkify_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_path=/src/linkify_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": + shift 1 Step #3 - "compile-libfuzzer-address-x86_64": ++ basename -s .py /src/linkify_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_basename=linkify_fuzzer Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_package=linkify_fuzzer.pkg Step #3 - "compile-libfuzzer-address-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//linkify_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": + [[ 0 != \0 ]] Step #3 - "compile-libfuzzer-address-x86_64": + rm -rf /src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + mkdir /src/pyfuzzworkdir/ /src/pyfuzzworkdir//linkify_fuzzer Step #3 - "compile-libfuzzer-address-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-address-x86_64 --workpath=/src/pyfuzzworkdir//linkify_fuzzer --onefile --name linkify_fuzzer.pkg /src/linkify_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": 53 INFO: PyInstaller: 5.0.1 Step #3 - "compile-libfuzzer-address-x86_64": 53 INFO: Python: 3.8.3 Step #3 - "compile-libfuzzer-address-x86_64": 54 INFO: Platform: Linux-5.10.0-27-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 54 INFO: wrote /src/bleach/linkify_fuzzer.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 56 INFO: UPX is not available. Step #3 - "compile-libfuzzer-address-x86_64": 58 INFO: Extending PYTHONPATH with paths Step #3 - "compile-libfuzzer-address-x86_64": ['/src'] Step #3 - "compile-libfuzzer-address-x86_64": 30 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": 242 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 242 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 242 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 244 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 247 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 2723 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": 2724 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 4233 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 4361 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 4384 INFO: Analyzing /src/linkify_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": 4648 INFO: Processing pre-safe import module hook six.moves from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-six.moves.py'. Step #3 - "compile-libfuzzer-address-x86_64": 5392 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 5392 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 5393 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5400 INFO: Loading module hook 'hook-xml.dom.domreg.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5401 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5402 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5403 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": 5403 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5403 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5446 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5446 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5448 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": 5460 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 5464 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 5467 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": 5469 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": 5471 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": 5474 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": 5481 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 6344 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 6344 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 6347 INFO: Warnings written to /src/pyfuzzworkdir//linkify_fuzzer/linkify_fuzzer.pkg/warn-linkify_fuzzer.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 6374 INFO: Graph cross-reference written to /src/pyfuzzworkdir//linkify_fuzzer/linkify_fuzzer.pkg/xref-linkify_fuzzer.pkg.html Step #3 - "compile-libfuzzer-address-x86_64": 6388 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 6388 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 6388 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//linkify_fuzzer/linkify_fuzzer.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 6811 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//linkify_fuzzer/linkify_fuzzer.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 6816 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 6817 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 6817 INFO: Building PKG (CArchive) linkify_fuzzer.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 13659 INFO: Building PKG (CArchive) linkify_fuzzer.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 13662 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 13662 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 13662 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 13662 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 13662 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/linkify_fuzzer.pkg Step #3 - "compile-libfuzzer-address-x86_64": 13662 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 13719 INFO: Building EXE from EXE-00.toc completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": + chmod -x /workspace/out/libfuzzer-address-x86_64/linkify_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/linkify_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/linkify_fuzzer.pkg $@' Step #3 - "compile-libfuzzer-address-x86_64": + chmod +x /workspace/out/libfuzzer-address-x86_64/linkify_fuzzer 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/sanitize_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_path=/src/sanitize_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": + shift 1 Step #3 - "compile-libfuzzer-address-x86_64": ++ basename -s .py /src/sanitize_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_basename=sanitize_fuzzer Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_package=sanitize_fuzzer.pkg Step #3 - "compile-libfuzzer-address-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//sanitize_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": + [[ 0 != \0 ]] Step #3 - "compile-libfuzzer-address-x86_64": + rm -rf /src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + mkdir /src/pyfuzzworkdir/ /src/pyfuzzworkdir//sanitize_fuzzer Step #3 - "compile-libfuzzer-address-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-address-x86_64 --workpath=/src/pyfuzzworkdir//sanitize_fuzzer --onefile --name sanitize_fuzzer.pkg /src/sanitize_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": 52 INFO: PyInstaller: 5.0.1 Step #3 - "compile-libfuzzer-address-x86_64": 52 INFO: Python: 3.8.3 Step #3 - "compile-libfuzzer-address-x86_64": 53 INFO: Platform: Linux-5.10.0-27-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 53 INFO: wrote /src/bleach/sanitize_fuzzer.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 55 INFO: UPX is not available. Step #3 - "compile-libfuzzer-address-x86_64": 57 INFO: Extending PYTHONPATH with paths Step #3 - "compile-libfuzzer-address-x86_64": ['/src'] Step #3 - "compile-libfuzzer-address-x86_64": 7 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": 217 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 217 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": 223 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 2679 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": 2679 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 4252 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 4378 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 4400 INFO: Analyzing /src/sanitize_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": 4661 INFO: Processing pre-safe import module hook six.moves from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-six.moves.py'. Step #3 - "compile-libfuzzer-address-x86_64": 5410 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 5410 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 5411 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5419 INFO: Loading module hook 'hook-xml.dom.domreg.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5420 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5421 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5422 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": 5422 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5423 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5466 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5466 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5467 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": 5480 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 5484 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 5487 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": 5489 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": 5491 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": 5494 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": 5501 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 6370 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 6370 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 6374 INFO: Warnings written to /src/pyfuzzworkdir//sanitize_fuzzer/sanitize_fuzzer.pkg/warn-sanitize_fuzzer.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 6400 INFO: Graph cross-reference written to /src/pyfuzzworkdir//sanitize_fuzzer/sanitize_fuzzer.pkg/xref-sanitize_fuzzer.pkg.html Step #3 - "compile-libfuzzer-address-x86_64": 6408 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 6408 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 6408 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//sanitize_fuzzer/sanitize_fuzzer.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 6830 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//sanitize_fuzzer/sanitize_fuzzer.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 6835 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 6835 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 6835 INFO: Building PKG (CArchive) sanitize_fuzzer.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 13656 INFO: Building PKG (CArchive) sanitize_fuzzer.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 13658 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 13658 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 13658 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 13659 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 13659 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/sanitize_fuzzer.pkg Step #3 - "compile-libfuzzer-address-x86_64": 13659 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 13714 INFO: Building EXE from EXE-00.toc completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": + chmod -x /workspace/out/libfuzzer-address-x86_64/sanitize_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/sanitize_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/sanitize_fuzzer.pkg $@' Step #3 - "compile-libfuzzer-address-x86_64": + chmod +x /workspace/out/libfuzzer-address-x86_64/sanitize_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": 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": b981ea28643a: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 0d80090e4d10: 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": 11beb6e5e983: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 6da9817935dd: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 1a5430d9da5c: 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: Verifying Checksum 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": 31dcf48b8b3c: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 40df21b34b6e: Download 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": 7d0504eb26f4: Pull 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": 8155837b9b6e: 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": 1a5430d9da5c: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 1a5430d9da5c: 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": 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: Verifying Checksum 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/tmpld2vepr8/sanitize_fuzzer Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpld2vepr8/linkify_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/bleach Step #6: adding: linkify_fuzzer (deflated 33%) Step #6: adding: linkify_fuzzer.pkg (deflated 1%) Step #6: adding: llvm-symbolizer (deflated 64%) Step #6: adding: sanitize_fuzzer (deflated 35%) Step #6: adding: sanitize_fuzzer.pkg (deflated 1%) Step #6: adding: sanitizer_with_fuzzer.so (deflated 66%) 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: 6b33fd031fac: Waiting Step #7: 7eb39101e508: Waiting Step #7: 89257482f398: Waiting Step #7: 0062f774e994: Waiting Step #7: 5c9125a401ae: Verifying Checksum Step #7: 5c9125a401ae: Download complete Step #7: d4fceeeb758e: Verifying Checksum Step #7: d4fceeeb758e: Download complete Step #7: 0062f774e994: Verifying Checksum Step #7: 0062f774e994: Download complete Step #7: 6b33fd031fac: Verifying Checksum Step #7: 6b33fd031fac: Download complete Step #7: 89257482f398: Verifying Checksum Step #7: 89257482f398: Download complete Step #7: c62795f78da9: Verifying Checksum Step #7: c62795f78da9: Download complete Step #7: 7eb39101e508: Verifying Checksum Step #7: 7eb39101e508: Download complete Step #7: c62795f78da9: Pull complete Step #7: d4fceeeb758e: Pull complete Step #7: 5c9125a401ae: Pull complete Step #7: 0062f774e994: Pull complete Step #7: 6b33fd031fac: Pull complete Step #7: 7eb39101e508: Pull complete Step #7: 89257482f398: Pull complete Step #7: Digest: sha256:5717ba63d13b5515063e2a6ccad09fb5bf32a86c8e0798a363d81c2be522e411 Step #7: Status: Downloaded newer image for gcr.io/oss-fuzz-base/uploader:latest Step #7: gcr.io/oss-fuzz-base/uploader:latest Step #7: % Total % Received % Xferd Average Speed Time Time Time Current Step #7: Dload Upload Total Spent Left Speed Step #7: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 0 0 100 305 0 1642 --:--:-- --:--:-- --:--:-- 1648 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 22 37.1M 0 0 22 8656k 0 79.2M --:--:-- --:--:-- --:--:-- 79.0M 100 37.1M 0 0 100 37.1M 0 87.0M --:--:-- --:--:-- --:--:-- 86.8M 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 31 0 0 100 31 0 151 --:--:-- --:--:-- --:--:-- 150 100 31 0 0 100 31 0 99 --:--:-- --:--:-- --:--:-- 99 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 31 0 0 100 31 0 155 --:--:-- --:--:-- --:--:-- 156 100 31 0 0 100 31 0 155 --:--:-- --:--:-- --:--:-- 156 Finished Step #10 Starting Step #11 Step #11: Already have image: gcr.io/oss-fuzz/bleach 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": 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 -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,leak,vptr, Step #12 - "compile-libfuzzer-undefined-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -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/bleach Step #12 - "compile-libfuzzer-undefined-x86_64": Requirement already satisfied: six>=1.9.0 in /usr/local/lib/python3.8/site-packages (from bleach==6.1.0) (1.15.0) Step #12 - "compile-libfuzzer-undefined-x86_64": Collecting webencodings (from bleach==6.1.0) Step #12 - "compile-libfuzzer-undefined-x86_64": Downloading https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl Step #12 - "compile-libfuzzer-undefined-x86_64": Installing collected packages: webencodings, bleach Step #12 - "compile-libfuzzer-undefined-x86_64": Running setup.py install for bleach ... [?25l- \ done Step #12 - "compile-libfuzzer-undefined-x86_64": [?25hSuccessfully installed bleach-6.1.0 webencodings-0.5.1 Step #12 - "compile-libfuzzer-undefined-x86_64": WARNING: You are using pip version 19.2.3, however version 24.0 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": ++ 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/linkify_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_path=/src/linkify_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": + shift 1 Step #12 - "compile-libfuzzer-undefined-x86_64": ++ basename -s .py /src/linkify_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_basename=linkify_fuzzer Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_package=linkify_fuzzer.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #12 - "compile-libfuzzer-undefined-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//linkify_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//linkify_fuzzer Step #12 - "compile-libfuzzer-undefined-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-undefined-x86_64 --workpath=/src/pyfuzzworkdir//linkify_fuzzer --onefile --name linkify_fuzzer.pkg /src/linkify_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": 51 INFO: PyInstaller: 5.0.1 Step #12 - "compile-libfuzzer-undefined-x86_64": 52 INFO: Python: 3.8.3 Step #12 - "compile-libfuzzer-undefined-x86_64": 52 INFO: Platform: Linux-5.10.0-27-cloud-amd64-x86_64-with-glibc2.2.5 Step #12 - "compile-libfuzzer-undefined-x86_64": 53 INFO: wrote /src/bleach/linkify_fuzzer.pkg.spec Step #12 - "compile-libfuzzer-undefined-x86_64": 55 INFO: UPX is not available. Step #12 - "compile-libfuzzer-undefined-x86_64": 57 INFO: Extending PYTHONPATH with paths Step #12 - "compile-libfuzzer-undefined-x86_64": ['/src'] Step #12 - "compile-libfuzzer-undefined-x86_64": 8 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 #12 - "compile-libfuzzer-undefined-x86_64": 218 INFO: checking Analysis Step #12 - "compile-libfuzzer-undefined-x86_64": 219 INFO: Building Analysis because Analysis-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 219 INFO: Initializing module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 220 INFO: Caching module graph hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 224 INFO: Analyzing base_library.zip ... Step #12 - "compile-libfuzzer-undefined-x86_64": 2426 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": 2427 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #12 - "compile-libfuzzer-undefined-x86_64": 4471 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 4596 INFO: running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 4619 INFO: Analyzing /src/linkify_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": 4884 INFO: Processing pre-safe import module hook six.moves from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-six.moves.py'. Step #12 - "compile-libfuzzer-undefined-x86_64": 5689 INFO: Processing module hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 5690 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5691 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5699 INFO: Loading module hook 'hook-xml.dom.domreg.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5699 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5701 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5702 INFO: Loading module hook 'hook-xml.etree.cElementTree.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5702 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5703 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5746 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5746 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5748 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": 5759 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 5764 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 5767 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": 5769 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": 5771 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": 5774 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": 5781 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 6668 INFO: Looking for eggs Step #12 - "compile-libfuzzer-undefined-x86_64": 6668 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 6672 INFO: Warnings written to /src/pyfuzzworkdir//linkify_fuzzer/linkify_fuzzer.pkg/warn-linkify_fuzzer.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 6700 INFO: Graph cross-reference written to /src/pyfuzzworkdir//linkify_fuzzer/linkify_fuzzer.pkg/xref-linkify_fuzzer.pkg.html Step #12 - "compile-libfuzzer-undefined-x86_64": 6714 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 6714 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 6714 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//linkify_fuzzer/linkify_fuzzer.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 7138 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//linkify_fuzzer/linkify_fuzzer.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 7143 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 7143 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 7143 INFO: Building PKG (CArchive) linkify_fuzzer.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 13987 INFO: Building PKG (CArchive) linkify_fuzzer.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 13990 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 13990 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 13990 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 13990 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 13990 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/linkify_fuzzer.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 13990 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 14041 INFO: Building EXE from EXE-00.toc completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod -x /workspace/out/libfuzzer-undefined-x86_64/linkify_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/linkify_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/linkify_fuzzer.pkg $@' Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod +x /workspace/out/libfuzzer-undefined-x86_64/linkify_fuzzer 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/sanitize_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_path=/src/sanitize_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": + shift 1 Step #12 - "compile-libfuzzer-undefined-x86_64": ++ basename -s .py /src/sanitize_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_basename=sanitize_fuzzer Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_package=sanitize_fuzzer.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #12 - "compile-libfuzzer-undefined-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//sanitize_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//sanitize_fuzzer Step #12 - "compile-libfuzzer-undefined-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-undefined-x86_64 --workpath=/src/pyfuzzworkdir//sanitize_fuzzer --onefile --name sanitize_fuzzer.pkg /src/sanitize_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": 51 INFO: PyInstaller: 5.0.1 Step #12 - "compile-libfuzzer-undefined-x86_64": 51 INFO: Python: 3.8.3 Step #12 - "compile-libfuzzer-undefined-x86_64": 52 INFO: Platform: Linux-5.10.0-27-cloud-amd64-x86_64-with-glibc2.2.5 Step #12 - "compile-libfuzzer-undefined-x86_64": 53 INFO: wrote /src/bleach/sanitize_fuzzer.pkg.spec Step #12 - "compile-libfuzzer-undefined-x86_64": 55 INFO: UPX is not available. Step #12 - "compile-libfuzzer-undefined-x86_64": 56 INFO: Extending PYTHONPATH with paths Step #12 - "compile-libfuzzer-undefined-x86_64": ['/src'] Step #12 - "compile-libfuzzer-undefined-x86_64": 30 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 #12 - "compile-libfuzzer-undefined-x86_64": 244 INFO: checking Analysis Step #12 - "compile-libfuzzer-undefined-x86_64": 244 INFO: Building Analysis because Analysis-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 244 INFO: Initializing module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 246 INFO: Caching module graph hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 249 INFO: Analyzing base_library.zip ... Step #12 - "compile-libfuzzer-undefined-x86_64": 2771 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": 2771 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #12 - "compile-libfuzzer-undefined-x86_64": 4224 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 4349 INFO: running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 4371 INFO: Analyzing /src/sanitize_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": 4633 INFO: Processing pre-safe import module hook six.moves from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-six.moves.py'. Step #12 - "compile-libfuzzer-undefined-x86_64": 5386 INFO: Processing module hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 5386 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5387 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5395 INFO: Loading module hook 'hook-xml.dom.domreg.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5395 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5396 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5398 INFO: Loading module hook 'hook-xml.etree.cElementTree.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5398 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5398 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5442 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5442 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5443 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": 5455 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 5459 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 5463 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": 5464 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": 5467 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": 5469 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": 5477 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 6361 INFO: Looking for eggs Step #12 - "compile-libfuzzer-undefined-x86_64": 6361 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 6365 INFO: Warnings written to /src/pyfuzzworkdir//sanitize_fuzzer/sanitize_fuzzer.pkg/warn-sanitize_fuzzer.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 6392 INFO: Graph cross-reference written to /src/pyfuzzworkdir//sanitize_fuzzer/sanitize_fuzzer.pkg/xref-sanitize_fuzzer.pkg.html Step #12 - "compile-libfuzzer-undefined-x86_64": 6400 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 6400 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 6400 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//sanitize_fuzzer/sanitize_fuzzer.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 6826 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//sanitize_fuzzer/sanitize_fuzzer.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 6831 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 6831 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 6831 INFO: Building PKG (CArchive) sanitize_fuzzer.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 13655 INFO: Building PKG (CArchive) sanitize_fuzzer.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 13658 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 13658 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 13658 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 13658 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 13658 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/sanitize_fuzzer.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 13658 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 13716 INFO: Building EXE from EXE-00.toc completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod -x /workspace/out/libfuzzer-undefined-x86_64/sanitize_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/sanitize_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/sanitize_fuzzer.pkg $@' Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod +x /workspace/out/libfuzzer-undefined-x86_64/sanitize_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/tmpu_i371ob/sanitize_fuzzer Step #13 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpu_i371ob/linkify_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/bleach Step #15: adding: linkify_fuzzer (deflated 33%) Step #15: adding: linkify_fuzzer.pkg (deflated 1%) Step #15: adding: llvm-symbolizer (deflated 64%) Step #15: adding: sanitize_fuzzer (deflated 35%) Step #15: adding: sanitize_fuzzer.pkg (deflated 1%) Step #15: adding: sanitizer_with_fuzzer.so (deflated 64%) 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 305 0 0 100 305 0 1600 --:--:-- --:--:-- --:--:-- 1605 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 36.5M 0 0 100 36.5M 0 71.1M --:--:-- --:--:-- --:--:-- 71.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 31 0 0 100 31 0 124 --:--:-- --:--:-- --:--:-- 125 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 33 0 0 100 33 0 206 --:--:-- --:--:-- --:--:-- 204 100 33 0 0 100 33 0 206 --:--:-- --:--:-- --:--:-- 204 Finished Step #19 Starting Step #20 Step #20: Already have image: gcr.io/oss-fuzz/bleach Finished Step #20 PUSH DONE