starting build "e04bdf8b-77cd-403f-bfb5-d4fa51657b76" 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 89.6kB Step #1: Step 1/8 : FROM gcr.io/oss-fuzz-base/base-builder Step #1: latest: Pulling from oss-fuzz-base/base-builder Step #1: b549f31133a9: Pulling fs layer Step #1: 51df0d6876cd: Pulling fs layer Step #1: 38da3118a46e: Pulling fs layer Step #1: ec67c84a6d76: Pulling fs layer Step #1: 8bb7dd1116ca: Pulling fs layer Step #1: 1fb4fb3d2b01: Pulling fs layer Step #1: a7d3a0578149: Pulling fs layer Step #1: 23e3013e5b98: Pulling fs layer Step #1: 50e1ee57936a: Pulling fs layer Step #1: b46b6cdbb6f2: Pulling fs layer Step #1: c0d18e8fb1fa: Pulling fs layer Step #1: 29a663a40ba4: Pulling fs layer Step #1: d57e2535d3c0: Pulling fs layer Step #1: e530a9eecf2b: Pulling fs layer Step #1: 4f27abcdaf5d: Pulling fs layer Step #1: 81adce140048: Pulling fs layer Step #1: 1eaaa1542342: Pulling fs layer Step #1: 6becd2001539: Pulling fs layer Step #1: 22d4835417b0: Pulling fs layer Step #1: 601a9cbfd137: Pulling fs layer Step #1: 972df7da24e8: Pulling fs layer Step #1: ec67c84a6d76: Waiting Step #1: 535ecd0613d1: Pulling fs layer Step #1: b46b6cdbb6f2: Waiting Step #1: 16949380c6e4: Pulling fs layer Step #1: da4104990ff0: Pulling fs layer Step #1: 8bb7dd1116ca: Waiting Step #1: c19b7fe83e8a: Pulling fs layer Step #1: c0d18e8fb1fa: Waiting Step #1: 3c6277aa8e2b: Pulling fs layer Step #1: 29a663a40ba4: Waiting Step #1: d57e2535d3c0: Waiting Step #1: 1fb4fb3d2b01: Waiting Step #1: e530a9eecf2b: Waiting Step #1: a7d3a0578149: Waiting Step #1: bcf869ca811e: Pulling fs layer Step #1: 23e3013e5b98: Waiting Step #1: 4a49dc7a9851: Pulling fs layer Step #1: de9ad109123c: Pulling fs layer Step #1: 50e1ee57936a: Waiting Step #1: 4f27abcdaf5d: Waiting Step #1: d74dccfeea37: Pulling fs layer Step #1: 9650ce23f886: Pulling fs layer Step #1: 6becd2001539: Waiting Step #1: eaeb815cd75a: Pulling fs layer Step #1: 81adce140048: Waiting Step #1: 3ccdc7b565ee: Pulling fs layer Step #1: 22d4835417b0: Waiting Step #1: 11c03f65d6c1: Pulling fs layer Step #1: 1eaaa1542342: Waiting Step #1: 972df7da24e8: Waiting Step #1: 4a49dc7a9851: Waiting Step #1: bcf869ca811e: Waiting Step #1: 3c6277aa8e2b: Waiting Step #1: de9ad109123c: Waiting Step #1: c19b7fe83e8a: Waiting Step #1: d74dccfeea37: Waiting Step #1: 535ecd0613d1: Waiting Step #1: 16949380c6e4: Waiting Step #1: 9650ce23f886: Waiting Step #1: da4104990ff0: Waiting Step #1: 3ccdc7b565ee: Waiting Step #1: 38da3118a46e: Verifying Checksum Step #1: 38da3118a46e: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: ec67c84a6d76: Verifying Checksum Step #1: ec67c84a6d76: Download complete Step #1: 8bb7dd1116ca: Verifying Checksum Step #1: 8bb7dd1116ca: Download complete Step #1: 1fb4fb3d2b01: Verifying Checksum Step #1: 1fb4fb3d2b01: Download complete Step #1: 51df0d6876cd: Verifying Checksum Step #1: 51df0d6876cd: Download complete Step #1: 23e3013e5b98: Download complete Step #1: 50e1ee57936a: Verifying Checksum Step #1: 50e1ee57936a: Download complete Step #1: b549f31133a9: Pull complete Step #1: c0d18e8fb1fa: Verifying Checksum Step #1: c0d18e8fb1fa: Download complete Step #1: 29a663a40ba4: 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: b46b6cdbb6f2: Verifying Checksum Step #1: b46b6cdbb6f2: Download complete Step #1: 81adce140048: Verifying Checksum Step #1: 81adce140048: Download complete Step #1: 6becd2001539: Verifying Checksum Step #1: 6becd2001539: Download complete Step #1: 1eaaa1542342: Verifying Checksum Step #1: 1eaaa1542342: Download complete Step #1: 22d4835417b0: Verifying Checksum Step #1: 22d4835417b0: Download complete Step #1: 601a9cbfd137: Verifying Checksum Step #1: 601a9cbfd137: Download complete Step #1: 972df7da24e8: Verifying Checksum Step #1: 972df7da24e8: Download complete Step #1: 535ecd0613d1: Download complete Step #1: da4104990ff0: Verifying Checksum Step #1: da4104990ff0: Download complete Step #1: a7d3a0578149: Verifying Checksum Step #1: a7d3a0578149: Download complete Step #1: 16949380c6e4: Verifying Checksum Step #1: 16949380c6e4: Download complete Step #1: c19b7fe83e8a: Verifying Checksum Step #1: c19b7fe83e8a: 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: d74dccfeea37: Verifying Checksum Step #1: d74dccfeea37: Download complete Step #1: 9650ce23f886: Verifying Checksum Step #1: 9650ce23f886: 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: Verifying Checksum Step #1: 11c03f65d6c1: 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: Digest: sha256:718d1e1f9fed057967ab647b50af41708389951cff904f6fdaac999ad1b3973e Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1: ---> 01958c5bb573 Step #1: Step 2/8 : RUN apt-get update Step #1: ---> Running in c7adfb1d4ebf Step #1: Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Step #1: Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] Step #1: Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease Step #1: Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease Step #1: Fetched 128 kB in 1s (187 kB/s) Step #1: Reading package lists... Step #1: Removing intermediate container c7adfb1d4ebf Step #1: ---> eeb61f63f50b Step #1: Step 3/8 : RUN apt-get install -y build-essential libssl-dev libncurses5-dev libncursesw5-dev make cmake perl bison pkg-config Step #1: ---> Running in 4b2818ebc107 Step #1: Reading package lists... Step #1: Building dependency tree... Step #1: Reading state information... Step #1: make is already the newest version (4.2.1-1.2). Step #1: make set to manually installed. Step #1: build-essential is already the newest version (12.8ubuntu1.1). Step #1: libssl-dev is already the newest version (1.1.1f-1ubuntu2.23). Step #1: perl is already the newest version (5.30.0-9ubuntu0.5). Step #1: perl set to manually installed. Step #1: The following additional packages will be installed: Step #1: cmake-data libarchive13 libglib2.0-0 libglib2.0-data libicu66 libjsoncpp1 Step #1: libncurses-dev librhash0 libsigsegv2 libuv1 libxml2 m4 shared-mime-info Step #1: xdg-user-dirs Step #1: Suggested packages: Step #1: bison-doc cmake-doc ninja-build lrzip ncurses-doc m4-doc Step #1: The following NEW packages will be installed: Step #1: bison cmake cmake-data libarchive13 libglib2.0-0 libglib2.0-data libicu66 Step #1: libjsoncpp1 libncurses-dev libncurses5-dev libncursesw5-dev librhash0 Step #1: libsigsegv2 libuv1 libxml2 m4 pkg-config shared-mime-info xdg-user-dirs Step #1: 0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded. Step #1: Need to get 18.1 MB of archives. Step #1: After this operation, 77.5 MB of additional disk space will be used. Step #1: Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libglib2.0-0 amd64 2.64.6-1~ubuntu20.04.8 [1289 kB] Step #1: Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libglib2.0-data all 2.64.6-1~ubuntu20.04.8 [5848 B] Step #1: Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libicu66 amd64 66.1-2ubuntu2.1 [8515 kB] Step #1: Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libxml2 amd64 2.9.10+dfsg-5ubuntu0.20.04.7 [640 kB] Step #1: Get:5 http://archive.ubuntu.com/ubuntu focal/main amd64 shared-mime-info amd64 1.15-1 [430 kB] Step #1: Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 xdg-user-dirs amd64 0.17-2ubuntu1 [48.3 kB] Step #1: Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libuv1 amd64 1.34.2-1ubuntu1.5 [80.9 kB] Step #1: Get:8 http://archive.ubuntu.com/ubuntu focal/main amd64 libsigsegv2 amd64 2.12-2 [13.9 kB] Step #1: Get:9 http://archive.ubuntu.com/ubuntu focal/main amd64 m4 amd64 1.4.18-4 [199 kB] Step #1: Get:10 http://archive.ubuntu.com/ubuntu focal/main amd64 bison amd64 2:3.5.1+dfsg-1 [657 kB] Step #1: Get:11 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 cmake-data all 3.16.3-1ubuntu1.20.04.1 [1613 kB] Step #1: Get:12 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libarchive13 amd64 3.4.0-2ubuntu1.4 [327 kB] Step #1: Get:13 http://archive.ubuntu.com/ubuntu focal/main amd64 libjsoncpp1 amd64 1.7.4-3.1ubuntu2 [75.6 kB] Step #1: Get:14 http://archive.ubuntu.com/ubuntu focal/main amd64 librhash0 amd64 1.3.9-1 [113 kB] Step #1: Get:15 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 cmake amd64 3.16.3-1ubuntu1.20.04.1 [3668 kB] Step #1: Get:16 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libncurses-dev amd64 6.2-0ubuntu2.1 [340 kB] Step #1: Get:17 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libncurses5-dev amd64 6.2-0ubuntu2.1 [984 B] Step #1: Get:18 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libncursesw5-dev amd64 6.2-0ubuntu2.1 [988 B] Step #1: Get:19 http://archive.ubuntu.com/ubuntu focal/main amd64 pkg-config amd64 0.29.1-0ubuntu4 [45.5 kB] Step #1: debconf: delaying package configuration, since apt-utils is not installed Step #1: Fetched 18.1 MB in 1s (28.2 MB/s) Step #1: Selecting previously unselected package libglib2.0-0:amd64. Step #1: (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 17393 files and directories currently installed.) Step #1: Preparing to unpack .../00-libglib2.0-0_2.64.6-1~ubuntu20.04.8_amd64.deb ... Step #1: Unpacking libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.8) ... Step #1: Selecting previously unselected package libglib2.0-data. Step #1: Preparing to unpack .../01-libglib2.0-data_2.64.6-1~ubuntu20.04.8_all.deb ... Step #1: Unpacking libglib2.0-data (2.64.6-1~ubuntu20.04.8) ... Step #1: Selecting previously unselected package libicu66:amd64. Step #1: Preparing to unpack .../02-libicu66_66.1-2ubuntu2.1_amd64.deb ... Step #1: Unpacking libicu66:amd64 (66.1-2ubuntu2.1) ... Step #1: Selecting previously unselected package libxml2:amd64. Step #1: Preparing to unpack .../03-libxml2_2.9.10+dfsg-5ubuntu0.20.04.7_amd64.deb ... Step #1: Unpacking libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.7) ... Step #1: Selecting previously unselected package shared-mime-info. Step #1: Preparing to unpack .../04-shared-mime-info_1.15-1_amd64.deb ... Step #1: Unpacking shared-mime-info (1.15-1) ... Step #1: Selecting previously unselected package xdg-user-dirs. Step #1: Preparing to unpack .../05-xdg-user-dirs_0.17-2ubuntu1_amd64.deb ... Step #1: Unpacking xdg-user-dirs (0.17-2ubuntu1) ... Step #1: Selecting previously unselected package libuv1:amd64. Step #1: Preparing to unpack .../06-libuv1_1.34.2-1ubuntu1.5_amd64.deb ... Step #1: Unpacking libuv1:amd64 (1.34.2-1ubuntu1.5) ... Step #1: Selecting previously unselected package libsigsegv2:amd64. Step #1: Preparing to unpack .../07-libsigsegv2_2.12-2_amd64.deb ... Step #1: Unpacking libsigsegv2:amd64 (2.12-2) ... Step #1: Selecting previously unselected package m4. Step #1: Preparing to unpack .../08-m4_1.4.18-4_amd64.deb ... Step #1: Unpacking m4 (1.4.18-4) ... Step #1: Selecting previously unselected package bison. Step #1: Preparing to unpack .../09-bison_2%3a3.5.1+dfsg-1_amd64.deb ... Step #1: Unpacking bison (2:3.5.1+dfsg-1) ... Step #1: Selecting previously unselected package cmake-data. Step #1: Preparing to unpack .../10-cmake-data_3.16.3-1ubuntu1.20.04.1_all.deb ... Step #1: Unpacking cmake-data (3.16.3-1ubuntu1.20.04.1) ... Step #1: Selecting previously unselected package libarchive13:amd64. Step #1: Preparing to unpack .../11-libarchive13_3.4.0-2ubuntu1.4_amd64.deb ... Step #1: Unpacking libarchive13:amd64 (3.4.0-2ubuntu1.4) ... Step #1: Selecting previously unselected package libjsoncpp1:amd64. Step #1: Preparing to unpack .../12-libjsoncpp1_1.7.4-3.1ubuntu2_amd64.deb ... Step #1: Unpacking libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ... Step #1: Selecting previously unselected package librhash0:amd64. Step #1: Preparing to unpack .../13-librhash0_1.3.9-1_amd64.deb ... Step #1: Unpacking librhash0:amd64 (1.3.9-1) ... Step #1: Selecting previously unselected package cmake. Step #1: Preparing to unpack .../14-cmake_3.16.3-1ubuntu1.20.04.1_amd64.deb ... Step #1: Unpacking cmake (3.16.3-1ubuntu1.20.04.1) ... Step #1: Selecting previously unselected package libncurses-dev:amd64. Step #1: Preparing to unpack .../15-libncurses-dev_6.2-0ubuntu2.1_amd64.deb ... Step #1: Unpacking libncurses-dev:amd64 (6.2-0ubuntu2.1) ... Step #1: Selecting previously unselected package libncurses5-dev:amd64. Step #1: Preparing to unpack .../16-libncurses5-dev_6.2-0ubuntu2.1_amd64.deb ... Step #1: Unpacking libncurses5-dev:amd64 (6.2-0ubuntu2.1) ... Step #1: Selecting previously unselected package libncursesw5-dev:amd64. Step #1: Preparing to unpack .../17-libncursesw5-dev_6.2-0ubuntu2.1_amd64.deb ... Step #1: Unpacking libncursesw5-dev:amd64 (6.2-0ubuntu2.1) ... Step #1: Selecting previously unselected package pkg-config. Step #1: Preparing to unpack .../18-pkg-config_0.29.1-0ubuntu4_amd64.deb ... Step #1: Unpacking pkg-config (0.29.1-0ubuntu4) ... Step #1: Setting up libncurses-dev:amd64 (6.2-0ubuntu2.1) ... Step #1: Setting up libncursesw5-dev:amd64 (6.2-0ubuntu2.1) ... Step #1: Setting up xdg-user-dirs (0.17-2ubuntu1) ... Step #1: Setting up libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.8) ... Step #1: No schema files found: doing nothing. Step #1: Setting up libicu66:amd64 (66.1-2ubuntu2.1) ... Step #1: Setting up libglib2.0-data (2.64.6-1~ubuntu20.04.8) ... Step #1: Setting up libuv1:amd64 (1.34.2-1ubuntu1.5) ... Step #1: Setting up libsigsegv2:amd64 (2.12-2) ... Step #1: Setting up pkg-config (0.29.1-0ubuntu4) ... Step #1: Setting up librhash0:amd64 (1.3.9-1) ... Step #1: Setting up libncurses5-dev:amd64 (6.2-0ubuntu2.1) ... Step #1: Setting up cmake-data (3.16.3-1ubuntu1.20.04.1) ... Step #1: Setting up libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.7) ... Step #1: Setting up libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ... Step #1: Setting up libarchive13:amd64 (3.4.0-2ubuntu1.4) ... Step #1: Setting up m4 (1.4.18-4) ... Step #1: Setting up shared-mime-info (1.15-1) ... Step #1: Setting up bison (2:3.5.1+dfsg-1) ... Step #1: update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode Step #1: update-alternatives: warning: skip creation of /usr/share/man/man1/yacc.1.gz because associated file /usr/share/man/man1/bison.yacc.1.gz (of link group yacc) doesn't exist Step #1: Setting up cmake (3.16.3-1ubuntu1.20.04.1) ... Step #1: Processing triggers for libc-bin (2.31-0ubuntu9.16) ... Step #1: Removing intermediate container 4b2818ebc107 Step #1: ---> 98c0b1292c48 Step #1: Step 4/8 : RUN git clone --depth 1 https://github.com/mysql/mysql-server Step #1: ---> Running in 6cd4fd393feb Step #1: Cloning into 'mysql-server'... Step #1: Updating files: 23% (11485/48234) Updating files: 24% (11577/48234) Updating files: 25% (12059/48234) Updating files: 26% (12541/48234) Updating files: 27% (13024/48234) Updating files: 28% (13506/48234) Updating files: 29% (13988/48234) Updating files: 30% (14471/48234) Updating files: 31% (14953/48234) Updating files: 32% (15435/48234) Updating files: 33% (15918/48234) Updating files: 34% (16400/48234) Updating files: 35% (16882/48234) Updating files: 36% (17365/48234) Updating files: 37% (17847/48234) Updating files: 38% (18329/48234) Updating files: 39% (18812/48234) Updating files: 39% (18877/48234) Updating files: 39% (19253/48234) Updating files: 40% (19294/48234) Updating files: 40% (19478/48234) Updating files: 41% (19776/48234) Updating files: 42% (20259/48234) Updating files: 43% (20741/48234) Updating files: 43% (20900/48234) Updating files: 44% (21223/48234) Updating files: 45% (21706/48234) Updating files: 46% (22188/48234) Updating files: 47% (22670/48234) Updating files: 48% (23153/48234) Updating files: 49% (23635/48234) Updating files: 50% (24117/48234) Updating files: 51% (24600/48234) Updating files: 52% (25082/48234) Updating files: 53% (25565/48234) Updating files: 54% (26047/48234) Updating files: 55% (26529/48234) Updating files: 56% (27012/48234) Updating files: 57% (27494/48234) Updating files: 58% (27976/48234) Updating files: 59% (28459/48234) Updating files: 60% (28941/48234) Updating files: 61% (29423/48234) Updating files: 62% (29906/48234) Updating files: 63% (30388/48234) Updating files: 64% (30870/48234) Updating files: 65% (31353/48234) Updating files: 65% (31689/48234) Updating files: 66% (31835/48234) Updating files: 67% (32317/48234) Updating files: 68% (32800/48234) Updating files: 69% (33282/48234) Updating files: 70% (33764/48234) Updating files: 71% (34247/48234) Updating files: 72% (34729/48234) Updating files: 73% (35211/48234) Updating files: 74% (35694/48234) Updating files: 75% (36176/48234) Updating files: 76% (36658/48234) Updating files: 77% (37141/48234) Updating files: 78% (37623/48234) Updating files: 79% (38105/48234) Updating files: 80% (38588/48234) Updating files: 81% (39070/48234) Updating files: 82% (39552/48234) Updating files: 83% (40035/48234) Updating files: 84% (40517/48234) Updating files: 85% (40999/48234) Updating files: 86% (41482/48234) Updating files: 87% (41964/48234) Updating files: 88% (42446/48234) Updating files: 89% (42929/48234) Updating files: 90% (43411/48234) Updating files: 90% (43668/48234) Updating files: 91% (43893/48234) Updating files: 92% (44376/48234) Updating files: 93% (44858/48234) Updating files: 94% (45340/48234) Updating files: 95% (45823/48234) Updating files: 96% (46305/48234) Updating files: 97% (46787/48234) Updating files: 98% (47270/48234) Updating files: 99% (47752/48234) Updating files: 100% (48234/48234) Updating files: 100% (48234/48234), done. Step #1: Removing intermediate container 6cd4fd393feb Step #1: ---> 5cd05a34de18 Step #1: Step 5/8 : WORKDIR $SRC Step #1: ---> Running in 7fa67085abe8 Step #1: Removing intermediate container 7fa67085abe8 Step #1: ---> 6f54e7718f7d Step #1: Step 6/8 : COPY build.sh $SRC/ Step #1: ---> 5a7dc4187d71 Step #1: Step 7/8 : COPY fix.diff $SRC/ Step #1: ---> 0cd3e5bc82d7 Step #1: Step 8/8 : COPY targets $SRC/mysql-server/fuzz Step #1: ---> 80f60452e1a5 Step #1: Successfully built 80f60452e1a5 Step #1: Successfully tagged gcr.io/oss-fuzz/mysql-server:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/mysql-server Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileLFQHqO Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ c++ == \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/mysql-server/.git Step #2 - "srcmap": + GIT_DIR=/src/mysql-server Step #2 - "srcmap": + cd /src/mysql-server Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/mysql/mysql-server Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=61a3a1d8ef15512396b4c2af46e922a19bf2b174 Step #2 - "srcmap": + jq_inplace /tmp/fileLFQHqO '."/src/mysql-server" = { type: "git", url: "https://github.com/mysql/mysql-server", rev: "61a3a1d8ef15512396b4c2af46e922a19bf2b174" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/file8WtVqc Step #2 - "srcmap": + cat /tmp/fileLFQHqO Step #2 - "srcmap": + jq '."/src/mysql-server" = { type: "git", url: "https://github.com/mysql/mysql-server", rev: "61a3a1d8ef15512396b4c2af46e922a19bf2b174" }' Step #2 - "srcmap": + mv /tmp/file8WtVqc /tmp/fileLFQHqO 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/fileLFQHqO Step #2 - "srcmap": + rm /tmp/fileLFQHqO Step #2 - "srcmap": { Step #2 - "srcmap": "/src/mysql-server": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/mysql/mysql-server", Step #2 - "srcmap": "rev": "61a3a1d8ef15512396b4c2af46e922a19bf2b174" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-coverage-x86_64" Step #3 - "compile-libfuzzer-coverage-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-coverage-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": CC=clang Step #3 - "compile-libfuzzer-coverage-x86_64": CXX=clang++ Step #3 - "compile-libfuzzer-coverage-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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument Step #3 - "compile-libfuzzer-coverage-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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -stdlib=libc++ Step #3 - "compile-libfuzzer-coverage-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers -Cinstrument-coverage -C link-arg=-lc++ Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": + cd mysql-server Step #3 - "compile-libfuzzer-coverage-x86_64": + git apply ../fix.diff Step #3 - "compile-libfuzzer-coverage-x86_64": error: patch failed: libmysql/CMakeLists.txt:363 Step #3 - "compile-libfuzzer-coverage-x86_64": error: libmysql/CMakeLists.txt: patch does not apply Step #3 - "compile-libfuzzer-coverage-x86_64": error: patch failed: sql/mysqld.cc:8119 Step #3 - "compile-libfuzzer-coverage-x86_64": error: sql/mysqld.cc: patch does not apply Step #3 - "compile-libfuzzer-coverage-x86_64": ******************************************************************************** Step #3 - "compile-libfuzzer-coverage-x86_64": Failed to build. Step #3 - "compile-libfuzzer-coverage-x86_64": To reproduce, run: Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_image mysql-server Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_fuzzers --sanitizer coverage --engine libfuzzer --architecture x86_64 mysql-server Step #3 - "compile-libfuzzer-coverage-x86_64": ******************************************************************************** Finished Step #3 - "compile-libfuzzer-coverage-x86_64" ERROR ERROR: build step 3 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1