starting build "b288e117-8e8e-4ad2-95a4-ba43d0f28c58" 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/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: a977fd1d1d2c: Pulling fs layer Step #1: b7af597d0683: Pulling fs layer Step #1: 0ad851ab79a7: Pulling fs layer Step #1: 32d6a845953a: Pulling fs layer Step #1: 13291e1f0083: Pulling fs layer Step #1: 12c3fa064ec9: Pulling fs layer Step #1: 5bf877a30e45: Pulling fs layer Step #1: 12c76ab55805: Pulling fs layer Step #1: bcee33c0f2c5: Pulling fs layer Step #1: 00901539164e: Pulling fs layer Step #1: 652e81a6c3ce: Pulling fs layer Step #1: 2bd7184f3186: Pulling fs layer Step #1: 6ef14a282d78: Pulling fs layer Step #1: 12c3fa064ec9: Waiting Step #1: f0b30797ba63: Pulling fs layer Step #1: c255474facb8: Pulling fs layer Step #1: 5bf877a30e45: Waiting Step #1: 2037056aed43: Pulling fs layer Step #1: 12c76ab55805: Waiting Step #1: 4ea8cc67e5b1: Pulling fs layer Step #1: 1593bc33732e: Pulling fs layer Step #1: fac862d0d976: Pulling fs layer Step #1: 8a5f772dc665: Pulling fs layer Step #1: a682fa05afee: Pulling fs layer Step #1: bcee33c0f2c5: Waiting Step #1: 50ae31b489cf: Pulling fs layer Step #1: 00901539164e: Waiting Step #1: bcfe6fcb5c6a: Pulling fs layer Step #1: 652e81a6c3ce: Waiting Step #1: 88ea93146e84: Pulling fs layer Step #1: 912a9adfcdcb: Pulling fs layer Step #1: 6ef14a282d78: Waiting Step #1: 0ad851ab79a7: Waiting Step #1: 7ec1d093c1da: Pulling fs layer Step #1: 32d6a845953a: Waiting Step #1: f0b30797ba63: Waiting Step #1: 13291e1f0083: Waiting Step #1: 8c8a3977119b: Pulling fs layer Step #1: a682fa05afee: Waiting Step #1: 7e3654bd47ef: Pulling fs layer Step #1: 912a9adfcdcb: Waiting Step #1: 88ea93146e84: Waiting Step #1: 390d9580ed9e: Pulling fs layer Step #1: dcd9de8bf193: Pulling fs layer Step #1: f97e0fb3e819: Pulling fs layer Step #1: 290c9d807336: Pulling fs layer Step #1: c255474facb8: Waiting Step #1: 8a5f772dc665: Waiting Step #1: 4ea8cc67e5b1: Waiting Step #1: 390d9580ed9e: Waiting Step #1: 1593bc33732e: Waiting Step #1: f97e0fb3e819: Waiting Step #1: bcfe6fcb5c6a: Waiting Step #1: 290c9d807336: Waiting Step #1: 7e3654bd47ef: Waiting Step #1: 2037056aed43: Waiting Step #1: fac862d0d976: Waiting Step #1: 8c8a3977119b: Waiting Step #1: 7ec1d093c1da: Waiting Step #1: b7af597d0683: Verifying Checksum Step #1: b7af597d0683: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 32d6a845953a: Verifying Checksum Step #1: 32d6a845953a: Download complete Step #1: 13291e1f0083: Verifying Checksum Step #1: 13291e1f0083: Download complete Step #1: 0ad851ab79a7: Verifying Checksum Step #1: 0ad851ab79a7: Download complete Step #1: 5bf877a30e45: Verifying Checksum Step #1: 5bf877a30e45: Download complete Step #1: a977fd1d1d2c: Verifying Checksum Step #1: a977fd1d1d2c: Download complete Step #1: 12c76ab55805: Download complete Step #1: b549f31133a9: Pull complete Step #1: 00901539164e: Verifying Checksum Step #1: 00901539164e: Download complete Step #1: 652e81a6c3ce: Verifying Checksum Step #1: 652e81a6c3ce: Download complete Step #1: 2bd7184f3186: Verifying Checksum Step #1: 2bd7184f3186: Download complete Step #1: 6ef14a282d78: Verifying Checksum Step #1: 6ef14a282d78: Download complete Step #1: f0b30797ba63: Verifying Checksum Step #1: f0b30797ba63: Download complete Step #1: c255474facb8: Verifying Checksum Step #1: c255474facb8: Download complete Step #1: bcee33c0f2c5: Verifying Checksum Step #1: bcee33c0f2c5: Download complete Step #1: 2037056aed43: Verifying Checksum Step #1: 2037056aed43: Download complete Step #1: 4ea8cc67e5b1: Download complete Step #1: 1593bc33732e: Verifying Checksum Step #1: 1593bc33732e: Download complete Step #1: fac862d0d976: Verifying Checksum Step #1: fac862d0d976: Download complete Step #1: 8a5f772dc665: Verifying Checksum Step #1: 8a5f772dc665: Download complete Step #1: a682fa05afee: Verifying Checksum Step #1: a682fa05afee: Download complete Step #1: 50ae31b489cf: Verifying Checksum Step #1: 50ae31b489cf: Download complete Step #1: bcfe6fcb5c6a: Verifying Checksum Step #1: bcfe6fcb5c6a: Download complete Step #1: 12c3fa064ec9: Verifying Checksum Step #1: 12c3fa064ec9: Download complete Step #1: 88ea93146e84: Verifying Checksum Step #1: 88ea93146e84: Download complete Step #1: 912a9adfcdcb: Verifying Checksum Step #1: 912a9adfcdcb: Download complete Step #1: 7ec1d093c1da: Verifying Checksum Step #1: 7ec1d093c1da: Download complete Step #1: 8c8a3977119b: Verifying Checksum Step #1: 8c8a3977119b: Download complete Step #1: 7e3654bd47ef: Verifying Checksum Step #1: 7e3654bd47ef: Download complete Step #1: 390d9580ed9e: Verifying Checksum Step #1: 390d9580ed9e: Download complete Step #1: dcd9de8bf193: Download complete Step #1: f97e0fb3e819: Verifying Checksum Step #1: f97e0fb3e819: Download complete Step #1: 290c9d807336: Verifying Checksum Step #1: 290c9d807336: Download complete Step #1: a977fd1d1d2c: Pull complete Step #1: b7af597d0683: Pull complete Step #1: 0ad851ab79a7: Pull complete Step #1: 32d6a845953a: Pull complete Step #1: 13291e1f0083: Pull complete Step #1: 12c3fa064ec9: Pull complete Step #1: 5bf877a30e45: Pull complete Step #1: 12c76ab55805: Pull complete Step #1: bcee33c0f2c5: Pull complete Step #1: 00901539164e: Pull complete Step #1: 652e81a6c3ce: Pull complete Step #1: 2bd7184f3186: Pull complete Step #1: 6ef14a282d78: Pull complete Step #1: f0b30797ba63: Pull complete Step #1: c255474facb8: Pull complete Step #1: 2037056aed43: Pull complete Step #1: 4ea8cc67e5b1: Pull complete Step #1: 1593bc33732e: Pull complete Step #1: fac862d0d976: Pull complete Step #1: 8a5f772dc665: Pull complete Step #1: a682fa05afee: Pull complete Step #1: 50ae31b489cf: Pull complete Step #1: bcfe6fcb5c6a: Pull complete Step #1: 88ea93146e84: Pull complete Step #1: 912a9adfcdcb: Pull complete Step #1: 7ec1d093c1da: Pull complete Step #1: 8c8a3977119b: Pull complete Step #1: 7e3654bd47ef: Pull complete Step #1: 390d9580ed9e: Pull complete Step #1: dcd9de8bf193: Pull complete Step #1: f97e0fb3e819: Pull complete Step #1: 290c9d807336: Pull complete Step #1: Digest: sha256:522e05eb433fe415db843a936f4e7f8d1a51fa8149730ec8ddc897755ef424f8 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> 712396eedf9a Step #1: Step 2/5 : RUN pip3 install --upgrade pip Step #1: ---> Running in 665d9373db51 Step #1: Collecting pip Step #1: Downloading https://files.pythonhosted.org/packages/d4/55/90db48d85f7689ec6f81c0db0622d704306c5284850383c090e6c7195a5c/pip-24.2-py3-none-any.whl (1.8MB) Step #1: Installing collected packages: pip Step #1: Found existing installation: pip 19.2.3 Step #1: Uninstalling pip-19.2.3: Step #1: Successfully uninstalled pip-19.2.3 Step #1: Successfully installed pip-24.2 Step #1: Removing intermediate container 665d9373db51 Step #1: ---> dac2fbcaf0e7 Step #1: Step 3/5 : RUN git clone https://github.com/pyasn1/pyasn1-modules pyasn1-modules Step #1: ---> Running in 94bd4e2b1733 Step #1: Cloning into 'pyasn1-modules'... Step #1: Removing intermediate container 94bd4e2b1733 Step #1: ---> d7e1d9e1cc58 Step #1: Step 4/5 : COPY *.sh *py $SRC/ Step #1: ---> dd1cd0d8bd6b Step #1: Step 5/5 : WORKDIR $SRC/pyasn1-modules Step #1: ---> Running in 040780f1b77f Step #1: Removing intermediate container 040780f1b77f Step #1: ---> 6224ca5fb6b7 Step #1: Successfully built 6224ca5fb6b7 Step #1: Successfully tagged gcr.io/oss-fuzz/pyasn1-modules:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/pyasn1-modules Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/file11mA1O 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/pyasn1-modules/.git Step #2 - "srcmap": + GIT_DIR=/src/pyasn1-modules Step #2 - "srcmap": + cd /src/pyasn1-modules Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/pyasn1/pyasn1-modules Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=98b1e268a30be4b2d6efa5c69eae772edc442c7e Step #2 - "srcmap": + jq_inplace /tmp/file11mA1O '."/src/pyasn1-modules" = { type: "git", url: "https://github.com/pyasn1/pyasn1-modules", rev: "98b1e268a30be4b2d6efa5c69eae772edc442c7e" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileQDc20b Step #2 - "srcmap": + cat /tmp/file11mA1O Step #2 - "srcmap": + jq '."/src/pyasn1-modules" = { type: "git", url: "https://github.com/pyasn1/pyasn1-modules", rev: "98b1e268a30be4b2d6efa5c69eae772edc442c7e" }' Step #2 - "srcmap": + mv /tmp/fileQDc20b /tmp/file11mA1O 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/file11mA1O Step #2 - "srcmap": + rm /tmp/file11mA1O Step #2 - "srcmap": { Step #2 - "srcmap": "/src/pyasn1-modules": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/pyasn1/pyasn1-modules", Step #2 - "srcmap": "rev": "98b1e268a30be4b2d6efa5c69eae772edc442c7e" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-address-x86_64" Step #3 - "compile-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-address-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": CC=clang Step #3 - "compile-libfuzzer-address-x86_64": CXX=clang++ Step #3 - "compile-libfuzzer-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -fno-sanitize=function,leak,vptr, Step #3 - "compile-libfuzzer-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ -fno-sanitize=function,leak,vptr Step #3 - "compile-libfuzzer-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": + pip3 install . Step #3 - "compile-libfuzzer-address-x86_64": Processing /src/pyasn1-modules 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 ... [?25ldone Step #3 - "compile-libfuzzer-address-x86_64": [?25h Preparing metadata (pyproject.toml) ... [?25l- done Step #3 - "compile-libfuzzer-address-x86_64": [?25hCollecting pyasn1<0.7.0,>=0.4.6 (from pyasn1_modules==0.4.0) Step #3 - "compile-libfuzzer-address-x86_64": Downloading pyasn1-0.6.0-py2.py3-none-any.whl.metadata (8.3 kB) Step #3 - "compile-libfuzzer-address-x86_64": Downloading pyasn1-0.6.0-py2.py3-none-any.whl (85 kB) Step #3 - "compile-libfuzzer-address-x86_64": Building wheels for collected packages: pyasn1_modules Step #3 - "compile-libfuzzer-address-x86_64": Building wheel for pyasn1_modules (pyproject.toml) ... [?25l- \ done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Created wheel for pyasn1_modules: filename=pyasn1_modules-0.4.0-py3-none-any.whl size=181223 sha256=8fc7db207b927e345cf5ec1eb9431e2699e9c603ca70b62b2b01f3d6b633f8d2 Step #3 - "compile-libfuzzer-address-x86_64": Stored in directory: /root/.cache/pip/wheels/70/c0/71/12ab3c5857fb9c14054b9bb2e605cc75c78a0ad87a7e9329f0 Step #3 - "compile-libfuzzer-address-x86_64": Successfully built pyasn1_modules Step #3 - "compile-libfuzzer-address-x86_64": Installing collected packages: pyasn1, pyasn1_modules Step #3 - "compile-libfuzzer-address-x86_64": Successfully installed pyasn1-0.6.0 pyasn1_modules-0.4.0 Step #3 - "compile-libfuzzer-address-x86_64": WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. Step #3 - "compile-libfuzzer-address-x86_64": + '[' address = address ']' Step #3 - "compile-libfuzzer-address-x86_64": + export ENABLE_PYSECSAN=1 Step #3 - "compile-libfuzzer-address-x86_64": + ENABLE_PYSECSAN=1 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_decode.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_path=/src/fuzz_decode.py Step #3 - "compile-libfuzzer-address-x86_64": + shift 1 Step #3 - "compile-libfuzzer-address-x86_64": ++ basename -s .py /src/fuzz_decode.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_basename=fuzz_decode Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_package=fuzz_decode.pkg Step #3 - "compile-libfuzzer-address-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_decode 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": + [[ 1 != \0 ]] Step #3 - "compile-libfuzzer-address-x86_64": + [[ ! -d /pysecsan ]] Step #3 - "compile-libfuzzer-address-x86_64": + pushd /usr/local/lib/sanitizers/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": /usr/local/lib/sanitizers/pysecsan /src/pyasn1-modules Step #3 - "compile-libfuzzer-address-x86_64": + python3 setup.py install Step #3 - "compile-libfuzzer-address-x86_64": running install Step #3 - "compile-libfuzzer-address-x86_64": running bdist_egg Step #3 - "compile-libfuzzer-address-x86_64": running egg_info Step #3 - "compile-libfuzzer-address-x86_64": creating pysecsan.egg-info Step #3 - "compile-libfuzzer-address-x86_64": writing pysecsan.egg-info/PKG-INFO Step #3 - "compile-libfuzzer-address-x86_64": writing dependency_links to pysecsan.egg-info/dependency_links.txt Step #3 - "compile-libfuzzer-address-x86_64": writing top-level names to pysecsan.egg-info/top_level.txt Step #3 - "compile-libfuzzer-address-x86_64": writing manifest file 'pysecsan.egg-info/SOURCES.txt' Step #3 - "compile-libfuzzer-address-x86_64": reading manifest file 'pysecsan.egg-info/SOURCES.txt' Step #3 - "compile-libfuzzer-address-x86_64": writing manifest file 'pysecsan.egg-info/SOURCES.txt' Step #3 - "compile-libfuzzer-address-x86_64": installing library code to build/bdist.linux-x86_64/egg Step #3 - "compile-libfuzzer-address-x86_64": running install_lib Step #3 - "compile-libfuzzer-address-x86_64": running build_py Step #3 - "compile-libfuzzer-address-x86_64": creating build Step #3 - "compile-libfuzzer-address-x86_64": creating build/lib Step #3 - "compile-libfuzzer-address-x86_64": creating build/lib/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan/yaml_deserialization.py -> build/lib/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan/command_injection.py -> build/lib/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan/sanlib.py -> build/lib/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan/redos.py -> build/lib/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan/__init__.py -> build/lib/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": creating build/bdist.linux-x86_64 Step #3 - "compile-libfuzzer-address-x86_64": creating build/bdist.linux-x86_64/egg Step #3 - "compile-libfuzzer-address-x86_64": creating build/bdist.linux-x86_64/egg/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying build/lib/pysecsan/yaml_deserialization.py -> build/bdist.linux-x86_64/egg/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying build/lib/pysecsan/command_injection.py -> build/bdist.linux-x86_64/egg/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying build/lib/pysecsan/sanlib.py -> build/bdist.linux-x86_64/egg/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying build/lib/pysecsan/redos.py -> build/bdist.linux-x86_64/egg/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": copying build/lib/pysecsan/__init__.py -> build/bdist.linux-x86_64/egg/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": byte-compiling build/bdist.linux-x86_64/egg/pysecsan/yaml_deserialization.py to yaml_deserialization.cpython-38.pyc Step #3 - "compile-libfuzzer-address-x86_64": byte-compiling build/bdist.linux-x86_64/egg/pysecsan/command_injection.py to command_injection.cpython-38.pyc Step #3 - "compile-libfuzzer-address-x86_64": byte-compiling build/bdist.linux-x86_64/egg/pysecsan/sanlib.py to sanlib.cpython-38.pyc Step #3 - "compile-libfuzzer-address-x86_64": byte-compiling build/bdist.linux-x86_64/egg/pysecsan/redos.py to redos.cpython-38.pyc Step #3 - "compile-libfuzzer-address-x86_64": byte-compiling build/bdist.linux-x86_64/egg/pysecsan/__init__.py to __init__.cpython-38.pyc Step #3 - "compile-libfuzzer-address-x86_64": creating build/bdist.linux-x86_64/egg/EGG-INFO Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO Step #3 - "compile-libfuzzer-address-x86_64": copying pysecsan.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO Step #3 - "compile-libfuzzer-address-x86_64": zip_safe flag not set; analyzing archive contents... Step #3 - "compile-libfuzzer-address-x86_64": creating dist Step #3 - "compile-libfuzzer-address-x86_64": creating 'dist/pysecsan-0.1-py3.8.egg' and adding 'build/bdist.linux-x86_64/egg' to it Step #3 - "compile-libfuzzer-address-x86_64": removing 'build/bdist.linux-x86_64/egg' (and everything under it) Step #3 - "compile-libfuzzer-address-x86_64": Processing pysecsan-0.1-py3.8.egg Step #3 - "compile-libfuzzer-address-x86_64": Copying pysecsan-0.1-py3.8.egg to /usr/local/lib/python3.8/site-packages Step #3 - "compile-libfuzzer-address-x86_64": Adding pysecsan 0.1 to easy-install.pth file Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": Installed /usr/local/lib/python3.8/site-packages/pysecsan-0.1-py3.8.egg Step #3 - "compile-libfuzzer-address-x86_64": Processing dependencies for pysecsan==0.1 Step #3 - "compile-libfuzzer-address-x86_64": Finished processing dependencies for pysecsan==0.1 Step #3 - "compile-libfuzzer-address-x86_64": + popd Step #3 - "compile-libfuzzer-address-x86_64": /src/pyasn1-modules Step #3 - "compile-libfuzzer-address-x86_64": + cat Step #3 - "compile-libfuzzer-address-x86_64": + cat pysecsan_wrapper.py /src/fuzz_decode.py Step #3 - "compile-libfuzzer-address-x86_64": + mv tmp_fuzzer_pysecsan.py /src/fuzz_decode.py Step #3 - "compile-libfuzzer-address-x86_64": + rm -rf /src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + mkdir /src/pyfuzzworkdir/ /src/pyfuzzworkdir//fuzz_decode Step #3 - "compile-libfuzzer-address-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-address-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_decode --onefile --name fuzz_decode.pkg /src/fuzz_decode.py Step #3 - "compile-libfuzzer-address-x86_64": 60 INFO: PyInstaller: 5.0.1 Step #3 - "compile-libfuzzer-address-x86_64": 60 INFO: Python: 3.8.3 Step #3 - "compile-libfuzzer-address-x86_64": 61 INFO: Platform: Linux-5.10.0-32-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 62 INFO: wrote /src/pyasn1-modules/fuzz_decode.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 64 INFO: UPX is not available. Step #3 - "compile-libfuzzer-address-x86_64": 65 INFO: Extending PYTHONPATH with paths Step #3 - "compile-libfuzzer-address-x86_64": ['/src'] Step #3 - "compile-libfuzzer-address-x86_64": 296 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 296 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 296 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 298 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 307 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 3138 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": 3138 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 4879 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 5039 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 5063 INFO: Analyzing /src/fuzz_decode.py Step #3 - "compile-libfuzzer-address-x86_64": 5647 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 5649 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 5650 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5903 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5955 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5957 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": 5958 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5959 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5968 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5969 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5986 INFO: checking Tree Step #3 - "compile-libfuzzer-address-x86_64": 5986 INFO: Building Tree because Tree-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 5986 INFO: Building Tree Tree-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 5986 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 5991 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 5995 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": 5996 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": 5999 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": 6002 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": 6010 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 6879 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 6880 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 6883 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_decode/fuzz_decode.pkg/warn-fuzz_decode.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 6914 INFO: Graph cross-reference written to /src/pyfuzzworkdir//fuzz_decode/fuzz_decode.pkg/xref-fuzz_decode.pkg.html Step #3 - "compile-libfuzzer-address-x86_64": 6929 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 6929 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 6929 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_decode/fuzz_decode.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 7407 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_decode/fuzz_decode.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 7412 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 7412 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 7412 INFO: Building PKG (CArchive) fuzz_decode.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 14463 INFO: Building PKG (CArchive) fuzz_decode.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 14466 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 14467 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 14467 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 14467 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 14467 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_decode.pkg Step #3 - "compile-libfuzzer-address-x86_64": 14467 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 14525 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_decode.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_decode.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_decode.pkg $@' Step #3 - "compile-libfuzzer-address-x86_64": + chmod +x /workspace/out/libfuzzer-address-x86_64/fuzz_decode 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": a977fd1d1d2c: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": b7af597d0683: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 13e3034c244d: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": dec64d51f794: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": e31f3b260b9e: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 367f9bb09834: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 5b25d2c94427: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": d2a50f9fb1f3: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 8632b0bd8e7d: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 5368468cae7f: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 3c2efcf61031: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": ac5a534aec8b: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": b7e426295cd7: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": a3f08180fccf: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": d948d546ccc6: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 0ad7fe872fbd: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 6a857bbda8a0: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": a70462462a24: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 2a0c7f3b0701: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 5b25d2c94427: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": d948d546ccc6: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": a3f08180fccf: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 0ad7fe872fbd: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": d2a50f9fb1f3: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 6a857bbda8a0: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 8632b0bd8e7d: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": a70462462a24: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 5368468cae7f: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 2a0c7f3b0701: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": b7e426295cd7: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 3c2efcf61031: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": ac5a534aec8b: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 367f9bb09834: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": e31f3b260b9e: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": e31f3b260b9e: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 13e3034c244d: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 13e3034c244d: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 13e3034c244d: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 5b25d2c94427: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 5b25d2c94427: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": dec64d51f794: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": dec64d51f794: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": d2a50f9fb1f3: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": d2a50f9fb1f3: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 8632b0bd8e7d: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 3c2efcf61031: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 3c2efcf61031: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": dec64d51f794: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": e31f3b260b9e: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 5368468cae7f: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 5368468cae7f: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 367f9bb09834: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 367f9bb09834: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b7e426295cd7: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": b7e426295cd7: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": a3f08180fccf: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": a3f08180fccf: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": d948d546ccc6: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": d948d546ccc6: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 6a857bbda8a0: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 6a857bbda8a0: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": a70462462a24: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": ac5a534aec8b: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": ac5a534aec8b: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 0ad7fe872fbd: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 0ad7fe872fbd: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 2a0c7f3b0701: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 2a0c7f3b0701: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 367f9bb09834: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 5b25d2c94427: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": d2a50f9fb1f3: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 8632b0bd8e7d: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 5368468cae7f: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 3c2efcf61031: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": ac5a534aec8b: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": b7e426295cd7: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": a3f08180fccf: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": d948d546ccc6: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 0ad7fe872fbd: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 6a857bbda8a0: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": a70462462a24: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 2a0c7f3b0701: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": Digest: sha256:44d0c2654e5beb6475c2a8205a6abe1b890292906574ed74740db7d2400248f9 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/tmpr_7qnf7x/fuzz_decode 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/pyasn1-modules Step #6: adding: fuzz_decode (deflated 32%) Step #6: adding: fuzz_decode.pkg (deflated 1%) Step #6: adding: llvm-symbolizer (deflated 66%) Step #6: adding: sanitizer_with_fuzzer.so (deflated 67%) Finished Step #6 Starting Step #7 Step #7: Pulling image: gcr.io/oss-fuzz-base/uploader Step #7: Using default tag: latest Step #7: latest: Pulling from oss-fuzz-base/uploader Step #7: c62795f78da9: Pulling fs layer Step #7: d4fceeeb758e: Pulling fs layer Step #7: 5c9125a401ae: Pulling fs layer Step #7: 0062f774e994: Pulling fs layer Step #7: 6b33fd031fac: Pulling fs layer Step #7: 7eb39101e508: Pulling fs layer Step #7: 89257482f398: Pulling fs layer Step #7: 0062f774e994: Waiting Step #7: 89257482f398: Waiting Step #7: 6b33fd031fac: Waiting Step #7: 7eb39101e508: Waiting Step #7: 5c9125a401ae: Verifying Checksum Step #7: 5c9125a401ae: Download complete Step #7: d4fceeeb758e: Verifying Checksum Step #7: d4fceeeb758e: Download complete Step #7: 0062f774e994: Download complete Step #7: 6b33fd031fac: Verifying Checksum Step #7: 6b33fd031fac: Download complete Step #7: 89257482f398: Verifying Checksum Step #7: 89257482f398: Download complete Step #7: c62795f78da9: Verifying Checksum Step #7: c62795f78da9: Download complete Step #7: 7eb39101e508: Verifying Checksum Step #7: 7eb39101e508: Download complete Step #7: c62795f78da9: Pull complete Step #7: d4fceeeb758e: Pull complete Step #7: 5c9125a401ae: Pull complete Step #7: 0062f774e994: Pull complete Step #7: 6b33fd031fac: Pull complete Step #7: 7eb39101e508: Pull complete Step #7: 89257482f398: Pull complete Step #7: Digest: sha256:5717ba63d13b5515063e2a6ccad09fb5bf32a86c8e0798a363d81c2be522e411 Step #7: Status: Downloaded newer image for gcr.io/oss-fuzz-base/uploader:latest Step #7: gcr.io/oss-fuzz-base/uploader:latest Step #7: % Total % Received % Xferd Average Speed Time Time Time Current Step #7: Dload Upload Total Spent Left Speed Step #7: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 163 0 0 100 163 0 732 --:--:-- --:--:-- --:--:-- 734 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 20.8M 0 0 100 20.8M 0 60.5M --:--:-- --:--:-- --:--:-- 60.6M 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12 0 0 100 12 0 40 --:--:-- --:--:-- --:--:-- 40 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 39 0 0 100 39 0 188 --:--:-- --:--:-- --:--:-- 188 100 39 0 0 100 39 0 146 --:--:-- --:--:-- --:--:-- 146 Finished Step #10 Starting Step #11 Step #11: Already have image: gcr.io/oss-fuzz/pyasn1-modules Finished Step #11 Starting Step #12 - "compile-libfuzzer-undefined-x86_64" Step #12 - "compile-libfuzzer-undefined-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #12 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #12 - "compile-libfuzzer-undefined-x86_64": vm.mmap_rnd_bits = 28 Step #12 - "compile-libfuzzer-undefined-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #12 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #12 - "compile-libfuzzer-undefined-x86_64": CC=clang Step #12 - "compile-libfuzzer-undefined-x86_64": CXX=clang++ Step #12 - "compile-libfuzzer-undefined-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function -fno-sanitize=function,leak,vptr, Step #12 - "compile-libfuzzer-undefined-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -stdlib=libc++ -fno-sanitize=function,leak,vptr Step #12 - "compile-libfuzzer-undefined-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers Step #12 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #12 - "compile-libfuzzer-undefined-x86_64": + pip3 install . Step #12 - "compile-libfuzzer-undefined-x86_64": Processing /src/pyasn1-modules 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 ... [?25ldone Step #12 - "compile-libfuzzer-undefined-x86_64": [?25h Preparing metadata (pyproject.toml) ... [?25l- done Step #12 - "compile-libfuzzer-undefined-x86_64": [?25hCollecting pyasn1<0.7.0,>=0.4.6 (from pyasn1_modules==0.4.0) Step #12 - "compile-libfuzzer-undefined-x86_64": Downloading pyasn1-0.6.0-py2.py3-none-any.whl.metadata (8.3 kB) Step #12 - "compile-libfuzzer-undefined-x86_64": Downloading pyasn1-0.6.0-py2.py3-none-any.whl (85 kB) Step #12 - "compile-libfuzzer-undefined-x86_64": Building wheels for collected packages: pyasn1_modules Step #12 - "compile-libfuzzer-undefined-x86_64": Building wheel for pyasn1_modules (pyproject.toml) ... [?25l- \ done Step #12 - "compile-libfuzzer-undefined-x86_64": [?25h Created wheel for pyasn1_modules: filename=pyasn1_modules-0.4.0-py3-none-any.whl size=181223 sha256=143d0f2c3bb8c3b66c0f0279d4c0ca543e32b85a3a8240320e34d0e9a050214a Step #12 - "compile-libfuzzer-undefined-x86_64": Stored in directory: /root/.cache/pip/wheels/70/c0/71/12ab3c5857fb9c14054b9bb2e605cc75c78a0ad87a7e9329f0 Step #12 - "compile-libfuzzer-undefined-x86_64": Successfully built pyasn1_modules Step #12 - "compile-libfuzzer-undefined-x86_64": Installing collected packages: pyasn1, pyasn1_modules Step #12 - "compile-libfuzzer-undefined-x86_64": Successfully installed pyasn1-0.6.0 pyasn1_modules-0.4.0 Step #12 - "compile-libfuzzer-undefined-x86_64": WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. Step #12 - "compile-libfuzzer-undefined-x86_64": + '[' undefined = address ']' Step #12 - "compile-libfuzzer-undefined-x86_64": ++ find /src -name 'fuzz_*.py' Step #12 - "compile-libfuzzer-undefined-x86_64": + for fuzzer in $(find $SRC -name 'fuzz_*.py') Step #12 - "compile-libfuzzer-undefined-x86_64": + compile_python_fuzzer /src/fuzz_decode.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_path=/src/fuzz_decode.py Step #12 - "compile-libfuzzer-undefined-x86_64": + shift 1 Step #12 - "compile-libfuzzer-undefined-x86_64": ++ basename -s .py /src/fuzz_decode.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_basename=fuzz_decode Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_package=fuzz_decode.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #12 - "compile-libfuzzer-undefined-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_decode Step #12 - "compile-libfuzzer-undefined-x86_64": + [[ undefined = *introspector* ]] Step #12 - "compile-libfuzzer-undefined-x86_64": + [[ undefined = *coverage* ]] Step #12 - "compile-libfuzzer-undefined-x86_64": + [[ 0 != \0 ]] Step #12 - "compile-libfuzzer-undefined-x86_64": + rm -rf /src/pyfuzzworkdir/ Step #12 - "compile-libfuzzer-undefined-x86_64": + mkdir /src/pyfuzzworkdir/ /src/pyfuzzworkdir//fuzz_decode Step #12 - "compile-libfuzzer-undefined-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-undefined-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_decode --onefile --name fuzz_decode.pkg /src/fuzz_decode.py Step #12 - "compile-libfuzzer-undefined-x86_64": 60 INFO: PyInstaller: 5.0.1 Step #12 - "compile-libfuzzer-undefined-x86_64": 60 INFO: Python: 3.8.3 Step #12 - "compile-libfuzzer-undefined-x86_64": 61 INFO: Platform: Linux-5.10.0-32-cloud-amd64-x86_64-with-glibc2.2.5 Step #12 - "compile-libfuzzer-undefined-x86_64": 61 INFO: wrote /src/pyasn1-modules/fuzz_decode.pkg.spec Step #12 - "compile-libfuzzer-undefined-x86_64": 64 INFO: UPX is not available. Step #12 - "compile-libfuzzer-undefined-x86_64": 65 INFO: Extending PYTHONPATH with paths Step #12 - "compile-libfuzzer-undefined-x86_64": ['/src'] Step #12 - "compile-libfuzzer-undefined-x86_64": 302 INFO: checking Analysis Step #12 - "compile-libfuzzer-undefined-x86_64": 302 INFO: Building Analysis because Analysis-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 302 INFO: Initializing module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 304 INFO: Caching module graph hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 314 INFO: Analyzing base_library.zip ... Step #12 - "compile-libfuzzer-undefined-x86_64": 3200 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": 3201 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #12 - "compile-libfuzzer-undefined-x86_64": 4971 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 5128 INFO: running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 5153 INFO: Analyzing /src/fuzz_decode.py Step #12 - "compile-libfuzzer-undefined-x86_64": 5733 INFO: Processing module hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 5734 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5735 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5990 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6039 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6041 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": 6042 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6044 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6052 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6054 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 6067 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 6072 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 6076 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": 6078 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": 6081 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": 6084 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": 6092 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 6978 INFO: Looking for eggs Step #12 - "compile-libfuzzer-undefined-x86_64": 6978 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 6983 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_decode/fuzz_decode.pkg/warn-fuzz_decode.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 7015 INFO: Graph cross-reference written to /src/pyfuzzworkdir//fuzz_decode/fuzz_decode.pkg/xref-fuzz_decode.pkg.html Step #12 - "compile-libfuzzer-undefined-x86_64": 7030 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 7030 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 7031 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_decode/fuzz_decode.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 7489 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_decode/fuzz_decode.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 7495 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 7495 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 7495 INFO: Building PKG (CArchive) fuzz_decode.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 14561 INFO: Building PKG (CArchive) fuzz_decode.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 14564 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 14564 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 14564 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 14564 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 14564 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/fuzz_decode.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 14565 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 14620 INFO: Building EXE from EXE-00.toc completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod -x /workspace/out/libfuzzer-undefined-x86_64/fuzz_decode.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": + [[ undefined = *coverage* ]] Step #12 - "compile-libfuzzer-undefined-x86_64": + echo '#!/bin/sh Step #12 - "compile-libfuzzer-undefined-x86_64": # LLVMFuzzerTestOneInput for fuzzer detection. Step #12 - "compile-libfuzzer-undefined-x86_64": this_dir=$(dirname "$0") Step #12 - "compile-libfuzzer-undefined-x86_64": chmod +x $this_dir/fuzz_decode.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": LD_PRELOAD=$this_dir/sanitizer_with_fuzzer.so ASAN_OPTIONS=$ASAN_OPTIONS:symbolize=1:external_symbolizer_path=$this_dir/llvm-symbolizer:detect_leaks=0 $this_dir/fuzz_decode.pkg $@' Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod +x /workspace/out/libfuzzer-undefined-x86_64/fuzz_decode 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/tmp62yeqtdz/fuzz_decode 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/pyasn1-modules Step #15: adding: fuzz_decode (deflated 32%) Step #15: adding: fuzz_decode.pkg (deflated 1%) Step #15: adding: llvm-symbolizer (deflated 66%) Step #15: adding: sanitizer_with_fuzzer.so (deflated 65%) Finished Step #15 Starting Step #16 Step #16: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #16: % Total % Received % Xferd Average Speed Time Time Time Current Step #16: Dload Upload Total Spent Left Speed Step #16: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 163 0 0 100 163 0 777 --:--:-- --:--:-- --:--:-- 776 100 163 0 0 100 163 0 776 --:--:-- --:--:-- --:--:-- 776 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 20.2M 0 0 100 20.2M 0 47.9M --:--:-- --:--:-- --:--:-- 47.8M 100 20.2M 0 0 100 20.2M 0 47.9M --:--:-- --:--:-- --:--:-- 47.8M 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 41 --:--:-- --:--:-- --:--:-- 41 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 41 0 0 100 41 0 179 --:--:-- --:--:-- --:--:-- 179 Finished Step #19 Starting Step #20 Step #20: Already have image: gcr.io/oss-fuzz/pyasn1-modules Finished Step #20 PUSH DONE