Push event to branch snyk Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 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-ssh13435544306258596310.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh2323492515273767937.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh15661115091067938575.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh4791448275191040176.key Verifying host key using known hosts file > 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-ssh11317426731609799602.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:edgex-snyk-go, arch:[amd64], mavenSettings:ci-build-images-settings, dockerImageName:edgex-snyk-go, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[1.1025.0], releaseBranchOverride:snyk] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: ci-build-images-settings PROJECT: edgex-snyk-go USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-snyk-go DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-snyk-go-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: snyk DOCKER_CUSTOM_TAGS: 1.1025.0 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7574 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 (snyk) Commit message: "Merge pull request #198 from ernestojeda/snyk" > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 # timeout=10 > git rev-list --no-walk 241e441a21bb95dbc212e152a9be218cfbd779fc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-10T19:19:37.032Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-10T19:19:37.075Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-10T19:19:37.089Z] ========================================================= [2022-10-10T19:19:37.089Z] EdgeX Global Pipelines Version Info [2022-10-10T19:19:37.089Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:19:37.805Z] ------------------- [2022-10-10T19:19:37.805Z] stable info: [2022-10-10T19:19:37.805Z] ------------------- [2022-10-10T19:19:37.805Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-10T19:19:37.805Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T19:19:37.805Z] Message: update stable to v1.0.239 [2022-10-10T19:19:38.374Z] ------------------- [2022-10-10T19:19:38.374Z] experimental info: [2022-10-10T19:19:38.374Z] ------------------- [2022-10-10T19:19:38.374Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-10T19:19:38.374Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T19:19:38.374Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2022-10-10T19:19:38.532Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2022-10-10T19:19:38.542Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo [2022-10-10T19:19:38.551Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2022-10-10T19:19:38.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-10T19:19:38.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-10T19:19:38.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo [2022-10-10T19:19:38.586Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2022-10-10T19:19:38.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2022-10-10T19:19:38.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2022-10-10T19:19:38.612Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T19:19:38.620Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2022-10-10T19:19:38.629Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo [2022-10-10T19:19:38.640Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-10T19:19:38.649Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-10T19:19:38.658Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo [2022-10-10T19:19:38.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.1025.0 [Pipeline] echo [2022-10-10T19:19:38.674Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = snyk [Pipeline] echo [2022-10-10T19:19:38.682Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = snyk [Pipeline] echo [2022-10-10T19:19:38.690Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = snyk [Pipeline] echo [2022-10-10T19:19:38.699Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 [Pipeline] echo [2022-10-10T19:19:38.707Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 887d6b3 [Pipeline] echo [2022-10-10T19:19:38.716Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T19:19:38.748Z] provisioning config files... [2022-10-10T19:19:38.767Z] copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config14162072612831655380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:19:39.062Z] ---> docker-login.sh [2022-10-10T19:19:39.062Z] nexus3.edgexfoundry.org:10001 [2022-10-10T19:19:39.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:19:39.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:19:39.322Z] Configure a credential helper to remove this warning. See [2022-10-10T19:19:39.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:19:39.322Z] [2022-10-10T19:19:39.322Z] Login Succeeded [2022-10-10T19:19:39.322Z] nexus3.edgexfoundry.org:10002 [2022-10-10T19:19:39.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:19:39.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:19:39.322Z] Configure a credential helper to remove this warning. See [2022-10-10T19:19:39.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:19:39.322Z] [2022-10-10T19:19:39.322Z] Login Succeeded [2022-10-10T19:19:39.581Z] nexus3.edgexfoundry.org:10003 [2022-10-10T19:19:39.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:19:39.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:19:39.581Z] Configure a credential helper to remove this warning. See [2022-10-10T19:19:39.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:19:39.581Z] [2022-10-10T19:19:39.581Z] Login Succeeded [2022-10-10T19:19:39.581Z] nexus3.edgexfoundry.org:10004 [2022-10-10T19:19:39.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:19:39.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:19:39.581Z] Configure a credential helper to remove this warning. See [2022-10-10T19:19:39.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:19:39.581Z] [2022-10-10T19:19:39.581Z] Login Succeeded [2022-10-10T19:19:39.581Z] docker.io [2022-10-10T19:19:39.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:19:40.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:19:40.100Z] Configure a credential helper to remove this warning. See [2022-10-10T19:19:40.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:19:40.100Z] [2022-10-10T19:19:40.100Z] Login Succeeded [2022-10-10T19:19:40.100Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T19:19:40.108Z] 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-10-10T19:19:40.313Z] provisioning config files... [Pipeline] // stage [Pipeline] } [2022-10-10T19:19:40.323Z] copy managed file [ci-build-images-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config5799475672713584979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:19:40.622Z] ---> docker-login.sh [2022-10-10T19:19:40.622Z] nexus3.edgexfoundry.org:10001 [2022-10-10T19:19:40.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:19:40.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:19:40.622Z] Configure a credential helper to remove this warning. See [2022-10-10T19:19:40.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:19:40.622Z] [2022-10-10T19:19:40.622Z] Login Succeeded [2022-10-10T19:19:40.622Z] nexus3.edgexfoundry.org:10002 [2022-10-10T19:19:40.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:19:40.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:19:40.622Z] Configure a credential helper to remove this warning. See [2022-10-10T19:19:40.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:19:40.622Z] [2022-10-10T19:19:40.622Z] Login Succeeded [2022-10-10T19:19:40.622Z] nexus3.edgexfoundry.org:10003 [2022-10-10T19:19:40.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:19:40.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:19:40.882Z] Configure a credential helper to remove this warning. See [2022-10-10T19:19:40.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:19:40.882Z] [2022-10-10T19:19:40.882Z] Login Succeeded [2022-10-10T19:19:40.882Z] nexus3.edgexfoundry.org:10004 [2022-10-10T19:19:40.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:19:40.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:19:40.882Z] Configure a credential helper to remove this warning. See [2022-10-10T19:19:40.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:19:40.882Z] [2022-10-10T19:19:40.882Z] Login Succeeded [2022-10-10T19:19:40.882Z] docker.io [2022-10-10T19:19:41.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:19:41.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:19:41.402Z] Configure a credential helper to remove this warning. See [2022-10-10T19:19:41.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:19:41.402Z] [2022-10-10T19:19:41.402Z] Login Succeeded [2022-10-10T19:19:41.402Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T19:19:41.411Z] 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-10-10T19:19:41.835Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T19:19:42.122Z] + ls -al . [2022-10-10T19:19:42.122Z] total 20 [2022-10-10T19:19:42.122Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 19:19 . [2022-10-10T19:19:42.122Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 19:19 .. [2022-10-10T19:19:42.122Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 19:19 .git [2022-10-10T19:19:42.122Z] -rw-rw-r-- 1 jenkins jenkins 642 Oct 10 19:19 Dockerfile [2022-10-10T19:19:42.122Z] -rw-rw-r-- 1 jenkins jenkins 902 Oct 10 19:19 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:19:42.456Z] + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 --label arch=amd64 . [2022-10-10T19:19:42.456Z] Sending build context to Docker daemon 432.6kB [2022-10-10T19:19:42.456Z] Step 1/11 : FROM golang:1.18-alpine3.16 [2022-10-10T19:19:43.029Z] 1.18-alpine3.16: Pulling from library/golang [2022-10-10T19:19:43.029Z] 213ec9aee27d: Pulling fs layer [2022-10-10T19:19:43.029Z] 4583459ba037: Pulling fs layer [2022-10-10T19:19:43.029Z] 93c1e223e6f2: Pulling fs layer [2022-10-10T19:19:43.029Z] 53926ce57604: Pulling fs layer [2022-10-10T19:19:43.029Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-10T19:19:43.029Z] 53926ce57604: Waiting [2022-10-10T19:19:43.029Z] 21b2b0c7a3f4: Waiting [2022-10-10T19:19:43.287Z] 93c1e223e6f2: Verifying Checksum [2022-10-10T19:19:43.287Z] 93c1e223e6f2: Download complete [2022-10-10T19:19:43.287Z] 4583459ba037: Download complete [2022-10-10T19:19:43.287Z] 213ec9aee27d: Verifying Checksum [2022-10-10T19:19:43.287Z] 213ec9aee27d: Download complete [2022-10-10T19:19:43.545Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-10T19:19:43.545Z] 21b2b0c7a3f4: Download complete [2022-10-10T19:19:43.545Z] 213ec9aee27d: Pull complete [2022-10-10T19:19:43.545Z] 4583459ba037: Pull complete [2022-10-10T19:19:43.805Z] 93c1e223e6f2: Pull complete [2022-10-10T19:19:45.186Z] 53926ce57604: Verifying Checksum [2022-10-10T19:19:45.186Z] 53926ce57604: Download complete [2022-10-10T19:19:48.467Z] 53926ce57604: Pull complete [2022-10-10T19:19:48.467Z] 21b2b0c7a3f4: Pull complete [2022-10-10T19:19:48.467Z] Digest: sha256:7dc3de187ac994ac6d95a2e55fe87e962db391dddb4e28a0fdf0be4cd5962bbe [2022-10-10T19:19:48.467Z] Status: Downloaded newer image for golang:1.18-alpine3.16 [2022-10-10T19:19:48.467Z] ---> ccb02b8b7a62 [2022-10-10T19:19:48.467Z] Step 2/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2022: Intel' [2022-10-10T19:19:49.407Z] ---> Running in af0a509754c0 [2022-10-10T19:19:49.407Z] Removing intermediate container af0a509754c0 [2022-10-10T19:19:49.407Z] ---> 4b4c5e36a459 [2022-10-10T19:19:49.407Z] Step 3/11 : ARG SNYK_VERSION=1.1025.0 [2022-10-10T19:19:49.407Z] ---> Running in b1a4ecd3210a [2022-10-10T19:19:49.666Z] Removing intermediate container b1a4ecd3210a [2022-10-10T19:19:49.666Z] ---> 107491c0cea7 [2022-10-10T19:19:49.666Z] Step 4/11 : ENV SNYK_VERSION=${SNYK_VERSION} [2022-10-10T19:19:49.666Z] ---> Running in 3ee5933f64eb [2022-10-10T19:19:49.666Z] Removing intermediate container 3ee5933f64eb [2022-10-10T19:19:49.666Z] ---> 4e709d5912d2 [2022-10-10T19:19:49.666Z] Step 5/11 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2022-10-10T19:19:51.578Z] latest: Pulling from library/docker [2022-10-10T19:19:51.578Z] 213ec9aee27d: Already exists [2022-10-10T19:19:51.578Z] 7b0dd730a5c3: Pulling fs layer [2022-10-10T19:19:51.578Z] 4b90f8029a36: Pulling fs layer [2022-10-10T19:19:51.578Z] b2204c289e68: Pulling fs layer [2022-10-10T19:19:51.578Z] a75dcb107a37: Pulling fs layer [2022-10-10T19:19:51.578Z] 3a173a06c313: Pulling fs layer [2022-10-10T19:19:51.578Z] 44f3a1cb7a3f: Pulling fs layer [2022-10-10T19:19:51.578Z] a7d2f4b1d0b5: Pulling fs layer [2022-10-10T19:19:51.578Z] cd2ccc3f5575: Pulling fs layer [2022-10-10T19:19:51.578Z] 44f3a1cb7a3f: Waiting [2022-10-10T19:19:51.578Z] a7d2f4b1d0b5: Waiting [2022-10-10T19:19:51.578Z] cd2ccc3f5575: Waiting [2022-10-10T19:19:51.578Z] 3a173a06c313: Waiting [2022-10-10T19:19:51.578Z] a75dcb107a37: Waiting [2022-10-10T19:19:51.578Z] 4b90f8029a36: Verifying Checksum [2022-10-10T19:19:51.578Z] 4b90f8029a36: Download complete [2022-10-10T19:19:51.838Z] 7b0dd730a5c3: Verifying Checksum [2022-10-10T19:19:51.838Z] 7b0dd730a5c3: Download complete [2022-10-10T19:19:51.838Z] b2204c289e68: Verifying Checksum [2022-10-10T19:19:51.838Z] b2204c289e68: Download complete [2022-10-10T19:19:51.838Z] 7b0dd730a5c3: Pull complete [2022-10-10T19:19:51.838Z] 4b90f8029a36: Pull complete [2022-10-10T19:19:52.097Z] 3a173a06c313: Verifying Checksum [2022-10-10T19:19:52.097Z] 3a173a06c313: Download complete [2022-10-10T19:19:52.097Z] 44f3a1cb7a3f: Download complete [2022-10-10T19:19:52.097Z] a75dcb107a37: Verifying Checksum [2022-10-10T19:19:52.097Z] a75dcb107a37: Download complete [2022-10-10T19:19:52.097Z] a7d2f4b1d0b5: Verifying Checksum [2022-10-10T19:19:52.097Z] a7d2f4b1d0b5: Download complete [2022-10-10T19:19:52.097Z] cd2ccc3f5575: Verifying Checksum [2022-10-10T19:19:52.097Z] cd2ccc3f5575: Download complete [2022-10-10T19:19:52.357Z] b2204c289e68: Pull complete [2022-10-10T19:19:52.618Z] a75dcb107a37: Pull complete [2022-10-10T19:19:53.188Z] 3a173a06c313: Pull complete [2022-10-10T19:19:53.188Z] 44f3a1cb7a3f: Pull complete [2022-10-10T19:19:53.188Z] a7d2f4b1d0b5: Pull complete [2022-10-10T19:19:53.449Z] cd2ccc3f5575: Pull complete [2022-10-10T19:19:53.449Z] Digest: sha256:b2343859b009730168704bf04dd705291539db39df5ccf840a91b647b72009fe [2022-10-10T19:19:53.449Z] Status: Downloaded newer image for docker:latest [2022-10-10T19:19:54.388Z] ---> 08910cb5f9da [2022-10-10T19:19:54.388Z] 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-10-10T19:19:54.388Z] ---> Running in 8e8fb5a36475 [2022-10-10T19:19:54.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T19:19:54.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T19:19:55.221Z] (1/25) Installing tcl (8.6.12-r1) [2022-10-10T19:19:55.221Z] (2/25) Installing expect (5.45.4-r2) [2022-10-10T19:19:55.221Z] (3/25) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T19:19:55.221Z] (4/25) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T19:19:55.221Z] (5/25) Installing binutils (2.38-r3) [2022-10-10T19:19:55.221Z] (6/25) Installing libgomp (11.2.1_git20220219-r2) [2022-10-10T19:19:55.221Z] (7/25) Installing libatomic (11.2.1_git20220219-r2) [2022-10-10T19:19:55.221Z] (8/25) Installing gmp (6.2.1-r2) [2022-10-10T19:19:55.221Z] (9/25) Installing isl22 (0.22-r0) [2022-10-10T19:19:55.480Z] (10/25) Installing mpfr4 (4.1.0-r0) [2022-10-10T19:19:55.480Z] (11/25) Installing mpc1 (1.2.1-r0) [2022-10-10T19:19:55.480Z] (12/25) Installing gcc (11.2.1_git20220219-r2) [2022-10-10T19:19:56.046Z] (13/25) Installing brotli-libs (1.0.9-r6) [2022-10-10T19:19:56.046Z] (14/25) Installing nghttp2-libs (1.47.0-r0) [2022-10-10T19:19:56.046Z] (15/25) Installing libcurl (7.83.1-r3) [2022-10-10T19:19:56.046Z] (16/25) Installing expat (2.4.9-r0) [2022-10-10T19:19:56.046Z] (17/25) Installing pcre2 (10.40-r0) [2022-10-10T19:19:56.046Z] (18/25) Installing git (2.36.2-r0) [2022-10-10T19:19:56.305Z] (19/25) Installing musl-dev (1.2.3-r0) [2022-10-10T19:19:56.305Z] (20/25) Installing libc-dev (0.7.2-r3) [2022-10-10T19:19:56.305Z] (21/25) Installing c-ares (1.18.1-r0) [2022-10-10T19:19:56.305Z] (22/25) Installing icu-data-en (71.1-r2) [2022-10-10T19:19:56.305Z] Executing icu-data-en-71.1-r2.post-install [2022-10-10T19:19:56.305Z] * [2022-10-10T19:19:56.305Z] * If you need ICU with non-English locales and legacy charset support, install [2022-10-10T19:19:56.305Z] * package icu-data-full. [2022-10-10T19:19:56.305Z] * [2022-10-10T19:19:56.305Z] (23/25) Installing icu-libs (71.1-r2) [2022-10-10T19:19:56.305Z] (24/25) Installing nodejs (16.17.1-r0) [2022-10-10T19:19:56.565Z] (25/25) Installing npm (8.10.0-r0) [2022-10-10T19:19:56.565Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T19:19:56.565Z] OK: 191 MiB in 40 packages [2022-10-10T19:19:56.565Z] Connecting to github.com (140.82.114.3:443) [2022-10-10T19:19:56.825Z] Connecting to github.com (140.82.114.3:443) [2022-10-10T19:19:57.084Z] Connecting to objects.githubusercontent.com (185.199.110.133:443) [2022-10-10T19:19:57.084Z] saving to '/usr/local/bin/snyk' [2022-10-10T19:19:58.024Z] snyk 100% |********************************| 54.7M 0:00:00 ETA [2022-10-10T19:19:58.024Z] '/usr/local/bin/snyk' saved [2022-10-10T19:20:00.561Z]  [2022-10-10T19:20:00.561Z] added 23 packages, and audited 24 packages in 2s [2022-10-10T19:20:00.561Z] [2022-10-10T19:20:00.561Z] found 0 vulnerabilities [2022-10-10T19:20:03.851Z] Removing intermediate container 8e8fb5a36475 [2022-10-10T19:20:03.851Z] ---> d0d661710ddd [2022-10-10T19:20:03.851Z] Step 7/11 : ENV GO111MODULE=on [2022-10-10T19:20:03.851Z] ---> Running in eb0a286ab27b [2022-10-10T19:20:04.109Z] Removing intermediate container eb0a286ab27b [2022-10-10T19:20:04.109Z] ---> cd0162e13d03 [2022-10-10T19:20:04.109Z] Step 8/11 : ENTRYPOINT [ "snyk" ] [2022-10-10T19:20:04.109Z] ---> Running in bfe0780bcf2d [2022-10-10T19:20:04.109Z] Removing intermediate container bfe0780bcf2d [2022-10-10T19:20:04.109Z] ---> 1ddde9b2ab43 [2022-10-10T19:20:04.109Z] Step 9/11 : CMD [ "monitor" ] [2022-10-10T19:20:04.367Z] ---> Running in f20f5af8f466 [2022-10-10T19:20:04.367Z] Removing intermediate container f20f5af8f466 [2022-10-10T19:20:04.367Z] ---> df553370a679 [2022-10-10T19:20:04.367Z] Step 10/11 : LABEL arch=amd64 [2022-10-10T19:20:04.367Z] ---> Running in 8ec83b7299e6 [2022-10-10T19:20:04.627Z] Removing intermediate container 8ec83b7299e6 [2022-10-10T19:20:04.627Z] ---> e27cfa557cdb [2022-10-10T19:20:04.627Z] Step 11/11 : LABEL git_sha=887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 [2022-10-10T19:20:04.627Z] ---> Running in 913f21d133dc [2022-10-10T19:20:04.627Z] Removing intermediate container 913f21d133dc [2022-10-10T19:20:04.627Z] ---> ef4f1c1abf31 [2022-10-10T19:20:04.627Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T19:20:04.627Z] Successfully built ef4f1c1abf31 [2022-10-10T19:20:04.627Z] 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-10-10T19:20:04.750Z] [edgeXDocker.push] Tagging docker image edgex-snyk-go with the following tags: [2022-10-10T19:20:04.750Z] 887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 [2022-10-10T19:20:04.750Z] latest [2022-10-10T19:20:04.750Z] snyk [2022-10-10T19:20:04.750Z] 1.1025.0 [2022-10-10T19:20:04.750Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:20:05.052Z] + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:20:05.348Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 [2022-10-10T19:20:05.348Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2022-10-10T19:20:05.348Z] 0f31df924a0d: Preparing [2022-10-10T19:20:05.348Z] 18f2001debae: Preparing [2022-10-10T19:20:05.348Z] 3ee95762e3e4: Preparing [2022-10-10T19:20:05.348Z] 6f70ac22a8c3: Preparing [2022-10-10T19:20:05.348Z] 371bfe23aea5: Preparing [2022-10-10T19:20:05.348Z] 0a884882e8e9: Preparing [2022-10-10T19:20:05.348Z] 994393dc58e7: Preparing [2022-10-10T19:20:05.348Z] 994393dc58e7: Waiting [2022-10-10T19:20:05.348Z] 0a884882e8e9: Waiting [2022-10-10T19:20:05.348Z] 371bfe23aea5: Pushed [2022-10-10T19:20:05.348Z] 3ee95762e3e4: Pushed [2022-10-10T19:20:05.348Z] 994393dc58e7: Layer already exists [2022-10-10T19:20:05.605Z] 0a884882e8e9: Pushed [2022-10-10T19:20:09.791Z] 18f2001debae: Pushed [2022-10-10T19:20:31.717Z] 0f31df924a0d: Pushed [2022-10-10T19:20:34.254Z] 6f70ac22a8c3: Pushed [2022-10-10T19:20:34.254Z] 887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4: digest: sha256:e5175b63b9604ce4a5646075e93931eba79e40b02f31905b52a48d994e9798ff size: 1790 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:20:34.566Z] + 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-10-10T19:20:34.865Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2022-10-10T19:20:34.865Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2022-10-10T19:20:34.865Z] 0f31df924a0d: Preparing [2022-10-10T19:20:34.865Z] 18f2001debae: Preparing [2022-10-10T19:20:34.865Z] 3ee95762e3e4: Preparing [2022-10-10T19:20:34.865Z] 6f70ac22a8c3: Preparing [2022-10-10T19:20:34.865Z] 371bfe23aea5: Preparing [2022-10-10T19:20:34.865Z] 0a884882e8e9: Preparing [2022-10-10T19:20:34.865Z] 994393dc58e7: Preparing [2022-10-10T19:20:34.865Z] 994393dc58e7: Waiting [2022-10-10T19:20:34.865Z] 0a884882e8e9: Waiting [2022-10-10T19:20:34.865Z] 18f2001debae: Layer already exists [2022-10-10T19:20:34.865Z] 0f31df924a0d: Layer already exists [2022-10-10T19:20:34.865Z] 371bfe23aea5: Layer already exists [2022-10-10T19:20:34.865Z] 3ee95762e3e4: Layer already exists [2022-10-10T19:20:34.865Z] 6f70ac22a8c3: Layer already exists [2022-10-10T19:20:34.865Z] 0a884882e8e9: Layer already exists [2022-10-10T19:20:34.865Z] 994393dc58e7: Layer already exists [2022-10-10T19:20:34.865Z] latest: digest: sha256:e5175b63b9604ce4a5646075e93931eba79e40b02f31905b52a48d994e9798ff size: 1790 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:20:35.168Z] + 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-10-10T19:20:35.467Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [2022-10-10T19:20:35.467Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2022-10-10T19:20:35.467Z] 0f31df924a0d: Preparing [2022-10-10T19:20:35.467Z] 18f2001debae: Preparing [2022-10-10T19:20:35.467Z] 3ee95762e3e4: Preparing [2022-10-10T19:20:35.467Z] 6f70ac22a8c3: Preparing [2022-10-10T19:20:35.467Z] 371bfe23aea5: Preparing [2022-10-10T19:20:35.467Z] 0a884882e8e9: Preparing [2022-10-10T19:20:35.467Z] 994393dc58e7: Preparing [2022-10-10T19:20:35.467Z] 0a884882e8e9: Waiting [2022-10-10T19:20:35.467Z] 994393dc58e7: Waiting [2022-10-10T19:20:35.467Z] 18f2001debae: Layer already exists [2022-10-10T19:20:35.467Z] 371bfe23aea5: Layer already exists [2022-10-10T19:20:35.467Z] 3ee95762e3e4: Layer already exists [2022-10-10T19:20:35.467Z] 6f70ac22a8c3: Layer already exists [2022-10-10T19:20:35.467Z] 0f31df924a0d: Layer already exists [2022-10-10T19:20:35.467Z] 0a884882e8e9: Layer already exists [2022-10-10T19:20:35.467Z] 994393dc58e7: Layer already exists [2022-10-10T19:20:35.467Z] snyk: digest: sha256:e5175b63b9604ce4a5646075e93931eba79e40b02f31905b52a48d994e9798ff size: 1790 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:20:35.766Z] + docker tag edgex-devops/edgex-snyk-go nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.1025.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:20:36.062Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.1025.0 [2022-10-10T19:20:36.062Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go] [2022-10-10T19:20:36.062Z] 0f31df924a0d: Preparing [2022-10-10T19:20:36.062Z] 18f2001debae: Preparing [2022-10-10T19:20:36.062Z] 3ee95762e3e4: Preparing [2022-10-10T19:20:36.062Z] 6f70ac22a8c3: Preparing [2022-10-10T19:20:36.062Z] 371bfe23aea5: Preparing [2022-10-10T19:20:36.062Z] 0a884882e8e9: Preparing [2022-10-10T19:20:36.062Z] 994393dc58e7: Preparing [2022-10-10T19:20:36.062Z] 0a884882e8e9: Waiting [2022-10-10T19:20:36.062Z] 994393dc58e7: Waiting [2022-10-10T19:20:36.062Z] 6f70ac22a8c3: Layer already exists [2022-10-10T19:20:36.062Z] 371bfe23aea5: Layer already exists [2022-10-10T19:20:36.062Z] 0f31df924a0d: Layer already exists [2022-10-10T19:20:36.062Z] 3ee95762e3e4: Layer already exists [2022-10-10T19:20:36.062Z] 18f2001debae: Layer already exists [2022-10-10T19:20:36.062Z] 0a884882e8e9: Layer already exists [2022-10-10T19:20:36.062Z] 994393dc58e7: Layer already exists [2022-10-10T19:20:36.062Z] 1.1025.0: digest: sha256:e5175b63b9604ce4a5646075e93931eba79e40b02f31905b52a48d994e9798ff size: 1790 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-10T19:20:36.091Z] ===================================================== [Pipeline] echo [2022-10-10T19:20:36.096Z] taggedImages: [2022-10-10T19:20:36.096Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 [2022-10-10T19:20:36.096Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2022-10-10T19:20:36.096Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:snyk [2022-10-10T19:20:36.096Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.1025.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:20:36.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T19:20:36.438Z] [2022-10-10T19:20:36.438Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:20:36.735Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T19:20:36.735Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-10T19:20:36.735Z] 5eb5b503b376: Pulling fs layer [2022-10-10T19:20:36.735Z] 5c69ac0246d0: Pulling fs layer [2022-10-10T19:20:36.735Z] ec43610c2a17: Pulling fs layer [2022-10-10T19:20:36.735Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-10T19:20:36.735Z] 33b1e0a273af: Pulling fs layer [2022-10-10T19:20:36.735Z] 5d3b04190fa2: Pulling fs layer [2022-10-10T19:20:36.735Z] 2f39f015ded8: Pulling fs layer [2022-10-10T19:20:36.735Z] 3a2ae6a8a46f: Waiting [2022-10-10T19:20:36.735Z] 33b1e0a273af: Waiting [2022-10-10T19:20:36.735Z] 5d3b04190fa2: Waiting [2022-10-10T19:20:36.735Z] 2f39f015ded8: Waiting [2022-10-10T19:20:36.735Z] 5c69ac0246d0: Download complete [2022-10-10T19:20:36.735Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-10T19:20:36.735Z] 3a2ae6a8a46f: Download complete [2022-10-10T19:20:36.993Z] 33b1e0a273af: Verifying Checksum [2022-10-10T19:20:36.993Z] 33b1e0a273af: Download complete [2022-10-10T19:20:36.993Z] ec43610c2a17: Verifying Checksum [2022-10-10T19:20:36.993Z] ec43610c2a17: Download complete [2022-10-10T19:20:36.993Z] 5d3b04190fa2: Download complete [2022-10-10T19:20:36.993Z] 5eb5b503b376: Verifying Checksum [2022-10-10T19:20:36.993Z] 5eb5b503b376: Download complete [2022-10-10T19:20:37.559Z] 2f39f015ded8: Download complete [2022-10-10T19:20:38.124Z] 5eb5b503b376: Pull complete [2022-10-10T19:20:38.382Z] 5c69ac0246d0: Pull complete [2022-10-10T19:20:38.641Z] ec43610c2a17: Pull complete [2022-10-10T19:20:38.641Z] 3a2ae6a8a46f: Pull complete [2022-10-10T19:20:38.898Z] 33b1e0a273af: Pull complete [2022-10-10T19:20:39.156Z] 5d3b04190fa2: Pull complete [2022-10-10T19:20:43.346Z] 2f39f015ded8: Pull complete [2022-10-10T19:20:43.346Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-10T19:20:43.346Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T19:20:43.346Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T19:20:43.423Z] prd-ubuntu20.04-docker-8c-8g-7574 does not seem to be running inside a container [2022-10-10T19:20:43.454Z] $ 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 [2022-10-10T19:20:44.911Z] $ docker top 698ffebc66e3c4a90592ee0d4c2d65a9afe606661483295363412f9d9ab86efd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:20:45.293Z] ---> job-cost.sh [2022-10-10T19:20:45.293Z] lf-activate-venv: SKIPPING [2022-10-10T19:20:45.293Z] INFO: No Stack... [2022-10-10T19:20:45.861Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T19:20:46.121Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T19:20:46.408Z] + cat /w/workspace/dgexfoundry_ci-build-images_snyk/archives/cost.csv [2022-10-10T19:20:46.408Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T19:20:46.437Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-snyk-10-stack-cost] [2022-10-10T19:20:46.446Z] Resource [jenkins-edgexfoundry-ci-build-images-snyk-10-stack-cost] did not exist. Created. [2022-10-10T19:20:46.447Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-snyk-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T19:20:46.744Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-10T19:20:46.897Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T19:20:46.907Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-snyk-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T19:20:46.922Z] $ docker stop --time=1 698ffebc66e3c4a90592ee0d4c2d65a9afe606661483295363412f9d9ab86efd [2022-10-10T19:20:48.089Z] $ docker rm -f 698ffebc66e3c4a90592ee0d4c2d65a9afe606661483295363412f9d9ab86efd [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-10-10T19:20:48.584Z] + [ -d /w/workspace/dgexfoundry_ci-build-images_snyk/archives ] [2022-10-10T19:20:48.584Z] + ls -al /w/workspace/dgexfoundry_ci-build-images_snyk/archives [2022-10-10T19:20:48.584Z] total 16 [2022-10-10T19:20:48.584Z] drwxr-xr-x 3 root root 4096 Oct 10 19:20 . [2022-10-10T19:20:48.584Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 19:20 .. [2022-10-10T19:20:48.584Z] drwxr-xr-x 2 root root 4096 Oct 10 19:20 cost [2022-10-10T19:20:48.584Z] -rw-r--r-- 1 root root 86 Oct 10 19:20 cost.csv [2022-10-10T19:20:48.584Z] + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_ci-build-images_snyk/archives [2022-10-10T19:20:48.584Z] + ls -al /w/workspace/dgexfoundry_ci-build-images_snyk/archives [2022-10-10T19:20:48.584Z] total 16 [2022-10-10T19:20:48.584Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 19:20 . [2022-10-10T19:20:48.584Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 19:20 .. [2022-10-10T19:20:48.584Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 19:20 cost [2022-10-10T19:20:48.584Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 10 19:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:20:48.872Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:20:49.731Z] ---> package-listing.sh [2022-10-10T19:20:49.731Z] ++ facter osfamily [2022-10-10T19:20:49.731Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-10T19:20:49.991Z] + OS_FAMILY=debian [2022-10-10T19:20:49.991Z] + workspace=/w/workspace/dgexfoundry_ci-build-images_snyk [2022-10-10T19:20:49.991Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-10T19:20:49.991Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-10T19:20:49.991Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-10T19:20:49.991Z] + PACKAGES=/tmp/packages_start.txt [2022-10-10T19:20:49.991Z] + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' [2022-10-10T19:20:49.991Z] + PACKAGES=/tmp/packages_end.txt [2022-10-10T19:20:49.991Z] + case "${OS_FAMILY}" in [2022-10-10T19:20:49.991Z] + dpkg -l [2022-10-10T19:20:49.991Z] + grep '^ii' [2022-10-10T19:20:49.991Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-10T19:20:49.991Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-10T19:20:49.991Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-10T19:20:49.991Z] + '[' /w/workspace/dgexfoundry_ci-build-images_snyk ']' [2022-10-10T19:20:49.991Z] + mkdir -p /w/workspace/dgexfoundry_ci-build-images_snyk/archives/ [2022-10-10T19:20:49.991Z] + 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-10-10T19:20:50.001Z] 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-10-10T19:20:50.280Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:20:50.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T19:20:50.831Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T19:20:50.894Z] prd-ubuntu20.04-docker-8c-8g-7574 does not seem to be running inside a container [2022-10-10T19:20:50.921Z] $ 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 [2022-10-10T19:20:51.161Z] $ docker top 852f3c02042c38f2023ede17d21deb94432326d0ee1d1ed41c8edb33226e9c9d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T19:20:51.494Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-10T19:20:51.774Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-10T19:20:52.059Z] + ls /var/log/sa-host [2022-10-10T19:20:52.060Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T19:20:52.118Z] provisioning config files... [2022-10-10T19:20:52.139Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_ci-build-images_snyk@tmp/config17356987617052686033tmp [Pipeline] { [Pipeline] echo [2022-10-10T19:20:52.150Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:20:52.434Z] ---> create-netrc.sh [Pipeline] } [2022-10-10T19:20:52.442Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:20:52.759Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-10T19:20:52.768Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:20:53.052Z] ---> sudo-logs.sh [2022-10-10T19:20:53.052Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-10T19:20:53.090Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:20:53.371Z] ---> job-cost.sh [2022-10-10T19:20:53.371Z] lf-activate-venv: SKIPPING [2022-10-10T19:20:53.371Z] DEBUG: total: 0.2199999988079071 [2022-10-10T19:20:53.371Z] INFO: Retrieving Stack Cost... [2022-10-10T19:20:53.371Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T19:20:53.631Z] INFO: Archiving Costs [Pipeline] echo [2022-10-10T19:20:53.643Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:20:53.928Z] ---> logs-deploy.sh [2022-10-10T19:20:53.928Z] lf-activate-venv: SKIPPING [2022-10-10T19:20:53.928Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/snyk/10 [2022-10-10T19:20:53.928Z] INFO: archiving workspace using pattern(s): [2022-10-10T19:20:54.865Z] Archives upload complete. [2022-10-10T19:20:54.865Z] INFO: archiving logs to Nexus