starting build "257e577c-ce44-400a-b082-1d87368c572b" 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: 139edd167df6: Pulling fs layer Step #1: af444f75ae33: Pulling fs layer Step #1: e6d3ec2e6299: Pulling fs layer Step #1: 0e5e981f1005: Pulling fs layer Step #1: 0b3bd470dbd3: Pulling fs layer Step #1: 2b5ed893bb64: Pulling fs layer Step #1: 74889077656a: Pulling fs layer Step #1: 700d36a8274d: Pulling fs layer Step #1: e18854f9d817: Pulling fs layer Step #1: 3ed49702f576: Pulling fs layer Step #1: b973b87b24f2: Pulling fs layer Step #1: d7fc13bf93de: Pulling fs layer Step #1: c46aa8daf077: Pulling fs layer Step #1: 5a171253e1b6: Pulling fs layer Step #1: 647ce3bf137b: Pulling fs layer Step #1: 4c70efb85710: Pulling fs layer Step #1: f495792fc62a: Pulling fs layer Step #1: f23480a14c2a: Pulling fs layer Step #1: 6dc0ea81677c: Pulling fs layer Step #1: 3a75000db7d0: Pulling fs layer Step #1: 6fcf2ed1932e: Pulling fs layer Step #1: 6454523ca8fa: Pulling fs layer Step #1: c02b6d11f2a4: Pulling fs layer Step #1: b8b61c90f622: Pulling fs layer Step #1: 780a27dda68f: Pulling fs layer Step #1: ac72d0b5d140: Pulling fs layer Step #1: 42018ae10617: Pulling fs layer Step #1: 9bca4c87f910: Pulling fs layer Step #1: 44daa1eb8ff6: Pulling fs layer Step #1: 700d36a8274d: Waiting Step #1: 6ce03dd10f80: Pulling fs layer Step #1: 33ba8a9a84bf: Pulling fs layer Step #1: 5a171253e1b6: Waiting Step #1: d7fc13bf93de: Waiting Step #1: b973b87b24f2: Waiting Step #1: c46aa8daf077: Waiting Step #1: 647ce3bf137b: Waiting Step #1: b8b61c90f622: Waiting Step #1: 4c70efb85710: Waiting Step #1: 780a27dda68f: Waiting Step #1: ac72d0b5d140: Waiting Step #1: f495792fc62a: Waiting Step #1: 0e5e981f1005: Waiting Step #1: 0b3bd470dbd3: Waiting Step #1: e18854f9d817: Waiting Step #1: f23480a14c2a: Waiting Step #1: 6dc0ea81677c: Waiting Step #1: 6ce03dd10f80: Waiting Step #1: 33ba8a9a84bf: Waiting Step #1: 6454523ca8fa: Waiting Step #1: 3a75000db7d0: Waiting Step #1: 42018ae10617: Waiting Step #1: 6fcf2ed1932e: Waiting Step #1: 9bca4c87f910: Waiting Step #1: 44daa1eb8ff6: Waiting Step #1: c02b6d11f2a4: Waiting Step #1: e6d3ec2e6299: Waiting Step #1: 2b5ed893bb64: Waiting Step #1: 74889077656a: Waiting Step #1: 3ed49702f576: Waiting Step #1: af444f75ae33: Verifying Checksum Step #1: af444f75ae33: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 0e5e981f1005: Verifying Checksum Step #1: 0e5e981f1005: Download complete Step #1: e6d3ec2e6299: Verifying Checksum Step #1: e6d3ec2e6299: Download complete Step #1: 0b3bd470dbd3: Verifying Checksum Step #1: 0b3bd470dbd3: Download complete Step #1: 74889077656a: Verifying Checksum Step #1: 74889077656a: Download complete Step #1: 139edd167df6: Verifying Checksum Step #1: 139edd167df6: Download complete Step #1: 700d36a8274d: Verifying Checksum Step #1: 700d36a8274d: Download complete Step #1: 3ed49702f576: Verifying Checksum Step #1: 3ed49702f576: Download complete Step #1: b549f31133a9: Pull complete Step #1: b973b87b24f2: Download complete Step #1: d7fc13bf93de: Verifying Checksum Step #1: d7fc13bf93de: Download complete Step #1: c46aa8daf077: Verifying Checksum Step #1: c46aa8daf077: Download complete Step #1: 5a171253e1b6: Verifying Checksum Step #1: 5a171253e1b6: Download complete Step #1: 647ce3bf137b: Verifying Checksum Step #1: 647ce3bf137b: Download complete Step #1: 4c70efb85710: Verifying Checksum Step #1: 4c70efb85710: Download complete Step #1: e18854f9d817: Verifying Checksum Step #1: e18854f9d817: Download complete Step #1: f495792fc62a: Verifying Checksum Step #1: f495792fc62a: Download complete Step #1: f23480a14c2a: Verifying Checksum Step #1: f23480a14c2a: Download complete Step #1: 6dc0ea81677c: Verifying Checksum Step #1: 6dc0ea81677c: Download complete Step #1: 3a75000db7d0: Download complete Step #1: 6fcf2ed1932e: Verifying Checksum Step #1: 6fcf2ed1932e: Download complete Step #1: 6454523ca8fa: Download complete Step #1: c02b6d11f2a4: Download complete Step #1: b8b61c90f622: Verifying Checksum Step #1: b8b61c90f622: Download complete Step #1: 2b5ed893bb64: Verifying Checksum Step #1: 2b5ed893bb64: Download complete Step #1: 780a27dda68f: Download complete Step #1: ac72d0b5d140: Verifying Checksum Step #1: ac72d0b5d140: Download complete Step #1: 42018ae10617: Verifying Checksum Step #1: 42018ae10617: Download complete Step #1: 44daa1eb8ff6: Download complete Step #1: 9bca4c87f910: Verifying Checksum Step #1: 9bca4c87f910: Download complete Step #1: 6ce03dd10f80: Verifying Checksum Step #1: 6ce03dd10f80: Download complete Step #1: 33ba8a9a84bf: Verifying Checksum Step #1: 33ba8a9a84bf: Download complete Step #1: 139edd167df6: Pull complete Step #1: af444f75ae33: Pull complete Step #1: e6d3ec2e6299: Pull complete Step #1: 0e5e981f1005: Pull complete Step #1: 0b3bd470dbd3: Pull complete Step #1: 2b5ed893bb64: Pull complete Step #1: 74889077656a: Pull complete Step #1: 700d36a8274d: Pull complete Step #1: e18854f9d817: Pull complete Step #1: 3ed49702f576: Pull complete Step #1: b973b87b24f2: Pull complete Step #1: d7fc13bf93de: Pull complete Step #1: c46aa8daf077: Pull complete Step #1: 5a171253e1b6: Pull complete Step #1: 647ce3bf137b: Pull complete Step #1: 4c70efb85710: Pull complete Step #1: f495792fc62a: Pull complete Step #1: f23480a14c2a: Pull complete Step #1: 6dc0ea81677c: Pull complete Step #1: 3a75000db7d0: Pull complete Step #1: 6fcf2ed1932e: Pull complete Step #1: 6454523ca8fa: Pull complete Step #1: c02b6d11f2a4: Pull complete Step #1: b8b61c90f622: Pull complete Step #1: 780a27dda68f: Pull complete Step #1: ac72d0b5d140: Pull complete Step #1: 42018ae10617: Pull complete Step #1: 9bca4c87f910: Pull complete Step #1: 44daa1eb8ff6: Pull complete Step #1: 6ce03dd10f80: Pull complete Step #1: 33ba8a9a84bf: Pull complete Step #1: Digest: sha256:410c94d179f617b11a36aed243770c28d4eb6346da9ed779bda1b5d3ff08587e Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1: ---> 6f0919ee2b9c Step #1: Step 2/8 : RUN apt-get update Step #1: ---> Running in 8c525646c05b Step #1: Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB] Step #1: Hit:2 http://archive.ubuntu.com/ubuntu focal 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: Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4399 kB] Step #1: Get:6 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1555 kB] Step #1: Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [1268 kB] Step #1: Get:8 http://archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [1002 kB] Step #1: Fetched 8479 kB in 1s (6897 kB/s) Step #1: Reading package lists... Step #1: Removing intermediate container 8c525646c05b Step #1: ---> 098b08cf0f7f 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 3ad3702cb261 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.2 [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 2s (9493 kB/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 ... 17384 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.2_amd64.deb ... Step #1: Unpacking libarchive13:amd64 (3.4.0-2ubuntu1.2) ... 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.2) ... 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 3ad3702cb261 Step #1: ---> 2ae67807e1b2 Step #1: Step 4/8 : RUN git clone --depth 1 https://github.com/mysql/mysql-server Step #1: ---> Running in 068b18bc27c3 Step #1: Cloning into 'mysql-server'... Step #1: Updating files: 23% (11458/48255) Updating files: 24% (11582/48255) Updating files: 25% (12064/48255) Updating files: 26% (12547/48255) Updating files: 27% (13029/48255) Updating files: 28% (13512/48255) Updating files: 29% (13994/48255) Updating files: 30% (14477/48255) Updating files: 31% (14960/48255) Updating files: 32% (15442/48255) Updating files: 33% (15925/48255) Updating files: 34% (16407/48255) Updating files: 35% (16890/48255) Updating files: 36% (17372/48255) Updating files: 37% (17855/48255) Updating files: 38% (18337/48255) Updating files: 39% (18820/48255) Updating files: 39% (18876/48255) Updating files: 40% (19302/48255) Updating files: 40% (19407/48255) Updating files: 40% (19551/48255) Updating files: 41% (19785/48255) Updating files: 42% (20268/48255) Updating files: 43% (20750/48255) Updating files: 44% (21233/48255) Updating files: 45% (21715/48255) Updating files: 46% (22198/48255) Updating files: 47% (22680/48255) Updating files: 48% (23163/48255) Updating files: 49% (23645/48255) Updating files: 50% (24128/48255) Updating files: 51% (24611/48255) Updating files: 52% (25093/48255) Updating files: 52% (25520/48255) Updating files: 53% (25576/48255) Updating files: 54% (26058/48255) Updating files: 55% (26541/48255) Updating files: 56% (27023/48255) Updating files: 57% (27506/48255) Updating files: 58% (27988/48255) Updating files: 59% (28471/48255) Updating files: 60% (28953/48255) Updating files: 61% (29436/48255) Updating files: 62% (29919/48255) Updating files: 63% (30401/48255) Updating files: 64% (30884/48255) Updating files: 65% (31366/48255) Updating files: 66% (31849/48255) Updating files: 67% (32331/48255) Updating files: 68% (32814/48255) Updating files: 69% (33296/48255) Updating files: 70% (33779/48255) Updating files: 71% (34262/48255) Updating files: 72% (34744/48255) Updating files: 73% (35227/48255) Updating files: 74% (35709/48255) Updating files: 75% (36192/48255) Updating files: 76% (36674/48255) Updating files: 77% (37157/48255) Updating files: 78% (37639/48255) Updating files: 79% (38122/48255) Updating files: 80% (38604/48255) Updating files: 80% (38647/48255) Updating files: 81% (39087/48255) Updating files: 82% (39570/48255) Updating files: 83% (40052/48255) Updating files: 84% (40535/48255) Updating files: 85% (41017/48255) Updating files: 86% (41500/48255) Updating files: 87% (41982/48255) Updating files: 88% (42465/48255) Updating files: 89% (42947/48255) Updating files: 90% (43430/48255) Updating files: 91% (43913/48255) Updating files: 92% (44395/48255) Updating files: 93% (44878/48255) Updating files: 94% (45360/48255) Updating files: 95% (45843/48255) Updating files: 96% (46325/48255) Updating files: 96% (46600/48255) Updating files: 97% (46808/48255) Updating files: 98% (47290/48255) Updating files: 99% (47773/48255) Updating files: 100% (48255/48255) Updating files: 100% (48255/48255), done. Step #1: Removing intermediate container 068b18bc27c3 Step #1: ---> 89e75b4aa4fc Step #1: Step 5/8 : WORKDIR $SRC Step #1: ---> Running in b386597c4341 Step #1: Removing intermediate container b386597c4341 Step #1: ---> 8b2f4292eeac Step #1: Step 6/8 : COPY build.sh $SRC/ Step #1: ---> 1759fcaa773a Step #1: Step 7/8 : COPY fix.diff $SRC/ Step #1: ---> 3df58f0e41c0 Step #1: Step 8/8 : COPY targets $SRC/mysql-server/fuzz Step #1: ---> 8e4d897a11fb Step #1: Successfully built 8e4d897a11fb 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/file0u9UxM 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=596f0d238489a9cf9f43ce1ff905984f58d227b6 Step #2 - "srcmap": + jq_inplace /tmp/file0u9UxM '."/src/mysql-server" = { type: "git", url: "https://github.com/mysql/mysql-server", rev: "596f0d238489a9cf9f43ce1ff905984f58d227b6" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileN1xoLa Step #2 - "srcmap": + cat /tmp/file0u9UxM Step #2 - "srcmap": + jq '."/src/mysql-server" = { type: "git", url: "https://github.com/mysql/mysql-server", rev: "596f0d238489a9cf9f43ce1ff905984f58d227b6" }' Step #2 - "srcmap": + mv /tmp/fileN1xoLa /tmp/file0u9UxM 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/file0u9UxM Step #2 - "srcmap": + rm /tmp/file0u9UxM 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": "596f0d238489a9cf9f43ce1ff905984f58d227b6" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-address-x86_64" Step #3 - "compile-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-address-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": CC=clang Step #3 - "compile-libfuzzer-address-x86_64": CXX=clang++ Step #3 - "compile-libfuzzer-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link Step #3 - "compile-libfuzzer-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ 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": + cd mysql-server Step #3 - "compile-libfuzzer-address-x86_64": + git apply ../fix.diff Step #3 - "compile-libfuzzer-address-x86_64": error: patch failed: sql/mysqld.cc:8119 Step #3 - "compile-libfuzzer-address-x86_64": error: sql/mysqld.cc: patch does not apply Step #3 - "compile-libfuzzer-address-x86_64": ******************************************************************************** Step #3 - "compile-libfuzzer-address-x86_64": Failed to build. Step #3 - "compile-libfuzzer-address-x86_64": To reproduce, run: Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_image mysql-server Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 mysql-server Step #3 - "compile-libfuzzer-address-x86_64": ******************************************************************************** Finished Step #3 - "compile-libfuzzer-address-x86_64" ERROR ERROR: build step 3 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1