starting build "29964512-5798-4582-a6b5-3880f394c2d8" 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 8.704kB 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: 535ecd0613d1: Pulling fs layer Step #1: 16949380c6e4: Pulling fs layer Step #1: da4104990ff0: Pulling fs layer Step #1: c19b7fe83e8a: Pulling fs layer Step #1: 3c6277aa8e2b: Pulling fs layer Step #1: ec67c84a6d76: Waiting Step #1: bcf869ca811e: Pulling fs layer Step #1: a7d3a0578149: Waiting Step #1: 4a49dc7a9851: Pulling fs layer Step #1: de9ad109123c: Pulling fs layer Step #1: 23e3013e5b98: Waiting Step #1: d74dccfeea37: Pulling fs layer Step #1: 9650ce23f886: Pulling fs layer Step #1: 50e1ee57936a: Waiting Step #1: eaeb815cd75a: Pulling fs layer Step #1: 3ccdc7b565ee: Pulling fs layer Step #1: b46b6cdbb6f2: Waiting Step #1: 11c03f65d6c1: Pulling fs layer Step #1: 467aec4774aa: Pulling fs layer Step #1: c0d18e8fb1fa: Waiting Step #1: 81adce140048: Waiting Step #1: 1eaaa1542342: Waiting Step #1: 8bb7dd1116ca: Waiting Step #1: 1fb4fb3d2b01: Waiting Step #1: 4f27abcdaf5d: Waiting Step #1: 6becd2001539: Waiting Step #1: d57e2535d3c0: Waiting Step #1: bcf869ca811e: Waiting Step #1: e530a9eecf2b: Waiting Step #1: 16949380c6e4: Waiting Step #1: 22d4835417b0: Waiting Step #1: 4a49dc7a9851: Waiting Step #1: da4104990ff0: Waiting Step #1: eaeb815cd75a: Waiting Step #1: 972df7da24e8: Waiting Step #1: 535ecd0613d1: Waiting Step #1: c19b7fe83e8a: Waiting Step #1: 3ccdc7b565ee: Waiting Step #1: de9ad109123c: Waiting Step #1: 601a9cbfd137: Waiting Step #1: 3c6277aa8e2b: Waiting Step #1: 11c03f65d6c1: Waiting Step #1: 467aec4774aa: 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: 23e3013e5b98: Download complete Step #1: 51df0d6876cd: Verifying Checksum Step #1: 51df0d6876cd: Download complete Step #1: 50e1ee57936a: Download complete Step #1: b549f31133a9: Pull complete Step #1: c0d18e8fb1fa: Verifying Checksum Step #1: c0d18e8fb1fa: Download complete Step #1: 29a663a40ba4: Verifying Checksum 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: 4f27abcdaf5d: Verifying Checksum Step #1: 4f27abcdaf5d: Download complete Step #1: 81adce140048: Verifying Checksum Step #1: 81adce140048: Download complete Step #1: b46b6cdbb6f2: Verifying Checksum Step #1: b46b6cdbb6f2: Download complete Step #1: 6becd2001539: Verifying Checksum Step #1: 6becd2001539: Download complete Step #1: 1eaaa1542342: Verifying Checksum Step #1: 1eaaa1542342: Download complete Step #1: 601a9cbfd137: Verifying Checksum Step #1: 601a9cbfd137: Download complete Step #1: 22d4835417b0: Verifying Checksum Step #1: 22d4835417b0: Download complete Step #1: 972df7da24e8: Verifying Checksum Step #1: 972df7da24e8: Download complete Step #1: 535ecd0613d1: Verifying Checksum Step #1: 535ecd0613d1: Download complete Step #1: da4104990ff0: Verifying Checksum Step #1: da4104990ff0: Download complete Step #1: 16949380c6e4: Verifying Checksum Step #1: 16949380c6e4: Download complete Step #1: c19b7fe83e8a: Verifying Checksum Step #1: c19b7fe83e8a: Download complete Step #1: a7d3a0578149: Verifying Checksum Step #1: a7d3a0578149: Download complete Step #1: 3c6277aa8e2b: Verifying Checksum Step #1: 3c6277aa8e2b: Download complete Step #1: bcf869ca811e: Verifying Checksum Step #1: bcf869ca811e: Download complete Step #1: 4a49dc7a9851: Verifying Checksum Step #1: 4a49dc7a9851: Download complete Step #1: de9ad109123c: Verifying Checksum Step #1: de9ad109123c: Download complete Step #1: 9650ce23f886: Download complete Step #1: d74dccfeea37: Verifying Checksum Step #1: d74dccfeea37: Download complete Step #1: eaeb815cd75a: Verifying Checksum Step #1: eaeb815cd75a: Download complete Step #1: 3ccdc7b565ee: Verifying Checksum Step #1: 3ccdc7b565ee: Download complete Step #1: 11c03f65d6c1: Download complete Step #1: 467aec4774aa: Verifying Checksum Step #1: 467aec4774aa: Download complete Step #1: 51df0d6876cd: Pull complete Step #1: 38da3118a46e: Pull 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 https://github.com/andialbrecht/sqlparse sqlparse Step #1: ---> Running in 9183a67233ab Step #1: Cloning into 'sqlparse'... Step #1: Removing intermediate container 9183a67233ab Step #1: ---> 9f29fc1929bb Step #1: Step 3/4 : COPY *.sh *py $SRC/ Step #1: ---> db17622c2b72 Step #1: Step 4/4 : WORKDIR $SRC/sqlparse Step #1: ---> Running in 6e3aa8fbb5b9 Step #1: Removing intermediate container 6e3aa8fbb5b9 Step #1: ---> 56663ac5a59e Step #1: Successfully built 56663ac5a59e Step #1: Successfully tagged gcr.io/oss-fuzz/sqlparse:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/sqlparse Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/filenJEPpN 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/sqlparse/.git Step #2 - "srcmap": + GIT_DIR=/src/sqlparse Step #2 - "srcmap": + cd /src/sqlparse Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/andialbrecht/sqlparse Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=e57923b3aa823c524c807953cecc48cf6eec2cb2 Step #2 - "srcmap": + jq_inplace /tmp/filenJEPpN '."/src/sqlparse" = { type: "git", url: "https://github.com/andialbrecht/sqlparse", rev: "e57923b3aa823c524c807953cecc48cf6eec2cb2" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileD5o0vd Step #2 - "srcmap": + cat /tmp/filenJEPpN Step #2 - "srcmap": + jq '."/src/sqlparse" = { type: "git", url: "https://github.com/andialbrecht/sqlparse", rev: "e57923b3aa823c524c807953cecc48cf6eec2cb2" }' Step #2 - "srcmap": + mv /tmp/fileD5o0vd /tmp/filenJEPpN 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/filenJEPpN Step #2 - "srcmap": + rm /tmp/filenJEPpN Step #2 - "srcmap": { Step #2 - "srcmap": "/src/sqlparse": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/andialbrecht/sqlparse", Step #2 - "srcmap": "rev": "e57923b3aa823c524c807953cecc48cf6eec2cb2" 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/sqlparse 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 wheel metadata ... [?25ldone Step #3 - "compile-libfuzzer-address-x86_64": [?25hBuilding wheels for collected packages: sqlparse Step #3 - "compile-libfuzzer-address-x86_64": Building wheel for sqlparse (PEP 517) ... [?25ldone Step #3 - "compile-libfuzzer-address-x86_64": [?25h Created wheel for sqlparse: filename=sqlparse-0.5.3.dev0-cp38-none-any.whl size=44477 sha256=c48ca6c3207344b72ea7fde17ce62649cbd81029d2c32f6269aec12e89648f6b Step #3 - "compile-libfuzzer-address-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-u2owe6hk/wheels/5f/e7/e5/38234643e39099a9db05ede19dd879143d60a498f0b0b14ec0 Step #3 - "compile-libfuzzer-address-x86_64": Successfully built sqlparse Step #3 - "compile-libfuzzer-address-x86_64": Installing collected packages: sqlparse Step #3 - "compile-libfuzzer-address-x86_64": Successfully installed sqlparse-0.5.3.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": + '[' 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_parse.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_path=/src/fuzz_parse.py Step #3 - "compile-libfuzzer-address-x86_64": + shift 1 Step #3 - "compile-libfuzzer-address-x86_64": ++ basename -s .py /src/fuzz_parse.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_basename=fuzz_parse Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_package=fuzz_parse.pkg Step #3 - "compile-libfuzzer-address-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_parse 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/sqlparse 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/__init__.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/yaml_deserialization.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/command_injection.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/__init__.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/yaml_deserialization.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/command_injection.py -> build/bdist.linux-x86_64/egg/pysecsan 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": 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/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/sanlib.py to sanlib.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": 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/sqlparse Step #3 - "compile-libfuzzer-address-x86_64": + cat Step #3 - "compile-libfuzzer-address-x86_64": + cat pysecsan_wrapper.py /src/fuzz_parse.py Step #3 - "compile-libfuzzer-address-x86_64": + mv tmp_fuzzer_pysecsan.py /src/fuzz_parse.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_parse Step #3 - "compile-libfuzzer-address-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-address-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_parse --onefile --name fuzz_parse.pkg /src/fuzz_parse.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/sqlparse/fuzz_parse.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 65 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": 301 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 311 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 3105 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": 3106 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 4862 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 5025 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 5049 INFO: Analyzing /src/fuzz_parse.py Step #3 - "compile-libfuzzer-address-x86_64": 5285 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 5286 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 5287 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": 5289 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5543 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5544 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5553 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5554 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5556 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5606 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5624 INFO: checking Tree Step #3 - "compile-libfuzzer-address-x86_64": 5624 INFO: Building Tree because Tree-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 5624 INFO: Building Tree Tree-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 5624 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 5629 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 5633 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": 5634 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": 5637 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": 5640 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": 5648 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 6570 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 6570 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 6574 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_parse/fuzz_parse.pkg/warn-fuzz_parse.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 6604 INFO: Graph cross-reference written to /src/pyfuzzworkdir//fuzz_parse/fuzz_parse.pkg/xref-fuzz_parse.pkg.html Step #3 - "compile-libfuzzer-address-x86_64": 6619 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 6619 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 6619 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_parse/fuzz_parse.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 7060 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_parse/fuzz_parse.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 7066 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 7066 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 7066 INFO: Building PKG (CArchive) fuzz_parse.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 14115 INFO: Building PKG (CArchive) fuzz_parse.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 14118 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 14118 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 14118 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 14118 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 14118 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_parse.pkg Step #3 - "compile-libfuzzer-address-x86_64": 14118 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 14180 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_parse.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_parse.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_parse.pkg $@' Step #3 - "compile-libfuzzer-address-x86_64": + chmod +x /workspace/out/libfuzzer-address-x86_64/fuzz_parse 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_format.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_path=/src/fuzz_format.py Step #3 - "compile-libfuzzer-address-x86_64": + shift 1 Step #3 - "compile-libfuzzer-address-x86_64": ++ basename -s .py /src/fuzz_format.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_basename=fuzz_format Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_package=fuzz_format.pkg Step #3 - "compile-libfuzzer-address-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_format 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/sqlparse 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": 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": 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/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/__init__.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/yaml_deserialization.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/command_injection.py -> build/bdist.linux-x86_64/egg/pysecsan 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": 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/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/sanlib.py to sanlib.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": 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/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": Removing /usr/local/lib/python3.8/site-packages/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": pysecsan 0.1 is already the active version in easy-install.pth 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/sqlparse Step #3 - "compile-libfuzzer-address-x86_64": + cat Step #3 - "compile-libfuzzer-address-x86_64": + cat pysecsan_wrapper.py /src/fuzz_format.py Step #3 - "compile-libfuzzer-address-x86_64": + mv tmp_fuzzer_pysecsan.py /src/fuzz_format.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_format Step #3 - "compile-libfuzzer-address-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-address-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_format --onefile --name fuzz_format.pkg /src/fuzz_format.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-33-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 62 INFO: wrote /src/sqlparse/fuzz_format.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": 303 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 303 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 303 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 305 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 315 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 3104 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": 3105 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 4912 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 5073 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 5097 INFO: Analyzing /src/fuzz_format.py Step #3 - "compile-libfuzzer-address-x86_64": 5330 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 5331 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 5332 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": 5334 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5586 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5588 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5596 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5598 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5599 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5649 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #3 - "compile-libfuzzer-address-x86_64": 5665 INFO: checking Tree Step #3 - "compile-libfuzzer-address-x86_64": 5665 INFO: Building Tree because Tree-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 5665 INFO: Building Tree Tree-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 5666 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 5670 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 5674 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": 5676 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": 5678 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": 5681 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": 5689 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 6605 INFO: Looking for eggs Step #3 - "compile-libfuzzer-address-x86_64": 6605 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 6609 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_format/fuzz_format.pkg/warn-fuzz_format.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 6640 INFO: Graph cross-reference written to /src/pyfuzzworkdir//fuzz_format/fuzz_format.pkg/xref-fuzz_format.pkg.html Step #3 - "compile-libfuzzer-address-x86_64": 6648 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 6648 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 6648 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_format/fuzz_format.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 7093 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_format/fuzz_format.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 7098 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 7099 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 7099 INFO: Building PKG (CArchive) fuzz_format.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 14153 INFO: Building PKG (CArchive) fuzz_format.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 14156 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 14156 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 14156 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 14156 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 14156 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_format.pkg Step #3 - "compile-libfuzzer-address-x86_64": 14157 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 14207 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_format.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_format.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_format.pkg $@' Step #3 - "compile-libfuzzer-address-x86_64": + chmod +x /workspace/out/libfuzzer-address-x86_64/fuzz_format 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": 1f82e1e2eaac: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 839d42049c75: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 3582fe5817de: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": e9f45d43ad23: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": db56863ee7be: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 9b7f47b799be: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 885b716fb19d: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 84816e0f3769: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": a221f9a44ef5: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": a6399624745a: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 7f4c947f7af3: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 0715e4009fac: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 4e5763569d03: Waiting 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": fcc56198b7b3: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": fcc56198b7b3: 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": 885b716fb19d: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 885b716fb19d: 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": 1f82e1e2eaac: 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": 6e454ec0415e: Pull 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": fcc56198b7b3: Pull 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": 839d42049c75: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 839d42049c75: 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": 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": 4e5763569d03: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 4e5763569d03: 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": 30d1cf1bf2b4: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 30d1cf1bf2b4: 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": 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/tmpxqnbq27j/fuzz_parse Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpxqnbq27j/fuzz_format 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/sqlparse Step #6: adding: fuzz_format (deflated 32%) Step #6: adding: fuzz_format.pkg (deflated 1%) Step #6: adding: fuzz_parse (deflated 32%) Step #6: adding: fuzz_parse.pkg (deflated 1%) Step #6: adding: llvm-symbolizer (deflated 66%) 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: 6b33fd031fac: Waiting Step #7: 89257482f398: Waiting Step #7: 7eb39101e508: Waiting Step #7: 0062f774e994: Waiting Step #7: 5c9125a401ae: Verifying Checksum Step #7: 5c9125a401ae: Download complete Step #7: d4fceeeb758e: Verifying Checksum Step #7: d4fceeeb758e: Download complete Step #7: 0062f774e994: Verifying Checksum Step #7: 0062f774e994: Download complete Step #7: 6b33fd031fac: Download complete Step #7: 89257482f398: Verifying Checksum Step #7: 89257482f398: Download complete Step #7: c62795f78da9: Verifying Checksum Step #7: c62795f78da9: Download complete Step #7: 7eb39101e508: Verifying Checksum Step #7: 7eb39101e508: Download complete Step #7: c62795f78da9: Pull complete Step #7: d4fceeeb758e: Pull complete Step #7: 5c9125a401ae: Pull complete Step #7: 0062f774e994: Pull complete Step #7: 6b33fd031fac: Pull complete Step #7: 7eb39101e508: Pull complete Step #7: 89257482f398: Pull complete Step #7: Digest: sha256:5717ba63d13b5515063e2a6ccad09fb5bf32a86c8e0798a363d81c2be522e411 Step #7: Status: Downloaded newer image for gcr.io/oss-fuzz-base/uploader:latest Step #7: gcr.io/oss-fuzz-base/uploader:latest Step #7: % Total % Received % Xferd Average Speed Time Time Time Current Step #7: Dload Upload Total Spent Left Speed Step #7: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 157 0 0 100 157 0 647 --:--:-- --:--:-- --:--:-- 648 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 37.8M 0 0 100 37.8M 0 80.7M --:--:-- --:--:-- --:--:-- 80.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 23 0 0 100 23 0 83 --:--:-- --:--:-- --:--:-- 83 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 33 0 0 100 33 0 152 --:--:-- --:--:-- --:--:-- 152 Finished Step #10 Starting Step #11 Step #11: Already have image: gcr.io/oss-fuzz/sqlparse 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/sqlparse 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 wheel metadata ... [?25ldone Step #12 - "compile-libfuzzer-undefined-x86_64": [?25hBuilding wheels for collected packages: sqlparse Step #12 - "compile-libfuzzer-undefined-x86_64": Building wheel for sqlparse (PEP 517) ... [?25ldone Step #12 - "compile-libfuzzer-undefined-x86_64": [?25h Created wheel for sqlparse: filename=sqlparse-0.5.3.dev0-cp38-none-any.whl size=44477 sha256=c48ca6c3207344b72ea7fde17ce62649cbd81029d2c32f6269aec12e89648f6b Step #12 - "compile-libfuzzer-undefined-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-y_wqz1i3/wheels/5f/e7/e5/38234643e39099a9db05ede19dd879143d60a498f0b0b14ec0 Step #12 - "compile-libfuzzer-undefined-x86_64": Successfully built sqlparse Step #12 - "compile-libfuzzer-undefined-x86_64": Installing collected packages: sqlparse Step #12 - "compile-libfuzzer-undefined-x86_64": Successfully installed sqlparse-0.5.3.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": + '[' 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_parse.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_path=/src/fuzz_parse.py Step #12 - "compile-libfuzzer-undefined-x86_64": + shift 1 Step #12 - "compile-libfuzzer-undefined-x86_64": ++ basename -s .py /src/fuzz_parse.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_basename=fuzz_parse Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_package=fuzz_parse.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #12 - "compile-libfuzzer-undefined-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_parse 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_parse Step #12 - "compile-libfuzzer-undefined-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-undefined-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_parse --onefile --name fuzz_parse.pkg /src/fuzz_parse.py Step #12 - "compile-libfuzzer-undefined-x86_64": 59 INFO: PyInstaller: 5.0.1 Step #12 - "compile-libfuzzer-undefined-x86_64": 59 INFO: Python: 3.8.3 Step #12 - "compile-libfuzzer-undefined-x86_64": 60 INFO: Platform: Linux-5.10.0-33-cloud-amd64-x86_64-with-glibc2.2.5 Step #12 - "compile-libfuzzer-undefined-x86_64": 61 INFO: wrote /src/sqlparse/fuzz_parse.pkg.spec Step #12 - "compile-libfuzzer-undefined-x86_64": 63 INFO: UPX is not available. Step #12 - "compile-libfuzzer-undefined-x86_64": 64 INFO: Extending PYTHONPATH with paths Step #12 - "compile-libfuzzer-undefined-x86_64": ['/src'] Step #12 - "compile-libfuzzer-undefined-x86_64": 313 INFO: checking Analysis Step #12 - "compile-libfuzzer-undefined-x86_64": 314 INFO: Building Analysis because Analysis-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 314 INFO: Initializing module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 315 INFO: Caching module graph hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 325 INFO: Analyzing base_library.zip ... Step #12 - "compile-libfuzzer-undefined-x86_64": 3201 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": 3202 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #12 - "compile-libfuzzer-undefined-x86_64": 4963 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 5119 INFO: running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 5144 INFO: Analyzing /src/fuzz_parse.py Step #12 - "compile-libfuzzer-undefined-x86_64": 5364 INFO: Processing module hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 5365 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5367 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": 5368 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5627 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5628 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5637 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5638 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5640 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5689 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5703 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 5708 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 5712 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": 5713 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": 5716 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": 5719 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": 5727 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 6656 INFO: Looking for eggs Step #12 - "compile-libfuzzer-undefined-x86_64": 6656 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 6661 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_parse/fuzz_parse.pkg/warn-fuzz_parse.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 6692 INFO: Graph cross-reference written to /src/pyfuzzworkdir//fuzz_parse/fuzz_parse.pkg/xref-fuzz_parse.pkg.html Step #12 - "compile-libfuzzer-undefined-x86_64": 6707 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 6707 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 6707 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_parse/fuzz_parse.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 7137 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_parse/fuzz_parse.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 7142 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 7142 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 7142 INFO: Building PKG (CArchive) fuzz_parse.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 14182 INFO: Building PKG (CArchive) fuzz_parse.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 14185 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 14185 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 14186 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 14186 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 14186 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/fuzz_parse.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 14186 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 14244 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_parse.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_parse.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_parse.pkg $@' Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod +x /workspace/out/libfuzzer-undefined-x86_64/fuzz_parse 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_format.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_path=/src/fuzz_format.py Step #12 - "compile-libfuzzer-undefined-x86_64": + shift 1 Step #12 - "compile-libfuzzer-undefined-x86_64": ++ basename -s .py /src/fuzz_format.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_basename=fuzz_format Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_package=fuzz_format.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #12 - "compile-libfuzzer-undefined-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_format 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_format Step #12 - "compile-libfuzzer-undefined-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-undefined-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_format --onefile --name fuzz_format.pkg /src/fuzz_format.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-33-cloud-amd64-x86_64-with-glibc2.2.5 Step #12 - "compile-libfuzzer-undefined-x86_64": 62 INFO: wrote /src/sqlparse/fuzz_format.pkg.spec Step #12 - "compile-libfuzzer-undefined-x86_64": 64 INFO: UPX is not available. Step #12 - "compile-libfuzzer-undefined-x86_64": 66 INFO: Extending PYTHONPATH with paths Step #12 - "compile-libfuzzer-undefined-x86_64": ['/src'] Step #12 - "compile-libfuzzer-undefined-x86_64": 303 INFO: checking Analysis Step #12 - "compile-libfuzzer-undefined-x86_64": 303 INFO: Building Analysis because Analysis-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 303 INFO: Initializing module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 305 INFO: Caching module graph hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 315 INFO: Analyzing base_library.zip ... Step #12 - "compile-libfuzzer-undefined-x86_64": 3161 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": 3161 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #12 - "compile-libfuzzer-undefined-x86_64": 4986 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 5146 INFO: running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 5171 INFO: Analyzing /src/fuzz_format.py Step #12 - "compile-libfuzzer-undefined-x86_64": 5392 INFO: Processing module hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 5393 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5395 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": 5396 INFO: Loading module hook 'hook-xml.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5655 INFO: Loading module hook 'hook-pickle.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5657 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5665 INFO: Loading module hook 'hook-heapq.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5667 INFO: Loading module hook 'hook-difflib.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5668 INFO: Loading module hook 'hook-encodings.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5718 INFO: Loading module hook 'hook-distutils.py' from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks'... Step #12 - "compile-libfuzzer-undefined-x86_64": 5731 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 5736 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 5740 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": 5741 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": 5744 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": 5747 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": 5756 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 6660 INFO: Looking for eggs Step #12 - "compile-libfuzzer-undefined-x86_64": 6660 INFO: Using Python library /usr/local/lib/libpython3.8.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 6664 INFO: Warnings written to /src/pyfuzzworkdir//fuzz_format/fuzz_format.pkg/warn-fuzz_format.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 6695 INFO: Graph cross-reference written to /src/pyfuzzworkdir//fuzz_format/fuzz_format.pkg/xref-fuzz_format.pkg.html Step #12 - "compile-libfuzzer-undefined-x86_64": 6703 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 6703 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 6703 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_format/fuzz_format.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 7133 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir//fuzz_format/fuzz_format.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 7137 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 7137 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 7138 INFO: Building PKG (CArchive) fuzz_format.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 14192 INFO: Building PKG (CArchive) fuzz_format.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 14195 INFO: Bootloader /usr/local/lib/python3.8/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 14195 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 14195 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 14195 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 14195 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/fuzz_format.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 14195 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 14240 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_format.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_format.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_format.pkg $@' Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod +x /workspace/out/libfuzzer-undefined-x86_64/fuzz_format 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/tmpri7tzr55/fuzz_parse Step #13 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpri7tzr55/fuzz_format 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/sqlparse Step #15: adding: fuzz_format (deflated 32%) Step #15: adding: fuzz_format.pkg (deflated 1%) Step #15: adding: fuzz_parse (deflated 32%) Step #15: adding: fuzz_parse.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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 157 0 0 100 157 0 731 --:--:-- --:--:-- --:--:-- 730 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 92 37.1M 0 0 92 34.3M 0 128M --:--:-- --:--:-- --:--:-- 128M 100 37.1M 0 0 100 37.1M 0 72.4M --:--:-- --:--:-- --:--:-- 72.4M 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 23 0 0 100 23 0 112 --:--:-- --:--:-- --:--:-- 111 100 23 0 0 100 23 0 84 --:--:-- --:--:-- --:--:-- 83 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 35 0 0 100 35 0 124 --:--:-- --:--:-- --:--:-- 123 100 35 0 0 100 35 0 123 --:--:-- --:--:-- --:--:-- 123 Finished Step #19 Starting Step #20 Step #20: Already have image: gcr.io/oss-fuzz/sqlparse Finished Step #20 PUSH DONE