starting build "7d3525e3-ffac-4c3c-86e0-e92fca473927" 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 27.14kB 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: c9e4fdf1b31c: Pulling fs layer Step #1: b7f2dc3f71b0: Pulling fs layer Step #1: 3381df754388: Pulling fs layer Step #1: cba3bb3c9b9d: Pulling fs layer Step #1: 185094d44e9e: Pulling fs layer Step #1: ed18f578cd61: Pulling fs layer Step #1: 0ba71dfdab95: Pulling fs layer Step #1: 5b69eeb9fa24: Pulling fs layer Step #1: 874eda30f197: Pulling fs layer Step #1: ecb66c1644d8: Pulling fs layer Step #1: cde3fd6d458c: Pulling fs layer Step #1: e892bb6037f0: Pulling fs layer Step #1: 3687974c4ea2: Pulling fs layer Step #1: 0f3f3a32cc3c: Pulling fs layer Step #1: 185094d44e9e: Waiting Step #1: 30a91c100c5f: Pulling fs layer Step #1: 1b9b6affccff: Pulling fs layer Step #1: ed18f578cd61: Waiting Step #1: dc6a6e4a7b0f: Pulling fs layer Step #1: 0ba71dfdab95: Waiting Step #1: e585942c7266: Pulling fs layer Step #1: 756c031d86bd: Pulling fs layer Step #1: 5b69eeb9fa24: Waiting Step #1: 181b7bd71ea9: Pulling fs layer Step #1: 8b16357d3d69: Pulling fs layer Step #1: 874eda30f197: Waiting Step #1: e7dd0733a60b: Pulling fs layer Step #1: efe7bdeb7eae: Pulling fs layer Step #1: ecb66c1644d8: Waiting Step #1: 7f7615f2d9fb: Pulling fs layer Step #1: e892bb6037f0: Waiting Step #1: aaef6a297807: Pulling fs layer Step #1: 2c46863dc417: Pulling fs layer Step #1: cde3fd6d458c: Waiting Step #1: 3381df754388: Waiting Step #1: 510f88cf0f67: Pulling fs layer Step #1: 181b7bd71ea9: Waiting Step #1: 3687974c4ea2: Waiting Step #1: 07584cf0ec19: Pulling fs layer Step #1: 8b16357d3d69: Waiting Step #1: e7dd0733a60b: Waiting Step #1: 0f3f3a32cc3c: Waiting Step #1: efe7bdeb7eae: Waiting Step #1: aaef6a297807: Waiting Step #1: ec7508ed40d1: Pulling fs layer Step #1: e585942c7266: Waiting Step #1: 30a91c100c5f: Waiting Step #1: 821f93dc1b35: Pulling fs layer Step #1: 756c031d86bd: Waiting Step #1: 2c46863dc417: Waiting Step #1: ec45d7ceb5aa: Pulling fs layer Step #1: 1b9b6affccff: Waiting Step #1: 510f88cf0f67: Waiting Step #1: dc6a6e4a7b0f: Waiting Step #1: 69532b38715c: Pulling fs layer Step #1: 07584cf0ec19: Waiting Step #1: 9fcb216f4af0: Pulling fs layer Step #1: 7f7615f2d9fb: Waiting Step #1: ec7508ed40d1: Waiting Step #1: cba3bb3c9b9d: Waiting Step #1: 69532b38715c: Waiting Step #1: ec45d7ceb5aa: Waiting Step #1: b7f2dc3f71b0: Verifying Checksum Step #1: b7f2dc3f71b0: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: cba3bb3c9b9d: Verifying Checksum Step #1: cba3bb3c9b9d: Download complete Step #1: 3381df754388: Verifying Checksum Step #1: 3381df754388: Download complete Step #1: 185094d44e9e: Download complete Step #1: 0ba71dfdab95: Verifying Checksum Step #1: 0ba71dfdab95: Download complete Step #1: c9e4fdf1b31c: Verifying Checksum Step #1: c9e4fdf1b31c: Download complete Step #1: 5b69eeb9fa24: Verifying Checksum Step #1: 5b69eeb9fa24: Download complete Step #1: b549f31133a9: Pull complete Step #1: ecb66c1644d8: Verifying Checksum Step #1: ecb66c1644d8: Download complete Step #1: cde3fd6d458c: Verifying Checksum Step #1: cde3fd6d458c: Download complete Step #1: e892bb6037f0: Verifying Checksum Step #1: e892bb6037f0: Download complete Step #1: 3687974c4ea2: Verifying Checksum Step #1: 3687974c4ea2: Download complete Step #1: 0f3f3a32cc3c: Verifying Checksum Step #1: 0f3f3a32cc3c: Download complete Step #1: 874eda30f197: Verifying Checksum Step #1: 874eda30f197: Download complete Step #1: 30a91c100c5f: Verifying Checksum Step #1: 30a91c100c5f: Download complete Step #1: 1b9b6affccff: Verifying Checksum Step #1: 1b9b6affccff: Download complete Step #1: dc6a6e4a7b0f: Verifying Checksum Step #1: dc6a6e4a7b0f: Download complete Step #1: e585942c7266: Verifying Checksum Step #1: e585942c7266: Download complete Step #1: 756c031d86bd: Verifying Checksum Step #1: 756c031d86bd: Download complete Step #1: 181b7bd71ea9: Verifying Checksum Step #1: 181b7bd71ea9: Download complete Step #1: ed18f578cd61: Verifying Checksum Step #1: ed18f578cd61: Download complete Step #1: 8b16357d3d69: Verifying Checksum Step #1: 8b16357d3d69: Download complete Step #1: e7dd0733a60b: Verifying Checksum Step #1: e7dd0733a60b: Download complete Step #1: efe7bdeb7eae: Verifying Checksum Step #1: efe7bdeb7eae: Download complete Step #1: 7f7615f2d9fb: Verifying Checksum Step #1: 7f7615f2d9fb: Download complete Step #1: aaef6a297807: Verifying Checksum Step #1: aaef6a297807: Download complete Step #1: 2c46863dc417: Verifying Checksum Step #1: 2c46863dc417: Download complete Step #1: 07584cf0ec19: Verifying Checksum Step #1: 07584cf0ec19: Download complete Step #1: 510f88cf0f67: Verifying Checksum Step #1: 510f88cf0f67: Download complete Step #1: 821f93dc1b35: Verifying Checksum Step #1: 821f93dc1b35: Download complete Step #1: ec7508ed40d1: Verifying Checksum Step #1: ec7508ed40d1: Download complete Step #1: ec45d7ceb5aa: Verifying Checksum Step #1: ec45d7ceb5aa: Download complete Step #1: c9e4fdf1b31c: Pull complete Step #1: 9fcb216f4af0: Verifying Checksum Step #1: 9fcb216f4af0: Download complete Step #1: b7f2dc3f71b0: Pull complete Step #1: 69532b38715c: Download complete Step #1: 3381df754388: Pull complete Step #1: cba3bb3c9b9d: Pull complete Step #1: 185094d44e9e: Pull complete Step #1: ed18f578cd61: Pull complete Step #1: 0ba71dfdab95: Pull complete Step #1: 5b69eeb9fa24: Pull complete Step #1: 874eda30f197: Pull complete Step #1: ecb66c1644d8: Pull complete Step #1: cde3fd6d458c: Pull complete Step #1: e892bb6037f0: Pull complete Step #1: 3687974c4ea2: Pull complete Step #1: 0f3f3a32cc3c: Pull complete Step #1: 30a91c100c5f: Pull complete Step #1: 1b9b6affccff: Pull complete Step #1: dc6a6e4a7b0f: Pull complete Step #1: e585942c7266: Pull complete Step #1: 756c031d86bd: Pull complete Step #1: 181b7bd71ea9: Pull complete Step #1: 8b16357d3d69: Pull complete Step #1: e7dd0733a60b: Pull complete Step #1: efe7bdeb7eae: Pull complete Step #1: 7f7615f2d9fb: Pull complete Step #1: aaef6a297807: Pull complete Step #1: 2c46863dc417: Pull complete Step #1: 510f88cf0f67: Pull complete Step #1: 07584cf0ec19: Pull complete Step #1: ec7508ed40d1: Pull complete Step #1: 821f93dc1b35: Pull complete Step #1: ec45d7ceb5aa: Pull complete Step #1: 69532b38715c: Pull complete Step #1: 9fcb216f4af0: Pull complete Step #1: Digest: sha256:bb3cb23c1e254e4d69c7bd305ab27957aba9a97e8c655d457ad44814e1836801 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1: ---> ac5bba01ac68 Step #1: Step 2/8 : RUN apt-get update && apt-get install -y autoconf-archive libssl-dev pkg-config Step #1: ---> Running in 783f8feeb469 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: Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB] Step #1: Fetched 383 kB in 1s (621 kB/s) Step #1: Reading package lists... Step #1: Reading package lists... Step #1: Building dependency tree... Step #1: Reading state information... Step #1: libssl-dev is already the newest version (1.1.1f-1ubuntu2.23). Step #1: The following additional packages will be installed: Step #1: autoconf automake autotools-dev libglib2.0-0 libglib2.0-data libicu66 Step #1: libsigsegv2 libxml2 m4 shared-mime-info xdg-user-dirs Step #1: Suggested packages: Step #1: gnu-standards autoconf-doc libtool gettext m4-doc Step #1: The following NEW packages will be installed: Step #1: autoconf autoconf-archive automake autotools-dev libglib2.0-0 Step #1: libglib2.0-data libicu66 libsigsegv2 libxml2 m4 pkg-config shared-mime-info Step #1: xdg-user-dirs Step #1: 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. Step #1: Need to get 12.7 MB of archives. Step #1: After this operation, 53.1 MB of additional disk space will be used. Step #1: Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 autoconf-archive all 20190106-2.1ubuntu1 [665 kB] Step #1: Get:2 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:3 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:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libicu66 amd64 66.1-2ubuntu2.1 [8515 kB] Step #1: Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libxml2 amd64 2.9.10+dfsg-5ubuntu0.20.04.7 [640 kB] Step #1: Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 shared-mime-info amd64 1.15-1 [430 kB] Step #1: Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 xdg-user-dirs amd64 0.17-2ubuntu1 [48.3 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 autoconf all 2.69-11.1 [321 kB] Step #1: Get:11 http://archive.ubuntu.com/ubuntu focal/main amd64 autotools-dev all 20180224.1 [39.6 kB] Step #1: Get:12 http://archive.ubuntu.com/ubuntu focal/main amd64 automake all 1:1.16.1-4ubuntu6 [522 kB] Step #1: Get:13 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 12.7 MB in 0s (26.2 MB/s) Step #1: Selecting previously unselected package autoconf-archive. 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-autoconf-archive_20190106-2.1ubuntu1_all.deb ... Step #1: Unpacking autoconf-archive (20190106-2.1ubuntu1) ... Step #1: Selecting previously unselected package libglib2.0-0:amd64. Step #1: Preparing to unpack .../01-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 .../02-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 .../03-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 .../04-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 .../05-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 .../06-xdg-user-dirs_0.17-2ubuntu1_amd64.deb ... Step #1: Unpacking xdg-user-dirs (0.17-2ubuntu1) ... 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 autoconf. Step #1: Preparing to unpack .../09-autoconf_2.69-11.1_all.deb ... Step #1: Unpacking autoconf (2.69-11.1) ... Step #1: Selecting previously unselected package autotools-dev. Step #1: Preparing to unpack .../10-autotools-dev_20180224.1_all.deb ... Step #1: Unpacking autotools-dev (20180224.1) ... Step #1: Selecting previously unselected package automake. Step #1: Preparing to unpack .../11-automake_1%3a1.16.1-4ubuntu6_all.deb ... Step #1: Unpacking automake (1:1.16.1-4ubuntu6) ... Step #1: Selecting previously unselected package pkg-config. Step #1: Preparing to unpack .../12-pkg-config_0.29.1-0ubuntu4_amd64.deb ... Step #1: Unpacking pkg-config (0.29.1-0ubuntu4) ... 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 autoconf-archive (20190106-2.1ubuntu1) ... Step #1: Setting up autotools-dev (20180224.1) ... Step #1: Setting up libglib2.0-data (2.64.6-1~ubuntu20.04.7) ... Step #1: Setting up libsigsegv2:amd64 (2.12-2) ... Step #1: Setting up pkg-config (0.29.1-0ubuntu4) ... Step #1: Setting up libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.7) ... Step #1: Setting up m4 (1.4.18-4) ... Step #1: Setting up shared-mime-info (1.15-1) ... Step #1: Setting up autoconf (2.69-11.1) ... Step #1: Setting up automake (1:1.16.1-4ubuntu6) ... Step #1: update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Step #1: update-alternatives: warning: skip creation of /usr/share/man/man1/automake.1.gz because associated file /usr/share/man/man1/automake-1.16.1.gz (of link group automake) doesn't exist Step #1: update-alternatives: warning: skip creation of /usr/share/man/man1/aclocal.1.gz because associated file /usr/share/man/man1/aclocal-1.16.1.gz (of link group automake) doesn't exist Step #1: Processing triggers for libc-bin (2.31-0ubuntu9.16) ... Step #1: Removing intermediate container 783f8feeb469 Step #1: ---> 47d530ffe745 Step #1: Step 3/8 : RUN git clone --depth=1 https://github.com/microsoft/ms-tpm-20-ref Step #1: ---> Running in 4cecd1cb0c52 Step #1: Cloning into 'ms-tpm-20-ref'... Step #1: Removing intermediate container 4cecd1cb0c52 Step #1: ---> 5a75246e4303 Step #1: Step 4/8 : RUN git clone --depth=1 https://github.com/tklengyel/tpm2-command-corpus Step #1: ---> Running in e4ab1303597d Step #1: Cloning into 'tpm2-command-corpus'... Step #1: Removing intermediate container e4ab1303597d Step #1: ---> a3d8229fd695 Step #1: Step 5/8 : COPY build.sh $SRC/ Step #1: ---> 43d1ed30d6f2 Step #1: Step 6/8 : COPY libfuzzer.patch $SRC/ Step #1: ---> 40f4f8990f43 Step #1: Step 7/8 : COPY tpm_cmd.options $SRC/ Step #1: ---> 29eb50288c01 Step #1: Step 8/8 : RUN cd ms-tpm-20-ref && git apply $SRC/libfuzzer.patch Step #1: ---> Running in fe8e066e6ff0 Step #1: error: patch failed: TPMCmd/configure.ac:75 Step #1: error: TPMCmd/configure.ac: patch does not apply Step #1: The command '/bin/sh -c cd ms-tpm-20-ref && git apply $SRC/libfuzzer.patch' returned a non-zero code: 1 Finished Step #1 ERROR ERROR: build step 1 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1 Step #1: