starting build "a39fbb73-cc1f-490b-837d-6c11e6b0123f" 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 10.75kB Step #1: Step 1/6 : FROM gcr.io/oss-fuzz-base/base-builder-python Step #1: latest: Pulling from oss-fuzz-base/base-builder-python Step #1: b549f31133a9: Pulling fs layer Step #1: 8726513ee210: Pulling fs layer Step #1: 7054a7cd5879: Pulling fs layer Step #1: fa4207b84c31: Pulling fs layer Step #1: c9e16898e54d: Pulling fs layer Step #1: a397e481ff57: Pulling fs layer Step #1: 7f90ecb8e4d6: Pulling fs layer Step #1: ce26b4380d46: Pulling fs layer Step #1: 5dc6edc3cf5f: Pulling fs layer Step #1: 5173cde1bd66: Pulling fs layer Step #1: 1e34e18e386e: Pulling fs layer Step #1: da35800ee821: Pulling fs layer Step #1: 8c2556f55b93: Pulling fs layer Step #1: bf4f02a303d8: Pulling fs layer Step #1: bfc41af53bee: Pulling fs layer Step #1: ee19cad5d6c8: Pulling fs layer Step #1: 43fb6ebaf28e: Pulling fs layer Step #1: e2bf934a1fde: Pulling fs layer Step #1: 67ae2060248d: Pulling fs layer Step #1: eccb1330175b: Pulling fs layer Step #1: 20f0bfcb2bcb: Pulling fs layer Step #1: 0f18c7482fde: Pulling fs layer Step #1: f931609958c7: Pulling fs layer Step #1: 7384719a7753: Pulling fs layer Step #1: b840ccdb7eeb: Pulling fs layer Step #1: cbffa59180b5: Pulling fs layer Step #1: 3291b748342a: Pulling fs layer Step #1: ef31bd35b792: Pulling fs layer Step #1: b1256746ef70: Pulling fs layer Step #1: ce1ee8b7110e: Pulling fs layer Step #1: 1bbdcbbd8481: Pulling fs layer Step #1: 1933c895cdb1: Pulling fs layer Step #1: 90835bbe9867: Pulling fs layer Step #1: fa4207b84c31: Waiting Step #1: 7f90ecb8e4d6: Waiting Step #1: ce26b4380d46: Waiting Step #1: 8c2556f55b93: Waiting Step #1: ee19cad5d6c8: Waiting Step #1: cbffa59180b5: Waiting Step #1: 3291b748342a: Waiting Step #1: 1bbdcbbd8481: Waiting Step #1: ef31bd35b792: Waiting Step #1: 7384719a7753: Waiting Step #1: 1933c895cdb1: Waiting Step #1: 20f0bfcb2bcb: Waiting Step #1: 43fb6ebaf28e: Waiting Step #1: bfc41af53bee: Waiting Step #1: b1256746ef70: Waiting Step #1: ce1ee8b7110e: Waiting Step #1: da35800ee821: Waiting Step #1: 1e34e18e386e: Waiting Step #1: 90835bbe9867: Waiting Step #1: 5173cde1bd66: Waiting Step #1: b840ccdb7eeb: Waiting Step #1: 67ae2060248d: Waiting Step #1: 5dc6edc3cf5f: Waiting Step #1: e2bf934a1fde: Waiting Step #1: 0f18c7482fde: Waiting Step #1: a397e481ff57: Waiting Step #1: 7054a7cd5879: Verifying Checksum Step #1: 7054a7cd5879: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: c9e16898e54d: Verifying Checksum Step #1: c9e16898e54d: Download complete Step #1: fa4207b84c31: Verifying Checksum Step #1: fa4207b84c31: Download complete Step #1: a397e481ff57: Verifying Checksum Step #1: a397e481ff57: Download complete Step #1: ce26b4380d46: Download complete Step #1: 5dc6edc3cf5f: Verifying Checksum 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: b549f31133a9: Pull complete Step #1: da35800ee821: Download complete Step #1: 8c2556f55b93: Verifying Checksum Step #1: 8c2556f55b93: Download complete Step #1: bf4f02a303d8: Verifying Checksum Step #1: bf4f02a303d8: Download complete Step #1: bfc41af53bee: Verifying Checksum Step #1: bfc41af53bee: Download complete Step #1: ee19cad5d6c8: Verifying Checksum Step #1: ee19cad5d6c8: Download complete Step #1: 43fb6ebaf28e: Verifying Checksum Step #1: 43fb6ebaf28e: Download complete Step #1: e2bf934a1fde: Verifying Checksum Step #1: e2bf934a1fde: Download complete Step #1: 67ae2060248d: Verifying Checksum Step #1: 67ae2060248d: Download complete Step #1: 5173cde1bd66: Verifying Checksum Step #1: 5173cde1bd66: Download complete 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: 1bbdcbbd8481: Verifying Checksum Step #1: 1bbdcbbd8481: Download complete Step #1: b1256746ef70: Verifying Checksum Step #1: b1256746ef70: Download complete Step #1: 1933c895cdb1: Download complete Step #1: 90835bbe9867: Verifying Checksum Step #1: 90835bbe9867: Download complete Step #1: 7f90ecb8e4d6: Verifying Checksum 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/6 : RUN git clone --depth 1 --branch master https://github.com/pygments/pygments.git Step #1: ---> Running in ba6c3c998f36 Step #1: Cloning into 'pygments'... Step #1: Removing intermediate container ba6c3c998f36 Step #1: ---> c76a6bb26267 Step #1: Step 3/6 : RUN python3 -m pip install --upgrade pip Step #1: ---> Running in 176300dd2f24 Step #1: Collecting pip Step #1: Downloading https://files.pythonhosted.org/packages/e7/54/0c1c068542cee73d8863336e974fc881e608d0170f3af15d0c0f28644531/pip-24.1.2-py3-none-any.whl (1.8MB) Step #1: Installing collected packages: pip Step #1: Found existing installation: pip 19.2.3 Step #1: Uninstalling pip-19.2.3: Step #1: Successfully uninstalled pip-19.2.3 Step #1: Successfully installed pip-24.1.2 Step #1: Removing intermediate container 176300dd2f24 Step #1: ---> bbd200a71949 Step #1: Step 4/6 : WORKDIR pygments Step #1: ---> Running in a9acd66ddeaa Step #1: Removing intermediate container a9acd66ddeaa Step #1: ---> a041f170bcfb Step #1: Step 5/6 : RUN git clone --depth 1 https://github.com/google/fuzzing Step #1: ---> Running in 32d7ff7fdb72 Step #1: Cloning into 'fuzzing'... Step #1: Removing intermediate container 32d7ff7fdb72 Step #1: ---> 5c545de7ff3a Step #1: Step 6/6 : COPY build.sh fuzz_guesser.py fuzz_lexers.py $SRC/ Step #1: ---> 39207400e373 Step #1: Successfully built 39207400e373 Step #1: Successfully tagged gcr.io/oss-fuzz/pygments:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/pygments Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileTh6nZL 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/pygments/.git Step #2 - "srcmap": + GIT_DIR=/src/pygments Step #2 - "srcmap": + cd /src/pygments Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/pygments/pygments.git Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=35732f8a538ed7faa9ca90d48bb02ae882793bef Step #2 - "srcmap": + jq_inplace /tmp/fileTh6nZL '."/src/pygments" = { type: "git", url: "https://github.com/pygments/pygments.git", rev: "35732f8a538ed7faa9ca90d48bb02ae882793bef" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filewMTkab Step #2 - "srcmap": + cat /tmp/fileTh6nZL Step #2 - "srcmap": + jq '."/src/pygments" = { type: "git", url: "https://github.com/pygments/pygments.git", rev: "35732f8a538ed7faa9ca90d48bb02ae882793bef" }' Step #2 - "srcmap": + mv /tmp/filewMTkab /tmp/fileTh6nZL Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /src/pygments/fuzzing/.git Step #2 - "srcmap": + GIT_DIR=/src/pygments/fuzzing Step #2 - "srcmap": + cd /src/pygments/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/fileTh6nZL '."/src/pygments/fuzzing" = { type: "git", url: "https://github.com/google/fuzzing", rev: "b3c247b292e67a96eeca5b812b284f042ceea948" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileZdP3RH Step #2 - "srcmap": + cat /tmp/fileTh6nZL Step #2 - "srcmap": + jq '."/src/pygments/fuzzing" = { type: "git", url: "https://github.com/google/fuzzing", rev: "b3c247b292e67a96eeca5b812b284f042ceea948" }' Step #2 - "srcmap": + mv /tmp/fileZdP3RH /tmp/fileTh6nZL 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/fileTh6nZL Step #2 - "srcmap": + rm /tmp/fileTh6nZL Step #2 - "srcmap": { Step #2 - "srcmap": "/src/pygments": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/pygments/pygments.git", Step #2 - "srcmap": "rev": "35732f8a538ed7faa9ca90d48bb02ae882793bef" Step #2 - "srcmap": }, Step #2 - "srcmap": "/src/pygments/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": + python3 -m pip install . Step #3 - "compile-libfuzzer-address-x86_64": Processing /src/pygments Step #3 - "compile-libfuzzer-address-x86_64": Installing build dependencies ... [?25l- \ | / - \ | done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Getting requirements to build wheel ... [?25ldone Step #3 - "compile-libfuzzer-address-x86_64": [?25h Preparing metadata (pyproject.toml) ... [?25ldone Step #3 - "compile-libfuzzer-address-x86_64": [?25hBuilding wheels for collected packages: Pygments Step #3 - "compile-libfuzzer-address-x86_64": Building wheel for Pygments (pyproject.toml) ... [?25ldone Step #3 - "compile-libfuzzer-address-x86_64": [?25h Created wheel for Pygments: filename=pygments-2.18.0-py3-none-any.whl size=1205798 sha256=405276856b10ead466229aa19e10b81ef0619783089f90e46fc830644cb7d013 Step #3 - "compile-libfuzzer-address-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-6njbdb16/wheels/8b/01/6f/46d5be3ebe5b64c9f2bccf0f4e3ef8ff2d12166b0237b426da Step #3 - "compile-libfuzzer-address-x86_64": Successfully built Pygments Step #3 - "compile-libfuzzer-address-x86_64": Installing collected packages: Pygments Step #3 - "compile-libfuzzer-address-x86_64": Successfully installed Pygments-2.18.0 Step #3 - "compile-libfuzzer-address-x86_64": WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. Step #3 - "compile-libfuzzer-address-x86_64": ++ find /src -name 'fuzz_*.py' Step #3 - "compile-libfuzzer-address-x86_64": + for fuzzer in $(find $SRC -name 'fuzz_*.py') Step #3 - "compile-libfuzzer-address-x86_64": + compile_python_fuzzer /src/fuzz_guesser.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_path=/src/fuzz_guesser.py Step #3 - "compile-libfuzzer-address-x86_64": + shift 1 Step #3 - "compile-libfuzzer-address-x86_64": ++ basename -s .py /src/fuzz_guesser.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_basename=fuzz_guesser Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_package=fuzz_guesser.pkg Step #3 - "compile-libfuzzer-address-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_guesser 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//fuzz_guesser Step #3 - "compile-libfuzzer-address-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-address-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_guesser --onefile --name fuzz_guesser.pkg /src/fuzz_guesser.py Step #3 - "compile-libfuzzer-address-x86_64": 42 INFO: PyInstaller: 5.0.1 Step #3 - "compile-libfuzzer-address-x86_64": 42 INFO: Python: 3.8.3 Step #3 - "compile-libfuzzer-address-x86_64": 43 INFO: Platform: Linux-5.10.0-30-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 43 INFO: wrote /src/pygments/fuzz_guesser.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 46 INFO: UPX is not available. Step #3 - "compile-libfuzzer-address-x86_64": 47 INFO: Extending PYTHONPATH with paths Step #3 - "compile-libfuzzer-address-x86_64": ['/src'] Step #3 - "compile-libfuzzer-address-x86_64": 220 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 220 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 220 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 221 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 228 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 2187 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": 2187 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 3382 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 3497 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 3518 INFO: Analyzing /src/fuzz_guesser.py Step #3 - "compile-libfuzzer-address-x86_64": 3680 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 3681 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 3682 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 3687 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 3688 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 3723 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 3724 INFO: Loading module hook 'hook-pygments.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5708 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5708 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5741 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": 5742 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5759 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 5762 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 5766 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": 5767 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": 5769 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": 5771 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": 5778 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 6499 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 6499 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 6503 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_guesser/fuzz_guesser.pkg/warn-fuzz_guesser.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 6537 INFO: Graph cross-reference written to /src/pyfuzzworkdir//fuzz_guesser/fuzz_guesser.pkg/xref-fuzz_guesser.pkg.html Step #3 - "compile-libfuzzer-address-x86_64": 6552 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 6552 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 6552 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_guesser/fuzz_guesser.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 7003 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_guesser/fuzz_guesser.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 7011 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 7011 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 7011 INFO: Building PKG (CArchive) fuzz_guesser.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 12445 INFO: Building PKG (CArchive) fuzz_guesser.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 12447 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 12447 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 12447 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 12447 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 12447 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_guesser.pkg Step #3 - "compile-libfuzzer-address-x86_64": 12447 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 12505 INFO: Building EXE from EXE-00.toc completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": + chmod -x /workspace/out/libfuzzer-address-x86_64/fuzz_guesser.pkg Step #3 - "compile-libfuzzer-address-x86_64": + [[ address = *coverage* ]] Step #3 - "compile-libfuzzer-address-x86_64": + echo '#!/bin/sh Step #3 - "compile-libfuzzer-address-x86_64": # LLVMFuzzerTestOneInput for fuzzer detection. Step #3 - "compile-libfuzzer-address-x86_64": this_dir=$(dirname "$0") Step #3 - "compile-libfuzzer-address-x86_64": chmod +x $this_dir/fuzz_guesser.pkg Step #3 - "compile-libfuzzer-address-x86_64": LD_PRELOAD=$this_dir/sanitizer_with_fuzzer.so ASAN_OPTIONS=$ASAN_OPTIONS:symbolize=1:external_symbolizer_path=$this_dir/llvm-symbolizer:detect_leaks=0 $this_dir/fuzz_guesser.pkg $@' Step #3 - "compile-libfuzzer-address-x86_64": + chmod +x /workspace/out/libfuzzer-address-x86_64/fuzz_guesser Step #3 - "compile-libfuzzer-address-x86_64": + for fuzzer in $(find $SRC -name 'fuzz_*.py') Step #3 - "compile-libfuzzer-address-x86_64": + compile_python_fuzzer /src/fuzz_lexers.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_path=/src/fuzz_lexers.py Step #3 - "compile-libfuzzer-address-x86_64": + shift 1 Step #3 - "compile-libfuzzer-address-x86_64": ++ basename -s .py /src/fuzz_lexers.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_basename=fuzz_lexers Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_package=fuzz_lexers.pkg Step #3 - "compile-libfuzzer-address-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_lexers 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//fuzz_lexers Step #3 - "compile-libfuzzer-address-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-address-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_lexers --onefile --name fuzz_lexers.pkg /src/fuzz_lexers.py Step #3 - "compile-libfuzzer-address-x86_64": 41 INFO: PyInstaller: 5.0.1 Step #3 - "compile-libfuzzer-address-x86_64": 41 INFO: Python: 3.8.3 Step #3 - "compile-libfuzzer-address-x86_64": 42 INFO: Platform: Linux-5.10.0-30-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 42 INFO: wrote /src/pygments/fuzz_lexers.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 44 INFO: UPX is not available. Step #3 - "compile-libfuzzer-address-x86_64": 45 INFO: Extending PYTHONPATH with paths Step #3 - "compile-libfuzzer-address-x86_64": ['/src'] Step #3 - "compile-libfuzzer-address-x86_64": 208 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 208 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 208 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 210 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 217 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 2219 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": 2219 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 3427 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 3540 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 3561 INFO: Analyzing /src/fuzz_lexers.py Step #3 - "compile-libfuzzer-address-x86_64": 3729 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 3729 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 3730 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 3735 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 3736 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 3772 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 3773 INFO: Loading module hook 'hook-pygments.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5756 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5756 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5790 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": 5791 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5808 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 5812 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 5815 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": 5816 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": 5818 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": 5820 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": 5827 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 6558 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 6558 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 6562 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_lexers/fuzz_lexers.pkg/warn-fuzz_lexers.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 6596 INFO: Graph cross-reference written to /src/pyfuzzworkdir//fuzz_lexers/fuzz_lexers.pkg/xref-fuzz_lexers.pkg.html Step #3 - "compile-libfuzzer-address-x86_64": 6606 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 6606 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 6606 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_lexers/fuzz_lexers.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 7057 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_lexers/fuzz_lexers.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 7065 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 7065 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 7065 INFO: Building PKG (CArchive) fuzz_lexers.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 12494 INFO: Building PKG (CArchive) fuzz_lexers.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 12496 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 12496 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 12496 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 12496 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 12496 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_lexers.pkg Step #3 - "compile-libfuzzer-address-x86_64": 12497 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 12557 INFO: Building EXE from EXE-00.toc completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": + chmod -x /workspace/out/libfuzzer-address-x86_64/fuzz_lexers.pkg Step #3 - "compile-libfuzzer-address-x86_64": + [[ address = *coverage* ]] Step #3 - "compile-libfuzzer-address-x86_64": + echo '#!/bin/sh Step #3 - "compile-libfuzzer-address-x86_64": # LLVMFuzzerTestOneInput for fuzzer detection. Step #3 - "compile-libfuzzer-address-x86_64": this_dir=$(dirname "$0") Step #3 - "compile-libfuzzer-address-x86_64": chmod +x $this_dir/fuzz_lexers.pkg Step #3 - "compile-libfuzzer-address-x86_64": LD_PRELOAD=$this_dir/sanitizer_with_fuzzer.so ASAN_OPTIONS=$ASAN_OPTIONS:symbolize=1:external_symbolizer_path=$this_dir/llvm-symbolizer:detect_leaks=0 $this_dir/fuzz_lexers.pkg $@' Step #3 - "compile-libfuzzer-address-x86_64": + chmod +x /workspace/out/libfuzzer-address-x86_64/fuzz_lexers Step #3 - "compile-libfuzzer-address-x86_64": + find tests/examplefiles/ -type f Step #3 - "compile-libfuzzer-address-x86_64": + zip -@ -q /workspace/out/libfuzzer-address-x86_64/fuzz_lexers_seed_corpus.zip Step #3 - "compile-libfuzzer-address-x86_64": + cp /workspace/out/libfuzzer-address-x86_64/fuzz_lexers_seed_corpus.zip /workspace/out/libfuzzer-address-x86_64/fuzz_guesser_seed_corpus.zip Step #3 - "compile-libfuzzer-address-x86_64": + cat fuzzing/dictionaries/aff.dict fuzzing/dictionaries/bash.dict fuzzing/dictionaries/creole.dict fuzzing/dictionaries/css.dict fuzzing/dictionaries/graphviz.dict fuzzing/dictionaries/fbs.dict fuzzing/dictionaries/html.dict fuzzing/dictionaries/jinja2.dict fuzzing/dictionaries/js.dict fuzzing/dictionaries/json.dict fuzzing/dictionaries/lua.dict fuzzing/dictionaries/markdown.dict fuzzing/dictionaries/mathml.dict fuzzing/dictionaries/pdf.dict fuzzing/dictionaries/protobuf.dict fuzzing/dictionaries/ps.dict fuzzing/dictionaries/regexp.dict fuzzing/dictionaries/rst.dict fuzzing/dictionaries/sql.dict fuzzing/dictionaries/svg.dict fuzzing/dictionaries/tex.dict fuzzing/dictionaries/toml.dict fuzzing/dictionaries/utf8.dict fuzzing/dictionaries/vcf.dict fuzzing/dictionaries/wkt.dict fuzzing/dictionaries/x86.dict fuzzing/dictionaries/xml.dict fuzzing/dictionaries/xpath.dict fuzzing/dictionaries/xslt.dict fuzzing/dictionaries/yaml.dict fuzzing/dictionaries/yara.dict Step #3 - "compile-libfuzzer-address-x86_64": + cp /workspace/out/libfuzzer-address-x86_64/fuzz_lexers.dict /workspace/out/libfuzzer-address-x86_64/fuzz_guesser.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": 6d8064d22942: Waiting 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": 242151016182: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 6e1ab450e78e: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 222eb0282449: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 30e213053f23: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 0468880b53a6: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 0c00a16d8aaa: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": ec3daab22494: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": f739589ce639: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": f739589ce639: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b2322709fa19: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": b2322709fa19: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 6d8064d22942: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 6d8064d22942: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": f739589ce639: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 2c5826f03939: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 2c5826f03939: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 5342ef9d65f0: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 5342ef9d65f0: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 6653c9292bbf: 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": bf550828fd45: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": bf550828fd45: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": ec3daab22494: Pull 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": 0c00a16d8aaa: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 0c00a16d8aaa: 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": b1b96c73e874: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": b1b96c73e874: 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": 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": 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/tmpqxy2xucx/fuzz_guesser Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpqxy2xucx/fuzz_lexers 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/pygments Step #6: adding: fuzz_guesser (deflated 32%) Step #6: adding: fuzz_guesser.dict (deflated 64%) Step #6: adding: fuzz_guesser.pkg (deflated 1%) Step #6: adding: fuzz_guesser_seed_corpus.zip (stored 0%) Step #6: adding: fuzz_lexers (deflated 32%) Step #6: adding: fuzz_lexers.dict (deflated 64%) Step #6: adding: fuzz_lexers.pkg (deflated 1%) Step #6: adding: fuzz_lexers_seed_corpus.zip (stored 0%) Step #6: adding: llvm-symbolizer (deflated 66%) 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: Verifying Checksum 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 312 0 0 100 312 0 1779 --:--:-- --:--:-- --:--:-- 1782 Finished Step #7 Starting Step #8 Step #8: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #8: % Total % Received % Xferd Average Speed Time Time Time Current Step #8: Dload Upload Total Spent Left Speed Step #8: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 47.8M 0 0 100 47.8M 0 122M --:--:-- --:--:-- --:--:-- 122M 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 25 0 0 100 25 0 87 --:--:-- --:--:-- --:--:-- 87 Finished Step #9 Starting Step #10 Step #10: Already have image (with digest): gcr.io/cloud-builders/curl Step #10: Step #10: ***** NOTICE ***** Step #10: Step #10: Supported `curl` versions can be found in the various images available at Step #10: https://console.cloud.google.com/launcher/details/google/ubuntu1604. Step #10: Step #10: ***** END OF NOTICE ***** Step #10: 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 33 0 0 100 33 0 160 --:--:-- --:--:-- --:--:-- 159 100 33 0 0 100 33 0 157 --:--:-- --:--:-- --:--:-- 157 Finished Step #10 Starting Step #11 Step #11: Already have image: gcr.io/oss-fuzz/pygments 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": + python3 -m pip install . Step #12 - "compile-libfuzzer-undefined-x86_64": Processing /src/pygments Step #12 - "compile-libfuzzer-undefined-x86_64": Installing build dependencies ... [?25l- \ | / - \ | / done Step #12 - "compile-libfuzzer-undefined-x86_64": [?25h Getting requirements to build wheel ... [?25ldone Step #12 - "compile-libfuzzer-undefined-x86_64": [?25h Preparing metadata (pyproject.toml) ... [?25ldone Step #12 - "compile-libfuzzer-undefined-x86_64": [?25hBuilding wheels for collected packages: Pygments Step #12 - "compile-libfuzzer-undefined-x86_64": Building wheel for Pygments (pyproject.toml) ... [?25ldone Step #12 - "compile-libfuzzer-undefined-x86_64": [?25h Created wheel for Pygments: filename=pygments-2.18.0-py3-none-any.whl size=1205798 sha256=405276856b10ead466229aa19e10b81ef0619783089f90e46fc830644cb7d013 Step #12 - "compile-libfuzzer-undefined-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-p2kn9rkl/wheels/8b/01/6f/46d5be3ebe5b64c9f2bccf0f4e3ef8ff2d12166b0237b426da Step #12 - "compile-libfuzzer-undefined-x86_64": Successfully built Pygments Step #12 - "compile-libfuzzer-undefined-x86_64": Installing collected packages: Pygments Step #12 - "compile-libfuzzer-undefined-x86_64": Successfully installed Pygments-2.18.0 Step #12 - "compile-libfuzzer-undefined-x86_64": WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. Step #12 - "compile-libfuzzer-undefined-x86_64": ++ find /src -name 'fuzz_*.py' Step #12 - "compile-libfuzzer-undefined-x86_64": + for fuzzer in $(find $SRC -name 'fuzz_*.py') Step #12 - "compile-libfuzzer-undefined-x86_64": + compile_python_fuzzer /src/fuzz_guesser.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_path=/src/fuzz_guesser.py Step #12 - "compile-libfuzzer-undefined-x86_64": + shift 1 Step #12 - "compile-libfuzzer-undefined-x86_64": ++ basename -s .py /src/fuzz_guesser.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_basename=fuzz_guesser Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_package=fuzz_guesser.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #12 - "compile-libfuzzer-undefined-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_guesser 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//fuzz_guesser Step #12 - "compile-libfuzzer-undefined-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-undefined-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_guesser --onefile --name fuzz_guesser.pkg /src/fuzz_guesser.py Step #12 - "compile-libfuzzer-undefined-x86_64": 41 INFO: PyInstaller: 5.0.1 Step #12 - "compile-libfuzzer-undefined-x86_64": 41 INFO: Python: 3.8.3 Step #12 - "compile-libfuzzer-undefined-x86_64": 42 INFO: Platform: Linux-5.10.0-30-cloud-amd64-x86_64-with-glibc2.2.5 Step #12 - "compile-libfuzzer-undefined-x86_64": 42 INFO: wrote /src/pygments/fuzz_guesser.pkg.spec Step #12 - "compile-libfuzzer-undefined-x86_64": 44 INFO: UPX is not available. Step #12 - "compile-libfuzzer-undefined-x86_64": 46 INFO: Extending PYTHONPATH with paths Step #12 - "compile-libfuzzer-undefined-x86_64": ['/src'] Step #12 - "compile-libfuzzer-undefined-x86_64": 213 INFO: checking Analysis Step #12 - "compile-libfuzzer-undefined-x86_64": 213 INFO: Building Analysis because Analysis-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 213 INFO: Initializing module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 215 INFO: Caching module graph hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 222 INFO: Analyzing base_library.zip ... Step #12 - "compile-libfuzzer-undefined-x86_64": 2282 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": 2282 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #12 - "compile-libfuzzer-undefined-x86_64": 3533 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 3653 INFO: running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 3675 INFO: Analyzing /src/fuzz_guesser.py Step #12 - "compile-libfuzzer-undefined-x86_64": 3841 INFO: Processing module hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 3842 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #12 - "compile-libfuzzer-undefined-x86_64": 3842 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 3848 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 3849 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 3884 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 3885 INFO: Loading module hook 'hook-pygments.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5893 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5893 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5926 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": 5928 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5945 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 5948 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 5952 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": 5953 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": 5955 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": 5957 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": 5964 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 6698 INFO: Looking for eggs Step #12 - "compile-libfuzzer-undefined-x86_64": 6698 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 6702 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_guesser/fuzz_guesser.pkg/warn-fuzz_guesser.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 6735 INFO: Graph cross-reference written to /src/pyfuzzworkdir//fuzz_guesser/fuzz_guesser.pkg/xref-fuzz_guesser.pkg.html Step #12 - "compile-libfuzzer-undefined-x86_64": 6752 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 6753 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 6753 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_guesser/fuzz_guesser.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 7206 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_guesser/fuzz_guesser.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 7215 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 7215 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 7215 INFO: Building PKG (CArchive) fuzz_guesser.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 12640 INFO: Building PKG (CArchive) fuzz_guesser.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 12642 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 12642 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 12642 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 12642 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 12642 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/fuzz_guesser.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 12643 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 12701 INFO: Building EXE from EXE-00.toc completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod -x /workspace/out/libfuzzer-undefined-x86_64/fuzz_guesser.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/fuzz_guesser.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/fuzz_guesser.pkg $@' Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod +x /workspace/out/libfuzzer-undefined-x86_64/fuzz_guesser Step #12 - "compile-libfuzzer-undefined-x86_64": + for fuzzer in $(find $SRC -name 'fuzz_*.py') Step #12 - "compile-libfuzzer-undefined-x86_64": + compile_python_fuzzer /src/fuzz_lexers.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_path=/src/fuzz_lexers.py Step #12 - "compile-libfuzzer-undefined-x86_64": + shift 1 Step #12 - "compile-libfuzzer-undefined-x86_64": ++ basename -s .py /src/fuzz_lexers.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_basename=fuzz_lexers Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_package=fuzz_lexers.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #12 - "compile-libfuzzer-undefined-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_lexers 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//fuzz_lexers Step #12 - "compile-libfuzzer-undefined-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-undefined-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_lexers --onefile --name fuzz_lexers.pkg /src/fuzz_lexers.py Step #12 - "compile-libfuzzer-undefined-x86_64": 41 INFO: PyInstaller: 5.0.1 Step #12 - "compile-libfuzzer-undefined-x86_64": 41 INFO: Python: 3.8.3 Step #12 - "compile-libfuzzer-undefined-x86_64": 42 INFO: Platform: Linux-5.10.0-30-cloud-amd64-x86_64-with-glibc2.2.5 Step #12 - "compile-libfuzzer-undefined-x86_64": 43 INFO: wrote /src/pygments/fuzz_lexers.pkg.spec Step #12 - "compile-libfuzzer-undefined-x86_64": 45 INFO: UPX is not available. Step #12 - "compile-libfuzzer-undefined-x86_64": 46 INFO: Extending PYTHONPATH with paths Step #12 - "compile-libfuzzer-undefined-x86_64": ['/src'] Step #12 - "compile-libfuzzer-undefined-x86_64": 212 INFO: checking Analysis Step #12 - "compile-libfuzzer-undefined-x86_64": 212 INFO: Building Analysis because Analysis-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 212 INFO: Initializing module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 214 INFO: Caching module graph hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 221 INFO: Analyzing base_library.zip ... Step #12 - "compile-libfuzzer-undefined-x86_64": 2193 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": 2194 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #12 - "compile-libfuzzer-undefined-x86_64": 3411 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 3527 INFO: running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 3548 INFO: Analyzing /src/fuzz_lexers.py Step #12 - "compile-libfuzzer-undefined-x86_64": 3716 INFO: Processing module hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 3716 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #12 - "compile-libfuzzer-undefined-x86_64": 3717 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 3722 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 3723 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 3759 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 3760 INFO: Loading module hook 'hook-pygments.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5764 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5764 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5797 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": 5798 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5815 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 5819 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 5822 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": 5823 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": 5825 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": 5827 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": 5835 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 6570 INFO: Looking for eggs Step #12 - "compile-libfuzzer-undefined-x86_64": 6570 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 6574 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_lexers/fuzz_lexers.pkg/warn-fuzz_lexers.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 6607 INFO: Graph cross-reference written to /src/pyfuzzworkdir//fuzz_lexers/fuzz_lexers.pkg/xref-fuzz_lexers.pkg.html Step #12 - "compile-libfuzzer-undefined-x86_64": 6618 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 6618 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 6618 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_lexers/fuzz_lexers.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 7070 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_lexers/fuzz_lexers.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 7079 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 7079 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 7079 INFO: Building PKG (CArchive) fuzz_lexers.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 12503 INFO: Building PKG (CArchive) fuzz_lexers.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 12505 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 12505 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 12505 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 12505 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 12506 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/fuzz_lexers.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 12506 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 12567 INFO: Building EXE from EXE-00.toc completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod -x /workspace/out/libfuzzer-undefined-x86_64/fuzz_lexers.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/fuzz_lexers.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/fuzz_lexers.pkg $@' Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod +x /workspace/out/libfuzzer-undefined-x86_64/fuzz_lexers Step #12 - "compile-libfuzzer-undefined-x86_64": + find tests/examplefiles/ -type f Step #12 - "compile-libfuzzer-undefined-x86_64": + zip -@ -q /workspace/out/libfuzzer-undefined-x86_64/fuzz_lexers_seed_corpus.zip Step #12 - "compile-libfuzzer-undefined-x86_64": + cp /workspace/out/libfuzzer-undefined-x86_64/fuzz_lexers_seed_corpus.zip /workspace/out/libfuzzer-undefined-x86_64/fuzz_guesser_seed_corpus.zip Step #12 - "compile-libfuzzer-undefined-x86_64": + cat fuzzing/dictionaries/aff.dict fuzzing/dictionaries/bash.dict fuzzing/dictionaries/creole.dict fuzzing/dictionaries/css.dict fuzzing/dictionaries/graphviz.dict fuzzing/dictionaries/fbs.dict fuzzing/dictionaries/html.dict fuzzing/dictionaries/jinja2.dict fuzzing/dictionaries/js.dict fuzzing/dictionaries/json.dict fuzzing/dictionaries/lua.dict fuzzing/dictionaries/markdown.dict fuzzing/dictionaries/mathml.dict fuzzing/dictionaries/pdf.dict fuzzing/dictionaries/protobuf.dict fuzzing/dictionaries/ps.dict fuzzing/dictionaries/regexp.dict fuzzing/dictionaries/rst.dict fuzzing/dictionaries/sql.dict fuzzing/dictionaries/svg.dict fuzzing/dictionaries/tex.dict fuzzing/dictionaries/toml.dict fuzzing/dictionaries/utf8.dict fuzzing/dictionaries/vcf.dict fuzzing/dictionaries/wkt.dict fuzzing/dictionaries/x86.dict fuzzing/dictionaries/xml.dict fuzzing/dictionaries/xpath.dict fuzzing/dictionaries/xslt.dict fuzzing/dictionaries/yaml.dict fuzzing/dictionaries/yara.dict Step #12 - "compile-libfuzzer-undefined-x86_64": + cp /workspace/out/libfuzzer-undefined-x86_64/fuzz_lexers.dict /workspace/out/libfuzzer-undefined-x86_64/fuzz_guesser.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/tmpg9bah9av/fuzz_guesser Step #13 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpg9bah9av/fuzz_lexers 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/pygments Step #15: adding: fuzz_guesser (deflated 32%) Step #15: adding: fuzz_guesser.dict (deflated 64%) Step #15: adding: fuzz_guesser.pkg (deflated 1%) Step #15: adding: fuzz_guesser_seed_corpus.zip (stored 0%) Step #15: adding: fuzz_lexers (deflated 32%) Step #15: adding: fuzz_lexers.dict (deflated 64%) Step #15: adding: fuzz_lexers.pkg (deflated 1%) Step #15: adding: fuzz_lexers_seed_corpus.zip (stored 0%) Step #15: adding: llvm-symbolizer (deflated 66%) 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 312 0 0 100 312 0 1775 --:--:-- --:--:-- --:--:-- 1782 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 47.1M 0 0 100 47.1M 0 85.4M --:--:-- --:--:-- --:--:-- 85.4M 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 25 0 0 100 25 0 91 --:--:-- --:--:-- --:--:-- 92 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 35 0 0 100 35 0 182 --:--:-- --:--:-- --:--:-- 182 Finished Step #19 Starting Step #20 Step #20: Already have image: gcr.io/oss-fuzz/pygments Finished Step #20 PUSH DONE