starting build "4d1de621-7ea3-4f20-bfb8-fe0c151605ff" 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/5 : FROM gcr.io/oss-fuzz-base/base-builder-python Step #1: latest: Pulling from oss-fuzz-base/base-builder-python Step #1: b549f31133a9: Pulling fs layer Step #1: 8726513ee210: Pulling fs layer Step #1: 7054a7cd5879: Pulling fs layer Step #1: fa4207b84c31: Pulling fs layer Step #1: c9e16898e54d: Pulling fs layer Step #1: a397e481ff57: Pulling fs layer Step #1: 7f90ecb8e4d6: Pulling fs layer Step #1: ce26b4380d46: Pulling fs layer Step #1: 5dc6edc3cf5f: Pulling fs layer Step #1: 5173cde1bd66: Pulling fs layer Step #1: 1e34e18e386e: Pulling fs layer Step #1: da35800ee821: Pulling fs layer Step #1: 8c2556f55b93: Pulling fs layer Step #1: bf4f02a303d8: Pulling fs layer Step #1: bfc41af53bee: Pulling fs layer Step #1: ee19cad5d6c8: Pulling fs layer Step #1: 43fb6ebaf28e: Pulling fs layer Step #1: e2bf934a1fde: Pulling fs layer Step #1: 67ae2060248d: Pulling fs layer Step #1: eccb1330175b: Pulling fs layer Step #1: 20f0bfcb2bcb: Pulling fs layer Step #1: 0f18c7482fde: Pulling fs layer Step #1: f931609958c7: Pulling fs layer Step #1: 7384719a7753: Pulling fs layer Step #1: b840ccdb7eeb: Pulling fs layer Step #1: c9e16898e54d: Waiting Step #1: cbffa59180b5: Pulling fs layer Step #1: 3291b748342a: Pulling fs layer Step #1: a397e481ff57: Waiting Step #1: ef31bd35b792: Pulling fs layer Step #1: 7f90ecb8e4d6: Waiting Step #1: b1256746ef70: Pulling fs layer Step #1: 5173cde1bd66: Waiting Step #1: ce1ee8b7110e: Pulling fs layer Step #1: 1bbdcbbd8481: Pulling fs layer Step #1: 1e34e18e386e: Waiting Step #1: 1933c895cdb1: Pulling fs layer Step #1: 90835bbe9867: Pulling fs layer Step #1: e2bf934a1fde: Waiting Step #1: 67ae2060248d: Waiting Step #1: eccb1330175b: Waiting Step #1: 20f0bfcb2bcb: Waiting Step #1: ce26b4380d46: Waiting Step #1: 0f18c7482fde: Waiting Step #1: bfc41af53bee: Waiting Step #1: f931609958c7: Waiting Step #1: da35800ee821: Waiting Step #1: ee19cad5d6c8: Waiting Step #1: 7384719a7753: Waiting Step #1: 8c2556f55b93: Waiting Step #1: 43fb6ebaf28e: Waiting Step #1: b840ccdb7eeb: Waiting Step #1: bf4f02a303d8: Waiting Step #1: cbffa59180b5: Waiting Step #1: 1bbdcbbd8481: Waiting Step #1: 3291b748342a: Waiting Step #1: 1933c895cdb1: Waiting Step #1: 5dc6edc3cf5f: Waiting Step #1: fa4207b84c31: Waiting Step #1: ef31bd35b792: Waiting Step #1: b1256746ef70: Waiting Step #1: ce1ee8b7110e: Waiting Step #1: 90835bbe9867: Waiting Step #1: 7054a7cd5879: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: fa4207b84c31: Verifying Checksum Step #1: fa4207b84c31: Download complete Step #1: c9e16898e54d: Verifying Checksum Step #1: c9e16898e54d: Download complete Step #1: a397e481ff57: Verifying Checksum Step #1: a397e481ff57: Download complete Step #1: ce26b4380d46: Download complete Step #1: 5dc6edc3cf5f: Download complete Step #1: 8726513ee210: Verifying Checksum Step #1: 8726513ee210: Download complete Step #1: 1e34e18e386e: Verifying Checksum Step #1: 1e34e18e386e: Download complete Step #1: da35800ee821: Download complete Step #1: b549f31133a9: Pull complete Step #1: 8c2556f55b93: Verifying Checksum Step #1: 8c2556f55b93: Download complete Step #1: bf4f02a303d8: Verifying Checksum Step #1: bf4f02a303d8: Download complete Step #1: bfc41af53bee: Download complete Step #1: ee19cad5d6c8: Verifying Checksum Step #1: ee19cad5d6c8: Download complete Step #1: 43fb6ebaf28e: Download complete Step #1: e2bf934a1fde: Verifying Checksum Step #1: e2bf934a1fde: Download complete Step #1: 67ae2060248d: Verifying Checksum Step #1: 67ae2060248d: Download complete Step #1: 5173cde1bd66: Verifying Checksum Step #1: eccb1330175b: Verifying Checksum Step #1: eccb1330175b: Download complete Step #1: 20f0bfcb2bcb: Verifying Checksum Step #1: 20f0bfcb2bcb: Download complete Step #1: f931609958c7: Verifying Checksum Step #1: f931609958c7: Download complete Step #1: 0f18c7482fde: Verifying Checksum Step #1: 0f18c7482fde: Download complete Step #1: 7384719a7753: Verifying Checksum Step #1: 7384719a7753: Download complete Step #1: b840ccdb7eeb: Verifying Checksum Step #1: b840ccdb7eeb: Download complete Step #1: cbffa59180b5: Verifying Checksum Step #1: cbffa59180b5: Download complete Step #1: 3291b748342a: Verifying Checksum Step #1: 3291b748342a: Download complete Step #1: ef31bd35b792: Verifying Checksum Step #1: ef31bd35b792: Download complete Step #1: ce1ee8b7110e: Verifying Checksum Step #1: ce1ee8b7110e: Download complete Step #1: b1256746ef70: Verifying Checksum Step #1: b1256746ef70: Download complete Step #1: 1bbdcbbd8481: Verifying Checksum Step #1: 1bbdcbbd8481: Download complete Step #1: 1933c895cdb1: Verifying Checksum Step #1: 1933c895cdb1: Download complete Step #1: 7f90ecb8e4d6: Verifying Checksum Step #1: 7f90ecb8e4d6: Download complete Step #1: 90835bbe9867: Verifying Checksum Step #1: 90835bbe9867: Download complete Step #1: 8726513ee210: Pull complete Step #1: 7054a7cd5879: Pull complete Step #1: fa4207b84c31: Pull complete Step #1: c9e16898e54d: Pull complete Step #1: a397e481ff57: Pull complete Step #1: 7f90ecb8e4d6: Pull complete Step #1: ce26b4380d46: Pull complete Step #1: 5dc6edc3cf5f: Pull complete Step #1: 5173cde1bd66: Pull complete Step #1: 1e34e18e386e: Pull complete Step #1: da35800ee821: Pull complete Step #1: 8c2556f55b93: Pull complete Step #1: bf4f02a303d8: Pull complete Step #1: bfc41af53bee: Pull complete Step #1: ee19cad5d6c8: Pull complete Step #1: 43fb6ebaf28e: Pull complete Step #1: e2bf934a1fde: Pull complete Step #1: 67ae2060248d: Pull complete Step #1: eccb1330175b: Pull complete Step #1: 20f0bfcb2bcb: Pull complete Step #1: 0f18c7482fde: Pull complete Step #1: f931609958c7: Pull complete Step #1: 7384719a7753: Pull complete Step #1: b840ccdb7eeb: Pull complete Step #1: cbffa59180b5: Pull complete Step #1: 3291b748342a: Pull complete Step #1: ef31bd35b792: Pull complete Step #1: b1256746ef70: Pull complete Step #1: ce1ee8b7110e: Pull complete Step #1: 1bbdcbbd8481: Pull complete Step #1: 1933c895cdb1: Pull complete Step #1: 90835bbe9867: Pull complete Step #1: Digest: sha256:5848c0f46065c033fcafc3df186a27fd60f314a645d7aa6469905af9da98f94b Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> 501e35d6ccf4 Step #1: Step 2/5 : RUN git clone --depth 1 --branch main https://github.com/mozilla/bleach.git Step #1: ---> Running in 1d325bae4195 Step #1: Cloning into 'bleach'... Step #1: Removing intermediate container 1d325bae4195 Step #1: ---> bdad078d82ba Step #1: Step 3/5 : WORKDIR bleach Step #1: ---> Running in a90e2fa8696c Step #1: Removing intermediate container a90e2fa8696c Step #1: ---> dc2f8157c306 Step #1: Step 4/5 : RUN git clone --depth 1 https://github.com/google/fuzzing Step #1: ---> Running in 498f8612b81a Step #1: Cloning into 'fuzzing'... Step #1: Removing intermediate container 498f8612b81a Step #1: ---> 2a30b5d6acd0 Step #1: Step 5/5 : COPY build.sh sanitize_fuzzer.py linkify_fuzzer.py $SRC/ Step #1: ---> da1b99546273 Step #1: Successfully built da1b99546273 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/fileEUIPeN 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=4bc1bff36841c04152525b8e57fd3740f34ec796 Step #2 - "srcmap": + jq_inplace /tmp/fileEUIPeN '."/src/bleach" = { type: "git", url: "https://github.com/mozilla/bleach.git", rev: "4bc1bff36841c04152525b8e57fd3740f34ec796" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filesWTnra Step #2 - "srcmap": + cat /tmp/fileEUIPeN Step #2 - "srcmap": + jq '."/src/bleach" = { type: "git", url: "https://github.com/mozilla/bleach.git", rev: "4bc1bff36841c04152525b8e57fd3740f34ec796" }' Step #2 - "srcmap": + mv /tmp/filesWTnra /tmp/fileEUIPeN 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=b3c247b292e67a96eeca5b812b284f042ceea948 Step #2 - "srcmap": + jq_inplace /tmp/fileEUIPeN '."/src/bleach/fuzzing" = { type: "git", url: "https://github.com/google/fuzzing", rev: "b3c247b292e67a96eeca5b812b284f042ceea948" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filedwpJgJ Step #2 - "srcmap": + cat /tmp/fileEUIPeN Step #2 - "srcmap": + jq '."/src/bleach/fuzzing" = { type: "git", url: "https://github.com/google/fuzzing", rev: "b3c247b292e67a96eeca5b812b284f042ceea948" }' Step #2 - "srcmap": + mv /tmp/filedwpJgJ /tmp/fileEUIPeN 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/fileEUIPeN Step #2 - "srcmap": + rm /tmp/fileEUIPeN 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": "4bc1bff36841c04152525b8e57fd3740f34ec796" 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": "b3c247b292e67a96eeca5b812b284f042ceea948" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-address-x86_64" Step #3 - "compile-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-address-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": CC=clang Step #3 - "compile-libfuzzer-address-x86_64": CXX=clang++ Step #3 - "compile-libfuzzer-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -fno-sanitize=function,leak,vptr, Step #3 - "compile-libfuzzer-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ -fno-sanitize=function,leak,vptr Step #3 - "compile-libfuzzer-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": + pip3 install . Step #3 - "compile-libfuzzer-address-x86_64": Processing /src/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.1.2 is available. Step #3 - "compile-libfuzzer-address-x86_64": You should consider upgrading via the 'pip install --upgrade pip' command. Step #3 - "compile-libfuzzer-address-x86_64": ++ 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": 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-30-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 49 INFO: wrote /src/bleach/linkify_fuzzer.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 51 INFO: UPX is not available. Step #3 - "compile-libfuzzer-address-x86_64": 53 INFO: Extending PYTHONPATH with paths Step #3 - "compile-libfuzzer-address-x86_64": ['/src'] Step #3 - "compile-libfuzzer-address-x86_64": 232 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 232 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 232 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 233 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 241 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 2422 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": 2422 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 3851 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 3972 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 3996 INFO: Analyzing /src/linkify_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": 4208 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": 4861 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 4862 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 4863 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": 4863 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4872 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4873 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": 4874 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4913 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4915 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4915 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4916 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": 4917 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 4928 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 4931 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 4935 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": 4936 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": 4938 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": 4941 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": 4949 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 5808 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 5808 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 5811 INFO: Warnings written to /src/pyfuzzworkdir//linkify_fuzzer/linkify_fuzzer.pkg/warn-linkify_fuzzer.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 5835 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": 5846 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 5846 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 5846 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//linkify_fuzzer/linkify_fuzzer.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 6205 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//linkify_fuzzer/linkify_fuzzer.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 6210 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 6210 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 6210 INFO: Building PKG (CArchive) linkify_fuzzer.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 11742 INFO: Building PKG (CArchive) linkify_fuzzer.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 11744 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 11745 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 11745 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 11745 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 11745 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/linkify_fuzzer.pkg Step #3 - "compile-libfuzzer-address-x86_64": 11745 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 11805 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": 48 INFO: PyInstaller: 5.0.1 Step #3 - "compile-libfuzzer-address-x86_64": 48 INFO: Python: 3.8.3 Step #3 - "compile-libfuzzer-address-x86_64": 49 INFO: Platform: Linux-5.10.0-30-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 49 INFO: wrote /src/bleach/sanitize_fuzzer.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 51 INFO: UPX is not available. Step #3 - "compile-libfuzzer-address-x86_64": 53 INFO: Extending PYTHONPATH with paths Step #3 - "compile-libfuzzer-address-x86_64": ['/src'] Step #3 - "compile-libfuzzer-address-x86_64": 232 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 232 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 232 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 234 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 241 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 2259 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": 2260 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 4179 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 4300 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 4323 INFO: Analyzing /src/sanitize_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": 4548 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": 5226 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 5227 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 5228 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": 5228 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5235 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5236 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": 5236 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5275 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5277 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5277 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5278 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": 5279 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5290 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 5293 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 5297 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": 5298 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": 5300 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": 5302 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": 5309 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 6174 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 6174 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 6178 INFO: Warnings written to /src/pyfuzzworkdir//sanitize_fuzzer/sanitize_fuzzer.pkg/warn-sanitize_fuzzer.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 6202 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": 6208 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 6208 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 6208 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//sanitize_fuzzer/sanitize_fuzzer.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 6566 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//sanitize_fuzzer/sanitize_fuzzer.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 6570 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 6571 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 6571 INFO: Building PKG (CArchive) sanitize_fuzzer.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 12108 INFO: Building PKG (CArchive) sanitize_fuzzer.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 12110 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 12110 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 12110 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 12110 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 12110 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/sanitize_fuzzer.pkg Step #3 - "compile-libfuzzer-address-x86_64": 12111 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 12174 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 Step #3 - "compile-libfuzzer-address-x86_64": + cp fuzzing/dictionaries/html.dict /workspace/out/libfuzzer-address-x86_64/linkify_fuzzer.dict Step #3 - "compile-libfuzzer-address-x86_64": + cp fuzzing/dictionaries/html.dict /workspace/out/libfuzzer-address-x86_64/sanitize_fuzzer.dict Finished Step #3 - "compile-libfuzzer-address-x86_64" Starting Step #4 - "build-check-libfuzzer-address-x86_64" Step #4 - "build-check-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #4 - "build-check-libfuzzer-address-x86_64": Unable to find image 'gcr.io/oss-fuzz-base/base-runner:latest' locally Step #4 - "build-check-libfuzzer-address-x86_64": latest: Pulling from oss-fuzz-base/base-runner Step #4 - "build-check-libfuzzer-address-x86_64": b549f31133a9: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 8726513ee210: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 7054a7cd5879: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": f739589ce639: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": b2322709fa19: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": ec3daab22494: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 25b017c9085d: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 6d8064d22942: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 2c5826f03939: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 5342ef9d65f0: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": bf550828fd45: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 6653c9292bbf: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": b1b96c73e874: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 30e213053f23: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 0c00a16d8aaa: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 0468880b53a6: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": fe12524a520c: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 222eb0282449: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 242151016182: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 6e1ab450e78e: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 2c5826f03939: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 5342ef9d65f0: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": bf550828fd45: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 6653c9292bbf: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": b1b96c73e874: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 30e213053f23: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 0c00a16d8aaa: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 0468880b53a6: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": fe12524a520c: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 222eb0282449: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 242151016182: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 6e1ab450e78e: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 25b017c9085d: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 6d8064d22942: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": ec3daab22494: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": ec3daab22494: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": f739589ce639: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": f739589ce639: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b2322709fa19: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": b2322709fa19: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 2c5826f03939: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 2c5826f03939: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 6d8064d22942: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 6d8064d22942: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": f739589ce639: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 5342ef9d65f0: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 5342ef9d65f0: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 6653c9292bbf: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 6653c9292bbf: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b2322709fa19: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": ec3daab22494: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": bf550828fd45: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": bf550828fd45: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 30e213053f23: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 30e213053f23: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 25b017c9085d: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 25b017c9085d: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 0c00a16d8aaa: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b1b96c73e874: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": b1b96c73e874: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 222eb0282449: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 222eb0282449: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 242151016182: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 242151016182: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 0468880b53a6: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 0468880b53a6: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 6e1ab450e78e: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 6e1ab450e78e: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": fe12524a520c: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": fe12524a520c: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 25b017c9085d: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 6d8064d22942: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 2c5826f03939: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 5342ef9d65f0: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": bf550828fd45: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 6653c9292bbf: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": b1b96c73e874: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 30e213053f23: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 0c00a16d8aaa: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 0468880b53a6: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": fe12524a520c: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 222eb0282449: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 242151016182: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 6e1ab450e78e: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": Digest: sha256:d621363d499310ec5bc7b44d62ff87d43cb095b1d56c74cf68d189ea6487d961 Step #4 - "build-check-libfuzzer-address-x86_64": Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-runner:latest Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpfsxl5v9b/sanitize_fuzzer Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpfsxl5v9b/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.dict (deflated 66%) Step #6: adding: linkify_fuzzer.pkg (deflated 1%) Step #6: adding: llvm-symbolizer (deflated 66%) Step #6: adding: sanitize_fuzzer (deflated 35%) Step #6: adding: sanitize_fuzzer.dict (deflated 66%) Step #6: adding: sanitize_fuzzer.pkg (deflated 1%) Step #6: adding: sanitizer_with_fuzzer.so (deflated 67%) Finished Step #6 Starting Step #7 Step #7: Pulling image: gcr.io/oss-fuzz-base/uploader Step #7: Using default tag: latest Step #7: latest: Pulling from oss-fuzz-base/uploader Step #7: c62795f78da9: Pulling fs layer Step #7: d4fceeeb758e: Pulling fs layer Step #7: 5c9125a401ae: Pulling fs layer Step #7: 0062f774e994: Pulling fs layer Step #7: 6b33fd031fac: Pulling fs layer Step #7: 7eb39101e508: Pulling fs layer Step #7: 89257482f398: Pulling fs layer Step #7: 0062f774e994: Waiting Step #7: 6b33fd031fac: Waiting Step #7: 7eb39101e508: Waiting Step #7: 89257482f398: Waiting Step #7: d4fceeeb758e: Download complete Step #7: 5c9125a401ae: Verifying Checksum Step #7: 5c9125a401ae: Download complete Step #7: 6b33fd031fac: Verifying Checksum Step #7: 6b33fd031fac: Download complete Step #7: 0062f774e994: 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 1698 --:--:-- --:--:-- --:--:-- 1703 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 32 38.3M 0 0 32 12.3M 0 91.5M --:--:-- --:--:-- --:--:-- 91.2M 100 38.3M 0 0 100 38.3M 0 69.0M --:--:-- --:--:-- --:--:-- 68.9M 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 31 0 0 100 31 0 101 --:--:-- --:--:-- --:--:-- 101 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 149 --:--:-- --:--:-- --:--:-- 149 100 31 0 0 100 31 0 136 --:--:-- --:--:-- --:--:-- 136 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": vm.mmap_rnd_bits = 28 Step #12 - "compile-libfuzzer-undefined-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #12 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #12 - "compile-libfuzzer-undefined-x86_64": CC=clang Step #12 - "compile-libfuzzer-undefined-x86_64": CXX=clang++ Step #12 - "compile-libfuzzer-undefined-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function -fno-sanitize=function,leak,vptr, Step #12 - "compile-libfuzzer-undefined-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -stdlib=libc++ -fno-sanitize=function,leak,vptr Step #12 - "compile-libfuzzer-undefined-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers Step #12 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #12 - "compile-libfuzzer-undefined-x86_64": + pip3 install . Step #12 - "compile-libfuzzer-undefined-x86_64": Processing /src/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.1.2 is available. Step #12 - "compile-libfuzzer-undefined-x86_64": You should consider upgrading via the 'pip install --upgrade pip' command. Step #12 - "compile-libfuzzer-undefined-x86_64": ++ 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": 45 INFO: PyInstaller: 5.0.1 Step #12 - "compile-libfuzzer-undefined-x86_64": 45 INFO: Python: 3.8.3 Step #12 - "compile-libfuzzer-undefined-x86_64": 46 INFO: Platform: Linux-5.10.0-30-cloud-amd64-x86_64-with-glibc2.2.5 Step #12 - "compile-libfuzzer-undefined-x86_64": 46 INFO: wrote /src/bleach/linkify_fuzzer.pkg.spec Step #12 - "compile-libfuzzer-undefined-x86_64": 49 INFO: UPX is not available. Step #12 - "compile-libfuzzer-undefined-x86_64": 50 INFO: Extending PYTHONPATH with paths Step #12 - "compile-libfuzzer-undefined-x86_64": ['/src'] Step #12 - "compile-libfuzzer-undefined-x86_64": 226 INFO: checking Analysis Step #12 - "compile-libfuzzer-undefined-x86_64": 226 INFO: Building Analysis because Analysis-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 226 INFO: Initializing module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 228 INFO: Caching module graph hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 235 INFO: Analyzing base_library.zip ... Step #12 - "compile-libfuzzer-undefined-x86_64": 2491 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": 2492 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #12 - "compile-libfuzzer-undefined-x86_64": 3888 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 4006 INFO: running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 4030 INFO: Analyzing /src/linkify_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": 4257 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": 4910 INFO: Processing module hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 4911 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4912 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": 4912 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4920 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4921 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": 4922 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4958 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4959 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4960 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4961 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": 4962 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4974 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 4978 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 4981 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": 4982 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": 4984 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": 4987 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": 4994 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 5854 INFO: Looking for eggs Step #12 - "compile-libfuzzer-undefined-x86_64": 5854 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 5858 INFO: Warnings written to /src/pyfuzzworkdir//linkify_fuzzer/linkify_fuzzer.pkg/warn-linkify_fuzzer.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 5884 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": 5895 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 5896 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 5896 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//linkify_fuzzer/linkify_fuzzer.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 6256 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//linkify_fuzzer/linkify_fuzzer.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 6261 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 6261 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 6261 INFO: Building PKG (CArchive) linkify_fuzzer.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 11787 INFO: Building PKG (CArchive) linkify_fuzzer.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 11789 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 11789 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 11789 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 11789 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 11789 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/linkify_fuzzer.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 11789 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 11848 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": 48 INFO: PyInstaller: 5.0.1 Step #12 - "compile-libfuzzer-undefined-x86_64": 48 INFO: Python: 3.8.3 Step #12 - "compile-libfuzzer-undefined-x86_64": 49 INFO: Platform: Linux-5.10.0-30-cloud-amd64-x86_64-with-glibc2.2.5 Step #12 - "compile-libfuzzer-undefined-x86_64": 49 INFO: wrote /src/bleach/sanitize_fuzzer.pkg.spec Step #12 - "compile-libfuzzer-undefined-x86_64": 51 INFO: UPX is not available. Step #12 - "compile-libfuzzer-undefined-x86_64": 52 INFO: Extending PYTHONPATH with paths Step #12 - "compile-libfuzzer-undefined-x86_64": ['/src'] Step #12 - "compile-libfuzzer-undefined-x86_64": 235 INFO: checking Analysis Step #12 - "compile-libfuzzer-undefined-x86_64": 236 INFO: Building Analysis because Analysis-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 236 INFO: Initializing module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 237 INFO: Caching module graph hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 245 INFO: Analyzing base_library.zip ... Step #12 - "compile-libfuzzer-undefined-x86_64": 2511 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": 2512 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #12 - "compile-libfuzzer-undefined-x86_64": 3854 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 3976 INFO: running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 4000 INFO: Analyzing /src/sanitize_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": 4240 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": 4865 INFO: Processing module hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 4866 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4867 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": 4867 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4873 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4874 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": 4874 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4913 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4914 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4915 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4915 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": 4916 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 4927 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 4930 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 4933 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": 4935 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": 4937 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": 4939 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": 4945 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 5787 INFO: Looking for eggs Step #12 - "compile-libfuzzer-undefined-x86_64": 5787 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 5791 INFO: Warnings written to /src/pyfuzzworkdir//sanitize_fuzzer/sanitize_fuzzer.pkg/warn-sanitize_fuzzer.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 5817 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": 5823 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 5824 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 5824 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//sanitize_fuzzer/sanitize_fuzzer.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 6184 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//sanitize_fuzzer/sanitize_fuzzer.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 6188 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 6188 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 6188 INFO: Building PKG (CArchive) sanitize_fuzzer.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 11704 INFO: Building PKG (CArchive) sanitize_fuzzer.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 11706 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 11706 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 11706 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 11706 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 11706 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/sanitize_fuzzer.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 11706 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 11769 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 Step #12 - "compile-libfuzzer-undefined-x86_64": + cp fuzzing/dictionaries/html.dict /workspace/out/libfuzzer-undefined-x86_64/linkify_fuzzer.dict Step #12 - "compile-libfuzzer-undefined-x86_64": + cp fuzzing/dictionaries/html.dict /workspace/out/libfuzzer-undefined-x86_64/sanitize_fuzzer.dict 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/tmpa0c26_u3/sanitize_fuzzer Step #13 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa0c26_u3/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.dict (deflated 66%) Step #15: adding: linkify_fuzzer.pkg (deflated 1%) Step #15: adding: llvm-symbolizer (deflated 66%) Step #15: adding: sanitize_fuzzer (deflated 35%) Step #15: adding: sanitize_fuzzer.dict (deflated 66%) Step #15: adding: sanitize_fuzzer.pkg (deflated 1%) Step #15: adding: sanitizer_with_fuzzer.so (deflated 65%) Finished Step #15 Starting Step #16 Step #16: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #16: % Total % Received % Xferd Average Speed Time Time Time Current Step #16: Dload Upload Total Spent Left Speed Step #16: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 0 0 100 305 0 1732 --:--:-- --:--:-- --:--:-- 1742 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 86 37.6M 0 0 86 32.7M 0 151M --:--:-- --:--:-- --:--:-- 150M 100 37.6M 0 0 100 37.6M 0 81.9M --:--:-- --:--:-- --:--:-- 81.9M 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 151 --:--:-- --:--:-- --:--:-- 151 100 31 0 0 100 31 0 115 --:--:-- --:--:-- --:--:-- 115 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 166 --:--:-- --:--:-- --:--:-- 166 Finished Step #19 Starting Step #20 Step #20: Already have image: gcr.io/oss-fuzz/bleach Finished Step #20 PUSH DONE