starting build "b115ec3f-4cd9-49ef-b98d-22e24f609d0a" 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 7.168kB Step #1: Step 1/4 : 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: 51df0d6876cd: Pulling fs layer Step #1: 38da3118a46e: Pulling fs layer Step #1: ec67c84a6d76: Pulling fs layer Step #1: 8bb7dd1116ca: Pulling fs layer Step #1: 1fb4fb3d2b01: Pulling fs layer Step #1: a7d3a0578149: Pulling fs layer Step #1: 23e3013e5b98: Pulling fs layer Step #1: 50e1ee57936a: Pulling fs layer Step #1: b46b6cdbb6f2: Pulling fs layer Step #1: c0d18e8fb1fa: Pulling fs layer Step #1: 29a663a40ba4: Pulling fs layer Step #1: d57e2535d3c0: Pulling fs layer Step #1: e530a9eecf2b: Pulling fs layer Step #1: 4f27abcdaf5d: Pulling fs layer Step #1: 81adce140048: Pulling fs layer Step #1: 1eaaa1542342: Pulling fs layer Step #1: 6becd2001539: Pulling fs layer Step #1: 22d4835417b0: Pulling fs layer Step #1: 601a9cbfd137: Pulling fs layer Step #1: 972df7da24e8: Pulling fs layer Step #1: ec67c84a6d76: Waiting Step #1: 535ecd0613d1: Pulling fs layer Step #1: 16949380c6e4: Pulling fs layer Step #1: da4104990ff0: Pulling fs layer Step #1: 8bb7dd1116ca: Waiting Step #1: c19b7fe83e8a: Pulling fs layer Step #1: 3c6277aa8e2b: Pulling fs layer Step #1: bcf869ca811e: Pulling fs layer Step #1: 4a49dc7a9851: Pulling fs layer Step #1: de9ad109123c: Pulling fs layer Step #1: d74dccfeea37: Pulling fs layer Step #1: 9650ce23f886: Pulling fs layer Step #1: eaeb815cd75a: Pulling fs layer Step #1: 3ccdc7b565ee: Pulling fs layer Step #1: d57e2535d3c0: Waiting Step #1: 81adce140048: Waiting Step #1: 11c03f65d6c1: Pulling fs layer Step #1: 467aec4774aa: Pulling fs layer Step #1: 29a663a40ba4: Waiting Step #1: 1eaaa1542342: Waiting Step #1: 6becd2001539: Waiting Step #1: 22d4835417b0: Waiting Step #1: 1fb4fb3d2b01: Waiting Step #1: 601a9cbfd137: Waiting Step #1: 972df7da24e8: Waiting Step #1: 535ecd0613d1: Waiting Step #1: e530a9eecf2b: Waiting Step #1: eaeb815cd75a: Waiting Step #1: da4104990ff0: Waiting Step #1: de9ad109123c: Waiting Step #1: 23e3013e5b98: Waiting Step #1: bcf869ca811e: Waiting Step #1: 11c03f65d6c1: Waiting Step #1: 3c6277aa8e2b: Waiting Step #1: 3ccdc7b565ee: Waiting Step #1: d74dccfeea37: Waiting Step #1: c0d18e8fb1fa: Waiting Step #1: 50e1ee57936a: Waiting Step #1: a7d3a0578149: Waiting Step #1: 9650ce23f886: Waiting Step #1: c19b7fe83e8a: Waiting Step #1: b46b6cdbb6f2: Waiting Step #1: 4a49dc7a9851: Waiting Step #1: 38da3118a46e: Verifying Checksum Step #1: 38da3118a46e: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 8bb7dd1116ca: Verifying Checksum Step #1: 8bb7dd1116ca: Download complete Step #1: ec67c84a6d76: Verifying Checksum Step #1: ec67c84a6d76: Download complete Step #1: 1fb4fb3d2b01: Verifying Checksum Step #1: 1fb4fb3d2b01: Download complete Step #1: 51df0d6876cd: Verifying Checksum Step #1: 51df0d6876cd: Download complete Step #1: 23e3013e5b98: Verifying Checksum Step #1: 23e3013e5b98: Download complete Step #1: 50e1ee57936a: Verifying Checksum Step #1: 50e1ee57936a: Download complete Step #1: b549f31133a9: Pull complete Step #1: c0d18e8fb1fa: Verifying Checksum Step #1: c0d18e8fb1fa: Download complete Step #1: 29a663a40ba4: Download complete Step #1: d57e2535d3c0: Verifying Checksum Step #1: d57e2535d3c0: Download complete Step #1: e530a9eecf2b: Verifying Checksum Step #1: e530a9eecf2b: Download complete Step #1: b46b6cdbb6f2: Verifying Checksum Step #1: b46b6cdbb6f2: Download complete Step #1: 4f27abcdaf5d: Verifying Checksum Step #1: 4f27abcdaf5d: Download complete Step #1: 81adce140048: Verifying Checksum Step #1: 81adce140048: Download complete Step #1: 1eaaa1542342: Verifying Checksum Step #1: 1eaaa1542342: Download complete Step #1: 6becd2001539: Verifying Checksum Step #1: 6becd2001539: Download complete Step #1: a7d3a0578149: Verifying Checksum Step #1: a7d3a0578149: Download complete Step #1: 22d4835417b0: Verifying Checksum Step #1: 22d4835417b0: Download complete Step #1: 972df7da24e8: Verifying Checksum Step #1: 972df7da24e8: Download complete Step #1: 601a9cbfd137: Verifying Checksum Step #1: 601a9cbfd137: Download complete Step #1: da4104990ff0: Verifying Checksum Step #1: da4104990ff0: Download complete Step #1: 535ecd0613d1: Verifying Checksum Step #1: 535ecd0613d1: Download complete Step #1: 16949380c6e4: Verifying Checksum Step #1: 16949380c6e4: Download complete Step #1: 51df0d6876cd: Pull complete Step #1: 3c6277aa8e2b: Verifying Checksum Step #1: 3c6277aa8e2b: Download complete Step #1: bcf869ca811e: Verifying Checksum Step #1: bcf869ca811e: Download complete Step #1: 38da3118a46e: Pull complete Step #1: 4a49dc7a9851: Verifying Checksum Step #1: 4a49dc7a9851: Download complete Step #1: de9ad109123c: Verifying Checksum Step #1: de9ad109123c: Download complete Step #1: d74dccfeea37: Verifying Checksum Step #1: d74dccfeea37: Download complete Step #1: 9650ce23f886: Download complete Step #1: eaeb815cd75a: Download complete Step #1: 3ccdc7b565ee: Verifying Checksum Step #1: 3ccdc7b565ee: Download complete Step #1: 11c03f65d6c1: Verifying Checksum Step #1: 11c03f65d6c1: Download complete Step #1: 467aec4774aa: Verifying Checksum Step #1: 467aec4774aa: Download complete Step #1: ec67c84a6d76: Pull complete Step #1: 8bb7dd1116ca: Pull complete Step #1: 1fb4fb3d2b01: Pull complete Step #1: a7d3a0578149: Pull complete Step #1: 23e3013e5b98: Pull complete Step #1: 50e1ee57936a: Pull complete Step #1: b46b6cdbb6f2: Pull complete Step #1: c0d18e8fb1fa: Pull complete Step #1: 29a663a40ba4: Pull complete Step #1: d57e2535d3c0: Pull complete Step #1: e530a9eecf2b: Pull complete Step #1: 4f27abcdaf5d: Pull complete Step #1: 81adce140048: Pull complete Step #1: 1eaaa1542342: Pull complete Step #1: 6becd2001539: Pull complete Step #1: 22d4835417b0: Pull complete Step #1: 601a9cbfd137: Pull complete Step #1: 972df7da24e8: Pull complete Step #1: 535ecd0613d1: Pull complete Step #1: 16949380c6e4: Pull complete Step #1: da4104990ff0: Pull complete Step #1: c19b7fe83e8a: Pull complete Step #1: 3c6277aa8e2b: Pull complete Step #1: bcf869ca811e: Pull complete Step #1: 4a49dc7a9851: Pull complete Step #1: de9ad109123c: Pull complete Step #1: d74dccfeea37: Pull complete Step #1: 9650ce23f886: Pull complete Step #1: eaeb815cd75a: Pull complete Step #1: 3ccdc7b565ee: Pull complete Step #1: 11c03f65d6c1: Pull complete Step #1: 467aec4774aa: Pull complete Step #1: Digest: sha256:5ff1d34235ab19c5f82ec3d781fe56d65d3fbb6106da83444a87af70409a2e09 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> 5e178232ff6e Step #1: Step 2/4 : RUN git clone --depth 1 --branch master https://github.com/secdev/scapy.git Step #1: ---> Running in 7c1bd6513f98 Step #1: Cloning into 'scapy'... Step #1: Removing intermediate container 7c1bd6513f98 Step #1: ---> af23548119f9 Step #1: Step 3/4 : WORKDIR scapy Step #1: ---> Running in 7f9b1fd58d8b Step #1: Removing intermediate container 7f9b1fd58d8b Step #1: ---> 7a5530974ef3 Step #1: Step 4/4 : COPY build.sh pcap_fuzzer.py $SRC/ Step #1: ---> 8bad88c545cd Step #1: Successfully built 8bad88c545cd Step #1: Successfully tagged gcr.io/oss-fuzz/scapy:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/scapy Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/filekYve6O 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/scapy/.git Step #2 - "srcmap": + GIT_DIR=/src/scapy Step #2 - "srcmap": + cd /src/scapy Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/secdev/scapy.git Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=8e08cbf759de6709a5b4af6bea3655d293129bb4 Step #2 - "srcmap": + jq_inplace /tmp/filekYve6O '."/src/scapy" = { type: "git", url: "https://github.com/secdev/scapy.git", rev: "8e08cbf759de6709a5b4af6bea3655d293129bb4" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileO6Darc Step #2 - "srcmap": + cat /tmp/filekYve6O Step #2 - "srcmap": + jq '."/src/scapy" = { type: "git", url: "https://github.com/secdev/scapy.git", rev: "8e08cbf759de6709a5b4af6bea3655d293129bb4" }' Step #2 - "srcmap": + mv /tmp/fileO6Darc /tmp/filekYve6O 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/filekYve6O Step #2 - "srcmap": + rm /tmp/filekYve6O Step #2 - "srcmap": { Step #2 - "srcmap": "/src/scapy": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/secdev/scapy.git", Step #2 - "srcmap": "rev": "8e08cbf759de6709a5b4af6bea3655d293129bb4" 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 -Wno-error=vla-cxx-extension -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 -Wno-error=vla-cxx-extension -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/scapy Step #3 - "compile-libfuzzer-address-x86_64": Installing build dependencies ... [?25l- \ | / done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Getting requirements to build wheel ... [?25l- done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Preparing wheel metadata ... [?25l- done Step #3 - "compile-libfuzzer-address-x86_64": [?25hBuilding wheels for collected packages: scapy Step #3 - "compile-libfuzzer-address-x86_64": Building wheel for scapy (PEP 517) ... [?25l- \ | / - \ done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Created wheel for scapy: filename=scapy-2.6.1.dev0-cp38-none-any.whl size=2420758 sha256=45b3b5b9f321c5f68569c121e2fa31c099889997bb8f42ceb07a24285f7cb0ea Step #3 - "compile-libfuzzer-address-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-zuszz87v/wheels/95/67/a3/eb4d7be070c1f77925633448e5f7246fb81c2115f5e9a87363 Step #3 - "compile-libfuzzer-address-x86_64": Successfully built scapy Step #3 - "compile-libfuzzer-address-x86_64": Installing collected packages: scapy Step #3 - "compile-libfuzzer-address-x86_64": Successfully installed scapy-2.6.1.dev0 Step #3 - "compile-libfuzzer-address-x86_64": WARNING: You are using pip version 19.2.3, however version 24.3.1 is available. Step #3 - "compile-libfuzzer-address-x86_64": You should consider upgrading via the 'pip install --upgrade pip' command. Step #3 - "compile-libfuzzer-address-x86_64": ++ find /src -name '*_fuzzer.py' Step #3 - "compile-libfuzzer-address-x86_64": + for fuzzer in $(find $SRC -name '*_fuzzer.py') Step #3 - "compile-libfuzzer-address-x86_64": + compile_python_fuzzer /src/pcap_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_path=/src/pcap_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": + shift 1 Step #3 - "compile-libfuzzer-address-x86_64": ++ basename -s .py /src/pcap_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_basename=pcap_fuzzer Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_package=pcap_fuzzer.pkg Step #3 - "compile-libfuzzer-address-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//pcap_fuzzer 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//pcap_fuzzer Step #3 - "compile-libfuzzer-address-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-address-x86_64 --workpath=/src/pyfuzzworkdir//pcap_fuzzer --onefile --name pcap_fuzzer.pkg /src/pcap_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": 62 INFO: PyInstaller: 5.0.1 Step #3 - "compile-libfuzzer-address-x86_64": 62 INFO: Python: 3.8.3 Step #3 - "compile-libfuzzer-address-x86_64": 63 INFO: Platform: Linux-5.10.0-33-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 63 INFO: wrote /src/scapy/pcap_fuzzer.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 66 INFO: UPX is not available. Step #3 - "compile-libfuzzer-address-x86_64": 67 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": 312 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 3277 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": 3278 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 4985 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 5143 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 5168 INFO: Analyzing /src/pcap_fuzzer.py Step #3 - "compile-libfuzzer-address-x86_64": 7555 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 7556 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 7557 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": 7559 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7822 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7824 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7833 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7834 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7836 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 7886 INFO: Loading module hook 'hook-scapy.layers.all.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 10041 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 10059 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 10124 WARNING: Library wpcap.dll required via ctypes not found Step #3 - "compile-libfuzzer-address-x86_64": 10194 WARNING: Library iphlpapi.dll required via ctypes not found Step #3 - "compile-libfuzzer-address-x86_64": 10268 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 10276 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": 10278 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": 10281 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": 10284 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": 10297 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 11807 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 11807 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 11813 INFO: Warnings written to /src/pyfuzzworkdir//pcap_fuzzer/pcap_fuzzer.pkg/warn-pcap_fuzzer.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 11866 INFO: Graph cross-reference written to /src/pyfuzzworkdir//pcap_fuzzer/pcap_fuzzer.pkg/xref-pcap_fuzzer.pkg.html Step #3 - "compile-libfuzzer-address-x86_64": 11885 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 11885 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 11885 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//pcap_fuzzer/pcap_fuzzer.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 12728 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//pcap_fuzzer/pcap_fuzzer.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 12737 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 12737 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 12737 INFO: Building PKG (CArchive) pcap_fuzzer.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 19821 INFO: Building PKG (CArchive) pcap_fuzzer.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 19824 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 19824 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 19824 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 19824 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 19824 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/pcap_fuzzer.pkg Step #3 - "compile-libfuzzer-address-x86_64": 19824 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 19893 INFO: Building EXE from EXE-00.toc completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": + chmod -x /workspace/out/libfuzzer-address-x86_64/pcap_fuzzer.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/pcap_fuzzer.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/pcap_fuzzer.pkg $@' Step #3 - "compile-libfuzzer-address-x86_64": + chmod +x /workspace/out/libfuzzer-address-x86_64/pcap_fuzzer Step #3 - "compile-libfuzzer-address-x86_64": + zip -j /workspace/out/libfuzzer-address-x86_64/pcap_fuzzer_seed_corpus.zip test/pcaps/bad_rsn_parsing_overrides_ssid.pcap test/pcaps/candump_gmlan_scanner.pcap.gz test/pcaps/candump_uds_scanner.pcap.gz test/pcaps/canfd.pcap.gz test/pcaps/dcerpc_msdrsr_cracknames.pcapng.gz test/pcaps/dcerpc_msnrpc.pcapng.gz test/pcaps/dcerpc_privacy_krb.pcapng.gz test/pcaps/dcerpc_privacy_ntlm.pcapng.gz test/pcaps/doip.pcap.gz test/pcaps/doip_ack.pcap test/pcaps/ecu_trace.pcap.gz test/pcaps/gmlan_trace.pcap.gz test/pcaps/gvrp.pcapng.gz test/pcaps/http2_h2c.pcap test/pcaps/http_chunk.pcap.gz test/pcaps/http_compressed-brotli.pcap test/pcaps/http_compressed-zstd.pcap test/pcaps/http_compressed.pcap test/pcaps/http_content_length.pcap test/pcaps/http_head.pcapng.gz test/pcaps/http_tcp_psh.pcap.gz test/pcaps/ikev2_nat_t.pcapng test/pcaps/ikev2_notify_redirect.pcap test/pcaps/ipfix.pcap test/pcaps/macos.pcapng.gz test/pcaps/multiple_doip_layers.pcap.gz test/pcaps/netflowv9.pcap test/pcaps/pfcp.pcap test/pcaps/ssh_ed25519.pcap test/pcaps/tls_new-session-ticket.pcap test/pcaps/tls_tcp_frag.pcap.gz test/pcaps/tls_tcp_frag_withnss.pcap.gz test/pcaps/zigbee-join-authenticate.pcap test/pcaps/zigbee-transport-key-skke_1.pcap Step #3 - "compile-libfuzzer-address-x86_64": adding: bad_rsn_parsing_overrides_ssid.pcap (deflated 28%) Step #3 - "compile-libfuzzer-address-x86_64": adding: candump_gmlan_scanner.pcap.gz (deflated 0%) Step #3 - "compile-libfuzzer-address-x86_64": adding: candump_uds_scanner.pcap.gz (deflated 3%) Step #3 - "compile-libfuzzer-address-x86_64": adding: canfd.pcap.gz (stored 0%) Step #3 - "compile-libfuzzer-address-x86_64": adding: dcerpc_msdrsr_cracknames.pcapng.gz (stored 0%) Step #3 - "compile-libfuzzer-address-x86_64": adding: dcerpc_msnrpc.pcapng.gz (stored 0%) Step #3 - "compile-libfuzzer-address-x86_64": adding: dcerpc_privacy_krb.pcapng.gz (stored 0%) Step #3 - "compile-libfuzzer-address-x86_64": adding: dcerpc_privacy_ntlm.pcapng.gz (deflated 0%) Step #3 - "compile-libfuzzer-address-x86_64": adding: doip.pcap.gz (stored 0%) Step #3 - "compile-libfuzzer-address-x86_64": adding: doip_ack.pcap (deflated 17%) Step #3 - "compile-libfuzzer-address-x86_64": adding: ecu_trace.pcap.gz (stored 0%) Step #3 - "compile-libfuzzer-address-x86_64": adding: gmlan_trace.pcap.gz (stored 0%) Step #3 - "compile-libfuzzer-address-x86_64": adding: gvrp.pcapng.gz (stored 0%) Step #3 - "compile-libfuzzer-address-x86_64": adding: http2_h2c.pcap (deflated 37%) Step #3 - "compile-libfuzzer-address-x86_64": adding: http_chunk.pcap.gz (stored 0%) Step #3 - "compile-libfuzzer-address-x86_64": adding: http_compressed-brotli.pcap (deflated 14%) Step #3 - "compile-libfuzzer-address-x86_64": adding: http_compressed-zstd.pcap (deflated 8%) Step #3 - "compile-libfuzzer-address-x86_64": adding: http_compressed.pcap (deflated 17%) Step #3 - "compile-libfuzzer-address-x86_64": adding: http_content_length.pcap (deflated 18%) Step #3 - "compile-libfuzzer-address-x86_64": adding: http_head.pcapng.gz (stored 0%) Step #3 - "compile-libfuzzer-address-x86_64": adding: http_tcp_psh.pcap.gz (stored 0%) Step #3 - "compile-libfuzzer-address-x86_64": adding: ikev2_nat_t.pcapng (deflated 25%) Step #3 - "compile-libfuzzer-address-x86_64": adding: ikev2_notify_redirect.pcap (deflated 29%) Step #3 - "compile-libfuzzer-address-x86_64": adding: ipfix.pcap (deflated 35%) Step #3 - "compile-libfuzzer-address-x86_64": adding: macos.pcapng.gz (stored 0%) Step #3 - "compile-libfuzzer-address-x86_64": adding: multiple_doip_layers.pcap.gz (stored 0%) Step #3 - "compile-libfuzzer-address-x86_64": adding: netflowv9.pcap (deflated 61%) Step #3 - "compile-libfuzzer-address-x86_64": adding: pfcp.pcap (deflated 44%) Step #3 - "compile-libfuzzer-address-x86_64": adding: ssh_ed25519.pcap (deflated 45%) Step #3 - "compile-libfuzzer-address-x86_64": adding: tls_new-session-ticket.pcap (deflated 20%) Step #3 - "compile-libfuzzer-address-x86_64": adding: tls_tcp_frag.pcap.gz (stored 0%) Step #3 - "compile-libfuzzer-address-x86_64": adding: tls_tcp_frag_withnss.pcap.gz (stored 0%) Step #3 - "compile-libfuzzer-address-x86_64": adding: zigbee-join-authenticate.pcap (deflated 47%) Step #3 - "compile-libfuzzer-address-x86_64": adding: zigbee-transport-key-skke_1.pcap (deflated 21%) 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": 51df0d6876cd: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 38da3118a46e: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 76485c50adab: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 6e454ec0415e: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": fcc56198b7b3: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 839d42049c75: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 9b7f47b799be: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 885b716fb19d: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 1f82e1e2eaac: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 3582fe5817de: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": a221f9a44ef5: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": e9f45d43ad23: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": db56863ee7be: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 84816e0f3769: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": a6399624745a: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 0715e4009fac: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 4e5763569d03: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 7f4c947f7af3: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 30d1cf1bf2b4: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 885b716fb19d: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 1f82e1e2eaac: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 3582fe5817de: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": a221f9a44ef5: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": e9f45d43ad23: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 839d42049c75: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": db56863ee7be: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 84816e0f3769: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": a6399624745a: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 9b7f47b799be: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 0715e4009fac: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 7f4c947f7af3: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 4e5763569d03: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 30d1cf1bf2b4: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": fcc56198b7b3: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": fcc56198b7b3: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 76485c50adab: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 76485c50adab: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 6e454ec0415e: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 6e454ec0415e: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 76485c50adab: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 9b7f47b799be: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 9b7f47b799be: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 885b716fb19d: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 885b716fb19d: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 6e454ec0415e: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": fcc56198b7b3: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 1f82e1e2eaac: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 1f82e1e2eaac: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 839d42049c75: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 839d42049c75: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": a221f9a44ef5: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": a221f9a44ef5: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 3582fe5817de: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 3582fe5817de: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 84816e0f3769: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 84816e0f3769: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": db56863ee7be: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": db56863ee7be: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": a6399624745a: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": a6399624745a: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 0715e4009fac: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 0715e4009fac: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 7f4c947f7af3: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 7f4c947f7af3: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": e9f45d43ad23: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": e9f45d43ad23: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 4e5763569d03: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 4e5763569d03: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 30d1cf1bf2b4: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 30d1cf1bf2b4: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 839d42049c75: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 9b7f47b799be: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 885b716fb19d: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 1f82e1e2eaac: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 3582fe5817de: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": a221f9a44ef5: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": e9f45d43ad23: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": db56863ee7be: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 84816e0f3769: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": a6399624745a: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 0715e4009fac: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 4e5763569d03: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 7f4c947f7af3: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 30d1cf1bf2b4: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": Digest: sha256:cb894d78b81942499e77d79f91f562ce74c084f3ca1001f2c72a30e5404d1f69 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/tmpv0s0aqqq/pcap_fuzzer 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/scapy Step #6: adding: llvm-symbolizer (deflated 66%) Step #6: adding: pcap_fuzzer (deflated 33%) Step #6: adding: pcap_fuzzer.pkg (deflated 1%) Step #6: adding: pcap_fuzzer_seed_corpus.zip (stored 0%) Step #6: adding: sanitizer_with_fuzzer.so (deflated 66%) Finished Step #6 Starting Step #7 Step #7: Pulling image: gcr.io/oss-fuzz-base/uploader Step #7: Using default tag: latest Step #7: latest: Pulling from oss-fuzz-base/uploader Step #7: c62795f78da9: Pulling fs layer Step #7: d4fceeeb758e: Pulling fs layer Step #7: 5c9125a401ae: Pulling fs layer Step #7: 0062f774e994: Pulling fs layer Step #7: 6b33fd031fac: Pulling fs layer Step #7: 7eb39101e508: Pulling fs layer Step #7: 89257482f398: Pulling fs layer Step #7: 0062f774e994: Waiting Step #7: 7eb39101e508: Waiting Step #7: 6b33fd031fac: Waiting Step #7: 89257482f398: Waiting Step #7: 5c9125a401ae: Verifying Checksum Step #7: 5c9125a401ae: Download complete Step #7: d4fceeeb758e: Verifying Checksum Step #7: d4fceeeb758e: Download complete Step #7: 6b33fd031fac: Verifying Checksum Step #7: 6b33fd031fac: Download complete Step #7: 0062f774e994: Verifying Checksum Step #7: 0062f774e994: Download complete Step #7: 89257482f398: Verifying Checksum Step #7: 89257482f398: Download complete Step #7: c62795f78da9: Verifying Checksum Step #7: c62795f78da9: Download complete Step #7: c62795f78da9: Pull complete Step #7: d4fceeeb758e: Pull complete Step #7: 5c9125a401ae: Pull complete Step #7: 0062f774e994: Pull complete Step #7: 7eb39101e508: Verifying Checksum Step #7: 7eb39101e508: Download 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 149 0 0 100 149 0 547 --:--:-- --:--:-- --:--:-- 549 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 23.1M 0 0 100 23.1M 0 63.6M --:--:-- --:--:-- --:--:-- 63.7M Finished Step #8 Starting Step #9 Step #9: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #9: % Total % Received % Xferd Average Speed Time Time Time Current Step #9: Dload Upload Total Spent Left Speed Step #9: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12 0 0 100 12 0 26 --:--:-- --:--:-- --:--:-- 26 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 82 --:--:-- --:--:-- --:--:-- 82 Finished Step #10 Starting Step #11 Step #11: Already have image: gcr.io/oss-fuzz/scapy 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 -Wno-error=vla-cxx-extension -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 -Wno-error=vla-cxx-extension -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/scapy Step #12 - "compile-libfuzzer-undefined-x86_64": Installing build dependencies ... [?25l- \ | / done Step #12 - "compile-libfuzzer-undefined-x86_64": [?25h Getting requirements to build wheel ... [?25l- done Step #12 - "compile-libfuzzer-undefined-x86_64": [?25h Preparing wheel metadata ... [?25l- done Step #12 - "compile-libfuzzer-undefined-x86_64": [?25hBuilding wheels for collected packages: scapy Step #12 - "compile-libfuzzer-undefined-x86_64": Building wheel for scapy (PEP 517) ... [?25l- \ | / - \ done Step #12 - "compile-libfuzzer-undefined-x86_64": [?25h Created wheel for scapy: filename=scapy-2.6.1.dev0-cp38-none-any.whl size=2420758 sha256=ff7cdd92bb1cdc8716e447687fff483185770e8e7674a9548be8ec92938ab15f Step #12 - "compile-libfuzzer-undefined-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-iih95wnl/wheels/95/67/a3/eb4d7be070c1f77925633448e5f7246fb81c2115f5e9a87363 Step #12 - "compile-libfuzzer-undefined-x86_64": Successfully built scapy Step #12 - "compile-libfuzzer-undefined-x86_64": Installing collected packages: scapy Step #12 - "compile-libfuzzer-undefined-x86_64": Successfully installed scapy-2.6.1.dev0 Step #12 - "compile-libfuzzer-undefined-x86_64": WARNING: You are using pip version 19.2.3, however version 24.3.1 is available. Step #12 - "compile-libfuzzer-undefined-x86_64": You should consider upgrading via the 'pip install --upgrade pip' command. Step #12 - "compile-libfuzzer-undefined-x86_64": ++ find /src -name '*_fuzzer.py' Step #12 - "compile-libfuzzer-undefined-x86_64": + for fuzzer in $(find $SRC -name '*_fuzzer.py') Step #12 - "compile-libfuzzer-undefined-x86_64": + compile_python_fuzzer /src/pcap_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_path=/src/pcap_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": + shift 1 Step #12 - "compile-libfuzzer-undefined-x86_64": ++ basename -s .py /src/pcap_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_basename=pcap_fuzzer Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_package=pcap_fuzzer.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #12 - "compile-libfuzzer-undefined-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//pcap_fuzzer 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//pcap_fuzzer Step #12 - "compile-libfuzzer-undefined-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-undefined-x86_64 --workpath=/src/pyfuzzworkdir//pcap_fuzzer --onefile --name pcap_fuzzer.pkg /src/pcap_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": 61 INFO: PyInstaller: 5.0.1 Step #12 - "compile-libfuzzer-undefined-x86_64": 61 INFO: Python: 3.8.3 Step #12 - "compile-libfuzzer-undefined-x86_64": 62 INFO: Platform: Linux-5.10.0-33-cloud-amd64-x86_64-with-glibc2.2.5 Step #12 - "compile-libfuzzer-undefined-x86_64": 63 INFO: wrote /src/scapy/pcap_fuzzer.pkg.spec Step #12 - "compile-libfuzzer-undefined-x86_64": 65 INFO: UPX is not available. Step #12 - "compile-libfuzzer-undefined-x86_64": 67 INFO: Extending PYTHONPATH with paths Step #12 - "compile-libfuzzer-undefined-x86_64": ['/src'] Step #12 - "compile-libfuzzer-undefined-x86_64": 312 INFO: checking Analysis Step #12 - "compile-libfuzzer-undefined-x86_64": 312 INFO: Building Analysis because Analysis-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 312 INFO: Initializing module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 313 INFO: Caching module graph hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 324 INFO: Analyzing base_library.zip ... Step #12 - "compile-libfuzzer-undefined-x86_64": 3273 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": 3274 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #12 - "compile-libfuzzer-undefined-x86_64": 5084 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 5243 INFO: running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 5269 INFO: Analyzing /src/pcap_fuzzer.py Step #12 - "compile-libfuzzer-undefined-x86_64": 7701 INFO: Processing module hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 7702 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7703 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": 7705 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7973 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7975 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7983 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7985 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 7987 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 8037 INFO: Loading module hook 'hook-scapy.layers.all.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 10242 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 10261 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 10326 WARNING: Library wpcap.dll required via ctypes not found Step #12 - "compile-libfuzzer-undefined-x86_64": 10401 WARNING: Library iphlpapi.dll required via ctypes not found Step #12 - "compile-libfuzzer-undefined-x86_64": 10477 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 10486 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": 10488 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": 10491 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": 10494 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": 10506 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 12041 INFO: Looking for eggs Step #12 - "compile-libfuzzer-undefined-x86_64": 12041 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 12047 INFO: Warnings written to /src/pyfuzzworkdir//pcap_fuzzer/pcap_fuzzer.pkg/warn-pcap_fuzzer.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 12101 INFO: Graph cross-reference written to /src/pyfuzzworkdir//pcap_fuzzer/pcap_fuzzer.pkg/xref-pcap_fuzzer.pkg.html Step #12 - "compile-libfuzzer-undefined-x86_64": 12121 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 12121 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 12121 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//pcap_fuzzer/pcap_fuzzer.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 12961 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//pcap_fuzzer/pcap_fuzzer.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 12970 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 12970 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 12970 INFO: Building PKG (CArchive) pcap_fuzzer.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 20037 INFO: Building PKG (CArchive) pcap_fuzzer.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 20040 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 20040 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 20040 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 20040 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 20040 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/pcap_fuzzer.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 20040 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 20106 INFO: Building EXE from EXE-00.toc completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod -x /workspace/out/libfuzzer-undefined-x86_64/pcap_fuzzer.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/pcap_fuzzer.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/pcap_fuzzer.pkg $@' Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod +x /workspace/out/libfuzzer-undefined-x86_64/pcap_fuzzer Step #12 - "compile-libfuzzer-undefined-x86_64": + zip -j /workspace/out/libfuzzer-undefined-x86_64/pcap_fuzzer_seed_corpus.zip test/pcaps/bad_rsn_parsing_overrides_ssid.pcap test/pcaps/candump_gmlan_scanner.pcap.gz test/pcaps/candump_uds_scanner.pcap.gz test/pcaps/canfd.pcap.gz test/pcaps/dcerpc_msdrsr_cracknames.pcapng.gz test/pcaps/dcerpc_msnrpc.pcapng.gz test/pcaps/dcerpc_privacy_krb.pcapng.gz test/pcaps/dcerpc_privacy_ntlm.pcapng.gz test/pcaps/doip.pcap.gz test/pcaps/doip_ack.pcap test/pcaps/ecu_trace.pcap.gz test/pcaps/gmlan_trace.pcap.gz test/pcaps/gvrp.pcapng.gz test/pcaps/http2_h2c.pcap test/pcaps/http_chunk.pcap.gz test/pcaps/http_compressed-brotli.pcap test/pcaps/http_compressed-zstd.pcap test/pcaps/http_compressed.pcap test/pcaps/http_content_length.pcap test/pcaps/http_head.pcapng.gz test/pcaps/http_tcp_psh.pcap.gz test/pcaps/ikev2_nat_t.pcapng test/pcaps/ikev2_notify_redirect.pcap test/pcaps/ipfix.pcap test/pcaps/macos.pcapng.gz test/pcaps/multiple_doip_layers.pcap.gz test/pcaps/netflowv9.pcap test/pcaps/pfcp.pcap test/pcaps/ssh_ed25519.pcap test/pcaps/tls_new-session-ticket.pcap test/pcaps/tls_tcp_frag.pcap.gz test/pcaps/tls_tcp_frag_withnss.pcap.gz test/pcaps/zigbee-join-authenticate.pcap test/pcaps/zigbee-transport-key-skke_1.pcap Step #12 - "compile-libfuzzer-undefined-x86_64": adding: bad_rsn_parsing_overrides_ssid.pcap (deflated 28%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: candump_gmlan_scanner.pcap.gz (deflated 0%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: candump_uds_scanner.pcap.gz (deflated 3%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: canfd.pcap.gz (stored 0%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: dcerpc_msdrsr_cracknames.pcapng.gz (stored 0%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: dcerpc_msnrpc.pcapng.gz (stored 0%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: dcerpc_privacy_krb.pcapng.gz (stored 0%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: dcerpc_privacy_ntlm.pcapng.gz (deflated 0%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: doip.pcap.gz (stored 0%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: doip_ack.pcap (deflated 17%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: ecu_trace.pcap.gz (stored 0%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: gmlan_trace.pcap.gz (stored 0%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: gvrp.pcapng.gz (stored 0%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: http2_h2c.pcap (deflated 37%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: http_chunk.pcap.gz (stored 0%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: http_compressed-brotli.pcap (deflated 14%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: http_compressed-zstd.pcap (deflated 8%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: http_compressed.pcap (deflated 17%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: http_content_length.pcap (deflated 18%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: http_head.pcapng.gz (stored 0%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: http_tcp_psh.pcap.gz (stored 0%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: ikev2_nat_t.pcapng (deflated 25%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: ikev2_notify_redirect.pcap (deflated 29%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: ipfix.pcap (deflated 35%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: macos.pcapng.gz (stored 0%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: multiple_doip_layers.pcap.gz (stored 0%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: netflowv9.pcap (deflated 61%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: pfcp.pcap (deflated 44%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: ssh_ed25519.pcap (deflated 45%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: tls_new-session-ticket.pcap (deflated 20%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: tls_tcp_frag.pcap.gz (stored 0%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: tls_tcp_frag_withnss.pcap.gz (stored 0%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: zigbee-join-authenticate.pcap (deflated 47%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: zigbee-transport-key-skke_1.pcap (deflated 21%) 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/tmptmweyc_5/pcap_fuzzer 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/scapy Step #15: adding: llvm-symbolizer (deflated 66%) Step #15: adding: pcap_fuzzer (deflated 33%) Step #15: adding: pcap_fuzzer.pkg (deflated 1%) Step #15: adding: pcap_fuzzer_seed_corpus.zip (stored 0%) 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 149 0 0 100 149 0 539 --:--:-- --:--:-- --:--:-- 541 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 22.5M 0 0 100 22.5M 0 44.9M --:--:-- --:--:-- --:--:-- 45.0M 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 12 0 0 100 12 0 36 --:--:-- --:--:-- --:--:-- 36 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 100 --:--:-- --:--:-- --:--:-- 100 Finished Step #19 Starting Step #20 Step #20: Already have image: gcr.io/oss-fuzz/scapy Finished Step #20 PUSH DONE