Pull request #205 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 d167567cfa5934880242deaa35e9ef3cba280d86+887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 (f92c12987ca2a3f6f00aaf18e68a86c293acaf90) 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-ssh3385526812027605707.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh12728280923992474322.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-205/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-205/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3875253975781223612.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-205/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8897000168678644220.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh17561746160587335379.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-205/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-205/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15581172238765356552.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-2250 in /w/workspace/exfoundry_ci-build-images_PR-205 [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-205 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/snyk commit 887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 into PR head commit d167567cfa5934880242deaa35e9ef3cba280d86 Merge succeeded, producing d167567cfa5934880242deaa35e9ef3cba280d86 Checking out Revision d167567cfa5934880242deaa35e9ef3cba280d86 (PR-205) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/205/head:refs/remotes/origin/PR-205 +refs/heads/snyk:refs/remotes/origin/snyk # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d167567cfa5934880242deaa35e9ef3cba280d86 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 887d6b3f99b5778b7c8dd2451d7d3cf3fcd967d4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d167567cfa5934880242deaa35e9ef3cba280d86 # timeout=10 Commit message: "ci: update Go version to 1.20" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T17:55:26.659Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T17:55:26.798Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T17:55:26.882Z] ========================================================= [2023-03-15T17:55:26.882Z] EdgeX Global Pipelines Version Info [2023-03-15T17:55:26.882Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T17:55:27.620Z] ------------------- [2023-03-15T17:55:27.620Z] stable info: [2023-03-15T17:55:27.620Z] ------------------- [2023-03-15T17:55:27.620Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T17:55:27.620Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T17:55:27.620Z] Message: update stable to v1.0.245 [2023-03-15T17:55:28.190Z] ------------------- [2023-03-15T17:55:28.190Z] experimental info: [2023-03-15T17:55:28.190Z] ------------------- [2023-03-15T17:55:28.190Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T17:55:28.190Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T17:55:28.190Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2023-03-15T17:55:28.517Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2023-03-15T17:55:28.557Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-snyk-go [Pipeline] echo [2023-03-15T17:55:28.591Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2023-03-15T17:55:28.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T17:55:28.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T17:55:28.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-snyk-go [Pipeline] echo [2023-03-15T17:55:28.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2023-03-15T17:55:28.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2023-03-15T17:55:28.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2023-03-15T17:55:28.834Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T17:55:28.875Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2023-03-15T17:55:28.909Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-snyk-go-archive.tar.gz [Pipeline] echo [2023-03-15T17:55:28.942Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T17:55:28.983Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T17:55:29.016Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = snyk [Pipeline] echo [2023-03-15T17:55:29.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.1025.0 [Pipeline] echo [2023-03-15T17:55:29.085Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-205 [Pipeline] echo [2023-03-15T17:55:29.115Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-205 [Pipeline] echo [2023-03-15T17:55:29.149Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-205 [Pipeline] echo [2023-03-15T17:55:29.183Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d167567cfa5934880242deaa35e9ef3cba280d86 [Pipeline] echo [2023-03-15T17:55:29.218Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d167567 [Pipeline] echo [2023-03-15T17:55:29.251Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T17:55:29.359Z] provisioning config files... [2023-03-15T17:55:29.372Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-205@tmp/config17963312776640321031tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T17:55:29.705Z] ---> docker-login.sh [2023-03-15T17:55:29.705Z] nexus3.edgexfoundry.org:10001 [2023-03-15T17:55:29.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T17:55:29.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T17:55:29.965Z] Configure a credential helper to remove this warning. See [2023-03-15T17:55:29.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T17:55:29.965Z] [2023-03-15T17:55:29.965Z] Login Succeeded [2023-03-15T17:55:29.965Z] nexus3.edgexfoundry.org:10002 [2023-03-15T17:55:29.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T17:55:30.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T17:55:30.225Z] Configure a credential helper to remove this warning. See [2023-03-15T17:55:30.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T17:55:30.225Z] [2023-03-15T17:55:30.225Z] Login Succeeded [2023-03-15T17:55:30.225Z] nexus3.edgexfoundry.org:10003 [2023-03-15T17:55:30.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T17:55:30.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T17:55:30.485Z] Configure a credential helper to remove this warning. See [2023-03-15T17:55:30.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T17:55:30.485Z] [2023-03-15T17:55:30.485Z] Login Succeeded [2023-03-15T17:55:30.485Z] nexus3.edgexfoundry.org:10004 [2023-03-15T17:55:30.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T17:55:30.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T17:55:30.485Z] Configure a credential helper to remove this warning. See [2023-03-15T17:55:30.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T17:55:30.485Z] [2023-03-15T17:55:30.485Z] Login Succeeded [2023-03-15T17:55:30.485Z] docker.io [2023-03-15T17:55:30.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T17:55:30.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T17:55:30.745Z] Configure a credential helper to remove this warning. See [2023-03-15T17:55:30.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T17:55:30.745Z] [2023-03-15T17:55:30.745Z] Login Succeeded [2023-03-15T17:55:30.745Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T17:55:30.769Z] 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 [2023-03-15T17:55:31.767Z] provisioning config files... [2023-03-15T17:55:31.778Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-205@tmp/config14222095663221957482tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T17:55:32.235Z] ---> docker-login.sh [2023-03-15T17:55:32.235Z] nexus3.edgexfoundry.org:10001 [2023-03-15T17:55:32.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T17:55:32.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T17:55:32.235Z] Configure a credential helper to remove this warning. See [2023-03-15T17:55:32.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T17:55:32.235Z] [2023-03-15T17:55:32.235Z] Login Succeeded [2023-03-15T17:55:32.235Z] nexus3.edgexfoundry.org:10002 [2023-03-15T17:55:32.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T17:55:32.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T17:55:32.235Z] Configure a credential helper to remove this warning. See [2023-03-15T17:55:32.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T17:55:32.235Z] [2023-03-15T17:55:32.235Z] Login Succeeded [2023-03-15T17:55:32.235Z] nexus3.edgexfoundry.org:10003 [2023-03-15T17:55:32.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T17:55:32.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T17:55:32.497Z] Configure a credential helper to remove this warning. See [2023-03-15T17:55:32.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T17:55:32.497Z] [2023-03-15T17:55:32.497Z] Login Succeeded [2023-03-15T17:55:32.497Z] nexus3.edgexfoundry.org:10004 [2023-03-15T17:55:32.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T17:55:32.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T17:55:32.497Z] Configure a credential helper to remove this warning. See [2023-03-15T17:55:32.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T17:55:32.497Z] [2023-03-15T17:55:32.497Z] Login Succeeded [2023-03-15T17:55:32.497Z] docker.io [2023-03-15T17:55:32.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T17:55:32.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T17:55:32.759Z] Configure a credential helper to remove this warning. See [2023-03-15T17:55:32.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T17:55:32.759Z] [2023-03-15T17:55:32.759Z] Login Succeeded [2023-03-15T17:55:32.759Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T17:55:32.791Z] 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 [2023-03-15T17:55:33.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T17:55:33.823Z] + ls -al . [2023-03-15T17:55:33.823Z] total 20 [2023-03-15T17:55:33.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 17:55 . [2023-03-15T17:55:33.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 17:55 .. [2023-03-15T17:55:33.823Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 17:55 .git [2023-03-15T17:55:33.823Z] -rw-rw-r-- 1 jenkins jenkins 642 Mar 15 17:55 Dockerfile [2023-03-15T17:55:33.823Z] -rw-rw-r-- 1 jenkins jenkins 902 Mar 15 17:55 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T17:55:34.239Z] + docker build -t edgex-devops/edgex-snyk-go -f Dockerfile --build-arg ARCH=amd64 --label git_sha=d167567cfa5934880242deaa35e9ef3cba280d86 --label arch=amd64 . [2023-03-15T17:55:34.239Z] Sending build context to Docker daemon 448.5kB [2023-03-15T17:55:34.239Z] Step 1/11 : FROM golang:1.20-alpine3.17 [2023-03-15T17:55:34.498Z] 1.20-alpine3.17: Pulling from library/golang [2023-03-15T17:55:34.757Z] 63b65145d645: Pulling fs layer [2023-03-15T17:55:34.758Z] a2d21d5440eb: Pulling fs layer [2023-03-15T17:55:34.758Z] 935e6c44a52c: Pulling fs layer [2023-03-15T17:55:34.758Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T17:55:34.758Z] 94cc34f8dd06: Waiting [2023-03-15T17:55:34.758Z] a2d21d5440eb: Verifying Checksum [2023-03-15T17:55:34.758Z] a2d21d5440eb: Download complete [2023-03-15T17:55:34.758Z] 63b65145d645: Verifying Checksum [2023-03-15T17:55:34.758Z] 63b65145d645: Download complete [2023-03-15T17:55:35.017Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T17:55:35.017Z] 94cc34f8dd06: Download complete [2023-03-15T17:55:35.017Z] 63b65145d645: Pull complete [2023-03-15T17:55:35.017Z] a2d21d5440eb: Pull complete [2023-03-15T17:55:37.560Z] 935e6c44a52c: Verifying Checksum [2023-03-15T17:55:37.560Z] 935e6c44a52c: Download complete [2023-03-15T17:55:40.850Z] 935e6c44a52c: Pull complete [2023-03-15T17:55:40.850Z] 94cc34f8dd06: Pull complete [2023-03-15T17:55:40.850Z] Digest: sha256:1db127655b32aa559e32ed3754ed2ea735204d967a433e4b605aed1dd44c5084 [2023-03-15T17:55:40.850Z] Status: Downloaded newer image for golang:1.20-alpine3.17 [2023-03-15T17:55:40.850Z] ---> 898000b2160b [2023-03-15T17:55:40.850Z] Step 2/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2022: Intel' [2023-03-15T17:55:41.111Z] ---> Running in 07aa4ccd286c [2023-03-15T17:55:41.370Z] Removing intermediate container 07aa4ccd286c [2023-03-15T17:55:41.370Z] ---> f2b7df1b22a3 [2023-03-15T17:55:41.370Z] Step 3/11 : ARG SNYK_VERSION=1.1025.0 [2023-03-15T17:55:41.370Z] ---> Running in 0c635cd2d6f1 [2023-03-15T17:55:41.370Z] Removing intermediate container 0c635cd2d6f1 [2023-03-15T17:55:41.370Z] ---> e57f9eca34c1 [2023-03-15T17:55:41.370Z] Step 4/11 : ENV SNYK_VERSION=${SNYK_VERSION} [2023-03-15T17:55:41.370Z] ---> Running in 2177b2b0f714 [2023-03-15T17:55:41.631Z] Removing intermediate container 2177b2b0f714 [2023-03-15T17:55:41.631Z] ---> ba85a05b90ec [2023-03-15T17:55:41.631Z] Step 5/11 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2023-03-15T17:55:41.890Z] latest: Pulling from library/docker [2023-03-15T17:55:42.150Z] 63b65145d645: Already exists [2023-03-15T17:55:42.150Z] 79632185ca8e: Pulling fs layer [2023-03-15T17:55:42.150Z] 96acd0207079: Pulling fs layer [2023-03-15T17:55:42.150Z] cd9b23e3d659: Pulling fs layer [2023-03-15T17:55:42.150Z] 9b72c76fa520: Pulling fs layer [2023-03-15T17:55:42.150Z] 2a9913c6de88: Pulling fs layer [2023-03-15T17:55:42.150Z] d82d65dfa3e2: Pulling fs layer [2023-03-15T17:55:42.150Z] c870b0efe7bf: Pulling fs layer [2023-03-15T17:55:42.150Z] 3bd06c2449b9: Pulling fs layer [2023-03-15T17:55:42.150Z] b8adaaee12a3: Pulling fs layer [2023-03-15T17:55:42.150Z] 32e31cd5a8e4: Pulling fs layer [2023-03-15T17:55:42.150Z] cebae2ff9f88: Pulling fs layer [2023-03-15T17:55:42.150Z] 38a13f2f8392: Pulling fs layer [2023-03-15T17:55:42.150Z] d82d65dfa3e2: Waiting [2023-03-15T17:55:42.150Z] 9b72c76fa520: Waiting [2023-03-15T17:55:42.150Z] c870b0efe7bf: Waiting [2023-03-15T17:55:42.150Z] 2a9913c6de88: Waiting [2023-03-15T17:55:42.150Z] 3bd06c2449b9: Waiting [2023-03-15T17:55:42.150Z] b8adaaee12a3: Waiting [2023-03-15T17:55:42.150Z] 32e31cd5a8e4: Waiting [2023-03-15T17:55:42.150Z] cebae2ff9f88: Waiting [2023-03-15T17:55:42.150Z] 38a13f2f8392: Waiting [2023-03-15T17:55:42.150Z] 79632185ca8e: Verifying Checksum [2023-03-15T17:55:42.150Z] 79632185ca8e: Download complete [2023-03-15T17:55:42.409Z] cd9b23e3d659: Verifying Checksum [2023-03-15T17:55:42.409Z] cd9b23e3d659: Download complete [2023-03-15T17:55:42.409Z] 79632185ca8e: Pull complete [2023-03-15T17:55:42.409Z] 96acd0207079: Download complete [2023-03-15T17:55:42.667Z] 2a9913c6de88: Download complete [2023-03-15T17:55:42.667Z] d82d65dfa3e2: Download complete [2023-03-15T17:55:42.667Z] c870b0efe7bf: Download complete [2023-03-15T17:55:42.667Z] 96acd0207079: Pull complete [2023-03-15T17:55:42.667Z] b8adaaee12a3: Verifying Checksum [2023-03-15T17:55:42.667Z] b8adaaee12a3: Download complete [2023-03-15T17:55:42.925Z] 9b72c76fa520: Verifying Checksum [2023-03-15T17:55:42.925Z] 9b72c76fa520: Download complete [2023-03-15T17:55:42.925Z] 3bd06c2449b9: Verifying Checksum [2023-03-15T17:55:42.925Z] 3bd06c2449b9: Download complete [2023-03-15T17:55:42.925Z] cebae2ff9f88: Verifying Checksum [2023-03-15T17:55:42.925Z] cebae2ff9f88: Download complete [2023-03-15T17:55:43.183Z] 38a13f2f8392: Verifying Checksum [2023-03-15T17:55:43.183Z] 38a13f2f8392: Download complete [2023-03-15T17:55:43.183Z] cd9b23e3d659: Pull complete [2023-03-15T17:55:43.442Z] 9b72c76fa520: Pull complete [2023-03-15T17:55:43.701Z] 2a9913c6de88: Pull complete [2023-03-15T17:55:43.701Z] d82d65dfa3e2: Pull complete [2023-03-15T17:55:43.701Z] 32e31cd5a8e4: Verifying Checksum [2023-03-15T17:55:43.701Z] 32e31cd5a8e4: Download complete [2023-03-15T17:55:43.701Z] c870b0efe7bf: Pull complete [2023-03-15T17:55:43.960Z] 3bd06c2449b9: Pull complete [2023-03-15T17:55:44.221Z] b8adaaee12a3: Pull complete [2023-03-15T17:55:45.156Z] 32e31cd5a8e4: Pull complete [2023-03-15T17:55:45.156Z] cebae2ff9f88: Pull complete [2023-03-15T17:55:45.156Z] 38a13f2f8392: Pull complete [2023-03-15T17:55:45.156Z] Digest: sha256:3a09aaa775e328ec0817cb9b060e68c94ccf135f290c70f8189fbf2128ecdd9c [2023-03-15T17:55:45.156Z] Status: Downloaded newer image for docker:latest [2023-03-15T17:55:46.536Z] ---> 9fb679df58eb [2023-03-15T17:55:46.536Z] 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 [2023-03-15T17:55:46.536Z] ---> Running in ba60580d3fad [2023-03-15T17:55:46.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T17:55:46.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T17:55:46.799Z] (1/26) Installing tzdata (2022f-r1) [2023-03-15T17:55:47.059Z] (2/26) Installing tcl (8.6.12-r1) [2023-03-15T17:55:47.059Z] (3/26) Installing expect (5.45.4-r3) [2023-03-15T17:55:47.059Z] (4/26) Installing libgcc (12.2.1_git20220924-r4) [2023-03-15T17:55:47.059Z] (5/26) Installing libstdc++ (12.2.1_git20220924-r4) [2023-03-15T17:55:47.059Z] (6/26) Installing binutils (2.39-r2) [2023-03-15T17:55:47.059Z] (7/26) Installing libgomp (12.2.1_git20220924-r4) [2023-03-15T17:55:47.059Z] (8/26) Installing libatomic (12.2.1_git20220924-r4) [2023-03-15T17:55:47.059Z] (9/26) Installing gmp (6.2.1-r2) [2023-03-15T17:55:47.059Z] (10/26) Installing isl25 (0.25-r0) [2023-03-15T17:55:47.059Z] (11/26) Installing mpfr4 (4.1.0-r0) [2023-03-15T17:55:47.059Z] (12/26) Installing mpc1 (1.2.1-r1) [2023-03-15T17:55:47.059Z] (13/26) Installing gcc (12.2.1_git20220924-r4) [2023-03-15T17:55:47.996Z] (14/26) Installing brotli-libs (1.0.9-r9) [2023-03-15T17:55:47.996Z] (15/26) Installing nghttp2-libs (1.51.0-r0) [2023-03-15T17:55:47.996Z] (16/26) Installing libcurl (7.88.1-r0) [2023-03-15T17:55:47.996Z] (17/26) Installing libexpat (2.5.0-r0) [2023-03-15T17:55:47.996Z] (18/26) Installing pcre2 (10.42-r0) [2023-03-15T17:55:47.996Z] (19/26) Installing git (2.38.4-r1) [2023-03-15T17:55:47.996Z] (20/26) Installing musl-dev (1.2.3-r4) [2023-03-15T17:55:47.996Z] (21/26) Installing libc-dev (0.7.2-r3) [2023-03-15T17:55:47.996Z] (22/26) Installing c-ares (1.18.1-r1) [2023-03-15T17:55:47.996Z] (23/26) Installing icu-data-en (72.1-r1) [2023-03-15T17:55:47.996Z] Executing icu-data-en-72.1-r1.post-install [2023-03-15T17:55:47.996Z] * [2023-03-15T17:55:47.996Z] * If you need ICU with non-English locales and legacy charset support, install [2023-03-15T17:55:47.996Z] * package icu-data-full. [2023-03-15T17:55:47.996Z] * [2023-03-15T17:55:47.996Z] (24/26) Installing icu-libs (72.1-r1) [2023-03-15T17:55:47.996Z] (25/26) Installing nodejs (18.14.2-r0) [2023-03-15T17:55:48.257Z] (26/26) Installing npm (9.1.2-r0) [2023-03-15T17:55:48.257Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T17:55:48.529Z] OK: 226 MiB in 42 packages [2023-03-15T17:55:48.529Z] Connecting to github.com (140.82.114.3:443) [2023-03-15T17:55:48.529Z] Connecting to github.com (140.82.114.3:443) [2023-03-15T17:55:48.787Z] Connecting to objects.githubusercontent.com (185.199.109.133:443) [2023-03-15T17:55:49.357Z] saving to '/usr/local/bin/snyk' [2023-03-15T17:55:49.617Z] snyk 94% |****************************** | 52.0M 0:00:00 ETA [2023-03-15T17:55:49.617Z] snyk 100% |********************************| 54.7M 0:00:00 ETA [2023-03-15T17:55:49.617Z] '/usr/local/bin/snyk' saved [2023-03-15T17:55:51.526Z]  [2023-03-15T17:55:51.526Z] added 23 packages in 1s [2023-03-15T17:55:51.526Z] [2023-03-15T17:55:51.526Z] 1 package is looking for funding [2023-03-15T17:55:51.526Z] run `npm fund` for details [2023-03-15T17:55:55.724Z] Removing intermediate container ba60580d3fad [2023-03-15T17:55:55.724Z] ---> 26a119e6817b [2023-03-15T17:55:55.724Z] Step 7/11 : ENV GO111MODULE=on [2023-03-15T17:55:55.724Z] ---> Running in f6af00d48551 [2023-03-15T17:55:55.724Z] Removing intermediate container f6af00d48551 [2023-03-15T17:55:55.724Z] ---> e5a8aee90329 [2023-03-15T17:55:55.724Z] Step 8/11 : ENTRYPOINT [ "snyk" ] [2023-03-15T17:55:55.724Z] ---> Running in b677a079f79a [2023-03-15T17:55:55.724Z] Removing intermediate container b677a079f79a [2023-03-15T17:55:55.724Z] ---> 1fb88bbe5e2f [2023-03-15T17:55:55.724Z] Step 9/11 : CMD [ "monitor" ] [2023-03-15T17:55:55.724Z] ---> Running in 7482d8d9f3bc [2023-03-15T17:55:55.724Z] Removing intermediate container 7482d8d9f3bc [2023-03-15T17:55:55.724Z] ---> 6710772666f8 [2023-03-15T17:55:55.724Z] Step 10/11 : LABEL arch=amd64 [2023-03-15T17:55:55.986Z] ---> Running in 6aa3bc27aed3 [2023-03-15T17:55:55.986Z] Removing intermediate container 6aa3bc27aed3 [2023-03-15T17:55:55.986Z] ---> fa2344eb6d93 [2023-03-15T17:55:55.986Z] Step 11/11 : LABEL git_sha=d167567cfa5934880242deaa35e9ef3cba280d86 [2023-03-15T17:55:55.986Z] ---> Running in 2d5d02cf7e3c [2023-03-15T17:55:55.986Z] Removing intermediate container 2d5d02cf7e3c [2023-03-15T17:55:55.986Z] ---> 0b5378027b7b [2023-03-15T17:55:55.986Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T17:55:55.986Z] Successfully built 0b5378027b7b [2023-03-15T17:55:55.986Z] 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 [2023-03-15T17:55:56.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T17:55:56.812Z] [2023-03-15T17:55:56.812Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T17:55:57.192Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T17:55:57.192Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T17:55:57.192Z] 5eb5b503b376: Pulling fs layer [2023-03-15T17:55:57.192Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T17:55:57.192Z] ec43610c2a17: Pulling fs layer [2023-03-15T17:55:57.192Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T17:55:57.192Z] 33b1e0a273af: Pulling fs layer [2023-03-15T17:55:57.192Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T17:55:57.192Z] 2f39f015ded8: Pulling fs layer [2023-03-15T17:55:57.192Z] 33b1e0a273af: Waiting [2023-03-15T17:55:57.192Z] 5d3b04190fa2: Waiting [2023-03-15T17:55:57.192Z] 3a2ae6a8a46f: Waiting [2023-03-15T17:55:57.192Z] 2f39f015ded8: Waiting [2023-03-15T17:55:57.192Z] 5c69ac0246d0: Verifying Checksum [2023-03-15T17:55:57.192Z] 5c69ac0246d0: Download complete [2023-03-15T17:55:57.192Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-15T17:55:57.192Z] 3a2ae6a8a46f: Download complete [2023-03-15T17:55:57.454Z] 33b1e0a273af: Download complete [2023-03-15T17:55:57.454Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T17:55:57.454Z] 5d3b04190fa2: Download complete [2023-03-15T17:55:57.454Z] ec43610c2a17: Verifying Checksum [2023-03-15T17:55:57.454Z] ec43610c2a17: Download complete [2023-03-15T17:55:57.454Z] 5eb5b503b376: Download complete [2023-03-15T17:55:58.021Z] 2f39f015ded8: Download complete [2023-03-15T17:55:58.588Z] 5eb5b503b376: Pull complete [2023-03-15T17:55:58.847Z] 5c69ac0246d0: Pull complete [2023-03-15T17:55:59.106Z] ec43610c2a17: Pull complete [2023-03-15T17:55:59.364Z] 3a2ae6a8a46f: Pull complete [2023-03-15T17:55:59.364Z] 33b1e0a273af: Pull complete [2023-03-15T17:55:59.622Z] 5d3b04190fa2: Pull complete [2023-03-15T17:56:03.802Z] 2f39f015ded8: Pull complete [2023-03-15T17:56:03.802Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T17:56:03.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T17:56:03.802Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T17:56:04.038Z] prd-ubuntu20.04-docker-8c-8g-2250 does not seem to be running inside a container [2023-03-15T17:56:04.072Z] $ 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-205 -v /w/workspace/exfoundry_ci-build-images_PR-205:/w/workspace/exfoundry_ci-build-images_PR-205:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-205@tmp:/w/workspace/exfoundry_ci-build-images_PR-205@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T17:56:05.553Z] $ docker top 3bd7488eb140ddca662837bcddce4f5a36bd3c9326e1203d6e2ea7737aa2c31e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T17:56:05.986Z] ---> job-cost.sh [2023-03-15T17:56:05.986Z] lf-activate-venv: SKIPPING [2023-03-15T17:56:05.986Z] INFO: No Stack... [2023-03-15T17:56:06.247Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T17:56:06.505Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T17:56:06.816Z] + cat /w/workspace/exfoundry_ci-build-images_PR-205/archives/cost.csv [2023-03-15T17:56:06.816Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T17:56:06.869Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-205-1-stack-cost] [2023-03-15T17:56:06.874Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-205-1-stack-cost] did not exist. Created. [2023-03-15T17:56:06.874Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-205-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T17:56:07.252Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T17:56:07.455Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T17:56:07.469Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-205-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T17:56:07.537Z] $ docker stop --time=1 3bd7488eb140ddca662837bcddce4f5a36bd3c9326e1203d6e2ea7737aa2c31e [2023-03-15T17:56:08.683Z] $ docker rm -f --volumes 3bd7488eb140ddca662837bcddce4f5a36bd3c9326e1203d6e2ea7737aa2c31e [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 [2023-03-15T17:56:09.854Z] + [ -d /w/workspace/exfoundry_ci-build-images_PR-205/archives ] [2023-03-15T17:56:09.854Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-205/archives [2023-03-15T17:56:09.854Z] total 16 [2023-03-15T17:56:09.854Z] drwxr-xr-x 3 root root 4096 Mar 15 17:56 . [2023-03-15T17:56:09.854Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 17:56 .. [2023-03-15T17:56:09.854Z] drwxr-xr-x 2 root root 4096 Mar 15 17:56 cost [2023-03-15T17:56:09.854Z] -rw-r--r-- 1 root root 86 Mar 15 17:56 cost.csv [2023-03-15T17:56:09.854Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-205/archives [2023-03-15T17:56:09.854Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-205/archives [2023-03-15T17:56:09.854Z] total 16 [2023-03-15T17:56:09.854Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 17:56 . [2023-03-15T17:56:09.854Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 17:56 .. [2023-03-15T17:56:09.854Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 17:56 cost [2023-03-15T17:56:09.854Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 15 17:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T17:56:10.185Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T17:56:11.078Z] ---> package-listing.sh [2023-03-15T17:56:11.078Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T17:56:11.078Z] ++ facter osfamily [2023-03-15T17:56:11.339Z] + OS_FAMILY=debian [2023-03-15T17:56:11.339Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-205 [2023-03-15T17:56:11.339Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T17:56:11.339Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T17:56:11.339Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T17:56:11.339Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T17:56:11.339Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-205 ']' [2023-03-15T17:56:11.339Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T17:56:11.339Z] + case "${OS_FAMILY}" in [2023-03-15T17:56:11.339Z] + dpkg -l [2023-03-15T17:56:11.339Z] + grep '^ii' [2023-03-15T17:56:11.339Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T17:56:11.339Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T17:56:11.339Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T17:56:11.339Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-205 ']' [2023-03-15T17:56:11.339Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-205/archives/ [2023-03-15T17:56:11.339Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-205/archives/ [Pipeline] echo [2023-03-15T17:56:11.370Z] 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-205/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-15T17:56:11.661Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T17:56:12.281Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T17:56:12.282Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T17:56:12.410Z] prd-ubuntu20.04-docker-8c-8g-2250 does not seem to be running inside a container [2023-03-15T17:56:12.444Z] $ 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-205/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-205 -v /w/workspace/exfoundry_ci-build-images_PR-205:/w/workspace/exfoundry_ci-build-images_PR-205:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-205@tmp:/w/workspace/exfoundry_ci-build-images_PR-205@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 [2023-03-15T17:56:12.670Z] $ docker top e4fe5c48b57000ab551063b61802c6b2f7fd73d5f3a5c655c426ab70b154068f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T17:56:13.050Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T17:56:13.356Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T17:56:13.662Z] + ls /var/log/sa-host [2023-03-15T17:56:13.662Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T17:56:13.870Z] provisioning config files... [2023-03-15T17:56:13.879Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-205@tmp/config14808623104913893589tmp [Pipeline] { [Pipeline] echo [2023-03-15T17:56:13.916Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T17:56:14.223Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T17:56:14.248Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T17:56:14.632Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T17:56:14.669Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T17:56:14.982Z] ---> sudo-logs.sh [2023-03-15T17:56:14.982Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T17:56:15.062Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T17:56:15.371Z] ---> job-cost.sh [2023-03-15T17:56:15.371Z] lf-activate-venv: SKIPPING [2023-03-15T17:56:15.371Z] DEBUG: total: 0.2199999988079071 [2023-03-15T17:56:15.371Z] INFO: Retrieving Stack Cost... [2023-03-15T17:56:15.371Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T17:56:15.937Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T17:56:15.973Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T17:56:16.285Z] ---> logs-deploy.sh [2023-03-15T17:56:16.286Z] lf-activate-venv: SKIPPING [2023-03-15T17:56:16.286Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-205/1 [2023-03-15T17:56:16.286Z] INFO: archiving workspace using pattern(s): [2023-03-15T17:56:17.231Z] Archives upload complete. [2023-03-15T17:56:17.491Z] INFO: archiving logs to Nexus