Push event to branch snyk Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1f7ab65da8158b73678a37b9c26089cfd7eb06f1 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4921591968404629650.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1105454470933809929.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/snyk/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/snyk/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5761654804448013956.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4879040007977709732.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/snyk/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/snyk/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13194861466723586188.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:edgex-snyk-go, arch:[amd64], mavenSettings:ci-build-images-settings, dockerImageName:edgex-snyk-go, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[latest], releaseBranchOverride:snyk] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: ci-build-images-settings PROJECT: edgex-snyk-go USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-snyk-go DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-snyk-go-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: snyk DOCKER_CUSTOM_TAGS: latest [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-13158’ is offline Running on prd-ubuntu20.04-docker-8c-8g-13167 in /w/workspace/dgexfoundry_ci-build-images_snyk [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/ci-build-images.git > git init /w/workspace/dgexfoundry_ci-build-images_snyk # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 Avoid second fetch Checking out Revision 1f7ab65da8158b73678a37b9c26089cfd7eb06f1 (snyk) Commit message: "Merge pull request #220 from jinlinGuan/snyk-upgrade" > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f7ab65da8158b73678a37b9c26089cfd7eb06f1 # timeout=10 > git rev-list --no-walk fb7e5ce6626a160a9ab780e02eb002b4243f1059 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-03T03:56:15.291Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-03T03:56:15.345Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-03T03:56:15.370Z] ========================================================= [2024-10-03T03:56:15.370Z] EdgeX Global Pipelines Version Info [2024-10-03T03:56:15.370Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:56:16.093Z] ------------------- [2024-10-03T03:56:16.093Z] stable info: [2024-10-03T03:56:16.093Z] ------------------- [2024-10-03T03:56:16.093Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-03T03:56:16.093Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-03T03:56:16.093Z] Message: update stable to v1.0.264 [2024-10-03T03:56:16.679Z] ------------------- [2024-10-03T03:56:16.679Z] experimental info: [2024-10-03T03:56:16.679Z] ------------------- [2024-10-03T03:56:16.679Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-03T03:56:16.679Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-03T03:56:16.679Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2024-10-03T03:56:16.767Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2024-10-03T03:56:16.787Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo [2024-10-03T03:56:16.807Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2024-10-03T03:56:16.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-03T03:56:16.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-03T03:56:16.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo [2024-10-03T03:56:16.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2024-10-03T03:56:16.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2024-10-03T03:56:16.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2024-10-03T03:56:16.952Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-03T03:56:16.970Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2024-10-03T03:56:16.987Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo [2024-10-03T03:56:17.004Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-03T03:56:17.026Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-03T03:56:17.045Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo [2024-10-03T03:56:17.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = latest [Pipeline] echo [2024-10-03T03:56:17.082Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = snyk [Pipeline] echo [2024-10-03T03:56:17.102Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = snyk [Pipeline] echo [2024-10-03T03:56:17.127Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = snyk [Pipeline] echo [2024-10-03T03:56:17.147Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f7ab65da8158b73678a37b9c26089cfd7eb06f1 [Pipeline] echo [2024-10-03T03:56:17.164Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f7ab65 [Pipeline] echo [2024-10-03T03:56:17.180Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T03:56:17.228Z] provisioning config files... [2024-10-03T03:56:17.241Z] copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config12088314911247620996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:56:17.585Z] ---> ****-login.sh [2024-10-03T03:56:17.585Z] nexus3.edgexfoundry.org:10001 [2024-10-03T03:56:17.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:56:17.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:56:17.846Z] Configure a credential helper to remove this warning. See [2024-10-03T03:56:17.847Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:56:17.847Z] [2024-10-03T03:56:17.847Z] Login Succeeded [2024-10-03T03:56:17.847Z] nexus3.edgexfoundry.org:10002 [2024-10-03T03:56:17.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:56:18.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:56:18.111Z] Configure a credential helper to remove this warning. See [2024-10-03T03:56:18.111Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:56:18.111Z] [2024-10-03T03:56:18.112Z] Login Succeeded [2024-10-03T03:56:18.112Z] nexus3.edgexfoundry.org:10003 [2024-10-03T03:56:18.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:56:18.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:56:18.112Z] Configure a credential helper to remove this warning. See [2024-10-03T03:56:18.112Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:56:18.112Z] [2024-10-03T03:56:18.112Z] Login Succeeded [2024-10-03T03:56:18.112Z] nexus3.edgexfoundry.org:10004 [2024-10-03T03:56:18.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:56:18.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:56:18.373Z] Configure a credential helper to remove this warning. See [2024-10-03T03:56:18.373Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:56:18.373Z] [2024-10-03T03:56:18.373Z] Login Succeeded [2024-10-03T03:56:18.373Z] ****.io [2024-10-03T03:56:18.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:56:18.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:56:18.635Z] Configure a credential helper to remove this warning. See [2024-10-03T03:56:18.635Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:56:18.635Z] [2024-10-03T03:56:18.635Z] Login Succeeded [2024-10-03T03:56:18.636Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T03:56:18.645Z] 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 [2024-10-03T03:56:19.020Z] provisioning config files... [Pipeline] // stage [Pipeline] } [2024-10-03T03:56:19.071Z] copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config2879722670055899816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:56:19.377Z] ---> ****-login.sh [2024-10-03T03:56:19.377Z] nexus3.edgexfoundry.org:10001 [2024-10-03T03:56:19.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:56:19.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:56:19.377Z] Configure a credential helper to remove this warning. See [2024-10-03T03:56:19.377Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:56:19.377Z] [2024-10-03T03:56:19.377Z] Login Succeeded [2024-10-03T03:56:19.377Z] nexus3.edgexfoundry.org:10002 [2024-10-03T03:56:19.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:56:19.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:56:19.377Z] Configure a credential helper to remove this warning. See [2024-10-03T03:56:19.377Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:56:19.377Z] [2024-10-03T03:56:19.377Z] Login Succeeded [2024-10-03T03:56:19.378Z] nexus3.edgexfoundry.org:10003 [2024-10-03T03:56:19.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:56:19.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:56:19.638Z] Configure a credential helper to remove this warning. See [2024-10-03T03:56:19.638Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:56:19.638Z] [2024-10-03T03:56:19.638Z] Login Succeeded [2024-10-03T03:56:19.638Z] nexus3.edgexfoundry.org:10004 [2024-10-03T03:56:19.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:56:19.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:56:19.638Z] Configure a credential helper to remove this warning. See [2024-10-03T03:56:19.638Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:56:19.638Z] [2024-10-03T03:56:19.638Z] Login Succeeded [2024-10-03T03:56:19.638Z] ****.io [2024-10-03T03:56:19.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T03:56:19.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T03:56:19.899Z] Configure a credential helper to remove this warning. See [2024-10-03T03:56:19.899Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T03:56:19.899Z] [2024-10-03T03:56:19.899Z] Login Succeeded [2024-10-03T03:56:19.899Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T03:56:19.908Z] 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 [2024-10-03T03:56:20.420Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-03T03:56:20.711Z] + ls -al . [2024-10-03T03:56:20.711Z] total 20 [2024-10-03T03:56:20.711Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:56 . [2024-10-03T03:56:20.711Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:56 .. [2024-10-03T03:56:20.711Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 03:56 .git [2024-10-03T03:56:20.711Z] -rw-rw-r-- 1 jenkins jenkins 684 Oct 3 03:56 Dockerfile [2024-10-03T03:56:20.711Z] -rw-rw-r-- 1 jenkins jenkins 933 Oct 3 03:56 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:56:21.144Z] + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=1f7ab65da8158b73678a37b9c26089cfd7eb06f1 --label arch=amd64 . [2024-10-03T03:56:21.144Z] Sending build context to Docker daemon 477.7kB [2024-10-03T03:56:21.144Z] Step 1/11 : FROM golang:1.23-alpine3.20 [2024-10-03T03:56:21.405Z] 1.23-alpine3.20: Pulling from library/golang [2024-10-03T03:56:21.665Z] 43c4264eed91: Pulling fs layer [2024-10-03T03:56:21.665Z] 4cc291be95ef: Pulling fs layer [2024-10-03T03:56:21.665Z] 2ac1f1163629: Pulling fs layer [2024-10-03T03:56:21.665Z] 5c3c966382ef: Pulling fs layer [2024-10-03T03:56:21.665Z] 4f4fb700ef54: Pulling fs layer [2024-10-03T03:56:21.665Z] 5c3c966382ef: Waiting [2024-10-03T03:56:21.665Z] 4f4fb700ef54: Waiting [2024-10-03T03:56:21.665Z] 4cc291be95ef: Download complete [2024-10-03T03:56:21.665Z] 43c4264eed91: Verifying Checksum [2024-10-03T03:56:21.665Z] 43c4264eed91: Download complete [2024-10-03T03:56:21.925Z] 5c3c966382ef: Download complete [2024-10-03T03:56:21.925Z] 4f4fb700ef54: Verifying Checksum [2024-10-03T03:56:21.925Z] 4f4fb700ef54: Download complete [2024-10-03T03:56:21.925Z] 43c4264eed91: Pull complete [2024-10-03T03:56:22.185Z] 4cc291be95ef: Pull complete [2024-10-03T03:56:22.185Z] 2ac1f1163629: Verifying Checksum [2024-10-03T03:56:22.185Z] 2ac1f1163629: Download complete [2024-10-03T03:56:26.403Z] 2ac1f1163629: Pull complete [2024-10-03T03:56:26.403Z] 5c3c966382ef: Pull complete [2024-10-03T03:56:26.403Z] 4f4fb700ef54: Pull complete [2024-10-03T03:56:26.403Z] Digest: sha256:9dd2625a1ff2859b8d8b01d8f7822c0f528942fe56cfe7a1e7c38d3b8d72d679 [2024-10-03T03:56:26.403Z] Status: Downloaded newer image for golang:1.23-alpine3.20 [2024-10-03T03:56:26.403Z] ---> 5a72c8b95319 [2024-10-03T03:56:26.403Z] Step 2/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2022: Intel' [2024-10-03T03:56:29.701Z] ---> Running in 640055625d52 [2024-10-03T03:56:29.701Z] Removing intermediate container 640055625d52 [2024-10-03T03:56:29.701Z] ---> 37b2b238fe95 [2024-10-03T03:56:29.701Z] Step 3/11 : ARG SNYK_VERSION=1.1293.1 [2024-10-03T03:56:29.701Z] ---> Running in 2ab67af6c3d1 [2024-10-03T03:56:29.701Z] Removing intermediate container 2ab67af6c3d1 [2024-10-03T03:56:29.701Z] ---> 775a062b06ac [2024-10-03T03:56:29.701Z] Step 4/11 : ENV SNYK_VERSION=${SNYK_VERSION} [2024-10-03T03:56:29.701Z] ---> Running in ee6ef2c206f4 [2024-10-03T03:56:29.701Z] Removing intermediate container ee6ef2c206f4 [2024-10-03T03:56:29.701Z] ---> 559b52925f30 [2024-10-03T03:56:29.701Z] Step 5/11 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2024-10-03T03:56:29.701Z] latest: Pulling from library/docker [2024-10-03T03:56:29.961Z] 43c4264eed91: Already exists [2024-10-03T03:56:29.961Z] eeae0a4c3aab: Pulling fs layer [2024-10-03T03:56:29.961Z] 4f4fb700ef54: Pulling fs layer [2024-10-03T03:56:29.961Z] cc787dab98b1: Pulling fs layer [2024-10-03T03:56:29.961Z] 4dde54e28b69: Pulling fs layer [2024-10-03T03:56:29.961Z] f76cc74ad672: Pulling fs layer [2024-10-03T03:56:29.961Z] c3730cf3cbd1: Pulling fs layer [2024-10-03T03:56:29.961Z] 08f9c6ae64ba: Pulling fs layer [2024-10-03T03:56:29.961Z] da8ae46b6347: Pulling fs layer [2024-10-03T03:56:29.961Z] 4dde54e28b69: Waiting [2024-10-03T03:56:29.961Z] f76cc74ad672: Waiting [2024-10-03T03:56:29.961Z] c3730cf3cbd1: Waiting [2024-10-03T03:56:29.961Z] 08f9c6ae64ba: Waiting [2024-10-03T03:56:29.961Z] da8ae46b6347: Waiting [2024-10-03T03:56:29.961Z] 3f5a3c6f02f7: Pulling fs layer [2024-10-03T03:56:29.961Z] 238637adc6c9: Pulling fs layer [2024-10-03T03:56:29.961Z] 3f5a3c6f02f7: Waiting [2024-10-03T03:56:29.961Z] 61595ab5b53d: Pulling fs layer [2024-10-03T03:56:29.961Z] 835d4c51c9f5: Pulling fs layer [2024-10-03T03:56:29.961Z] d29e3ca0965c: Pulling fs layer [2024-10-03T03:56:29.961Z] 238637adc6c9: Waiting [2024-10-03T03:56:29.961Z] ccb967684857: Pulling fs layer [2024-10-03T03:56:29.961Z] d29e3ca0965c: Waiting [2024-10-03T03:56:29.961Z] 835d4c51c9f5: Waiting [2024-10-03T03:56:29.961Z] babf1dc4851c: Pulling fs layer [2024-10-03T03:56:29.961Z] ccb967684857: Waiting [2024-10-03T03:56:29.961Z] 4f4fb700ef54: Download complete [2024-10-03T03:56:29.961Z] cc787dab98b1: Verifying Checksum [2024-10-03T03:56:29.961Z] cc787dab98b1: Download complete [2024-10-03T03:56:29.961Z] eeae0a4c3aab: Verifying Checksum [2024-10-03T03:56:29.961Z] eeae0a4c3aab: Download complete [2024-10-03T03:56:30.223Z] 4dde54e28b69: Verifying Checksum [2024-10-03T03:56:30.223Z] 4dde54e28b69: Download complete [2024-10-03T03:56:30.224Z] f76cc74ad672: Verifying Checksum [2024-10-03T03:56:30.224Z] f76cc74ad672: Download complete [2024-10-03T03:56:30.224Z] 08f9c6ae64ba: Download complete [2024-10-03T03:56:30.224Z] eeae0a4c3aab: Pull complete [2024-10-03T03:56:30.483Z] c3730cf3cbd1: Verifying Checksum [2024-10-03T03:56:30.483Z] c3730cf3cbd1: Download complete [2024-10-03T03:56:30.483Z] 3f5a3c6f02f7: Download complete [2024-10-03T03:56:30.483Z] da8ae46b6347: Verifying Checksum [2024-10-03T03:56:30.483Z] da8ae46b6347: Download complete [2024-10-03T03:56:30.483Z] 4f4fb700ef54: Pull complete [2024-10-03T03:56:30.483Z] 238637adc6c9: Verifying Checksum [2024-10-03T03:56:30.483Z] 238637adc6c9: Download complete [2024-10-03T03:56:30.483Z] 61595ab5b53d: Download complete [2024-10-03T03:56:30.483Z] 835d4c51c9f5: Verifying Checksum [2024-10-03T03:56:30.483Z] 835d4c51c9f5: Download complete [2024-10-03T03:56:30.483Z] cc787dab98b1: Pull complete [2024-10-03T03:56:30.483Z] ccb967684857: Verifying Checksum [2024-10-03T03:56:30.483Z] ccb967684857: Download complete [2024-10-03T03:56:30.483Z] babf1dc4851c: Verifying Checksum [2024-10-03T03:56:30.483Z] babf1dc4851c: Download complete [2024-10-03T03:56:31.053Z] 4dde54e28b69: Pull complete [2024-10-03T03:56:31.053Z] d29e3ca0965c: Download complete [2024-10-03T03:56:31.313Z] f76cc74ad672: Pull complete [2024-10-03T03:56:31.882Z] c3730cf3cbd1: Pull complete [2024-10-03T03:56:31.882Z] 08f9c6ae64ba: Pull complete [2024-10-03T03:56:31.882Z] da8ae46b6347: Pull complete [2024-10-03T03:56:32.142Z] 3f5a3c6f02f7: Pull complete [2024-10-03T03:56:32.404Z] 238637adc6c9: Pull complete [2024-10-03T03:56:32.404Z] 61595ab5b53d: Pull complete [2024-10-03T03:56:32.404Z] 835d4c51c9f5: Pull complete [2024-10-03T03:56:33.781Z] d29e3ca0965c: Pull complete [2024-10-03T03:56:33.781Z] ccb967684857: Pull complete [2024-10-03T03:56:33.781Z] babf1dc4851c: Pull complete [2024-10-03T03:56:34.040Z] Digest: sha256:8d5039800a368057d99fc0a75167d80f345ac8650850509adc7fe25c64cba9dd [2024-10-03T03:56:34.040Z] Status: Downloaded newer image for docker:latest [2024-10-03T03:56:37.617Z] ---> a78fae89ddd0 [2024-10-03T03:56:37.617Z] 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 [2024-10-03T03:56:37.617Z] ---> Running in f31c0d4ab519 [2024-10-03T03:56:37.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-03T03:56:37.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-03T03:56:38.189Z] (1/33) Installing tzdata (2024b-r0) [2024-10-03T03:56:38.189Z] (2/33) Installing tcl (8.6.14-r1) [2024-10-03T03:56:38.189Z] (3/33) Installing expect (5.45.4-r4) [2024-10-03T03:56:38.189Z] (4/33) Installing libgcc (13.2.1_git20240309-r0) [2024-10-03T03:56:38.189Z] (5/33) Installing jansson (2.14-r4) [2024-10-03T03:56:38.189Z] (6/33) Installing libstdc++ (13.2.1_git20240309-r0) [2024-10-03T03:56:38.189Z] (7/33) Installing zstd-libs (1.5.6-r0) [2024-10-03T03:56:38.189Z] (8/33) Installing binutils (2.42-r0) [2024-10-03T03:56:38.189Z] (9/33) Installing libgomp (13.2.1_git20240309-r0) [2024-10-03T03:56:38.451Z] (10/33) Installing libatomic (13.2.1_git20240309-r0) [2024-10-03T03:56:38.451Z] (11/33) Installing gmp (6.3.0-r1) [2024-10-03T03:56:38.451Z] (12/33) Installing isl26 (0.26-r1) [2024-10-03T03:56:38.451Z] (13/33) Installing mpfr4 (4.2.1-r0) [2024-10-03T03:56:38.451Z] (14/33) Installing mpc1 (1.3.1-r1) [2024-10-03T03:56:38.451Z] (15/33) Installing gcc (13.2.1_git20240309-r0) [2024-10-03T03:56:39.020Z] (16/33) Installing brotli-libs (1.1.0-r2) [2024-10-03T03:56:39.020Z] (17/33) Installing c-ares (1.33.1-r0) [2024-10-03T03:56:39.020Z] (18/33) Installing libunistring (1.2-r0) [2024-10-03T03:56:39.020Z] (19/33) Installing libidn2 (2.3.7-r0) [2024-10-03T03:56:39.020Z] (20/33) Installing nghttp2-libs (1.62.1-r0) [2024-10-03T03:56:39.020Z] (21/33) Installing libpsl (0.21.5-r1) [2024-10-03T03:56:39.020Z] (22/33) Installing libcurl (8.10.1-r0) [2024-10-03T03:56:39.284Z] (23/33) Installing libexpat (2.6.3-r0) [2024-10-03T03:56:39.284Z] (24/33) Installing pcre2 (10.43-r0) [2024-10-03T03:56:39.284Z] (25/33) Installing git (2.45.2-r0) [2024-10-03T03:56:39.284Z] (26/33) Installing git-init-template (2.45.2-r0) [2024-10-03T03:56:39.284Z] (27/33) Installing musl-dev (1.2.5-r0) [2024-10-03T03:56:39.284Z] (28/33) Installing ada-libs (2.7.8-r0) [2024-10-03T03:56:39.284Z] (29/33) Installing libbase64 (0.5.2-r0) [2024-10-03T03:56:39.284Z] (30/33) Installing icu-data-en (74.2-r0) [2024-10-03T03:56:39.284Z] Executing icu-data-en-74.2-r0.post-install [2024-10-03T03:56:39.284Z] * [2024-10-03T03:56:39.284Z] * If you need ICU with non-English locales and legacy charset support, install [2024-10-03T03:56:39.284Z] * package icu-data-full. [2024-10-03T03:56:39.284Z] * [2024-10-03T03:56:39.284Z] (31/33) Installing icu-libs (74.2-r0) [2024-10-03T03:56:39.284Z] (32/33) Installing nodejs (20.15.1-r0) [2024-10-03T03:56:39.544Z] (33/33) Installing npm (10.8.0-r0) [2024-10-03T03:56:39.804Z] Executing busybox-1.36.1-r29.trigger [2024-10-03T03:56:39.804Z] OK: 237 MiB in 48 packages [2024-10-03T03:56:39.804Z] Connecting to github.com (140.82.112.3:443) [2024-10-03T03:56:39.804Z] Connecting to github.com (140.82.112.3:443) [2024-10-03T03:56:40.064Z] Connecting to objects.githubusercontent.com (185.199.109.133:443) [2024-10-03T03:56:40.065Z] saving to '/usr/local/bin/snyk' [2024-10-03T03:56:40.325Z] snyk 11% |*** | 12.0M 0:00:07 ETA [2024-10-03T03:56:40.895Z] snyk 100% |********************************| 106M 0:00:00 ETA [2024-10-03T03:56:40.895Z] '/usr/local/bin/snyk' saved [2024-10-03T03:56:42.278Z]  [2024-10-03T03:56:42.278Z] added 23 packages in 1s [2024-10-03T03:56:42.278Z] [2024-10-03T03:56:42.278Z] 1 package is looking for funding [2024-10-03T03:56:42.278Z] run `npm fund` for details [2024-10-03T03:56:52.291Z] Removing intermediate container f31c0d4ab519 [2024-10-03T03:56:52.291Z] ---> 94a13d510d59 [2024-10-03T03:56:52.291Z] Step 7/11 : ENV GO111MODULE=on [2024-10-03T03:56:52.291Z] ---> Running in de60f0e12292 [2024-10-03T03:56:52.291Z] Removing intermediate container de60f0e12292 [2024-10-03T03:56:52.291Z] ---> 4b7261b92126 [2024-10-03T03:56:52.291Z] Step 8/11 : ENTRYPOINT [ "snyk" ] [2024-10-03T03:56:52.291Z] ---> Running in 7a4652e86451 [2024-10-03T03:56:52.291Z] Removing intermediate container 7a4652e86451 [2024-10-03T03:56:52.291Z] ---> 3f2802880917 [2024-10-03T03:56:52.291Z] Step 9/11 : CMD [ "monitor" ] [2024-10-03T03:56:52.291Z] ---> Running in 6378f1f3c35f [2024-10-03T03:56:52.291Z] Removing intermediate container 6378f1f3c35f [2024-10-03T03:56:52.291Z] ---> 9836b94a1cb5 [2024-10-03T03:56:52.291Z] Step 10/11 : LABEL arch=amd64 [2024-10-03T03:56:52.291Z] ---> Running in 9d5c7cd409fb [2024-10-03T03:56:52.291Z] Removing intermediate container 9d5c7cd409fb [2024-10-03T03:56:52.291Z] ---> be83ceeecb0a [2024-10-03T03:56:52.291Z] Step 11/11 : LABEL git_sha=1f7ab65da8158b73678a37b9c26089cfd7eb06f1 [2024-10-03T03:56:52.291Z] ---> Running in 7120757f36e7 [2024-10-03T03:56:52.291Z] Removing intermediate container 7120757f36e7 [2024-10-03T03:56:52.291Z] ---> ef5ed6fc951f [2024-10-03T03:56:52.291Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-03T03:56:52.291Z] Successfully built ef5ed6fc951f [2024-10-03T03:56:52.291Z] 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 [2024-10-03T03:56:52.450Z] [edgeXDocker.push] Tagging docker image edgex-snyk-go with the following tags: [2024-10-03T03:56:52.450Z] 1f7ab65da8158b73678a37b9c26089cfd7eb06f1 [2024-10-03T03:56:52.450Z] latest [2024-10-03T03:56:52.450Z] snyk [2024-10-03T03:56:52.450Z] latest [2024-10-03T03:56:52.450Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:56:52.793Z] + 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 [2024-10-03T03:56:53.119Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1f7ab65da8158b73678a37b9c26089cfd7eb06f1 [2024-10-03T03:56:53.119Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2024-10-03T03:56:53.119Z] 5e61d4538c03: Preparing [2024-10-03T03:56:53.119Z] 5ea88c2fd876: Preparing [2024-10-03T03:56:53.119Z] 5f70bf18a086: Preparing [2024-10-03T03:56:53.119Z] e826d2a54efa: Preparing [2024-10-03T03:56:53.119Z] bb0b3c8fba07: Preparing [2024-10-03T03:56:53.119Z] 201b29c7630a: Preparing [2024-10-03T03:56:53.119Z] 63ca1fbb43ae: Preparing [2024-10-03T03:56:53.119Z] 63ca1fbb43ae: Waiting [2024-10-03T03:56:53.119Z] 201b29c7630a: Waiting [2024-10-03T03:56:53.119Z] 5f70bf18a086: Layer already exists [2024-10-03T03:56:53.119Z] e826d2a54efa: Layer already exists [2024-10-03T03:56:53.119Z] bb0b3c8fba07: Layer already exists [2024-10-03T03:56:53.119Z] 201b29c7630a: Layer already exists [2024-10-03T03:56:53.119Z] 63ca1fbb43ae: Layer already exists [2024-10-03T03:56:57.317Z] 5ea88c2fd876: Pushed [2024-10-03T03:57:36.048Z] 5e61d4538c03: Pushed [2024-10-03T03:57:36.048Z] 1f7ab65da8158b73678a37b9c26089cfd7eb06f1: digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b size: 1788 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:57:36.373Z] + 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 [2024-10-03T03:57:36.687Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-10-03T03:57:36.688Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2024-10-03T03:57:36.688Z] 5e61d4538c03: Preparing [2024-10-03T03:57:36.688Z] 5ea88c2fd876: Preparing [2024-10-03T03:57:36.688Z] 5f70bf18a086: Preparing [2024-10-03T03:57:36.688Z] e826d2a54efa: Preparing [2024-10-03T03:57:36.688Z] bb0b3c8fba07: Preparing [2024-10-03T03:57:36.688Z] 201b29c7630a: Preparing [2024-10-03T03:57:36.688Z] 63ca1fbb43ae: Preparing [2024-10-03T03:57:36.688Z] 201b29c7630a: Waiting [2024-10-03T03:57:36.688Z] 63ca1fbb43ae: Waiting [2024-10-03T03:57:36.688Z] e826d2a54efa: Layer already exists [2024-10-03T03:57:36.688Z] 5e61d4538c03: Layer already exists [2024-10-03T03:57:36.688Z] 5ea88c2fd876: Layer already exists [2024-10-03T03:57:36.688Z] 5f70bf18a086: Layer already exists [2024-10-03T03:57:36.688Z] bb0b3c8fba07: Layer already exists [2024-10-03T03:57:36.688Z] 201b29c7630a: Layer already exists [2024-10-03T03:57:36.688Z] 63ca1fbb43ae: Layer already exists [2024-10-03T03:57:36.688Z] latest: digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b size: 1788 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:57:37.011Z] + 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 [2024-10-03T03:57:37.340Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [2024-10-03T03:57:37.340Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2024-10-03T03:57:37.340Z] 5e61d4538c03: Preparing [2024-10-03T03:57:37.340Z] 5ea88c2fd876: Preparing [2024-10-03T03:57:37.340Z] 5f70bf18a086: Preparing [2024-10-03T03:57:37.340Z] e826d2a54efa: Preparing [2024-10-03T03:57:37.340Z] bb0b3c8fba07: Preparing [2024-10-03T03:57:37.340Z] 201b29c7630a: Preparing [2024-10-03T03:57:37.340Z] 63ca1fbb43ae: Preparing [2024-10-03T03:57:37.340Z] 201b29c7630a: Waiting [2024-10-03T03:57:37.340Z] 63ca1fbb43ae: Waiting [2024-10-03T03:57:37.340Z] bb0b3c8fba07: Layer already exists [2024-10-03T03:57:37.340Z] 5e61d4538c03: Layer already exists [2024-10-03T03:57:37.340Z] e826d2a54efa: Layer already exists [2024-10-03T03:57:37.340Z] 5ea88c2fd876: Layer already exists [2024-10-03T03:57:37.340Z] 5f70bf18a086: Layer already exists [2024-10-03T03:57:37.340Z] 63ca1fbb43ae: Layer already exists [2024-10-03T03:57:37.340Z] 201b29c7630a: Layer already exists [2024-10-03T03:57:37.340Z] snyk: digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b size: 1788 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:57:37.655Z] + 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 [2024-10-03T03:57:37.975Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-10-03T03:57:37.975Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2024-10-03T03:57:37.975Z] 5e61d4538c03: Preparing [2024-10-03T03:57:37.975Z] 5ea88c2fd876: Preparing [2024-10-03T03:57:37.975Z] 5f70bf18a086: Preparing [2024-10-03T03:57:37.975Z] e826d2a54efa: Preparing [2024-10-03T03:57:37.975Z] bb0b3c8fba07: Preparing [2024-10-03T03:57:37.975Z] 201b29c7630a: Preparing [2024-10-03T03:57:37.975Z] 63ca1fbb43ae: Preparing [2024-10-03T03:57:37.975Z] 201b29c7630a: Waiting [2024-10-03T03:57:37.975Z] e826d2a54efa: Layer already exists [2024-10-03T03:57:37.975Z] 5f70bf18a086: Layer already exists [2024-10-03T03:57:37.975Z] bb0b3c8fba07: Layer already exists [2024-10-03T03:57:37.975Z] 5e61d4538c03: Layer already exists [2024-10-03T03:57:37.975Z] 5ea88c2fd876: Layer already exists [2024-10-03T03:57:37.975Z] 63ca1fbb43ae: Layer already exists [2024-10-03T03:57:37.975Z] 201b29c7630a: Layer already exists [2024-10-03T03:57:37.975Z] latest: digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b size: 1788 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-10-03T03:57:38.047Z] ===================================================== [Pipeline] echo [2024-10-03T03:57:38.071Z] taggedImages: [2024-10-03T03:57:38.071Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1f7ab65da8158b73678a37b9c26089cfd7eb06f1 [2024-10-03T03:57:38.071Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-10-03T03:57:38.071Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [2024-10-03T03:57:38.071Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:57:38.471Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T03:57:38.471Z] [2024-10-03T03:57:38.471Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:57:38.780Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T03:57:38.781Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-03T03:57:38.781Z] 5eb5b503b376: Pulling fs layer [2024-10-03T03:57:38.781Z] 5c69ac0246d0: Pulling fs layer [2024-10-03T03:57:38.781Z] ec43610c2a17: Pulling fs layer [2024-10-03T03:57:38.781Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-03T03:57:38.781Z] 33b1e0a273af: Pulling fs layer [2024-10-03T03:57:38.781Z] 5d3b04190fa2: Pulling fs layer [2024-10-03T03:57:38.781Z] 2f39f015ded8: Pulling fs layer [2024-10-03T03:57:38.781Z] 3a2ae6a8a46f: Waiting [2024-10-03T03:57:38.781Z] 33b1e0a273af: Waiting [2024-10-03T03:57:38.781Z] 2f39f015ded8: Waiting [2024-10-03T03:57:38.781Z] 5d3b04190fa2: Waiting [2024-10-03T03:57:38.781Z] 5c69ac0246d0: Download complete [2024-10-03T03:57:38.781Z] 3a2ae6a8a46f: Download complete [2024-10-03T03:57:39.039Z] 33b1e0a273af: Verifying Checksum [2024-10-03T03:57:39.039Z] 33b1e0a273af: Download complete [2024-10-03T03:57:39.039Z] ec43610c2a17: Verifying Checksum [2024-10-03T03:57:39.039Z] ec43610c2a17: Download complete [2024-10-03T03:57:39.039Z] 5d3b04190fa2: Verifying Checksum [2024-10-03T03:57:39.039Z] 5d3b04190fa2: Download complete [2024-10-03T03:57:39.039Z] 5eb5b503b376: Verifying Checksum [2024-10-03T03:57:39.039Z] 5eb5b503b376: Download complete [2024-10-03T03:57:39.609Z] 2f39f015ded8: Verifying Checksum [2024-10-03T03:57:39.609Z] 2f39f015ded8: Download complete [2024-10-03T03:57:40.547Z] 5eb5b503b376: Pull complete [2024-10-03T03:57:40.547Z] 5c69ac0246d0: Pull complete [2024-10-03T03:57:41.114Z] ec43610c2a17: Pull complete [2024-10-03T03:57:41.114Z] 3a2ae6a8a46f: Pull complete [2024-10-03T03:57:41.373Z] 33b1e0a273af: Pull complete [2024-10-03T03:57:41.373Z] 5d3b04190fa2: Pull complete [2024-10-03T03:57:45.586Z] 2f39f015ded8: Pull complete [2024-10-03T03:57:45.847Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-03T03:57:45.847Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T03:57:45.847Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T03:57:45.986Z] prd-ubuntu20.04-docker-8c-8g-13167 does not seem to be running inside a container [2024-10-03T03:57:46.023Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_ci-build-images_snyk -v /w/workspace/dgexfoundry_ci-build-images_snyk:/w/workspace/dgexfoundry_ci-build-images_snyk:rw,z -v /w/workspace/dgexfoundry_ci-build-images_snyk@tmp:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-03T03:57:50.570Z] $ docker top 15b6638af4ca31262406b697adc6cf1ab006ae7ea945db854852cfe351d44e69 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:57:51.235Z] ---> job-cost.sh [2024-10-03T03:57:51.235Z] lf-activate-venv: SKIPPING [2024-10-03T03:57:51.235Z] INFO: No Stack... [2024-10-03T03:57:51.495Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-03T03:57:51.756Z] INFO: Archiving Costs [Pipeline] sh [2024-10-03T03:57:52.048Z] + cat /w/workspace/dgexfoundry_ci-build-images_snyk/archives/cost.csv [2024-10-03T03:57:52.048Z] + cut -d, -f6 [Pipeline] lock [2024-10-03T03:57:52.080Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-ci-build-images-snyk-14-stack-cost] [2024-10-03T03:57:52.089Z] Resource [jenkins-edgexfoundry-ci-build-images-snyk-14-stack-cost] did not exist. Created. [2024-10-03T03:57:52.100Z] Lock acquired on [Resource: jenkins-edgexfoundry-ci-build-images-snyk-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-03T03:57:52.406Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-03T03:57:52.672Z] Stashed 1 file(s) [Pipeline] } [2024-10-03T03:57:52.683Z] Lock released on resource [Resource: jenkins-edgexfoundry-ci-build-images-snyk-14-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-03T03:57:52.715Z] $ docker stop --time=1 15b6638af4ca31262406b697adc6cf1ab006ae7ea945db854852cfe351d44e69 [2024-10-03T03:57:53.873Z] $ docker rm -f --volumes 15b6638af4ca31262406b697adc6cf1ab006ae7ea945db854852cfe351d44e69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-03T03:57:54.537Z] + [ -d /w/workspace/dgexfoundry_ci-build-images_snyk/archives ] [2024-10-03T03:57:54.537Z] + ls -al /w/workspace/dgexfoundry_ci-build-images_snyk/archives [2024-10-03T03:57:54.537Z] total 16 [2024-10-03T03:57:54.537Z] drwxr-xr-x 3 root root 4096 Oct 3 03:57 . [2024-10-03T03:57:54.537Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:57 .. [2024-10-03T03:57:54.537Z] drwxr-xr-x 2 root root 4096 Oct 3 03:57 cost [2024-10-03T03:57:54.537Z] -rw-r--r-- 1 root root 86 Oct 3 03:57 cost.csv [2024-10-03T03:57:54.537Z] + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_ci-build-images_snyk/archives [2024-10-03T03:57:54.537Z] + ls -al /w/workspace/dgexfoundry_ci-build-images_snyk/archives [2024-10-03T03:57:54.537Z] total 16 [2024-10-03T03:57:54.537Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 03:57 . [2024-10-03T03:57:54.537Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:57 .. [2024-10-03T03:57:54.537Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 03:57 cost [2024-10-03T03:57:54.537Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 3 03:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:57:54.834Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:57:55.698Z] ---> package-listing.sh [2024-10-03T03:57:55.698Z] ++ facter osfamily [2024-10-03T03:57:55.698Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-03T03:57:55.959Z] + OS_FAMILY=debian [2024-10-03T03:57:55.959Z] + workspace=/w/workspace/dgexfoundry_ci-build-images_snyk [2024-10-03T03:57:55.959Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-03T03:57:55.959Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-03T03:57:55.959Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-03T03:57:55.959Z] + PACKAGES=/tmp/packages_start.txt [2024-10-03T03:57:55.959Z] + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' [2024-10-03T03:57:55.959Z] + PACKAGES=/tmp/packages_end.txt [2024-10-03T03:57:55.959Z] + case "${OS_FAMILY}" in [2024-10-03T03:57:55.959Z] + dpkg -l [2024-10-03T03:57:55.959Z] + grep '^ii' [2024-10-03T03:57:55.959Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-03T03:57:55.959Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-03T03:57:55.959Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-03T03:57:55.959Z] + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' [2024-10-03T03:57:55.959Z] + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [2024-10-03T03:57:55.959Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [Pipeline] echo [2024-10-03T03:57:55.971Z] 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 [2024-10-03T03:57:56.249Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T03:57:56.825Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T03:57:56.825Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T03:57:56.910Z] prd-ubuntu20.04-docker-8c-8g-13167 does not seem to be running inside a container [2024-10-03T03:57:56.941Z] $ 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 [2024-10-03T03:57:57.141Z] $ docker top 2876f9238d618a10b7340d45f53b77e10fb679ddb37e6fa699128df92c677e47 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T03:57:57.498Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-03T03:57:57.790Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-03T03:57:58.078Z] + ls /var/log/sa-host [2024-10-03T03:57:58.078Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T03:57:58.163Z] provisioning config files... [2024-10-03T03:57:58.171Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config2483292783141764052tmp [Pipeline] { [Pipeline] echo [2024-10-03T03:57:58.184Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:57:58.464Z] ---> create-netrc.sh [Pipeline] } [2024-10-03T03:57:58.471Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:57:58.808Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-03T03:57:58.818Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:57:59.103Z] ---> sudo-logs.sh [2024-10-03T03:57:59.103Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-03T03:57:59.159Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:57:59.446Z] ---> job-cost.sh [2024-10-03T03:57:59.446Z] lf-activate-venv: SKIPPING [2024-10-03T03:57:59.446Z] DEBUG: total: 0.2199999988079071 [2024-10-03T03:57:59.446Z] INFO: Retrieving Stack Cost... [2024-10-03T03:57:59.446Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-03T03:57:59.706Z] INFO: Archiving Costs [Pipeline] echo [2024-10-03T03:57:59.718Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T03:57:59.999Z] ---> logs-deploy.sh [2024-10-03T03:57:59.999Z] lf-activate-venv: SKIPPING [2024-10-03T03:57:59.999Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/14 [2024-10-03T03:57:59.999Z] INFO: archiving workspace using pattern(s): [2024-10-03T03:58:00.938Z] Archives upload complete. [2024-10-03T03:58:01.198Z] INFO: archiving logs to Nexus