Pull request #190 updated 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 0fd411d83736da7fc7eb528147e989949167705b+c441fc6225a9a6c983e209cd6613717029e7c043 (306de0777be112cccf859b6d38099f44063c9bd7) 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-ssh6064038835138209277.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-ssh10626510482736220102.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-ssh7086322150938689910.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-ssh7026785378924819338.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-ssh9597836839389158713.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-266 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 0fd411d83736da7fc7eb528147e989949167705b Merge succeeded, producing 0fd411d83736da7fc7eb528147e989949167705b Checking out Revision 0fd411d83736da7fc7eb528147e989949167705b (PR-190) > git config core.sparsecheckout # timeout=10 > git checkout -f 0fd411d83736da7fc7eb528147e989949167705b # 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 0fd411d83736da7fc7eb528147e989949167705b # timeout=10 Commit message: "ci: upgrade to Go 1.17 base" First time build. Skipping changelog. > git rev-list --no-walk 40fe8dda4c5e86c8353d50ae6166dbe560097302 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:00:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:00:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:00:25 ========================================================= 16:00:25 EdgeX Global Pipelines Version Info 16:00:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:00:26 ------------------- 16:00:26 stable info: 16:00:26 ------------------- 16:00:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:00:26 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 16:00:26 Message: update stable to v1.0.230 16:00:26 ------------------- 16:00:26 experimental info: 16:00:26 ------------------- 16:00:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:00:26 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 16:00:26 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 16:00:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 16:00:26 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo 16:00:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 16:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo 16:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 16:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 16:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 16:00:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:00:27 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 16:00:27 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo 16:00:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:00:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:00:27 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo 16:00:27 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.410.4 [Pipeline] echo 16:00:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-190 [Pipeline] echo 16:00:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-190 [Pipeline] echo 16:00:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-190 [Pipeline] echo 16:00:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0fd411d83736da7fc7eb528147e989949167705b [Pipeline] echo 16:00:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0fd411d [Pipeline] echo 16:00:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:00:27 provisioning config files... 16:00:27 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-190@tmp/config8916255105068481031tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:00:27 ---> docker-login.sh 16:00:27 nexus3.edgexfoundry.org:10001 16:00:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:27 Configure a credential helper to remove this warning. See 16:00:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:27 16:00:27 Login Succeeded 16:00:27 nexus3.edgexfoundry.org:10002 16:00:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:27 Configure a credential helper to remove this warning. See 16:00:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:27 16:00:27 Login Succeeded 16:00:27 nexus3.edgexfoundry.org:10003 16:00:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:27 Configure a credential helper to remove this warning. See 16:00:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:27 16:00:27 Login Succeeded 16:00:27 nexus3.edgexfoundry.org:10004 16:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:28 Configure a credential helper to remove this warning. See 16:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:28 16:00:28 Login Succeeded 16:00:28 docker.io 16:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:28 Configure a credential helper to remove this warning. See 16:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:28 16:00:28 Login Succeeded 16:00:28 ---> docker-login.sh ends [Pipeline] } 16:00:28 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 16:00:28 provisioning config files... [Pipeline] // stage [Pipeline] } 16:00:28 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-190@tmp/config7590643432155313356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:00:29 ---> docker-login.sh 16:00:29 nexus3.edgexfoundry.org:10001 16:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:29 Configure a credential helper to remove this warning. See 16:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:29 16:00:29 Login Succeeded 16:00:29 nexus3.edgexfoundry.org:10002 16:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:29 Configure a credential helper to remove this warning. See 16:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:29 16:00:29 Login Succeeded 16:00:29 nexus3.edgexfoundry.org:10003 16:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:29 Configure a credential helper to remove this warning. See 16:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:29 16:00:29 Login Succeeded 16:00:29 nexus3.edgexfoundry.org:10004 16:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:29 Configure a credential helper to remove this warning. See 16:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:29 16:00:29 Login Succeeded 16:00:29 docker.io 16:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:49 Cannot contact prd-ubuntu20.04-docker-8c-8g-266: java.lang.InterruptedException 16:04:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:47 Configure a credential helper to remove this warning. See 16:04:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:47 16:04:47 Login Succeeded 16:04:47 ---> docker-login.sh ends [Pipeline] } 16:04:47 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 16:04:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:04:48 + ls -al . 16:04:48 total 20 16:04:48 drwxrwxr-x 3 jenkins jenkins 4096 May 27 16:00 . 16:04:48 drwxrwxr-x 4 jenkins jenkins 4096 May 27 16:00 .. 16:04:48 drwxrwxr-x 8 jenkins jenkins 4096 May 27 16:00 .git 16:04:48 -rw-rw-r-- 1 jenkins jenkins 633 May 27 16:00 Dockerfile 16:04:48 -rw-rw-r-- 1 jenkins jenkins 896 May 27 16:00 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:49 + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=0fd411d83736da7fc7eb528147e989949167705b --label arch=amd64 . 16:04:49 Sending build context to Docker daemon 426kB 16:04:49 Step 1/11 : FROM golang:1.17-alpine3.15 16:04:49 1.17-alpine3.15: Pulling from library/golang 16:04:49 df9b9388f04a: Pulling fs layer 16:04:49 52dc419b0ee2: Pulling fs layer 16:04:49 25bc292e5bac: Pulling fs layer 16:04:49 114826534d7a: Pulling fs layer 16:04:49 4657fd5d0bcf: Pulling fs layer 16:04:49 114826534d7a: Waiting 16:04:49 4657fd5d0bcf: Waiting 16:04:49 25bc292e5bac: Verifying Checksum 16:04:49 25bc292e5bac: Download complete 16:04:49 52dc419b0ee2: Download complete 16:04:50 df9b9388f04a: Download complete 16:04:50 4657fd5d0bcf: Download complete 16:04:50 df9b9388f04a: Pull complete 16:04:50 52dc419b0ee2: Pull complete 16:04:50 25bc292e5bac: Pull complete 16:04:51 114826534d7a: Verifying Checksum 16:04:51 114826534d7a: Download complete 16:04:55 114826534d7a: Pull complete 16:04:55 4657fd5d0bcf: Pull complete 16:04:55 Digest: sha256:bd691ea289762398cf06aec6b4888a9cc6c177aff2ad4f3b2699c1a29ac522b2 16:04:55 Status: Downloaded newer image for golang:1.17-alpine3.15 16:04:55 ---> a15b7f2336ee 16:04:55 Step 2/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:04:55 ---> Running in 62b1fd657596 16:04:56 Removing intermediate container 62b1fd657596 16:04:56 ---> f8f60ef7860d 16:04:56 Step 3/11 : ARG SNYK_VERSION=1.410.4 16:04:56 ---> Running in e91c5a62a66f 16:04:56 Removing intermediate container e91c5a62a66f 16:04:56 ---> af35b14cc0b0 16:04:56 Step 4/11 : ENV SNYK_VERSION=${SNYK_VERSION} 16:04:56 ---> Running in 9880fe430294 16:04:56 Removing intermediate container 9880fe430294 16:04:56 ---> 46eff54748e1 16:04:56 Step 5/11 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 16:04:56 latest: Pulling from library/docker 16:04:56 2408cc74d12b: Pulling fs layer 16:04:56 d991df732aca: Pulling fs layer 16:04:56 21d05af1c410: Pulling fs layer 16:04:56 dcb5a3015bf8: Pulling fs layer 16:04:56 dcb5a3015bf8: Waiting 16:04:56 cbb264a375f3: Pulling fs layer 16:04:56 e876fc70e377: Pulling fs layer 16:04:56 35692714eac8: Pulling fs layer 16:04:56 cbb264a375f3: Waiting 16:04:56 e876fc70e377: Waiting 16:04:56 38a26a2b9a8d: Pulling fs layer 16:04:56 f2ac0db0aa74: Pulling fs layer 16:04:56 35692714eac8: Waiting 16:04:56 38a26a2b9a8d: Waiting 16:04:57 21d05af1c410: Verifying Checksum 16:04:57 21d05af1c410: Download complete 16:04:57 d991df732aca: Verifying Checksum 16:04:57 d991df732aca: Download complete 16:04:57 2408cc74d12b: Verifying Checksum 16:04:57 2408cc74d12b: Download complete 16:04:57 2408cc74d12b: Pull complete 16:04:57 cbb264a375f3: Verifying Checksum 16:04:57 cbb264a375f3: Download complete 16:04:57 d991df732aca: Pull complete 16:04:57 35692714eac8: Verifying Checksum 16:04:57 35692714eac8: Download complete 16:04:57 21d05af1c410: Pull complete 16:04:57 e876fc70e377: Verifying Checksum 16:04:57 e876fc70e377: Download complete 16:04:57 38a26a2b9a8d: Verifying Checksum 16:04:57 38a26a2b9a8d: Download complete 16:04:57 f2ac0db0aa74: Verifying Checksum 16:04:57 f2ac0db0aa74: Download complete 16:04:57 dcb5a3015bf8: Verifying Checksum 16:04:57 dcb5a3015bf8: Download complete 16:04:59 dcb5a3015bf8: Pull complete 16:04:59 cbb264a375f3: Pull complete 16:05:00 e876fc70e377: Pull complete 16:05:00 35692714eac8: Pull complete 16:05:00 38a26a2b9a8d: Pull complete 16:05:00 f2ac0db0aa74: Pull complete 16:05:00 Digest: sha256:101f87347f4f6e14857f00f216d838399cc879791a6c6c15e00cc374c1ff55b5 16:05:00 Status: Downloaded newer image for docker:latest 16:05:01 ---> daa23b9411e2 16:05:01 Step 6/11 : 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 16:05:01 ---> Running in db8edf06aa22 16:05:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:05:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:05:02 (1/24) Installing tcl (8.6.11-r0) 16:05:02 (2/24) Installing expect (5.45.4-r2) 16:05:02 (3/24) Installing libgcc (10.3.1_git20211027-r0) 16:05:02 (4/24) Installing libstdc++ (10.3.1_git20211027-r0) 16:05:02 (5/24) Installing binutils (2.37-r3) 16:05:02 (6/24) Installing libgomp (10.3.1_git20211027-r0) 16:05:02 (7/24) Installing libatomic (10.3.1_git20211027-r0) 16:05:02 (8/24) Installing libgphobos (10.3.1_git20211027-r0) 16:05:02 (9/24) Installing gmp (6.2.1-r1) 16:05:02 (10/24) Installing isl22 (0.22-r0) 16:05:02 (11/24) Installing mpfr4 (4.1.0-r0) 16:05:02 (12/24) Installing mpc1 (1.2.1-r0) 16:05:02 (13/24) Installing gcc (10.3.1_git20211027-r0) 16:05:03 (14/24) Installing brotli-libs (1.0.9-r5) 16:05:03 (15/24) Installing nghttp2-libs (1.46.0-r0) 16:05:03 (16/24) Installing libcurl (7.80.0-r1) 16:05:03 (17/24) Installing expat (2.4.7-r0) 16:05:03 (18/24) Installing pcre2 (10.39-r0) 16:05:03 (19/24) Installing git (2.34.2-r0) 16:05:03 (20/24) Installing musl-dev (1.2.2-r7) 16:05:03 (21/24) Installing libc-dev (0.7.2-r3) 16:05:03 (22/24) Installing c-ares (1.18.1-r0) 16:05:03 (23/24) Installing nodejs (16.14.2-r0) 16:05:03 (24/24) Installing npm (8.1.3-r0) 16:05:03 Executing busybox-1.34.1-r5.trigger 16:05:03 OK: 197 MiB in 39 packages 16:05:03 Connecting to github.com (140.82.112.3:443) 16:05:03 Connecting to github.com (140.82.112.3:443) 16:05:03 Connecting to objects.githubusercontent.com (185.199.109.133:443) 16:05:04 saving to '/usr/local/bin/snyk' 16:05:05 snyk 60% |******************* | 60.0M 0:00:00 ETA 16:05:05 snyk 100% |********************************| 99.4M 0:00:00 ETA 16:05:05 '/usr/local/bin/snyk' saved 16:05:08  16:05:08 added 22 packages, and audited 23 packages in 3s 16:05:08 16:05:08 found 0 vulnerabilities 16:05:13 Removing intermediate container db8edf06aa22 16:05:13 ---> 888632f0b7c4 16:05:13 Step 7/11 : ENV GO111MODULE=on 16:05:13 ---> Running in 7b8dfabaf59c 16:05:13 Removing intermediate container 7b8dfabaf59c 16:05:13 ---> 57c68e83028a 16:05:13 Step 8/11 : ENTRYPOINT [ "snyk" ] 16:05:13 ---> Running in ad1d7c1854be 16:05:13 Removing intermediate container ad1d7c1854be 16:05:13 ---> 3e75d16c036d 16:05:13 Step 9/11 : CMD [ "monitor" ] 16:05:13 ---> Running in 085273533eb8 16:05:13 Removing intermediate container 085273533eb8 16:05:13 ---> 622c1feba123 16:05:13 Step 10/11 : LABEL arch=amd64 16:05:13 ---> Running in e7349c70dbaf 16:05:13 Removing intermediate container e7349c70dbaf 16:05:13 ---> adaf83d49209 16:05:13 Step 11/11 : LABEL git_sha=0fd411d83736da7fc7eb528147e989949167705b 16:05:13 ---> Running in fe0332d134c7 16:05:13 Removing intermediate container fe0332d134c7 16:05:13 ---> adb1c1cb55d6 16:05:13 [Warning] One or more build-args [ARCH] were not consumed 16:05:13 Successfully built adb1c1cb55d6 16:05:13 Successfully tagged edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:05:14 16:05:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:05:14 latest: Pulling from edgex-lftools-log-publisher 16:05:14 5eb5b503b376: Pulling fs layer 16:05:14 5c69ac0246d0: Pulling fs layer 16:05:14 ec43610c2a17: Pulling fs layer 16:05:14 3a2ae6a8a46f: Pulling fs layer 16:05:14 33b1e0a273af: Pulling fs layer 16:05:14 5d3b04190fa2: Pulling fs layer 16:05:14 2f39f015ded8: Pulling fs layer 16:05:14 33b1e0a273af: Waiting 16:05:14 5d3b04190fa2: Waiting 16:05:14 2f39f015ded8: Waiting 16:05:14 5c69ac0246d0: Verifying Checksum 16:05:14 5c69ac0246d0: Download complete 16:05:14 3a2ae6a8a46f: Download complete 16:05:14 33b1e0a273af: Verifying Checksum 16:05:14 33b1e0a273af: Download complete 16:05:14 5d3b04190fa2: Verifying Checksum 16:05:14 ec43610c2a17: Verifying Checksum 16:05:14 ec43610c2a17: Download complete 16:05:14 5eb5b503b376: Verifying Checksum 16:05:14 5eb5b503b376: Download complete 16:05:15 2f39f015ded8: Verifying Checksum 16:05:15 2f39f015ded8: Download complete 16:05:15 5eb5b503b376: Pull complete 16:05:15 5c69ac0246d0: Pull complete 16:05:16 ec43610c2a17: Pull complete 16:05:16 3a2ae6a8a46f: Pull complete 16:05:16 33b1e0a273af: Pull complete 16:05:16 5d3b04190fa2: Pull complete 16:05:22 2f39f015ded8: Pull complete 16:05:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:05:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:05:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:05:22 prd-ubuntu20.04-docker-8c-8g-266 does not seem to be running inside a container 16:05:22 $ 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 16:05:23 $ docker top bbe1e8efd988ac175d6d3cc751317f309271754393b2fee2b75275f0197556cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:05:24 ---> job-cost.sh 16:05:24 lf-activate-venv: SKIPPING 16:05:24 INFO: No Stack... 16:05:24 INFO: Retrieving Pricing Info for: v3-standard-8 16:05:24 INFO: Archiving Costs [Pipeline] sh 16:05:25 + cat /w/workspace/exfoundry_ci-build-images_PR-190/archives/cost.csv 16:05:25 + cut -d, -f6 [Pipeline] lock 16:05:25 Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-190-3-stack-cost] 16:05:25 Resource [jenkins-edgexfoundry-ci-build-images-PR-190-3-stack-cost] did not exist. Created. 16:05:25 Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-190-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:05:25 + echo total: 0.2199999988079071 [Pipeline] stash 16:05:25 Stashed 1 file(s) [Pipeline] } 16:05:25 Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-190-3-stack-cost] [Pipeline] // lock [Pipeline] } 16:05:25 $ docker stop --time=1 bbe1e8efd988ac175d6d3cc751317f309271754393b2fee2b75275f0197556cd 16:05:26 $ docker rm -f bbe1e8efd988ac175d6d3cc751317f309271754393b2fee2b75275f0197556cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:05:27 + [ -d /w/workspace/exfoundry_ci-build-images_PR-190/archives ] 16:05:27 + ls -al /w/workspace/exfoundry_ci-build-images_PR-190/archives 16:05:27 total 16 16:05:27 drwxr-xr-x 3 root root 4096 May 27 16:05 . 16:05:27 drwxrwxr-x 4 jenkins jenkins 4096 May 27 16:05 .. 16:05:27 drwxr-xr-x 2 root root 4096 May 27 16:05 cost 16:05:27 -rw-r--r-- 1 root root 86 May 27 16:05 cost.csv 16:05:27 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-190/archives 16:05:27 + ls -al /w/workspace/exfoundry_ci-build-images_PR-190/archives 16:05:27 total 16 16:05:27 drwxr-xr-x 3 jenkins jenkins 4096 May 27 16:05 . 16:05:27 drwxrwxr-x 4 jenkins jenkins 4096 May 27 16:05 .. 16:05:27 drwxr-xr-x 2 jenkins jenkins 4096 May 27 16:05 cost 16:05:27 -rw-r--r-- 1 jenkins jenkins 86 May 27 16:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:05:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:05:28 ---> package-listing.sh 16:05:28 ++ facter osfamily 16:05:28 ++ tr '[:upper:]' '[:lower:]' 16:05:28 + OS_FAMILY=debian 16:05:28 + workspace=/w/workspace/exfoundry_ci-build-images_PR-190 16:05:28 + START_PACKAGES=/tmp/packages_start.txt 16:05:28 + END_PACKAGES=/tmp/packages_end.txt 16:05:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:05:28 + PACKAGES=/tmp/packages_start.txt 16:05:28 + '[' /w/workspace/exfoundry_ci-build-images_PR-190 ']' 16:05:28 + PACKAGES=/tmp/packages_end.txt 16:05:28 + case "${OS_FAMILY}" in 16:05:28 + dpkg -l 16:05:28 + grep '^ii' 16:05:28 + '[' -f /tmp/packages_start.txt ']' 16:05:28 + '[' -f /tmp/packages_end.txt ']' 16:05:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:05:28 + '[' /w/workspace/exfoundry_ci-build-images_PR-190 ']' 16:05:28 + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-190/archives/ 16:05:28 + 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 16:05:28 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 16:05:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:05:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:05:29 prd-ubuntu20.04-docker-8c-8g-266 does not seem to be running inside a container 16:05:29 $ 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 16:05:30 $ docker top 67fb77a8c6caf21a6b51a09a48298f09b4043d2f6d2532fc9a3d49113d80624f -eo pid,comm [Pipeline] { [Pipeline] sh 16:05:30 + touch /tmp/pre-build-complete [Pipeline] sh 16:05:30 + mkdir -p /var/log/sysstat [Pipeline] sh 16:05:31 + ls /var/log/sa-host 16:05:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:05:31 provisioning config files... 16:05:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-190@tmp/config2961272304179466938tmp [Pipeline] { [Pipeline] echo 16:05:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:05:31 ---> create-netrc.sh [Pipeline] } 16:05:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:05:31 ---> python-tools-install.sh [Pipeline] echo 16:05:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:05:32 ---> sudo-logs.sh 16:05:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:05:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:05:32 ---> job-cost.sh 16:05:32 lf-activate-venv: SKIPPING 16:05:32 DEBUG: total: 0.2199999988079071 16:05:32 INFO: Retrieving Stack Cost... 16:05:32 INFO: Retrieving Pricing Info for: v3-standard-8 16:05:33 INFO: Archiving Costs [Pipeline] echo 16:05:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:05:33 ---> logs-deploy.sh 16:05:33 lf-activate-venv: SKIPPING 16:05:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-190/3 16:05:33 INFO: archiving workspace using pattern(s): 16:05:34 Archives upload complete. 16:05:34 INFO: archiving logs to Nexus