Started by user Cherry Wang 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-ssh8701066994163477582.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh1072290460445115743.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh11167981178230787595.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > 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-ssh18361168524257026503.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-ssh5605737724211749952.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:edgex-snyk-go, arch:[amd64], mavenSettings:ci-build-images-settings, dockerImageName:edgex-snyk-go, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[latest], releaseBranchOverride:snyk] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: ci-build-images-settings PROJECT: edgex-snyk-go USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-snyk-go DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-snyk-go-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: snyk DOCKER_CUSTOM_TAGS: latest [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-3479’ Running on prd-ubuntu20.04-docker-8c-8g-3490 in /w/workspace/dgexfoundry_ci-build-images_snyk [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/ci-build-images.git > git init /w/workspace/dgexfoundry_ci-build-images_snyk # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 1f7ab65da8158b73678a37b9c26089cfd7eb06f1 (snyk) Commit message: "Merge pull request #220 from jinlinGuan/snyk-upgrade" > git config core.sparsecheckout # timeout=10 > git checkout -f 1f7ab65da8158b73678a37b9c26089cfd7eb06f1 # timeout=10 > git rev-list --no-walk 1f7ab65da8158b73678a37b9c26089cfd7eb06f1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:12:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:12:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:12:04 ========================================================= 04:12:04 EdgeX Global Pipelines Version Info 04:12:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:12:04 ------------------- 04:12:04 stable info: 04:12:04 ------------------- 04:12:04 Commited By: Ginny Guan ginny@iotechsys.com 04:12:04 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 04:12:04 Message: update stable to v1.0.274 04:12:05 ------------------- 04:12:05 experimental info: 04:12:05 ------------------- 04:12:05 Commited By: **** collab-it+edgex@linuxfoundation.org 04:12:05 Commit SHA: 8bc3b1671107dfff59e2863929571a4024cd8906 04:12:05 Message: update experimental to v1.0.275 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = latest [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = snyk [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = snyk [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = snyk [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f7ab65da8158b73678a37b9c26089cfd7eb06f1 [Pipeline] echo 04:12:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f7ab65 [Pipeline] echo 04:12:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:12:06 provisioning config files... 04:12:06 copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config16597117158750058022tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:06 ---> ****-login.sh 04:12:06 nexus3.edgexfoundry.org:10001 04:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:12:06 Configure a credential helper to remove this warning. See 04:12:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:12:06 04:12:06 Login Succeeded 04:12:06 nexus3.edgexfoundry.org:10002 04:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:12:06 Configure a credential helper to remove this warning. See 04:12:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:12:06 04:12:06 Login Succeeded 04:12:06 nexus3.edgexfoundry.org:10003 04:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:12:07 Configure a credential helper to remove this warning. See 04:12:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:12:07 04:12:07 Login Succeeded 04:12:07 nexus3.edgexfoundry.org:10004 04:12:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:12:07 Configure a credential helper to remove this warning. See 04:12:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:12:07 04:12:07 Login Succeeded 04:12:07 ****.io 04:12:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:12:07 Configure a credential helper to remove this warning. See 04:12:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:12:07 04:12:07 Login Succeeded 04:12:07 ---> ****-login.sh ends [Pipeline] } 04:12:07 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 04:12:07 provisioning config files... [Pipeline] // stage [Pipeline] } 04:12:07 copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config8835426061209052634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:08 ---> ****-login.sh 04:12:08 nexus3.edgexfoundry.org:10001 04:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:12:08 Configure a credential helper to remove this warning. See 04:12:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:12:08 04:12:08 Login Succeeded 04:12:08 nexus3.edgexfoundry.org:10002 04:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:12:08 Configure a credential helper to remove this warning. See 04:12:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:12:08 04:12:08 Login Succeeded 04:12:08 nexus3.edgexfoundry.org:10003 04:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:12:08 Configure a credential helper to remove this warning. See 04:12:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:12:08 04:12:08 Login Succeeded 04:12:08 nexus3.edgexfoundry.org:10004 04:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:12:08 Configure a credential helper to remove this warning. See 04:12:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:12:08 04:12:08 Login Succeeded 04:12:08 ****.io 04:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:12:08 Configure a credential helper to remove this warning. See 04:12:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:12:08 04:12:08 Login Succeeded 04:12:08 ---> ****-login.sh ends [Pipeline] } 04:12:08 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 04:12:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:12:09 + ls -al . 04:12:09 total 20 04:12:09 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 04:12 . 04:12:09 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 04:11 .. 04:12:09 drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 04:12 .git 04:12:09 -rw-rw-r-- 1 jenkins jenkins 684 Jun 18 04:12 Dockerfile 04:12:09 -rw-rw-r-- 1 jenkins jenkins 933 Jun 18 04:12 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:10 + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=1f7ab65da8158b73678a37b9c26089cfd7eb06f1 --label arch=amd64 . 04:12:10 Sending build context to Docker daemon 484.4kB 04:12:10 Step 1/11 : FROM golang:1.23-alpine3.20 04:12:10 1.23-alpine3.20: Pulling from library/golang 04:12:10 0a9a5dfd008f: Pulling fs layer 04:12:10 36466aa92d05: Pulling fs layer 04:12:10 e10405b45d13: Pulling fs layer 04:12:10 096b7ceb2af7: Pulling fs layer 04:12:10 4f4fb700ef54: Pulling fs layer 04:12:10 4f4fb700ef54: Waiting 04:12:10 096b7ceb2af7: Waiting 04:12:10 36466aa92d05: Verifying Checksum 04:12:10 0a9a5dfd008f: Verifying Checksum 04:12:10 0a9a5dfd008f: Download complete 04:12:10 096b7ceb2af7: Download complete 04:12:10 4f4fb700ef54: Verifying Checksum 04:12:10 4f4fb700ef54: Download complete 04:12:10 0a9a5dfd008f: Pull complete 04:12:10 36466aa92d05: Pull complete 04:12:11 e10405b45d13: Download complete 04:12:14 e10405b45d13: Pull complete 04:12:14 096b7ceb2af7: Pull complete 04:12:14 4f4fb700ef54: Pull complete 04:12:14 Digest: sha256:96917b18cf0bf6dc54f726696eb526fe6e6a1ab45e43d4a292aae11f3d503ffe 04:12:14 Status: Downloaded newer image for golang:1.23-alpine3.20 04:12:14 ---> a557ad65b41b 04:12:14 Step 2/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2022: Intel' 04:12:15 ---> Running in 3925dd0f4774 04:12:15 Removing intermediate container 3925dd0f4774 04:12:15 ---> 4faa7d861c8a 04:12:15 Step 3/11 : ARG SNYK_VERSION=1.1293.1 04:12:15 ---> Running in da683cba00e9 04:12:15 Removing intermediate container da683cba00e9 04:12:15 ---> 512212d7ccbd 04:12:15 Step 4/11 : ENV SNYK_VERSION=${SNYK_VERSION} 04:12:15 ---> Running in 3cfe186feb2b 04:12:16 Removing intermediate container 3cfe186feb2b 04:12:16 ---> c23125e7d6ba 04:12:16 Step 5/11 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 04:12:16 latest: Pulling from library/docker 04:12:16 fe07684b16b8: Pulling fs layer 04:12:16 f32e8d6f6800: Pulling fs layer 04:12:16 4f4fb700ef54: Pulling fs layer 04:12:16 20ac40e43aad: Pulling fs layer 04:12:16 a3870806677e: Pulling fs layer 04:12:16 c86f14a0f3d8: Pulling fs layer 04:12:16 da67c6f5f9a3: Pulling fs layer 04:12:16 a8b94aef2e96: Pulling fs layer 04:12:16 3a98583f050f: Pulling fs layer 04:12:16 a115214fbd18: Pulling fs layer 04:12:16 20ac40e43aad: Waiting 04:12:16 212150b9078a: Pulling fs layer 04:12:16 9212e721c88d: Pulling fs layer 04:12:16 a3870806677e: Waiting 04:12:16 68b0253e449f: Pulling fs layer 04:12:16 811b046d83c5: Pulling fs layer 04:12:16 687715510845: Pulling fs layer 04:12:16 c86f14a0f3d8: Waiting 04:12:16 1cae381f867a: Pulling fs layer 04:12:16 da67c6f5f9a3: Waiting 04:12:16 a8b94aef2e96: Waiting 04:12:16 a115214fbd18: Waiting 04:12:16 212150b9078a: Waiting 04:12:16 9212e721c88d: Waiting 04:12:16 68b0253e449f: Waiting 04:12:16 811b046d83c5: Waiting 04:12:16 687715510845: Waiting 04:12:16 1cae381f867a: Waiting 04:12:16 3a98583f050f: Waiting 04:12:16 4f4fb700ef54: Download complete 04:12:16 fe07684b16b8: Download complete 04:12:16 f32e8d6f6800: Verifying Checksum 04:12:16 f32e8d6f6800: Download complete 04:12:16 20ac40e43aad: Download complete 04:12:16 fe07684b16b8: Pull complete 04:12:16 a3870806677e: Verifying Checksum 04:12:16 a3870806677e: Download complete 04:12:16 da67c6f5f9a3: Verifying Checksum 04:12:16 da67c6f5f9a3: Download complete 04:12:16 c86f14a0f3d8: Verifying Checksum 04:12:16 c86f14a0f3d8: Download complete 04:12:16 a8b94aef2e96: Download complete 04:12:17 3a98583f050f: Verifying Checksum 04:12:17 3a98583f050f: Download complete 04:12:17 a115214fbd18: Verifying Checksum 04:12:17 a115214fbd18: Download complete 04:12:17 f32e8d6f6800: Pull complete 04:12:17 212150b9078a: Download complete 04:12:17 4f4fb700ef54: Pull complete 04:12:17 9212e721c88d: Verifying Checksum 04:12:17 9212e721c88d: Download complete 04:12:17 68b0253e449f: Verifying Checksum 04:12:17 68b0253e449f: Download complete 04:12:17 20ac40e43aad: Pull complete 04:12:17 687715510845: Download complete 04:12:17 1cae381f867a: Verifying Checksum 04:12:17 1cae381f867a: Download complete 04:12:17 a3870806677e: Pull complete 04:12:17 811b046d83c5: Verifying Checksum 04:12:17 811b046d83c5: Download complete 04:12:17 c86f14a0f3d8: Pull complete 04:12:18 da67c6f5f9a3: Pull complete 04:12:18 a8b94aef2e96: Pull complete 04:12:18 3a98583f050f: Pull complete 04:12:18 a115214fbd18: Pull complete 04:12:18 212150b9078a: Pull complete 04:12:18 9212e721c88d: Pull complete 04:12:18 68b0253e449f: Pull complete 04:12:20 811b046d83c5: Pull complete 04:12:20 687715510845: Pull complete 04:12:20 1cae381f867a: Pull complete 04:12:20 Digest: sha256:ff052514f359111edd920b54581e7aca65629458607f9fbdbf82d7eefbe0602b 04:12:20 Status: Downloaded newer image for docker:latest 04:12:22 ---> f57961311859 04:12:22 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 04:12:22 ---> Running in 2f7511c81ebf 04:12:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:12:25 (1/33) Installing tzdata (2025b-r0) 04:12:25 (2/33) Installing tcl (8.6.14-r1) 04:12:25 (3/33) Installing expect (5.45.4-r4) 04:12:25 (4/33) Installing libgcc (13.2.1_git20240309-r1) 04:12:25 (5/33) Installing jansson (2.14-r4) 04:12:25 (6/33) Installing libstdc++ (13.2.1_git20240309-r1) 04:12:25 (7/33) Installing zstd-libs (1.5.6-r0) 04:12:25 (8/33) Installing binutils (2.42-r1) 04:12:25 (9/33) Installing libgomp (13.2.1_git20240309-r1) 04:12:25 (10/33) Installing libatomic (13.2.1_git20240309-r1) 04:12:25 (11/33) Installing gmp (6.3.0-r1) 04:12:25 (12/33) Installing isl26 (0.26-r1) 04:12:25 (13/33) Installing mpfr4 (4.2.1-r0) 04:12:25 (14/33) Installing mpc1 (1.3.1-r1) 04:12:25 (15/33) Installing gcc (13.2.1_git20240309-r1) 04:12:26 (16/33) Installing brotli-libs (1.1.0-r2) 04:12:26 (17/33) Installing c-ares (1.33.1-r0) 04:12:26 (18/33) Installing libunistring (1.2-r0) 04:12:26 (19/33) Installing libidn2 (2.3.7-r0) 04:12:26 (20/33) Installing nghttp2-libs (1.62.1-r0) 04:12:26 (21/33) Installing libpsl (0.21.5-r1) 04:12:26 (22/33) Installing libcurl (8.12.1-r0) 04:12:26 (23/33) Installing libexpat (2.7.0-r0) 04:12:26 (24/33) Installing pcre2 (10.43-r0) 04:12:26 (25/33) Installing git (2.45.3-r0) 04:12:26 (26/33) Installing git-init-template (2.45.3-r0) 04:12:26 (27/33) Installing musl-dev (1.2.5-r1) 04:12:26 (28/33) Installing ada-libs (2.7.8-r0) 04:12:26 (29/33) Installing libbase64 (0.5.2-r0) 04:12:26 (30/33) Installing icu-data-en (74.2-r0) 04:12:26 Executing icu-data-en-74.2-r0.post-install 04:12:26 * 04:12:26 * If you need ICU with non-English locales and legacy charset support, install 04:12:26 * package icu-data-full. 04:12:26 * 04:12:26 (31/33) Installing icu-libs (74.2-r0) 04:12:26 (32/33) Installing nodejs (20.15.1-r0) 04:12:26 (33/33) Installing npm (10.9.1-r0) 04:12:27 Executing busybox-1.36.1-r29.trigger 04:12:27 OK: 239 MiB in 48 packages 04:12:27 Connecting to github.com (140.82.113.3:443) 04:12:27 Connecting to github.com (140.82.113.3:443) 04:12:27 Connecting to objects.githubusercontent.com (185.199.108.133:443) 04:12:27 saving to '/usr/local/bin/snyk' 04:12:28 snyk 74% |*********************** | 80.0M 0:00:00 ETA 04:12:28 snyk 100% |********************************|  106M 0:00:00 ETA 04:12:28 '/usr/local/bin/snyk' saved 04:12:29  04:12:29 added 22 packages in 1s 04:12:29 04:12:29 1 package is looking for funding 04:12:29 run `npm fund` for details 04:12:35 Removing intermediate container 2f7511c81ebf 04:12:35 ---> cfaff389a269 04:12:35 Step 7/11 : ENV GO111MODULE=on 04:12:35 ---> Running in b2066a0dd154 04:12:35 Removing intermediate container b2066a0dd154 04:12:35 ---> 3224eef6227f 04:12:35 Step 8/11 : ENTRYPOINT [ "snyk" ] 04:12:35 ---> Running in 8c413190036a 04:12:35 Removing intermediate container 8c413190036a 04:12:35 ---> 2da49291ebbd 04:12:35 Step 9/11 : CMD [ "monitor" ] 04:12:35 ---> Running in 3008d08436b8 04:12:35 Removing intermediate container 3008d08436b8 04:12:35 ---> ee15c03b9094 04:12:35 Step 10/11 : LABEL arch=amd64 04:12:35 ---> Running in 534b1434891a 04:12:35 Removing intermediate container 534b1434891a 04:12:35 ---> 0cd3b9754988 04:12:35 Step 11/11 : LABEL git_sha=1f7ab65da8158b73678a37b9c26089cfd7eb06f1 04:12:35 ---> Running in 78ba7e2ecfe1 04:12:35 Removing intermediate container 78ba7e2ecfe1 04:12:35 ---> 3d3ddbac0c0c 04:12:35 [Warning] One or more build-args [ARCH] were not consumed 04:12:35 Successfully built 3d3ddbac0c0c 04:12:35 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 04:12:35 [edgeXDocker.push] Tagging docker image edgex-snyk-go with the following tags: 04:12:35 1f7ab65da8158b73678a37b9c26089cfd7eb06f1 04:12:35 latest 04:12:35 snyk 04:12:35 latest 04:12:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:35 + 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 04:12:36 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1f7ab65da8158b73678a37b9c26089cfd7eb06f1 04:12:36 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 04:12:36 95910d843042: Preparing 04:12:36 233cb0ee767a: Preparing 04:12:36 5f70bf18a086: Preparing 04:12:36 90f9ff427154: Preparing 04:12:36 f63a68c15fbd: Preparing 04:12:36 d57ff7b86170: Preparing 04:12:36 994456c4fd7b: Preparing 04:12:36 d57ff7b86170: Waiting 04:12:36 994456c4fd7b: Waiting 04:12:36 f63a68c15fbd: Layer already exists 04:12:36 90f9ff427154: Layer already exists 04:12:36 5f70bf18a086: Layer already exists 04:12:36 d57ff7b86170: Layer already exists 04:12:36 994456c4fd7b: Layer already exists 04:12:40 233cb0ee767a: Pushed 04:13:19 95910d843042: Pushed 04:13:19 1f7ab65da8158b73678a37b9c26089cfd7eb06f1: digest: sha256:c5b607759d99cdfbdcdba6d0513863ce16d3e74c650b75f2c15295cf8a84cf4b size: 1788 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:19 + 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 04:13:20 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:13:20 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 04:13:20 95910d843042: Preparing 04:13:20 233cb0ee767a: Preparing 04:13:20 5f70bf18a086: Preparing 04:13:20 90f9ff427154: Preparing 04:13:20 f63a68c15fbd: Preparing 04:13:20 d57ff7b86170: Preparing 04:13:20 994456c4fd7b: Preparing 04:13:20 994456c4fd7b: Waiting 04:13:20 d57ff7b86170: Waiting 04:13:20 90f9ff427154: Layer already exists 04:13:20 95910d843042: Layer already exists 04:13:20 f63a68c15fbd: Layer already exists 04:13:20 233cb0ee767a: Layer already exists 04:13:20 5f70bf18a086: Layer already exists 04:13:20 d57ff7b86170: Layer already exists 04:13:20 994456c4fd7b: Layer already exists 04:13:20 latest: digest: sha256:c5b607759d99cdfbdcdba6d0513863ce16d3e74c650b75f2c15295cf8a84cf4b size: 1788 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:20 + 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 04:13:20 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 04:13:20 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 04:13:20 95910d843042: Preparing 04:13:20 233cb0ee767a: Preparing 04:13:20 5f70bf18a086: Preparing 04:13:20 90f9ff427154: Preparing 04:13:20 f63a68c15fbd: Preparing 04:13:20 d57ff7b86170: Preparing 04:13:20 994456c4fd7b: Preparing 04:13:20 d57ff7b86170: Waiting 04:13:20 994456c4fd7b: Waiting 04:13:20 95910d843042: Layer already exists 04:13:20 f63a68c15fbd: Layer already exists 04:13:20 5f70bf18a086: Layer already exists 04:13:20 90f9ff427154: Layer already exists 04:13:20 233cb0ee767a: Layer already exists 04:13:20 994456c4fd7b: Layer already exists 04:13:20 d57ff7b86170: Layer already exists 04:13:20 snyk: digest: sha256:c5b607759d99cdfbdcdba6d0513863ce16d3e74c650b75f2c15295cf8a84cf4b size: 1788 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:21 + 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 04:13:21 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:13:21 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] 04:13:21 95910d843042: Preparing 04:13:21 233cb0ee767a: Preparing 04:13:21 5f70bf18a086: Preparing 04:13:21 90f9ff427154: Preparing 04:13:21 f63a68c15fbd: Preparing 04:13:21 d57ff7b86170: Preparing 04:13:21 994456c4fd7b: Preparing 04:13:21 d57ff7b86170: Waiting 04:13:21 994456c4fd7b: Waiting 04:13:21 f63a68c15fbd: Layer already exists 04:13:21 233cb0ee767a: Layer already exists 04:13:21 5f70bf18a086: Layer already exists 04:13:21 90f9ff427154: Layer already exists 04:13:21 95910d843042: Layer already exists 04:13:21 d57ff7b86170: Layer already exists 04:13:21 994456c4fd7b: Layer already exists 04:13:21 latest: digest: sha256:c5b607759d99cdfbdcdba6d0513863ce16d3e74c650b75f2c15295cf8a84cf4b size: 1788 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:13:21 ===================================================== [Pipeline] echo 04:13:21 taggedImages: 04:13:21 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1f7ab65da8158b73678a37b9c26089cfd7eb06f1 04:13:21 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:13:21 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 04:13:21 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] echo 04:13:21 ========================================================= 04:13:21 [edgeXBuildMultiArch] RAW Config: 04:13:21 images: 04:13:21 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1f7ab65da8158b73678a37b9c26089cfd7eb06f1 04:13:21 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:13:21 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 04:13:21 - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:13:21 settingsFile: 04:13:21 ci-build-images-settings 04:13:21 ========================================================= [Pipeline] node 04:13:36 Still waiting to schedule task 04:13:36 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3481’ 04:15:58 Running on prd-centos7-docker-4c-2g-3491 in /w/workspace/dgexfoundry_ci-build-images_snyk [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:15:58 provisioning config files... 04:15:58 copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config7004081842159221056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:16:00 ---> ****-login.sh 04:16:00 nexus3.edgexfoundry.org:10001 04:16:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:16:01 Configure a credential helper to remove this warning. See 04:16:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:16:01 04:16:01 Login Succeeded 04:16:01 nexus3.edgexfoundry.org:10002 04:16:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:16:01 Configure a credential helper to remove this warning. See 04:16:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:16:01 04:16:01 Login Succeeded 04:16:01 nexus3.edgexfoundry.org:10003 04:16:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:16:01 Configure a credential helper to remove this warning. See 04:16:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:16:01 04:16:01 Login Succeeded 04:16:01 nexus3.edgexfoundry.org:10004 04:16:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:16:01 Configure a credential helper to remove this warning. See 04:16:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:16:01 04:16:01 Login Succeeded 04:16:01 ****.io 04:16:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:16:02 Configure a credential helper to remove this warning. See 04:16:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:16:02 04:16:02 Login Succeeded 04:16:02 ---> ****-login.sh ends [Pipeline] } 04:16:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:16:02 + docker buildx ls 04:16:02 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 04:16:02 default * docker 04:16:02 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 04:16:02 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 04:16:02 edgex-builder [Pipeline] sh 04:16:03 + docker buildx inspect --bootstrap 04:16:03 #1 [internal] booting buildkit 04:16:03 #1 pulling image moby/buildkit:buildx-stable-1 04:16:06 #1 pulling image moby/buildkit:buildx-stable-1 2.8s done 04:16:06 #1 creating container buildx_buildkit_edgex-builder0 04:16:07 #1 creating container buildx_buildkit_edgex-builder0 1.6s done 04:16:07 #1 DONE 4.4s 04:16:07 Name: edgex-builder 04:16:07 Driver: docker-container 04:16:07 04:16:07 Nodes: 04:16:07 Name: edgex-builder0 04:16:07 Endpoint: unix:///var/run/docker.sock 04:16:07 Status: running 04:16:07 Buildkit: v0.22.0 04:16:07 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 04:16:07 + docker buildx ls 04:16:07 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 04:16:07 edgex-builder * docker-container 04:16:07 edgex-builder0 unix:///var/run/docker.sock running v0.22.0 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 04:16:07 default docker 04:16:07 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 04:16:08 + echo -e 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1f7ab65da8158b73678a37b9c26089cfd7eb06f1' 04:16:08 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1f7ab65da8158b73678a37b9c26089cfd7eb06f1 --push - 04:16:08 #1 [internal] load build definition from Dockerfile 04:16:08 #1 transferring dockerfile: 211B 0.0s done 04:16:08 #1 DONE 0.0s 04:16:08 04:16:08 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1f7ab65da8158b73678a37b9c26089cfd7eb06f1 04:16:08 #2 DONE 0.1s 04:16:08 04:16:08 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1f7ab65da8158b73678a37b9c26089cfd7eb06f1 04:16:08 #3 DONE 0.1s 04:16:08 04:16:08 #4 [internal] load .dockerignore 04:16:08 #4 transferring context: 2B done 04:16:08 #4 DONE 0.0s 04:16:08 04:16:08 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1f7ab65da8158b73678a37b9c26089cfd7eb06f1@sha256:c5b607759d99cdfbdcdba6d0513863ce16d3e74c650b75f2c15295cf8a84cf4b 04:16:08 #5 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1f7ab65da8158b73678a37b9c26089cfd7eb06f1@sha256:c5b607759d99cdfbdcdba6d0513863ce16d3e74c650b75f2c15295cf8a84cf4b 0.0s done 04:16:08 #5 DONE 0.0s 04:16:08 04:16:08 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1f7ab65da8158b73678a37b9c26089cfd7eb06f1@sha256:c5b607759d99cdfbdcdba6d0513863ce16d3e74c650b75f2c15295cf8a84cf4b 04:16:08 #6 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1f7ab65da8158b73678a37b9c26089cfd7eb06f1@sha256:c5b607759d99cdfbdcdba6d0513863ce16d3e74c650b75f2c15295cf8a84cf4b 0.0s done 04:16:08 #6 DONE 0.1s 04:16:08 04:16:08 #7 [auth] edgex-devops/edgex-snyk-go:pull,push token for nexus3.edgexfoundry.org:10003 04:16:08 #7 DONE 0.0s 04:16:08 04:16:08 #8 exporting to image 04:16:08 #8 exporting layers done 04:16:08 #8 exporting manifest sha256:869eaeb202213661452a8e837a4ddf9033105f7060e4d9a6fc656dc9fc114e2f 0.0s done 04:16:08 #8 exporting config sha256:01bb3610834189153b43aa8995e79431e0f8dff95b6877317e21d954c626a797 done 04:16:08 #8 exporting manifest sha256:0c7a10b8f054cc80f72284c4b8826bb2c7c819b88c7cefbe1c8fe3624b85f592 0.0s done 04:16:08 #8 exporting config sha256:1535e7427f7be6797f34f6b872cc781a111207c76331dc5fd63a097fd74d63c4 done 04:16:08 #8 exporting manifest list sha256:dd1bc05e8109ba836052a65277634c2595aaffbf12b6b6479deaea63345484be done 04:16:08 #8 pushing layers 04:16:08 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 04:16:08 #8 pushing layers 0.1s done 04:16:08 #8 pushing manifest for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1f7ab65da8158b73678a37b9c26089cfd7eb06f1@sha256:dd1bc05e8109ba836052a65277634c2595aaffbf12b6b6479deaea63345484be 0.1s done 04:16:08 #8 DONE 0.2s 04:16:08 04:16:08 1 warning found (use --debug to expand): 04:16:08  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 04:16:09 + echo -e 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest' 04:16:09 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest --push - 04:16:09 #1 [internal] load build definition from Dockerfile 04:16:09 #1 transferring dockerfile: 177B done 04:16:09 #1 DONE 0.0s 04:16:09 04:16:09 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:16:09 #2 DONE 0.0s 04:16:09 04:16:09 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:16:09 #3 DONE 0.0s 04:16:09 04:16:09 #4 [internal] load .dockerignore 04:16:09 #4 transferring context: 2B done 04:16:09 #4 DONE 0.0s 04:16:09 04:16:09 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest@sha256:c5b607759d99cdfbdcdba6d0513863ce16d3e74c650b75f2c15295cf8a84cf4b 04:16:09 #5 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest@sha256:c5b607759d99cdfbdcdba6d0513863ce16d3e74c650b75f2c15295cf8a84cf4b 0.0s done 04:16:09 #5 DONE 0.0s 04:16:09 04:16:09 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest@sha256:c5b607759d99cdfbdcdba6d0513863ce16d3e74c650b75f2c15295cf8a84cf4b 04:16:09 #6 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest@sha256:c5b607759d99cdfbdcdba6d0513863ce16d3e74c650b75f2c15295cf8a84cf4b 0.0s done 04:16:09 #6 CACHED 04:16:09 04:16:09 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest@sha256:c5b607759d99cdfbdcdba6d0513863ce16d3e74c650b75f2c15295cf8a84cf4b 04:16:09 #5 CACHED 04:16:09 04:16:09 #7 [auth] edgex-devops/edgex-snyk-go:pull,push token for nexus3.edgexfoundry.org:10003 04:16:09 #7 DONE 0.0s 04:16:09 04:16:09 #8 exporting to image 04:16:09 #8 exporting layers done 04:16:09 #8 exporting manifest sha256:869eaeb202213661452a8e837a4ddf9033105f7060e4d9a6fc656dc9fc114e2f done 04:16:09 #8 exporting config sha256:01bb3610834189153b43aa8995e79431e0f8dff95b6877317e21d954c626a797 done 04:16:09 #8 exporting manifest sha256:0c7a10b8f054cc80f72284c4b8826bb2c7c819b88c7cefbe1c8fe3624b85f592 done 04:16:09 #8 exporting config sha256:1535e7427f7be6797f34f6b872cc781a111207c76331dc5fd63a097fd74d63c4 done 04:16:09 #8 exporting manifest list sha256:dd1bc05e8109ba836052a65277634c2595aaffbf12b6b6479deaea63345484be done 04:16:09 #8 pushing layers 0.0s done 04:16:09 #8 pushing manifest for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest@sha256:dd1bc05e8109ba836052a65277634c2595aaffbf12b6b6479deaea63345484be 0.1s done 04:16:09 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 04:16:09 #8 DONE 0.1s 04:16:09 04:16:09 1 warning found (use --debug to expand): 04:16:09  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 04:16:09 + echo -e 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk' 04:16:09 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk --push - 04:16:09 #1 [internal] load build definition from Dockerfile 04:16:09 #1 transferring dockerfile: 175B done 04:16:09 #1 DONE 0.0s 04:16:09 04:16:09 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 04:16:09 #2 DONE 0.0s 04:16:09 04:16:09 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk 04:16:09 #3 DONE 0.0s 04:16:09 04:16:09 #4 [internal] load .dockerignore 04:16:09 #4 transferring context: 2B done 04:16:09 #4 DONE 0.0s 04:16:09 04:16:09 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk@sha256:c5b607759d99cdfbdcdba6d0513863ce16d3e74c650b75f2c15295cf8a84cf4b 04:16:09 #5 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk@sha256:c5b607759d99cdfbdcdba6d0513863ce16d3e74c650b75f2c15295cf8a84cf4b 0.0s done 04:16:09 #5 DONE 0.0s 04:16:09 04:16:09 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk@sha256:c5b607759d99cdfbdcdba6d0513863ce16d3e74c650b75f2c15295cf8a84cf4b 04:16:09 #6 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk@sha256:c5b607759d99cdfbdcdba6d0513863ce16d3e74c650b75f2c15295cf8a84cf4b 0.0s done 04:16:09 #6 CACHED 04:16:09 04:16:09 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk@sha256:c5b607759d99cdfbdcdba6d0513863ce16d3e74c650b75f2c15295cf8a84cf4b 04:16:09 #5 CACHED 04:16:09 04:16:09 #7 [auth] edgex-devops/edgex-snyk-go:pull,push token for nexus3.edgexfoundry.org:10003 04:16:09 #7 DONE 0.0s 04:16:09 04:16:09 #8 exporting to image 04:16:09 #8 exporting layers done 04:16:09 #8 exporting manifest sha256:869eaeb202213661452a8e837a4ddf9033105f7060e4d9a6fc656dc9fc114e2f done 04:16:09 #8 exporting config sha256:01bb3610834189153b43aa8995e79431e0f8dff95b6877317e21d954c626a797 done 04:16:09 #8 exporting manifest sha256:0c7a10b8f054cc80f72284c4b8826bb2c7c819b88c7cefbe1c8fe3624b85f592 done 04:16:09 #8 exporting config sha256:1535e7427f7be6797f34f6b872cc781a111207c76331dc5fd63a097fd74d63c4 done 04:16:09 #8 exporting manifest list sha256:dd1bc05e8109ba836052a65277634c2595aaffbf12b6b6479deaea63345484be done 04:16:09 #8 pushing layers 0.0s done 04:16:09 #8 pushing manifest for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk@sha256:dd1bc05e8109ba836052a65277634c2595aaffbf12b6b6479deaea63345484be 0.1s done 04:16:09 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 04:16:09 #8 DONE 0.1s 04:16:09 04:16:09 1 warning found (use --debug to expand): 04:16:09  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 04:16:10 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest --push - 04:16:10 + echo -e 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest' 04:16:10 #1 [internal] load build definition from Dockerfile 04:16:10 #1 transferring dockerfile: 177B done 04:16:10 #1 DONE 0.0s 04:16:10 04:16:10 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:16:10 #2 DONE 0.0s 04:16:10 04:16:10 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:16:10 #3 DONE 0.0s 04:16:10 04:16:10 #4 [internal] load .dockerignore 04:16:10 #4 transferring context: 2B done 04:16:10 #4 DONE 0.0s 04:16:10 04:16:10 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest@sha256:dd1bc05e8109ba836052a65277634c2595aaffbf12b6b6479deaea63345484be 04:16:10 #5 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest@sha256:dd1bc05e8109ba836052a65277634c2595aaffbf12b6b6479deaea63345484be 04:16:10 #5 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest@sha256:dd1bc05e8109ba836052a65277634c2595aaffbf12b6b6479deaea63345484be 0.0s done 04:16:10 #5 CACHED 04:16:10 04:16:10 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest@sha256:dd1bc05e8109ba836052a65277634c2595aaffbf12b6b6479deaea63345484be 04:16:10 #6 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest@sha256:dd1bc05e8109ba836052a65277634c2595aaffbf12b6b6479deaea63345484be 0.0s done 04:16:10 #6 DONE 0.0s 04:16:10 04:16:10 #7 exporting to image 04:16:10 #7 exporting layers done 04:16:10 #7 exporting manifest sha256:869eaeb202213661452a8e837a4ddf9033105f7060e4d9a6fc656dc9fc114e2f done 04:16:10 #7 exporting config sha256:01bb3610834189153b43aa8995e79431e0f8dff95b6877317e21d954c626a797 done 04:16:10 #7 exporting manifest sha256:0c7a10b8f054cc80f72284c4b8826bb2c7c819b88c7cefbe1c8fe3624b85f592 done 04:16:10 #7 exporting config sha256:1535e7427f7be6797f34f6b872cc781a111207c76331dc5fd63a097fd74d63c4 done 04:16:10 #7 exporting manifest list sha256:dd1bc05e8109ba836052a65277634c2595aaffbf12b6b6479deaea63345484be done 04:16:10 #7 pushing layers 0.0s done 04:16:10 #7 pushing manifest for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest@sha256:dd1bc05e8109ba836052a65277634c2595aaffbf12b6b6479deaea63345484be done 04:16:10 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 04:16:10 #7 DONE 0.0s 04:16:10 04:16:10 1 warning found (use --debug to expand): 04:16:10  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:16:10 + '[' -d /w/workspace/dgexfoundry_ci-build-images_snyk/archives ']' [Pipeline] libraryResource [Pipeline] sh 04:16:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:16:11 ---> package-listing.sh 04:16:11 ++ tr '[:upper:]' '[:lower:]' 04:16:11 ++ facter osfamily 04:16:12 + OS_FAMILY=redhat 04:16:12 + workspace=/w/workspace/dgexfoundry_ci-build-images_snyk 04:16:12 + START_PACKAGES=/tmp/packages_start.txt 04:16:12 + END_PACKAGES=/tmp/packages_end.txt 04:16:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:16:12 + PACKAGES=/tmp/packages_start.txt 04:16:12 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 04:16:12 + PACKAGES=/tmp/packages_end.txt 04:16:12 + case "${OS_FAMILY}" in 04:16:12 + rpm -qa 04:16:12 + sort 04:16:12 + '[' -f /tmp/packages_start.txt ']' 04:16:12 + '[' -f /tmp/packages_end.txt ']' 04:16:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:16:12 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 04:16:12 + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ 04:16:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [Pipeline] echo 04:16:12 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 04:16:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:13 04:16:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:13 latest: Pulling from edgex-lftools-log-publisher 04:16:13 5eb5b503b376: Pulling fs layer 04:16:13 5c69ac0246d0: Pulling fs layer 04:16:13 ec43610c2a17: Pulling fs layer 04:16:13 3a2ae6a8a46f: Pulling fs layer 04:16:13 33b1e0a273af: Pulling fs layer 04:16:13 5d3b04190fa2: Pulling fs layer 04:16:13 2f39f015ded8: Pulling fs layer 04:16:13 3a2ae6a8a46f: Waiting 04:16:13 33b1e0a273af: Waiting 04:16:13 5d3b04190fa2: Waiting 04:16:13 2f39f015ded8: Waiting 04:16:13 5c69ac0246d0: Download complete 04:16:13 3a2ae6a8a46f: Verifying Checksum 04:16:13 3a2ae6a8a46f: Download complete 04:16:13 33b1e0a273af: Verifying Checksum 04:16:13 33b1e0a273af: Download complete 04:16:13 5d3b04190fa2: Verifying Checksum 04:16:13 5d3b04190fa2: Download complete 04:16:14 ec43610c2a17: Verifying Checksum 04:16:14 ec43610c2a17: Download complete 04:16:14 5eb5b503b376: Verifying Checksum 04:16:14 5eb5b503b376: Download complete 04:16:14 2f39f015ded8: Download complete 04:16:15 5eb5b503b376: Pull complete 04:16:15 5c69ac0246d0: Pull complete 04:16:15 ec43610c2a17: Pull complete 04:16:15 3a2ae6a8a46f: Pull complete 04:16:16 33b1e0a273af: Pull complete 04:16:16 5d3b04190fa2: Pull complete 04:16:20 2f39f015ded8: Pull complete 04:16:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:16:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:20 prd-centos7-docker-4c-2g-3491 does not seem to be running inside a container 04:16:20 $ 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 04:16:24 $ docker top d39b7ef1c49ae6c92ce27017b3ef5eddc4eab9090d9d9d8b27e01a085dd1e7fb -eo pid,comm [Pipeline] { [Pipeline] sh 04:16:24 + touch /tmp/pre-build-complete [Pipeline] sh 04:16:24 + mkdir -p /var/log/sysstat [Pipeline] sh 04:16:25 + ls /var/log/sa-host 04:16:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:16:25 provisioning config files... 04:16:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config3051117101078666284tmp [Pipeline] { [Pipeline] echo 04:16:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:16:25 ---> create-netrc.sh [Pipeline] } 04:16:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:16:25 ---> python-tools-install.sh [Pipeline] echo 04:16:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:16:26 ---> sudo-logs.sh 04:16:26 Archiving 'sudo' log.. 04:16:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-3491.novalocal: Name or service not known 04:16:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-3491.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:16:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:16:26 ---> job-cost.sh 04:16:26 lf-activate-venv: SKIPPING 04:16:26 INFO: No Stack... 04:16:26 INFO: Retrieving Pricing Info for: v3-standard-2 04:16:27 INFO: Archiving Costs [Pipeline] echo 04:16:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:16:27 ---> logs-deploy.sh 04:16:27 lf-activate-venv: SKIPPING 04:16:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/15 04:16:27 INFO: archiving workspace using pattern(s): 04:16:28 Archives upload complete. 04:16:28 INFO: archiving logs to Nexus 04:16:29 ---> uname -a: 04:16:29 Linux prd-centos7-docker-4c-2g-3491.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 04:16:29 04:16:29 04:16:29 ---> lscpu: 04:16:29 Architecture: x86_64 04:16:29 CPU op-mode(s): 32-bit, 64-bit 04:16:29 Byte Order: Little Endian 04:16:29 Address sizes: 40 bits physical, 48 bits virtual 04:16:29 CPU(s): 2 04:16:29 On-line CPU(s) list: 0,1 04:16:29 Thread(s) per core: 1 04:16:29 Core(s) per socket: 1 04:16:29 Socket(s): 2 04:16:29 NUMA node(s): 1 04:16:29 Vendor ID: AuthenticAMD 04:16:29 CPU family: 23 04:16:29 Model: 49 04:16:29 Model name: AMD EPYC-Rome Processor 04:16:29 Stepping: 0 04:16:29 CPU MHz: 2799.998 04:16:29 BogoMIPS: 5599.99 04:16:29 Virtualization: AMD-V 04:16:29 Hypervisor vendor: KVM 04:16:29 Virtualization type: full 04:16:29 L1d cache: 64 KiB 04:16:29 L1i cache: 64 KiB 04:16:29 L2 cache: 1 MiB 04:16:29 L3 cache: 32 MiB 04:16:29 NUMA node0 CPU(s): 0,1 04:16:29 Vulnerability Itlb multihit: Not affected 04:16:29 Vulnerability L1tf: Not affected 04:16:29 Vulnerability Mds: Not affected 04:16:29 Vulnerability Meltdown: Not affected 04:16:29 Vulnerability Mmio stale data: Not affected 04:16:29 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:16:29 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 04:16:29 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 04:16:29 Vulnerability Srbds: Not affected 04:16:29 Vulnerability Tsx async abort: Not affected 04:16:29 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 art rep_good nopl extd_apicid eagerfpu 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 retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 04:16:29 04:16:29 04:16:29 ---> nproc: 04:16:29 2 04:16:29 04:16:29 04:16:29 ---> df -h: 04:16:29 Filesystem Size Used Avail Use% Mounted on 04:16:29 overlay 40G 7.3G 33G 19% / 04:16:29 tmpfs 64M 0 64M 0% /dev 04:16:29 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 04:16:29 shm 64M 0 64M 0% /dev/shm 04:16:29 /dev/vda1 40G 7.3G 33G 19% /facter-os 04:16:29 04:16:29 04:16:29 Cannot open /var/log/sysstat/sa18: No such file or directory 04:16:29 Please check if data collecting is enabled 04:16:29 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:16:29 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 04:16:29 $ docker stop --time=1 d39b7ef1c49ae6c92ce27017b3ef5eddc4eab9090d9d9d8b27e01a085dd1e7fb 04:16:30 $ docker rm -f --volumes d39b7ef1c49ae6c92ce27017b3ef5eddc4eab9090d9d9d8b27e01a085dd1e7fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 04:16:30 [WS-CLEANUP] Deleting project workspace... 04:16:30 [WS-CLEANUP] Deferred wipeout is used... 04:16:30 [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [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 04:16:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:32 04:16:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:33 latest: Pulling from edgex-lftools-log-publisher 04:16:33 5eb5b503b376: Pulling fs layer 04:16:33 5c69ac0246d0: Pulling fs layer 04:16:33 ec43610c2a17: Pulling fs layer 04:16:33 3a2ae6a8a46f: Pulling fs layer 04:16:33 33b1e0a273af: Pulling fs layer 04:16:33 5d3b04190fa2: Pulling fs layer 04:16:33 2f39f015ded8: Pulling fs layer 04:16:33 3a2ae6a8a46f: Waiting 04:16:33 33b1e0a273af: Waiting 04:16:33 5d3b04190fa2: Waiting 04:16:33 2f39f015ded8: Waiting 04:16:33 5c69ac0246d0: Verifying Checksum 04:16:33 5c69ac0246d0: Download complete 04:16:33 33b1e0a273af: Verifying Checksum 04:16:33 33b1e0a273af: Download complete 04:16:33 5d3b04190fa2: Verifying Checksum 04:16:33 5d3b04190fa2: Download complete 04:16:33 ec43610c2a17: Verifying Checksum 04:16:33 ec43610c2a17: Download complete 04:16:33 5eb5b503b376: Verifying Checksum 04:16:33 5eb5b503b376: Download complete 04:16:33 2f39f015ded8: Download complete 04:16:34 5eb5b503b376: Pull complete 04:16:34 5c69ac0246d0: Pull complete 04:16:35 ec43610c2a17: Pull complete 04:16:35 3a2ae6a8a46f: Pull complete 04:16:35 33b1e0a273af: Pull complete 04:16:35 5d3b04190fa2: Pull complete 04:16:42 2f39f015ded8: Pull complete 04:16:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:16:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:42 prd-ubuntu20.04-docker-8c-8g-3490 does not seem to be running inside a container 04:16:42 $ 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 04:16:42 $ docker top 74f5d93ff10702024991c98bf64e61355cdf3ebddb1b7f116cf09da9639461bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:16:42 ---> job-cost.sh 04:16:42 lf-activate-venv: SKIPPING 04:16:42 INFO: No Stack... 04:16:43 INFO: Retrieving Pricing Info for: v3-standard-8 04:16:43 INFO: Archiving Costs [Pipeline] sh 04:16:43 + cat /w/workspace/dgexfoundry_ci-build-images_snyk/archives/cost.csv 04:16:43 + cut -d, -f6 [Pipeline] lock 04:16:43 Trying to acquire lock on [Resource: jenkins-edgexfoundry-ci-build-images-snyk-15-stack-cost] 04:16:43 Resource [jenkins-edgexfoundry-ci-build-images-snyk-15-stack-cost] did not exist. Created. 04:16:43 Lock acquired on [Resource: jenkins-edgexfoundry-ci-build-images-snyk-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:16:44 + echo total: 0.2199999988079071 [Pipeline] stash 04:16:44 Stashed 1 file(s) [Pipeline] } 04:16:44 Lock released on resource [Resource: jenkins-edgexfoundry-ci-build-images-snyk-15-stack-cost] [Pipeline] // lock [Pipeline] } 04:16:44 $ docker stop --time=1 74f5d93ff10702024991c98bf64e61355cdf3ebddb1b7f116cf09da9639461bd 04:16:45 $ docker rm -f --volumes 74f5d93ff10702024991c98bf64e61355cdf3ebddb1b7f116cf09da9639461bd [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 04:16:46 + [ -d /w/workspace/dgexfoundry_ci-build-images_snyk/archives ] 04:16:46 + ls -al /w/workspace/dgexfoundry_ci-build-images_snyk/archives 04:16:46 total 16 04:16:46 drwxr-xr-x 3 root root 4096 Jun 18 04:16 . 04:16:46 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 04:16 .. 04:16:46 drwxr-xr-x 2 root root 4096 Jun 18 04:16 cost 04:16:46 -rw-r--r-- 1 root root 86 Jun 18 04:16 cost.csv 04:16:46 + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_ci-build-images_snyk/archives 04:16:46 + ls -al /w/workspace/dgexfoundry_ci-build-images_snyk/archives 04:16:46 total 16 04:16:46 drwxr-xr-x 3 jenkins jenkins 4096 Jun 18 04:16 . 04:16:46 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 04:16 .. 04:16:46 drwxr-xr-x 2 jenkins jenkins 4096 Jun 18 04:16 cost 04:16:46 -rw-r--r-- 1 jenkins jenkins 86 Jun 18 04:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:16:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:16:47 ---> package-listing.sh 04:16:47 ++ facter osfamily 04:16:47 ++ tr '[:upper:]' '[:lower:]' 04:16:47 + OS_FAMILY=debian 04:16:47 + workspace=/w/workspace/dgexfoundry_ci-build-images_snyk 04:16:47 + START_PACKAGES=/tmp/packages_start.txt 04:16:47 + END_PACKAGES=/tmp/packages_end.txt 04:16:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:16:47 + PACKAGES=/tmp/packages_start.txt 04:16:47 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 04:16:47 + PACKAGES=/tmp/packages_end.txt 04:16:47 + case "${OS_FAMILY}" in 04:16:47 + dpkg -l 04:16:47 + grep '^ii' 04:16:47 + '[' -f /tmp/packages_start.txt ']' 04:16:47 + '[' -f /tmp/packages_end.txt ']' 04:16:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:16:47 + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' 04:16:47 + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ 04:16:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [Pipeline] echo 04:16:47 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_ci-build-images_snyk/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:16:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:48 prd-ubuntu20.04-docker-8c-8g-3490 does not seem to be running inside a container 04:16:48 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_ci-build-images_snyk/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_ci-build-images_snyk -v /w/workspace/dgexfoundry_ci-build-images_snyk:/w/workspace/dgexfoundry_ci-build-images_snyk:rw,z -v /w/workspace/dgexfoundry_ci-build-images_snyk@tmp:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:16:49 $ docker top 978eeff6b7cec6120680e9dda8917a85bb64bd84e5c0660deb6a2d9e48536828 -eo pid,comm [Pipeline] { [Pipeline] sh 04:16:49 + touch /tmp/pre-build-complete [Pipeline] sh 04:16:50 + mkdir -p /var/log/sysstat [Pipeline] sh 04:16:50 + ls /var/log/sa-host 04:16:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:16:50 provisioning config files... 04:16:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config529808734658155232tmp [Pipeline] { [Pipeline] echo 04:16:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:16:50 ---> create-netrc.sh [Pipeline] } 04:16:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:16:51 ---> python-tools-install.sh [Pipeline] echo 04:16:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:16:51 ---> sudo-logs.sh 04:16:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:16:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:16:51 ---> job-cost.sh 04:16:51 lf-activate-venv: SKIPPING 04:16:51 DEBUG: total: 0.2199999988079071 04:16:51 INFO: Retrieving Stack Cost... 04:16:51 INFO: Retrieving Pricing Info for: v3-standard-8 04:16:52 INFO: Archiving Costs [Pipeline] echo 04:16:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:16:52 ---> logs-deploy.sh 04:16:52 lf-activate-venv: SKIPPING 04:16:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/15 04:16:52 INFO: archiving workspace using pattern(s): 04:16:53 Archives upload complete. 04:16:53 INFO: archiving logs to Nexus