starting build "490828b9-df76-4b95-9336-a1637df90ba1" FETCHSOURCE hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /workspace/.git/ From https://github.com/googleapis/google-cloud-cpp * branch da4c213d1cde2d68937fde1a09ac6718c46ea0f6 -> FETCH_HEAD HEAD is now at da4c213 Update rules which declare the cpp toolchain to use a helper method instead. BUILD Starting Step #0 Starting Step #6 Starting Step #7 Starting Step #2 Starting Step #8 Step #6: Pulling image: gcr.io/google.com/cloudsdktool/cloud-sdk Step #8: Pulling image: gcr.io/google.com/cloudsdktool/cloud-sdk Step #7: Pulling image: gcr.io/google.com/cloudsdktool/cloud-sdk Step #0: Pulling image: gcr.io/kaniko-project/executor:v1.8.1 Step #2: Already have image (with digest): gcr.io/cloud-builders/gsutil Step #2: 2022-07-13T15:46:55Z (+0s): Running: Step #2: env -C '/h' /workspace/ci/cloudbuild/cache.sh restore --bucket_url=gs://cloud-cpp-testing-resources_cloudbuild/build-cache/google-cloud-cpp --key=9466/debian-github-log-linker/h --fallback_key=main/debian-github-log-linker/h Step #2: 2022-07-13T15:46:55Z (+0s): ====> cache.sh: restore Step #6: Using default tag: latest Step #8: Using default tag: latest Step #7: Using default tag: latest Step #0: v1.8.1: Pulling from kaniko-project/executor Step #8: latest: Pulling from google.com/cloudsdktool/cloud-sdk Step #8: ea267e4631a9: Pulling fs layer Step #8: 8abbaa19e5f9: Pulling fs layer Step #8: 607a2a6845dd: Pulling fs layer Step #8: 233202f511ab: Pulling fs layer Step #8: 4bc6f99dfe1c: Pulling fs layer Step #8: 3f8b5cb562a2: Pulling fs layer Step #8: cc36c3a7e753: Pulling fs layer Step #8: 0f2106809b3a: Pulling fs layer Step #8: 233202f511ab: Waiting Step #8: 4bc6f99dfe1c: Waiting Step #8: 3f8b5cb562a2: Waiting Step #8: cc36c3a7e753: Waiting Step #8: 607a2a6845dd: Verifying Checksum Step #8: 607a2a6845dd: Download complete Step #8: 8abbaa19e5f9: Verifying Checksum Step #8: 8abbaa19e5f9: Download complete Step #8: ea267e4631a9: Verifying Checksum Step #8: ea267e4631a9: Download complete Step #8: 3f8b5cb562a2: Verifying Checksum Step #8: 3f8b5cb562a2: Download complete Step #8: cc36c3a7e753: Verifying Checksum Step #8: cc36c3a7e753: Download complete Step #8: 0f2106809b3a: Verifying Checksum Step #8: 0f2106809b3a: Download complete Step #6: latest: Pulling from google.com/cloudsdktool/cloud-sdk Step #6: ea267e4631a9: Pulling fs layer Step #6: 8abbaa19e5f9: Pulling fs layer Step #6: 607a2a6845dd: Pulling fs layer Step #6: 233202f511ab: Pulling fs layer Step #6: 4bc6f99dfe1c: Pulling fs layer Step #6: 3f8b5cb562a2: Pulling fs layer Step #6: cc36c3a7e753: Pulling fs layer Step #6: 0f2106809b3a: Pulling fs layer Step #6: 0f2106809b3a: Download complete Step #6: 607a2a6845dd: Download complete Step #6: 3f8b5cb562a2: Download complete Step #6: cc36c3a7e753: Download complete Step #6: 8abbaa19e5f9: Download complete Step #0: Digest: sha256:b44b0744b450e731b5a5213058792cd8d3a6a14c119cf6b1f143704f22a7c650 Step #0: Status: Downloaded newer image for gcr.io/kaniko-project/executor:v1.8.1 Step #0: gcr.io/kaniko-project/executor:v1.8.1 Step #8: 4bc6f99dfe1c: Verifying Checksum Step #8: 4bc6f99dfe1c: Download complete Step #6: 4bc6f99dfe1c: Verifying Checksum Step #6: 4bc6f99dfe1c: Download complete Step #7: latest: Pulling from google.com/cloudsdktool/cloud-sdk Step #7: ea267e4631a9: Pulling fs layer Step #7: 8abbaa19e5f9: Pulling fs layer Step #7: 607a2a6845dd: Pulling fs layer Step #7: 233202f511ab: Pulling fs layer Step #7: 4bc6f99dfe1c: Pulling fs layer Step #7: 3f8b5cb562a2: Pulling fs layer Step #7: cc36c3a7e753: Pulling fs layer Step #7: 0f2106809b3a: Pulling fs layer Step #7: 8abbaa19e5f9: Download complete Step #7: 607a2a6845dd: Download complete Step #7: 4bc6f99dfe1c: Download complete Step #7: 3f8b5cb562a2: Download complete Step #7: 0f2106809b3a: Download complete Step #7: cc36c3a7e753: Download complete Step #2: No URLs matched: gs://cloud-cpp-testing-resources_cloudbuild/build-cache/google-cloud-cpp/9466/debian-github-log-linker/h/cache.tar.gz Step #8: ea267e4631a9: Pull complete Step #6: ea267e4631a9: Pull complete Step #7: ea267e4631a9: Pull complete Step #2: No URLs matched: gs://cloud-cpp-testing-resources_cloudbuild/build-cache/google-cloud-cpp/main/debian-github-log-linker/h/cache.tar.gz Step #2: ==> 🕑 cache.sh completed in 3.435 seconds Step #7: 8abbaa19e5f9: Pull complete Step #8: 8abbaa19e5f9: Pull complete Step #6: 8abbaa19e5f9: Pull complete Step #8: 607a2a6845dd: Pull complete Step #7: 607a2a6845dd: Pull complete Step #6: 607a2a6845dd: Pull complete Finished Step #2 Step #0: time="2022-07-13T15:47:02Z" level=info msg="Using dockerignore file: /workspace/ci/.dockerignore" Step #0: time="2022-07-13T15:47:02Z" level=info msg="Retrieving image manifest debian:bullseye-slim" Step #0: time="2022-07-13T15:47:02Z" level=info msg="Retrieving image debian:bullseye-slim from registry index.docker.io" Step #0: time="2022-07-13T15:47:02Z" level=info msg="Retrieving image manifest debian:bullseye-slim" Step #0: time="2022-07-13T15:47:02Z" level=info msg="Returning cached image manifest" Step #0: time="2022-07-13T15:47:02Z" level=info msg="Built cross stage deps: map[]" Step #0: time="2022-07-13T15:47:02Z" level=info msg="Retrieving image manifest debian:bullseye-slim" Step #0: time="2022-07-13T15:47:02Z" level=info msg="Returning cached image manifest" Step #0: time="2022-07-13T15:47:02Z" level=info msg="Retrieving image manifest debian:bullseye-slim" Step #0: time="2022-07-13T15:47:02Z" level=info msg="Returning cached image manifest" Step #0: time="2022-07-13T15:47:02Z" level=info msg="Executing 0 build triggers" Step #0: time="2022-07-13T15:47:02Z" level=info msg="Checking for cached layer gcr.io/cloud-cpp-testing-resources/cloudbuild/debian-github/cache:5b6575b82f0b7c7a5ee07829870ae534265aadaa7e6d72307221428b7efe589d..." Step #0: time="2022-07-13T15:47:03Z" level=info msg="Using caching version of cmd: RUN apt-get update && apt-get install -y curl git" Step #0: time="2022-07-13T15:47:03Z" level=info msg="Checking for cached layer gcr.io/cloud-cpp-testing-resources/cloudbuild/debian-github/cache:8122506bb2d23abe90801f92cbfd782acde5622c77607d0268b9817245a5d79c..." Step #0: time="2022-07-13T15:47:03Z" level=info msg="Using caching version of cmd: RUN curl -sSL -o gh.deb https://github.com/cli/cli/releases/download/v1.9.1/gh_1.9.1_linux_amd64.deb && dpkg --install gh.deb" Step #0: time="2022-07-13T15:47:03Z" level=info msg="Skipping unpacking as no commands require it." Step #0: time="2022-07-13T15:47:03Z" level=info msg="ARG NCPU=4" Step #0: time="2022-07-13T15:47:03Z" level=info msg="No files changed in this command, skipping snapshotting." Step #0: time="2022-07-13T15:47:03Z" level=info msg="RUN apt-get update && apt-get install -y curl git" Step #0: time="2022-07-13T15:47:03Z" level=info msg="Found cached layer, extracting to filesystem" Step #7: 233202f511ab: Download complete Step #6: 233202f511ab: Verifying Checksum Step #6: 233202f511ab: Download complete Step #8: 233202f511ab: Verifying Checksum Step #8: 233202f511ab: Download complete Step #0: time="2022-07-13T15:47:05Z" level=info msg="WORKDIR /var/tmp" Step #0: time="2022-07-13T15:47:05Z" level=info msg="cmd: workdir" Step #0: time="2022-07-13T15:47:05Z" level=info msg="Changed working directory to /var/tmp" Step #0: time="2022-07-13T15:47:05Z" level=info msg="Creating directory /var/tmp" Step #0: time="2022-07-13T15:47:05Z" level=info msg="Taking snapshot of files..." Step #0: time="2022-07-13T15:47:05Z" level=info msg="RUN curl -sSL -o gh.deb https://github.com/cli/cli/releases/download/v1.9.1/gh_1.9.1_linux_amd64.deb && dpkg --install gh.deb" Step #0: time="2022-07-13T15:47:05Z" level=info msg="Found cached layer, extracting to filesystem" Step #0: time="2022-07-13T15:47:05Z" level=info msg="Pushing image to gcr.io/cloud-cpp-testing-resources/cloudbuild/debian-github:490828b9-df76-4b95-9336-a1637df90ba1" Step #0: time="2022-07-13T15:47:06Z" level=info msg="Pushed gcr.io/cloud-cpp-testing-resources/cloudbuild/debian-github@sha256:ea1ac76acdb4cafe59d89ffb4e40816b8fd0723862228707fcb1882f820aba3d" Finished Step #0 Starting Step #1 Step #1: Pulling image: gcr.io/cloud-cpp-testing-resources/cloudbuild/debian-github:490828b9-df76-4b95-9336-a1637df90ba1 Step #1: 490828b9-df76-4b95-9336-a1637df90ba1: Pulling from cloud-cpp-testing-resources/cloudbuild/debian-github Step #1: 461246efe0a7: Pulling fs layer Step #1: b42ed7cdeebf: Pulling fs layer Step #1: 3b229d50e059: Pulling fs layer Step #1: 37fef633e497: Pulling fs layer Step #1: 37fef633e497: Waiting Step #1: 3b229d50e059: Verifying Checksum Step #1: 3b229d50e059: Download complete Step #1: 461246efe0a7: Verifying Checksum Step #1: 461246efe0a7: Download complete Step #1: 37fef633e497: Verifying Checksum Step #1: 37fef633e497: Download complete Step #1: b42ed7cdeebf: Verifying Checksum Step #1: b42ed7cdeebf: Download complete Step #1: 461246efe0a7: Pull complete Step #1: b42ed7cdeebf: Pull complete Step #1: 3b229d50e059: Pull complete Step #1: 37fef633e497: Pull complete Step #1: Digest: sha256:ea1ac76acdb4cafe59d89ffb4e40816b8fd0723862228707fcb1882f820aba3d Step #1: Status: Downloaded newer image for gcr.io/cloud-cpp-testing-resources/cloudbuild/debian-github:490828b9-df76-4b95-9336-a1637df90ba1 Step #1: gcr.io/cloud-cpp-testing-resources/cloudbuild/debian-github:490828b9-df76-4b95-9336-a1637df90ba1 Finished Step #1 Starting Step #3 Step #3: Already have image (with digest): gcr.io/cloud-cpp-testing-resources/cloudbuild/debian-github:490828b9-df76-4b95-9336-a1637df90ba1 Step #3: Step #3: 2022-07-13T15:47:25Z (+0s) Step #3: ================= Step #3: | Log Links | Step #3: ================= Step #3: * GCB: https://console.cloud.google.com/cloud-build/builds;region=us-east1/490828b9-df76-4b95-9336-a1637df90ba1;tab=detail?project=cloud-cpp-testing-resources Step #3: * Raw: https://storage.googleapis.com/cloud-cpp-community-publiclogs/logs/google-cloud-cpp/9466/da4c213d1cde2d68937fde1a09ac6718c46ea0f6/debian-github-log-linker/log-490828b9-df76-4b95-9336-a1637df90ba1.txt Step #3: Step #3: 2022-07-13T15:47:25Z (+0s) Step #3: ==================== Step #3: | Machine Info | Step #3: ==================== Step #3: host: 2022-07-13 15:47:25+00:00 Step #3: google: 2022-07-13 15:47:25+00:00 Step #3: kernel: #1 SMP Debian 5.10.113-1 (2022-04-29) Step #3: os: PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" Step #3: nproc: 32 Step #3: mem: 125.81 GiB Step #3: term: dumb Step #3: gcc: ci/cloudbuild/build.sh: line 228: gcc: command not found Step #3: clang: ci/cloudbuild/build.sh: line 229: clang: command not found Step #3: cc: ci/cloudbuild/build.sh: line 230: cc: command not found Step #3: Step #3: 2022-07-13T15:47:25Z (+0s) Step #3: ======================================== Step #3: | Starting local build: log-linker | Step #3: ======================================== Step #3: Step #3: 2022-07-13T15:47:25Z (+0s) Step #3: ---------------------- Step #3: | Authenticating | Step #3: ---------------------- Step #3: Step #3: 2022-07-13T15:47:25Z (+0s) Step #3: -------------------------- Step #3: | Commenting on 9466 | Step #3: -------------------------- Step #3: **Google Cloud Build Logs** Step #3: For commit: `da4c213d1cde2d68937fde1a09ac6718c46ea0f6` Step #3: Step #3: * [Public Access Build Logs](https://storage.googleapis.com/cloud-cpp-community-publiclogs/logs/google-cloud-cpp/9466/da4c213d1cde2d68937fde1a09ac6718c46ea0f6/index.html) Step #3: * [Cloud Build Console](https://console.cloud.google.com/cloud-build/builds;region=us-east1?project=cloud-cpp-testing-resources&query=tags%3D%229466%22) (requires auth) Step #3: * [Kokoro Logs](http://fusion2/invocations;query=label:google-cloud-cpp%20GITHUB_PULL_REQUEST_NUMBER:9466) (requires auth) Step #3: Step #3: :information_source: NOTE: Kokoro logs are linked from "Details" below. Step #3: https://github.com/googleapis/google-cloud-cpp/pull/9466#issuecomment-1183389748 Step #3: ==> 🕑 log-linker completed in 1.280 seconds Finished Step #3 Starting Step #4 Step #4: Already have image (with digest): gcr.io/cloud-builders/gsutil Step #7: 233202f511ab: Pull complete Step #8: 233202f511ab: Pull complete Step #6: 233202f511ab: Pull complete Step #4: 2022-07-13T15:47:28Z (+0s): Running: Step #4: env -C '/h' /workspace/ci/cloudbuild/cache.sh save --bucket_url=gs://cloud-cpp-testing-resources_cloudbuild/build-cache/google-cloud-cpp --key=9466/debian-github-log-linker/h --path=.ccache --path=.cache/bazelisk --path=.cache/ccache --path=.cache/ctcache --path=.cache/vcpkg --path=.cache/google-cloud-cpp --path=.local Step #4: 2022-07-13T15:47:28Z (+0s): ====> cache.sh: save Step #4: 2022-07-13T15:47:28Z (+0s): No paths to cache found. Step #4: ==> 🕑 cache.sh completed in 0.005 seconds Finished Step #4 Starting Step #5 Step #5: Pulling image: gcr.io/google.com/cloudsdktool/cloud-sdk Step #5: Using default tag: latest Step #5: latest: Pulling from google.com/cloudsdktool/cloud-sdk Step #5: ea267e4631a9: Already exists Step #5: 8abbaa19e5f9: Already exists Step #5: 607a2a6845dd: Already exists Step #5: 233202f511ab: Already exists Step #5: 4bc6f99dfe1c: Pulling fs layer Step #5: 3f8b5cb562a2: Pulling fs layer Step #5: cc36c3a7e753: Pulling fs layer Step #5: 0f2106809b3a: Pulling fs layer Step #5: 0f2106809b3a: Download complete Step #5: cc36c3a7e753: Download complete Step #5: 3f8b5cb562a2: Download complete Step #5: 4bc6f99dfe1c: Pull complete Step #6: 4bc6f99dfe1c: Pull complete Step #8: 4bc6f99dfe1c: Pull complete Step #7: 4bc6f99dfe1c: Pull complete Step #7: 3f8b5cb562a2: Pull complete Step #5: 3f8b5cb562a2: Pull complete Step #8: 3f8b5cb562a2: Pull complete Step #6: 3f8b5cb562a2: Pull complete Step #5: cc36c3a7e753: Pull complete Step #6: cc36c3a7e753: Pull complete Step #8: cc36c3a7e753: Pull complete Step #7: cc36c3a7e753: Pull complete Step #5: 0f2106809b3a: Pull complete Step #7: 0f2106809b3a: Pull complete Step #8: 0f2106809b3a: Pull complete Step #6: 0f2106809b3a: Pull complete Step #7: Digest: sha256:c0a47037dc10f8750a04a1507ad9a57f82948f10450e927f5506582dab812d5f Step #5: Digest: sha256:c0a47037dc10f8750a04a1507ad9a57f82948f10450e927f5506582dab812d5f Step #8: Digest: sha256:c0a47037dc10f8750a04a1507ad9a57f82948f10450e927f5506582dab812d5f Step #8: Status: Downloaded newer image for gcr.io/google.com/cloudsdktool/cloud-sdk:latest Step #6: Digest: sha256:c0a47037dc10f8750a04a1507ad9a57f82948f10450e927f5506582dab812d5f Step #6: Status: Image is up to date for gcr.io/google.com/cloudsdktool/cloud-sdk:latest Step #7: Status: Downloaded newer image for gcr.io/google.com/cloudsdktool/cloud-sdk:latest Step #5: Status: Image is up to date for gcr.io/google.com/cloudsdktool/cloud-sdk:latest Step #5: gcr.io/google.com/cloudsdktool/cloud-sdk:latest Step #6: gcr.io/google.com/cloudsdktool/cloud-sdk:latest Step #7: gcr.io/google.com/cloudsdktool/cloud-sdk:latest Step #8: gcr.io/google.com/cloudsdktool/cloud-sdk:latest Step #8: + test -z 9466 Step #8: ++ gcloud builds describe --region us-east1 --format 'value(create_time)' 490828b9-df76-4b95-9336-a1637df90ba1 Step #7: + test -z 9466 Step #7: ++ gcloud builds describe --region us-east1 --format 'value(create_time)' 490828b9-df76-4b95-9336-a1637df90ba1 Step #8: + ctime=2022-07-13T15:46:11.137079606Z Step #8: + query=tags=pr Step #8: + query+=' AND tags=9466' Step #8: + query+=' AND substitutions.COMMIT_SHA != da4c213d1cde2d68937fde1a09ac6718c46ea0f6' Step #8: + query+=' AND create_time < 2022-07-13T15:46:11.137079606Z' Step #8: + gcloud builds list --region us-east1 --ongoing '--format=value(id)' --filter 'tags=pr AND tags=9466 AND substitutions.COMMIT_SHA != da4c213d1cde2d68937fde1a09ac6718c46ea0f6 AND create_time < 2022-07-13T15:46:11.137079606Z' Step #8: + xargs -r -t gcloud builds cancel --region us-east1 Step #7: + ctime=2022-07-13T15:46:11.137079606Z Step #7: + query=tags=pr Step #7: + query+=' AND tags=9466' Step #7: + query+=' AND tags=log-linker' Step #7: + query+=' AND substitutions.COMMIT_SHA != da4c213d1cde2d68937fde1a09ac6718c46ea0f6' Step #7: + query+=' AND create_time > 2022-07-13T15:46:11.137079606Z' Step #7: + gcloud builds list --region us-east1 --limit 1 '--format=value(id)' --filter 'tags=pr AND tags=9466 AND tags=log-linker AND substitutions.COMMIT_SHA != da4c213d1cde2d68937fde1a09ac6718c46ea0f6 AND create_time > 2022-07-13T15:46:11.137079606Z' Step #7: + grep . Step #5: WARNING: Successfully resolved tag to sha256, but it is recommended to use sha256 directly. Finished Step #6 Step #5: Digests: Step #5: - gcr.io/cloud-cpp-testing-resources/cloudbuild/debian-github@sha256:ea1ac76acdb4cafe59d89ffb4e40816b8fd0723862228707fcb1882f820aba3d Step #5: Associated tags: Step #5: - 490828b9-df76-4b95-9336-a1637df90ba1 Step #5: Tags: Step #5: - gcr.io/cloud-cpp-testing-resources/cloudbuild/debian-github:490828b9-df76-4b95-9336-a1637df90ba1 Step #7: WARNING: The following filter keys were not present in any resource : create_time, substitutions.COMMIT_SHA, tags Step #5: Deleted [gcr.io/cloud-cpp-testing-resources/cloudbuild/debian-github:490828b9-df76-4b95-9336-a1637df90ba1]. Step #7: + exit 0 Finished Step #7 Finished Step #8 Step #5: Deleted [gcr.io/cloud-cpp-testing-resources/cloudbuild/debian-github@sha256:ea1ac76acdb4cafe59d89ffb4e40816b8fd0723862228707fcb1882f820aba3d]. Finished Step #5 PUSH DONE