Started by user Cloud Tsai Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fe725ecbe59fb01d26fc59a142f73164b49a3ace 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-ssh14409821080654179139.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-ssh12912279756105315725.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-ssh7519210756351030657.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-ssh4049090213198134050.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-ssh15487981040903557627.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:[1.1025.0], 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.1025.0 [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-645’ is offline Running on prd-ubuntu20.04-docker-8c-8g-651 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 Avoid second fetch Checking out Revision fe725ecbe59fb01d26fc59a142f73164b49a3ace (snyk) Commit message: "Merge pull request #205 from ernestojeda/snyk" > 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 core.sparsecheckout # timeout=10 > git checkout -f fe725ecbe59fb01d26fc59a142f73164b49a3ace # timeout=10 > git rev-list --no-walk fe725ecbe59fb01d26fc59a142f73164b49a3ace # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:31:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:31:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:31:36 ========================================================= 02:31:36 EdgeX Global Pipelines Version Info 02:31:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:31:36 ------------------- 02:31:36 stable info: 02:31:36 ------------------- 02:31:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:31:36 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 02:31:36 Message: update stable to v1.0.258 02:31:37 ------------------- 02:31:37 experimental info: 02:31:37 ------------------- 02:31:37 Commited By: **** collab-it+edgex@linuxfoundation.org 02:31:37 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 02:31:37 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.1025.0 [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = snyk [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = snyk [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = snyk [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fe725ecbe59fb01d26fc59a142f73164b49a3ace [Pipeline] echo 02:31:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fe725ec [Pipeline] echo 02:31:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:31:38 provisioning config files... 02:31:38 copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config4735235495453880567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:38 ---> ****-login.sh 02:31:38 nexus3.edgexfoundry.org:10001 02:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:38 Configure a credential helper to remove this warning. See 02:31:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:38 02:31:38 Login Succeeded 02:31:38 nexus3.edgexfoundry.org:10002 02:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:38 Configure a credential helper to remove this warning. See 02:31:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:38 02:31:38 Login Succeeded 02:31:38 nexus3.edgexfoundry.org:10003 02:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:38 Configure a credential helper to remove this warning. See 02:31:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:38 02:31:38 Login Succeeded 02:31:38 nexus3.edgexfoundry.org:10004 02:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:39 Configure a credential helper to remove this warning. See 02:31:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:39 02:31:39 Login Succeeded 02:31:39 ****.io 02:31:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:39 Configure a credential helper to remove this warning. See 02:31:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:39 02:31:39 Login Succeeded 02:31:39 ---> ****-login.sh ends [Pipeline] } 02:31:39 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 02:31:39 provisioning config files... [Pipeline] // stage [Pipeline] } 02:31:39 copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config10959720495321693859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:40 ---> ****-login.sh 02:31:40 nexus3.edgexfoundry.org:10001 02:31:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:40 Configure a credential helper to remove this warning. See 02:31:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:40 02:31:40 Login Succeeded 02:31:40 nexus3.edgexfoundry.org:10002 02:31:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:40 Configure a credential helper to remove this warning. See 02:31:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:40 02:31:40 Login Succeeded 02:31:40 nexus3.edgexfoundry.org:10003 02:31:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:40 Configure a credential helper to remove this warning. See 02:31:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:40 02:31:40 Login Succeeded 02:31:40 nexus3.edgexfoundry.org:10004 02:31:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:40 Configure a credential helper to remove this warning. See 02:31:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:40 02:31:40 Login Succeeded 02:31:40 ****.io 02:31:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:40 Configure a credential helper to remove this warning. See 02:31:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:40 02:31:40 Login Succeeded 02:31:40 ---> ****-login.sh ends [Pipeline] } 02:31:40 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 02:31:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:31:41 + ls -al . 02:31:41 total 20 02:31:41 drwxrwxr-x 3 jenkins jenkins 4096 May 24 02:31 . 02:31:41 drwxrwxr-x 4 jenkins jenkins 4096 May 24 02:31 .. 02:31:41 drwxrwxr-x 8 jenkins jenkins 4096 May 24 02:31 .git 02:31:41 -rw-rw-r-- 1 jenkins jenkins 642 May 24 02:31 Dockerfile 02:31:41 -rw-rw-r-- 1 jenkins jenkins 902 May 24 02:31 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:42 + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=fe725ecbe59fb01d26fc59a142f73164b49a3ace --label arch=amd64 . 02:31:42 Sending build context to Docker daemon 469.5kB 02:31:42 Step 1/11 : FROM golang:1.20-alpine3.17 02:31:42 1.20-alpine3.17: Pulling from library/golang 02:31:42 1207c741d8c9: Pulling fs layer 02:31:42 1076a316ce23: Pulling fs layer 02:31:42 d43201e04ef4: Pulling fs layer 02:31:42 1100e2ae6983: Pulling fs layer 02:31:42 1100e2ae6983: Waiting 02:31:42 1076a316ce23: Verifying Checksum 02:31:42 1076a316ce23: Download complete 02:31:42 1207c741d8c9: Verifying Checksum 02:31:42 1207c741d8c9: Download complete 02:31:42 1100e2ae6983: Download complete 02:31:42 1207c741d8c9: Pull complete 02:31:43 1076a316ce23: Pull complete 02:31:43 d43201e04ef4: Verifying Checksum 02:31:43 d43201e04ef4: Download complete 02:31:46 d43201e04ef4: Pull complete 02:31:46 1100e2ae6983: Pull complete 02:31:46 Digest: sha256:4a411169cbb7af700b15708042b4d695f28af169e4ba22e65fc06b987ce2cbf9 02:31:46 Status: Downloaded newer image for golang:1.20-alpine3.17 02:31:46 ---> 373377cc9f0d 02:31:46 Step 2/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2022: Intel' 02:31:49 ---> Running in 11a91b759ff8 02:31:49 Removing intermediate container 11a91b759ff8 02:31:49 ---> a784c86e0cca 02:31:49 Step 3/11 : ARG SNYK_VERSION=1.1025.0 02:31:49 ---> Running in 8f7b4ee6aeaa 02:31:49 Removing intermediate container 8f7b4ee6aeaa 02:31:49 ---> 96b4771a03fa 02:31:49 Step 4/11 : ENV SNYK_VERSION=${SNYK_VERSION} 02:31:49 ---> Running in 6e35c4cb4eac 02:31:49 Removing intermediate container 6e35c4cb4eac 02:31:49 ---> 15bccf9e9220 02:31:49 Step 5/11 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 02:31:50 latest: Pulling from library/docker 02:31:50 d25f557d7f31: Pulling fs layer 02:31:50 6e0cb2a59ced: Pulling fs layer 02:31:50 4f4fb700ef54: Pulling fs layer 02:31:50 eb247a8f83e7: Pulling fs layer 02:31:50 f32499521033: Pulling fs layer 02:31:50 e38fd5a68d34: Pulling fs layer 02:31:50 421921fd35be: Pulling fs layer 02:31:50 8bcd32e1b4bb: Pulling fs layer 02:31:50 6456e0b39317: Pulling fs layer 02:31:50 4d97db5952e9: Pulling fs layer 02:31:50 f32499521033: Waiting 02:31:50 859ef0cd825e: Pulling fs layer 02:31:50 eb247a8f83e7: Waiting 02:31:50 e46152ab1f3a: Pulling fs layer 02:31:50 c4b13da4650b: Pulling fs layer 02:31:50 e38fd5a68d34: Waiting 02:31:50 b0e2fc653a42: Pulling fs layer 02:31:50 8bcd32e1b4bb: Waiting 02:31:50 421921fd35be: Waiting 02:31:50 6456e0b39317: Waiting 02:31:50 6858fca25ac0: Pulling fs layer 02:31:50 e46152ab1f3a: Waiting 02:31:50 e95be673f87c: Pulling fs layer 02:31:50 c4b13da4650b: Waiting 02:31:50 b0e2fc653a42: Waiting 02:31:50 859ef0cd825e: Waiting 02:31:50 e95be673f87c: Waiting 02:31:50 4d97db5952e9: Waiting 02:31:50 d25f557d7f31: Download complete 02:31:50 eb247a8f83e7: Verifying Checksum 02:31:50 eb247a8f83e7: Download complete 02:31:50 4f4fb700ef54: Verifying Checksum 02:31:50 4f4fb700ef54: Download complete 02:31:50 6e0cb2a59ced: Verifying Checksum 02:31:50 6e0cb2a59ced: Download complete 02:31:50 d25f557d7f31: Pull complete 02:31:50 f32499521033: Verifying Checksum 02:31:50 f32499521033: Download complete 02:31:50 e38fd5a68d34: Verifying Checksum 02:31:50 e38fd5a68d34: Download complete 02:31:50 421921fd35be: Verifying Checksum 02:31:50 421921fd35be: Download complete 02:31:50 8bcd32e1b4bb: Verifying Checksum 02:31:50 8bcd32e1b4bb: Download complete 02:31:50 6456e0b39317: Verifying Checksum 02:31:50 6456e0b39317: Download complete 02:31:50 4d97db5952e9: Verifying Checksum 02:31:50 4d97db5952e9: Download complete 02:31:51 e46152ab1f3a: Download complete 02:31:51 c4b13da4650b: Verifying Checksum 02:31:51 c4b13da4650b: Download complete 02:31:51 6e0cb2a59ced: Pull complete 02:31:51 859ef0cd825e: Verifying Checksum 02:31:51 859ef0cd825e: Download complete 02:31:51 6858fca25ac0: Verifying Checksum 02:31:51 6858fca25ac0: Download complete 02:31:51 e95be673f87c: Verifying Checksum 02:31:51 e95be673f87c: Download complete 02:31:51 4f4fb700ef54: Pull complete 02:31:51 b0e2fc653a42: Verifying Checksum 02:31:51 b0e2fc653a42: Download complete 02:31:52 eb247a8f83e7: Pull complete 02:31:53 f32499521033: Pull complete 02:31:53 e38fd5a68d34: Pull complete 02:31:54 421921fd35be: Pull complete 02:31:55 8bcd32e1b4bb: Pull complete 02:31:55 6456e0b39317: Pull complete 02:31:55 4d97db5952e9: Pull complete 02:31:55 859ef0cd825e: Pull complete 02:31:55 e46152ab1f3a: Pull complete 02:31:55 c4b13da4650b: Pull complete 02:31:56 b0e2fc653a42: Pull complete 02:31:56 6858fca25ac0: Pull complete 02:31:56 e95be673f87c: Pull complete 02:31:56 Digest: sha256:a811114bcd41954bc9b6577469ce7e648ee600c864e815e535aac79e50439352 02:31:56 Status: Downloaded newer image for docker:latest 02:32:00 ---> 716521a23692 02:32:00 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 02:32:00 ---> Running in 610265d0780b 02:32:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:32:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:32:00 (1/26) Installing tzdata (2024a-r0) 02:32:00 (2/26) Installing tcl (8.6.12-r1) 02:32:01 (3/26) Installing expect (5.45.4-r3) 02:32:01 (4/26) Installing libgcc (12.2.1_git20220924-r4) 02:32:01 (5/26) Installing libstdc++ (12.2.1_git20220924-r4) 02:32:01 (6/26) Installing binutils (2.39-r2) 02:32:01 (7/26) Installing libgomp (12.2.1_git20220924-r4) 02:32:01 (8/26) Installing libatomic (12.2.1_git20220924-r4) 02:32:01 (9/26) Installing gmp (6.2.1-r2) 02:32:01 (10/26) Installing isl25 (0.25-r1) 02:32:01 (11/26) Installing mpfr4 (4.1.0-r0) 02:32:01 (12/26) Installing mpc1 (1.2.1-r1) 02:32:01 (13/26) Installing gcc (12.2.1_git20220924-r4) 02:32:01 (14/26) Installing brotli-libs (1.0.9-r9) 02:32:01 (15/26) Installing nghttp2-libs (1.51.0-r2) 02:32:01 (16/26) Installing libcurl (8.5.0-r0) 02:32:01 (17/26) Installing libexpat (2.6.2-r0) 02:32:01 (18/26) Installing pcre2 (10.42-r0) 02:32:01 (19/26) Installing git (2.38.5-r0) 02:32:02 (20/26) Installing musl-dev (1.2.3-r5) 02:32:02 (21/26) Installing libc-dev (0.7.2-r3) 02:32:02 (22/26) Installing c-ares (1.19.1-r1) 02:32:02 (23/26) Installing icu-data-en (72.1-r1) 02:32:02 Executing icu-data-en-72.1-r1.post-install 02:32:02 * 02:32:02 * If you need ICU with non-English locales and legacy charset support, install 02:32:02 * package icu-data-full. 02:32:02 * 02:32:02 (24/26) Installing icu-libs (72.1-r1) 02:32:02 (25/26) Installing nodejs (18.20.1-r0) 02:32:02 (26/26) Installing npm (9.1.2-r0) 02:32:02 Executing busybox-1.35.0-r29.trigger 02:32:02 OK: 226 MiB in 42 packages 02:32:02 Connecting to github.com (140.82.112.3:443) 02:32:02 Connecting to github.com (140.82.112.3:443) 02:32:03 Connecting to objects.githubusercontent.com (185.199.109.133:443) 02:32:03 saving to '/usr/local/bin/snyk' 02:32:03 snyk 58% |****************** | 32.1M 0:00:00 ETA 02:32:03 snyk 100% |********************************| 54.7M 0:00:00 ETA 02:32:03 '/usr/local/bin/snyk' saved 02:32:05  02:32:05 added 23 packages in 2s 02:32:05 02:32:05 1 package is looking for funding 02:32:05 run `npm fund` for details 02:32:13 Removing intermediate container 610265d0780b 02:32:13 ---> 8b79245bfe64 02:32:13 Step 7/11 : ENV GO111MODULE=on 02:32:13 ---> Running in 143a4440ae5f 02:32:13 Removing intermediate container 143a4440ae5f 02:32:13 ---> dc1cdcd5a418 02:32:13 Step 8/11 : ENTRYPOINT [ "snyk" ] 02:32:13 ---> Running in a9f0cfc6fade 02:32:13 Removing intermediate container a9f0cfc6fade 02:32:13 ---> d9e0b2d436f0 02:32:13 Step 9/11 : CMD [ "monitor" ] 02:32:13 ---> Running in 03704d349f81 02:32:13 Removing intermediate container 03704d349f81 02:32:13 ---> 6023e382136d 02:32:13 Step 10/11 : LABEL arch=amd64 02:32:13 ---> Running in 7d35d319ca62 02:32:13 Removing intermediate container 7d35d319ca62 02:32:13 ---> 82c85d581982 02:32:13 Step 11/11 : LABEL git_sha=fe725ecbe59fb01d26fc59a142f73164b49a3ace 02:32:13 ---> Running in b5d82fcee948 02:32:13 Removing intermediate container b5d82fcee948 02:32:13 ---> a7f56f018063 02:32:13 [Warning] One or more build-args [ARCH] were not consumed 02:32:13 Successfully built a7f56f018063 02:32:13 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 02:32:14 [edgeXDocker.push] Tagging docker image edgex-snyk-go with the following tags: 02:32:14 fe725ecbe59fb01d26fc59a142f73164b49a3ace 02:32:14 latest 02:32:14 snyk 02:32:14 1.1025.0 02:32:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:14 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:fe725ecbe59fb01d26fc59a142f73164b49a3ace [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:14 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:fe725ecbe59fb01d26fc59a142f73164b49a3ace 02:32:14 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 02:32:14 dc23a1218b8d: Preparing 02:32:14 ac1479575486: Preparing 02:32:14 8a0b9f1376ff: Preparing 02:32:14 28caa223231c: Preparing 02:32:14 ad6030577198: Preparing 02:32:14 617df26c9e2b: Preparing 02:32:14 617df26c9e2b: Waiting 02:32:14 ad6030577198: Pushed 02:32:14 8a0b9f1376ff: Pushed 02:32:15 617df26c9e2b: Pushed 02:32:18 ac1479575486: Pushed 02:32:40 28caa223231c: Pushed 02:32:42 dc23a1218b8d: Pushed 02:32:42 fe725ecbe59fb01d26fc59a142f73164b49a3ace: digest: sha256:242ccc5ec4bded050cf027468bcbe2205d5714b24c3f4bb475211faa065e9baf size: 1583 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:43 + 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 02:32:43 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:32:43 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 02:32:43 dc23a1218b8d: Preparing 02:32:43 ac1479575486: Preparing 02:32:43 8a0b9f1376ff: Preparing 02:32:43 28caa223231c: Preparing 02:32:43 ad6030577198: Preparing 02:32:43 617df26c9e2b: Preparing 02:32:43 617df26c9e2b: Waiting 02:32:43 28caa223231c: Layer already exists 02:32:43 8a0b9f1376ff: Layer already exists 02:32:43 ac1479575486: Layer already exists 02:32:43 dc23a1218b8d: Layer already exists 02:32:43 ad6030577198: Layer already exists 02:32:43 617df26c9e2b: Layer already exists 02:32:43 latest: digest: sha256:242ccc5ec4bded050cf027468bcbe2205d5714b24c3f4bb475211faa065e9baf size: 1583 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:43 + 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 02:32:44 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 02:32:44 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 02:32:44 dc23a1218b8d: Preparing 02:32:44 ac1479575486: Preparing 02:32:44 8a0b9f1376ff: Preparing 02:32:44 28caa223231c: Preparing 02:32:44 ad6030577198: Preparing 02:32:44 617df26c9e2b: Preparing 02:32:44 617df26c9e2b: Waiting 02:32:44 ac1479575486: Layer already exists 02:32:44 ad6030577198: Layer already exists 02:32:44 dc23a1218b8d: Layer already exists 02:32:44 28caa223231c: Layer already exists 02:32:44 8a0b9f1376ff: Layer already exists 02:32:44 617df26c9e2b: Layer already exists 02:32:44 snyk: digest: sha256:242ccc5ec4bded050cf027468bcbe2205d5714b24c3f4bb475211faa065e9baf size: 1583 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:44 + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.1025.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:44 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.1025.0 02:32:44 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 02:32:44 dc23a1218b8d: Preparing 02:32:44 ac1479575486: Preparing 02:32:44 8a0b9f1376ff: Preparing 02:32:44 28caa223231c: Preparing 02:32:44 ad6030577198: Preparing 02:32:44 617df26c9e2b: Preparing 02:32:44 617df26c9e2b: Waiting 02:32:44 ad6030577198: Layer already exists 02:32:44 8a0b9f1376ff: Layer already exists 02:32:44 ac1479575486: Layer already exists 02:32:44 28caa223231c: Layer already exists 02:32:44 dc23a1218b8d: Layer already exists 02:32:44 617df26c9e2b: Layer already exists 02:32:44 1.1025.0: digest: sha256:242ccc5ec4bded050cf027468bcbe2205d5714b24c3f4bb475211faa065e9baf size: 1583 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:32:44 ===================================================== [Pipeline] echo 02:32:44 taggedImages: 02:32:44 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:fe725ecbe59fb01d26fc59a142f73164b49a3ace 02:32:44 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:32:44 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 02:32:44 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.1025.0 [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 02:32:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:45 02:32:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:45 latest: Pulling from edgex-lftools-log-publisher 02:32:45 5eb5b503b376: Pulling fs layer 02:32:45 5c69ac0246d0: Pulling fs layer 02:32:45 ec43610c2a17: Pulling fs layer 02:32:45 3a2ae6a8a46f: Pulling fs layer 02:32:45 33b1e0a273af: Pulling fs layer 02:32:45 5d3b04190fa2: Pulling fs layer 02:32:45 2f39f015ded8: Pulling fs layer 02:32:45 33b1e0a273af: Waiting 02:32:45 2f39f015ded8: Waiting 02:32:45 3a2ae6a8a46f: Waiting 02:32:45 5d3b04190fa2: Waiting 02:32:45 5c69ac0246d0: Download complete 02:32:45 3a2ae6a8a46f: Download complete 02:32:45 33b1e0a273af: Verifying Checksum 02:32:45 33b1e0a273af: Download complete 02:32:45 5d3b04190fa2: Verifying Checksum 02:32:45 5d3b04190fa2: Download complete 02:32:45 ec43610c2a17: Verifying Checksum 02:32:45 ec43610c2a17: Download complete 02:32:45 5eb5b503b376: Verifying Checksum 02:32:46 2f39f015ded8: Download complete 02:32:46 5eb5b503b376: Pull complete 02:32:46 5c69ac0246d0: Pull complete 02:32:47 ec43610c2a17: Pull complete 02:32:47 3a2ae6a8a46f: Pull complete 02:32:47 33b1e0a273af: Pull complete 02:32:47 5d3b04190fa2: Pull complete 02:32:51 2f39f015ded8: Pull complete 02:32:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:32:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:52 prd-ubuntu20.04-docker-8c-8g-651 does not seem to be running inside a container 02:32:52 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:32:56 $ docker top b520ce3b3e1a0dc63906686af277cfb2a6c99e7de36ec7aa02ea395fe1c5f75d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:32:57 ---> job-cost.sh 02:32:57 lf-activate-venv: SKIPPING 02:32:57 INFO: No Stack... 02:32:57 INFO: Retrieving Pricing Info for: v3-standard-8 02:32:57 INFO: Archiving Costs [Pipeline] sh 02:32:58 + cat /w/workspace/dgexfoundry_ci-build-images_snyk/archives/cost.csv 02:32:58 + cut -d, -f6 [Pipeline] lock 02:32:58 Trying to acquire lock on [Resource: jenkins-edgexfoundry-ci-build-images-snyk-12-stack-cost] 02:32:58 Resource [jenkins-edgexfoundry-ci-build-images-snyk-12-stack-cost] did not exist. Created. 02:32:58 Lock acquired on [Resource: jenkins-edgexfoundry-ci-build-images-snyk-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:32:58 + echo total: 0.2199999988079071 [Pipeline] stash 02:32:58 Stashed 1 file(s) [Pipeline] } 02:32:58 Lock released on resource [Resource: jenkins-edgexfoundry-ci-build-images-snyk-12-stack-cost] [Pipeline] // lock [Pipeline] } 02:32:58 $ docker stop --time=1 b520ce3b3e1a0dc63906686af277cfb2a6c99e7de36ec7aa02ea395fe1c5f75d 02:32:59 $ docker rm -f --volumes b520ce3b3e1a0dc63906686af277cfb2a6c99e7de36ec7aa02ea395fe1c5f75d [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 02:33:00 + [ -d /w/workspace/dgexfoundry_ci-build-images_snyk/archives ] 02:33:00 + ls -al /w/workspace/dgexfoundry_ci-build-images_snyk/archives 02:33:00 total 16 02:33:00 drwxr-xr-x 3 root root 4096 May 24 02:32 . 02:33:00 drwxrwxr-x 4 jenkins jenkins 4096 May 24 02:32 .. 02:33:00 drwxr-xr-x 2 root root 4096 May 24 02:32 cost 02:33:00 -rw-r--r-- 1 root root 86 May 24 02:32 cost.csv 02:33:00 + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_ci-build-images_snyk/archives 02:33:00 + ls -al /w/workspace/dgexfoundry_ci-build-images_snyk/archives 02:33:00 total 16 02:33:00 drwxr-xr-x 3 jenkins jenkins 4096 May 24 02:32 . 02:33:00 drwxrwxr-x 4 jenkins jenkins 4096 May 24 02:32 .. 02:33:00 drwxr-xr-x 2 jenkins jenkins 4096 May 24 02:32 cost 02:33:00 -rw-r--r-- 1 jenkins jenkins 86 May 24 02:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:33:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:33:01 ---> package-listing.sh 02:33:01 ++ facter osfamily 02:33:01 ++ tr '[:upper:]' '[:lower:]' 02:33:01 + OS_FAMILY=debian 02:33:01 + workspace=/w/workspace/dgexfoundry_ci-build-images_snyk 02:33:01 + START_PACKAGES=/tmp/packages_start.txt 02:33:01 + END_PACKAGES=/tmp/packages_end.txt 02:33:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:33:01 + PACKAGES=/tmp/packages_start.txt 02:33:01 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 02:33:01 + PACKAGES=/tmp/packages_end.txt 02:33:01 + case "${OS_FAMILY}" in 02:33:01 + dpkg -l 02:33:01 + grep '^ii' 02:33:02 + '[' -f /tmp/packages_start.txt ']' 02:33:02 + '[' -f /tmp/packages_end.txt ']' 02:33:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:33:02 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 02:33:02 + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ 02:33:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [Pipeline] echo 02:33:02 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 02:33:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:33:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:03 prd-ubuntu20.04-docker-8c-8g-651 does not seem to be running inside a container 02:33:03 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:33:03 $ docker top 30f15f530ca225940547544193e91a5219c7769f7434ac54ed0c3d87a97c5b9a -eo pid,comm [Pipeline] { [Pipeline] sh 02:33:03 + touch /tmp/pre-build-complete [Pipeline] sh 02:33:03 + mkdir -p /var/log/sysstat [Pipeline] sh 02:33:04 + ls /var/log/sa-host 02:33:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:33:04 provisioning config files... 02:33:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config12579816113636935014tmp [Pipeline] { [Pipeline] echo 02:33:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:33:04 ---> create-netrc.sh [Pipeline] } 02:33:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:33:05 ---> python-tools-install.sh [Pipeline] echo 02:33:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:33:05 ---> sudo-logs.sh 02:33:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:33:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:33:05 ---> job-cost.sh 02:33:05 lf-activate-venv: SKIPPING 02:33:05 DEBUG: total: 0.2199999988079071 02:33:05 INFO: Retrieving Stack Cost... 02:33:05 INFO: Retrieving Pricing Info for: v3-standard-8 02:33:06 INFO: Archiving Costs [Pipeline] echo 02:33:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:33:06 ---> logs-deploy.sh 02:33:06 lf-activate-venv: SKIPPING 02:33:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/12 02:33:06 INFO: archiving workspace using pattern(s): 02:33:07 Archives upload complete. 02:33:07 INFO: archiving logs to Nexus 02:33:08 ---> uname -a: 02:33:08 Linux prd-ubuntu20-04-docker-8c-8g-651 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:33:08 02:33:08 02:33:08 ---> lscpu: 02:33:08 Architecture: x86_64 02:33:08 CPU op-mode(s): 32-bit, 64-bit 02:33:08 Byte Order: Little Endian 02:33:08 Address sizes: 40 bits physical, 48 bits virtual 02:33:08 CPU(s): 8 02:33:08 On-line CPU(s) list: 0-7 02:33:08 Thread(s) per core: 1 02:33:08 Core(s) per socket: 1 02:33:08 Socket(s): 8 02:33:08 NUMA node(s): 1 02:33:08 Vendor ID: AuthenticAMD 02:33:08 CPU family: 23 02:33:08 Model: 49 02:33:08 Model name: AMD EPYC-Rome Processor 02:33:08 Stepping: 0 02:33:08 CPU MHz: 2799.998 02:33:08 BogoMIPS: 5599.99 02:33:08 Virtualization: AMD-V 02:33:08 Hypervisor vendor: KVM 02:33:08 Virtualization type: full 02:33:08 L1d cache: 256 KiB 02:33:08 L1i cache: 256 KiB 02:33:08 L2 cache: 4 MiB 02:33:08 L3 cache: 128 MiB 02:33:08 NUMA node0 CPU(s): 0-7 02:33:08 Vulnerability Itlb multihit: Not affected 02:33:08 Vulnerability L1tf: Not affected 02:33:08 Vulnerability Mds: Not affected 02:33:08 Vulnerability Meltdown: Not affected 02:33:08 Vulnerability Mmio stale data: Not affected 02:33:08 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:33:08 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:33:08 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:33:08 Vulnerability Srbds: Not affected 02:33:08 Vulnerability Tsx async abort: Not affected 02:33:08 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 02:33:08 02:33:08 02:33:08 ---> nproc: 02:33:08 8 02:33:08 02:33:08 02:33:08 ---> df -h: 02:33:08 Filesystem Size Used Avail Use% Mounted on 02:33:08 overlay 155G 11G 145G 7% / 02:33:08 tmpfs 64M 0 64M 0% /dev 02:33:08 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:33:08 shm 64M 0 64M 0% /dev/shm 02:33:08 /dev/vda1 155G 11G 145G 7% /facter-os 02:33:08 02:33:08 02:33:08 ---> sar -b -r -n DEV: 02:33:08 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-651) 05/24/24 _x86_64_ (8 CPU) 02:33:08 02:33:08 02:30:54 LINUX RESTART (8 CPU) 02:33:08 02:33:08 02:31:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:33:08 02:32:01 371.67 47.63 324.05 0.00 5356.71 185742.91 0.00 02:33:08 02:33:01 92.63 0.85 91.78 0.00 61.32 37742.24 0.00 02:33:08 Average: 232.15 24.24 207.92 0.00 2709.02 111742.58 0.00 02:33:08 02:33:08 02:31:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:33:08 02:32:01 29353440 31519216 822128 2.50 62500 2389416 1967048 5.80 1040980 2130408 101832 02:33:08 02:33:01 28647380 31523104 790340 2.40 87024 3036184 1829636 5.39 1068824 2747656 400 02:33:08 Average: 29000410 31521160 806234 2.45 74762 2712800 1898342 5.59 1054902 2439032 51116 02:33:08 02:33:08 02:31:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:33:08 02:32:01 docker0 11.85 36.56 0.66 742.04 0.00 0.00 0.00 0.00 02:33:08 02:32:01 ens3 572.32 335.89 5374.73 87.17 0.00 0.00 0.00 0.00 02:33:08 02:32:01 veth3cf37d7 11.85 36.61 0.82 742.05 0.00 0.00 0.00 0.06 02:33:08 02:32:01 lo 7.87 7.87 0.84 0.84 0.00 0.00 0.00 0.00 02:33:08 02:33:01 docker0 40.54 72.59 2.66 1572.62 0.00 0.00 0.00 0.00 02:33:08 02:33:01 ens3 563.22 495.62 4170.79 3958.75 0.00 0.00 0.00 0.00 02:33:08 02:33:01 lo 5.53 5.53 0.54 0.54 0.00 0.00 0.00 0.00 02:33:08 Average: docker0 26.20 54.57 1.66 1157.33 0.00 0.00 0.00 0.00 02:33:08 Average: ens3 567.77 415.76 4772.76 2022.96 0.00 0.00 0.00 0.00 02:33:08 Average: lo 6.70 6.70 0.69 0.69 0.00 0.00 0.00 0.00 02:33:08 02:33:08 02:33:08 ---> sar -P ALL: 02:33:08 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-651) 05/24/24 _x86_64_ (8 CPU) 02:33:08 02:33:08 02:30:54 LINUX RESTART (8 CPU) 02:33:08 02:33:08 02:31:01 CPU %user %nice %system %iowait %steal %idle 02:33:08 02:32:01 all 7.65 0.00 2.43 4.16 0.06 85.70 02:33:08 02:32:01 0 7.67 0.00 3.71 9.45 0.05 79.12 02:33:08 02:32:01 1 5.59 0.00 1.78 1.76 0.03 90.84 02:33:08 02:32:01 2 9.74 0.00 2.41 1.62 0.07 86.16 02:33:08 02:32:01 3 6.66 0.00 2.13 1.27 0.05 89.88 02:33:08 02:32:01 4 6.52 0.00 2.56 5.82 0.07 85.04 02:33:08 02:32:01 5 10.34 0.00 2.27 2.66 0.05 84.69 02:33:08 02:32:01 6 7.05 0.00 2.77 3.43 0.07 86.69 02:33:08 02:32:01 7 7.61 0.00 1.85 7.30 0.07 83.18 02:33:08 02:33:01 all 15.20 0.00 2.14 1.94 0.07 80.65 02:33:08 02:33:01 0 15.77 0.00 2.21 6.21 0.07 75.74 02:33:08 02:33:01 1 15.83 0.00 1.92 0.97 0.07 81.21 02:33:08 02:33:01 2 10.45 0.00 1.60 0.02 0.05 87.89 02:33:08 02:33:01 3 15.25 0.00 2.29 0.03 0.05 82.37 02:33:08 02:33:01 4 17.22 0.00 1.97 2.32 0.07 78.42 02:33:08 02:33:01 5 13.66 0.00 1.56 0.02 0.07 84.69 02:33:08 02:33:01 6 16.98 0.00 2.24 0.05 0.07 80.67 02:33:08 02:33:01 7 16.48 0.00 3.34 5.86 0.08 74.23 02:33:08 Average: all 11.42 0.00 2.29 3.05 0.06 83.18 02:33:08 Average: 0 11.72 0.00 2.96 7.83 0.06 77.43 02:33:08 Average: 1 10.70 0.00 1.85 1.37 0.05 86.03 02:33:08 Average: 2 10.09 0.00 2.00 0.82 0.06 87.02 02:33:08 Average: 3 10.95 0.00 2.21 0.66 0.05 86.14 02:33:08 Average: 4 11.87 0.00 2.26 4.07 0.07 81.73 02:33:08 Average: 5 12.00 0.00 1.92 1.34 0.06 84.69 02:33:08 Average: 6 12.01 0.00 2.50 1.74 0.07 83.68 02:33:08 Average: 7 12.04 0.00 2.59 6.59 0.08 78.71 02:33:08 02:33:08 02:33:08