starting build "bb39ffe0-1c12-42fa-8461-e9c976938f66" 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: 9e47fb9dd199: Pulling fs layer Step #1: 905e641a4b54: Pulling fs layer Step #1: 8fcaf59102ed: Pulling fs layer Step #1: a9c74f632174: Pulling fs layer Step #1: f013ccbc22d3: Pulling fs layer Step #1: aa7628f757ea: Pulling fs layer Step #1: 49780d3797d7: Pulling fs layer Step #1: 8bb48e7bd5aa: Pulling fs layer Step #1: a60c1afcc4de: Pulling fs layer Step #1: 1bf625c1f2e9: Pulling fs layer Step #1: 0d403ab20828: Pulling fs layer Step #1: 59b333e0d31f: Pulling fs layer Step #1: f9f618c603e5: Pulling fs layer Step #1: 51a11501906f: Pulling fs layer Step #1: 058ec0f2cc9f: Pulling fs layer Step #1: bf5fa999ddb8: Pulling fs layer Step #1: 3b79056069ee: Pulling fs layer Step #1: 2af4c62c4868: Pulling fs layer Step #1: b7f4aba96676: Pulling fs layer Step #1: b183bf4b4905: Pulling fs layer Step #1: 684bf5ceae20: Pulling fs layer Step #1: 8fcaf59102ed: Waiting Step #1: 8bb48e7bd5aa: Waiting Step #1: a60c1afcc4de: Waiting Step #1: a9c74f632174: Waiting Step #1: 1bf625c1f2e9: Waiting Step #1: 0d403ab20828: Waiting Step #1: 9f325110a2f2: Pulling fs layer Step #1: 9506c77dd40c: Pulling fs layer Step #1: 59b333e0d31f: Waiting Step #1: 49780d3797d7: Waiting Step #1: f013ccbc22d3: Waiting Step #1: 9fe2f424e764: Pulling fs layer Step #1: f9f618c603e5: Waiting Step #1: 629364863e03: Pulling fs layer Step #1: aa7628f757ea: Waiting Step #1: d2235c9c3e41: Pulling fs layer Step #1: 51a11501906f: Waiting Step #1: bf5fa999ddb8: Waiting Step #1: 058ec0f2cc9f: Waiting Step #1: 3b79056069ee: Waiting Step #1: 684bf5ceae20: Waiting Step #1: 3ae4a153df7c: Pulling fs layer Step #1: 2af4c62c4868: Waiting Step #1: 9f325110a2f2: Waiting Step #1: b183bf4b4905: Waiting Step #1: b7f4aba96676: Waiting Step #1: 5363e097ce6b: Pulling fs layer Step #1: edf30144e380: Pulling fs layer Step #1: 9506c77dd40c: Waiting Step #1: 9fe2f424e764: Waiting Step #1: f79617c57746: Pulling fs layer Step #1: 629364863e03: Waiting Step #1: 3ae4a153df7c: Waiting Step #1: edf30144e380: Waiting Step #1: 905e641a4b54: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 8fcaf59102ed: Verifying Checksum Step #1: 8fcaf59102ed: Download complete Step #1: f013ccbc22d3: Verifying Checksum Step #1: f013ccbc22d3: Download complete Step #1: a9c74f632174: Verifying Checksum Step #1: a9c74f632174: Download complete Step #1: 49780d3797d7: Verifying Checksum Step #1: 49780d3797d7: Download complete Step #1: 8bb48e7bd5aa: Verifying Checksum Step #1: 8bb48e7bd5aa: Download complete Step #1: 9e47fb9dd199: Verifying Checksum Step #1: 9e47fb9dd199: Download complete Step #1: 1bf625c1f2e9: Verifying Checksum Step #1: 1bf625c1f2e9: Download complete Step #1: 0d403ab20828: Verifying Checksum Step #1: 0d403ab20828: Download complete Step #1: 59b333e0d31f: Verifying Checksum Step #1: 59b333e0d31f: Download complete Step #1: b549f31133a9: Pull complete Step #1: f9f618c603e5: Verifying Checksum Step #1: f9f618c603e5: Download complete Step #1: 51a11501906f: Verifying Checksum Step #1: 51a11501906f: Download complete Step #1: 058ec0f2cc9f: Verifying Checksum Step #1: 058ec0f2cc9f: Download complete Step #1: bf5fa999ddb8: Verifying Checksum Step #1: bf5fa999ddb8: Download complete Step #1: 2af4c62c4868: Verifying Checksum Step #1: 2af4c62c4868: Download complete Step #1: b7f4aba96676: Verifying Checksum Step #1: b7f4aba96676: Download complete Step #1: b183bf4b4905: Verifying Checksum Step #1: b183bf4b4905: Download complete Step #1: a60c1afcc4de: Verifying Checksum Step #1: 9f325110a2f2: Verifying Checksum Step #1: 9f325110a2f2: Download complete Step #1: 684bf5ceae20: Verifying Checksum Step #1: 684bf5ceae20: Download complete Step #1: 9506c77dd40c: Verifying Checksum Step #1: 9506c77dd40c: Download complete Step #1: 9fe2f424e764: Verifying Checksum Step #1: 9fe2f424e764: Download complete Step #1: 629364863e03: Verifying Checksum Step #1: 629364863e03: Download complete Step #1: 3ae4a153df7c: Verifying Checksum Step #1: 3ae4a153df7c: Download complete Step #1: d2235c9c3e41: Verifying Checksum Step #1: d2235c9c3e41: Download complete Step #1: 5363e097ce6b: Verifying Checksum Step #1: 5363e097ce6b: Download complete Step #1: edf30144e380: Verifying Checksum Step #1: edf30144e380: Download complete Step #1: f79617c57746: Verifying Checksum Step #1: f79617c57746: Download complete Step #1: aa7628f757ea: Verifying Checksum Step #1: aa7628f757ea: Download complete Step #1: 9e47fb9dd199: Pull complete Step #1: 905e641a4b54: Pull complete Step #1: 8fcaf59102ed: Pull complete Step #1: a9c74f632174: Pull complete Step #1: f013ccbc22d3: Pull complete Step #1: aa7628f757ea: Pull complete Step #1: 49780d3797d7: Pull complete Step #1: 8bb48e7bd5aa: Pull complete Step #1: a60c1afcc4de: Pull complete Step #1: 1bf625c1f2e9: Pull complete Step #1: 0d403ab20828: Pull complete Step #1: 59b333e0d31f: Pull complete Step #1: f9f618c603e5: Pull complete Step #1: 51a11501906f: Pull complete Step #1: 058ec0f2cc9f: Pull complete Step #1: bf5fa999ddb8: Pull complete Step #1: 3b79056069ee: Pull complete Step #1: 2af4c62c4868: Pull complete Step #1: b7f4aba96676: Pull complete Step #1: b183bf4b4905: Pull complete Step #1: 684bf5ceae20: Pull complete Step #1: 9f325110a2f2: Pull complete Step #1: 9506c77dd40c: Pull complete Step #1: 9fe2f424e764: Pull complete Step #1: 629364863e03: Pull complete Step #1: d2235c9c3e41: Pull complete Step #1: 3ae4a153df7c: Pull complete Step #1: 5363e097ce6b: Pull complete Step #1: edf30144e380: Pull complete Step #1: f79617c57746: Pull complete Step #1: Digest: sha256:b761439865b248ec8719746750fc0d9c0c8199bc0378c2a7a057421e72a0e1c5 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> ccfb45f2acd9 Step #1: Step 2/5 : RUN pip3 install --upgrade pip && pip3 install cython Step #1: ---> Running in 8361bd80168a Step #1: Collecting pip Step #1: Downloading https://files.pythonhosted.org/packages/8a/6a/19e9fe04fca059ccf770861c7d5721ab4c2aebc539889e97c7977528a53b/pip-24.0-py3-none-any.whl (2.1MB) 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.0 Step #1: Collecting cython Step #1: Downloading Cython-3.0.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.2 kB) Step #1: Downloading Cython-3.0.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB) Step #1: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 16.2 MB/s eta 0:00:00 Step #1: Installing collected packages: cython Step #1: Successfully installed cython-3.0.10 Step #1: WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Step #1: Removing intermediate container 8361bd80168a Step #1: ---> 3a039c98fd66 Step #1: Step 3/5 : RUN git clone https://github.com/python-babel/babel babel Step #1: ---> Running in 9f3da251fd57 Step #1: Cloning into 'babel'... Step #1: Removing intermediate container 9f3da251fd57 Step #1: ---> b95152c33cab Step #1: Step 4/5 : COPY *.sh *py $SRC/ Step #1: ---> 9a9f3d5fa79c Step #1: Step 5/5 : WORKDIR $SRC/babel Step #1: ---> Running in 9dd12b394f04 Step #1: Removing intermediate container 9dd12b394f04 Step #1: ---> b890a10eda0b Step #1: Successfully built b890a10eda0b 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/fileSeGNEM 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=8babd2413b6b4eb99304f8f2ae10bbbca4a1fe7d Step #2 - "srcmap": + jq_inplace /tmp/fileSeGNEM '."/src/babel" = { type: "git", url: "https://github.com/python-babel/babel", rev: "8babd2413b6b4eb99304f8f2ae10bbbca4a1fe7d" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filer5Hgo9 Step #2 - "srcmap": + cat /tmp/fileSeGNEM Step #2 - "srcmap": + jq '."/src/babel" = { type: "git", url: "https://github.com/python-babel/babel", rev: "8babd2413b6b4eb99304f8f2ae10bbbca4a1fe7d" }' Step #2 - "srcmap": + mv /tmp/filer5Hgo9 /tmp/fileSeGNEM 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/fileSeGNEM Step #2 - "srcmap": + rm /tmp/fileSeGNEM 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": "8babd2413b6b4eb99304f8f2ae10bbbca4a1fe7d" 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 Installing backend dependencies ... [?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.15.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": [?25l ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/505.5 kB ? eta -:--:--  ━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.0/505.5 kB 2.2 MB/s eta 0:00:01  ━━━━━━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 122.9/505.5 kB 2.0 MB/s eta 0:00:01  ━━━━━━━━━━━━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━ 297.0/505.5 kB 2.9 MB/s eta 0:00:01  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 505.5/505.5 kB 3.6 MB/s eta 0:00:00 Step #3 - "compile-libfuzzer-address-x86_64": [?25hBuilding 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.15.0-py3-none-any.whl size=121864 sha256=520cf4f5a9bb1aa8590ea89a1e777170476d00f815c875ad732790bf9ee11198 Step #3 - "compile-libfuzzer-address-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-n4ophi_9/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.15.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. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv 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_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": 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-28-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 63 INFO: wrote /src/babel/fuzz_profile.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": 303 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 304 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 304 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 305 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 315 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 3175 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": 3176 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 5035 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 5194 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 5219 INFO: Analyzing /src/fuzz_profile.py Step #3 - "compile-libfuzzer-address-x86_64": 5666 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 5667 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 5668 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5935 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5937 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": 6412 INFO: Processing pre-safe import module hook win32com from '/usr/local/lib/python3.8/site-packages/_pyinstaller_hooks_contrib/hooks/pre_safe_import_module/hook-win32com.py'. Step #3 - "compile-libfuzzer-address-x86_64": 6700 WARNING: Hidden import "pkg_resources.py2_warn" not found! Step #3 - "compile-libfuzzer-address-x86_64": 6868 WARNING: Hidden import "pkg_resources.markers" not found! Step #3 - "compile-libfuzzer-address-x86_64": 6870 INFO: Loading module hook 'hook-packaging.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6870 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6879 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": 6881 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6930 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6932 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6934 INFO: Loading module hook 'hook-pytz.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6999 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6999 INFO: Loading module hook 'hook-babel.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7023 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 7034 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 7038 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": 7040 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": 7043 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": 7046 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": 7048 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": 7061 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 8021 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 8021 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 8025 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_profile/fuzz_profile.pkg/warn-fuzz_profile.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 8060 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": 8090 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 8090 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 8091 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_profile/fuzz_profile.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 8589 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_profile/fuzz_profile.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 8596 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 8596 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 8596 INFO: Building PKG (CArchive) fuzz_profile.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 15782 INFO: Building PKG (CArchive) fuzz_profile.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 15799 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 15799 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 15799 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 15799 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 15799 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_profile.pkg Step #3 - "compile-libfuzzer-address-x86_64": 15800 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 15859 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 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-28-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": 300 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 300 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 300 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 302 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 311 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 3218 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": 3219 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 5011 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 5167 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 5193 INFO: Analyzing /src/fuzz_lexer.py Step #3 - "compile-libfuzzer-address-x86_64": 5631 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 5632 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 5633 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5901 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5903 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": 6382 INFO: Processing pre-safe import module hook win32com from '/usr/local/lib/python3.8/site-packages/_pyinstaller_hooks_contrib/hooks/pre_safe_import_module/hook-win32com.py'. Step #3 - "compile-libfuzzer-address-x86_64": 6669 WARNING: Hidden import "pkg_resources.py2_warn" not found! Step #3 - "compile-libfuzzer-address-x86_64": 6840 WARNING: Hidden import "pkg_resources.markers" not found! Step #3 - "compile-libfuzzer-address-x86_64": 6842 INFO: Loading module hook 'hook-packaging.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6843 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6851 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": 6853 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6902 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6904 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6906 INFO: Loading module hook 'hook-pytz.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6971 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6971 INFO: Loading module hook 'hook-babel.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 6994 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 7006 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 7010 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": 7012 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": 7014 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": 7017 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": 7019 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": 7032 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 7999 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 8000 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 8004 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_lexer/fuzz_lexer.pkg/warn-fuzz_lexer.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 8040 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": 8063 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 8063 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 8063 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_lexer/fuzz_lexer.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 8555 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_lexer/fuzz_lexer.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 8562 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 8562 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 8562 INFO: Building PKG (CArchive) fuzz_lexer.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 15742 INFO: Building PKG (CArchive) fuzz_lexer.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 15759 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 15760 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 15760 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 15760 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 15760 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_lexer.pkg Step #3 - "compile-libfuzzer-address-x86_64": 15760 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 15826 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 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": 9e47fb9dd199: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 905e641a4b54: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 83b59bf73b15: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": f8c04c40c688: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 4e6532c1e162: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": db8b651e5316: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": c674838c692e: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": f82b90fd3e29: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 1f8617e9eb89: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 04b600c3b42f: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": c8254692eae2: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 499fab4d4afd: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": de7e767ef113: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 535476894854: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 10dce4875af8: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": b4e152850fb5: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 499fab4d4afd: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": de7e767ef113: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": c674838c692e: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 535476894854: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": f82b90fd3e29: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 10dce4875af8: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": b4e152850fb5: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 1f8617e9eb89: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": c8254692eae2: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 04b600c3b42f: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": db8b651e5316: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 4e6532c1e162: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 4e6532c1e162: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 83b59bf73b15: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 83b59bf73b15: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": f8c04c40c688: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": f8c04c40c688: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": c674838c692e: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": c674838c692e: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 83b59bf73b15: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 1f8617e9eb89: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 1f8617e9eb89: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": c8254692eae2: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": c8254692eae2: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": f8c04c40c688: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 04b600c3b42f: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 04b600c3b42f: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 4e6532c1e162: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": de7e767ef113: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": de7e767ef113: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 535476894854: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 535476894854: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": db8b651e5316: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": db8b651e5316: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b4e152850fb5: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": b4e152850fb5: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 499fab4d4afd: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 499fab4d4afd: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 10dce4875af8: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 10dce4875af8: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": db8b651e5316: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": c674838c692e: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": f82b90fd3e29: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 1f8617e9eb89: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 04b600c3b42f: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": c8254692eae2: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 499fab4d4afd: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": de7e767ef113: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 535476894854: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 10dce4875af8: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": b4e152850fb5: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": Digest: sha256:089b107c1bd031393a38687ed4419e9004ee25de7f70f0deeb17b53250151615 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/tmpsvmxj7xz/fuzz_lexer Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpsvmxj7xz/fuzz_profile 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 1%) 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: 0062f774e994: Waiting Step #7: 7eb39101e508: Waiting Step #7: 6b33fd031fac: Waiting Step #7: 89257482f398: Waiting Step #7: d4fceeeb758e: Verifying Checksum Step #7: d4fceeeb758e: Download complete Step #7: 5c9125a401ae: Download complete Step #7: 0062f774e994: Verifying Checksum Step #7: 0062f774e994: Download complete 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 672 --:--:-- --:--:-- --:--:-- 674 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.8M 0 0 100 38.8M 0 66.8M --:--:-- --:--:-- --:--:-- 66.9M Finished Step #8 Starting Step #9 Step #9: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #9: % Total % Received % Xferd Average Speed Time Time Time Current Step #9: Dload Upload Total Spent Left Speed Step #9: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 24 0 0 100 24 0 58 --:--:-- --:--:-- --:--:-- 58 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 124 --:--:-- --:--:-- --:--:-- 125 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 Installing backend dependencies ... [?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.15.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": [?25l ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/505.5 kB ? eta -:--:--  ━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.0/505.5 kB 2.2 MB/s eta 0:00:01  ━━━━━━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 122.9/505.5 kB 2.0 MB/s eta 0:00:01  ━━━━━━━━━━━━━━━━━━━━━━━━━╺━━━━━━━━━━━━━━ 317.4/505.5 kB 3.0 MB/s eta 0:00:01  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 501.8/505.5 kB 3.7 MB/s eta 0:00:01  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 505.5/505.5 kB 3.4 MB/s eta 0:00:00 Step #12 - "compile-libfuzzer-undefined-x86_64": [?25hBuilding 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.15.0-py3-none-any.whl size=121864 sha256=fe046e670225066ef2bc19332054ab2d2e8a722d975df22b667ed0ac0e807d96 Step #12 - "compile-libfuzzer-undefined-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-mgot9mak/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.15.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. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv 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_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": 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-28-cloud-amd64-x86_64-with-glibc2.2.5 Step #12 - "compile-libfuzzer-undefined-x86_64": 64 INFO: wrote /src/babel/fuzz_profile.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": 306 INFO: Building Analysis because Analysis-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 306 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": 317 INFO: Analyzing base_library.zip ... Step #12 - "compile-libfuzzer-undefined-x86_64": 3309 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": 3310 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #12 - "compile-libfuzzer-undefined-x86_64": 5146 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 5304 INFO: running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 5331 INFO: Analyzing /src/fuzz_profile.py Step #12 - "compile-libfuzzer-undefined-x86_64": 5797 INFO: Processing module hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 5798 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5799 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6070 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6072 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": 6546 INFO: Processing pre-safe import module hook win32com from '/usr/local/lib/python3.8/site-packages/_pyinstaller_hooks_contrib/hooks/pre_safe_import_module/hook-win32com.py'. Step #12 - "compile-libfuzzer-undefined-x86_64": 6842 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-packaging.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7015 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7024 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": 7026 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7076 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7078 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7079 INFO: Loading module hook 'hook-pytz.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7146 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7147 INFO: Loading module hook 'hook-babel.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7172 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 7183 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 7188 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": 7189 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": 7192 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": 7195 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": 7196 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": 7209 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 8182 INFO: Looking for eggs Step #12 - "compile-libfuzzer-undefined-x86_64": 8182 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 8187 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_profile/fuzz_profile.pkg/warn-fuzz_profile.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 8224 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": 8256 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 8256 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 8256 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_profile/fuzz_profile.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 8759 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_profile/fuzz_profile.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 8766 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 8766 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 8766 INFO: Building PKG (CArchive) fuzz_profile.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 15973 INFO: Building PKG (CArchive) fuzz_profile.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 15991 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 15991 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 15991 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 15991 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 15991 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/fuzz_profile.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 15991 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 16054 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 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": 62 INFO: Python: 3.8.3 Step #12 - "compile-libfuzzer-undefined-x86_64": 64 INFO: Platform: Linux-5.10.0-28-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": 305 INFO: checking Analysis Step #12 - "compile-libfuzzer-undefined-x86_64": 305 INFO: Building Analysis because Analysis-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 305 INFO: Initializing module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 307 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": 3276 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": 3276 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #12 - "compile-libfuzzer-undefined-x86_64": 5088 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 5248 INFO: running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 5274 INFO: Analyzing /src/fuzz_lexer.py Step #12 - "compile-libfuzzer-undefined-x86_64": 5720 INFO: Processing module hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 5721 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5722 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5994 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5996 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": 6478 INFO: Processing pre-safe import module hook win32com from '/usr/local/lib/python3.8/site-packages/_pyinstaller_hooks_contrib/hooks/pre_safe_import_module/hook-win32com.py'. Step #12 - "compile-libfuzzer-undefined-x86_64": 6769 WARNING: Hidden import "pkg_resources.py2_warn" not found! Step #12 - "compile-libfuzzer-undefined-x86_64": 6942 WARNING: Hidden import "pkg_resources.markers" not found! Step #12 - "compile-libfuzzer-undefined-x86_64": 6944 INFO: Loading module hook 'hook-packaging.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6945 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6954 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": 6956 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7007 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7009 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7010 INFO: Loading module hook 'hook-pytz.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": 7077 INFO: Loading module hook 'hook-babel.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7100 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 7112 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 7116 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": 7118 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": 7121 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": 7124 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": 7125 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": 7138 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 8113 INFO: Looking for eggs Step #12 - "compile-libfuzzer-undefined-x86_64": 8113 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 8118 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_lexer/fuzz_lexer.pkg/warn-fuzz_lexer.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 8153 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": 8176 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 8177 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 8177 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_lexer/fuzz_lexer.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 8675 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_lexer/fuzz_lexer.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 8681 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 8682 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 8682 INFO: Building PKG (CArchive) fuzz_lexer.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 15856 INFO: Building PKG (CArchive) fuzz_lexer.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 15873 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 15874 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 15874 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 15874 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 15874 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/fuzz_lexer.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 15874 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 15934 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 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/tmp3f30umro/fuzz_lexer Step #13 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp3f30umro/fuzz_profile 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 1%) 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 680 --:--:-- --:--:-- --:--:-- 683 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.1M 0 0 100 38.1M 0 76.8M --:--:-- --:--:-- --:--:-- 76.9M Finished Step #17 Starting Step #18 Step #18: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #18: % Total % Received % Xferd Average Speed Time Time Time Current Step #18: Dload Upload Total Spent Left Speed Step #18: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 24 0 0 100 24 0 70 --:--:-- --:--:-- --:--:-- 70 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 122 --:--:-- --:--:-- --:--:-- 122 Finished Step #19 Starting Step #20 Step #20: Already have image: gcr.io/oss-fuzz/babel Finished Step #20 PUSH DONE