Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/ci-build-images Obtained Jenkinsfile from 40fe8dda4c5e86c8353d50ae6166dbe560097302+c441fc6225a9a6c983e209cd6613717029e7c043 (8328461863380f0cf3b4d4c18345244a4d8c7883) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11246905462815435916.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6893073985900265398.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-190/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-190/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12803763305145558735.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4025256870487536611.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-190/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-190/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12096798551332774984.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:edgex-snyk-go, arch:[amd64], mavenSettings:ci-build-images-settings, dockerImageName:edgex-snyk-go, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[1.410.4], releaseBranchOverride:snyk] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: ci-build-images-settings PROJECT: edgex-snyk-go USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-snyk-go DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-snyk-go-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: snyk DOCKER_CUSTOM_TAGS: 1.410.4 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-263’ Running on prd-ubuntu20.04-docker-8c-8g-265 in /w/workspace/exfoundry_ci-build-images_PR-190 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/ci-build-images.git > git init /w/workspace/exfoundry_ci-build-images_PR-190 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/190/head:refs/remotes/origin/PR-190 +refs/heads/snyk:refs/remotes/origin/snyk # timeout=10 Merging remotes/origin/snyk commit c441fc6225a9a6c983e209cd6613717029e7c043 into PR head commit 40fe8dda4c5e86c8353d50ae6166dbe560097302 Merge succeeded, producing 40fe8dda4c5e86c8353d50ae6166dbe560097302 Checking out Revision 40fe8dda4c5e86c8353d50ae6166dbe560097302 (PR-190) > git config core.sparsecheckout # timeout=10 > git checkout -f 40fe8dda4c5e86c8353d50ae6166dbe560097302 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c441fc6225a9a6c983e209cd6613717029e7c043 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40fe8dda4c5e86c8353d50ae6166dbe560097302 # timeout=10 Commit message: "ci: upgrade to Go 1.17 base" > git rev-list --no-walk 40fe8dda4c5e86c8353d50ae6166dbe560097302 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:51:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:51:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:51:56 ========================================================= 15:51:56 EdgeX Global Pipelines Version Info 15:51:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:51:57 ------------------- 15:51:57 stable info: 15:51:57 ------------------- 15:51:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:51:57 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:51:57 Message: update stable to v1.0.230 15:51:58 ------------------- 15:51:58 experimental info: 15:51:58 ------------------- 15:51:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:51:58 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:51:58 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.410.4 [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-190 [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-190 [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-190 [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40fe8dda4c5e86c8353d50ae6166dbe560097302 [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40fe8dd [Pipeline] echo 15:51:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:51:58 provisioning config files... 15:51:58 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-190@tmp/config9212303618883136319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:51:59 ---> docker-login.sh 15:51:59 nexus3.edgexfoundry.org:10001 15:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:59 Configure a credential helper to remove this warning. See 15:51:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:59 15:51:59 Login Succeeded 15:51:59 nexus3.edgexfoundry.org:10002 15:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:59 Configure a credential helper to remove this warning. See 15:51:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:59 15:51:59 Login Succeeded 15:51:59 nexus3.edgexfoundry.org:10003 15:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:59 Configure a credential helper to remove this warning. See 15:51:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:59 15:51:59 Login Succeeded 15:51:59 nexus3.edgexfoundry.org:10004 15:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:59 Configure a credential helper to remove this warning. See 15:51:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:59 15:51:59 Login Succeeded 15:51:59 docker.io 15:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:00 Configure a credential helper to remove this warning. See 15:52:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:00 15:52:00 Login Succeeded 15:52:00 ---> docker-login.sh ends [Pipeline] } 15:52:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Semver Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Docker Image) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:52:00 provisioning config files... [Pipeline] // stage [Pipeline] } 15:52:00 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-190@tmp/config8011606798330785000tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:00 ---> docker-login.sh 15:52:00 nexus3.edgexfoundry.org:10001 15:52:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:00 Configure a credential helper to remove this warning. See 15:52:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:00 15:52:00 Login Succeeded 15:52:00 nexus3.edgexfoundry.org:10002 15:52:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:00 Configure a credential helper to remove this warning. See 15:52:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:00 15:52:00 Login Succeeded 15:52:00 nexus3.edgexfoundry.org:10003 15:52:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:00 Configure a credential helper to remove this warning. See 15:52:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:00 15:52:00 Login Succeeded 15:52:00 nexus3.edgexfoundry.org:10004 15:52:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:01 Configure a credential helper to remove this warning. See 15:52:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:01 15:52:01 Login Succeeded 15:52:01 docker.io 15:52:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:01 Configure a credential helper to remove this warning. See 15:52:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:01 15:52:01 Login Succeeded 15:52:01 ---> docker-login.sh ends [Pipeline] } 15:52:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:52:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:52:02 + ls -al . 15:52:02 total 20 15:52:02 drwxrwxr-x 3 jenkins jenkins 4096 May 27 15:51 . 15:52:02 drwxrwxr-x 4 jenkins jenkins 4096 May 27 15:51 .. 15:52:02 drwxrwxr-x 8 jenkins jenkins 4096 May 27 15:51 .git 15:52:02 -rw-rw-r-- 1 jenkins jenkins 717 May 27 15:51 Dockerfile 15:52:02 -rw-rw-r-- 1 jenkins jenkins 896 May 27 15:51 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:02 + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=40fe8dda4c5e86c8353d50ae6166dbe560097302 --label arch=amd64 . 15:52:02 Sending build context to Docker daemon 426kB 15:52:02 Step 1/12 : FROM golang:1.17-alpine 15:52:03 1.17-alpine: Pulling from library/golang 15:52:03 2408cc74d12b: Pulling fs layer 15:52:03 ea60b727a1ce: Pulling fs layer 15:52:03 30c4a7721957: Pulling fs layer 15:52:03 379ffa369056: Pulling fs layer 15:52:03 6ac211c85e60: Pulling fs layer 15:52:03 6ac211c85e60: Waiting 15:52:03 379ffa369056: Waiting 15:52:03 30c4a7721957: Verifying Checksum 15:52:03 30c4a7721957: Download complete 15:52:03 ea60b727a1ce: Verifying Checksum 15:52:03 ea60b727a1ce: Download complete 15:52:03 2408cc74d12b: Verifying Checksum 15:52:03 2408cc74d12b: Download complete 15:52:03 6ac211c85e60: Verifying Checksum 15:52:03 6ac211c85e60: Download complete 15:52:03 2408cc74d12b: Pull complete 15:52:03 ea60b727a1ce: Pull complete 15:52:03 30c4a7721957: Pull complete 15:52:04 379ffa369056: Verifying Checksum 15:52:04 379ffa369056: Download complete 15:52:08 379ffa369056: Pull complete 15:52:08 6ac211c85e60: Pull complete 15:52:08 Digest: sha256:01df6d20e4112b5a60a541fb9d1b30ba54e40cdacb5045c79a528d576fdb40f7 15:52:08 Status: Downloaded newer image for golang:1.17-alpine 15:52:08 ---> 7484e68a614f 15:52:08 Step 2/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:52:09 ---> Running in 9d3e6af2502a 15:52:09 Removing intermediate container 9d3e6af2502a 15:52:09 ---> 8e0f9fbf12a9 15:52:09 Step 3/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:52:09 ---> Running in e4fb34abb497 15:52:10 Removing intermediate container e4fb34abb497 15:52:10 ---> c44e5477f438 15:52:10 Step 4/12 : ARG SNYK_VERSION=1.410.4 15:52:10 ---> Running in 6a77fcf5ac3d 15:52:10 Removing intermediate container 6a77fcf5ac3d 15:52:10 ---> 41a70f99ea1d 15:52:10 Step 5/12 : ENV SNYK_VERSION=${SNYK_VERSION} 15:52:10 ---> Running in 0335f8076a86 15:52:10 Removing intermediate container 0335f8076a86 15:52:10 ---> 19e416e0136e 15:52:10 Step 6/12 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 15:52:10 latest: Pulling from library/docker 15:52:11 2408cc74d12b: Already exists 15:52:11 d991df732aca: Pulling fs layer 15:52:11 21d05af1c410: Pulling fs layer 15:52:11 dcb5a3015bf8: Pulling fs layer 15:52:11 cbb264a375f3: Pulling fs layer 15:52:11 e876fc70e377: Pulling fs layer 15:52:11 35692714eac8: Pulling fs layer 15:52:11 38a26a2b9a8d: Pulling fs layer 15:52:11 f2ac0db0aa74: Pulling fs layer 15:52:11 35692714eac8: Waiting 15:52:11 cbb264a375f3: Waiting 15:52:11 38a26a2b9a8d: Waiting 15:52:11 f2ac0db0aa74: Waiting 15:52:11 e876fc70e377: Waiting 15:52:11 21d05af1c410: Verifying Checksum 15:52:11 21d05af1c410: Download complete 15:52:11 d991df732aca: Verifying Checksum 15:52:11 d991df732aca: Download complete 15:52:11 d991df732aca: Pull complete 15:52:11 cbb264a375f3: Verifying Checksum 15:52:11 cbb264a375f3: Download complete 15:52:11 21d05af1c410: Pull complete 15:52:11 35692714eac8: Verifying Checksum 15:52:11 35692714eac8: Download complete 15:52:11 38a26a2b9a8d: Verifying Checksum 15:52:11 38a26a2b9a8d: Download complete 15:52:11 e876fc70e377: Download complete 15:52:11 f2ac0db0aa74: Verifying Checksum 15:52:11 f2ac0db0aa74: Download complete 15:52:11 dcb5a3015bf8: Verifying Checksum 15:52:11 dcb5a3015bf8: Download complete 15:52:13 dcb5a3015bf8: Pull complete 15:52:13 cbb264a375f3: Pull complete 15:52:14 e876fc70e377: Pull complete 15:52:14 35692714eac8: Pull complete 15:52:14 38a26a2b9a8d: Pull complete 15:52:14 f2ac0db0aa74: Pull complete 15:52:14 Digest: sha256:101f87347f4f6e14857f00f216d838399cc879791a6c6c15e00cc374c1ff55b5 15:52:14 Status: Downloaded newer image for docker:latest 15:52:15 ---> 80d71362918e 15:52:15 Step 7/12 : RUN apk add --update --no-cache git gcc libc-dev expect nodejs npm && wget https://github.com/snyk/snyk/releases/download/v${SNYK_VERSION}/snyk-alpine -O /usr/local/bin/snyk && chmod +x /usr/local/bin/snyk && npm i -g snyk-to-html 15:52:15 ---> Running in 1ce781a36b0e 15:52:16 fetch https://nl.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:52:16 fetch https://nl.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:52:17 (1/23) Installing tcl (8.6.12-r0) 15:52:17 (2/23) Installing expect (5.45.4-r2) 15:52:17 (3/23) Installing libgcc (11.2.1_git20220219-r2) 15:52:17 (4/23) Installing libstdc++ (11.2.1_git20220219-r2) 15:52:17 (5/23) Installing binutils (2.38-r1) 15:52:17 ERROR: binutils-2.38-r1: package mentioned in index not found (try 'apk update') 15:52:17 (6/23) Installing libgomp (11.2.1_git20220219-r2) 15:52:18 (7/23) Installing libatomic (11.2.1_git20220219-r2) 15:52:18 (8/23) Installing gmp (6.2.1-r2) 15:52:18 (9/23) Installing isl22 (0.22-r0) 15:52:18 (10/23) Installing mpfr4 (4.1.0-r0) 15:52:19 (11/23) Installing mpc1 (1.2.1-r0) 15:52:19 (12/23) Installing gcc (11.2.1_git20220219-r2) 15:52:21 (13/23) Installing brotli-libs (1.0.9-r6) 15:52:21 (14/23) Installing nghttp2-libs (1.47.0-r0) 15:52:21 (15/23) Installing libcurl (7.82.0-r0) 15:52:21 ERROR: libcurl-7.82.0-r0: package mentioned in index not found (try 'apk update') 15:52:21 (16/23) Installing expat (2.4.8-r0) 15:52:21 (17/23) Installing pcre2 (10.39-r0) 15:52:22 (18/23) Installing git (2.35.2-r0) 15:52:22 ERROR: git-2.35.2-r0: package mentioned in index not found (try 'apk update') 15:52:22 (19/23) Installing musl-dev (1.2.3-r0) 15:52:23 (20/23) Installing libc-dev (0.7.2-r3) 15:52:23 (21/23) Installing c-ares (1.18.1-r0) 15:52:23 (22/23) Installing nodejs (16.14.2-r0) 15:52:23 ERROR: nodejs-16.14.2-r0: package mentioned in index not found (try 'apk update') 15:52:23 (23/23) Installing npm (8.6.0-r0) 15:52:23 ERROR: npm-8.6.0-r0: package mentioned in index not found (try 'apk update') 15:52:23 Executing busybox-1.35.0-r13.trigger 15:52:23 5 errors; 120 MiB in 33 packages 15:52:24 The command '/bin/sh -c apk add --update --no-cache git gcc libc-dev expect nodejs npm && wget https://github.com/snyk/snyk/releases/download/v${SNYK_VERSION}/snyk-alpine -O /usr/local/bin/snyk && chmod +x /usr/local/bin/snyk && npm i -g snyk-to-html' returned a non-zero code: 5 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:24 15:52:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:25 latest: Pulling from edgex-lftools-log-publisher 15:52:25 5eb5b503b376: Pulling fs layer 15:52:25 5c69ac0246d0: Pulling fs layer 15:52:25 ec43610c2a17: Pulling fs layer 15:52:25 3a2ae6a8a46f: Pulling fs layer 15:52:25 33b1e0a273af: Pulling fs layer 15:52:25 5d3b04190fa2: Pulling fs layer 15:52:25 2f39f015ded8: Pulling fs layer 15:52:25 33b1e0a273af: Waiting 15:52:25 5d3b04190fa2: Waiting 15:52:25 2f39f015ded8: Waiting 15:52:25 3a2ae6a8a46f: Waiting 15:52:25 5c69ac0246d0: Verifying Checksum 15:52:25 5c69ac0246d0: Download complete 15:52:25 3a2ae6a8a46f: Verifying Checksum 15:52:25 3a2ae6a8a46f: Download complete 15:52:25 33b1e0a273af: Verifying Checksum 15:52:25 33b1e0a273af: Download complete 15:52:25 ec43610c2a17: Verifying Checksum 15:52:25 ec43610c2a17: Download complete 15:52:25 5d3b04190fa2: Verifying Checksum 15:52:25 5d3b04190fa2: Download complete 15:52:25 5eb5b503b376: Verifying Checksum 15:52:25 5eb5b503b376: Download complete 15:52:25 2f39f015ded8: Verifying Checksum 15:52:25 2f39f015ded8: Download complete 15:52:26 5eb5b503b376: Pull complete 15:52:26 5c69ac0246d0: Pull complete 15:52:27 ec43610c2a17: Pull complete 15:52:27 3a2ae6a8a46f: Pull complete 15:52:27 33b1e0a273af: Pull complete 15:52:27 5d3b04190fa2: Pull complete 15:52:31 2f39f015ded8: Pull complete 15:52:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:52:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:31 prd-ubuntu20.04-docker-8c-8g-265 does not seem to be running inside a container 15:52:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_ci-build-images_PR-190 -v /w/workspace/exfoundry_ci-build-images_PR-190:/w/workspace/exfoundry_ci-build-images_PR-190:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-190@tmp:/w/workspace/exfoundry_ci-build-images_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:52:33 $ docker top bce0b3a9d0a8e4cb5d60fc1f0f064da56fef883ca0d715e715fa17d51242ab0a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:33 ---> job-cost.sh 15:52:33 lf-activate-venv: SKIPPING 15:52:33 INFO: No Stack... 15:52:33 INFO: Retrieving Pricing Info for: v3-standard-8 15:52:34 INFO: Archiving Costs [Pipeline] sh 15:52:34 + cat /w/workspace/exfoundry_ci-build-images_PR-190/archives/cost.csv 15:52:34 + cut -d, -f6 [Pipeline] lock 15:52:34 Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-190-2-stack-cost] 15:52:34 Resource [jenkins-edgexfoundry-ci-build-images-PR-190-2-stack-cost] did not exist. Created. 15:52:34 Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-190-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:52:35 + echo total: 0.2199999988079071 [Pipeline] stash 15:52:35 Stashed 1 file(s) [Pipeline] } 15:52:35 Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-190-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:52:35 $ docker stop --time=1 bce0b3a9d0a8e4cb5d60fc1f0f064da56fef883ca0d715e715fa17d51242ab0a 15:52:36 $ docker rm -f bce0b3a9d0a8e4cb5d60fc1f0f064da56fef883ca0d715e715fa17d51242ab0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:52:36 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:52:37 + [ -d /w/workspace/exfoundry_ci-build-images_PR-190/archives ] 15:52:37 + ls -al /w/workspace/exfoundry_ci-build-images_PR-190/archives 15:52:37 total 16 15:52:37 drwxr-xr-x 3 root root 4096 May 27 15:52 . 15:52:37 drwxrwxr-x 4 jenkins jenkins 4096 May 27 15:52 .. 15:52:37 drwxr-xr-x 2 root root 4096 May 27 15:52 cost 15:52:37 -rw-r--r-- 1 root root 85 May 27 15:52 cost.csv 15:52:37 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-190/archives 15:52:37 + ls -al /w/workspace/exfoundry_ci-build-images_PR-190/archives 15:52:37 total 16 15:52:37 drwxr-xr-x 3 jenkins jenkins 4096 May 27 15:52 . 15:52:37 drwxrwxr-x 4 jenkins jenkins 4096 May 27 15:52 .. 15:52:37 drwxr-xr-x 2 jenkins jenkins 4096 May 27 15:52 cost 15:52:37 -rw-r--r-- 1 jenkins jenkins 85 May 27 15:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:52:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:52:38 ---> package-listing.sh 15:52:38 ++ facter osfamily 15:52:38 ++ tr '[:upper:]' '[:lower:]' 15:52:38 + OS_FAMILY=debian 15:52:38 + workspace=/w/workspace/exfoundry_ci-build-images_PR-190 15:52:38 + START_PACKAGES=/tmp/packages_start.txt 15:52:38 + END_PACKAGES=/tmp/packages_end.txt 15:52:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:52:38 + PACKAGES=/tmp/packages_start.txt 15:52:38 + '[' /w/workspace/exfoundry_ci-build-images_PR-190 ']' 15:52:38 + PACKAGES=/tmp/packages_end.txt 15:52:38 + case "${OS_FAMILY}" in 15:52:38 + dpkg -l 15:52:38 + grep '^ii' 15:52:38 + '[' -f /tmp/packages_start.txt ']' 15:52:38 + '[' -f /tmp/packages_end.txt ']' 15:52:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:52:38 + '[' /w/workspace/exfoundry_ci-build-images_PR-190 ']' 15:52:38 + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-190/archives/ 15:52:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-190/archives/ [Pipeline] echo 15:52:38 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_ci-build-images_PR-190/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:52:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:39 prd-ubuntu20.04-docker-8c-8g-265 does not seem to be running inside a container 15:52:39 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_ci-build-images_PR-190/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_ci-build-images_PR-190 -v /w/workspace/exfoundry_ci-build-images_PR-190:/w/workspace/exfoundry_ci-build-images_PR-190:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-190@tmp:/w/workspace/exfoundry_ci-build-images_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:52:39 $ docker top 4f7b1fc1c7006a134d8c2555853202a9cb896957ed27192a41846c083be158bf -eo pid,comm [Pipeline] { [Pipeline] sh 15:52:40 + touch /tmp/pre-build-complete [Pipeline] sh 15:52:40 + mkdir -p /var/log/sysstat [Pipeline] sh 15:52:40 + ls /var/log/sa-host 15:52:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:52:40 provisioning config files... 15:52:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-190@tmp/config1751943867660016854tmp [Pipeline] { [Pipeline] echo 15:52:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:52:41 ---> create-netrc.sh [Pipeline] } 15:52:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:52:41 ---> python-tools-install.sh [Pipeline] echo 15:52:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:52:41 ---> sudo-logs.sh 15:52:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:52:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:52:42 ---> job-cost.sh 15:52:42 lf-activate-venv: SKIPPING 15:52:42 DEBUG: total: 0.2199999988079071 15:52:42 INFO: Retrieving Stack Cost... 15:52:42 INFO: Retrieving Pricing Info for: v3-standard-8 15:52:42 INFO: Archiving Costs [Pipeline] echo 15:52:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:52:42 ---> logs-deploy.sh 15:52:42 lf-activate-venv: SKIPPING 15:52:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-190/2 15:52:42 INFO: archiving workspace using pattern(s): 15:52:43 Archives upload complete. 15:52:44 INFO: archiving logs to Nexus