starting build "fa05471c-ad98-417e-898b-b21ce211a9cf" 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: f0a3b1b447bc: Pulling fs layer Step #1: b0ee03945fea: Pulling fs layer Step #1: 4a8693e014c3: Pulling fs layer Step #1: e2f59e5a156e: Pulling fs layer Step #1: f29b5ac8e73e: Pulling fs layer Step #1: 90f245d1aef1: Pulling fs layer Step #1: c8927e3dc8f9: Pulling fs layer Step #1: 4557675f45d8: Pulling fs layer Step #1: 937320d7f261: Pulling fs layer Step #1: 7c227fa15db8: Pulling fs layer Step #1: eab9f48a09cf: Pulling fs layer Step #1: f25279365889: Pulling fs layer Step #1: b620613a3285: Pulling fs layer Step #1: 9c02cf9697db: Pulling fs layer Step #1: 2c43caae0223: Pulling fs layer Step #1: a53bb955ed7d: Pulling fs layer Step #1: 53c7e5e2037f: Pulling fs layer Step #1: 7b8eba837b81: Pulling fs layer Step #1: 477f9ef47805: Pulling fs layer Step #1: 552cd68f69b0: Pulling fs layer Step #1: d2721a36b50a: Pulling fs layer Step #1: 250a1d819dfe: Pulling fs layer Step #1: 937320d7f261: Waiting Step #1: 43617d336831: Pulling fs layer Step #1: 5ea45c8c2f67: Pulling fs layer Step #1: 06a838e1c3d9: Pulling fs layer Step #1: f29b5ac8e73e: Waiting Step #1: ff372bba2956: Pulling fs layer Step #1: e348d1ca44b3: Pulling fs layer Step #1: 7c227fa15db8: Waiting Step #1: 3e5f9e0f48fc: Pulling fs layer Step #1: 4a8693e014c3: Waiting Step #1: eab9f48a09cf: Waiting Step #1: 69ff952c3b23: Pulling fs layer Step #1: 622fc10650be: Pulling fs layer Step #1: a53bb955ed7d: Waiting Step #1: f25279365889: Waiting Step #1: 90f245d1aef1: Waiting Step #1: 53c7e5e2037f: Waiting Step #1: 813a09be3a08: Pulling fs layer Step #1: 7b8eba837b81: Waiting Step #1: b620613a3285: Waiting Step #1: 477f9ef47805: Waiting Step #1: 2c43caae0223: Waiting Step #1: 269d047c6bef: Pulling fs layer Step #1: 552cd68f69b0: Waiting Step #1: 9c02cf9697db: Waiting Step #1: d2721a36b50a: Waiting Step #1: 4557675f45d8: Waiting Step #1: 813a09be3a08: Waiting Step #1: c8927e3dc8f9: Waiting Step #1: 250a1d819dfe: Waiting Step #1: 43617d336831: Waiting Step #1: 5ea45c8c2f67: Waiting Step #1: 3e5f9e0f48fc: Waiting Step #1: 06a838e1c3d9: Waiting Step #1: ff372bba2956: Waiting Step #1: e348d1ca44b3: Waiting Step #1: 269d047c6bef: Waiting Step #1: 622fc10650be: Waiting Step #1: 69ff952c3b23: Waiting Step #1: e2f59e5a156e: Waiting Step #1: b0ee03945fea: Verifying Checksum Step #1: b0ee03945fea: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: e2f59e5a156e: Verifying Checksum Step #1: e2f59e5a156e: Download complete Step #1: 4a8693e014c3: Verifying Checksum Step #1: 4a8693e014c3: Download complete Step #1: f29b5ac8e73e: Verifying Checksum Step #1: f29b5ac8e73e: Download complete Step #1: c8927e3dc8f9: Verifying Checksum Step #1: c8927e3dc8f9: Download complete Step #1: f0a3b1b447bc: Download complete Step #1: 4557675f45d8: Download complete Step #1: 7c227fa15db8: Verifying Checksum Step #1: 7c227fa15db8: Download complete Step #1: b549f31133a9: Pull complete Step #1: eab9f48a09cf: Download complete Step #1: f25279365889: Verifying Checksum Step #1: f25279365889: Download complete Step #1: b620613a3285: Verifying Checksum Step #1: b620613a3285: Download complete Step #1: 9c02cf9697db: Download complete Step #1: 2c43caae0223: Verifying Checksum Step #1: 2c43caae0223: Download complete Step #1: a53bb955ed7d: Verifying Checksum Step #1: a53bb955ed7d: Download complete Step #1: 937320d7f261: Verifying Checksum Step #1: 937320d7f261: Download complete Step #1: 53c7e5e2037f: Verifying Checksum Step #1: 53c7e5e2037f: Download complete Step #1: 7b8eba837b81: Verifying Checksum Step #1: 7b8eba837b81: Download complete Step #1: 477f9ef47805: Verifying Checksum Step #1: 477f9ef47805: Download complete Step #1: d2721a36b50a: Verifying Checksum Step #1: d2721a36b50a: Download complete Step #1: 552cd68f69b0: Verifying Checksum Step #1: 552cd68f69b0: Download complete Step #1: 250a1d819dfe: Download complete Step #1: 43617d336831: Verifying Checksum Step #1: 43617d336831: Download complete Step #1: 5ea45c8c2f67: Verifying Checksum Step #1: 5ea45c8c2f67: Download complete Step #1: 06a838e1c3d9: Verifying Checksum Step #1: 06a838e1c3d9: Download complete Step #1: 90f245d1aef1: Verifying Checksum Step #1: 90f245d1aef1: Download complete Step #1: ff372bba2956: Verifying Checksum Step #1: ff372bba2956: Download complete Step #1: e348d1ca44b3: Verifying Checksum Step #1: e348d1ca44b3: Download complete Step #1: 3e5f9e0f48fc: Verifying Checksum Step #1: 3e5f9e0f48fc: Download complete Step #1: 69ff952c3b23: Verifying Checksum Step #1: 69ff952c3b23: Download complete Step #1: 622fc10650be: Verifying Checksum Step #1: 622fc10650be: Download complete Step #1: 813a09be3a08: Verifying Checksum Step #1: 813a09be3a08: Download complete Step #1: 269d047c6bef: Verifying Checksum Step #1: 269d047c6bef: Download complete Step #1: f0a3b1b447bc: Pull complete Step #1: b0ee03945fea: Pull complete Step #1: 4a8693e014c3: Pull complete Step #1: e2f59e5a156e: Pull complete Step #1: f29b5ac8e73e: Pull complete Step #1: 90f245d1aef1: Pull complete Step #1: c8927e3dc8f9: Pull complete Step #1: 4557675f45d8: Pull complete Step #1: 937320d7f261: Pull complete Step #1: 7c227fa15db8: Pull complete Step #1: eab9f48a09cf: Pull complete Step #1: f25279365889: Pull complete Step #1: b620613a3285: Pull complete Step #1: 9c02cf9697db: Pull complete Step #1: 2c43caae0223: Pull complete Step #1: a53bb955ed7d: Pull complete Step #1: 53c7e5e2037f: Pull complete Step #1: 7b8eba837b81: Pull complete Step #1: 477f9ef47805: Pull complete Step #1: 552cd68f69b0: Pull complete Step #1: d2721a36b50a: Pull complete Step #1: 250a1d819dfe: Pull complete Step #1: 43617d336831: Pull complete Step #1: 5ea45c8c2f67: Pull complete Step #1: 06a838e1c3d9: Pull complete Step #1: ff372bba2956: Pull complete Step #1: e348d1ca44b3: Pull complete Step #1: 3e5f9e0f48fc: Pull complete Step #1: 69ff952c3b23: Pull complete Step #1: 622fc10650be: Pull complete Step #1: 813a09be3a08: Pull complete Step #1: 269d047c6bef: Pull complete Step #1: Digest: sha256:97a52da88df293261bec7f6a8904516cfaa9ef7c2c335da07eeded072323875d Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> fbc4b7268bca Step #1: Step 2/5 : RUN pip3 install --upgrade pip && pip3 install cython Step #1: ---> Running in cf3047e13e2c 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 23.8 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 cf3047e13e2c Step #1: ---> 7319c0ab18ed Step #1: Step 3/5 : RUN git clone https://github.com/python-babel/babel babel Step #1: ---> Running in 77270a5b9d14 Step #1: Cloning into 'babel'... Step #1: Removing intermediate container 77270a5b9d14 Step #1: ---> fbfdd476cb86 Step #1: Step 4/5 : COPY *.sh *py $SRC/ Step #1: ---> 36c4d739c4f1 Step #1: Step 5/5 : WORKDIR $SRC/babel Step #1: ---> Running in 7cf8410bbb29 Step #1: Removing intermediate container 7cf8410bbb29 Step #1: ---> eadd9271cb5c Step #1: Successfully built eadd9271cb5c 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/filenLLMMO 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=f91754b01cb9f32b83aeaa80b74ed10b5dfccb6a Step #2 - "srcmap": + jq_inplace /tmp/filenLLMMO '."/src/babel" = { type: "git", url: "https://github.com/python-babel/babel", rev: "f91754b01cb9f32b83aeaa80b74ed10b5dfccb6a" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filevv2jJd Step #2 - "srcmap": + cat /tmp/filenLLMMO Step #2 - "srcmap": + jq '."/src/babel" = { type: "git", url: "https://github.com/python-babel/babel", rev: "f91754b01cb9f32b83aeaa80b74ed10b5dfccb6a" }' Step #2 - "srcmap": + mv /tmp/filevv2jJd /tmp/filenLLMMO 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/filenLLMMO Step #2 - "srcmap": + rm /tmp/filenLLMMO 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": "f91754b01cb9f32b83aeaa80b74ed10b5dfccb6a" 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.2-py2.py3-none-any.whl.metadata (22 kB) Step #3 - "compile-libfuzzer-address-x86_64": Downloading pytz-2024.2-py2.py3-none-any.whl (508 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=124976 sha256=00c517d61f473721de09439d78848a310e8895250229b7a88b2dd5dcdeebc8b4 Step #3 - "compile-libfuzzer-address-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-b12ilebl/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.2 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": 60 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": 64 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": 302 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 303 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 303 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 304 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 314 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 2855 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": 2855 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 5191 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 5346 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 5371 INFO: Analyzing /src/fuzz_lexer.py Step #3 - "compile-libfuzzer-address-x86_64": 5802 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 5803 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 5804 INFO: Loading module hook 'hook-pytz.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5868 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6125 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6174 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6176 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": 6640 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": 6960 WARNING: Hidden import "pkg_resources.py2_warn" not found! Step #3 - "compile-libfuzzer-address-x86_64": 7106 WARNING: Hidden import "pkg_resources.markers" not found! Step #3 - "compile-libfuzzer-address-x86_64": 7108 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": 7109 INFO: Loading module hook 'hook-babel.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7116 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7117 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7126 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7127 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7129 INFO: Loading module hook 'hook-packaging.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7145 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 7156 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 7160 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": 7161 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": 7164 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": 7167 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": 7168 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": 7181 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 8096 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 8096 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 8101 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_lexer/fuzz_lexer.pkg/warn-fuzz_lexer.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 8135 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": 8165 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 8165 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 8165 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_lexer/fuzz_lexer.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 8654 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_lexer/fuzz_lexer.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 8661 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 8661 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 8661 INFO: Building PKG (CArchive) fuzz_lexer.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 15844 INFO: Building PKG (CArchive) fuzz_lexer.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 15861 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 15862 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 15862 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 15862 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 15862 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_lexer.pkg Step #3 - "compile-libfuzzer-address-x86_64": 15862 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 15909 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": 60 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": 298 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 308 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": 3167 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 4935 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 5091 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 5115 INFO: Analyzing /src/fuzz_profile.py Step #3 - "compile-libfuzzer-address-x86_64": 5564 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 5565 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 5566 INFO: Loading module hook 'hook-pytz.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5632 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5896 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5947 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5949 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": 6408 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": 6692 WARNING: Hidden import "pkg_resources.py2_warn" not found! Step #3 - "compile-libfuzzer-address-x86_64": 6855 WARNING: Hidden import "pkg_resources.markers" not found! Step #3 - "compile-libfuzzer-address-x86_64": 6856 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": 6858 INFO: Loading module hook 'hook-babel.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6865 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6866 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6875 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6876 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6878 INFO: Loading module hook 'hook-packaging.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6893 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 6904 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 6909 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": 6910 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": 6913 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": 6916 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": 6917 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": 6929 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 7851 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 7851 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 7856 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_profile/fuzz_profile.pkg/warn-fuzz_profile.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 7890 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": 7914 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 7914 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 7914 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_profile/fuzz_profile.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 8405 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_profile/fuzz_profile.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 8412 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 8412 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 8412 INFO: Building PKG (CArchive) fuzz_profile.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 15587 INFO: Building PKG (CArchive) fuzz_profile.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 15605 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 15605 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 15605 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 15605 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 15605 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_profile.pkg Step #3 - "compile-libfuzzer-address-x86_64": 15605 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 15663 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": f0a3b1b447bc: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": b0ee03945fea: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 04642e25c37e: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 7bce18965dd5: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": dc4895d2192c: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": d00dbca89346: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 3172cc5369a3: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": a55bab2c2c6f: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": fe063d66a028: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 6bb6506eaf16: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 38dc088e40b5: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": abba7a9d85ec: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 8d0802890d45: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": cb9a4c6cbdee: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 42675b36118a: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 7b583a44d693: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 2377dde74708: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 29cfa68051be: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 30a0819e863e: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": abba7a9d85ec: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 3172cc5369a3: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": a55bab2c2c6f: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 8d0802890d45: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": fe063d66a028: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": cb9a4c6cbdee: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 6bb6506eaf16: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 42675b36118a: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 38dc088e40b5: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 7b583a44d693: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 2377dde74708: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 30a0819e863e: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 29cfa68051be: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": d00dbca89346: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 04642e25c37e: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 04642e25c37e: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": dc4895d2192c: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": dc4895d2192c: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 7bce18965dd5: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 7bce18965dd5: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 04642e25c37e: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 3172cc5369a3: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 3172cc5369a3: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": a55bab2c2c6f: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": a55bab2c2c6f: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": fe063d66a028: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": fe063d66a028: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 38dc088e40b5: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 38dc088e40b5: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 7bce18965dd5: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": dc4895d2192c: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 6bb6506eaf16: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 6bb6506eaf16: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 8d0802890d45: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 8d0802890d45: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": d00dbca89346: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": d00dbca89346: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": cb9a4c6cbdee: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 42675b36118a: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 42675b36118a: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 7b583a44d693: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 7b583a44d693: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 2377dde74708: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 2377dde74708: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 29cfa68051be: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 30a0819e863e: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 30a0819e863e: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": abba7a9d85ec: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": abba7a9d85ec: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": d00dbca89346: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 3172cc5369a3: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": a55bab2c2c6f: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": fe063d66a028: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 6bb6506eaf16: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 38dc088e40b5: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": abba7a9d85ec: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 8d0802890d45: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": cb9a4c6cbdee: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 42675b36118a: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 7b583a44d693: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 2377dde74708: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 29cfa68051be: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 30a0819e863e: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": Digest: sha256:ac73a0e4e481f4097f6685bcbd0f6010df6af05471e767be35c6d4db88cacc5a 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/tmpkzy61jrb/fuzz_profile Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpkzy61jrb/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 2%) 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: 7eb39101e508: Waiting Step #7: 6b33fd031fac: Waiting Step #7: 89257482f398: Waiting Step #7: 0062f774e994: Waiting 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 766 --:--:-- --:--:-- --:--:-- 770 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 95.0M --:--:-- --:--:-- --:--:-- 95.1M 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 84 --:--:-- --:--:-- --:--:-- 85 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 131 --:--:-- --:--:-- --:--:-- 132 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.2-py2.py3-none-any.whl.metadata (22 kB) Step #12 - "compile-libfuzzer-undefined-x86_64": Downloading pytz-2024.2-py2.py3-none-any.whl (508 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=124976 sha256=d04578f48f7c21cc5d2c41723ddd20dce612543ee5ff28dfdb922fc7b0bf498d Step #12 - "compile-libfuzzer-undefined-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-9353xa6m/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.2 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": 65 INFO: PyInstaller: 5.0.1 Step #12 - "compile-libfuzzer-undefined-x86_64": 65 INFO: Python: 3.8.3 Step #12 - "compile-libfuzzer-undefined-x86_64": 67 INFO: Platform: Linux-5.10.0-32-cloud-amd64-x86_64-with-glibc2.2.5 Step #12 - "compile-libfuzzer-undefined-x86_64": 67 INFO: wrote /src/babel/fuzz_lexer.pkg.spec Step #12 - "compile-libfuzzer-undefined-x86_64": 70 INFO: UPX is not available. Step #12 - "compile-libfuzzer-undefined-x86_64": 72 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": 306 INFO: Caching module graph hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 317 INFO: Analyzing base_library.zip ... Step #12 - "compile-libfuzzer-undefined-x86_64": 3341 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": 3342 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #12 - "compile-libfuzzer-undefined-x86_64": 5102 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 5258 INFO: running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 5283 INFO: Analyzing /src/fuzz_lexer.py Step #12 - "compile-libfuzzer-undefined-x86_64": 5723 INFO: Processing module hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 5724 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5725 INFO: Loading module hook 'hook-pytz.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5801 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6069 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6120 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6121 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": 6596 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": 6885 WARNING: Hidden import "pkg_resources.py2_warn" not found! Step #12 - "compile-libfuzzer-undefined-x86_64": 7053 WARNING: Hidden import "pkg_resources.markers" not found! Step #12 - "compile-libfuzzer-undefined-x86_64": 7055 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": 7057 INFO: Loading module hook 'hook-babel.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7063 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7065 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7074 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7076 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7078 INFO: Loading module hook 'hook-packaging.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7094 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 7105 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 7109 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": 7111 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": 7114 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": 7117 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": 7118 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": 7131 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 8072 INFO: Looking for eggs Step #12 - "compile-libfuzzer-undefined-x86_64": 8072 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 8077 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_lexer/fuzz_lexer.pkg/warn-fuzz_lexer.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 8113 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": 8145 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 8145 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 8145 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_lexer/fuzz_lexer.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 8641 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_lexer/fuzz_lexer.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 8647 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 8647 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 8648 INFO: Building PKG (CArchive) fuzz_lexer.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 15828 INFO: Building PKG (CArchive) fuzz_lexer.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 15845 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 15845 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 15846 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 15846 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 15846 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/fuzz_lexer.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 15846 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 15900 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": 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-32-cloud-amd64-x86_64-with-glibc2.2.5 Step #12 - "compile-libfuzzer-undefined-x86_64": 61 INFO: wrote /src/babel/fuzz_profile.pkg.spec Step #12 - "compile-libfuzzer-undefined-x86_64": 63 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": 296 INFO: checking Analysis Step #12 - "compile-libfuzzer-undefined-x86_64": 296 INFO: Building Analysis because Analysis-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 296 INFO: Initializing module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 298 INFO: Caching module graph hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 307 INFO: Analyzing base_library.zip ... Step #12 - "compile-libfuzzer-undefined-x86_64": 3120 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": 3120 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #12 - "compile-libfuzzer-undefined-x86_64": 4948 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 5105 INFO: running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 5129 INFO: Analyzing /src/fuzz_profile.py Step #12 - "compile-libfuzzer-undefined-x86_64": 5578 INFO: Processing module hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 5579 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5580 INFO: Loading module hook 'hook-pytz.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5645 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5906 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5956 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5958 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": 6423 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": 6727 WARNING: Hidden import "pkg_resources.py2_warn" not found! Step #12 - "compile-libfuzzer-undefined-x86_64": 6875 WARNING: Hidden import "pkg_resources.markers" not found! Step #12 - "compile-libfuzzer-undefined-x86_64": 6877 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": 6879 INFO: Loading module hook 'hook-babel.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6885 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6887 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6896 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6897 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6899 INFO: Loading module hook 'hook-packaging.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6915 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 6926 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 6930 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": 6932 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": 6935 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": 6938 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": 6939 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": 6952 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 7884 INFO: Looking for eggs Step #12 - "compile-libfuzzer-undefined-x86_64": 7884 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 7889 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_profile/fuzz_profile.pkg/warn-fuzz_profile.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 7924 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": 7947 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 7948 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 7948 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_profile/fuzz_profile.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 8446 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_profile/fuzz_profile.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 8453 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 8453 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 8453 INFO: Building PKG (CArchive) fuzz_profile.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 15633 INFO: Building PKG (CArchive) fuzz_profile.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 15651 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 15651 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 15651 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 15651 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 15651 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/fuzz_profile.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 15651 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 15702 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/tmpgoe_jo4m/fuzz_profile Step #13 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpgoe_jo4m/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 2%) 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 667 --:--:-- --:--:-- --:--:-- 671 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 77.7M --:--:-- --:--:-- --:--:-- 77.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 24 0 0 100 24 0 77 --:--:-- --:--:-- --:--:-- 77 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 131 --:--:-- --:--:-- --:--:-- 131 Finished Step #19 Starting Step #20 Step #20: Already have image: gcr.io/oss-fuzz/babel Finished Step #20 PUSH DONE