Push event to branch snyk Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 241e441a21bb95dbc212e152a9be218cfbd779fc 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-ssh381326244636454330.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh9393491812659090761.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/snyk/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-ssh2571701275803824089.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-ssh15430093561797911205.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh2206186348940082376.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/snyk/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-ssh3182017775949934001.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:edgex-snyk-go, arch:[amd64], mavenSettings:ci-build-images-settings, dockerImageName:edgex-snyk-go, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[1.410.4], releaseBranchOverride:snyk] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: ci-build-images-settings PROJECT: edgex-snyk-go USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-snyk-go DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-snyk-go-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: snyk DOCKER_CUSTOM_TAGS: 1.410.4 [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-266’ is offline Running on prd-ubuntu20.04-docker-8c-8g-268 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 Avoid second fetch Checking out Revision 241e441a21bb95dbc212e152a9be218cfbd779fc (snyk) 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 241e441a21bb95dbc212e152a9be218cfbd779fc # timeout=10 Commit message: "Merge pull request #190 from ernestojeda/snyk" > git rev-list --no-walk c441fc6225a9a6c983e209cd6613717029e7c043 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-27T16:07:53.696Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-27T16:07:53.788Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-27T16:07:53.803Z] ========================================================= [2022-05-27T16:07:53.803Z] EdgeX Global Pipelines Version Info [2022-05-27T16:07:53.803Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-27T16:07:54.615Z] ------------------- [2022-05-27T16:07:54.615Z] stable info: [2022-05-27T16:07:54.615Z] ------------------- [2022-05-27T16:07:54.615Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-27T16:07:54.615Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-27T16:07:54.615Z] Message: update stable to v1.0.230 [2022-05-27T16:07:55.191Z] ------------------- [2022-05-27T16:07:55.191Z] experimental info: [2022-05-27T16:07:55.191Z] ------------------- [2022-05-27T16:07:55.191Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-27T16:07:55.191Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-27T16:07:55.191Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2022-05-27T16:07:55.450Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2022-05-27T16:07:55.459Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo [2022-05-27T16:07:55.467Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2022-05-27T16:07:55.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-27T16:07:55.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-27T16:07:55.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo [2022-05-27T16:07:55.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2022-05-27T16:07:55.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2022-05-27T16:07:55.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2022-05-27T16:07:55.526Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-27T16:07:55.536Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2022-05-27T16:07:55.545Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo [2022-05-27T16:07:55.554Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-27T16:07:55.564Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-27T16:07:55.576Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo [2022-05-27T16:07:55.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.410.4 [Pipeline] echo [2022-05-27T16:07:55.588Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = snyk [Pipeline] echo [2022-05-27T16:07:55.594Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = snyk [Pipeline] echo [2022-05-27T16:07:55.600Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = snyk [Pipeline] echo [2022-05-27T16:07:55.606Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 241e441a21bb95dbc212e152a9be218cfbd779fc [Pipeline] echo [2022-05-27T16:07:55.612Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 241e441 [Pipeline] echo [2022-05-27T16:07:55.618Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-27T16:07:55.645Z] provisioning config files... [2022-05-27T16:07:55.658Z] copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config3097778784974451024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T16:07:55.980Z] ---> docker-login.sh [2022-05-27T16:07:55.980Z] nexus3.edgexfoundry.org:10001 [2022-05-27T16:07:56.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T16:07:56.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T16:07:56.503Z] Configure a credential helper to remove this warning. See [2022-05-27T16:07:56.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T16:07:56.503Z] [2022-05-27T16:07:56.503Z] Login Succeeded [2022-05-27T16:07:56.503Z] nexus3.edgexfoundry.org:10002 [2022-05-27T16:07:56.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T16:07:56.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T16:07:56.503Z] Configure a credential helper to remove this warning. See [2022-05-27T16:07:56.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T16:07:56.503Z] [2022-05-27T16:07:56.503Z] Login Succeeded [2022-05-27T16:07:56.503Z] nexus3.edgexfoundry.org:10003 [2022-05-27T16:07:56.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T16:07:56.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T16:07:56.765Z] Configure a credential helper to remove this warning. See [2022-05-27T16:07:56.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T16:07:56.766Z] [2022-05-27T16:07:56.766Z] Login Succeeded [2022-05-27T16:07:56.766Z] nexus3.edgexfoundry.org:10004 [2022-05-27T16:07:56.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T16:07:56.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T16:07:56.766Z] Configure a credential helper to remove this warning. See [2022-05-27T16:07:56.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T16:07:56.766Z] [2022-05-27T16:07:56.766Z] Login Succeeded [2022-05-27T16:07:56.766Z] docker.io [2022-05-27T16:07:57.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T16:07:57.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T16:07:57.291Z] Configure a credential helper to remove this warning. See [2022-05-27T16:07:57.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T16:07:57.291Z] [2022-05-27T16:07:57.291Z] Login Succeeded [2022-05-27T16:07:57.291Z] ---> docker-login.sh ends [Pipeline] } [2022-05-27T16:07:57.300Z] 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] } [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] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-27T16:07:57.520Z] provisioning config files... [Pipeline] // stage [Pipeline] } [2022-05-27T16:07:57.535Z] copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config7795180091794860768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T16:07:57.836Z] ---> docker-login.sh [2022-05-27T16:07:57.836Z] nexus3.edgexfoundry.org:10001 [2022-05-27T16:07:57.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T16:07:57.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T16:07:57.836Z] Configure a credential helper to remove this warning. See [2022-05-27T16:07:57.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T16:07:57.836Z] [2022-05-27T16:07:57.836Z] Login Succeeded [2022-05-27T16:07:57.836Z] nexus3.edgexfoundry.org:10002 [2022-05-27T16:07:57.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T16:07:58.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T16:07:58.098Z] Configure a credential helper to remove this warning. See [2022-05-27T16:07:58.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T16:07:58.098Z] [2022-05-27T16:07:58.098Z] Login Succeeded [2022-05-27T16:07:58.098Z] nexus3.edgexfoundry.org:10003 [2022-05-27T16:07:58.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T16:07:58.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T16:07:58.098Z] Configure a credential helper to remove this warning. See [2022-05-27T16:07:58.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T16:07:58.098Z] [2022-05-27T16:07:58.098Z] Login Succeeded [2022-05-27T16:07:58.098Z] nexus3.edgexfoundry.org:10004 [2022-05-27T16:07:58.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T16:07:58.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T16:07:58.359Z] Configure a credential helper to remove this warning. See [2022-05-27T16:07:58.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T16:07:58.359Z] [2022-05-27T16:07:58.359Z] Login Succeeded [2022-05-27T16:07:58.359Z] docker.io [2022-05-27T16:07:58.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T16:07:58.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T16:07:58.621Z] Configure a credential helper to remove this warning. See [2022-05-27T16:07:58.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T16:07:58.621Z] [2022-05-27T16:07:58.621Z] Login Succeeded [2022-05-27T16:07:58.621Z] ---> docker-login.sh ends [Pipeline] } [2022-05-27T16:07:58.627Z] 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 [2022-05-27T16:07:59.060Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-27T16:07:59.361Z] + ls -al . [2022-05-27T16:07:59.361Z] total 20 [2022-05-27T16:07:59.361Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 16:07 . [2022-05-27T16:07:59.361Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 16:07 .. [2022-05-27T16:07:59.361Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 16:07 .git [2022-05-27T16:07:59.361Z] -rw-rw-r-- 1 jenkins jenkins 633 May 27 16:07 Dockerfile [2022-05-27T16:07:59.361Z] -rw-rw-r-- 1 jenkins jenkins 896 May 27 16:07 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T16:07:59.713Z] + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=241e441a21bb95dbc212e152a9be218cfbd779fc --label arch=amd64 . [2022-05-27T16:07:59.714Z] Sending build context to Docker daemon 422.4kB [2022-05-27T16:07:59.714Z] Step 1/11 : FROM golang:1.17-alpine3.15 [2022-05-27T16:08:00.289Z] 1.17-alpine3.15: Pulling from library/golang [2022-05-27T16:08:00.289Z] df9b9388f04a: Pulling fs layer [2022-05-27T16:08:00.289Z] 52dc419b0ee2: Pulling fs layer [2022-05-27T16:08:00.289Z] 25bc292e5bac: Pulling fs layer [2022-05-27T16:08:00.289Z] 114826534d7a: Pulling fs layer [2022-05-27T16:08:00.289Z] 4657fd5d0bcf: Pulling fs layer [2022-05-27T16:08:00.289Z] 114826534d7a: Waiting [2022-05-27T16:08:00.289Z] 4657fd5d0bcf: Waiting [2022-05-27T16:08:00.551Z] 25bc292e5bac: Verifying Checksum [2022-05-27T16:08:00.551Z] 25bc292e5bac: Download complete [2022-05-27T16:08:00.551Z] 52dc419b0ee2: Verifying Checksum [2022-05-27T16:08:00.551Z] 52dc419b0ee2: Download complete [2022-05-27T16:08:00.551Z] df9b9388f04a: Verifying Checksum [2022-05-27T16:08:00.551Z] df9b9388f04a: Download complete [2022-05-27T16:08:00.551Z] 4657fd5d0bcf: Verifying Checksum [2022-05-27T16:08:00.812Z] df9b9388f04a: Pull complete [2022-05-27T16:08:00.812Z] 52dc419b0ee2: Pull complete [2022-05-27T16:08:01.073Z] 25bc292e5bac: Pull complete [2022-05-27T16:08:01.645Z] 114826534d7a: Verifying Checksum [2022-05-27T16:08:01.646Z] 114826534d7a: Download complete [2022-05-27T16:08:05.850Z] 114826534d7a: Pull complete [2022-05-27T16:08:05.850Z] 4657fd5d0bcf: Pull complete [2022-05-27T16:08:05.850Z] Digest: sha256:bd691ea289762398cf06aec6b4888a9cc6c177aff2ad4f3b2699c1a29ac522b2 [2022-05-27T16:08:05.850Z] Status: Downloaded newer image for golang:1.17-alpine3.15 [2022-05-27T16:08:05.850Z] ---> a15b7f2336ee [2022-05-27T16:08:05.850Z] Step 2/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-05-27T16:08:06.797Z] ---> Running in 8be73b1865bf [2022-05-27T16:08:07.058Z] Removing intermediate container 8be73b1865bf [2022-05-27T16:08:07.058Z] ---> 9024a06c363d [2022-05-27T16:08:07.058Z] Step 3/11 : ARG SNYK_VERSION=1.410.4 [2022-05-27T16:08:07.058Z] ---> Running in b6a451621b6b [2022-05-27T16:08:07.058Z] Removing intermediate container b6a451621b6b [2022-05-27T16:08:07.058Z] ---> f90799f087e4 [2022-05-27T16:08:07.058Z] Step 4/11 : ENV SNYK_VERSION=${SNYK_VERSION} [2022-05-27T16:08:07.058Z] ---> Running in 9201c66adc2c [2022-05-27T16:08:07.321Z] Removing intermediate container 9201c66adc2c [2022-05-27T16:08:07.321Z] ---> 01e331f3420b [2022-05-27T16:08:07.321Z] Step 5/11 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2022-05-27T16:08:07.894Z] latest: Pulling from library/docker [2022-05-27T16:08:07.894Z] 2408cc74d12b: Pulling fs layer [2022-05-27T16:08:07.894Z] d991df732aca: Pulling fs layer [2022-05-27T16:08:07.894Z] 21d05af1c410: Pulling fs layer [2022-05-27T16:08:07.894Z] dcb5a3015bf8: Pulling fs layer [2022-05-27T16:08:07.894Z] cbb264a375f3: Pulling fs layer [2022-05-27T16:08:07.894Z] e876fc70e377: Pulling fs layer [2022-05-27T16:08:07.894Z] 35692714eac8: Pulling fs layer [2022-05-27T16:08:07.894Z] 38a26a2b9a8d: Pulling fs layer [2022-05-27T16:08:07.894Z] f2ac0db0aa74: Pulling fs layer [2022-05-27T16:08:07.894Z] cbb264a375f3: Waiting [2022-05-27T16:08:07.894Z] e876fc70e377: Waiting [2022-05-27T16:08:07.894Z] 35692714eac8: Waiting [2022-05-27T16:08:07.894Z] f2ac0db0aa74: Waiting [2022-05-27T16:08:07.894Z] 38a26a2b9a8d: Waiting [2022-05-27T16:08:07.894Z] dcb5a3015bf8: Waiting [2022-05-27T16:08:08.186Z] 21d05af1c410: Verifying Checksum [2022-05-27T16:08:08.186Z] 21d05af1c410: Download complete [2022-05-27T16:08:08.186Z] 2408cc74d12b: Download complete [2022-05-27T16:08:08.186Z] d991df732aca: Verifying Checksum [2022-05-27T16:08:08.186Z] d991df732aca: Download complete [2022-05-27T16:08:08.186Z] 2408cc74d12b: Pull complete [2022-05-27T16:08:08.449Z] d991df732aca: Pull complete [2022-05-27T16:08:08.449Z] 21d05af1c410: Pull complete [2022-05-27T16:08:08.709Z] cbb264a375f3: Verifying Checksum [2022-05-27T16:08:08.710Z] cbb264a375f3: Download complete [2022-05-27T16:08:08.710Z] e876fc70e377: Verifying Checksum [2022-05-27T16:08:08.710Z] e876fc70e377: Download complete [2022-05-27T16:08:08.710Z] 35692714eac8: Download complete [2022-05-27T16:08:08.710Z] 38a26a2b9a8d: Verifying Checksum [2022-05-27T16:08:08.710Z] 38a26a2b9a8d: Download complete [2022-05-27T16:08:08.972Z] f2ac0db0aa74: Verifying Checksum [2022-05-27T16:08:08.972Z] f2ac0db0aa74: Download complete [2022-05-27T16:08:08.972Z] dcb5a3015bf8: Verifying Checksum [2022-05-27T16:08:08.972Z] dcb5a3015bf8: Download complete [2022-05-27T16:08:10.360Z] dcb5a3015bf8: Pull complete [2022-05-27T16:08:10.622Z] cbb264a375f3: Pull complete [2022-05-27T16:08:10.885Z] e876fc70e377: Pull complete [2022-05-27T16:08:11.148Z] 35692714eac8: Pull complete [2022-05-27T16:08:11.148Z] 38a26a2b9a8d: Pull complete [2022-05-27T16:08:11.148Z] f2ac0db0aa74: Pull complete [2022-05-27T16:08:11.411Z] Digest: sha256:101f87347f4f6e14857f00f216d838399cc879791a6c6c15e00cc374c1ff55b5 [2022-05-27T16:08:11.411Z] Status: Downloaded newer image for docker:latest [2022-05-27T16:08:12.800Z] ---> dbe4831de271 [2022-05-27T16:08:12.800Z] 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 [2022-05-27T16:08:12.800Z] ---> Running in 1f21dd4676c0 [2022-05-27T16:08:13.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-27T16:08:13.324Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-27T16:08:13.324Z] (1/24) Installing tcl (8.6.11-r0) [2022-05-27T16:08:13.584Z] (2/24) Installing expect (5.45.4-r2) [2022-05-27T16:08:13.584Z] (3/24) Installing libgcc (10.3.1_git20211027-r0) [2022-05-27T16:08:13.584Z] (4/24) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-27T16:08:13.584Z] (5/24) Installing binutils (2.37-r3) [2022-05-27T16:08:13.584Z] (6/24) Installing libgomp (10.3.1_git20211027-r0) [2022-05-27T16:08:13.584Z] (7/24) Installing libatomic (10.3.1_git20211027-r0) [2022-05-27T16:08:13.584Z] (8/24) Installing libgphobos (10.3.1_git20211027-r0) [2022-05-27T16:08:13.584Z] (9/24) Installing gmp (6.2.1-r1) [2022-05-27T16:08:13.584Z] (10/24) Installing isl22 (0.22-r0) [2022-05-27T16:08:13.584Z] (11/24) Installing mpfr4 (4.1.0-r0) [2022-05-27T16:08:13.584Z] (12/24) Installing mpc1 (1.2.1-r0) [2022-05-27T16:08:13.584Z] (13/24) Installing gcc (10.3.1_git20211027-r0) [2022-05-27T16:08:14.158Z] (14/24) Installing brotli-libs (1.0.9-r5) [2022-05-27T16:08:14.158Z] (15/24) Installing nghttp2-libs (1.46.0-r0) [2022-05-27T16:08:14.158Z] (16/24) Installing libcurl (7.80.0-r1) [2022-05-27T16:08:14.158Z] (17/24) Installing expat (2.4.7-r0) [2022-05-27T16:08:14.158Z] (18/24) Installing pcre2 (10.39-r0) [2022-05-27T16:08:14.158Z] (19/24) Installing git (2.34.2-r0) [2022-05-27T16:08:14.158Z] (20/24) Installing musl-dev (1.2.2-r7) [2022-05-27T16:08:14.419Z] (21/24) Installing libc-dev (0.7.2-r3) [2022-05-27T16:08:14.419Z] (22/24) Installing c-ares (1.18.1-r0) [2022-05-27T16:08:14.419Z] (23/24) Installing nodejs (16.14.2-r0) [2022-05-27T16:08:14.419Z] (24/24) Installing npm (8.1.3-r0) [2022-05-27T16:08:14.681Z] Executing busybox-1.34.1-r5.trigger [2022-05-27T16:08:14.681Z] OK: 197 MiB in 39 packages [2022-05-27T16:08:14.681Z] Connecting to github.com (140.82.112.3:443) [2022-05-27T16:08:14.681Z] Connecting to github.com (140.82.112.3:443) [2022-05-27T16:08:14.941Z] Connecting to objects.githubusercontent.com (185.199.108.133:443) [2022-05-27T16:08:15.202Z] saving to '/usr/local/bin/snyk' [2022-05-27T16:08:15.778Z] snyk 43% |************* | 43.3M 0:00:01 ETA [2022-05-27T16:08:16.725Z] snyk 100% |********************************| 99.4M 0:00:00 ETA [2022-05-27T16:08:16.725Z] '/usr/local/bin/snyk' saved [2022-05-27T16:08:18.639Z]  [2022-05-27T16:08:18.639Z] added 22 packages, and audited 23 packages in 1s [2022-05-27T16:08:18.639Z] [2022-05-27T16:08:18.639Z] found 0 vulnerabilities [2022-05-27T16:08:23.935Z] Removing intermediate container 1f21dd4676c0 [2022-05-27T16:08:23.935Z] ---> a5321e81de76 [2022-05-27T16:08:23.935Z] Step 7/11 : ENV GO111MODULE=on [2022-05-27T16:08:23.935Z] ---> Running in 199a297fc53c [2022-05-27T16:08:23.935Z] Removing intermediate container 199a297fc53c [2022-05-27T16:08:23.935Z] ---> 271b971a5921 [2022-05-27T16:08:23.935Z] Step 8/11 : ENTRYPOINT [ "snyk" ] [2022-05-27T16:08:23.935Z] ---> Running in ae407b152fcf [2022-05-27T16:08:23.935Z] Removing intermediate container ae407b152fcf [2022-05-27T16:08:23.935Z] ---> 5629c69df7cf [2022-05-27T16:08:23.935Z] Step 9/11 : CMD [ "monitor" ] [2022-05-27T16:08:23.935Z] ---> Running in 7245d5f1ab73 [2022-05-27T16:08:23.935Z] Removing intermediate container 7245d5f1ab73 [2022-05-27T16:08:23.935Z] ---> e353f42a45c0 [2022-05-27T16:08:23.935Z] Step 10/11 : LABEL arch=amd64 [2022-05-27T16:08:23.935Z] ---> Running in 60b697282ed6 [2022-05-27T16:08:23.935Z] Removing intermediate container 60b697282ed6 [2022-05-27T16:08:23.935Z] ---> ae3cd7ae21ad [2022-05-27T16:08:23.935Z] Step 11/11 : LABEL git_sha=241e441a21bb95dbc212e152a9be218cfbd779fc [2022-05-27T16:08:23.935Z] ---> Running in 3eed4221bb40 [2022-05-27T16:08:23.935Z] Removing intermediate container 3eed4221bb40 [2022-05-27T16:08:23.935Z] ---> 3f0121bf6af4 [2022-05-27T16:08:23.935Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-27T16:08:23.935Z] Successfully built 3f0121bf6af4 [2022-05-27T16:08:23.935Z] 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 [2022-05-27T16:08:24.035Z] [edgeXDocker.push] Tagging docker image edgex-snyk-go with the following tags: [2022-05-27T16:08:24.035Z] 241e441a21bb95dbc212e152a9be218cfbd779fc [2022-05-27T16:08:24.035Z] latest [2022-05-27T16:08:24.035Z] snyk [2022-05-27T16:08:24.035Z] 1.410.4 [2022-05-27T16:08:24.035Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T16:08:24.347Z] + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:241e441a21bb95dbc212e152a9be218cfbd779fc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T16:08:24.661Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:241e441a21bb95dbc212e152a9be218cfbd779fc [2022-05-27T16:08:24.661Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2022-05-27T16:08:24.661Z] 6da5e3595db9: Preparing [2022-05-27T16:08:24.661Z] 7bf5f1eae53a: Preparing [2022-05-27T16:08:24.661Z] e047119c9fda: Preparing [2022-05-27T16:08:24.661Z] ad8b951eb5e4: Preparing [2022-05-27T16:08:24.661Z] 4e797c290268: Preparing [2022-05-27T16:08:24.661Z] 09e3373b9d9a: Preparing [2022-05-27T16:08:24.661Z] 4fc242d58285: Preparing [2022-05-27T16:08:24.661Z] 09e3373b9d9a: Waiting [2022-05-27T16:08:24.661Z] 4fc242d58285: Waiting [2022-05-27T16:08:24.661Z] 4e797c290268: Pushed [2022-05-27T16:08:24.661Z] e047119c9fda: Pushed [2022-05-27T16:08:24.661Z] 4fc242d58285: Layer already exists [2022-05-27T16:08:24.922Z] 09e3373b9d9a: Pushed [2022-05-27T16:08:30.213Z] 7bf5f1eae53a: Pushed [2022-05-27T16:09:02.355Z] ad8b951eb5e4: Pushed [2022-05-27T16:09:02.355Z] 6da5e3595db9: Pushed [2022-05-27T16:09:02.355Z] 241e441a21bb95dbc212e152a9be218cfbd779fc: digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 size: 1790 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T16:09:02.679Z] + 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 [2022-05-27T16:09:02.996Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2022-05-27T16:09:02.996Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2022-05-27T16:09:02.996Z] 6da5e3595db9: Preparing [2022-05-27T16:09:02.996Z] 7bf5f1eae53a: Preparing [2022-05-27T16:09:02.996Z] e047119c9fda: Preparing [2022-05-27T16:09:02.996Z] ad8b951eb5e4: Preparing [2022-05-27T16:09:02.996Z] 4e797c290268: Preparing [2022-05-27T16:09:02.996Z] 09e3373b9d9a: Preparing [2022-05-27T16:09:02.996Z] 4fc242d58285: Preparing [2022-05-27T16:09:02.996Z] 09e3373b9d9a: Waiting [2022-05-27T16:09:02.996Z] 4fc242d58285: Waiting [2022-05-27T16:09:02.996Z] e047119c9fda: Layer already exists [2022-05-27T16:09:02.996Z] 6da5e3595db9: Layer already exists [2022-05-27T16:09:02.996Z] 4e797c290268: Layer already exists [2022-05-27T16:09:02.996Z] 7bf5f1eae53a: Layer already exists [2022-05-27T16:09:02.996Z] ad8b951eb5e4: Layer already exists [2022-05-27T16:09:02.996Z] 4fc242d58285: Layer already exists [2022-05-27T16:09:02.996Z] 09e3373b9d9a: Layer already exists [2022-05-27T16:09:02.996Z] latest: digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 size: 1790 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T16:09:03.319Z] + 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 [2022-05-27T16:09:03.632Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [2022-05-27T16:09:03.632Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2022-05-27T16:09:03.632Z] 6da5e3595db9: Preparing [2022-05-27T16:09:03.632Z] 7bf5f1eae53a: Preparing [2022-05-27T16:09:03.632Z] e047119c9fda: Preparing [2022-05-27T16:09:03.632Z] ad8b951eb5e4: Preparing [2022-05-27T16:09:03.632Z] 4e797c290268: Preparing [2022-05-27T16:09:03.632Z] 09e3373b9d9a: Preparing [2022-05-27T16:09:03.632Z] 4fc242d58285: Preparing [2022-05-27T16:09:03.632Z] 09e3373b9d9a: Waiting [2022-05-27T16:09:03.632Z] 4fc242d58285: Waiting [2022-05-27T16:09:03.632Z] 7bf5f1eae53a: Layer already exists [2022-05-27T16:09:03.632Z] 6da5e3595db9: Layer already exists [2022-05-27T16:09:03.632Z] 4e797c290268: Layer already exists [2022-05-27T16:09:03.632Z] e047119c9fda: Layer already exists [2022-05-27T16:09:03.632Z] ad8b951eb5e4: Layer already exists [2022-05-27T16:09:03.632Z] 4fc242d58285: Layer already exists [2022-05-27T16:09:03.632Z] 09e3373b9d9a: Layer already exists [2022-05-27T16:09:03.632Z] snyk: digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 size: 1790 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T16:09:03.952Z] + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T16:09:04.263Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-27T16:09:04.263Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2022-05-27T16:09:04.263Z] 6da5e3595db9: Preparing [2022-05-27T16:09:04.263Z] 7bf5f1eae53a: Preparing [2022-05-27T16:09:04.263Z] e047119c9fda: Preparing [2022-05-27T16:09:04.263Z] ad8b951eb5e4: Preparing [2022-05-27T16:09:04.263Z] 4e797c290268: Preparing [2022-05-27T16:09:04.263Z] 09e3373b9d9a: Preparing [2022-05-27T16:09:04.263Z] 4fc242d58285: Preparing [2022-05-27T16:09:04.263Z] 4fc242d58285: Waiting [2022-05-27T16:09:04.263Z] 09e3373b9d9a: Waiting [2022-05-27T16:09:04.263Z] e047119c9fda: Layer already exists [2022-05-27T16:09:04.263Z] 4e797c290268: Layer already exists [2022-05-27T16:09:04.263Z] ad8b951eb5e4: Layer already exists [2022-05-27T16:09:04.263Z] 7bf5f1eae53a: Layer already exists [2022-05-27T16:09:04.263Z] 6da5e3595db9: Layer already exists [2022-05-27T16:09:04.263Z] 09e3373b9d9a: Layer already exists [2022-05-27T16:09:04.263Z] 4fc242d58285: Layer already exists [2022-05-27T16:09:04.263Z] 1.410.4: digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 size: 1790 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-27T16:09:04.303Z] ===================================================== [Pipeline] echo [2022-05-27T16:09:04.312Z] taggedImages: [2022-05-27T16:09:04.312Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:241e441a21bb95dbc212e152a9be218cfbd779fc [2022-05-27T16:09:04.312Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2022-05-27T16:09:04.312Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [2022-05-27T16:09:04.312Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T16:09:04.674Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T16:09:04.674Z] [2022-05-27T16:09:04.674Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T16:09:04.978Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T16:09:04.978Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-27T16:09:04.978Z] 5eb5b503b376: Pulling fs layer [2022-05-27T16:09:04.978Z] 5c69ac0246d0: Pulling fs layer [2022-05-27T16:09:04.978Z] ec43610c2a17: Pulling fs layer [2022-05-27T16:09:04.978Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-27T16:09:04.978Z] 33b1e0a273af: Pulling fs layer [2022-05-27T16:09:04.978Z] 5d3b04190fa2: Pulling fs layer [2022-05-27T16:09:04.978Z] 2f39f015ded8: Pulling fs layer [2022-05-27T16:09:04.978Z] 3a2ae6a8a46f: Waiting [2022-05-27T16:09:04.978Z] 5d3b04190fa2: Waiting [2022-05-27T16:09:04.978Z] 2f39f015ded8: Waiting [2022-05-27T16:09:04.978Z] 33b1e0a273af: Waiting [2022-05-27T16:09:04.978Z] 5c69ac0246d0: Verifying Checksum [2022-05-27T16:09:04.978Z] 5c69ac0246d0: Download complete [2022-05-27T16:09:04.978Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-27T16:09:04.978Z] 3a2ae6a8a46f: Download complete [2022-05-27T16:09:04.978Z] 33b1e0a273af: Verifying Checksum [2022-05-27T16:09:04.978Z] 33b1e0a273af: Download complete [2022-05-27T16:09:04.978Z] 5d3b04190fa2: Download complete [2022-05-27T16:09:05.239Z] ec43610c2a17: Verifying Checksum [2022-05-27T16:09:05.239Z] ec43610c2a17: Download complete [2022-05-27T16:09:05.239Z] 5eb5b503b376: Verifying Checksum [2022-05-27T16:09:05.239Z] 5eb5b503b376: Download complete [2022-05-27T16:09:05.807Z] 2f39f015ded8: Download complete [2022-05-27T16:09:06.746Z] 5eb5b503b376: Pull complete [2022-05-27T16:09:06.746Z] 5c69ac0246d0: Pull complete [2022-05-27T16:09:07.316Z] ec43610c2a17: Pull complete [2022-05-27T16:09:07.316Z] 3a2ae6a8a46f: Pull complete [2022-05-27T16:09:07.575Z] 33b1e0a273af: Pull complete [2022-05-27T16:09:07.575Z] 5d3b04190fa2: Pull complete [2022-05-27T16:09:12.857Z] 2f39f015ded8: Pull complete [2022-05-27T16:09:12.857Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-27T16:09:12.857Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T16:09:12.857Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T16:09:12.952Z] prd-ubuntu20.04-docker-8c-8g-268 does not seem to be running inside a container [2022-05-27T16:09:13.006Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-27T16:09:14.658Z] $ docker top 243a4238a8222f324416d64b232d0a2913733453236ca9d699dc0a6c532cd54f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T16:09:15.040Z] ---> job-cost.sh [2022-05-27T16:09:15.040Z] lf-activate-venv: SKIPPING [2022-05-27T16:09:15.040Z] INFO: No Stack... [2022-05-27T16:09:15.301Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-27T16:09:15.874Z] INFO: Archiving Costs [Pipeline] sh [2022-05-27T16:09:16.168Z] + cat /w/workspace/dgexfoundry_ci-build-images_snyk/archives/cost.csv [2022-05-27T16:09:16.168Z] + cut -d, -f6 [Pipeline] lock [2022-05-27T16:09:16.199Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-snyk-9-stack-cost] [2022-05-27T16:09:16.205Z] Resource [jenkins-edgexfoundry-ci-build-images-snyk-9-stack-cost] did not exist. Created. [2022-05-27T16:09:16.205Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-snyk-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-27T16:09:16.504Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-27T16:09:16.770Z] Stashed 1 file(s) [Pipeline] } [2022-05-27T16:09:16.779Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-snyk-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-27T16:09:16.804Z] $ docker stop --time=1 243a4238a8222f324416d64b232d0a2913733453236ca9d699dc0a6c532cd54f [2022-05-27T16:09:17.979Z] $ docker rm -f 243a4238a8222f324416d64b232d0a2913733453236ca9d699dc0a6c532cd54f [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] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-05-27T16:09:18.559Z] + [ -d /w/workspace/dgexfoundry_ci-build-images_snyk/archives ] [2022-05-27T16:09:18.559Z] + ls -al /w/workspace/dgexfoundry_ci-build-images_snyk/archives [2022-05-27T16:09:18.559Z] total 16 [2022-05-27T16:09:18.559Z] drwxr-xr-x 3 root root 4096 May 27 16:09 . [2022-05-27T16:09:18.559Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 16:09 .. [2022-05-27T16:09:18.559Z] drwxr-xr-x 2 root root 4096 May 27 16:09 cost [2022-05-27T16:09:18.559Z] -rw-r--r-- 1 root root 84 May 27 16:09 cost.csv [2022-05-27T16:09:18.559Z] + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_ci-build-images_snyk/archives [2022-05-27T16:09:18.559Z] + ls -al /w/workspace/dgexfoundry_ci-build-images_snyk/archives [2022-05-27T16:09:18.559Z] total 16 [2022-05-27T16:09:18.559Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 16:09 . [2022-05-27T16:09:18.559Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 16:09 .. [2022-05-27T16:09:18.559Z] drwxr-xr-x 2 jenkins jenkins 4096 May 27 16:09 cost [2022-05-27T16:09:18.559Z] -rw-r--r-- 1 jenkins jenkins 84 May 27 16:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-27T16:09:18.855Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T16:09:19.796Z] ---> package-listing.sh [2022-05-27T16:09:19.796Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-27T16:09:19.796Z] ++ facter osfamily [2022-05-27T16:09:20.081Z] + OS_FAMILY=debian [2022-05-27T16:09:20.081Z] + workspace=/w/workspace/dgexfoundry_ci-build-images_snyk [2022-05-27T16:09:20.081Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-27T16:09:20.081Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-27T16:09:20.081Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-27T16:09:20.081Z] + PACKAGES=/tmp/packages_start.txt [2022-05-27T16:09:20.081Z] + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' [2022-05-27T16:09:20.081Z] + PACKAGES=/tmp/packages_end.txt [2022-05-27T16:09:20.081Z] + case "${OS_FAMILY}" in [2022-05-27T16:09:20.081Z] + dpkg -l [2022-05-27T16:09:20.081Z] + grep '^ii' [2022-05-27T16:09:20.081Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-27T16:09:20.081Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-27T16:09:20.081Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-27T16:09:20.081Z] + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' [2022-05-27T16:09:20.081Z] + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [2022-05-27T16:09:20.081Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [Pipeline] echo [2022-05-27T16:09:20.092Z] 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 [2022-05-27T16:09:20.393Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T16:09:20.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T16:09:20.961Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T16:09:21.046Z] prd-ubuntu20.04-docker-8c-8g-268 does not seem to be running inside a container [2022-05-27T16:09:21.091Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-27T16:09:21.346Z] $ docker top d59e5414305a90190a83c5766e088245272d293182e12970e0d3174b5836124e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-27T16:09:21.696Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-27T16:09:21.985Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-27T16:09:22.275Z] + ls /var/log/sa-host [2022-05-27T16:09:22.276Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-27T16:09:22.392Z] provisioning config files... [2022-05-27T16:09:22.402Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config5660766020575061497tmp [Pipeline] { [Pipeline] echo [2022-05-27T16:09:22.417Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T16:09:22.709Z] ---> create-netrc.sh [Pipeline] } [2022-05-27T16:09:22.717Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-27T16:09:23.043Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-27T16:09:23.052Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T16:09:23.340Z] ---> sudo-logs.sh [2022-05-27T16:09:23.340Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-27T16:09:23.382Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T16:09:23.669Z] ---> job-cost.sh [2022-05-27T16:09:23.669Z] lf-activate-venv: SKIPPING [2022-05-27T16:09:23.669Z] DEBUG: total: 0.2199999988079071 [2022-05-27T16:09:23.669Z] INFO: Retrieving Stack Cost... [2022-05-27T16:09:23.669Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-27T16:09:24.243Z] INFO: Archiving Costs [Pipeline] echo [2022-05-27T16:09:24.255Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T16:09:24.546Z] ---> logs-deploy.sh [2022-05-27T16:09:24.547Z] lf-activate-venv: SKIPPING [2022-05-27T16:09:24.547Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/9 [2022-05-27T16:09:24.547Z] INFO: archiving workspace using pattern(s): [2022-05-27T16:09:25.493Z] Archives upload complete. [2022-05-27T16:09:25.755Z] INFO: archiving logs to Nexus