Push event to branch snyk Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1f7ab65da8158b73678a37b9c26089cfd7eb06f1 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-ssh4921591968404629650.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh1105454470933809929.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh5761654804448013956.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh4879040007977709732.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-ssh13194861466723586188.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 ‘prd-ubuntu20.04-docker-8c-8g-13158’ is offline Running on prd-ubuntu20.04-docker-8c-8g-13167 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 Avoid second fetch Checking out Revision 1f7ab65da8158b73678a37b9c26089cfd7eb06f1 (snyk) Commit message: "Merge pull request #220 from jinlinGuan/snyk-upgrade" > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f7ab65da8158b73678a37b9c26089cfd7eb06f1 # timeout=10 > git rev-list --no-walk fb7e5ce6626a160a9ab780e02eb002b4243f1059 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:56:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:56:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:56:15 ========================================================= 03:56:15 EdgeX Global Pipelines Version Info 03:56:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:56:16 ------------------- 03:56:16 stable info: 03:56:16 ------------------- 03:56:16 Commited By: Cherry Wang cherry@iotechsys.com 03:56:16 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 03:56:16 Message: update stable to v1.0.264 03:56:16 ------------------- 03:56:16 experimental info: 03:56:16 ------------------- 03:56:16 Commited By: Cherry Wang cherry@iotechsys.com 03:56:16 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 03:56:16 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 03:56:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 03:56:16 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo 03:56:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 03:56:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:56:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:56:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo 03:56:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 03:56:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 03:56:16 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 03:56:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:56:16 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 03:56:16 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo 03:56:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:56:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:56:17 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo 03:56:17 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = latest [Pipeline] echo 03:56:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = snyk [Pipeline] echo 03:56:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = snyk [Pipeline] echo 03:56:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = snyk [Pipeline] echo 03:56:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f7ab65da8158b73678a37b9c26089cfd7eb06f1 [Pipeline] echo 03:56:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f7ab65 [Pipeline] echo 03:56:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:56:17 provisioning config files... 03:56:17 copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config12088314911247620996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:56:17 ---> ****-login.sh 03:56:17 nexus3.edgexfoundry.org:10001 03:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:56:17 Configure a credential helper to remove this warning. See 03:56:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:56:17 03:56:17 Login Succeeded 03:56:17 nexus3.edgexfoundry.org:10002 03:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:56:18 Configure a credential helper to remove this warning. See 03:56:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:56:18 03:56:18 Login Succeeded 03:56:18 nexus3.edgexfoundry.org:10003 03:56:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:56:18 Configure a credential helper to remove this warning. See 03:56:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:56:18 03:56:18 Login Succeeded 03:56:18 nexus3.edgexfoundry.org:10004 03:56:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:56:18 Configure a credential helper to remove this warning. See 03:56:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:56:18 03:56:18 Login Succeeded 03:56:18 ****.io 03:56:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:56:18 Configure a credential helper to remove this warning. See 03:56:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:56:18 03:56:18 Login Succeeded 03:56:18 ---> ****-login.sh ends [Pipeline] } 03:56: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:56:19 provisioning config files... [Pipeline] // stage [Pipeline] } 03:56:19 copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config2879722670055899816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:56:19 ---> ****-login.sh 03:56:19 nexus3.edgexfoundry.org:10001 03:56:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:56:19 Configure a credential helper to remove this warning. See 03:56:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:56:19 03:56:19 Login Succeeded 03:56:19 nexus3.edgexfoundry.org:10002 03:56:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:56:19 Configure a credential helper to remove this warning. See 03:56:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:56:19 03:56:19 Login Succeeded 03:56:19 nexus3.edgexfoundry.org:10003 03:56:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:56:19 Configure a credential helper to remove this warning. See 03:56:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:56:19 03:56:19 Login Succeeded 03:56:19 nexus3.edgexfoundry.org:10004 03:56:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:56:19 Configure a credential helper to remove this warning. See 03:56:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:56:19 03:56:19 Login Succeeded 03:56:19 ****.io 03:56:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:56:19 Configure a credential helper to remove this warning. See 03:56:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:56:19 03:56:19 Login Succeeded 03:56:19 ---> ****-login.sh ends [Pipeline] } 03:56: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:56:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:56:20 + ls -al . 03:56:20 total 20 03:56:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:56 . 03:56:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:56 .. 03:56:20 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 03:56 .git 03:56:20 -rw-rw-r-- 1 jenkins jenkins 684 Oct 3 03:56 Dockerfile 03:56:20 -rw-rw-r-- 1 jenkins jenkins 933 Oct 3 03:56 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:21 + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=1f7ab65da8158b73678a37b9c26089cfd7eb06f1 --label arch=amd64 . 03:56:21 Sending build context to Docker daemon 477.7kB 03:56:21 Step 1/11 : FROM golang:1.23-alpine3.20 03:56:21 1.23-alpine3.20: Pulling from library/golang 03:56:21 43c4264eed91: Pulling fs layer 03:56:21 4cc291be95ef: Pulling fs layer 03:56:21 2ac1f1163629: Pulling fs layer 03:56:21 5c3c966382ef: Pulling fs layer 03:56:21 4f4fb700ef54: Pulling fs layer 03:56:21 5c3c966382ef: Waiting 03:56:21 4f4fb700ef54: Waiting 03:56:21 4cc291be95ef: Download complete 03:56:21 43c4264eed91: Verifying Checksum 03:56:21 43c4264eed91: Download complete 03:56:21 5c3c966382ef: Download complete 03:56:21 4f4fb700ef54: Verifying Checksum 03:56:21 4f4fb700ef54: Download complete 03:56:21 43c4264eed91: Pull complete 03:56:22 4cc291be95ef: Pull complete 03:56:22 2ac1f1163629: Verifying Checksum 03:56:22 2ac1f1163629: Download complete 03:56:26 2ac1f1163629: Pull complete 03:56:26 5c3c966382ef: Pull complete 03:56:26 4f4fb700ef54: Pull complete 03:56:26 Digest: sha256:9dd2625a1ff2859b8d8b01d8f7822c0f528942fe56cfe7a1e7c38d3b8d72d679 03:56:26 Status: Downloaded newer image for golang:1.23-alpine3.20 03:56:26 ---> 5a72c8b95319 03:56:26 Step 2/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2022: Intel' 03:56:29 ---> Running in 640055625d52 03:56:29 Removing intermediate container 640055625d52 03:56:29 ---> 37b2b238fe95 03:56:29 Step 3/11 : ARG SNYK_VERSION=1.1293.1 03:56:29 ---> Running in 2ab67af6c3d1 03:56:29 Removing intermediate container 2ab67af6c3d1 03:56:29 ---> 775a062b06ac 03:56:29 Step 4/11 : ENV SNYK_VERSION=${SNYK_VERSION} 03:56:29 ---> Running in ee6ef2c206f4 03:56:29 Removing intermediate container ee6ef2c206f4 03:56:29 ---> 559b52925f30 03:56:29 Step 5/11 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 03:56:29 latest: Pulling from library/docker 03:56:29 43c4264eed91: Already exists 03:56:29 eeae0a4c3aab: Pulling fs layer 03:56:29 4f4fb700ef54: Pulling fs layer 03:56:29 cc787dab98b1: Pulling fs layer 03:56:29 4dde54e28b69: Pulling fs layer 03:56:29 f76cc74ad672: Pulling fs layer 03:56:29 c3730cf3cbd1: Pulling fs layer 03:56:29 08f9c6ae64ba: Pulling fs layer 03:56:29 da8ae46b6347: Pulling fs layer 03:56:29 4dde54e28b69: Waiting 03:56:29 f76cc74ad672: Waiting 03:56:29 c3730cf3cbd1: Waiting 03:56:29 08f9c6ae64ba: Waiting 03:56:29 da8ae46b6347: Waiting 03:56:29 3f5a3c6f02f7: Pulling fs layer 03:56:29 238637adc6c9: Pulling fs layer 03:56:29 3f5a3c6f02f7: Waiting 03:56:29 61595ab5b53d: Pulling fs layer 03:56:29 835d4c51c9f5: Pulling fs layer 03:56:29 d29e3ca0965c: Pulling fs layer 03:56:29 238637adc6c9: Waiting 03:56:29 ccb967684857: Pulling fs layer 03:56:29 d29e3ca0965c: Waiting 03:56:29 835d4c51c9f5: Waiting 03:56:29 babf1dc4851c: Pulling fs layer 03:56:29 ccb967684857: Waiting 03:56:29 4f4fb700ef54: Download complete 03:56:29 cc787dab98b1: Verifying Checksum 03:56:29 cc787dab98b1: Download complete 03:56:29 eeae0a4c3aab: Verifying Checksum 03:56:29 eeae0a4c3aab: Download complete 03:56:30 4dde54e28b69: Verifying Checksum 03:56:30 4dde54e28b69: Download complete 03:56:30 f76cc74ad672: Verifying Checksum 03:56:30 f76cc74ad672: Download complete 03:56:30 08f9c6ae64ba: Download complete 03:56:30 eeae0a4c3aab: Pull complete 03:56:30 c3730cf3cbd1: Verifying Checksum 03:56:30 c3730cf3cbd1: Download complete 03:56:30 3f5a3c6f02f7: Download complete 03:56:30 da8ae46b6347: Verifying Checksum 03:56:30 da8ae46b6347: Download complete 03:56:30 4f4fb700ef54: Pull complete 03:56:30 238637adc6c9: Verifying Checksum 03:56:30 238637adc6c9: Download complete 03:56:30 61595ab5b53d: Download complete 03:56:30 835d4c51c9f5: Verifying Checksum 03:56:30 835d4c51c9f5: Download complete 03:56:30 cc787dab98b1: Pull complete 03:56:30 ccb967684857: Verifying Checksum 03:56:30 ccb967684857: Download complete 03:56:30 babf1dc4851c: Verifying Checksum 03:56:30 babf1dc4851c: Download complete 03:56:31 4dde54e28b69: Pull complete 03:56:31 d29e3ca0965c: Download complete 03:56:31 f76cc74ad672: Pull complete 03:56:31 c3730cf3cbd1: Pull complete 03:56:31 08f9c6ae64ba: Pull complete 03:56:31 da8ae46b6347: Pull complete 03:56:32 3f5a3c6f02f7: Pull complete 03:56:32 238637adc6c9: Pull complete 03:56:32 61595ab5b53d: Pull complete 03:56:32 835d4c51c9f5: Pull complete 03:56:33 d29e3ca0965c: Pull complete 03:56:33 ccb967684857: Pull complete 03:56:33 babf1dc4851c: Pull complete 03:56:34 Digest: sha256:8d5039800a368057d99fc0a75167d80f345ac8650850509adc7fe25c64cba9dd 03:56:34 Status: Downloaded newer image for docker:latest 03:56:37 ---> a78fae89ddd0 03:56:37 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:56:37 ---> Running in f31c0d4ab519 03:56:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:56:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:56:38 (1/33) Installing tzdata (2024b-r0) 03:56:38 (2/33) Installing tcl (8.6.14-r1) 03:56:38 (3/33) Installing expect (5.45.4-r4) 03:56:38 (4/33) Installing libgcc (13.2.1_git20240309-r0) 03:56:38 (5/33) Installing jansson (2.14-r4) 03:56:38 (6/33) Installing libstdc++ (13.2.1_git20240309-r0) 03:56:38 (7/33) Installing zstd-libs (1.5.6-r0) 03:56:38 (8/33) Installing binutils (2.42-r0) 03:56:38 (9/33) Installing libgomp (13.2.1_git20240309-r0) 03:56:38 (10/33) Installing libatomic (13.2.1_git20240309-r0) 03:56:38 (11/33) Installing gmp (6.3.0-r1) 03:56:38 (12/33) Installing isl26 (0.26-r1) 03:56:38 (13/33) Installing mpfr4 (4.2.1-r0) 03:56:38 (14/33) Installing mpc1 (1.3.1-r1) 03:56:38 (15/33) Installing gcc (13.2.1_git20240309-r0) 03:56:39 (16/33) Installing brotli-libs (1.1.0-r2) 03:56:39 (17/33) Installing c-ares (1.33.1-r0) 03:56:39 (18/33) Installing libunistring (1.2-r0) 03:56:39 (19/33) Installing libidn2 (2.3.7-r0) 03:56:39 (20/33) Installing nghttp2-libs (1.62.1-r0) 03:56:39 (21/33) Installing libpsl (0.21.5-r1) 03:56:39 (22/33) Installing libcurl (8.10.1-r0) 03:56:39 (23/33) Installing libexpat (2.6.3-r0) 03:56:39 (24/33) Installing pcre2 (10.43-r0) 03:56:39 (25/33) Installing git (2.45.2-r0) 03:56:39 (26/33) Installing git-init-template (2.45.2-r0) 03:56:39 (27/33) Installing musl-dev (1.2.5-r0) 03:56:39 (28/33) Installing ada-libs (2.7.8-r0) 03:56:39 (29/33) Installing libbase64 (0.5.2-r0) 03:56:39 (30/33) Installing icu-data-en (74.2-r0) 03:56:39 Executing icu-data-en-74.2-r0.post-install 03:56:39 * 03:56:39 * If you need ICU with non-English locales and legacy charset support, install 03:56:39 * package icu-data-full. 03:56:39 * 03:56:39 (31/33) Installing icu-libs (74.2-r0) 03:56:39 (32/33) Installing nodejs (20.15.1-r0) 03:56:39 (33/33) Installing npm (10.8.0-r0) 03:56:39 Executing busybox-1.36.1-r29.trigger 03:56:39 OK: 237 MiB in 48 packages 03:56:39 Connecting to github.com (140.82.112.3:443) 03:56:39 Connecting to github.com (140.82.112.3:443) 03:56:40 Connecting to objects.githubusercontent.com (185.199.109.133:443) 03:56:40 saving to '/usr/local/bin/snyk' 03:56:40 snyk 11% |*** | 12.0M 0:00:07 ETA 03:56:40 snyk 100% |********************************| 106M 0:00:00 ETA 03:56:40 '/usr/local/bin/snyk' saved 03:56:42  03:56:42 added 23 packages in 1s 03:56:42 03:56:42 1 package is looking for funding 03:56:42 run `npm fund` for details 03:56:52 Removing intermediate container f31c0d4ab519 03:56:52 ---> 94a13d510d59 03:56:52 Step 7/11 : ENV GO111MODULE=on 03:56:52 ---> Running in de60f0e12292 03:56:52 Removing intermediate container de60f0e12292 03:56:52 ---> 4b7261b92126 03:56:52 Step 8/11 : ENTRYPOINT [ "snyk" ] 03:56:52 ---> Running in 7a4652e86451 03:56:52 Removing intermediate container 7a4652e86451 03:56:52 ---> 3f2802880917 03:56:52 Step 9/11 : CMD [ "monitor" ] 03:56:52 ---> Running in 6378f1f3c35f 03:56:52 Removing intermediate container 6378f1f3c35f 03:56:52 ---> 9836b94a1cb5 03:56:52 Step 10/11 : LABEL arch=amd64 03:56:52 ---> Running in 9d5c7cd409fb 03:56:52 Removing intermediate container 9d5c7cd409fb 03:56:52 ---> be83ceeecb0a 03:56:52 Step 11/11 : LABEL git_sha=1f7ab65da8158b73678a37b9c26089cfd7eb06f1 03:56:52 ---> Running in 7120757f36e7 03:56:52 Removing intermediate container 7120757f36e7 03:56:52 ---> ef5ed6fc951f 03:56:52 [Warning] One or more build-args [ARCH] were not consumed 03:56:52 Successfully built ef5ed6fc951f 03:56:52 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:56:52 [edgeXDocker.push] Tagging docker image edgex-snyk-go with the following tags: 03:56:52 1f7ab65da8158b73678a37b9c26089cfd7eb06f1 03:56:52 latest 03:56:52 snyk 03:56:52 latest 03:56:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:52 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1f7ab65da8158b73678a37b9c26089cfd7eb06f1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:53 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1f7ab65da8158b73678a37b9c26089cfd7eb06f1 03:56:53 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 03:56:53 5e61d4538c03: Preparing 03:56:53 5ea88c2fd876: Preparing 03:56:53 5f70bf18a086: Preparing 03:56:53 e826d2a54efa: Preparing 03:56:53 bb0b3c8fba07: Preparing 03:56:53 201b29c7630a: Preparing 03:56:53 63ca1fbb43ae: Preparing 03:56:53 63ca1fbb43ae: Waiting 03:56:53 201b29c7630a: Waiting 03:56:53 5f70bf18a086: Layer already exists 03:56:53 e826d2a54efa: Layer already exists 03:56:53 bb0b3c8fba07: Layer already exists 03:56:53 201b29c7630a: Layer already exists 03:56:53 63ca1fbb43ae: Layer already exists 03:56:57 5ea88c2fd876: Pushed 03:57:36 5e61d4538c03: Pushed 03:57:36 1f7ab65da8158b73678a37b9c26089cfd7eb06f1: digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b size: 1788 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:36 + 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:57:36 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:57:36 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 03:57:36 5e61d4538c03: Preparing 03:57:36 5ea88c2fd876: Preparing 03:57:36 5f70bf18a086: Preparing 03:57:36 e826d2a54efa: Preparing 03:57:36 bb0b3c8fba07: Preparing 03:57:36 201b29c7630a: Preparing 03:57:36 63ca1fbb43ae: Preparing 03:57:36 201b29c7630a: Waiting 03:57:36 63ca1fbb43ae: Waiting 03:57:36 e826d2a54efa: Layer already exists 03:57:36 5e61d4538c03: Layer already exists 03:57:36 5ea88c2fd876: Layer already exists 03:57:36 5f70bf18a086: Layer already exists 03:57:36 bb0b3c8fba07: Layer already exists 03:57:36 201b29c7630a: Layer already exists 03:57:36 63ca1fbb43ae: Layer already exists 03:57:36 latest: digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b size: 1788 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:37 + 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:57:37 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 03:57:37 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 03:57:37 5e61d4538c03: Preparing 03:57:37 5ea88c2fd876: Preparing 03:57:37 5f70bf18a086: Preparing 03:57:37 e826d2a54efa: Preparing 03:57:37 bb0b3c8fba07: Preparing 03:57:37 201b29c7630a: Preparing 03:57:37 63ca1fbb43ae: Preparing 03:57:37 201b29c7630a: Waiting 03:57:37 63ca1fbb43ae: Waiting 03:57:37 bb0b3c8fba07: Layer already exists 03:57:37 5e61d4538c03: Layer already exists 03:57:37 e826d2a54efa: Layer already exists 03:57:37 5ea88c2fd876: Layer already exists 03:57:37 5f70bf18a086: Layer already exists 03:57:37 63ca1fbb43ae: Layer already exists 03:57:37 201b29c7630a: Layer already exists 03:57:37 snyk: digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b size: 1788 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:37 + 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:57:37 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:57:37 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 03:57:37 5e61d4538c03: Preparing 03:57:37 5ea88c2fd876: Preparing 03:57:37 5f70bf18a086: Preparing 03:57:37 e826d2a54efa: Preparing 03:57:37 bb0b3c8fba07: Preparing 03:57:37 201b29c7630a: Preparing 03:57:37 63ca1fbb43ae: Preparing 03:57:37 201b29c7630a: Waiting 03:57:37 e826d2a54efa: Layer already exists 03:57:37 5f70bf18a086: Layer already exists 03:57:37 bb0b3c8fba07: Layer already exists 03:57:37 5e61d4538c03: Layer already exists 03:57:37 5ea88c2fd876: Layer already exists 03:57:37 63ca1fbb43ae: Layer already exists 03:57:37 201b29c7630a: Layer already exists 03:57:37 latest: digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b size: 1788 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:57:38 ===================================================== [Pipeline] echo 03:57:38 taggedImages: 03:57:38 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1f7ab65da8158b73678a37b9c26089cfd7eb06f1 03:57:38 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:57:38 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 03:57:38 - 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:57:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:57:38 03:57:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:57:38 latest: Pulling from edgex-lftools-log-publisher 03:57:38 5eb5b503b376: Pulling fs layer 03:57:38 5c69ac0246d0: Pulling fs layer 03:57:38 ec43610c2a17: Pulling fs layer 03:57:38 3a2ae6a8a46f: Pulling fs layer 03:57:38 33b1e0a273af: Pulling fs layer 03:57:38 5d3b04190fa2: Pulling fs layer 03:57:38 2f39f015ded8: Pulling fs layer 03:57:38 3a2ae6a8a46f: Waiting 03:57:38 33b1e0a273af: Waiting 03:57:38 2f39f015ded8: Waiting 03:57:38 5d3b04190fa2: Waiting 03:57:38 5c69ac0246d0: Download complete 03:57:38 3a2ae6a8a46f: Download complete 03:57:39 33b1e0a273af: Verifying Checksum 03:57:39 33b1e0a273af: Download complete 03:57:39 ec43610c2a17: Verifying Checksum 03:57:39 ec43610c2a17: Download complete 03:57:39 5d3b04190fa2: Verifying Checksum 03:57:39 5d3b04190fa2: Download complete 03:57:39 5eb5b503b376: Verifying Checksum 03:57:39 5eb5b503b376: Download complete 03:57:39 2f39f015ded8: Verifying Checksum 03:57:39 2f39f015ded8: Download complete 03:57:40 5eb5b503b376: Pull complete 03:57:40 5c69ac0246d0: Pull complete 03:57:41 ec43610c2a17: Pull complete 03:57:41 3a2ae6a8a46f: Pull complete 03:57:41 33b1e0a273af: Pull complete 03:57:41 5d3b04190fa2: Pull complete 03:57:45 2f39f015ded8: Pull complete 03:57:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:57:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:57:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:57:45 prd-ubuntu20.04-docker-8c-8g-13167 does not seem to be running inside a container 03:57:46 $ 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:57:50 $ docker top 15b6638af4ca31262406b697adc6cf1ab006ae7ea945db854852cfe351d44e69 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:57:51 ---> job-cost.sh 03:57:51 lf-activate-venv: SKIPPING 03:57:51 INFO: No Stack... 03:57:51 INFO: Retrieving Pricing Info for: v3-standard-8 03:57:51 INFO: Archiving Costs [Pipeline] sh 03:57:52 + cat /w/workspace/dgexfoundry_ci-build-images_snyk/archives/cost.csv 03:57:52 + cut -d, -f6 [Pipeline] lock 03:57:52 Trying to acquire lock on [Resource: jenkins-edgexfoundry-ci-build-images-snyk-14-stack-cost] 03:57:52 Resource [jenkins-edgexfoundry-ci-build-images-snyk-14-stack-cost] did not exist. Created. 03:57:52 Lock acquired on [Resource: jenkins-edgexfoundry-ci-build-images-snyk-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:57:52 + echo total: 0.2199999988079071 [Pipeline] stash 03:57:52 Stashed 1 file(s) [Pipeline] } 03:57:52 Lock released on resource [Resource: jenkins-edgexfoundry-ci-build-images-snyk-14-stack-cost] [Pipeline] // lock [Pipeline] } 03:57:52 $ docker stop --time=1 15b6638af4ca31262406b697adc6cf1ab006ae7ea945db854852cfe351d44e69 03:57:53 $ docker rm -f --volumes 15b6638af4ca31262406b697adc6cf1ab006ae7ea945db854852cfe351d44e69 [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:57:54 + [ -d /w/workspace/dgexfoundry_ci-build-images_snyk/archives ] 03:57:54 + ls -al /w/workspace/dgexfoundry_ci-build-images_snyk/archives 03:57:54 total 16 03:57:54 drwxr-xr-x 3 root root 4096 Oct 3 03:57 . 03:57:54 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:57 .. 03:57:54 drwxr-xr-x 2 root root 4096 Oct 3 03:57 cost 03:57:54 -rw-r--r-- 1 root root 86 Oct 3 03:57 cost.csv 03:57:54 + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_ci-build-images_snyk/archives 03:57:54 + ls -al /w/workspace/dgexfoundry_ci-build-images_snyk/archives 03:57:54 total 16 03:57:54 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 03:57 . 03:57:54 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:57 .. 03:57:54 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 03:57 cost 03:57:54 -rw-r--r-- 1 jenkins jenkins 86 Oct 3 03:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:57:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:57:55 ---> package-listing.sh 03:57:55 ++ facter osfamily 03:57:55 ++ tr '[:upper:]' '[:lower:]' 03:57:55 + OS_FAMILY=debian 03:57:55 + workspace=/w/workspace/dgexfoundry_ci-build-images_snyk 03:57:55 + START_PACKAGES=/tmp/packages_start.txt 03:57:55 + END_PACKAGES=/tmp/packages_end.txt 03:57:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:57:55 + PACKAGES=/tmp/packages_start.txt 03:57:55 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 03:57:55 + PACKAGES=/tmp/packages_end.txt 03:57:55 + case "${OS_FAMILY}" in 03:57:55 + dpkg -l 03:57:55 + grep '^ii' 03:57:55 + '[' -f /tmp/packages_start.txt ']' 03:57:55 + '[' -f /tmp/packages_end.txt ']' 03:57:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:57:55 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 03:57:55 + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ 03:57:55 + 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:57:55 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:57:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:57:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:57:56 prd-ubuntu20.04-docker-8c-8g-13167 does not seem to be running inside a container 03:57:56 $ 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:57:57 $ docker top 2876f9238d618a10b7340d45f53b77e10fb679ddb37e6fa699128df92c677e47 -eo pid,comm [Pipeline] { [Pipeline] sh 03:57:57 + touch /tmp/pre-build-complete [Pipeline] sh 03:57:57 + mkdir -p /var/log/sysstat [Pipeline] sh 03:57:58 + ls /var/log/sa-host 03:57:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:57:58 provisioning config files... 03:57:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config2483292783141764052tmp [Pipeline] { [Pipeline] echo 03:57:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:57:58 ---> create-netrc.sh [Pipeline] } 03:57:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:57:58 ---> python-tools-install.sh [Pipeline] echo 03:57:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:57:59 ---> sudo-logs.sh 03:57:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:57:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:57:59 ---> job-cost.sh 03:57:59 lf-activate-venv: SKIPPING 03:57:59 DEBUG: total: 0.2199999988079071 03:57:59 INFO: Retrieving Stack Cost... 03:57:59 INFO: Retrieving Pricing Info for: v3-standard-8 03:57:59 INFO: Archiving Costs [Pipeline] echo 03:57:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:57:59 ---> logs-deploy.sh 03:57:59 lf-activate-venv: SKIPPING 03:57:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/14 03:57:59 INFO: archiving workspace using pattern(s): 03:58:00 Archives upload complete. 03:58:01 INFO: archiving logs to Nexus