starting build "af317e42-0f6d-411e-becc-5cff381eb1d3" 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: 160496dfdc1e: Pulling fs layer Step #1: e2c1e6ffb55e: Pulling fs layer Step #1: 790f0b60d601: Pulling fs layer Step #1: ba5377523637: Pulling fs layer Step #1: fcf19af99e9b: Pulling fs layer Step #1: c120616e8611: Pulling fs layer Step #1: 648979ff9271: Pulling fs layer Step #1: 38b58f40b986: Pulling fs layer Step #1: 6fec27639895: Pulling fs layer Step #1: 6311c17bee61: Pulling fs layer Step #1: 63cd1cde0eec: Pulling fs layer Step #1: 1ef02760f71f: Pulling fs layer Step #1: fda5a71c8862: Pulling fs layer Step #1: 7ad2f7c615a2: Pulling fs layer Step #1: 0b07407e6342: Pulling fs layer Step #1: fbed995eca46: Pulling fs layer Step #1: 4381c7f8884c: Pulling fs layer Step #1: bd3393df7542: Pulling fs layer Step #1: f8afaf16f210: Pulling fs layer Step #1: 086216b75b6f: Pulling fs layer Step #1: ebb3d4059a93: Pulling fs layer Step #1: 1cb7b39b268b: Pulling fs layer Step #1: fd1f752e3c9f: Pulling fs layer Step #1: 84db406b755d: Pulling fs layer Step #1: 3968f7202bef: Pulling fs layer Step #1: 37c0a55501a4: Pulling fs layer Step #1: fddacf1580ff: Pulling fs layer Step #1: 3c790d5687e6: Pulling fs layer Step #1: 0fcda4deea49: Pulling fs layer Step #1: cfc1aaab3799: Pulling fs layer Step #1: 5764b068ae0e: Pulling fs layer Step #1: fbed995eca46: Waiting Step #1: 6fec27639895: Waiting Step #1: 6311c17bee61: Waiting Step #1: 0fcda4deea49: Waiting Step #1: 0b07407e6342: Waiting Step #1: 1ef02760f71f: Waiting Step #1: bd3393df7542: Waiting Step #1: fda5a71c8862: Waiting Step #1: 7ad2f7c615a2: Waiting Step #1: c120616e8611: Waiting Step #1: 3c790d5687e6: Waiting Step #1: cfc1aaab3799: Waiting Step #1: 5764b068ae0e: Waiting Step #1: fd1f752e3c9f: Waiting Step #1: f8afaf16f210: Waiting Step #1: 37c0a55501a4: Waiting Step #1: 648979ff9271: Waiting Step #1: 790f0b60d601: Waiting Step #1: 086216b75b6f: Waiting Step #1: fddacf1580ff: Waiting Step #1: ebb3d4059a93: Waiting Step #1: 3968f7202bef: Waiting Step #1: 4381c7f8884c: Waiting Step #1: 1cb7b39b268b: Waiting Step #1: e2c1e6ffb55e: Verifying Checksum Step #1: e2c1e6ffb55e: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: ba5377523637: Verifying Checksum Step #1: ba5377523637: Download complete Step #1: 790f0b60d601: Verifying Checksum Step #1: 790f0b60d601: Download complete Step #1: fcf19af99e9b: Verifying Checksum Step #1: fcf19af99e9b: Download complete Step #1: 648979ff9271: Verifying Checksum Step #1: 648979ff9271: Download complete Step #1: 160496dfdc1e: Verifying Checksum Step #1: 160496dfdc1e: Download complete Step #1: 38b58f40b986: Verifying Checksum Step #1: 38b58f40b986: Download complete Step #1: b549f31133a9: Pull complete Step #1: 6311c17bee61: Verifying Checksum Step #1: 6311c17bee61: Download complete Step #1: 63cd1cde0eec: Verifying Checksum Step #1: 63cd1cde0eec: Download complete Step #1: 1ef02760f71f: Verifying Checksum Step #1: 1ef02760f71f: Download complete Step #1: fda5a71c8862: Verifying Checksum Step #1: fda5a71c8862: Download complete Step #1: 7ad2f7c615a2: Download complete Step #1: 0b07407e6342: Verifying Checksum Step #1: 0b07407e6342: Download complete Step #1: 6fec27639895: Verifying Checksum Step #1: 6fec27639895: Download complete Step #1: fbed995eca46: Verifying Checksum Step #1: fbed995eca46: Download complete Step #1: 4381c7f8884c: Verifying Checksum Step #1: 4381c7f8884c: Download complete Step #1: bd3393df7542: Verifying Checksum Step #1: bd3393df7542: Download complete Step #1: f8afaf16f210: Verifying Checksum Step #1: f8afaf16f210: Download complete Step #1: 086216b75b6f: Download complete Step #1: ebb3d4059a93: Verifying Checksum Step #1: ebb3d4059a93: Download complete Step #1: 1cb7b39b268b: Download complete Step #1: fd1f752e3c9f: Verifying Checksum Step #1: fd1f752e3c9f: Download complete Step #1: 84db406b755d: Verifying Checksum Step #1: 84db406b755d: Download complete Step #1: 3968f7202bef: Verifying Checksum Step #1: 3968f7202bef: Download complete Step #1: c120616e8611: Verifying Checksum Step #1: c120616e8611: Download complete Step #1: 37c0a55501a4: Verifying Checksum Step #1: 37c0a55501a4: Download complete Step #1: fddacf1580ff: Verifying Checksum Step #1: fddacf1580ff: Download complete Step #1: 3c790d5687e6: Verifying Checksum Step #1: 3c790d5687e6: Download complete Step #1: 0fcda4deea49: Verifying Checksum Step #1: 0fcda4deea49: Download complete Step #1: cfc1aaab3799: Verifying Checksum Step #1: cfc1aaab3799: Download complete Step #1: 5764b068ae0e: Verifying Checksum Step #1: 5764b068ae0e: Download complete Step #1: 160496dfdc1e: Pull complete Step #1: e2c1e6ffb55e: Pull complete Step #1: 790f0b60d601: Pull complete Step #1: ba5377523637: Pull complete Step #1: fcf19af99e9b: Pull complete Step #1: c120616e8611: Pull complete Step #1: 648979ff9271: Pull complete Step #1: 38b58f40b986: Pull complete Step #1: 6fec27639895: Pull complete Step #1: 6311c17bee61: Pull complete Step #1: 63cd1cde0eec: Pull complete Step #1: 1ef02760f71f: Pull complete Step #1: fda5a71c8862: Pull complete Step #1: 7ad2f7c615a2: Pull complete Step #1: 0b07407e6342: Pull complete Step #1: fbed995eca46: Pull complete Step #1: 4381c7f8884c: Pull complete Step #1: bd3393df7542: Pull complete Step #1: f8afaf16f210: Pull complete Step #1: 086216b75b6f: Pull complete Step #1: ebb3d4059a93: Pull complete Step #1: 1cb7b39b268b: Pull complete Step #1: fd1f752e3c9f: Pull complete Step #1: 84db406b755d: Pull complete Step #1: 3968f7202bef: Pull complete Step #1: 37c0a55501a4: Pull complete Step #1: fddacf1580ff: Pull complete Step #1: 3c790d5687e6: Pull complete Step #1: 0fcda4deea49: Pull complete Step #1: cfc1aaab3799: Pull complete Step #1: 5764b068ae0e: Pull complete Step #1: Digest: sha256:b40f1a2ba14708e0ba1594dfbb4e460eb329c098f352ebac59ea72a2c9f7bbc8 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1: ---> 595c6f14e029 Step #1: Step 2/8 : RUN apt-get update Step #1: ---> Running in 56c313100bf8 Step #1: Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Step #1: Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease Step #1: Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] Step #1: Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease Step #1: Fetched 128 kB in 1s (141 kB/s) Step #1: Reading package lists... Step #1: Removing intermediate container 56c313100bf8 Step #1: ---> 6fbc78657ef1 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 e327b808285e 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.7 [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.7 [5944 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.3 [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 (30.4 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.7_amd64.deb ... Step #1: Unpacking libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.7) ... Step #1: Selecting previously unselected package libglib2.0-data. Step #1: Preparing to unpack .../01-libglib2.0-data_2.64.6-1~ubuntu20.04.7_all.deb ... Step #1: Unpacking libglib2.0-data (2.64.6-1~ubuntu20.04.7) ... 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.3_amd64.deb ... Step #1: Unpacking libarchive13:amd64 (3.4.0-2ubuntu1.3) ... 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.7) ... 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.7) ... 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.3) ... 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 e327b808285e Step #1: ---> bc172c45b9fa Step #1: Step 4/8 : RUN git clone --depth 1 https://github.com/mysql/mysql-server Step #1: ---> Running in 44260062801b Step #1: Cloning into 'mysql-server'... Step #1: Updating files: 23% (11385/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% (19197/48234) Updating files: 40% (19294/48234) Updating files: 40% (19395/48234) Updating files: 40% (19548/48234) Updating files: 41% (19776/48234) Updating files: 42% (20259/48234) Updating files: 43% (20741/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: 55% (26862/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: 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: 82% (39741/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: 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: 98% (47641/48234) Updating files: 99% (47752/48234) Updating files: 100% (48234/48234) Updating files: 100% (48234/48234), done. Step #1: Removing intermediate container 44260062801b Step #1: ---> cd56775b6bb9 Step #1: Step 5/8 : WORKDIR $SRC Step #1: ---> Running in 2b3338906290 Step #1: Removing intermediate container 2b3338906290 Step #1: ---> 42e08a95615e Step #1: Step 6/8 : COPY build.sh $SRC/ Step #1: ---> dbfb323d1ab6 Step #1: Step 7/8 : COPY fix.diff $SRC/ Step #1: ---> 64141b889326 Step #1: Step 8/8 : COPY targets $SRC/mysql-server/fuzz Step #1: ---> f094582b3966 Step #1: Successfully built f094582b3966 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/fileY53PiN 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/fileY53PiN '."/src/mysql-server" = { type: "git", url: "https://github.com/mysql/mysql-server", rev: "61a3a1d8ef15512396b4c2af46e922a19bf2b174" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileowCkna Step #2 - "srcmap": + cat /tmp/fileY53PiN Step #2 - "srcmap": + jq '."/src/mysql-server" = { type: "git", url: "https://github.com/mysql/mysql-server", rev: "61a3a1d8ef15512396b4c2af46e922a19bf2b174" }' Step #2 - "srcmap": + mv /tmp/fileowCkna /tmp/fileY53PiN 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/fileY53PiN Step #2 - "srcmap": + rm /tmp/fileY53PiN 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