starting build "688b2112-fd8c-44bd-8d13-f4a08f83b1f7" 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 6.656kB 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: 81271cf7a52d: Pulling fs layer Step #1: 076e7ea7d2be: Pulling fs layer Step #1: f972795033e0: Pulling fs layer Step #1: 955fcbf34e0c: Pulling fs layer Step #1: 3d3d7fb65ba7: Pulling fs layer Step #1: 174afde8b08f: Pulling fs layer Step #1: 45de6e62747b: Pulling fs layer Step #1: e2d79d747ed8: Pulling fs layer Step #1: ae4e2bcce13c: Pulling fs layer Step #1: 7ebb7f4ef4ba: Pulling fs layer Step #1: a3f19c78a4e0: Pulling fs layer Step #1: d5a5e8ce33af: Pulling fs layer Step #1: 73be63f18a2d: Pulling fs layer Step #1: 26e1ff8f4610: Pulling fs layer Step #1: ebd8249059d4: Pulling fs layer Step #1: f46125ccc6bc: Pulling fs layer Step #1: 1e6f40e53d7f: Pulling fs layer Step #1: bb416e3a2055: Pulling fs layer Step #1: 20b4f3764835: Pulling fs layer Step #1: 3cb217e698e8: Pulling fs layer Step #1: 17edcc97785b: Pulling fs layer Step #1: da6fa1422508: Pulling fs layer Step #1: 236229e44656: Pulling fs layer Step #1: fff17b067246: Pulling fs layer Step #1: e667c6c012a1: Pulling fs layer Step #1: 1c6dc0c7729f: Pulling fs layer Step #1: 50e898cc1c8e: Pulling fs layer Step #1: db7af1b26c60: Pulling fs layer Step #1: f96a58b6493f: Pulling fs layer Step #1: 5f14f2d5a944: Pulling fs layer Step #1: 174afde8b08f: Waiting Step #1: 45de6e62747b: Waiting Step #1: e2d79d747ed8: Waiting Step #1: ae4e2bcce13c: Waiting Step #1: 955fcbf34e0c: Waiting Step #1: 7ebb7f4ef4ba: Waiting Step #1: a3f19c78a4e0: Waiting Step #1: f972795033e0: Waiting Step #1: 236229e44656: Waiting Step #1: d5a5e8ce33af: Waiting Step #1: fff17b067246: Waiting Step #1: 3d3d7fb65ba7: Waiting Step #1: 73be63f18a2d: Waiting Step #1: 20b4f3764835: Waiting Step #1: 26e1ff8f4610: Waiting Step #1: 3cb217e698e8: Waiting Step #1: ebd8249059d4: Waiting Step #1: e667c6c012a1: Waiting Step #1: 17edcc97785b: Waiting Step #1: f46125ccc6bc: Waiting Step #1: da6fa1422508: Waiting Step #1: 1e6f40e53d7f: Waiting Step #1: f96a58b6493f: Waiting Step #1: 1c6dc0c7729f: Waiting Step #1: db7af1b26c60: Waiting Step #1: bb416e3a2055: Waiting Step #1: 076e7ea7d2be: Verifying Checksum Step #1: 076e7ea7d2be: Download complete Step #1: b549f31133a9: Download complete Step #1: f972795033e0: Download complete Step #1: 955fcbf34e0c: Verifying Checksum Step #1: 955fcbf34e0c: Download complete Step #1: 3d3d7fb65ba7: Verifying Checksum Step #1: 3d3d7fb65ba7: Download complete Step #1: 45de6e62747b: Verifying Checksum Step #1: 45de6e62747b: Download complete Step #1: e2d79d747ed8: Verifying Checksum Step #1: e2d79d747ed8: Download complete Step #1: 81271cf7a52d: Verifying Checksum Step #1: 81271cf7a52d: Download complete Step #1: 7ebb7f4ef4ba: Download complete Step #1: a3f19c78a4e0: Verifying Checksum Step #1: a3f19c78a4e0: Download complete Step #1: d5a5e8ce33af: Verifying Checksum Step #1: d5a5e8ce33af: Download complete Step #1: 73be63f18a2d: Verifying Checksum Step #1: 73be63f18a2d: Download complete Step #1: 26e1ff8f4610: Download complete Step #1: b549f31133a9: Pull complete Step #1: ebd8249059d4: Download complete Step #1: f46125ccc6bc: Verifying Checksum Step #1: f46125ccc6bc: Download complete Step #1: 1e6f40e53d7f: Download complete Step #1: bb416e3a2055: Verifying Checksum Step #1: bb416e3a2055: Download complete Step #1: 20b4f3764835: Verifying Checksum Step #1: 20b4f3764835: Download complete Step #1: ae4e2bcce13c: Verifying Checksum Step #1: ae4e2bcce13c: Download complete Step #1: 3cb217e698e8: Verifying Checksum Step #1: 3cb217e698e8: Download complete Step #1: da6fa1422508: Verifying Checksum Step #1: da6fa1422508: Download complete Step #1: 17edcc97785b: Verifying Checksum Step #1: 17edcc97785b: Download complete Step #1: 236229e44656: Verifying Checksum Step #1: 236229e44656: Download complete Step #1: fff17b067246: Verifying Checksum Step #1: fff17b067246: Download complete Step #1: e667c6c012a1: Verifying Checksum Step #1: e667c6c012a1: Download complete Step #1: 50e898cc1c8e: Verifying Checksum Step #1: 50e898cc1c8e: Download complete Step #1: 1c6dc0c7729f: Verifying Checksum Step #1: 1c6dc0c7729f: Download complete Step #1: db7af1b26c60: Verifying Checksum Step #1: db7af1b26c60: Download complete Step #1: f96a58b6493f: Verifying Checksum Step #1: f96a58b6493f: Download complete Step #1: 174afde8b08f: Download complete Step #1: 5f14f2d5a944: Verifying Checksum Step #1: 5f14f2d5a944: Download complete Step #1: 81271cf7a52d: Pull complete Step #1: 076e7ea7d2be: Pull complete Step #1: f972795033e0: Pull complete Step #1: 955fcbf34e0c: Pull complete Step #1: 3d3d7fb65ba7: Pull complete Step #1: 174afde8b08f: Pull complete Step #1: 45de6e62747b: Pull complete Step #1: e2d79d747ed8: Pull complete Step #1: ae4e2bcce13c: Pull complete Step #1: 7ebb7f4ef4ba: Pull complete Step #1: a3f19c78a4e0: Pull complete Step #1: d5a5e8ce33af: Pull complete Step #1: 73be63f18a2d: Pull complete Step #1: 26e1ff8f4610: Pull complete Step #1: ebd8249059d4: Pull complete Step #1: f46125ccc6bc: Pull complete Step #1: 1e6f40e53d7f: Pull complete Step #1: bb416e3a2055: Pull complete Step #1: 20b4f3764835: Pull complete Step #1: 3cb217e698e8: Pull complete Step #1: 17edcc97785b: Pull complete Step #1: da6fa1422508: Pull complete Step #1: 236229e44656: Pull complete Step #1: fff17b067246: Pull complete Step #1: e667c6c012a1: Pull complete Step #1: 1c6dc0c7729f: Pull complete Step #1: 50e898cc1c8e: Pull complete Step #1: db7af1b26c60: Pull complete Step #1: f96a58b6493f: Pull complete Step #1: 5f14f2d5a944: Pull complete Step #1: Digest: sha256:c030cd8381f6db00d004f295580b7a72b0d4301cd0ccfa8e3597658394ee1b4f Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> dc4e9bdad619 Step #1: Step 2/5 : RUN pip3 install --upgrade pip cython Step #1: ---> Running in e83f58de72fc 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: Collecting cython Step #1: Downloading https://files.pythonhosted.org/packages/e3/7f/f584f5d15323feb897d42ef0e9d910649e2150d7a30cf7e7a8cc1d236e6f/Cython-3.0.8-py2.py3-none-any.whl (1.2MB) Step #1: Installing collected packages: pip, cython 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 cython-3.0.8 pip-24.0 Step #1: Removing intermediate container e83f58de72fc Step #1: ---> 85a7efd69170 Step #1: Step 3/5 : RUN git clone https://github.com/zeromq/pyzmq pyzmq Step #1: ---> Running in ad9a9c52a0a4 Step #1: Cloning into 'pyzmq'... Step #1: Removing intermediate container ad9a9c52a0a4 Step #1: ---> b2f4d300ed24 Step #1: Step 4/5 : COPY *.sh *py $SRC/ Step #1: ---> 804dc86b2ba7 Step #1: Step 5/5 : WORKDIR $SRC/pyzmq Step #1: ---> Running in 1b231b97bdf9 Step #1: Removing intermediate container 1b231b97bdf9 Step #1: ---> f783bc60e18a Step #1: Successfully built f783bc60e18a Step #1: Successfully tagged gcr.io/oss-fuzz/pyzmq:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/pyzmq Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/filemkedML 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/pyzmq/.git Step #2 - "srcmap": + GIT_DIR=/src/pyzmq Step #2 - "srcmap": + cd /src/pyzmq Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/zeromq/pyzmq Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=1c630ff1a417eeae2830b16dc00ac9ea4e1c3e9e Step #2 - "srcmap": + jq_inplace /tmp/filemkedML '."/src/pyzmq" = { type: "git", url: "https://github.com/zeromq/pyzmq", rev: "1c630ff1a417eeae2830b16dc00ac9ea4e1c3e9e" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/file1MEV4c Step #2 - "srcmap": + cat /tmp/filemkedML Step #2 - "srcmap": + jq '."/src/pyzmq" = { type: "git", url: "https://github.com/zeromq/pyzmq", rev: "1c630ff1a417eeae2830b16dc00ac9ea4e1c3e9e" }' Step #2 - "srcmap": + mv /tmp/file1MEV4c /tmp/filemkedML 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/filemkedML Step #2 - "srcmap": + rm /tmp/filemkedML Step #2 - "srcmap": { Step #2 - "srcmap": "/src/pyzmq": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/zeromq/pyzmq", Step #2 - "srcmap": "rev": "1c630ff1a417eeae2830b16dc00ac9ea4e1c3e9e" 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": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": CC=clang Step #3 - "compile-libfuzzer-address-x86_64": CXX=clang++ Step #3 - "compile-libfuzzer-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -fno-sanitize=function,leak,vptr, Step #3 - "compile-libfuzzer-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ -fno-sanitize=function,leak,vptr Step #3 - "compile-libfuzzer-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": + pip3 install . Step #3 - "compile-libfuzzer-address-x86_64": Processing /src/pyzmq 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": [?25hBuilding wheels for collected packages: pyzmq Step #3 - "compile-libfuzzer-address-x86_64": Building wheel for pyzmq (pyproject.toml) ... [?25l- \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Created wheel for pyzmq: filename=pyzmq-26.0.0.dev0-cp38-cp38-linux_x86_64.whl size=2710300 sha256=07392b0c42fde493641bb658a6452714a779de23ce6c405bf9a8e5a10a864ff6 Step #3 - "compile-libfuzzer-address-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-nkhi41fj/wheels/52/9d/b4/efe5a56a34f0c7f6167ebea6a973e584b6dacd773befdae9bf Step #3 - "compile-libfuzzer-address-x86_64": Successfully built pyzmq Step #3 - "compile-libfuzzer-address-x86_64": Installing collected packages: pyzmq Step #3 - "compile-libfuzzer-address-x86_64": Successfully installed pyzmq-26.0.0.dev0 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_frame.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_path=/src/fuzz_frame.py Step #3 - "compile-libfuzzer-address-x86_64": + shift 1 Step #3 - "compile-libfuzzer-address-x86_64": ++ basename -s .py /src/fuzz_frame.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_basename=fuzz_frame Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_package=fuzz_frame.pkg Step #3 - "compile-libfuzzer-address-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_frame 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_frame Step #3 - "compile-libfuzzer-address-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-address-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_frame --onefile --name fuzz_frame.pkg /src/fuzz_frame.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-27-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 60 INFO: wrote /src/pyzmq/fuzz_frame.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 62 INFO: UPX is not available. Step #3 - "compile-libfuzzer-address-x86_64": 64 INFO: Extending PYTHONPATH with paths Step #3 - "compile-libfuzzer-address-x86_64": ['/src'] Step #3 - "compile-libfuzzer-address-x86_64": 8 WARNING: discover_hook_directories: Failed to process hook entry point 'hook-dirs = _pyinstaller_hooks_contrib.hooks:get_hook_dirs': pkg_resources.VersionConflict: (setuptools 41.2.0 (/usr/local/lib/python3.8/site-packages), Requirement.parse('setuptools>=42.0.0')) Step #3 - "compile-libfuzzer-address-x86_64": 240 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 240 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 240 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 242 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 246 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 3053 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": 3054 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 4749 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 4895 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 4919 INFO: Analyzing /src/fuzz_frame.py Step #3 - "compile-libfuzzer-address-x86_64": 5147 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 5147 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 5148 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5158 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5159 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5161 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5161 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5210 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5459 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5460 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": 5473 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 5478 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 5482 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": 5484 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": 5486 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": 5489 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": 5497 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 6413 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 6413 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 6417 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_frame/fuzz_frame.pkg/warn-fuzz_frame.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 6447 INFO: Graph cross-reference written to /src/pyfuzzworkdir//fuzz_frame/fuzz_frame.pkg/xref-fuzz_frame.pkg.html Step #3 - "compile-libfuzzer-address-x86_64": 6461 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 6461 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 6461 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_frame/fuzz_frame.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 6884 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_frame/fuzz_frame.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 6889 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 6889 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 6889 INFO: Building PKG (CArchive) fuzz_frame.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 15138 INFO: Building PKG (CArchive) fuzz_frame.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 15141 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 15141 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 15141 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 15142 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 15142 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_frame.pkg Step #3 - "compile-libfuzzer-address-x86_64": 15142 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 15211 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_frame.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_frame.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_frame.pkg $@' Step #3 - "compile-libfuzzer-address-x86_64": + chmod +x /workspace/out/libfuzzer-address-x86_64/fuzz_frame 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": 81271cf7a52d: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 076e7ea7d2be: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 31dcf48b8b3c: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 7d0504eb26f4: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 8155837b9b6e: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": b981ea28643a: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 0d80090e4d10: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 40df21b34b6e: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": d77fafe1f614: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 170e46022092: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 1f9826e811f7: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": fa8f1fe6cbd5: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 8d2b0d37b71a: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 1a5430d9da5c: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 6da9817935dd: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 11beb6e5e983: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": fa8f1fe6cbd5: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 8d2b0d37b71a: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": b981ea28643a: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 1a5430d9da5c: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 0d80090e4d10: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 6da9817935dd: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 11beb6e5e983: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 40df21b34b6e: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": d77fafe1f614: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 1f9826e811f7: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 170e46022092: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 8155837b9b6e: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 31dcf48b8b3c: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 31dcf48b8b3c: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 7d0504eb26f4: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 7d0504eb26f4: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 0d80090e4d10: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 40df21b34b6e: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 40df21b34b6e: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": d77fafe1f614: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": d77fafe1f614: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 31dcf48b8b3c: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 1f9826e811f7: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 1f9826e811f7: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 170e46022092: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 170e46022092: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 7d0504eb26f4: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 8d2b0d37b71a: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 8d2b0d37b71a: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 8155837b9b6e: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 1a5430d9da5c: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 1a5430d9da5c: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b981ea28643a: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": b981ea28643a: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 11beb6e5e983: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": fa8f1fe6cbd5: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": fa8f1fe6cbd5: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 6da9817935dd: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 6da9817935dd: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b981ea28643a: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 0d80090e4d10: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 40df21b34b6e: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": d77fafe1f614: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 170e46022092: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 1f9826e811f7: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": fa8f1fe6cbd5: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 8d2b0d37b71a: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 1a5430d9da5c: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 6da9817935dd: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 11beb6e5e983: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": Digest: sha256:7675d12c9093c87bf4cb1b9f9b6ec584eddf024f0dedde02cc1944f2d5b8b5e5 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/tmp3s9d4o03/fuzz_frame Step #4 - "build-check-libfuzzer-address-x86_64": Retrying failed fuzz targets sequentially 1 Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp3s9d4o03/fuzz_frame Step #4 - "build-check-libfuzzer-address-x86_64": Broken fuzz targets 1 Step #4 - "build-check-libfuzzer-address-x86_64": ('/tmp/not-out/tmp3s9d4o03/fuzz_frame', CompletedProcess(args=['bad_build_check', '/tmp/not-out/tmp3s9d4o03/fuzz_frame'], returncode=1, stdout=b'BAD BUILD: /tmp/not-out/tmp3s9d4o03/fuzz_frame seems to have either startup crash or exit:\n/tmp/not-out/tmp3s9d4o03/fuzz_frame -rss_limit_mb=2560 -timeout=25 -seed=1337 -runs=4 < /dev/null\nINFO: Using preloaded libfuzzer\nINFO: Running with entropic power schedule (0xFF, 100).\nINFO: Seed: 1337\nINFO: Loaded 2 modules (22700 inline 8-bit counters): 15035 [0x7fa4dcdd2d50, 0x7fa4dcdd680b), 7665 [0x7fa4dca5e560, 0x7fa4dca60351), \nINFO: Loaded 2 PC tables (22700 PCs): 15035 [0x7fa4dcdd6810,0x7fa4dce113c0), 7665 [0x7fa4dca60358,0x7fa4dca7e268), \nINFO: -max_len is not provided; libFuzzer will not generate inputs larger than 4096 bytes\n\n === Uncaught Python exception: ===\nModuleNotFoundError: No module named \'zmq.utils.garbage\'\nTraceback (most recent call last):\n File "fuzz_frame.py", line 23, in TestOneInput\n File "zmq/backend/cython/_zmq.py", line 303, in zmq.backend.cython._zmq.Frame.__init__\nModuleNotFoundError: No module named \'zmq.utils.garbage\'\n\nINFO: Instrumenting 2606 functions...\nINFO: Instrumentation complete.\nException ignored in: \nTraceback (most recent call last):\n File "logging/__init__.py", line 830, in _removeHandlerRef\nTypeError: \'NoneType\' object is not callable\n==73== ERROR: libFuzzer: fuzz target exited\n #0 0x7fa4df916131 in __sanitizer_print_stack_trace /src/llvm-project/compiler-rt/lib/asan/asan_stack.cpp:87:3\n #1 0x7fa4df835fe8 in fuzzer::PrintStackTrace() /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerUtil.cpp:210:5\n #2 0x7fa4df81ad7c in fuzzer::Fuzzer::ExitCallback() /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:250:3\n #3 0x7fa4df5f48a6 (/lib/x86_64-linux-gnu/libc.so.6+0x468a6) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)\n #4 0x7fa4df5f4a5f in exit (/lib/x86_64-linux-gnu/libc.so.6+0x46a5f) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)\n #5 0x7fa4dd34dc78 in Py_Exit /tmp/Python-3.8.3/Python/pylifecycle.c:2299:5\n #6 0x7fa4dd3526cf in handle_system_exit /tmp/Python-3.8.3/Python/pythonrun.c:658:9\n #7 0x7fa4dd3526cf in _PyErr_PrintEx /tmp/Python-3.8.3/Python/pythonrun.c:668:5\n #8 0x403ad2 (/tmp/not-out/tmp3s9d4o03/fuzz_frame.pkg+0x403ad2)\n #9 0x403e67 (/tmp/not-out/tmp3s9d4o03/fuzz_frame.pkg+0x403e67)\n #10 0x7fa4df5d2082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)\n #11 0x40249d (/tmp/not-out/tmp3s9d4o03/fuzz_frame.pkg+0x40249d)\n\nDEDUP_TOKEN: __sanitizer_print_stack_trace--fuzzer::PrintStackTrace()--fuzzer::Fuzzer::ExitCallback()\nSUMMARY: libFuzzer: fuzz target exited\nMS: 0 ; base unit: 0000000000000000000000000000000000000000\n\n\nartifact_prefix=\'./\'; Test unit written to ./crash-da39a3ee5e6b4b0d3255bfef95601890afd80709\nBase64: \n', stderr=b'')) Step #4 - "build-check-libfuzzer-address-x86_64": BAD BUILD: /tmp/not-out/tmp3s9d4o03/fuzz_frame seems to have either startup crash or exit: Step #4 - "build-check-libfuzzer-address-x86_64": /tmp/not-out/tmp3s9d4o03/fuzz_frame -rss_limit_mb=2560 -timeout=25 -seed=1337 -runs=4 < /dev/null Step #4 - "build-check-libfuzzer-address-x86_64": INFO: Using preloaded libfuzzer Step #4 - "build-check-libfuzzer-address-x86_64": INFO: Running with entropic power schedule (0xFF, 100). Step #4 - "build-check-libfuzzer-address-x86_64": INFO: Seed: 1337 Step #4 - "build-check-libfuzzer-address-x86_64": INFO: Loaded 2 modules (22700 inline 8-bit counters): 15035 [0x7f53be5e0d50, 0x7f53be5e480b), 7665 [0x7f53be26c560, 0x7f53be26e351), Step #4 - "build-check-libfuzzer-address-x86_64": INFO: Loaded 2 PC tables (22700 PCs): 15035 [0x7f53be5e4810,0x7f53be61f3c0), 7665 [0x7f53be26e358,0x7f53be28c268), Step #4 - "build-check-libfuzzer-address-x86_64": INFO: -max_len is not provided; libFuzzer will not generate inputs larger than 4096 bytes Step #4 - "build-check-libfuzzer-address-x86_64": Step #4 - "build-check-libfuzzer-address-x86_64": === Uncaught Python exception: === Step #4 - "build-check-libfuzzer-address-x86_64": ModuleNotFoundError: No module named 'zmq.utils.garbage' Step #4 - "build-check-libfuzzer-address-x86_64": Traceback (most recent call last): Step #4 - "build-check-libfuzzer-address-x86_64": File "fuzz_frame.py", line 23, in TestOneInput Step #4 - "build-check-libfuzzer-address-x86_64": File "zmq/backend/cython/_zmq.py", line 303, in zmq.backend.cython._zmq.Frame.__init__ Step #4 - "build-check-libfuzzer-address-x86_64": ModuleNotFoundError: No module named 'zmq.utils.garbage' Step #4 - "build-check-libfuzzer-address-x86_64": Step #4 - "build-check-libfuzzer-address-x86_64": INFO: Instrumenting 2606 functions... Step #4 - "build-check-libfuzzer-address-x86_64": INFO: Instrumentation complete. Step #4 - "build-check-libfuzzer-address-x86_64": Exception ignored in: Step #4 - "build-check-libfuzzer-address-x86_64": Traceback (most recent call last): Step #4 - "build-check-libfuzzer-address-x86_64": File "logging/__init__.py", line 830, in _removeHandlerRef Step #4 - "build-check-libfuzzer-address-x86_64": TypeError: 'NoneType' object is not callable Step #4 - "build-check-libfuzzer-address-x86_64": ==108== ERROR: libFuzzer: fuzz target exited Step #4 - "build-check-libfuzzer-address-x86_64": #0 0x7f53c1124131 in __sanitizer_print_stack_trace /src/llvm-project/compiler-rt/lib/asan/asan_stack.cpp:87:3 Step #4 - "build-check-libfuzzer-address-x86_64": #1 0x7f53c1043fe8 in fuzzer::PrintStackTrace() /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerUtil.cpp:210:5 Step #4 - "build-check-libfuzzer-address-x86_64": #2 0x7f53c1028d7c in fuzzer::Fuzzer::ExitCallback() /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:250:3 Step #4 - "build-check-libfuzzer-address-x86_64": #3 0x7f53c0e028a6 (/lib/x86_64-linux-gnu/libc.so.6+0x468a6) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca) Step #4 - "build-check-libfuzzer-address-x86_64": #4 0x7f53c0e02a5f in exit (/lib/x86_64-linux-gnu/libc.so.6+0x46a5f) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca) Step #4 - "build-check-libfuzzer-address-x86_64": #5 0x7f53beb4dc78 in Py_Exit /tmp/Python-3.8.3/Python/pylifecycle.c:2299:5 Step #4 - "build-check-libfuzzer-address-x86_64": #6 0x7f53beb526cf in handle_system_exit /tmp/Python-3.8.3/Python/pythonrun.c:658:9 Step #4 - "build-check-libfuzzer-address-x86_64": #7 0x7f53beb526cf in _PyErr_PrintEx /tmp/Python-3.8.3/Python/pythonrun.c:668:5 Step #4 - "build-check-libfuzzer-address-x86_64": #8 0x403ad2 (/tmp/not-out/tmp3s9d4o03/fuzz_frame.pkg+0x403ad2) Step #4 - "build-check-libfuzzer-address-x86_64": #9 0x403e67 (/tmp/not-out/tmp3s9d4o03/fuzz_frame.pkg+0x403e67) Step #4 - "build-check-libfuzzer-address-x86_64": #10 0x7f53c0de0082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca) Step #4 - "build-check-libfuzzer-address-x86_64": #11 0x40249d (/tmp/not-out/tmp3s9d4o03/fuzz_frame.pkg+0x40249d) Step #4 - "build-check-libfuzzer-address-x86_64": Step #4 - "build-check-libfuzzer-address-x86_64": DEDUP_TOKEN: __sanitizer_print_stack_trace--fuzzer::PrintStackTrace()--fuzzer::Fuzzer::ExitCallback() Step #4 - "build-check-libfuzzer-address-x86_64": SUMMARY: libFuzzer: fuzz target exited Step #4 - "build-check-libfuzzer-address-x86_64": MS: 0 ; base unit: 0000000000000000000000000000000000000000 Step #4 - "build-check-libfuzzer-address-x86_64": Step #4 - "build-check-libfuzzer-address-x86_64": Step #4 - "build-check-libfuzzer-address-x86_64": artifact_prefix='./'; Test unit written to ./crash-da39a3ee5e6b4b0d3255bfef95601890afd80709 Step #4 - "build-check-libfuzzer-address-x86_64": Base64: Step #4 - "build-check-libfuzzer-address-x86_64": Step #4 - "build-check-libfuzzer-address-x86_64": ERROR: 100.0% of fuzz targets seem to be broken. See the list above for a detailed information. Step #4 - "build-check-libfuzzer-address-x86_64": ******************************************************************************** Step #4 - "build-check-libfuzzer-address-x86_64": Build checks failed. Step #4 - "build-check-libfuzzer-address-x86_64": To reproduce, run: Step #4 - "build-check-libfuzzer-address-x86_64": python infra/helper.py build_image pyzmq Step #4 - "build-check-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 pyzmq Step #4 - "build-check-libfuzzer-address-x86_64": python infra/helper.py check_build --sanitizer address --engine libfuzzer --architecture x86_64 pyzmq Step #4 - "build-check-libfuzzer-address-x86_64": ******************************************************************************** Finished Step #4 - "build-check-libfuzzer-address-x86_64" ERROR ERROR: build step 4 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1