starting build "9a057fc1-c280-44d3-808f-5069c35af146" 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: d7a6be462dca: Pulling fs layer Step #1: 687e3729315c: Pulling fs layer Step #1: d3cd7bf36612: Pulling fs layer Step #1: 868f0ed50e20: Pulling fs layer Step #1: 3080aa1e1662: Pulling fs layer Step #1: 23d6ab75ad1d: Pulling fs layer Step #1: b309f549c448: Pulling fs layer Step #1: 769148011880: Pulling fs layer Step #1: 0b888fe5e618: Pulling fs layer Step #1: 07c55f8f5215: Pulling fs layer Step #1: 5f74864df884: Pulling fs layer Step #1: 5b38a52b9f59: Pulling fs layer Step #1: 637aae83066f: Pulling fs layer Step #1: 8f966f4b9060: Pulling fs layer Step #1: 433b288750ba: Pulling fs layer Step #1: ad115f09c8b9: Pulling fs layer Step #1: 5dfd8129d091: Pulling fs layer Step #1: f8c2ca540138: Pulling fs layer Step #1: b13747e13752: Pulling fs layer Step #1: a7ea44ba69a5: Pulling fs layer Step #1: b95c5db9da69: Pulling fs layer Step #1: f285b76e322c: Pulling fs layer Step #1: bc856af8d19e: Pulling fs layer Step #1: 177584015b29: Pulling fs layer Step #1: 8ef1e1652d2b: Pulling fs layer Step #1: 9c7fe4191c9f: Pulling fs layer Step #1: 5f74864df884: Waiting Step #1: 07c55f8f5215: Waiting Step #1: 637aae83066f: Waiting Step #1: 5b38a52b9f59: Waiting Step #1: 433b288750ba: Waiting Step #1: ad115f09c8b9: Waiting Step #1: 5dfd8129d091: Waiting Step #1: f8c2ca540138: Waiting Step #1: f285b76e322c: Waiting Step #1: a7ea44ba69a5: Waiting Step #1: b95c5db9da69: Waiting Step #1: bc856af8d19e: Waiting Step #1: b13747e13752: Waiting Step #1: 8ef1e1652d2b: Waiting Step #1: 868f0ed50e20: Waiting Step #1: 3080aa1e1662: Waiting Step #1: b309f549c448: Waiting Step #1: 8f966f4b9060: Waiting Step #1: 0b888fe5e618: Waiting Step #1: 4eefa9ef5cf9: Pulling fs layer Step #1: 8cd6bb60ac0a: Pulling fs layer Step #1: cd311e502dd0: Pulling fs layer Step #1: 9c7fe4191c9f: Waiting Step #1: 2c9ca1f58848: Pulling fs layer Step #1: 4eefa9ef5cf9: Waiting Step #1: 2c9ca1f58848: Waiting Step #1: cd311e502dd0: Waiting Step #1: 8cd6bb60ac0a: Waiting Step #1: 687e3729315c: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: d3cd7bf36612: Verifying Checksum Step #1: d3cd7bf36612: Download complete Step #1: 3080aa1e1662: Download complete Step #1: 868f0ed50e20: Verifying Checksum Step #1: 868f0ed50e20: Download complete Step #1: b309f549c448: Verifying Checksum Step #1: b309f549c448: Download complete Step #1: 769148011880: Download complete Step #1: d7a6be462dca: Verifying Checksum Step #1: d7a6be462dca: Download complete Step #1: 07c55f8f5215: Verifying Checksum Step #1: 07c55f8f5215: Download complete Step #1: 5f74864df884: Verifying Checksum Step #1: 5f74864df884: Download complete Step #1: 5b38a52b9f59: Verifying Checksum Step #1: 5b38a52b9f59: Download complete Step #1: 637aae83066f: Verifying Checksum Step #1: 637aae83066f: Download complete Step #1: 8f966f4b9060: Download complete Step #1: 433b288750ba: Download complete Step #1: b549f31133a9: Pull complete Step #1: ad115f09c8b9: Verifying Checksum Step #1: ad115f09c8b9: Download complete Step #1: 5dfd8129d091: Verifying Checksum Step #1: 5dfd8129d091: Download complete Step #1: f8c2ca540138: Verifying Checksum Step #1: f8c2ca540138: Download complete Step #1: b13747e13752: Verifying Checksum Step #1: b13747e13752: Download complete Step #1: a7ea44ba69a5: Verifying Checksum Step #1: a7ea44ba69a5: Download complete Step #1: 0b888fe5e618: Verifying Checksum Step #1: 0b888fe5e618: Download complete Step #1: f285b76e322c: Verifying Checksum Step #1: f285b76e322c: Download complete Step #1: b95c5db9da69: Verifying Checksum Step #1: b95c5db9da69: Download complete Step #1: bc856af8d19e: Verifying Checksum Step #1: bc856af8d19e: Download complete Step #1: 177584015b29: Download complete Step #1: 8ef1e1652d2b: Verifying Checksum Step #1: 8ef1e1652d2b: Download complete Step #1: 4eefa9ef5cf9: Verifying Checksum Step #1: 4eefa9ef5cf9: Download complete Step #1: 9c7fe4191c9f: Download complete Step #1: 8cd6bb60ac0a: Download complete Step #1: cd311e502dd0: Download complete Step #1: 2c9ca1f58848: Verifying Checksum Step #1: 2c9ca1f58848: Download complete Step #1: 23d6ab75ad1d: Verifying Checksum Step #1: 23d6ab75ad1d: Download complete Step #1: d7a6be462dca: Pull complete Step #1: 687e3729315c: Pull complete Step #1: d3cd7bf36612: Pull complete Step #1: 868f0ed50e20: Pull complete Step #1: 3080aa1e1662: Pull complete Step #1: 23d6ab75ad1d: Pull complete Step #1: b309f549c448: Pull complete Step #1: 769148011880: Pull complete Step #1: 0b888fe5e618: Pull complete Step #1: 07c55f8f5215: Pull complete Step #1: 5f74864df884: Pull complete Step #1: 5b38a52b9f59: Pull complete Step #1: 637aae83066f: Pull complete Step #1: 8f966f4b9060: Pull complete Step #1: 433b288750ba: Pull complete Step #1: ad115f09c8b9: Pull complete Step #1: 5dfd8129d091: Pull complete Step #1: f8c2ca540138: Pull complete Step #1: b13747e13752: Pull complete Step #1: a7ea44ba69a5: Pull complete Step #1: b95c5db9da69: Pull complete Step #1: f285b76e322c: Pull complete Step #1: bc856af8d19e: Pull complete Step #1: 177584015b29: Pull complete Step #1: 8ef1e1652d2b: Pull complete Step #1: 9c7fe4191c9f: Pull complete Step #1: 4eefa9ef5cf9: Pull complete Step #1: 8cd6bb60ac0a: Pull complete Step #1: cd311e502dd0: Pull complete Step #1: 2c9ca1f58848: Pull complete Step #1: Digest: sha256:0a1e30a23f64bd6ef855089bf5091343af81f6f17f1954e00c5cab4264c80d01 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> 82b64474a878 Step #1: Step 2/6 : RUN git clone --depth 1 --branch master https://github.com/pygments/pygments.git Step #1: ---> Running in ed084acc3e06 Step #1: Cloning into 'pygments'... Step #1: Removing intermediate container ed084acc3e06 Step #1: ---> 6c55fe2e494f Step #1: Step 3/6 : WORKDIR pygments Step #1: ---> Running in fa4572120bf5 Step #1: Removing intermediate container fa4572120bf5 Step #1: ---> f22b787fccfb Step #1: Step 4/6 : RUN git clone --depth 1 https://github.com/google/fuzzing Step #1: ---> Running in c9e5949d9f0b Step #1: Cloning into 'fuzzing'... Step #1: Removing intermediate container c9e5949d9f0b Step #1: ---> 4ce3e6f7567b Step #1: Step 5/6 : RUN 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/rtf.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 > $OUT/pygments_fuzzer.dict Step #1: ---> Running in 28112b7ab0f2 Step #1: Removing intermediate container 28112b7ab0f2 Step #1: ---> 4dadfbe9b005 Step #1: Step 6/6 : COPY build.sh fuzz_guesser.py fuzz_lexers.py $SRC/ Step #1: ---> 5519c077e888 Step #1: Successfully built 5519c077e888 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/filey4Te4O 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=c140bfdbb996571e744f0103d1af36402446e104 Step #2 - "srcmap": + jq_inplace /tmp/filey4Te4O '."/src/pygments" = { type: "git", url: "https://github.com/pygments/pygments.git", rev: "c140bfdbb996571e744f0103d1af36402446e104" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileoyISY9 Step #2 - "srcmap": + cat /tmp/filey4Te4O Step #2 - "srcmap": + jq '."/src/pygments" = { type: "git", url: "https://github.com/pygments/pygments.git", rev: "c140bfdbb996571e744f0103d1af36402446e104" }' Step #2 - "srcmap": + mv /tmp/fileoyISY9 /tmp/filey4Te4O 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=41d7725e6a12ec2e0a89b68fafacb4bb5af8fac7 Step #2 - "srcmap": + jq_inplace /tmp/filey4Te4O '."/src/pygments/fuzzing" = { type: "git", url: "https://github.com/google/fuzzing", rev: "41d7725e6a12ec2e0a89b68fafacb4bb5af8fac7" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileRm8EzG Step #2 - "srcmap": + cat /tmp/filey4Te4O Step #2 - "srcmap": + jq '."/src/pygments/fuzzing" = { type: "git", url: "https://github.com/google/fuzzing", rev: "41d7725e6a12ec2e0a89b68fafacb4bb5af8fac7" }' Step #2 - "srcmap": + mv /tmp/fileRm8EzG /tmp/filey4Te4O 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/filey4Te4O Step #2 - "srcmap": + rm /tmp/filey4Te4O 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": "c140bfdbb996571e744f0103d1af36402446e104" 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": "41d7725e6a12ec2e0a89b68fafacb4bb5af8fac7" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-address-x86_64" Step #3 - "compile-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-address-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": CC=clang Step #3 - "compile-libfuzzer-address-x86_64": CXX=clang++ Step #3 - "compile-libfuzzer-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -fno-sanitize=function,leak,vptr, Step #3 - "compile-libfuzzer-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ -fno-sanitize=function,leak,vptr Step #3 - "compile-libfuzzer-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": + pip3 install . Step #3 - "compile-libfuzzer-address-x86_64": Processing /src/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 wheel metadata ... [?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 (PEP 517) ... [?25ldone Step #3 - "compile-libfuzzer-address-x86_64": [?25h Created wheel for Pygments: filename=pygments-2.17.2-cp38-none-any.whl size=1196824 sha256=6dfd40d87b975504c228faa95d3c6ab425c1ca2266e87ca35483a4db653ae535 Step #3 - "compile-libfuzzer-address-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-dil4dd05/wheels/c7/ab/5e/8b3d6c6c63ec71076abc83dfbbd6fcd0aae642d929d9c0c2fa 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.17.2 Step #3 - "compile-libfuzzer-address-x86_64": WARNING: You are using pip version 19.2.3, however version 24.0 is available. Step #3 - "compile-libfuzzer-address-x86_64": You should consider upgrading via the 'pip install --upgrade pip' command. Step #3 - "compile-libfuzzer-address-x86_64": ++ 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": 58 INFO: PyInstaller: 5.0.1 Step #3 - "compile-libfuzzer-address-x86_64": 58 INFO: Python: 3.8.3 Step #3 - "compile-libfuzzer-address-x86_64": 59 INFO: Platform: Linux-5.10.0-28-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 59 INFO: wrote /src/pygments/fuzz_guesser.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 61 INFO: UPX is not available. Step #3 - "compile-libfuzzer-address-x86_64": 63 INFO: Extending PYTHONPATH with paths Step #3 - "compile-libfuzzer-address-x86_64": ['/src'] Step #3 - "compile-libfuzzer-address-x86_64": 8 WARNING: discover_hook_directories: Failed to process hook entry point 'hook-dirs = _pyinstaller_hooks_contrib.hooks:get_hook_dirs': pkg_resources.VersionConflict: (setuptools 41.2.0 (/usr/local/lib/python3.8/site-packages), Requirement.parse('setuptools>=42.0.0')) Step #3 - "compile-libfuzzer-address-x86_64": 238 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 238 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 238 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 240 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 244 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 3016 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": 3016 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 4713 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 4857 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 4881 INFO: Analyzing /src/fuzz_guesser.py Step #3 - "compile-libfuzzer-address-x86_64": 5110 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 5110 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 5111 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5112 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5120 INFO: Loading module hook 'hook-pygments.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7898 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7901 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7903 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7903 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7966 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": 7968 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 8037 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 8042 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 8048 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": 8049 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": 8052 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": 8055 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": 8067 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 8951 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 8951 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 8956 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_guesser/fuzz_guesser.pkg/warn-fuzz_guesser.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 9003 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": 9024 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 9024 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 9024 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_guesser/fuzz_guesser.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 9639 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_guesser/fuzz_guesser.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 9651 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 9651 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 9651 INFO: Building PKG (CArchive) fuzz_guesser.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 16469 INFO: Building PKG (CArchive) fuzz_guesser.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 16472 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 16472 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 16472 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 16472 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 16472 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_guesser.pkg Step #3 - "compile-libfuzzer-address-x86_64": 16472 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 16523 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": 58 INFO: PyInstaller: 5.0.1 Step #3 - "compile-libfuzzer-address-x86_64": 58 INFO: Python: 3.8.3 Step #3 - "compile-libfuzzer-address-x86_64": 59 INFO: Platform: Linux-5.10.0-28-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 60 INFO: wrote /src/pygments/fuzz_lexers.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 62 INFO: UPX is not available. Step #3 - "compile-libfuzzer-address-x86_64": 64 INFO: Extending PYTHONPATH with paths Step #3 - "compile-libfuzzer-address-x86_64": ['/src'] Step #3 - "compile-libfuzzer-address-x86_64": 8 WARNING: discover_hook_directories: Failed to process hook entry point 'hook-dirs = _pyinstaller_hooks_contrib.hooks:get_hook_dirs': pkg_resources.VersionConflict: (setuptools 41.2.0 (/usr/local/lib/python3.8/site-packages), Requirement.parse('setuptools>=42.0.0')) Step #3 - "compile-libfuzzer-address-x86_64": 238 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 238 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 239 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 240 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 244 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 3008 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": 3009 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 4691 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 4835 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 4859 INFO: Analyzing /src/fuzz_lexers.py Step #3 - "compile-libfuzzer-address-x86_64": 5094 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 5094 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 5095 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5097 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5105 INFO: Loading module hook 'hook-pygments.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7864 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7866 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7868 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7868 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7914 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": 7916 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7984 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 7989 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 7994 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": 7996 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": 7998 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": 8001 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": 8012 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 8884 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 8885 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 8890 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_lexers/fuzz_lexers.pkg/warn-fuzz_lexers.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 8938 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": 8952 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 8953 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 8953 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_lexers/fuzz_lexers.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 9574 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_lexers/fuzz_lexers.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 9586 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 9586 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 9586 INFO: Building PKG (CArchive) fuzz_lexers.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 16399 INFO: Building PKG (CArchive) fuzz_lexers.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 16402 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 16402 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 16402 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 16402 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 16402 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_lexers.pkg Step #3 - "compile-libfuzzer-address-x86_64": 16403 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 16475 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 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": d7a6be462dca: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 687e3729315c: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 839ed1603dee: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 13d62f6c5f7a: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": ebee722feac0: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 35bf84c81b86: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 19fea74e9a12: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": cd6d9e023fae: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": e4ed7a3b88c9: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 42708d8205bb: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 3057b04a7954: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 7bbc1f6a87d9: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 3b47adec35db: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": fa9ff6550a9e: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 37c4b1ca587d: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 7c051c041f82: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 19fea74e9a12: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": cd6d9e023fae: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": e4ed7a3b88c9: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 42708d8205bb: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 3057b04a7954: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 7bbc1f6a87d9: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 3b47adec35db: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": fa9ff6550a9e: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 37c4b1ca587d: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 7c051c041f82: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 35bf84c81b86: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": ebee722feac0: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": ebee722feac0: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 839ed1603dee: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 13d62f6c5f7a: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": cd6d9e023fae: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": cd6d9e023fae: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 19fea74e9a12: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 19fea74e9a12: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 839ed1603dee: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": e4ed7a3b88c9: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": e4ed7a3b88c9: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 3057b04a7954: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 3057b04a7954: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 42708d8205bb: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 42708d8205bb: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 13d62f6c5f7a: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 3b47adec35db: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 3b47adec35db: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": ebee722feac0: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": fa9ff6550a9e: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": fa9ff6550a9e: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 35bf84c81b86: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 35bf84c81b86: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 7c051c041f82: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 7c051c041f82: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 7bbc1f6a87d9: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 7bbc1f6a87d9: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 37c4b1ca587d: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 35bf84c81b86: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 19fea74e9a12: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": cd6d9e023fae: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": e4ed7a3b88c9: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 42708d8205bb: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 3057b04a7954: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 7bbc1f6a87d9: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 3b47adec35db: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": fa9ff6550a9e: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 37c4b1ca587d: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 7c051c041f82: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": Digest: sha256:22dd5f6fb278f5cda09976f97a6e4e33afc392ca48e6b0cce7be21bf4e156926 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/tmp2i26dxyt/fuzz_lexers Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp2i26dxyt/fuzz_guesser 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.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.pkg (deflated 1%) Step #6: adding: fuzz_lexers_seed_corpus.zip (stored 0%) Step #6: adding: llvm-symbolizer (deflated 64%) Step #6: adding: sanitizer_with_fuzzer.so (deflated 66%) Finished Step #6 Starting Step #7 Step #7: Pulling image: gcr.io/oss-fuzz-base/uploader Step #7: Using default tag: latest Step #7: latest: Pulling from oss-fuzz-base/uploader Step #7: c62795f78da9: Pulling fs layer Step #7: d4fceeeb758e: Pulling fs layer Step #7: 5c9125a401ae: Pulling fs layer Step #7: 0062f774e994: Pulling fs layer Step #7: 6b33fd031fac: Pulling fs layer Step #7: 7eb39101e508: Pulling fs layer Step #7: 89257482f398: Pulling fs layer Step #7: 0062f774e994: Waiting Step #7: 6b33fd031fac: Waiting Step #7: 89257482f398: Waiting Step #7: 7eb39101e508: Waiting Step #7: 5c9125a401ae: Verifying Checksum Step #7: 5c9125a401ae: Download complete Step #7: d4fceeeb758e: Download complete Step #7: 0062f774e994: Verifying Checksum Step #7: 0062f774e994: Download complete Step #7: 6b33fd031fac: Download complete Step #7: 89257482f398: Verifying Checksum 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 1516 --:--:-- --:--:-- --:--:-- 1514 100 312 0 0 100 312 0 1473 --:--:-- --:--:-- --:--:-- 1471 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 83 46.6M 0 0 83 38.7M 0 122M --:--:-- --:--:-- --:--:-- 122M 100 46.6M 0 0 100 46.6M 0 86.8M --:--:-- --:--:-- --:--:-- 86.7M Finished Step #8 Starting Step #9 Step #9: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #9: % Total % Received % Xferd Average Speed Time Time Time Current Step #9: Dload Upload Total Spent Left Speed Step #9: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 25 0 0 100 25 0 80 --:--:-- --:--:-- --:--:-- 80 100 25 0 0 100 25 0 80 --:--:-- --:--:-- --:--:-- 80 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 33 0 0 100 33 0 135 --:--:-- --:--:-- --:--:-- 135 100 33 0 0 100 33 0 135 --:--:-- --:--:-- --:--:-- 135 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 -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function,leak,vptr, Step #12 - "compile-libfuzzer-undefined-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -stdlib=libc++ -fno-sanitize=function,leak,vptr Step #12 - "compile-libfuzzer-undefined-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers Step #12 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #12 - "compile-libfuzzer-undefined-x86_64": + pip3 install . Step #12 - "compile-libfuzzer-undefined-x86_64": Processing /src/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 wheel metadata ... [?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 (PEP 517) ... [?25ldone Step #12 - "compile-libfuzzer-undefined-x86_64": [?25h Created wheel for Pygments: filename=pygments-2.17.2-cp38-none-any.whl size=1196824 sha256=6dfd40d87b975504c228faa95d3c6ab425c1ca2266e87ca35483a4db653ae535 Step #12 - "compile-libfuzzer-undefined-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-_x58s0fd/wheels/c7/ab/5e/8b3d6c6c63ec71076abc83dfbbd6fcd0aae642d929d9c0c2fa 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.17.2 Step #12 - "compile-libfuzzer-undefined-x86_64": WARNING: You are using pip version 19.2.3, however version 24.0 is available. Step #12 - "compile-libfuzzer-undefined-x86_64": You should consider upgrading via the 'pip install --upgrade pip' command. Step #12 - "compile-libfuzzer-undefined-x86_64": ++ find /src -name '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": 58 INFO: PyInstaller: 5.0.1 Step #12 - "compile-libfuzzer-undefined-x86_64": 58 INFO: Python: 3.8.3 Step #12 - "compile-libfuzzer-undefined-x86_64": 59 INFO: Platform: Linux-5.10.0-28-cloud-amd64-x86_64-with-glibc2.2.5 Step #12 - "compile-libfuzzer-undefined-x86_64": 60 INFO: wrote /src/pygments/fuzz_guesser.pkg.spec Step #12 - "compile-libfuzzer-undefined-x86_64": 62 INFO: UPX is not available. Step #12 - "compile-libfuzzer-undefined-x86_64": 64 INFO: Extending PYTHONPATH with paths Step #12 - "compile-libfuzzer-undefined-x86_64": ['/src'] Step #12 - "compile-libfuzzer-undefined-x86_64": 9 WARNING: discover_hook_directories: Failed to process hook entry point 'hook-dirs = _pyinstaller_hooks_contrib.hooks:get_hook_dirs': pkg_resources.VersionConflict: (setuptools 41.2.0 (/usr/local/lib/python3.8/site-packages), Requirement.parse('setuptools>=42.0.0')) Step #12 - "compile-libfuzzer-undefined-x86_64": 244 INFO: checking Analysis Step #12 - "compile-libfuzzer-undefined-x86_64": 245 INFO: Building Analysis because Analysis-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 245 INFO: Initializing module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 246 INFO: Caching module graph hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 251 INFO: Analyzing base_library.zip ... Step #12 - "compile-libfuzzer-undefined-x86_64": 2988 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": 2989 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #12 - "compile-libfuzzer-undefined-x86_64": 4754 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 4899 INFO: running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 4923 INFO: Analyzing /src/fuzz_guesser.py Step #12 - "compile-libfuzzer-undefined-x86_64": 5164 INFO: Processing module hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 5164 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5165 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5167 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5175 INFO: Loading module hook 'hook-pygments.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7998 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 8000 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 8002 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 8002 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 8049 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": 8052 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 8121 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 8126 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 8132 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": 8134 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": 8136 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": 8139 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": 8150 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 9048 INFO: Looking for eggs Step #12 - "compile-libfuzzer-undefined-x86_64": 9048 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 9054 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_guesser/fuzz_guesser.pkg/warn-fuzz_guesser.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 9102 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": 9124 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 9124 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 9124 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_guesser/fuzz_guesser.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 9747 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_guesser/fuzz_guesser.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 9758 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 9758 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 9758 INFO: Building PKG (CArchive) fuzz_guesser.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 16561 INFO: Building PKG (CArchive) fuzz_guesser.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 16564 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 16564 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 16565 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 16565 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 16565 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/fuzz_guesser.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 16565 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 16623 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": 59 INFO: PyInstaller: 5.0.1 Step #12 - "compile-libfuzzer-undefined-x86_64": 59 INFO: Python: 3.8.3 Step #12 - "compile-libfuzzer-undefined-x86_64": 60 INFO: Platform: Linux-5.10.0-28-cloud-amd64-x86_64-with-glibc2.2.5 Step #12 - "compile-libfuzzer-undefined-x86_64": 60 INFO: wrote /src/pygments/fuzz_lexers.pkg.spec Step #12 - "compile-libfuzzer-undefined-x86_64": 63 INFO: UPX is not available. Step #12 - "compile-libfuzzer-undefined-x86_64": 65 INFO: Extending PYTHONPATH with paths Step #12 - "compile-libfuzzer-undefined-x86_64": ['/src'] Step #12 - "compile-libfuzzer-undefined-x86_64": 8 WARNING: discover_hook_directories: Failed to process hook entry point 'hook-dirs = _pyinstaller_hooks_contrib.hooks:get_hook_dirs': pkg_resources.VersionConflict: (setuptools 41.2.0 (/usr/local/lib/python3.8/site-packages), Requirement.parse('setuptools>=42.0.0')) Step #12 - "compile-libfuzzer-undefined-x86_64": 245 INFO: checking Analysis Step #12 - "compile-libfuzzer-undefined-x86_64": 245 INFO: Building Analysis because Analysis-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 246 INFO: Initializing module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 247 INFO: Caching module graph hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 252 INFO: Analyzing base_library.zip ... Step #12 - "compile-libfuzzer-undefined-x86_64": 3074 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": 3075 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #12 - "compile-libfuzzer-undefined-x86_64": 4767 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 4916 INFO: running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 4940 INFO: Analyzing /src/fuzz_lexers.py Step #12 - "compile-libfuzzer-undefined-x86_64": 5182 INFO: Processing module hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 5182 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5183 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5185 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5192 INFO: Loading module hook 'hook-pygments.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 8003 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 8005 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 8007 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 8007 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 8069 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": 8071 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 8139 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 8144 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 8150 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": 8151 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": 8154 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": 8156 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": 8167 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 9043 INFO: Looking for eggs Step #12 - "compile-libfuzzer-undefined-x86_64": 9043 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 9048 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_lexers/fuzz_lexers.pkg/warn-fuzz_lexers.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 9095 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": 9110 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 9110 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 9111 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_lexers/fuzz_lexers.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 9735 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_lexers/fuzz_lexers.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 9748 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 9748 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 9748 INFO: Building PKG (CArchive) fuzz_lexers.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 16565 INFO: Building PKG (CArchive) fuzz_lexers.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 16568 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 16568 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 16568 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 16568 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 16568 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/fuzz_lexers.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 16569 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 16634 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 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/tmpajz32gcq/fuzz_lexers Step #13 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpajz32gcq/fuzz_guesser 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.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.pkg (deflated 1%) Step #15: adding: fuzz_lexers_seed_corpus.zip (stored 0%) Step #15: adding: llvm-symbolizer (deflated 64%) Step #15: adding: sanitizer_with_fuzzer.so (deflated 64%) Finished Step #15 Starting Step #16 Step #16: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #16: % Total % Received % Xferd Average Speed Time Time Time Current Step #16: Dload Upload Total Spent Left Speed Step #16: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 312 0 0 100 312 0 1537 --:--:-- --:--:-- --:--:-- 1544 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 46.1M 0 0 100 46.1M 0 83.8M --:--:-- --:--:-- --:--:-- 83.7M 100 46.1M 0 0 100 46.1M 0 83.8M --:--:-- --:--:-- --:--:-- 83.7M 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 89 --:--:-- --:--:-- --:--:-- 89 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 154 --:--:-- --:--:-- --:--:-- 154 Finished Step #19 Starting Step #20 Step #20: Already have image: gcr.io/oss-fuzz/pygments Finished Step #20 PUSH DONE