starting build "6beecad8-a18e-4ee7-bdac-9e3cedf70230" 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 9.216kB Step #1: Step 1/5 : FROM gcr.io/oss-fuzz-base/base-builder-python Step #1: latest: Pulling from oss-fuzz-base/base-builder-python Step #1: b549f31133a9: Pulling fs layer Step #1: 139edd167df6: Pulling fs layer Step #1: af444f75ae33: Pulling fs layer Step #1: e6d3ec2e6299: Pulling fs layer Step #1: 0e5e981f1005: Pulling fs layer Step #1: 0b3bd470dbd3: Pulling fs layer Step #1: 2b5ed893bb64: Pulling fs layer Step #1: 74889077656a: Pulling fs layer Step #1: 700d36a8274d: Pulling fs layer Step #1: e18854f9d817: Pulling fs layer Step #1: 3ed49702f576: Pulling fs layer Step #1: b973b87b24f2: Pulling fs layer Step #1: d7fc13bf93de: Pulling fs layer Step #1: c46aa8daf077: Pulling fs layer Step #1: 5a171253e1b6: Pulling fs layer Step #1: 647ce3bf137b: Pulling fs layer Step #1: 4c70efb85710: Pulling fs layer Step #1: f495792fc62a: Pulling fs layer Step #1: f23480a14c2a: Pulling fs layer Step #1: 0b3bd470dbd3: Waiting Step #1: 6dc0ea81677c: Pulling fs layer Step #1: 700d36a8274d: Waiting Step #1: 3a75000db7d0: Pulling fs layer Step #1: 2b5ed893bb64: Waiting Step #1: 6fcf2ed1932e: Pulling fs layer Step #1: 6454523ca8fa: Pulling fs layer Step #1: 74889077656a: Waiting Step #1: e18854f9d817: Waiting Step #1: c02b6d11f2a4: Pulling fs layer Step #1: b8b61c90f622: Pulling fs layer Step #1: 780a27dda68f: Pulling fs layer Step #1: 3ed49702f576: Waiting Step #1: ac72d0b5d140: Pulling fs layer Step #1: e6d3ec2e6299: Waiting Step #1: b973b87b24f2: Waiting Step #1: 42018ae10617: Pulling fs layer Step #1: d7fc13bf93de: Waiting Step #1: 9bca4c87f910: Pulling fs layer Step #1: c46aa8daf077: Waiting Step #1: 44daa1eb8ff6: Pulling fs layer Step #1: 6ce03dd10f80: Pulling fs layer Step #1: 5a171253e1b6: Waiting Step #1: 33ba8a9a84bf: Pulling fs layer Step #1: 66e77fb0e3fc: Pulling fs layer Step #1: 647ce3bf137b: Waiting Step #1: 4c70efb85710: Waiting Step #1: f495792fc62a: Waiting Step #1: f23480a14c2a: Waiting Step #1: 0e5e981f1005: Waiting Step #1: 6dc0ea81677c: Waiting Step #1: 42018ae10617: Waiting Step #1: b8b61c90f622: Waiting Step #1: 44daa1eb8ff6: Waiting Step #1: 3a75000db7d0: Waiting Step #1: 33ba8a9a84bf: Waiting Step #1: ac72d0b5d140: Waiting Step #1: 780a27dda68f: Waiting Step #1: 6ce03dd10f80: Waiting Step #1: 9bca4c87f910: Waiting Step #1: 6fcf2ed1932e: Waiting Step #1: 66e77fb0e3fc: Waiting Step #1: c02b6d11f2a4: Waiting Step #1: af444f75ae33: Verifying Checksum Step #1: af444f75ae33: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 0e5e981f1005: Verifying Checksum Step #1: 0e5e981f1005: Download complete Step #1: e6d3ec2e6299: Verifying Checksum Step #1: e6d3ec2e6299: Download complete Step #1: 0b3bd470dbd3: Download complete Step #1: 74889077656a: Verifying Checksum Step #1: 74889077656a: Download complete Step #1: 139edd167df6: Download complete Step #1: 700d36a8274d: Download complete Step #1: b549f31133a9: Pull complete Step #1: 3ed49702f576: Verifying Checksum Step #1: 3ed49702f576: Download complete Step #1: b973b87b24f2: Verifying Checksum Step #1: b973b87b24f2: Download complete Step #1: d7fc13bf93de: Verifying Checksum Step #1: d7fc13bf93de: Download complete Step #1: c46aa8daf077: Verifying Checksum Step #1: c46aa8daf077: Download complete Step #1: 5a171253e1b6: Verifying Checksum Step #1: 5a171253e1b6: Download complete Step #1: 647ce3bf137b: Verifying Checksum Step #1: 647ce3bf137b: Download complete Step #1: 4c70efb85710: Verifying Checksum Step #1: 4c70efb85710: Download complete Step #1: e18854f9d817: Verifying Checksum Step #1: e18854f9d817: Download complete Step #1: f495792fc62a: Download complete Step #1: f23480a14c2a: Verifying Checksum Step #1: f23480a14c2a: Download complete Step #1: 6dc0ea81677c: Verifying Checksum Step #1: 6dc0ea81677c: Download complete Step #1: 6fcf2ed1932e: Verifying Checksum Step #1: 6fcf2ed1932e: Download complete Step #1: 3a75000db7d0: Download complete Step #1: 6454523ca8fa: Verifying Checksum Step #1: 6454523ca8fa: Download complete Step #1: c02b6d11f2a4: Verifying Checksum Step #1: c02b6d11f2a4: Download complete Step #1: 2b5ed893bb64: Verifying Checksum Step #1: 2b5ed893bb64: Download complete Step #1: b8b61c90f622: Verifying Checksum Step #1: b8b61c90f622: Download complete Step #1: 780a27dda68f: Verifying Checksum Step #1: 780a27dda68f: Download complete Step #1: ac72d0b5d140: Verifying Checksum Step #1: ac72d0b5d140: Download complete Step #1: 42018ae10617: Verifying Checksum Step #1: 42018ae10617: Download complete Step #1: 44daa1eb8ff6: Verifying Checksum Step #1: 44daa1eb8ff6: Download complete Step #1: 9bca4c87f910: Verifying Checksum Step #1: 9bca4c87f910: Download complete Step #1: 6ce03dd10f80: Verifying Checksum Step #1: 6ce03dd10f80: Download complete Step #1: 33ba8a9a84bf: Verifying Checksum Step #1: 33ba8a9a84bf: Download complete Step #1: 66e77fb0e3fc: Verifying Checksum Step #1: 66e77fb0e3fc: Download complete Step #1: 139edd167df6: Pull complete Step #1: af444f75ae33: Pull complete Step #1: e6d3ec2e6299: Pull complete Step #1: 0e5e981f1005: Pull complete Step #1: 0b3bd470dbd3: Pull complete Step #1: 2b5ed893bb64: Pull complete Step #1: 74889077656a: Pull complete Step #1: 700d36a8274d: Pull complete Step #1: e18854f9d817: Pull complete Step #1: 3ed49702f576: Pull complete Step #1: b973b87b24f2: Pull complete Step #1: d7fc13bf93de: Pull complete Step #1: c46aa8daf077: Pull complete Step #1: 5a171253e1b6: Pull complete Step #1: 647ce3bf137b: Pull complete Step #1: 4c70efb85710: Pull complete Step #1: f495792fc62a: Pull complete Step #1: f23480a14c2a: Pull complete Step #1: 6dc0ea81677c: Pull complete Step #1: 3a75000db7d0: Pull complete Step #1: 6fcf2ed1932e: Pull complete Step #1: 6454523ca8fa: Pull complete Step #1: c02b6d11f2a4: Pull complete Step #1: b8b61c90f622: Pull complete Step #1: 780a27dda68f: Pull complete Step #1: ac72d0b5d140: Pull complete Step #1: 42018ae10617: Pull complete Step #1: 9bca4c87f910: Pull complete Step #1: 44daa1eb8ff6: Pull complete Step #1: 6ce03dd10f80: Pull complete Step #1: 33ba8a9a84bf: Pull complete Step #1: 66e77fb0e3fc: Pull complete Step #1: Digest: sha256:bb70aa19b921affc8aac3afa5e9528c6dc7cd2d8274ed7980f63945fb7c2fe28 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> f09cd8769fac Step #1: Step 2/5 : RUN pip3 install --upgrade pip && pip3 install cython Step #1: ---> Running in 8debd72a1cf7 Step #1: Collecting pip Step #1: Downloading https://files.pythonhosted.org/packages/d4/55/90db48d85f7689ec6f81c0db0622d704306c5284850383c090e6c7195a5c/pip-24.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.2 Step #1: Collecting cython Step #1: Downloading Cython-3.0.11-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.2 kB) Step #1: Downloading Cython-3.0.11-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB) Step #1: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 27.5 MB/s eta 0:00:00 Step #1: Installing collected packages: cython Step #1: Successfully installed cython-3.0.11 Step #1: 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 #1: Removing intermediate container 8debd72a1cf7 Step #1: ---> 661228e0be9f Step #1: Step 3/5 : RUN git clone https://github.com/python-babel/babel babel Step #1: ---> Running in b4e614bc69d1 Step #1: Cloning into 'babel'... Step #1: Removing intermediate container b4e614bc69d1 Step #1: ---> 7a3c69a4d3cf Step #1: Step 4/5 : COPY *.sh *py $SRC/ Step #1: ---> 54104ea131f8 Step #1: Step 5/5 : WORKDIR $SRC/babel Step #1: ---> Running in e6567ffea707 Step #1: Removing intermediate container e6567ffea707 Step #1: ---> 1687c123542a Step #1: Successfully built 1687c123542a Step #1: Successfully tagged gcr.io/oss-fuzz/babel:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/babel Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileHilh5M 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/babel/.git Step #2 - "srcmap": + GIT_DIR=/src/babel Step #2 - "srcmap": + cd /src/babel Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/python-babel/babel Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=b42344da8d27a45c6a5de2bd41d332e6155f8f7b Step #2 - "srcmap": + jq_inplace /tmp/fileHilh5M '."/src/babel" = { type: "git", url: "https://github.com/python-babel/babel", rev: "b42344da8d27a45c6a5de2bd41d332e6155f8f7b" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileVqYHzc Step #2 - "srcmap": + cat /tmp/fileHilh5M Step #2 - "srcmap": + jq '."/src/babel" = { type: "git", url: "https://github.com/python-babel/babel", rev: "b42344da8d27a45c6a5de2bd41d332e6155f8f7b" }' Step #2 - "srcmap": + mv /tmp/fileVqYHzc /tmp/fileHilh5M 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/fileHilh5M Step #2 - "srcmap": + rm /tmp/fileHilh5M Step #2 - "srcmap": { Step #2 - "srcmap": "/src/babel": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/python-babel/babel", Step #2 - "srcmap": "rev": "b42344da8d27a45c6a5de2bd41d332e6155f8f7b" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-address-x86_64" Step #3 - "compile-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-address-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": CC=clang Step #3 - "compile-libfuzzer-address-x86_64": CXX=clang++ Step #3 - "compile-libfuzzer-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -fno-sanitize=function,leak,vptr, Step #3 - "compile-libfuzzer-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ -fno-sanitize=function,leak,vptr Step #3 - "compile-libfuzzer-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": + pip3 install . Step #3 - "compile-libfuzzer-address-x86_64": Processing /src/babel Step #3 - "compile-libfuzzer-address-x86_64": Installing build dependencies ... [?25l- \ | / done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Getting requirements to build wheel ... [?25l- done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Preparing metadata (pyproject.toml) ... [?25l- done Step #3 - "compile-libfuzzer-address-x86_64": [?25hCollecting pytz>=2015.7 (from babel==2.16.0) Step #3 - "compile-libfuzzer-address-x86_64": Downloading pytz-2024.1-py2.py3-none-any.whl.metadata (22 kB) Step #3 - "compile-libfuzzer-address-x86_64": Downloading pytz-2024.1-py2.py3-none-any.whl (505 kB) Step #3 - "compile-libfuzzer-address-x86_64": Building wheels for collected packages: babel Step #3 - "compile-libfuzzer-address-x86_64": Building wheel for babel (pyproject.toml) ... [?25l- done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Created wheel for babel: filename=babel-2.16.0-py3-none-any.whl size=124478 sha256=453851616eeee2ee427fa1bd2a815de3e77f52c2a38daa437d1e44f95f34bff5 Step #3 - "compile-libfuzzer-address-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-y9wtrp2a/wheels/2c/ff/f4/3359182a8cd77a5accaa0203f0676a8a6b168109446e0bfab3 Step #3 - "compile-libfuzzer-address-x86_64": Successfully built babel Step #3 - "compile-libfuzzer-address-x86_64": Installing collected packages: pytz, babel Step #3 - "compile-libfuzzer-address-x86_64": Successfully installed babel-2.16.0 pytz-2024.1 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_lexer.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_path=/src/fuzz_lexer.py Step #3 - "compile-libfuzzer-address-x86_64": + shift 1 Step #3 - "compile-libfuzzer-address-x86_64": ++ basename -s .py /src/fuzz_lexer.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_basename=fuzz_lexer Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_package=fuzz_lexer.pkg Step #3 - "compile-libfuzzer-address-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_lexer 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_lexer Step #3 - "compile-libfuzzer-address-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-address-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_lexer --onefile --name fuzz_lexer.pkg /src/fuzz_lexer.py Step #3 - "compile-libfuzzer-address-x86_64": 61 INFO: PyInstaller: 5.0.1 Step #3 - "compile-libfuzzer-address-x86_64": 61 INFO: Python: 3.8.3 Step #3 - "compile-libfuzzer-address-x86_64": 62 INFO: Platform: Linux-5.10.0-32-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 62 INFO: wrote /src/babel/fuzz_lexer.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 65 INFO: UPX is not available. Step #3 - "compile-libfuzzer-address-x86_64": 66 INFO: Extending PYTHONPATH with paths Step #3 - "compile-libfuzzer-address-x86_64": ['/src'] Step #3 - "compile-libfuzzer-address-x86_64": 299 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 299 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 299 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 300 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 310 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 3167 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": 3168 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 4906 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 5063 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 5086 INFO: Analyzing /src/fuzz_lexer.py Step #3 - "compile-libfuzzer-address-x86_64": 5514 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 5515 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 5516 INFO: Loading module hook 'hook-pytz.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5581 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5835 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5884 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5885 INFO: Loading module hook 'hook-pkg_resources.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6342 INFO: Processing pre-safe import module hook win32com from '/usr/local/lib/python3.8/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/hook-win32com.py'. Step #3 - "compile-libfuzzer-address-x86_64": 6624 WARNING: Hidden import "pkg_resources.py2_warn" not found! Step #3 - "compile-libfuzzer-address-x86_64": 6783 WARNING: Hidden import "pkg_resources.markers" not found! Step #3 - "compile-libfuzzer-address-x86_64": 6785 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": 6786 INFO: Loading module hook 'hook-babel.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6793 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6794 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6803 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6804 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6806 INFO: Loading module hook 'hook-packaging.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6821 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 6832 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 6836 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": 6838 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": 6841 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": 6844 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": 6845 INFO: Including run-time hook '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgres.py' Step #3 - "compile-libfuzzer-address-x86_64": 6857 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 7768 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 7768 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 7773 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_lexer/fuzz_lexer.pkg/warn-fuzz_lexer.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 7809 INFO: Graph cross-reference written to /src/pyfuzzworkdir//fuzz_lexer/fuzz_lexer.pkg/xref-fuzz_lexer.pkg.html Step #3 - "compile-libfuzzer-address-x86_64": 7839 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 7839 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 7839 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_lexer/fuzz_lexer.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 8331 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_lexer/fuzz_lexer.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 8337 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 8338 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 8338 INFO: Building PKG (CArchive) fuzz_lexer.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 15526 INFO: Building PKG (CArchive) fuzz_lexer.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 15543 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 15543 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 15543 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 15544 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 15544 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_lexer.pkg Step #3 - "compile-libfuzzer-address-x86_64": 15544 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 15604 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_lexer.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_lexer.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_lexer.pkg $@' Step #3 - "compile-libfuzzer-address-x86_64": + chmod +x /workspace/out/libfuzzer-address-x86_64/fuzz_lexer 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_profile.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_path=/src/fuzz_profile.py Step #3 - "compile-libfuzzer-address-x86_64": + shift 1 Step #3 - "compile-libfuzzer-address-x86_64": ++ basename -s .py /src/fuzz_profile.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_basename=fuzz_profile Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_package=fuzz_profile.pkg Step #3 - "compile-libfuzzer-address-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_profile 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_profile Step #3 - "compile-libfuzzer-address-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-address-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_profile --onefile --name fuzz_profile.pkg /src/fuzz_profile.py Step #3 - "compile-libfuzzer-address-x86_64": 59 INFO: PyInstaller: 5.0.1 Step #3 - "compile-libfuzzer-address-x86_64": 59 INFO: Python: 3.8.3 Step #3 - "compile-libfuzzer-address-x86_64": 60 INFO: Platform: Linux-5.10.0-32-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 61 INFO: wrote /src/babel/fuzz_profile.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 63 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": 297 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 297 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 297 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 299 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 309 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 3088 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": 3089 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 4893 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 5049 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 5073 INFO: Analyzing /src/fuzz_profile.py Step #3 - "compile-libfuzzer-address-x86_64": 5513 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 5514 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 5515 INFO: Loading module hook 'hook-pytz.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5580 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5837 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5886 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5888 INFO: Loading module hook 'hook-pkg_resources.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6347 INFO: Processing pre-safe import module hook win32com from '/usr/local/lib/python3.8/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/hook-win32com.py'. Step #3 - "compile-libfuzzer-address-x86_64": 6649 WARNING: Hidden import "pkg_resources.py2_warn" not found! Step #3 - "compile-libfuzzer-address-x86_64": 6797 WARNING: Hidden import "pkg_resources.markers" not found! Step #3 - "compile-libfuzzer-address-x86_64": 6799 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": 6801 INFO: Loading module hook 'hook-babel.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6808 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6810 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6818 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6820 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6821 INFO: Loading module hook 'hook-packaging.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6837 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 6848 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 6852 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": 6854 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": 6857 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": 6860 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": 6861 INFO: Including run-time hook '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgres.py' Step #3 - "compile-libfuzzer-address-x86_64": 6874 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 7791 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 7791 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 7796 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_profile/fuzz_profile.pkg/warn-fuzz_profile.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 7831 INFO: Graph cross-reference written to /src/pyfuzzworkdir//fuzz_profile/fuzz_profile.pkg/xref-fuzz_profile.pkg.html Step #3 - "compile-libfuzzer-address-x86_64": 7854 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 7854 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 7854 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_profile/fuzz_profile.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 8350 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_profile/fuzz_profile.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 8357 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 8357 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 8357 INFO: Building PKG (CArchive) fuzz_profile.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 15541 INFO: Building PKG (CArchive) fuzz_profile.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 15559 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 15559 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 15559 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 15559 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 15559 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_profile.pkg Step #3 - "compile-libfuzzer-address-x86_64": 15559 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 15623 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_profile.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_profile.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_profile.pkg $@' Step #3 - "compile-libfuzzer-address-x86_64": + chmod +x /workspace/out/libfuzzer-address-x86_64/fuzz_profile 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": 139edd167df6: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": af444f75ae33: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 14f3915e7420: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": a9ff08083a25: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 9dc48c872e73: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 96346b8c0f36: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": bb156b2edaf9: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 9e51d1915cc4: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": d6a22ed24534: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": aa0d26fc0d9f: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": f93655e29f16: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 1bf9cfa4140a: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 572f87638d3c: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": dfc0d26bd8f6: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 98e19f74b586: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": f2d989760d0c: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": b32590a08972: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 367baa430ffc: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 424ab3846cad: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": b32590a08972: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": f2d989760d0c: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 1bf9cfa4140a: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 367baa430ffc: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 424ab3846cad: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 572f87638d3c: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": dfc0d26bd8f6: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": bb156b2edaf9: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 9e51d1915cc4: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": d6a22ed24534: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 98e19f74b586: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 96346b8c0f36: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": aa0d26fc0d9f: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": f93655e29f16: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 9dc48c872e73: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 9dc48c872e73: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 14f3915e7420: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 14f3915e7420: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": a9ff08083a25: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": a9ff08083a25: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": bb156b2edaf9: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 14f3915e7420: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 9e51d1915cc4: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 9e51d1915cc4: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": d6a22ed24534: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": a9ff08083a25: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": f93655e29f16: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": f93655e29f16: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": aa0d26fc0d9f: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": aa0d26fc0d9f: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 9dc48c872e73: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 572f87638d3c: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": dfc0d26bd8f6: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": dfc0d26bd8f6: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 96346b8c0f36: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 96346b8c0f36: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 98e19f74b586: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 98e19f74b586: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": f2d989760d0c: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": f2d989760d0c: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b32590a08972: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": b32590a08972: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 367baa430ffc: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 424ab3846cad: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 424ab3846cad: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 1bf9cfa4140a: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 1bf9cfa4140a: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 96346b8c0f36: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": bb156b2edaf9: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 9e51d1915cc4: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": d6a22ed24534: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": aa0d26fc0d9f: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": f93655e29f16: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 1bf9cfa4140a: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 572f87638d3c: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": dfc0d26bd8f6: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 98e19f74b586: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": f2d989760d0c: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": b32590a08972: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 367baa430ffc: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 424ab3846cad: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": Digest: sha256:e1eba5efa394fec01565cc17a38ae61ff209acf11e7ce30f0af8f3e06089a026 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/tmpfb1spako/fuzz_profile Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpfb1spako/fuzz_lexer 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/babel Step #6: adding: fuzz_lexer (deflated 31%) Step #6: adding: fuzz_lexer.pkg (deflated 2%) Step #6: adding: fuzz_profile (deflated 32%) Step #6: adding: fuzz_profile.pkg (deflated 1%) 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: 0062f774e994: Verifying Checksum Step #7: 0062f774e994: Download complete Step #7: 6b33fd031fac: Verifying Checksum Step #7: 6b33fd031fac: Download complete Step #7: 89257482f398: Verifying Checksum Step #7: 89257482f398: Download complete Step #7: c62795f78da9: Verifying Checksum Step #7: c62795f78da9: Download complete Step #7: 7eb39101e508: Verifying Checksum Step #7: 7eb39101e508: Download complete Step #7: c62795f78da9: Pull complete Step #7: d4fceeeb758e: Pull complete Step #7: 5c9125a401ae: Pull complete Step #7: 0062f774e994: Pull complete Step #7: 6b33fd031fac: Pull complete Step #7: 7eb39101e508: Pull complete Step #7: 89257482f398: Pull complete Step #7: Digest: sha256:5717ba63d13b5515063e2a6ccad09fb5bf32a86c8e0798a363d81c2be522e411 Step #7: Status: Downloaded newer image for gcr.io/oss-fuzz-base/uploader:latest Step #7: gcr.io/oss-fuzz-base/uploader:latest Step #7: % Total % Received % Xferd Average Speed Time Time Time Current Step #7: Dload Upload Total Spent Left Speed Step #7: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 151 0 0 100 151 0 776 --:--:-- --:--:-- --:--:-- 778 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 38.9M 0 0 100 38.9M 0 88.0M --:--:-- --:--:-- --:--:-- 88.2M 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 24 0 0 100 24 0 80 --:--:-- --:--:-- --:--:-- 81 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 30 0 0 100 30 0 150 --:--:-- --:--:-- --:--:-- 150 Finished Step #10 Starting Step #11 Step #11: Already have image: gcr.io/oss-fuzz/babel Finished Step #11 Starting Step #12 - "compile-libfuzzer-undefined-x86_64" Step #12 - "compile-libfuzzer-undefined-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #12 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #12 - "compile-libfuzzer-undefined-x86_64": vm.mmap_rnd_bits = 28 Step #12 - "compile-libfuzzer-undefined-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #12 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #12 - "compile-libfuzzer-undefined-x86_64": CC=clang Step #12 - "compile-libfuzzer-undefined-x86_64": CXX=clang++ Step #12 - "compile-libfuzzer-undefined-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function -fno-sanitize=function,leak,vptr, Step #12 - "compile-libfuzzer-undefined-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -stdlib=libc++ -fno-sanitize=function,leak,vptr Step #12 - "compile-libfuzzer-undefined-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers Step #12 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #12 - "compile-libfuzzer-undefined-x86_64": + pip3 install . Step #12 - "compile-libfuzzer-undefined-x86_64": Processing /src/babel 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 ... [?25l- done Step #12 - "compile-libfuzzer-undefined-x86_64": [?25h Preparing metadata (pyproject.toml) ... [?25l- done Step #12 - "compile-libfuzzer-undefined-x86_64": [?25hCollecting pytz>=2015.7 (from babel==2.16.0) Step #12 - "compile-libfuzzer-undefined-x86_64": Downloading pytz-2024.1-py2.py3-none-any.whl.metadata (22 kB) Step #12 - "compile-libfuzzer-undefined-x86_64": Downloading pytz-2024.1-py2.py3-none-any.whl (505 kB) Step #12 - "compile-libfuzzer-undefined-x86_64": Building wheels for collected packages: babel Step #12 - "compile-libfuzzer-undefined-x86_64": Building wheel for babel (pyproject.toml) ... [?25l- done Step #12 - "compile-libfuzzer-undefined-x86_64": [?25h Created wheel for babel: filename=babel-2.16.0-py3-none-any.whl size=124478 sha256=c4ed9f0736913ffea9849ad75ffd51a8190b88314b126669830eaa964e9c3bc1 Step #12 - "compile-libfuzzer-undefined-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-pz_svdol/wheels/2c/ff/f4/3359182a8cd77a5accaa0203f0676a8a6b168109446e0bfab3 Step #12 - "compile-libfuzzer-undefined-x86_64": Successfully built babel Step #12 - "compile-libfuzzer-undefined-x86_64": Installing collected packages: pytz, babel Step #12 - "compile-libfuzzer-undefined-x86_64": Successfully installed babel-2.16.0 pytz-2024.1 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_lexer.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_path=/src/fuzz_lexer.py Step #12 - "compile-libfuzzer-undefined-x86_64": + shift 1 Step #12 - "compile-libfuzzer-undefined-x86_64": ++ basename -s .py /src/fuzz_lexer.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_basename=fuzz_lexer Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_package=fuzz_lexer.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #12 - "compile-libfuzzer-undefined-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_lexer 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_lexer Step #12 - "compile-libfuzzer-undefined-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-undefined-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_lexer --onefile --name fuzz_lexer.pkg /src/fuzz_lexer.py Step #12 - "compile-libfuzzer-undefined-x86_64": 62 INFO: PyInstaller: 5.0.1 Step #12 - "compile-libfuzzer-undefined-x86_64": 63 INFO: Python: 3.8.3 Step #12 - "compile-libfuzzer-undefined-x86_64": 64 INFO: Platform: Linux-5.10.0-32-cloud-amd64-x86_64-with-glibc2.2.5 Step #12 - "compile-libfuzzer-undefined-x86_64": 64 INFO: wrote /src/babel/fuzz_lexer.pkg.spec Step #12 - "compile-libfuzzer-undefined-x86_64": 67 INFO: UPX is not available. Step #12 - "compile-libfuzzer-undefined-x86_64": 68 INFO: Extending PYTHONPATH with paths Step #12 - "compile-libfuzzer-undefined-x86_64": ['/src'] Step #12 - "compile-libfuzzer-undefined-x86_64": 306 INFO: checking Analysis Step #12 - "compile-libfuzzer-undefined-x86_64": 307 INFO: Building Analysis because Analysis-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 307 INFO: Initializing module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 308 INFO: Caching module graph hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 318 INFO: Analyzing base_library.zip ... Step #12 - "compile-libfuzzer-undefined-x86_64": 3190 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": 3190 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #12 - "compile-libfuzzer-undefined-x86_64": 5062 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 5223 INFO: running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 5249 INFO: Analyzing /src/fuzz_lexer.py Step #12 - "compile-libfuzzer-undefined-x86_64": 5694 INFO: Processing module hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 5695 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5696 INFO: Loading module hook 'hook-pytz.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5761 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6033 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6084 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6086 INFO: Loading module hook 'hook-pkg_resources.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6562 INFO: Processing pre-safe import module hook win32com from '/usr/local/lib/python3.8/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/hook-win32com.py'. Step #12 - "compile-libfuzzer-undefined-x86_64": 6850 WARNING: Hidden import "pkg_resources.py2_warn" not found! Step #12 - "compile-libfuzzer-undefined-x86_64": 7013 WARNING: Hidden import "pkg_resources.markers" not found! Step #12 - "compile-libfuzzer-undefined-x86_64": 7015 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": 7017 INFO: Loading module hook 'hook-babel.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7024 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7026 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7035 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7037 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7039 INFO: Loading module hook 'hook-packaging.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7055 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 7067 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 7071 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": 7073 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": 7076 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": 7079 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": 7080 INFO: Including run-time hook '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgres.py' Step #12 - "compile-libfuzzer-undefined-x86_64": 7093 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 8033 INFO: Looking for eggs Step #12 - "compile-libfuzzer-undefined-x86_64": 8033 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 8037 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_lexer/fuzz_lexer.pkg/warn-fuzz_lexer.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 8073 INFO: Graph cross-reference written to /src/pyfuzzworkdir//fuzz_lexer/fuzz_lexer.pkg/xref-fuzz_lexer.pkg.html Step #12 - "compile-libfuzzer-undefined-x86_64": 8103 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 8104 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 8104 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_lexer/fuzz_lexer.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 8600 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_lexer/fuzz_lexer.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 8607 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 8607 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 8607 INFO: Building PKG (CArchive) fuzz_lexer.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 15795 INFO: Building PKG (CArchive) fuzz_lexer.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 15813 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 15813 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 15813 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 15813 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 15813 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/fuzz_lexer.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 15814 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 15872 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_lexer.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_lexer.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_lexer.pkg $@' Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod +x /workspace/out/libfuzzer-undefined-x86_64/fuzz_lexer 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_profile.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_path=/src/fuzz_profile.py Step #12 - "compile-libfuzzer-undefined-x86_64": + shift 1 Step #12 - "compile-libfuzzer-undefined-x86_64": ++ basename -s .py /src/fuzz_profile.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_basename=fuzz_profile Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_package=fuzz_profile.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #12 - "compile-libfuzzer-undefined-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_profile 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_profile Step #12 - "compile-libfuzzer-undefined-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-undefined-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_profile --onefile --name fuzz_profile.pkg /src/fuzz_profile.py Step #12 - "compile-libfuzzer-undefined-x86_64": 60 INFO: PyInstaller: 5.0.1 Step #12 - "compile-libfuzzer-undefined-x86_64": 61 INFO: Python: 3.8.3 Step #12 - "compile-libfuzzer-undefined-x86_64": 62 INFO: Platform: Linux-5.10.0-32-cloud-amd64-x86_64-with-glibc2.2.5 Step #12 - "compile-libfuzzer-undefined-x86_64": 62 INFO: wrote /src/babel/fuzz_profile.pkg.spec Step #12 - "compile-libfuzzer-undefined-x86_64": 64 INFO: UPX is not available. Step #12 - "compile-libfuzzer-undefined-x86_64": 66 INFO: Extending PYTHONPATH with paths Step #12 - "compile-libfuzzer-undefined-x86_64": ['/src'] Step #12 - "compile-libfuzzer-undefined-x86_64": 304 INFO: checking Analysis Step #12 - "compile-libfuzzer-undefined-x86_64": 304 INFO: Building Analysis because Analysis-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 304 INFO: Initializing module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 305 INFO: Caching module graph hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 316 INFO: Analyzing base_library.zip ... Step #12 - "compile-libfuzzer-undefined-x86_64": 3241 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": 3242 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #12 - "compile-libfuzzer-undefined-x86_64": 5050 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 5210 INFO: running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 5236 INFO: Analyzing /src/fuzz_profile.py Step #12 - "compile-libfuzzer-undefined-x86_64": 5696 INFO: Processing module hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 5697 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5698 INFO: Loading module hook 'hook-pytz.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5763 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6032 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6084 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6085 INFO: Loading module hook 'hook-pkg_resources.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6566 INFO: Processing pre-safe import module hook win32com from '/usr/local/lib/python3.8/site-packages/_pyinstaller_hooks_contrib/pre_safe_import_module/hook-win32com.py'. Step #12 - "compile-libfuzzer-undefined-x86_64": 6856 WARNING: Hidden import "pkg_resources.py2_warn" not found! Step #12 - "compile-libfuzzer-undefined-x86_64": 7026 WARNING: Hidden import "pkg_resources.markers" not found! Step #12 - "compile-libfuzzer-undefined-x86_64": 7028 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": 7030 INFO: Loading module hook 'hook-babel.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7036 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7038 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7046 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7048 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7050 INFO: Loading module hook 'hook-packaging.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7065 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 7077 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 7081 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": 7082 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": 7085 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": 7088 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": 7090 INFO: Including run-time hook '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgres.py' Step #12 - "compile-libfuzzer-undefined-x86_64": 7102 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 8067 INFO: Looking for eggs Step #12 - "compile-libfuzzer-undefined-x86_64": 8067 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 8072 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_profile/fuzz_profile.pkg/warn-fuzz_profile.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 8107 INFO: Graph cross-reference written to /src/pyfuzzworkdir//fuzz_profile/fuzz_profile.pkg/xref-fuzz_profile.pkg.html Step #12 - "compile-libfuzzer-undefined-x86_64": 8131 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 8132 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 8132 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_profile/fuzz_profile.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 8630 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_profile/fuzz_profile.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 8637 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 8637 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 8637 INFO: Building PKG (CArchive) fuzz_profile.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 15817 INFO: Building PKG (CArchive) fuzz_profile.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 15834 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 15835 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 15835 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 15835 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 15835 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/fuzz_profile.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 15835 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 15886 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_profile.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_profile.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_profile.pkg $@' Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod +x /workspace/out/libfuzzer-undefined-x86_64/fuzz_profile 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/tmpwmyjttmc/fuzz_profile Step #13 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpwmyjttmc/fuzz_lexer 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/babel Step #15: adding: fuzz_lexer (deflated 31%) Step #15: adding: fuzz_lexer.pkg (deflated 2%) Step #15: adding: fuzz_profile (deflated 32%) Step #15: adding: fuzz_profile.pkg (deflated 1%) 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 151 0 0 100 151 0 754 --:--:-- --:--:-- --:--:-- 755 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 38.2M 0 0 100 38.2M 0 101M --:--:-- --:--:-- --:--:-- 101M 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 24 0 0 100 24 0 81 --:--:-- --:--:-- --:--:-- 81 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 32 0 0 100 32 0 181 --:--:-- --:--:-- --:--:-- 181 Finished Step #19 Starting Step #20 Step #20: Already have image: gcr.io/oss-fuzz/babel Finished Step #20 PUSH DONE