Push event to branch snyk Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fb7e5ce6626a160a9ab780e02eb002b4243f1059 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-ssh16837572290685198529.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh12135437558309742738.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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/snyk/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/snyk/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18274963600426820803.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh17927612802060826870.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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/snyk/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/snyk/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18270094161772470564.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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:[latest], 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: latest [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-655 in /w/workspace/dgexfoundry_ci-build-images_snyk [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/dgexfoundry_ci-build-images_snyk # 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 Avoid second fetch Checking out Revision fb7e5ce6626a160a9ab780e02eb002b4243f1059 (snyk) Commit message: "Merge pull request #218 from jinlinGuan/issue-217" > git config core.sparsecheckout # timeout=10 > git checkout -f fb7e5ce6626a160a9ab780e02eb002b4243f1059 # timeout=10 > git rev-list --no-walk fe725ecbe59fb01d26fc59a142f73164b49a3ace # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:13:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:13:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:13:15 ========================================================= 03:13:15 EdgeX Global Pipelines Version Info 03:13:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:13:15 ------------------- 03:13:15 stable info: 03:13:15 ------------------- 03:13:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:13:15 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:13:15 Message: update stable to v1.0.258 03:13:16 ------------------- 03:13:16 experimental info: 03:13:16 ------------------- 03:13:16 Commited By: **** collab-it+edgex@linuxfoundation.org 03:13:16 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:13:16 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = latest [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = snyk [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = snyk [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = snyk [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb7e5ce6626a160a9ab780e02eb002b4243f1059 [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb7e5ce [Pipeline] echo 03:13:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:13:16 provisioning config files... 03:13:16 copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config3099353540750630477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:13:17 ---> ****-login.sh 03:13:17 nexus3.edgexfoundry.org:10001 03:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:17 Configure a credential helper to remove this warning. See 03:13:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:17 03:13:17 Login Succeeded 03:13:17 nexus3.edgexfoundry.org:10002 03:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:17 Configure a credential helper to remove this warning. See 03:13:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:17 03:13:17 Login Succeeded 03:13:17 nexus3.edgexfoundry.org:10003 03:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:17 Configure a credential helper to remove this warning. See 03:13:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:17 03:13:17 Login Succeeded 03:13:17 nexus3.edgexfoundry.org:10004 03:13:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:18 Configure a credential helper to remove this warning. See 03:13:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:18 03:13:18 Login Succeeded 03:13:18 ****.io 03:13:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:18 Configure a credential helper to remove this warning. See 03:13:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:18 03:13:18 Login Succeeded 03:13:18 ---> ****-login.sh ends [Pipeline] } 03:13:18 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] getContext [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] getContext [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:13:18 provisioning config files... [Pipeline] // stage [Pipeline] } 03:13:18 copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config7830207229627368910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:13:19 ---> ****-login.sh 03:13:19 nexus3.edgexfoundry.org:10001 03:13:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:19 Configure a credential helper to remove this warning. See 03:13:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:19 03:13:19 Login Succeeded 03:13:19 nexus3.edgexfoundry.org:10002 03:13:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:19 Configure a credential helper to remove this warning. See 03:13:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:19 03:13:19 Login Succeeded 03:13:19 nexus3.edgexfoundry.org:10003 03:13:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:19 Configure a credential helper to remove this warning. See 03:13:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:19 03:13:19 Login Succeeded 03:13:19 nexus3.edgexfoundry.org:10004 03:13:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:19 Configure a credential helper to remove this warning. See 03:13:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:19 03:13:19 Login Succeeded 03:13:19 ****.io 03:13:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:19 Configure a credential helper to remove this warning. See 03:13:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:19 03:13:19 Login Succeeded 03:13:19 ---> ****-login.sh ends [Pipeline] } 03:13:19 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 03:13:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:13:20 + ls -al . 03:13:20 total 20 03:13:20 drwxrwxr-x 3 jenkins jenkins 4096 May 24 03:13 . 03:13:20 drwxrwxr-x 4 jenkins jenkins 4096 May 24 03:13 .. 03:13:20 drwxrwxr-x 8 jenkins jenkins 4096 May 24 03:13 .git 03:13:20 -rw-rw-r-- 1 jenkins jenkins 684 May 24 03:13 Dockerfile 03:13:20 -rw-rw-r-- 1 jenkins jenkins 933 May 24 03:13 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:21 + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=fb7e5ce6626a160a9ab780e02eb002b4243f1059 --label arch=amd64 . 03:13:21 Sending build context to Docker daemon 472.1kB 03:13:21 Step 1/11 : FROM golang:1.21-alpine3.18 03:13:21 1.21-alpine3.18: Pulling from library/golang 03:13:21 619be1103602: Pulling fs layer 03:13:21 f8ea3408117e: Pulling fs layer 03:13:21 91320369b822: Pulling fs layer 03:13:21 0406650e8295: Pulling fs layer 03:13:21 4f4fb700ef54: Pulling fs layer 03:13:21 0406650e8295: Waiting 03:13:21 4f4fb700ef54: Waiting 03:13:21 f8ea3408117e: Verifying Checksum 03:13:21 f8ea3408117e: Download complete 03:13:21 619be1103602: Verifying Checksum 03:13:21 619be1103602: Download complete 03:13:21 0406650e8295: Verifying Checksum 03:13:21 0406650e8295: Download complete 03:13:21 4f4fb700ef54: Download complete 03:13:21 619be1103602: Pull complete 03:13:22 f8ea3408117e: Pull complete 03:13:22 91320369b822: Verifying Checksum 03:13:22 91320369b822: Download complete 03:13:26 91320369b822: Pull complete 03:13:26 0406650e8295: Pull complete 03:13:26 4f4fb700ef54: Pull complete 03:13:26 Digest: sha256:d390d5f2006c4c9cf19709d449a8463e7188643f444d06fcaa96f45b6c29363d 03:13:26 Status: Downloaded newer image for golang:1.21-alpine3.18 03:13:26 ---> a3bbef70a967 03:13:26 Step 2/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2022: Intel' 03:13:27 ---> Running in a1be73c1044f 03:13:27 Removing intermediate container a1be73c1044f 03:13:27 ---> bd28dad82772 03:13:27 Step 3/11 : ARG SNYK_VERSION=1.1291.0 03:13:27 ---> Running in fa66eb6f75f9 03:13:27 Removing intermediate container fa66eb6f75f9 03:13:27 ---> a2d4e0c38b59 03:13:27 Step 4/11 : ENV SNYK_VERSION=${SNYK_VERSION} 03:13:27 ---> Running in 7e1ef0a40fbf 03:13:27 Removing intermediate container 7e1ef0a40fbf 03:13:27 ---> 3683e5b09f39 03:13:27 Step 5/11 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 03:13:28 latest: Pulling from library/docker 03:13:28 d25f557d7f31: Pulling fs layer 03:13:28 6e0cb2a59ced: Pulling fs layer 03:13:28 4f4fb700ef54: Pulling fs layer 03:13:28 eb247a8f83e7: Pulling fs layer 03:13:28 f32499521033: Pulling fs layer 03:13:28 e38fd5a68d34: Pulling fs layer 03:13:28 421921fd35be: Pulling fs layer 03:13:28 8bcd32e1b4bb: Pulling fs layer 03:13:28 6456e0b39317: Pulling fs layer 03:13:28 4d97db5952e9: Pulling fs layer 03:13:28 859ef0cd825e: Pulling fs layer 03:13:28 e46152ab1f3a: Pulling fs layer 03:13:28 c4b13da4650b: Pulling fs layer 03:13:28 b0e2fc653a42: Pulling fs layer 03:13:28 eb247a8f83e7: Waiting 03:13:28 6858fca25ac0: Pulling fs layer 03:13:28 e95be673f87c: Pulling fs layer 03:13:28 f32499521033: Waiting 03:13:28 e38fd5a68d34: Waiting 03:13:28 421921fd35be: Waiting 03:13:28 8bcd32e1b4bb: Waiting 03:13:28 6456e0b39317: Waiting 03:13:28 4d97db5952e9: Waiting 03:13:28 859ef0cd825e: Waiting 03:13:28 e46152ab1f3a: Waiting 03:13:28 c4b13da4650b: Waiting 03:13:28 b0e2fc653a42: Waiting 03:13:28 6858fca25ac0: Waiting 03:13:28 e95be673f87c: Waiting 03:13:28 4f4fb700ef54: Download complete 03:13:28 6e0cb2a59ced: Verifying Checksum 03:13:28 6e0cb2a59ced: Download complete 03:13:28 d25f557d7f31: Verifying Checksum 03:13:28 d25f557d7f31: Download complete 03:13:28 eb247a8f83e7: Verifying Checksum 03:13:28 eb247a8f83e7: Download complete 03:13:28 d25f557d7f31: Pull complete 03:13:28 f32499521033: Verifying Checksum 03:13:28 f32499521033: Download complete 03:13:28 e38fd5a68d34: Verifying Checksum 03:13:28 e38fd5a68d34: Download complete 03:13:28 6e0cb2a59ced: Pull complete 03:13:28 6456e0b39317: Verifying Checksum 03:13:28 6456e0b39317: Download complete 03:13:28 8bcd32e1b4bb: Verifying Checksum 03:13:28 8bcd32e1b4bb: Download complete 03:13:28 4f4fb700ef54: Pull complete 03:13:28 421921fd35be: Verifying Checksum 03:13:28 421921fd35be: Download complete 03:13:29 eb247a8f83e7: Pull complete 03:13:29 e46152ab1f3a: Download complete 03:13:29 859ef0cd825e: Verifying Checksum 03:13:29 859ef0cd825e: Download complete 03:13:29 c4b13da4650b: Verifying Checksum 03:13:29 c4b13da4650b: Download complete 03:13:29 4d97db5952e9: Verifying Checksum 03:13:29 4d97db5952e9: Download complete 03:13:29 6858fca25ac0: Verifying Checksum 03:13:29 6858fca25ac0: Download complete 03:13:29 f32499521033: Pull complete 03:13:29 e95be673f87c: Download complete 03:13:29 b0e2fc653a42: Verifying Checksum 03:13:29 b0e2fc653a42: Download complete 03:13:29 e38fd5a68d34: Pull complete 03:13:30 421921fd35be: Pull complete 03:13:30 8bcd32e1b4bb: Pull complete 03:13:30 6456e0b39317: Pull complete 03:13:30 4d97db5952e9: Pull complete 03:13:30 859ef0cd825e: Pull complete 03:13:30 e46152ab1f3a: Pull complete 03:13:31 c4b13da4650b: Pull complete 03:13:32 b0e2fc653a42: Pull complete 03:13:32 6858fca25ac0: Pull complete 03:13:32 e95be673f87c: Pull complete 03:13:32 Digest: sha256:a811114bcd41954bc9b6577469ce7e648ee600c864e815e535aac79e50439352 03:13:32 Status: Downloaded newer image for docker:latest 03:13:34 ---> 6e8ee28ab250 03:13:34 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 03:13:34 ---> Running in 5de921efbba9 03:13:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:13:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:13:35 (1/29) Installing tzdata (2024a-r0) 03:13:35 (2/29) Installing tcl (8.6.13-r1) 03:13:35 (3/29) Installing expect (5.45.4-r4) 03:13:35 (4/29) Installing libgcc (12.2.1_git20220924-r10) 03:13:35 (5/29) Installing libstdc++ (12.2.1_git20220924-r10) 03:13:35 (6/29) Installing zstd-libs (1.5.5-r4) 03:13:35 (7/29) Installing binutils (2.40-r7) 03:13:35 (8/29) Installing libgomp (12.2.1_git20220924-r10) 03:13:35 (9/29) Installing libatomic (12.2.1_git20220924-r10) 03:13:35 (10/29) Installing gmp (6.2.1-r3) 03:13:35 (11/29) Installing isl26 (0.26-r1) 03:13:35 (12/29) Installing mpfr4 (4.2.0_p12-r0) 03:13:35 (13/29) Installing mpc1 (1.3.1-r1) 03:13:35 (14/29) Installing gcc (12.2.1_git20220924-r10) 03:13:36 (15/29) Installing brotli-libs (1.0.9-r14) 03:13:36 (16/29) Installing libunistring (1.1-r1) 03:13:36 (17/29) Installing libidn2 (2.3.4-r1) 03:13:36 (18/29) Installing nghttp2-libs (1.57.0-r0) 03:13:36 (19/29) Installing libcurl (8.5.0-r0) 03:13:36 (20/29) Installing libexpat (2.6.2-r0) 03:13:36 (21/29) Installing pcre2 (10.42-r1) 03:13:36 (22/29) Installing git (2.40.1-r0) 03:13:36 (23/29) Installing musl-dev (1.2.4-r2) 03:13:36 (24/29) Installing libc-dev (0.7.2-r5) 03:13:36 (25/29) Installing c-ares (1.19.1-r1) 03:13:36 (26/29) Installing icu-data-en (73.2-r2) 03:13:36 Executing icu-data-en-73.2-r2.post-install 03:13:36 * 03:13:36 * If you need ICU with non-English locales and legacy charset support, install 03:13:36 * package icu-data-full. 03:13:36 * 03:13:36 (27/29) Installing icu-libs (73.2-r2) 03:13:36 (28/29) Installing nodejs (18.20.1-r0) 03:13:37 (29/29) Installing npm (9.6.6-r0) 03:13:37 Executing busybox-1.36.1-r5.trigger 03:13:37 OK: 228 MiB in 45 packages 03:13:37 Connecting to github.com (140.82.112.4:443) 03:13:37 Connecting to github.com (140.82.112.4:443) 03:13:37 Connecting to objects.githubusercontent.com (185.199.109.133:443) 03:13:37 saving to '/usr/local/bin/snyk' 03:13:38 snyk 100% |********************************| 102M 0:00:00 ETA 03:13:38 '/usr/local/bin/snyk' saved 03:13:40  03:13:40 added 23 packages in 2s 03:13:40 03:13:40 1 package is looking for funding 03:13:40 run `npm fund` for details 03:13:48 Removing intermediate container 5de921efbba9 03:13:48 ---> 1346f9002662 03:13:48 Step 7/11 : ENV GO111MODULE=on 03:13:48 ---> Running in 1b87b7df3e63 03:13:48 Removing intermediate container 1b87b7df3e63 03:13:48 ---> ce384c478bfd 03:13:48 Step 8/11 : ENTRYPOINT [ "snyk" ] 03:13:48 ---> Running in cf430ac6df11 03:13:48 Removing intermediate container cf430ac6df11 03:13:48 ---> 06f9dbc0c73d 03:13:48 Step 9/11 : CMD [ "monitor" ] 03:13:48 ---> Running in b55c68408119 03:13:48 Removing intermediate container b55c68408119 03:13:48 ---> 644b6f0a1bd9 03:13:48 Step 10/11 : LABEL arch=amd64 03:13:48 ---> Running in f17a9e2e0e6b 03:13:48 Removing intermediate container f17a9e2e0e6b 03:13:48 ---> b7df46edeec2 03:13:48 Step 11/11 : LABEL git_sha=fb7e5ce6626a160a9ab780e02eb002b4243f1059 03:13:48 ---> Running in 4fdfd74c53b6 03:13:48 Removing intermediate container 4fdfd74c53b6 03:13:48 ---> afe7f31a8364 03:13:48 [Warning] One or more build-args [ARCH] were not consumed 03:13:48 Successfully built afe7f31a8364 03:13:48 Successfully tagged edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] echo 03:13:48 [edgeXDocker.push] Tagging docker image edgex-snyk-go with the following tags: 03:13:48 fb7e5ce6626a160a9ab780e02eb002b4243f1059 03:13:48 latest 03:13:48 snyk 03:13:48 latest 03:13:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:49 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:fb7e5ce6626a160a9ab780e02eb002b4243f1059 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:49 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:fb7e5ce6626a160a9ab780e02eb002b4243f1059 03:13:49 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 03:13:49 3a36b7932bdd: Preparing 03:13:49 7851d0b12304: Preparing 03:13:49 5f70bf18a086: Preparing 03:13:49 18013432a13d: Preparing 03:13:49 71f4b0bf608a: Preparing 03:13:49 28d486b7bb53: Preparing 03:13:49 aedc3bda2944: Preparing 03:13:49 aedc3bda2944: Waiting 03:13:49 28d486b7bb53: Waiting 03:13:49 5f70bf18a086: Layer already exists 03:13:49 18013432a13d: Pushed 03:13:49 aedc3bda2944: Layer already exists 03:13:49 28d486b7bb53: Pushed 03:13:53 7851d0b12304: Pushed 03:14:15 71f4b0bf608a: Pushed 03:14:27 3a36b7932bdd: Pushed 03:14:27 fb7e5ce6626a160a9ab780e02eb002b4243f1059: digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 size: 1788 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:28 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:28 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:14:28 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 03:14:28 3a36b7932bdd: Preparing 03:14:28 7851d0b12304: Preparing 03:14:28 5f70bf18a086: Preparing 03:14:28 18013432a13d: Preparing 03:14:28 71f4b0bf608a: Preparing 03:14:28 28d486b7bb53: Preparing 03:14:28 aedc3bda2944: Preparing 03:14:28 28d486b7bb53: Waiting 03:14:28 7851d0b12304: Layer already exists 03:14:28 3a36b7932bdd: Layer already exists 03:14:28 5f70bf18a086: Layer already exists 03:14:28 71f4b0bf608a: Layer already exists 03:14:28 18013432a13d: Layer already exists 03:14:28 28d486b7bb53: Layer already exists 03:14:28 aedc3bda2944: Layer already exists 03:14:28 latest: digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 size: 1788 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:28 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:29 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 03:14:29 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 03:14:29 3a36b7932bdd: Preparing 03:14:29 7851d0b12304: Preparing 03:14:29 5f70bf18a086: Preparing 03:14:29 18013432a13d: Preparing 03:14:29 71f4b0bf608a: Preparing 03:14:29 28d486b7bb53: Preparing 03:14:29 aedc3bda2944: Preparing 03:14:29 28d486b7bb53: Waiting 03:14:29 aedc3bda2944: Waiting 03:14:29 71f4b0bf608a: Layer already exists 03:14:29 18013432a13d: Layer already exists 03:14:29 5f70bf18a086: Layer already exists 03:14:29 3a36b7932bdd: Layer already exists 03:14:29 7851d0b12304: Layer already exists 03:14:29 aedc3bda2944: Layer already exists 03:14:29 28d486b7bb53: Layer already exists 03:14:29 snyk: digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 size: 1788 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:29 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:29 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:14:29 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 03:14:29 3a36b7932bdd: Preparing 03:14:29 7851d0b12304: Preparing 03:14:29 5f70bf18a086: Preparing 03:14:29 18013432a13d: Preparing 03:14:29 71f4b0bf608a: Preparing 03:14:29 28d486b7bb53: Preparing 03:14:29 aedc3bda2944: Preparing 03:14:29 28d486b7bb53: Waiting 03:14:29 aedc3bda2944: Waiting 03:14:29 7851d0b12304: Layer already exists 03:14:29 5f70bf18a086: Layer already exists 03:14:29 71f4b0bf608a: Layer already exists 03:14:29 18013432a13d: Layer already exists 03:14:29 3a36b7932bdd: Layer already exists 03:14:29 28d486b7bb53: Layer already exists 03:14:29 aedc3bda2944: Layer already exists 03:14:29 latest: digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 size: 1788 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:14:29 ===================================================== [Pipeline] echo 03:14:29 taggedImages: 03:14:29 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:fb7e5ce6626a160a9ab780e02eb002b4243f1059 03:14:29 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:14:29 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 03:14:29 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:14:30 03:14:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:14:30 latest: Pulling from edgex-lftools-log-publisher 03:14:30 5eb5b503b376: Pulling fs layer 03:14:30 5c69ac0246d0: Pulling fs layer 03:14:30 ec43610c2a17: Pulling fs layer 03:14:30 3a2ae6a8a46f: Pulling fs layer 03:14:30 33b1e0a273af: Pulling fs layer 03:14:30 5d3b04190fa2: Pulling fs layer 03:14:30 2f39f015ded8: Pulling fs layer 03:14:30 33b1e0a273af: Waiting 03:14:30 3a2ae6a8a46f: Waiting 03:14:30 2f39f015ded8: Waiting 03:14:30 5d3b04190fa2: Waiting 03:14:30 5c69ac0246d0: Verifying Checksum 03:14:30 5c69ac0246d0: Download complete 03:14:30 3a2ae6a8a46f: Verifying Checksum 03:14:30 3a2ae6a8a46f: Download complete 03:14:30 33b1e0a273af: Verifying Checksum 03:14:30 33b1e0a273af: Download complete 03:14:30 5d3b04190fa2: Verifying Checksum 03:14:30 5d3b04190fa2: Download complete 03:14:30 ec43610c2a17: Verifying Checksum 03:14:30 ec43610c2a17: Download complete 03:14:30 5eb5b503b376: Verifying Checksum 03:14:30 5eb5b503b376: Download complete 03:14:31 2f39f015ded8: Download complete 03:14:32 5eb5b503b376: Pull complete 03:14:32 5c69ac0246d0: Pull complete 03:14:32 ec43610c2a17: Pull complete 03:14:32 3a2ae6a8a46f: Pull complete 03:14:33 33b1e0a273af: Pull complete 03:14:33 5d3b04190fa2: Pull complete 03:14:38 2f39f015ded8: Pull complete 03:14:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:14:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:14:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:14:38 prd-ubuntu20.04-docker-8c-8g-655 does not seem to be running inside a container 03:14:38 $ 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/dgexfoundry_ci-build-images_snyk -v /w/workspace/dgexfoundry_ci-build-images_snyk:/w/workspace/dgexfoundry_ci-build-images_snyk:rw,z -v /w/workspace/dgexfoundry_ci-build-images_snyk@tmp:/w/workspace/dgexfoundry_ci-build-images_snyk@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:14:42 $ docker top 757015576ce2c66de9e7b00dfda4b22c8e52859af512abb1d756260ae99de90e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:14:42 ---> job-cost.sh 03:14:42 lf-activate-venv: SKIPPING 03:14:42 INFO: No Stack... 03:14:43 INFO: Retrieving Pricing Info for: v3-standard-8 03:14:43 INFO: Archiving Costs [Pipeline] sh 03:14:43 + cat /w/workspace/dgexfoundry_ci-build-images_snyk/archives/cost.csv 03:14:43 + cut -d, -f6 [Pipeline] lock 03:14:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-ci-build-images-snyk-13-stack-cost] 03:14:44 Resource [jenkins-edgexfoundry-ci-build-images-snyk-13-stack-cost] did not exist. Created. 03:14:44 Lock acquired on [Resource: jenkins-edgexfoundry-ci-build-images-snyk-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:14:44 + echo total: 0.2199999988079071 [Pipeline] stash 03:14:44 Stashed 1 file(s) [Pipeline] } 03:14:44 Lock released on resource [Resource: jenkins-edgexfoundry-ci-build-images-snyk-13-stack-cost] [Pipeline] // lock [Pipeline] } 03:14:44 $ docker stop --time=1 757015576ce2c66de9e7b00dfda4b22c8e52859af512abb1d756260ae99de90e 03:14:45 $ docker rm -f --volumes 757015576ce2c66de9e7b00dfda4b22c8e52859af512abb1d756260ae99de90e [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] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:14:46 + [ -d /w/workspace/dgexfoundry_ci-build-images_snyk/archives ] 03:14:46 + ls -al /w/workspace/dgexfoundry_ci-build-images_snyk/archives 03:14:46 total 16 03:14:46 drwxr-xr-x 3 root root 4096 May 24 03:14 . 03:14:46 drwxrwxr-x 4 jenkins jenkins 4096 May 24 03:14 .. 03:14:46 drwxr-xr-x 2 root root 4096 May 24 03:14 cost 03:14:46 -rw-r--r-- 1 root root 86 May 24 03:14 cost.csv 03:14:46 + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_ci-build-images_snyk/archives 03:14:46 + ls -al /w/workspace/dgexfoundry_ci-build-images_snyk/archives 03:14:46 total 16 03:14:46 drwxr-xr-x 3 jenkins jenkins 4096 May 24 03:14 . 03:14:46 drwxrwxr-x 4 jenkins jenkins 4096 May 24 03:14 .. 03:14:46 drwxr-xr-x 2 jenkins jenkins 4096 May 24 03:14 cost 03:14:46 -rw-r--r-- 1 jenkins jenkins 86 May 24 03:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:14:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:14:47 ---> package-listing.sh 03:14:47 ++ facter osfamily 03:14:47 ++ tr '[:upper:]' '[:lower:]' 03:14:47 + OS_FAMILY=debian 03:14:47 + workspace=/w/workspace/dgexfoundry_ci-build-images_snyk 03:14:47 + START_PACKAGES=/tmp/packages_start.txt 03:14:47 + END_PACKAGES=/tmp/packages_end.txt 03:14:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:14:47 + PACKAGES=/tmp/packages_start.txt 03:14:47 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 03:14:47 + PACKAGES=/tmp/packages_end.txt 03:14:47 + case "${OS_FAMILY}" in 03:14:47 + dpkg -l 03:14:47 + grep '^ii' 03:14:47 + '[' -f /tmp/packages_start.txt ']' 03:14:47 + '[' -f /tmp/packages_end.txt ']' 03:14:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:14:47 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 03:14:47 + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ 03:14:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [Pipeline] echo 03:14:47 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/dgexfoundry_ci-build-images_snyk/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:14:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:14:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:14:48 prd-ubuntu20.04-docker-8c-8g-655 does not seem to be running inside a container 03:14:48 $ 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/dgexfoundry_ci-build-images_snyk/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_ci-build-images_snyk -v /w/workspace/dgexfoundry_ci-build-images_snyk:/w/workspace/dgexfoundry_ci-build-images_snyk:rw,z -v /w/workspace/dgexfoundry_ci-build-images_snyk@tmp:/w/workspace/dgexfoundry_ci-build-images_snyk@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:14:49 $ docker top 798d0d1d3658b947629e0485b5eeebf4af97fcb5a33ccccaf53a0eb45cf8c396 -eo pid,comm [Pipeline] { [Pipeline] sh 03:14:49 + touch /tmp/pre-build-complete [Pipeline] sh 03:14:49 + mkdir -p /var/log/sysstat [Pipeline] sh 03:14:49 + ls /var/log/sa-host 03:14:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:14:50 provisioning config files... 03:14:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config6013475497145387777tmp [Pipeline] { [Pipeline] echo 03:14:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:14:50 ---> create-netrc.sh [Pipeline] } 03:14:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:14:50 ---> python-tools-install.sh [Pipeline] echo 03:14:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:14:50 ---> sudo-logs.sh 03:14:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:14:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:14:51 ---> job-cost.sh 03:14:51 lf-activate-venv: SKIPPING 03:14:51 DEBUG: total: 0.2199999988079071 03:14:51 INFO: Retrieving Stack Cost... 03:14:51 INFO: Retrieving Pricing Info for: v3-standard-8 03:14:51 INFO: Archiving Costs [Pipeline] echo 03:14:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:14:52 ---> logs-deploy.sh 03:14:52 lf-activate-venv: SKIPPING 03:14:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/13 03:14:52 INFO: archiving workspace using pattern(s): 03:14:53 Archives upload complete. 03:14:53 INFO: archiving logs to Nexus