Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5aa5cd65e890575fed12cd4163f33c8a5bf56f4d 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-ssh12155326539755018848.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-ssh3206842724369421842.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/egp-unit-test/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/egp-unit-test/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15885259577421769192.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/egp-unit-test/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15115833923620721061.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8563074952616562200.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/egp-unit-test/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/egp-unit-test/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18435022263237591585.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 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:egp-unit-test, arch:[amd64], mavenSettings:ci-build-images-settings, dockerImageName:egp-unit-test, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[gradle], releaseBranchOverride:egp-unit-test] ========================================================= [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: egp-unit-test USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: egp-unit-test DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: egp-unit-test-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: egp-unit-test DOCKER_CUSTOM_TAGS: gradle [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-2189 in /w/workspace/ry_ci-build-images_egp-unit-test [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/ry_ci-build-images_egp-unit-test # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 5aa5cd65e890575fed12cd4163f33c8a5bf56f4d (egp-unit-test) Commit message: "Merge pull request #145 from ernestojeda/upgrade-gradle" > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5aa5cd65e890575fed12cd4163f33c8a5bf56f4d # timeout=10 > git rev-list --no-walk 5aa5cd65e890575fed12cd4163f33c8a5bf56f4d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-29T22:28:29.879Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-29T22:28:29.933Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-29T22:28:29.940Z] ========================================================= [2022-09-29T22:28:29.941Z] EdgeX Global Pipelines Version Info [2022-09-29T22:28:29.941Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:28:30.645Z] ------------------- [2022-09-29T22:28:30.645Z] stable info: [2022-09-29T22:28:30.645Z] ------------------- [2022-09-29T22:28:30.645Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-29T22:28:30.645Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-29T22:28:30.645Z] Message: update stable to v1.0.239 [2022-09-29T22:28:31.214Z] ------------------- [2022-09-29T22:28:31.214Z] experimental info: [2022-09-29T22:28:31.214Z] ------------------- [2022-09-29T22:28:31.214Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-29T22:28:31.214Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-29T22:28:31.214Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2022-09-29T22:28:31.388Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2022-09-29T22:28:31.395Z] [edgeXSetupEnvironment]: set envvar PROJECT = egp-unit-test [Pipeline] echo [2022-09-29T22:28:31.407Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2022-09-29T22:28:31.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-29T22:28:31.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-29T22:28:31.435Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = egp-unit-test [Pipeline] echo [2022-09-29T22:28:31.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2022-09-29T22:28:31.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2022-09-29T22:28:31.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2022-09-29T22:28:31.478Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-29T22:28:31.488Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2022-09-29T22:28:31.496Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = egp-unit-test-archive.tar.gz [Pipeline] echo [2022-09-29T22:28:31.513Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-29T22:28:31.523Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-29T22:28:31.534Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = egp-unit-test [Pipeline] echo [2022-09-29T22:28:31.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = gradle [Pipeline] echo [2022-09-29T22:28:31.554Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = egp-unit-test [Pipeline] echo [2022-09-29T22:28:31.564Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = egp-unit-test [Pipeline] echo [2022-09-29T22:28:31.578Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = egp-unit-test [Pipeline] echo [2022-09-29T22:28:31.587Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5aa5cd65e890575fed12cd4163f33c8a5bf56f4d [Pipeline] echo [2022-09-29T22:28:31.604Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5aa5cd6 [Pipeline] echo [2022-09-29T22:28:31.616Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-29T22:28:31.656Z] provisioning config files... [2022-09-29T22:28:31.668Z] copy managed file [ci-build-images-settings] to file:/w/workspace/ry_ci-build-images_egp-unit-test@tmp/config5082477357342039008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:28:31.971Z] ---> docker-login.sh [2022-09-29T22:28:31.971Z] nexus3.edgexfoundry.org:10001 [2022-09-29T22:28:32.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:28:32.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:28:32.231Z] Configure a credential helper to remove this warning. See [2022-09-29T22:28:32.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:28:32.231Z] [2022-09-29T22:28:32.231Z] Login Succeeded [2022-09-29T22:28:32.231Z] nexus3.edgexfoundry.org:10002 [2022-09-29T22:28:32.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:28:32.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:28:32.231Z] Configure a credential helper to remove this warning. See [2022-09-29T22:28:32.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:28:32.231Z] [2022-09-29T22:28:32.231Z] Login Succeeded [2022-09-29T22:28:32.231Z] nexus3.edgexfoundry.org:10003 [2022-09-29T22:28:32.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:28:32.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:28:32.491Z] Configure a credential helper to remove this warning. See [2022-09-29T22:28:32.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:28:32.491Z] [2022-09-29T22:28:32.491Z] Login Succeeded [2022-09-29T22:28:32.491Z] nexus3.edgexfoundry.org:10004 [2022-09-29T22:28:32.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:28:32.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:28:32.491Z] Configure a credential helper to remove this warning. See [2022-09-29T22:28:32.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:28:32.491Z] [2022-09-29T22:28:32.491Z] Login Succeeded [2022-09-29T22:28:32.491Z] docker.io [2022-09-29T22:28:32.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:28:33.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:28:33.009Z] Configure a credential helper to remove this warning. See [2022-09-29T22:28:33.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:28:33.009Z] [2022-09-29T22:28:33.009Z] Login Succeeded [2022-09-29T22:28:33.009Z] ---> docker-login.sh ends [Pipeline] } [2022-09-29T22:28:33.016Z] 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-09-29T22:28:33.275Z] provisioning config files... [Pipeline] // stage [Pipeline] } [2022-09-29T22:28:33.284Z] copy managed file [ci-build-images-settings] to file:/w/workspace/ry_ci-build-images_egp-unit-test@tmp/config2851435186874688523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:28:33.578Z] ---> docker-login.sh [2022-09-29T22:28:33.578Z] nexus3.edgexfoundry.org:10001 [2022-09-29T22:28:33.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:28:33.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:28:33.578Z] Configure a credential helper to remove this warning. See [2022-09-29T22:28:33.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:28:33.578Z] [2022-09-29T22:28:33.578Z] Login Succeeded [2022-09-29T22:28:33.578Z] nexus3.edgexfoundry.org:10002 [2022-09-29T22:28:33.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:28:33.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:28:33.578Z] Configure a credential helper to remove this warning. See [2022-09-29T22:28:33.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:28:33.578Z] [2022-09-29T22:28:33.578Z] Login Succeeded [2022-09-29T22:28:33.578Z] nexus3.edgexfoundry.org:10003 [2022-09-29T22:28:33.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:28:33.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:28:33.838Z] Configure a credential helper to remove this warning. See [2022-09-29T22:28:33.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:28:33.838Z] [2022-09-29T22:28:33.838Z] Login Succeeded [2022-09-29T22:28:33.838Z] nexus3.edgexfoundry.org:10004 [2022-09-29T22:28:33.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:28:33.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:28:33.838Z] Configure a credential helper to remove this warning. See [2022-09-29T22:28:33.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:28:33.838Z] [2022-09-29T22:28:33.838Z] Login Succeeded [2022-09-29T22:28:33.838Z] docker.io [2022-09-29T22:28:34.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T22:28:34.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T22:28:34.357Z] Configure a credential helper to remove this warning. See [2022-09-29T22:28:34.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T22:28:34.357Z] [2022-09-29T22:28:34.357Z] Login Succeeded [2022-09-29T22:28:34.357Z] ---> docker-login.sh ends [Pipeline] } [2022-09-29T22:28:34.365Z] 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-09-29T22:28:34.913Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-29T22:28:35.199Z] + ls -al . [2022-09-29T22:28:35.199Z] total 20 [2022-09-29T22:28:35.199Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 22:28 . [2022-09-29T22:28:35.199Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 22:28 .. [2022-09-29T22:28:35.199Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 22:28 .git [2022-09-29T22:28:35.199Z] -rw-rw-r-- 1 jenkins jenkins 941 Sep 29 22:28 Dockerfile [2022-09-29T22:28:35.199Z] -rw-rw-r-- 1 jenkins jenkins 904 Sep 29 22:28 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:28:35.597Z] + docker build -t edgex-devops/egp-unit-test -f Dockerfile --build-arg ARCH=amd64 --label git_sha=5aa5cd65e890575fed12cd4163f33c8a5bf56f4d --label arch=amd64 . [2022-09-29T22:28:35.597Z] Sending build context to Docker daemon 426.5kB [2022-09-29T22:28:35.597Z] Step 1/13 : FROM gradle:6.5 as builder [2022-09-29T22:28:36.168Z] 6.5: Pulling from library/gradle [2022-09-29T22:28:36.428Z] 7595c8c21622: Pulling fs layer [2022-09-29T22:28:36.428Z] d13af8ca898f: Pulling fs layer [2022-09-29T22:28:36.428Z] 70799171ddba: Pulling fs layer [2022-09-29T22:28:36.428Z] b6c12202c5ef: Pulling fs layer [2022-09-29T22:28:36.428Z] c54d424eaa66: Pulling fs layer [2022-09-29T22:28:36.428Z] 41534844af48: Pulling fs layer [2022-09-29T22:28:36.428Z] 29d2bc40c7ae: Pulling fs layer [2022-09-29T22:28:36.428Z] c54d424eaa66: Waiting [2022-09-29T22:28:36.428Z] b6c12202c5ef: Waiting [2022-09-29T22:28:36.428Z] 41534844af48: Waiting [2022-09-29T22:28:36.428Z] 5c6e01006f25: Pulling fs layer [2022-09-29T22:28:36.428Z] c5e32de1092d: Pulling fs layer [2022-09-29T22:28:36.428Z] 5c6e01006f25: Waiting [2022-09-29T22:28:36.428Z] 29d2bc40c7ae: Waiting [2022-09-29T22:28:36.428Z] c5e32de1092d: Waiting [2022-09-29T22:28:36.688Z] d13af8ca898f: Download complete [2022-09-29T22:28:36.688Z] 70799171ddba: Verifying Checksum [2022-09-29T22:28:36.688Z] 70799171ddba: Download complete [2022-09-29T22:28:36.688Z] b6c12202c5ef: Verifying Checksum [2022-09-29T22:28:36.688Z] b6c12202c5ef: Download complete [2022-09-29T22:28:36.959Z] c54d424eaa66: Verifying Checksum [2022-09-29T22:28:36.959Z] c54d424eaa66: Download complete [2022-09-29T22:28:37.222Z] 7595c8c21622: Verifying Checksum [2022-09-29T22:28:37.222Z] 7595c8c21622: Download complete [2022-09-29T22:28:37.222Z] 29d2bc40c7ae: Download complete [2022-09-29T22:28:38.181Z] 7595c8c21622: Pull complete [2022-09-29T22:28:38.181Z] d13af8ca898f: Pull complete [2022-09-29T22:28:38.181Z] 70799171ddba: Pull complete [2022-09-29T22:28:38.464Z] b6c12202c5ef: Pull complete [2022-09-29T22:28:38.722Z] 5c6e01006f25: Verifying Checksum [2022-09-29T22:28:38.722Z] 5c6e01006f25: Download complete [2022-09-29T22:28:38.983Z] c54d424eaa66: Pull complete [2022-09-29T22:28:39.578Z] c5e32de1092d: Verifying Checksum [2022-09-29T22:28:39.578Z] c5e32de1092d: Download complete [2022-09-29T22:28:39.845Z] 41534844af48: Verifying Checksum [2022-09-29T22:28:39.845Z] 41534844af48: Download complete [2022-09-29T22:28:41.223Z] 41534844af48: Pull complete [2022-09-29T22:28:41.482Z] 29d2bc40c7ae: Pull complete [2022-09-29T22:28:43.386Z] 5c6e01006f25: Pull complete [2022-09-29T22:28:43.952Z] c5e32de1092d: Pull complete [2022-09-29T22:28:43.952Z] Digest: sha256:099048dbae10d6c1ab0afb8b50e74848b9cef459e56e42e29c61112b29c5a108 [2022-09-29T22:28:43.952Z] Status: Downloaded newer image for gradle:6.5 [2022-09-29T22:28:43.952Z] ---> 09415af8f1c9 [2022-09-29T22:28:43.952Z] Step 2/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-09-29T22:28:45.331Z] ---> Running in 2ebd3c84713c [2022-09-29T22:28:45.591Z] Removing intermediate container 2ebd3c84713c [2022-09-29T22:28:45.591Z] ---> 07c47c1e91f0 [2022-09-29T22:28:45.591Z] Step 3/13 : WORKDIR /code [2022-09-29T22:28:45.591Z] ---> Running in e4409de89f58 [2022-09-29T22:28:45.591Z] Removing intermediate container e4409de89f58 [2022-09-29T22:28:45.591Z] ---> db76169b4104 [2022-09-29T22:28:45.591Z] Step 4/13 : ENV USER_GRADLE_HOME=/gradleCache [2022-09-29T22:28:45.591Z] ---> Running in 561d78bf82f0 [2022-09-29T22:28:45.851Z] Removing intermediate container 561d78bf82f0 [2022-09-29T22:28:45.851Z] ---> 2297cd4a7137 [2022-09-29T22:28:45.851Z] Step 5/13 : ARG EGP_VERSION=stable [2022-09-29T22:28:45.851Z] ---> Running in 39838a5f5032 [2022-09-29T22:28:45.851Z] Removing intermediate container 39838a5f5032 [2022-09-29T22:28:45.851Z] ---> a29e509e6502 [2022-09-29T22:28:45.851Z] Step 6/13 : ADD https://github.com/edgexfoundry/edgex-global-pipelines/archive/${EGP_VERSION}.tar.gz . [2022-09-29T22:28:46.425Z] [2022-09-29T22:28:46.425Z] [2022-09-29T22:28:46.425Z] ---> 33e76e85d341 [2022-09-29T22:28:46.425Z] Step 7/13 : RUN tar -xzf ${EGP_VERSION}.tar.gz && mv edgex-global-pipelines-${EGP_VERSION}/* . && rm -rf edgex-global-pipelines-${EGP_VERSION} && rm -rf ${EGP_VERSION}.tar.gz [2022-09-29T22:28:46.685Z] ---> Running in c4060bfae23d [2022-09-29T22:28:47.621Z] Removing intermediate container c4060bfae23d [2022-09-29T22:28:47.621Z] ---> 5fa2a6440493 [2022-09-29T22:28:47.621Z] Step 8/13 : RUN gradle -Dgradle.user.home=${USER_GRADLE_HOME} testClasses [2022-09-29T22:28:47.621Z] ---> Running in 2325032b1981 [2022-09-29T22:28:48.188Z] [2022-09-29T22:28:48.188Z] Welcome to Gradle 6.5.1! [2022-09-29T22:28:48.188Z] [2022-09-29T22:28:48.188Z] Here are the highlights of this release: [2022-09-29T22:28:48.188Z] - Experimental file-system watching [2022-09-29T22:28:48.188Z] - Improved version ordering [2022-09-29T22:28:48.188Z] - New samples [2022-09-29T22:28:48.188Z] [2022-09-29T22:28:48.188Z] For more details see https://docs.gradle.org/6.5.1/release-notes.html [2022-09-29T22:28:48.188Z] [2022-09-29T22:28:48.188Z] Starting a Gradle Daemon (subsequent builds will be faster) [2022-09-29T22:28:52.377Z] > Task :compileJava NO-SOURCE [2022-09-29T22:28:56.567Z] > Task :compileGroovy [2022-09-29T22:28:56.567Z] > Task :processResources NO-SOURCE [2022-09-29T22:28:56.567Z] > Task :classes [2022-09-29T22:28:56.567Z] > Task :compileTestJava NO-SOURCE [2022-09-29T22:28:56.567Z] > Task :copyGlobalLibVars [2022-09-29T22:29:08.784Z] > Task :compileTestGroovy [2022-09-29T22:29:08.784Z] > Task :processTestResources [2022-09-29T22:29:08.784Z] > Task :testClasses [2022-09-29T22:29:08.784Z] [2022-09-29T22:29:08.784Z] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. [2022-09-29T22:29:08.784Z] Use '--warning-mode all' to show the individual deprecation warnings. [2022-09-29T22:29:08.784Z] See https://docs.gradle.org/6.5.1/userguide/command_line_interface.html#sec:command_line_warnings [2022-09-29T22:29:08.784Z] [2022-09-29T22:29:08.784Z] BUILD SUCCESSFUL in 20s [2022-09-29T22:29:08.784Z] 4 actionable tasks: 4 executed [2022-09-29T22:29:10.687Z] Removing intermediate container 2325032b1981 [2022-09-29T22:29:10.687Z] ---> 593c7bc6fbac [2022-09-29T22:29:10.687Z] Step 9/13 : FROM gradle:6.5 [2022-09-29T22:29:10.687Z] ---> 09415af8f1c9 [2022-09-29T22:29:10.687Z] Step 10/13 : ENV USER_GRADLE_HOME=/gradleCache [2022-09-29T22:29:10.687Z] ---> Running in 556662e58dc0 [2022-09-29T22:29:10.944Z] Removing intermediate container 556662e58dc0 [2022-09-29T22:29:10.944Z] ---> b0078fd4c4c4 [2022-09-29T22:29:10.944Z] Step 11/13 : COPY --from=builder ${USER_GRADLE_HOME} ${USER_GRADLE_HOME} [2022-09-29T22:29:13.474Z] ---> eb354c89bd52 [2022-09-29T22:29:13.474Z] Step 12/13 : LABEL arch=amd64 [2022-09-29T22:29:13.474Z] ---> Running in f7134b3830d3 [2022-09-29T22:29:13.474Z] Removing intermediate container f7134b3830d3 [2022-09-29T22:29:13.474Z] ---> 09652e737cc1 [2022-09-29T22:29:13.474Z] Step 13/13 : LABEL git_sha=5aa5cd65e890575fed12cd4163f33c8a5bf56f4d [2022-09-29T22:29:13.474Z] ---> Running in a89557724623 [2022-09-29T22:29:13.474Z] Removing intermediate container a89557724623 [2022-09-29T22:29:13.474Z] ---> 05769d1a43d5 [2022-09-29T22:29:13.474Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-29T22:29:13.474Z] Successfully built 05769d1a43d5 [2022-09-29T22:29:13.474Z] Successfully tagged edgex-devops/egp-unit-test:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] echo [2022-09-29T22:29:13.566Z] [edgeXDocker.push] Tagging docker image egp-unit-test with the following tags: [2022-09-29T22:29:13.566Z] 5aa5cd65e890575fed12cd4163f33c8a5bf56f4d [2022-09-29T22:29:13.566Z] latest [2022-09-29T22:29:13.566Z] egp-unit-test [2022-09-29T22:29:13.566Z] gradle [2022-09-29T22:29:13.566Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:29:13.871Z] + docker tag edgex-devops/egp-unit-test nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:5aa5cd65e890575fed12cd4163f33c8a5bf56f4d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:29:14.173Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:5aa5cd65e890575fed12cd4163f33c8a5bf56f4d [2022-09-29T22:29:14.173Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] [2022-09-29T22:29:14.173Z] ec33a9032789: Preparing [2022-09-29T22:29:14.173Z] 10a65b8783b3: Preparing [2022-09-29T22:29:14.173Z] c78593474f47: Preparing [2022-09-29T22:29:14.173Z] 8db0402c4021: Preparing [2022-09-29T22:29:14.173Z] 23f36aae82ef: Preparing [2022-09-29T22:29:14.173Z] 60d7a9dafbc1: Preparing [2022-09-29T22:29:14.173Z] 8682f9a74649: Preparing [2022-09-29T22:29:14.173Z] d3a6da143c91: Preparing [2022-09-29T22:29:14.173Z] 83f4287e1f04: Preparing [2022-09-29T22:29:14.173Z] 7ef368776582: Preparing [2022-09-29T22:29:14.173Z] 60d7a9dafbc1: Waiting [2022-09-29T22:29:14.173Z] 8682f9a74649: Waiting [2022-09-29T22:29:14.173Z] d3a6da143c91: Waiting [2022-09-29T22:29:14.173Z] 83f4287e1f04: Waiting [2022-09-29T22:29:14.173Z] 7ef368776582: Waiting [2022-09-29T22:29:14.173Z] c78593474f47: Layer already exists [2022-09-29T22:29:14.173Z] 23f36aae82ef: Layer already exists [2022-09-29T22:29:14.173Z] 10a65b8783b3: Layer already exists [2022-09-29T22:29:14.173Z] 8db0402c4021: Layer already exists [2022-09-29T22:29:14.173Z] 60d7a9dafbc1: Layer already exists [2022-09-29T22:29:14.173Z] 8682f9a74649: Layer already exists [2022-09-29T22:29:14.173Z] 83f4287e1f04: Layer already exists [2022-09-29T22:29:14.173Z] d3a6da143c91: Layer already exists [2022-09-29T22:29:14.173Z] 7ef368776582: Layer already exists [2022-09-29T22:29:24.156Z] ec33a9032789: Pushed [2022-09-29T22:29:24.156Z] 5aa5cd65e890575fed12cd4163f33c8a5bf56f4d: digest: sha256:45a6859bcc2b91dac33a48e9875f2d7a769e7e7371b50216e9c3ab0c449f7e5a size: 2423 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:29:24.460Z] + docker tag edgex-devops/egp-unit-test nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:29:24.765Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:latest [2022-09-29T22:29:24.765Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] [2022-09-29T22:29:24.765Z] ec33a9032789: Preparing [2022-09-29T22:29:24.765Z] 10a65b8783b3: Preparing [2022-09-29T22:29:24.765Z] c78593474f47: Preparing [2022-09-29T22:29:24.765Z] 8db0402c4021: Preparing [2022-09-29T22:29:24.765Z] 23f36aae82ef: Preparing [2022-09-29T22:29:24.765Z] 60d7a9dafbc1: Preparing [2022-09-29T22:29:24.765Z] 8682f9a74649: Preparing [2022-09-29T22:29:24.765Z] d3a6da143c91: Preparing [2022-09-29T22:29:24.765Z] 83f4287e1f04: Preparing [2022-09-29T22:29:24.765Z] 7ef368776582: Preparing [2022-09-29T22:29:24.765Z] 60d7a9dafbc1: Waiting [2022-09-29T22:29:24.765Z] d3a6da143c91: Waiting [2022-09-29T22:29:24.765Z] 7ef368776582: Waiting [2022-09-29T22:29:24.765Z] 83f4287e1f04: Waiting [2022-09-29T22:29:24.765Z] 8682f9a74649: Waiting [2022-09-29T22:29:24.765Z] c78593474f47: Layer already exists [2022-09-29T22:29:24.765Z] ec33a9032789: Layer already exists [2022-09-29T22:29:24.765Z] 23f36aae82ef: Layer already exists [2022-09-29T22:29:24.765Z] 10a65b8783b3: Layer already exists [2022-09-29T22:29:24.765Z] 8db0402c4021: Layer already exists [2022-09-29T22:29:24.765Z] d3a6da143c91: Layer already exists [2022-09-29T22:29:24.765Z] 8682f9a74649: Layer already exists [2022-09-29T22:29:24.765Z] 60d7a9dafbc1: Layer already exists [2022-09-29T22:29:24.765Z] 7ef368776582: Layer already exists [2022-09-29T22:29:24.765Z] 83f4287e1f04: Layer already exists [2022-09-29T22:29:24.765Z] latest: digest: sha256:45a6859bcc2b91dac33a48e9875f2d7a769e7e7371b50216e9c3ab0c449f7e5a size: 2423 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:29:25.073Z] + docker tag edgex-devops/egp-unit-test nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:egp-unit-test [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:29:25.375Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:egp-unit-test [2022-09-29T22:29:25.376Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] [2022-09-29T22:29:25.376Z] ec33a9032789: Preparing [2022-09-29T22:29:25.376Z] 10a65b8783b3: Preparing [2022-09-29T22:29:25.376Z] c78593474f47: Preparing [2022-09-29T22:29:25.376Z] 8db0402c4021: Preparing [2022-09-29T22:29:25.376Z] 23f36aae82ef: Preparing [2022-09-29T22:29:25.376Z] 60d7a9dafbc1: Preparing [2022-09-29T22:29:25.376Z] 8682f9a74649: Preparing [2022-09-29T22:29:25.376Z] d3a6da143c91: Preparing [2022-09-29T22:29:25.376Z] 83f4287e1f04: Preparing [2022-09-29T22:29:25.376Z] 7ef368776582: Preparing [2022-09-29T22:29:25.376Z] 83f4287e1f04: Waiting [2022-09-29T22:29:25.376Z] 8682f9a74649: Waiting [2022-09-29T22:29:25.376Z] d3a6da143c91: Waiting [2022-09-29T22:29:25.376Z] 7ef368776582: Waiting [2022-09-29T22:29:25.376Z] 60d7a9dafbc1: Waiting [2022-09-29T22:29:25.376Z] ec33a9032789: Layer already exists [2022-09-29T22:29:25.376Z] 8db0402c4021: Layer already exists [2022-09-29T22:29:25.376Z] c78593474f47: Layer already exists [2022-09-29T22:29:25.376Z] 23f36aae82ef: Layer already exists [2022-09-29T22:29:25.376Z] 10a65b8783b3: Layer already exists [2022-09-29T22:29:25.376Z] 60d7a9dafbc1: Layer already exists [2022-09-29T22:29:25.376Z] 83f4287e1f04: Layer already exists [2022-09-29T22:29:25.376Z] 8682f9a74649: Layer already exists [2022-09-29T22:29:25.376Z] d3a6da143c91: Layer already exists [2022-09-29T22:29:25.376Z] 7ef368776582: Layer already exists [2022-09-29T22:29:25.376Z] egp-unit-test: digest: sha256:45a6859bcc2b91dac33a48e9875f2d7a769e7e7371b50216e9c3ab0c449f7e5a size: 2423 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:29:25.682Z] + docker tag edgex-devops/egp-unit-test nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:gradle [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:29:25.988Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:gradle [2022-09-29T22:29:25.988Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] [2022-09-29T22:29:25.988Z] ec33a9032789: Preparing [2022-09-29T22:29:25.988Z] 10a65b8783b3: Preparing [2022-09-29T22:29:25.988Z] c78593474f47: Preparing [2022-09-29T22:29:25.988Z] 8db0402c4021: Preparing [2022-09-29T22:29:25.988Z] 23f36aae82ef: Preparing [2022-09-29T22:29:25.988Z] 60d7a9dafbc1: Preparing [2022-09-29T22:29:25.988Z] 8682f9a74649: Preparing [2022-09-29T22:29:25.988Z] d3a6da143c91: Preparing [2022-09-29T22:29:25.988Z] 83f4287e1f04: Preparing [2022-09-29T22:29:25.988Z] 7ef368776582: Preparing [2022-09-29T22:29:25.988Z] 8682f9a74649: Waiting [2022-09-29T22:29:25.988Z] d3a6da143c91: Waiting [2022-09-29T22:29:25.988Z] 83f4287e1f04: Waiting [2022-09-29T22:29:25.988Z] 7ef368776582: Waiting [2022-09-29T22:29:25.988Z] 60d7a9dafbc1: Waiting [2022-09-29T22:29:25.988Z] 23f36aae82ef: Layer already exists [2022-09-29T22:29:25.988Z] 8db0402c4021: Layer already exists [2022-09-29T22:29:25.988Z] c78593474f47: Layer already exists [2022-09-29T22:29:25.988Z] 10a65b8783b3: Layer already exists [2022-09-29T22:29:25.988Z] ec33a9032789: Layer already exists [2022-09-29T22:29:25.988Z] 60d7a9dafbc1: Layer already exists [2022-09-29T22:29:25.988Z] 8682f9a74649: Layer already exists [2022-09-29T22:29:25.988Z] 83f4287e1f04: Layer already exists [2022-09-29T22:29:25.988Z] d3a6da143c91: Layer already exists [2022-09-29T22:29:25.988Z] 7ef368776582: Layer already exists [2022-09-29T22:29:25.988Z] gradle: digest: sha256:45a6859bcc2b91dac33a48e9875f2d7a769e7e7371b50216e9c3ab0c449f7e5a size: 2423 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-09-29T22:29:26.026Z] ===================================================== [Pipeline] echo [2022-09-29T22:29:26.032Z] taggedImages: [2022-09-29T22:29:26.032Z] - nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:5aa5cd65e890575fed12cd4163f33c8a5bf56f4d [2022-09-29T22:29:26.032Z] - nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:latest [2022-09-29T22:29:26.032Z] - nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:egp-unit-test [2022-09-29T22:29:26.032Z] - nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:gradle [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:29:26.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-29T22:29:26.370Z] [2022-09-29T22:29:26.370Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:29:26.664Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-29T22:29:26.664Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-29T22:29:26.664Z] 5eb5b503b376: Pulling fs layer [2022-09-29T22:29:26.664Z] 5c69ac0246d0: Pulling fs layer [2022-09-29T22:29:26.664Z] ec43610c2a17: Pulling fs layer [2022-09-29T22:29:26.664Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-29T22:29:26.664Z] 33b1e0a273af: Pulling fs layer [2022-09-29T22:29:26.664Z] 5d3b04190fa2: Pulling fs layer [2022-09-29T22:29:26.664Z] 2f39f015ded8: Pulling fs layer [2022-09-29T22:29:26.664Z] 3a2ae6a8a46f: Waiting [2022-09-29T22:29:26.664Z] 33b1e0a273af: Waiting [2022-09-29T22:29:26.664Z] 5d3b04190fa2: Waiting [2022-09-29T22:29:26.664Z] 2f39f015ded8: Waiting [2022-09-29T22:29:26.664Z] 5c69ac0246d0: Verifying Checksum [2022-09-29T22:29:26.664Z] 3a2ae6a8a46f: Download complete [2022-09-29T22:29:26.664Z] 33b1e0a273af: Verifying Checksum [2022-09-29T22:29:26.664Z] 33b1e0a273af: Download complete [2022-09-29T22:29:26.923Z] 5d3b04190fa2: Verifying Checksum [2022-09-29T22:29:26.924Z] 5d3b04190fa2: Download complete [2022-09-29T22:29:26.924Z] ec43610c2a17: Verifying Checksum [2022-09-29T22:29:26.924Z] ec43610c2a17: Download complete [2022-09-29T22:29:26.924Z] 5eb5b503b376: Verifying Checksum [2022-09-29T22:29:26.924Z] 5eb5b503b376: Download complete [2022-09-29T22:29:27.857Z] 2f39f015ded8: Download complete [2022-09-29T22:29:28.119Z] 5eb5b503b376: Pull complete [2022-09-29T22:29:28.378Z] 5c69ac0246d0: Pull complete [2022-09-29T22:29:28.641Z] ec43610c2a17: Pull complete [2022-09-29T22:29:28.641Z] 3a2ae6a8a46f: Pull complete [2022-09-29T22:29:28.900Z] 33b1e0a273af: Pull complete [2022-09-29T22:29:29.158Z] 5d3b04190fa2: Pull complete [2022-09-29T22:29:33.347Z] 2f39f015ded8: Pull complete [2022-09-29T22:29:33.347Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-29T22:29:33.347Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-29T22:29:33.347Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T22:29:33.424Z] prd-ubuntu20.04-docker-8c-8g-2189 does not seem to be running inside a container [2022-09-29T22:29:33.459Z] $ 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/ry_ci-build-images_egp-unit-test -v /w/workspace/ry_ci-build-images_egp-unit-test:/w/workspace/ry_ci-build-images_egp-unit-test:rw,z -v /w/workspace/ry_ci-build-images_egp-unit-test@tmp:/w/workspace/ry_ci-build-images_egp-unit-test@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-29T22:29:34.895Z] $ docker top 0d36b4b860daa999f0d2f99818b3f5a299fdcf647027df9611c0de43b7f70199 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:29:35.279Z] ---> job-cost.sh [2022-09-29T22:29:35.279Z] lf-activate-venv: SKIPPING [2022-09-29T22:29:35.279Z] INFO: No Stack... [2022-09-29T22:29:35.847Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-29T22:29:36.106Z] INFO: Archiving Costs [Pipeline] sh [2022-09-29T22:29:36.394Z] + cat /w/workspace/ry_ci-build-images_egp-unit-test/archives/cost.csv [2022-09-29T22:29:36.394Z] + cut -d, -f6 [Pipeline] lock [2022-09-29T22:29:36.425Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-egp-unit-test-6-stack-cost] [2022-09-29T22:29:36.430Z] Resource [jenkins-edgexfoundry-ci-build-images-egp-unit-test-6-stack-cost] did not exist. Created. [2022-09-29T22:29:36.430Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-egp-unit-test-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-29T22:29:36.726Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-29T22:29:36.885Z] Stashed 1 file(s) [Pipeline] } [2022-09-29T22:29:36.891Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-egp-unit-test-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-29T22:29:36.907Z] $ docker stop --time=1 0d36b4b860daa999f0d2f99818b3f5a299fdcf647027df9611c0de43b7f70199 [2022-09-29T22:29:38.072Z] $ docker rm -f 0d36b4b860daa999f0d2f99818b3f5a299fdcf647027df9611c0de43b7f70199 [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-09-29T22:29:38.581Z] + [ -d /w/workspace/ry_ci-build-images_egp-unit-test/archives ] [2022-09-29T22:29:38.581Z] + ls -al /w/workspace/ry_ci-build-images_egp-unit-test/archives [2022-09-29T22:29:38.581Z] total 16 [2022-09-29T22:29:38.581Z] drwxr-xr-x 3 root root 4096 Sep 29 22:29 . [2022-09-29T22:29:38.581Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 22:29 .. [2022-09-29T22:29:38.581Z] drwxr-xr-x 2 root root 4096 Sep 29 22:29 cost [2022-09-29T22:29:38.581Z] -rw-r--r-- 1 root root 94 Sep 29 22:29 cost.csv [2022-09-29T22:29:38.581Z] + sudo chown -R jenkins:jenkins /w/workspace/ry_ci-build-images_egp-unit-test/archives [2022-09-29T22:29:38.581Z] + ls -al /w/workspace/ry_ci-build-images_egp-unit-test/archives [2022-09-29T22:29:38.581Z] total 16 [2022-09-29T22:29:38.581Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 22:29 . [2022-09-29T22:29:38.581Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 22:29 .. [2022-09-29T22:29:38.581Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 29 22:29 cost [2022-09-29T22:29:38.581Z] -rw-r--r-- 1 jenkins jenkins 94 Sep 29 22:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:29:38.873Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:29:39.736Z] ---> package-listing.sh [2022-09-29T22:29:39.736Z] ++ facter osfamily [2022-09-29T22:29:39.736Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-29T22:29:39.997Z] + OS_FAMILY=debian [2022-09-29T22:29:39.997Z] + workspace=/w/workspace/ry_ci-build-images_egp-unit-test [2022-09-29T22:29:39.997Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-29T22:29:39.997Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-29T22:29:39.997Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-29T22:29:39.997Z] + PACKAGES=/tmp/packages_start.txt [2022-09-29T22:29:39.997Z] + '[' /w/workspace/ry_ci-build-images_egp-unit-test ']' [2022-09-29T22:29:39.997Z] + PACKAGES=/tmp/packages_end.txt [2022-09-29T22:29:39.997Z] + case "${OS_FAMILY}" in [2022-09-29T22:29:39.997Z] + dpkg -l [2022-09-29T22:29:39.997Z] + grep '^ii' [2022-09-29T22:29:39.997Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-29T22:29:39.997Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-29T22:29:39.997Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-29T22:29:39.997Z] + '[' /w/workspace/ry_ci-build-images_egp-unit-test ']' [2022-09-29T22:29:39.997Z] + mkdir -p /w/workspace/ry_ci-build-images_egp-unit-test/archives/ [2022-09-29T22:29:39.997Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_ci-build-images_egp-unit-test/archives/ [Pipeline] echo [2022-09-29T22:29:40.007Z] 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/ry_ci-build-images_egp-unit-test/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-29T22:29:40.284Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T22:29:40.839Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-29T22:29:40.839Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T22:29:40.900Z] prd-ubuntu20.04-docker-8c-8g-2189 does not seem to be running inside a container [2022-09-29T22:29:40.929Z] $ 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/ry_ci-build-images_egp-unit-test/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_ci-build-images_egp-unit-test -v /w/workspace/ry_ci-build-images_egp-unit-test:/w/workspace/ry_ci-build-images_egp-unit-test:rw,z -v /w/workspace/ry_ci-build-images_egp-unit-test@tmp:/w/workspace/ry_ci-build-images_egp-unit-test@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-29T22:29:41.141Z] $ docker top 86282cfbf30b2fea3ecc51fd45de53d21134ab1850f61c85ef807f0a7b9a4c37 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-29T22:29:41.471Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-29T22:29:41.756Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-29T22:29:42.041Z] + ls /var/log/sa-host [2022-09-29T22:29:42.041Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-29T22:29:42.097Z] provisioning config files... [2022-09-29T22:29:42.105Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_ci-build-images_egp-unit-test@tmp/config14491102669061662497tmp [Pipeline] { [Pipeline] echo [2022-09-29T22:29:42.120Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:29:42.402Z] ---> create-netrc.sh [Pipeline] } [2022-09-29T22:29:42.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:29:42.718Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-29T22:29:42.726Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:29:43.008Z] ---> sudo-logs.sh [2022-09-29T22:29:43.008Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-29T22:29:43.047Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:29:43.326Z] ---> job-cost.sh [2022-09-29T22:29:43.326Z] lf-activate-venv: SKIPPING [2022-09-29T22:29:43.326Z] DEBUG: total: 0.2199999988079071 [2022-09-29T22:29:43.326Z] INFO: Retrieving Stack Cost... [2022-09-29T22:29:43.326Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-29T22:29:43.894Z] INFO: Archiving Costs [Pipeline] echo [2022-09-29T22:29:43.903Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T22:29:44.183Z] ---> logs-deploy.sh [2022-09-29T22:29:44.184Z] lf-activate-venv: SKIPPING [2022-09-29T22:29:44.184Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/egp-unit-test/6 [2022-09-29T22:29:44.184Z] INFO: archiving workspace using pattern(s): [2022-09-29T22:29:45.120Z] Archives upload complete. [2022-09-29T22:29:45.120Z] INFO: archiving logs to Nexus