Pull request #198 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/ci-build-images Obtained Jenkinsfile from 02ca2d1a1e16feb5497892ff50f211f65bf9d920+241e441a21bb95dbc212e152a9be218cfbd779fc (0864af974d667b58800c31d3fc5f18a3897ee73a) 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-ssh8651077479844931195.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-ssh4685950928194312771.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 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/PR-198/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/PR-198/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2502553634075638184.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 > 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/PR-198/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13446311581926874401.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh12752404717804676943.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 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/PR-198/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/PR-198/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4924985806072433683.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 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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-7568 in /w/workspace/exfoundry_ci-build-images_PR-198 [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/exfoundry_ci-build-images_PR-198 # 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 > 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 remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git 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/pull/198/head:refs/remotes/origin/PR-198 +refs/heads/snyk:refs/remotes/origin/snyk # timeout=10 Merging remotes/origin/snyk commit 241e441a21bb95dbc212e152a9be218cfbd779fc into PR head commit 02ca2d1a1e16feb5497892ff50f211f65bf9d920 > git config core.sparsecheckout # timeout=10 > git checkout -f 02ca2d1a1e16feb5497892ff50f211f65bf9d920 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 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 merge 241e441a21bb95dbc212e152a9be218cfbd779fc # timeout=10 Merge succeeded, producing 02ca2d1a1e16feb5497892ff50f211f65bf9d920 Checking out Revision 02ca2d1a1e16feb5497892ff50f211f65bf9d920 (PR-198) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02ca2d1a1e16feb5497892ff50f211f65bf9d920 # timeout=10 Commit message: "feat: upgrade to Snyk CLI v1.1025.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-10T19:00:12.467Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-10T19:00:12.638Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-10T19:00:12.733Z] ========================================================= [2022-10-10T19:00:12.733Z] EdgeX Global Pipelines Version Info [2022-10-10T19:00:12.733Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:00:13.863Z] ------------------- [2022-10-10T19:00:13.863Z] stable info: [2022-10-10T19:00:13.863Z] ------------------- [2022-10-10T19:00:13.863Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-10T19:00:13.863Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T19:00:13.863Z] Message: update stable to v1.0.239 [2022-10-10T19:00:14.435Z] ------------------- [2022-10-10T19:00:14.435Z] experimental info: [2022-10-10T19:00:14.435Z] ------------------- [2022-10-10T19:00:14.435Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-10T19:00:14.435Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T19:00:14.435Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2022-10-10T19:00:14.747Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2022-10-10T19:00:14.783Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo [2022-10-10T19:00:14.818Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2022-10-10T19:00:14.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-10T19:00:14.890Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-10T19:00:14.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo [2022-10-10T19:00:14.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2022-10-10T19:00:14.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2022-10-10T19:00:15.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2022-10-10T19:00:15.050Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T19:00:15.084Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2022-10-10T19:00:15.116Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo [2022-10-10T19:00:15.150Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-10T19:00:15.181Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-10T19:00:15.214Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo [2022-10-10T19:00:15.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.1025.0 [Pipeline] echo [2022-10-10T19:00:15.281Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-198 [Pipeline] echo [2022-10-10T19:00:15.314Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-198 [Pipeline] echo [2022-10-10T19:00:15.348Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-198 [Pipeline] echo [2022-10-10T19:00:15.380Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02ca2d1a1e16feb5497892ff50f211f65bf9d920 [Pipeline] echo [2022-10-10T19:00:15.412Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02ca2d1 [Pipeline] echo [2022-10-10T19:00:15.450Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T19:00:15.546Z] provisioning config files... [2022-10-10T19:00:15.559Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-198@tmp/config15838773966229080166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:00:15.894Z] ---> docker-login.sh [2022-10-10T19:00:15.894Z] nexus3.edgexfoundry.org:10001 [2022-10-10T19:00:16.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:00:16.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:00:16.415Z] Configure a credential helper to remove this warning. See [2022-10-10T19:00:16.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:00:16.415Z] [2022-10-10T19:00:16.415Z] Login Succeeded [2022-10-10T19:00:16.415Z] nexus3.edgexfoundry.org:10002 [2022-10-10T19:00:16.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:00:16.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:00:16.415Z] Configure a credential helper to remove this warning. See [2022-10-10T19:00:16.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:00:16.415Z] [2022-10-10T19:00:16.415Z] Login Succeeded [2022-10-10T19:00:16.415Z] nexus3.edgexfoundry.org:10003 [2022-10-10T19:00:16.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:00:16.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:00:16.675Z] Configure a credential helper to remove this warning. See [2022-10-10T19:00:16.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:00:16.675Z] [2022-10-10T19:00:16.675Z] Login Succeeded [2022-10-10T19:00:16.675Z] nexus3.edgexfoundry.org:10004 [2022-10-10T19:00:16.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:00:16.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:00:16.675Z] Configure a credential helper to remove this warning. See [2022-10-10T19:00:16.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:00:16.675Z] [2022-10-10T19:00:16.675Z] Login Succeeded [2022-10-10T19:00:16.675Z] docker.io [2022-10-10T19:00:16.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:00:17.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:00:17.195Z] Configure a credential helper to remove this warning. See [2022-10-10T19:00:17.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:00:17.195Z] [2022-10-10T19:00:17.195Z] Login Succeeded [2022-10-10T19:00:17.195Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T19:00:17.219Z] 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:00:18.220Z] provisioning config files... [2022-10-10T19:00:18.231Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-198@tmp/config12422512374486871951tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:00:18.637Z] ---> docker-login.sh [2022-10-10T19:00:18.637Z] nexus3.edgexfoundry.org:10001 [2022-10-10T19:00:18.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:00:18.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:00:18.637Z] Configure a credential helper to remove this warning. See [2022-10-10T19:00:18.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:00:18.637Z] [2022-10-10T19:00:18.637Z] Login Succeeded [2022-10-10T19:00:18.637Z] nexus3.edgexfoundry.org:10002 [2022-10-10T19:00:18.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:00:18.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:00:18.637Z] Configure a credential helper to remove this warning. See [2022-10-10T19:00:18.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:00:18.637Z] [2022-10-10T19:00:18.637Z] Login Succeeded [2022-10-10T19:00:18.637Z] nexus3.edgexfoundry.org:10003 [2022-10-10T19:00:18.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:00:18.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:00:18.894Z] Configure a credential helper to remove this warning. See [2022-10-10T19:00:18.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:00:18.894Z] [2022-10-10T19:00:18.894Z] Login Succeeded [2022-10-10T19:00:18.894Z] nexus3.edgexfoundry.org:10004 [2022-10-10T19:00:18.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:00:18.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:00:18.894Z] Configure a credential helper to remove this warning. See [2022-10-10T19:00:18.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:00:18.894Z] [2022-10-10T19:00:18.894Z] Login Succeeded [2022-10-10T19:00:18.894Z] docker.io [2022-10-10T19:00:19.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:00:19.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:00:19.414Z] Configure a credential helper to remove this warning. See [2022-10-10T19:00:19.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:00:19.414Z] [2022-10-10T19:00:19.414Z] Login Succeeded [2022-10-10T19:00:19.414Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T19:00:19.444Z] 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:00:20.335Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T19:00:20.655Z] + ls -al . [2022-10-10T19:00:20.655Z] total 20 [2022-10-10T19:00:20.655Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 19:00 . [2022-10-10T19:00:20.655Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 19:00 .. [2022-10-10T19:00:20.655Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 19:00 .git [2022-10-10T19:00:20.655Z] -rw-rw-r-- 1 jenkins jenkins 642 Oct 10 19:00 Dockerfile [2022-10-10T19:00:20.655Z] -rw-rw-r-- 1 jenkins jenkins 902 Oct 10 19:00 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:00:21.134Z] + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=02ca2d1a1e16feb5497892ff50f211f65bf9d920 --label arch=amd64 . [2022-10-10T19:00:21.134Z] Sending build context to Docker daemon 436.2kB [2022-10-10T19:00:21.134Z] Step 1/11 : FROM golang:1.18-alpine3.16 [2022-10-10T19:00:21.704Z] 1.18-alpine3.16: Pulling from library/golang [2022-10-10T19:00:21.963Z] 213ec9aee27d: Pulling fs layer [2022-10-10T19:00:21.963Z] 4583459ba037: Pulling fs layer [2022-10-10T19:00:21.963Z] 93c1e223e6f2: Pulling fs layer [2022-10-10T19:00:21.963Z] 53926ce57604: Pulling fs layer [2022-10-10T19:00:21.963Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-10T19:00:21.963Z] 53926ce57604: Waiting [2022-10-10T19:00:21.963Z] 93c1e223e6f2: Download complete [2022-10-10T19:00:21.963Z] 4583459ba037: Download complete [2022-10-10T19:00:21.963Z] 213ec9aee27d: Verifying Checksum [2022-10-10T19:00:21.963Z] 213ec9aee27d: Download complete [2022-10-10T19:00:22.223Z] 21b2b0c7a3f4: Download complete [2022-10-10T19:00:22.223Z] 213ec9aee27d: Pull complete [2022-10-10T19:00:22.223Z] 4583459ba037: Pull complete [2022-10-10T19:00:22.484Z] 93c1e223e6f2: Pull complete [2022-10-10T19:00:23.421Z] 53926ce57604: Download complete [2022-10-10T19:00:27.642Z] 53926ce57604: Pull complete [2022-10-10T19:00:27.642Z] 21b2b0c7a3f4: Pull complete [2022-10-10T19:00:27.642Z] Digest: sha256:7dc3de187ac994ac6d95a2e55fe87e962db391dddb4e28a0fdf0be4cd5962bbe [2022-10-10T19:00:27.642Z] Status: Downloaded newer image for golang:1.18-alpine3.16 [2022-10-10T19:00:27.642Z] ---> ccb02b8b7a62 [2022-10-10T19:00:27.642Z] Step 2/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2022: Intel' [2022-10-10T19:00:29.033Z] ---> Running in bf7c16ded139 [2022-10-10T19:00:29.033Z] Removing intermediate container bf7c16ded139 [2022-10-10T19:00:29.033Z] ---> 0353a78598ea [2022-10-10T19:00:29.033Z] Step 3/11 : ARG SNYK_VERSION=1.1025.0 [2022-10-10T19:00:29.033Z] ---> Running in 42047f233c8e [2022-10-10T19:00:29.033Z] Removing intermediate container 42047f233c8e [2022-10-10T19:00:29.033Z] ---> ee47ebeda342 [2022-10-10T19:00:29.033Z] Step 4/11 : ENV SNYK_VERSION=${SNYK_VERSION} [2022-10-10T19:00:29.033Z] ---> Running in 2aaade3ae5ee [2022-10-10T19:00:29.292Z] Removing intermediate container 2aaade3ae5ee [2022-10-10T19:00:29.292Z] ---> d8e7553fe49a [2022-10-10T19:00:29.292Z] Step 5/11 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2022-10-10T19:00:29.861Z] latest: Pulling from library/docker [2022-10-10T19:00:30.121Z] 213ec9aee27d: Already exists [2022-10-10T19:00:30.122Z] 7b0dd730a5c3: Pulling fs layer [2022-10-10T19:00:30.122Z] 4b90f8029a36: Pulling fs layer [2022-10-10T19:00:30.122Z] b2204c289e68: Pulling fs layer [2022-10-10T19:00:30.122Z] a75dcb107a37: Pulling fs layer [2022-10-10T19:00:30.122Z] 3a173a06c313: Pulling fs layer [2022-10-10T19:00:30.122Z] 44f3a1cb7a3f: Pulling fs layer [2022-10-10T19:00:30.122Z] a7d2f4b1d0b5: Pulling fs layer [2022-10-10T19:00:30.122Z] cd2ccc3f5575: Pulling fs layer [2022-10-10T19:00:30.122Z] 44f3a1cb7a3f: Waiting [2022-10-10T19:00:30.122Z] a75dcb107a37: Waiting [2022-10-10T19:00:30.122Z] 3a173a06c313: Waiting [2022-10-10T19:00:30.122Z] cd2ccc3f5575: Waiting [2022-10-10T19:00:30.122Z] 4b90f8029a36: Verifying Checksum [2022-10-10T19:00:30.122Z] 4b90f8029a36: Download complete [2022-10-10T19:00:30.381Z] 7b0dd730a5c3: Download complete [2022-10-10T19:00:30.381Z] b2204c289e68: Verifying Checksum [2022-10-10T19:00:30.381Z] b2204c289e68: Download complete [2022-10-10T19:00:30.381Z] 7b0dd730a5c3: Pull complete [2022-10-10T19:00:30.647Z] a75dcb107a37: Verifying Checksum [2022-10-10T19:00:30.647Z] a75dcb107a37: Download complete [2022-10-10T19:00:30.647Z] 44f3a1cb7a3f: Verifying Checksum [2022-10-10T19:00:30.647Z] 44f3a1cb7a3f: Download complete [2022-10-10T19:00:30.647Z] 4b90f8029a36: Pull complete [2022-10-10T19:00:30.647Z] a7d2f4b1d0b5: Verifying Checksum [2022-10-10T19:00:30.647Z] a7d2f4b1d0b5: Download complete [2022-10-10T19:00:30.905Z] 3a173a06c313: Verifying Checksum [2022-10-10T19:00:30.905Z] 3a173a06c313: Download complete [2022-10-10T19:00:30.905Z] b2204c289e68: Pull complete [2022-10-10T19:00:31.472Z] a75dcb107a37: Pull complete [2022-10-10T19:00:31.731Z] 3a173a06c313: Pull complete [2022-10-10T19:00:31.991Z] 44f3a1cb7a3f: Pull complete [2022-10-10T19:00:32.251Z] a7d2f4b1d0b5: Pull complete [2022-10-10T19:00:32.251Z] cd2ccc3f5575: Pull complete [2022-10-10T19:00:32.509Z] Digest: sha256:b2343859b009730168704bf04dd705291539db39df5ccf840a91b647b72009fe [2022-10-10T19:00:32.510Z] Status: Downloaded newer image for docker:latest [2022-10-10T19:00:33.888Z] ---> d621c9c1cae8 [2022-10-10T19:00:33.888Z] 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:00:33.888Z] ---> Running in 3b46c12cae90 [2022-10-10T19:00:34.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T19:00:34.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T19:00:34.667Z] (1/25) Installing tcl (8.6.12-r1) [2022-10-10T19:00:34.667Z] (2/25) Installing expect (5.45.4-r2) [2022-10-10T19:00:34.667Z] (3/25) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T19:00:34.667Z] (4/25) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T19:00:34.667Z] (5/25) Installing binutils (2.38-r3) [2022-10-10T19:00:34.667Z] (6/25) Installing libgomp (11.2.1_git20220219-r2) [2022-10-10T19:00:34.667Z] (7/25) Installing libatomic (11.2.1_git20220219-r2) [2022-10-10T19:00:34.667Z] (8/25) Installing gmp (6.2.1-r2) [2022-10-10T19:00:34.927Z] (9/25) Installing isl22 (0.22-r0) [2022-10-10T19:00:34.927Z] (10/25) Installing mpfr4 (4.1.0-r0) [2022-10-10T19:00:34.927Z] (11/25) Installing mpc1 (1.2.1-r0) [2022-10-10T19:00:34.927Z] (12/25) Installing gcc (11.2.1_git20220219-r2) [2022-10-10T19:00:35.493Z] (13/25) Installing brotli-libs (1.0.9-r6) [2022-10-10T19:00:35.493Z] (14/25) Installing nghttp2-libs (1.47.0-r0) [2022-10-10T19:00:35.493Z] (15/25) Installing libcurl (7.83.1-r3) [2022-10-10T19:00:35.493Z] (16/25) Installing expat (2.4.9-r0) [2022-10-10T19:00:35.493Z] (17/25) Installing pcre2 (10.40-r0) [2022-10-10T19:00:35.493Z] (18/25) Installing git (2.36.2-r0) [2022-10-10T19:00:35.493Z] (19/25) Installing musl-dev (1.2.3-r0) [2022-10-10T19:00:35.493Z] (20/25) Installing libc-dev (0.7.2-r3) [2022-10-10T19:00:35.493Z] (21/25) Installing c-ares (1.18.1-r0) [2022-10-10T19:00:35.493Z] (22/25) Installing icu-data-en (71.1-r2) [2022-10-10T19:00:35.493Z] Executing icu-data-en-71.1-r2.post-install [2022-10-10T19:00:35.493Z] * [2022-10-10T19:00:35.493Z] * If you need ICU with non-English locales and legacy charset support, install [2022-10-10T19:00:35.493Z] * package icu-data-full. [2022-10-10T19:00:35.493Z] * [2022-10-10T19:00:35.493Z] (23/25) Installing icu-libs (71.1-r2) [2022-10-10T19:00:35.752Z] (24/25) Installing nodejs (16.17.1-r0) [2022-10-10T19:00:35.752Z] (25/25) Installing npm (8.10.0-r0) [2022-10-10T19:00:36.012Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T19:00:36.012Z] OK: 191 MiB in 40 packages [2022-10-10T19:00:36.012Z] Connecting to github.com (140.82.113.4:443) [2022-10-10T19:00:36.271Z] Connecting to github.com (140.82.113.4:443) [2022-10-10T19:00:36.271Z] Connecting to objects.githubusercontent.com (185.199.108.133:443) [2022-10-10T19:00:36.531Z] saving to '/usr/local/bin/snyk' [2022-10-10T19:00:36.531Z] snyk 11% |*** | 6496k 0:00:07 ETA [2022-10-10T19:00:37.468Z] snyk 100% |********************************| 54.7M 0:00:00 ETA [2022-10-10T19:00:37.468Z] '/usr/local/bin/snyk' saved [2022-10-10T19:00:40.007Z]  [2022-10-10T19:00:40.007Z] added 23 packages, and audited 24 packages in 2s [2022-10-10T19:00:40.007Z] [2022-10-10T19:00:40.007Z] found 0 vulnerabilities [2022-10-10T19:00:45.408Z] Removing intermediate container 3b46c12cae90 [2022-10-10T19:00:45.408Z] ---> ea9daf1414f5 [2022-10-10T19:00:45.408Z] Step 7/11 : ENV GO111MODULE=on [2022-10-10T19:00:45.408Z] ---> Running in 1c88aee861f4 [2022-10-10T19:00:45.408Z] Removing intermediate container 1c88aee861f4 [2022-10-10T19:00:45.408Z] ---> 21c4669ac0d8 [2022-10-10T19:00:45.408Z] Step 8/11 : ENTRYPOINT [ "snyk" ] [2022-10-10T19:00:45.408Z] ---> Running in 66929ddd159e [2022-10-10T19:00:45.408Z] Removing intermediate container 66929ddd159e [2022-10-10T19:00:45.408Z] ---> b7af6ec43ce6 [2022-10-10T19:00:45.408Z] Step 9/11 : CMD [ "monitor" ] [2022-10-10T19:00:45.408Z] ---> Running in 96676e78dfad [2022-10-10T19:00:45.408Z] Removing intermediate container 96676e78dfad [2022-10-10T19:00:45.408Z] ---> a91770082e5e [2022-10-10T19:00:45.408Z] Step 10/11 : LABEL arch=amd64 [2022-10-10T19:00:45.668Z] ---> Running in a8a0eda18384 [2022-10-10T19:00:45.669Z] Removing intermediate container a8a0eda18384 [2022-10-10T19:00:45.669Z] ---> 77c0bbe2e7ce [2022-10-10T19:00:45.669Z] Step 11/11 : LABEL git_sha=02ca2d1a1e16feb5497892ff50f211f65bf9d920 [2022-10-10T19:00:45.669Z] ---> Running in 46c81d2c63ed [2022-10-10T19:00:45.928Z] Removing intermediate container 46c81d2c63ed [2022-10-10T19:00:45.928Z] ---> 68e3ed93b233 [2022-10-10T19:00:45.928Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T19:00:45.928Z] Successfully built 68e3ed93b233 [2022-10-10T19:00:45.928Z] Successfully tagged edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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:00:46.755Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T19:00:46.755Z] [2022-10-10T19:00:46.755Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:00:47.125Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T19:00:47.125Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-10T19:00:47.125Z] 5eb5b503b376: Pulling fs layer [2022-10-10T19:00:47.125Z] 5c69ac0246d0: Pulling fs layer [2022-10-10T19:00:47.125Z] ec43610c2a17: Pulling fs layer [2022-10-10T19:00:47.125Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-10T19:00:47.125Z] 33b1e0a273af: Pulling fs layer [2022-10-10T19:00:47.125Z] 3a2ae6a8a46f: Waiting [2022-10-10T19:00:47.125Z] 5d3b04190fa2: Pulling fs layer [2022-10-10T19:00:47.125Z] 2f39f015ded8: Pulling fs layer [2022-10-10T19:00:47.125Z] 33b1e0a273af: Waiting [2022-10-10T19:00:47.125Z] 5d3b04190fa2: Waiting [2022-10-10T19:00:47.125Z] 2f39f015ded8: Waiting [2022-10-10T19:00:47.125Z] 5c69ac0246d0: Verifying Checksum [2022-10-10T19:00:47.125Z] 5c69ac0246d0: Download complete [2022-10-10T19:00:47.125Z] 3a2ae6a8a46f: Download complete [2022-10-10T19:00:47.125Z] 33b1e0a273af: Verifying Checksum [2022-10-10T19:00:47.125Z] 33b1e0a273af: Download complete [2022-10-10T19:00:47.125Z] ec43610c2a17: Verifying Checksum [2022-10-10T19:00:47.125Z] ec43610c2a17: Download complete [2022-10-10T19:00:47.385Z] 5d3b04190fa2: Verifying Checksum [2022-10-10T19:00:47.385Z] 5d3b04190fa2: Download complete [2022-10-10T19:00:47.385Z] 5eb5b503b376: Download complete [2022-10-10T19:00:47.954Z] 2f39f015ded8: Download complete [2022-10-10T19:00:48.889Z] 5eb5b503b376: Pull complete [2022-10-10T19:00:48.889Z] 5c69ac0246d0: Pull complete [2022-10-10T19:00:49.149Z] ec43610c2a17: Pull complete [2022-10-10T19:00:49.149Z] 3a2ae6a8a46f: Pull complete [2022-10-10T19:00:49.407Z] 33b1e0a273af: Pull complete [2022-10-10T19:00:49.666Z] 5d3b04190fa2: Pull complete [2022-10-10T19:00:54.934Z] 2f39f015ded8: Pull complete [2022-10-10T19:00:54.934Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-10T19:00:54.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T19:00:54.934Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T19:00:55.137Z] prd-ubuntu20.04-docker-8c-8g-7568 does not seem to be running inside a container [2022-10-10T19:00:55.166Z] $ 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/exfoundry_ci-build-images_PR-198 -v /w/workspace/exfoundry_ci-build-images_PR-198:/w/workspace/exfoundry_ci-build-images_PR-198:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-198@tmp:/w/workspace/exfoundry_ci-build-images_PR-198@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T19:00:57.258Z] $ docker top 23cc24d66b594bf31608f255e6134432045ffb0962651c7164b84fd253dfebef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:00:57.766Z] ---> job-cost.sh [2022-10-10T19:00:57.766Z] lf-activate-venv: SKIPPING [2022-10-10T19:00:57.766Z] INFO: No Stack... [2022-10-10T19:00:58.027Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T19:00:58.600Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T19:00:58.990Z] + cat /w/workspace/exfoundry_ci-build-images_PR-198/archives/cost.csv [2022-10-10T19:00:58.990Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T19:00:59.054Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-198-1-stack-cost] [2022-10-10T19:00:59.059Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-198-1-stack-cost] did not exist. Created. [2022-10-10T19:00:59.059Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-198-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T19:00:59.441Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-10T19:00:59.625Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T19:00:59.644Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-198-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T19:00:59.715Z] $ docker stop --time=1 23cc24d66b594bf31608f255e6134432045ffb0962651c7164b84fd253dfebef [2022-10-10T19:01:00.910Z] $ docker rm -f 23cc24d66b594bf31608f255e6134432045ffb0962651c7164b84fd253dfebef [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:01:02.089Z] + [ -d /w/workspace/exfoundry_ci-build-images_PR-198/archives ] [2022-10-10T19:01:02.089Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-198/archives [2022-10-10T19:01:02.089Z] total 16 [2022-10-10T19:01:02.089Z] drwxr-xr-x 3 root root 4096 Oct 10 19:00 . [2022-10-10T19:01:02.089Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 19:00 .. [2022-10-10T19:01:02.089Z] drwxr-xr-x 2 root root 4096 Oct 10 19:00 cost [2022-10-10T19:01:02.089Z] -rw-r--r-- 1 root root 87 Oct 10 19:00 cost.csv [2022-10-10T19:01:02.089Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-198/archives [2022-10-10T19:01:02.089Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-198/archives [2022-10-10T19:01:02.089Z] total 16 [2022-10-10T19:01:02.089Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 19:00 . [2022-10-10T19:01:02.089Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 19:00 .. [2022-10-10T19:01:02.089Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 19:00 cost [2022-10-10T19:01:02.089Z] -rw-r--r-- 1 jenkins jenkins 87 Oct 10 19:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:01:02.414Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:01:03.298Z] ---> package-listing.sh [2022-10-10T19:01:03.298Z] ++ facter osfamily [2022-10-10T19:01:03.298Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-10T19:01:03.564Z] + OS_FAMILY=debian [2022-10-10T19:01:03.564Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-198 [2022-10-10T19:01:03.564Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-10T19:01:03.564Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-10T19:01:03.564Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-10T19:01:03.564Z] + PACKAGES=/tmp/packages_start.txt [2022-10-10T19:01:03.564Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-198 ']' [2022-10-10T19:01:03.564Z] + PACKAGES=/tmp/packages_end.txt [2022-10-10T19:01:03.564Z] + case "${OS_FAMILY}" in [2022-10-10T19:01:03.564Z] + dpkg -l [2022-10-10T19:01:03.564Z] + grep '^ii' [2022-10-10T19:01:03.564Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-10T19:01:03.564Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-10T19:01:03.564Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-10T19:01:03.564Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-198 ']' [2022-10-10T19:01:03.564Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-198/archives/ [2022-10-10T19:01:03.564Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-198/archives/ [Pipeline] echo [2022-10-10T19:01:03.596Z] 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/exfoundry_ci-build-images_PR-198/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:01:03.894Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:01:04.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T19:01:04.529Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T19:01:04.668Z] prd-ubuntu20.04-docker-8c-8g-7568 does not seem to be running inside a container [2022-10-10T19:01:04.914Z] $ 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/exfoundry_ci-build-images_PR-198/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_ci-build-images_PR-198 -v /w/workspace/exfoundry_ci-build-images_PR-198:/w/workspace/exfoundry_ci-build-images_PR-198:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-198@tmp:/w/workspace/exfoundry_ci-build-images_PR-198@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T19:01:06.383Z] $ docker top d08751ea333675087998c092499151f58adf4b4ba05c1926d0872a2e9469b024 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T19:01:06.778Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-10T19:01:07.121Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-10T19:01:07.465Z] + ls /var/log/sa-host [2022-10-10T19:01:07.465Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T19:01:07.604Z] provisioning config files... [2022-10-10T19:01:07.621Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-198@tmp/config2201780000618761028tmp [Pipeline] { [Pipeline] echo [2022-10-10T19:01:07.659Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:01:07.983Z] ---> create-netrc.sh [Pipeline] } [2022-10-10T19:01:08.008Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:01:08.425Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-10T19:01:08.451Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:01:08.786Z] ---> sudo-logs.sh [2022-10-10T19:01:08.786Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-10T19:01:08.865Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:01:09.196Z] ---> job-cost.sh [2022-10-10T19:01:09.196Z] lf-activate-venv: SKIPPING [2022-10-10T19:01:09.196Z] DEBUG: total: 0.2199999988079071 [2022-10-10T19:01:09.196Z] INFO: Retrieving Stack Cost... [2022-10-10T19:01:09.196Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T19:01:09.779Z] INFO: Archiving Costs [Pipeline] echo [2022-10-10T19:01:09.818Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:01:10.171Z] ---> logs-deploy.sh [2022-10-10T19:01:10.171Z] lf-activate-venv: SKIPPING [2022-10-10T19:01:10.171Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-198/1 [2022-10-10T19:01:10.171Z] INFO: archiving workspace using pattern(s): [2022-10-10T19:01:11.128Z] Archives upload complete. [2022-10-10T19:01:11.394Z] INFO: archiving logs to Nexus