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-ssh898262092380110224.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh7156018102832835084.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/egp-unit-test/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/egp-unit-test/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13231704142000256888.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh14933080544563954596.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines # 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/lf-pipelines@tmp/jenkins-gitclient-ssh11230358799457384285.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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 Running on prd-ubuntu20.04-docker-8c-8g-21797 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 > 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) > 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 Commit message: "Merge pull request #145 from ernestojeda/upgrade-gradle" > git rev-list --no-walk 5aa5cd65e890575fed12cd4163f33c8a5bf56f4d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-22T16:03:31.402Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-22T16:03:31.447Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-22T16:03:31.462Z] ========================================================= [2022-04-22T16:03:31.462Z] EdgeX Global Pipelines Version Info [2022-04-22T16:03:31.462Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:03:32.601Z] ------------------- [2022-04-22T16:03:32.601Z] stable info: [2022-04-22T16:03:32.601Z] ------------------- [2022-04-22T16:03:32.601Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T16:03:32.601Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-22T16:03:32.601Z] Message: update stable to v1.0.221 [2022-04-22T16:03:33.174Z] ------------------- [2022-04-22T16:03:33.174Z] experimental info: [2022-04-22T16:03:33.174Z] ------------------- [2022-04-22T16:03:33.174Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T16:03:33.174Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-22T16:03:33.174Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2022-04-22T16:03:33.298Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2022-04-22T16:03:33.305Z] [edgeXSetupEnvironment]: set envvar PROJECT = egp-unit-test [Pipeline] echo [2022-04-22T16:03:33.311Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2022-04-22T16:03:33.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-22T16:03:33.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-22T16:03:33.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = egp-unit-test [Pipeline] echo [2022-04-22T16:03:33.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2022-04-22T16:03:33.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2022-04-22T16:03:33.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2022-04-22T16:03:33.356Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-22T16:03:33.362Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2022-04-22T16:03:33.368Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = egp-unit-test-archive.tar.gz [Pipeline] echo [2022-04-22T16:03:33.375Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-22T16:03:33.381Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-22T16:03:33.387Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = egp-unit-test [Pipeline] echo [2022-04-22T16:03:33.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = gradle [Pipeline] echo [2022-04-22T16:03:33.409Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = egp-unit-test [Pipeline] echo [2022-04-22T16:03:33.419Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = egp-unit-test [Pipeline] echo [2022-04-22T16:03:33.428Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = egp-unit-test [Pipeline] echo [2022-04-22T16:03:33.437Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5aa5cd65e890575fed12cd4163f33c8a5bf56f4d [Pipeline] echo [2022-04-22T16:03:33.446Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5aa5cd6 [Pipeline] echo [2022-04-22T16:03:33.455Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T16:03:33.493Z] provisioning config files... [2022-04-22T16:03:33.508Z] copy managed file [ci-build-images-settings] to file:/w/workspace/ry_ci-build-images_egp-unit-test@tmp/config3880821501410873651tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:03:33.811Z] ---> docker-login.sh [2022-04-22T16:03:33.811Z] nexus3.edgexfoundry.org:10001 [2022-04-22T16:03:34.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:03:34.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:03:34.335Z] Configure a credential helper to remove this warning. See [2022-04-22T16:03:34.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:03:34.335Z] [2022-04-22T16:03:34.335Z] Login Succeeded [2022-04-22T16:03:34.335Z] nexus3.edgexfoundry.org:10002 [2022-04-22T16:03:34.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:03:34.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:03:34.335Z] Configure a credential helper to remove this warning. See [2022-04-22T16:03:34.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:03:34.335Z] [2022-04-22T16:03:34.335Z] Login Succeeded [2022-04-22T16:03:34.335Z] nexus3.edgexfoundry.org:10003 [2022-04-22T16:03:34.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:03:34.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:03:34.596Z] Configure a credential helper to remove this warning. See [2022-04-22T16:03:34.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:03:34.596Z] [2022-04-22T16:03:34.596Z] Login Succeeded [2022-04-22T16:03:34.596Z] nexus3.edgexfoundry.org:10004 [2022-04-22T16:03:34.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:03:34.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:03:34.596Z] Configure a credential helper to remove this warning. See [2022-04-22T16:03:34.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:03:34.596Z] [2022-04-22T16:03:34.596Z] Login Succeeded [2022-04-22T16:03:34.596Z] docker.io [2022-04-22T16:03:34.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:03:35.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:03:35.120Z] Configure a credential helper to remove this warning. See [2022-04-22T16:03:35.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:03:35.120Z] [2022-04-22T16:03:35.120Z] Login Succeeded [2022-04-22T16:03:35.120Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T16:03:35.208Z] 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-04-22T16:03:35.451Z] provisioning config files... [Pipeline] // stage [Pipeline] } [2022-04-22T16:03:35.464Z] copy managed file [ci-build-images-settings] to file:/w/workspace/ry_ci-build-images_egp-unit-test@tmp/config8298203474665562571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:03:35.769Z] ---> docker-login.sh [2022-04-22T16:03:35.769Z] nexus3.edgexfoundry.org:10001 [2022-04-22T16:03:35.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:03:35.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:03:35.769Z] Configure a credential helper to remove this warning. See [2022-04-22T16:03:35.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:03:35.769Z] [2022-04-22T16:03:35.769Z] Login Succeeded [2022-04-22T16:03:35.769Z] nexus3.edgexfoundry.org:10002 [2022-04-22T16:03:35.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:03:36.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:03:36.032Z] Configure a credential helper to remove this warning. See [2022-04-22T16:03:36.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:03:36.032Z] [2022-04-22T16:03:36.032Z] Login Succeeded [2022-04-22T16:03:36.032Z] nexus3.edgexfoundry.org:10003 [2022-04-22T16:03:36.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:03:36.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:03:36.032Z] Configure a credential helper to remove this warning. See [2022-04-22T16:03:36.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:03:36.032Z] [2022-04-22T16:03:36.032Z] Login Succeeded [2022-04-22T16:03:36.032Z] nexus3.edgexfoundry.org:10004 [2022-04-22T16:03:36.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:03:36.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:03:36.293Z] Configure a credential helper to remove this warning. See [2022-04-22T16:03:36.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:03:36.293Z] [2022-04-22T16:03:36.293Z] Login Succeeded [2022-04-22T16:03:36.293Z] docker.io [2022-04-22T16:03:36.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:03:36.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:03:36.553Z] Configure a credential helper to remove this warning. See [2022-04-22T16:03:36.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:03:36.553Z] [2022-04-22T16:03:36.553Z] Login Succeeded [2022-04-22T16:03:36.553Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T16:03:36.562Z] 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-04-22T16:03:37.201Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-22T16:03:37.492Z] + ls -al . [2022-04-22T16:03:37.492Z] total 20 [2022-04-22T16:03:37.492Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 16:03 . [2022-04-22T16:03:37.492Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 16:03 .. [2022-04-22T16:03:37.492Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 16:03 .git [2022-04-22T16:03:37.492Z] -rw-rw-r-- 1 jenkins jenkins 941 Apr 22 16:03 Dockerfile [2022-04-22T16:03:37.492Z] -rw-rw-r-- 1 jenkins jenkins 904 Apr 22 16:03 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:03:37.839Z] + docker build -t edgex-devops/egp-unit-test -f Dockerfile --build-arg ARCH=amd64 --label git_sha=5aa5cd65e890575fed12cd4163f33c8a5bf56f4d --label arch=amd64 . [2022-04-22T16:03:37.839Z] Sending build context to Docker daemon 411.1kB [2022-04-22T16:03:37.839Z] Step 1/13 : FROM gradle:6.5 as builder [2022-04-22T16:03:38.409Z] 6.5: Pulling from library/gradle [2022-04-22T16:03:38.670Z] 7595c8c21622: Pulling fs layer [2022-04-22T16:03:38.670Z] d13af8ca898f: Pulling fs layer [2022-04-22T16:03:38.670Z] 70799171ddba: Pulling fs layer [2022-04-22T16:03:38.670Z] b6c12202c5ef: Pulling fs layer [2022-04-22T16:03:38.670Z] c54d424eaa66: Pulling fs layer [2022-04-22T16:03:38.670Z] b6c12202c5ef: Waiting [2022-04-22T16:03:38.670Z] 41534844af48: Pulling fs layer [2022-04-22T16:03:38.670Z] 41534844af48: Waiting [2022-04-22T16:03:38.670Z] 29d2bc40c7ae: Pulling fs layer [2022-04-22T16:03:38.670Z] 5c6e01006f25: Pulling fs layer [2022-04-22T16:03:38.670Z] c5e32de1092d: Pulling fs layer [2022-04-22T16:03:38.670Z] c5e32de1092d: Waiting [2022-04-22T16:03:38.670Z] 5c6e01006f25: Waiting [2022-04-22T16:03:38.670Z] 29d2bc40c7ae: Waiting [2022-04-22T16:03:38.670Z] 70799171ddba: Download complete [2022-04-22T16:03:38.670Z] d13af8ca898f: Download complete [2022-04-22T16:03:38.930Z] b6c12202c5ef: Verifying Checksum [2022-04-22T16:03:38.930Z] b6c12202c5ef: Download complete [2022-04-22T16:03:38.930Z] 7595c8c21622: Verifying Checksum [2022-04-22T16:03:38.930Z] 7595c8c21622: Download complete [2022-04-22T16:03:39.189Z] c54d424eaa66: Verifying Checksum [2022-04-22T16:03:39.189Z] c54d424eaa66: Download complete [2022-04-22T16:03:39.189Z] 29d2bc40c7ae: Verifying Checksum [2022-04-22T16:03:39.189Z] 29d2bc40c7ae: Download complete [2022-04-22T16:03:40.131Z] 7595c8c21622: Pull complete [2022-04-22T16:03:40.131Z] 5c6e01006f25: Verifying Checksum [2022-04-22T16:03:40.131Z] 5c6e01006f25: Download complete [2022-04-22T16:03:40.131Z] d13af8ca898f: Pull complete [2022-04-22T16:03:40.131Z] 70799171ddba: Pull complete [2022-04-22T16:03:40.391Z] b6c12202c5ef: Pull complete [2022-04-22T16:03:40.392Z] 41534844af48: Download complete [2022-04-22T16:03:40.651Z] c5e32de1092d: Verifying Checksum [2022-04-22T16:03:40.652Z] c5e32de1092d: Download complete [2022-04-22T16:03:40.912Z] c54d424eaa66: Pull complete [2022-04-22T16:03:42.295Z] 41534844af48: Pull complete [2022-04-22T16:03:42.555Z] 29d2bc40c7ae: Pull complete [2022-04-22T16:03:45.097Z] 5c6e01006f25: Pull complete [2022-04-22T16:03:45.668Z] c5e32de1092d: Pull complete [2022-04-22T16:03:45.929Z] Digest: sha256:099048dbae10d6c1ab0afb8b50e74848b9cef459e56e42e29c61112b29c5a108 [2022-04-22T16:03:45.929Z] Status: Downloaded newer image for gradle:6.5 [2022-04-22T16:03:45.929Z] ---> 09415af8f1c9 [2022-04-22T16:03:45.929Z] Step 2/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T16:04:07.900Z] ---> Running in 76c4bedaf88b [2022-04-22T16:04:07.900Z] Removing intermediate container 76c4bedaf88b [2022-04-22T16:04:07.900Z] ---> 7ab86db0ac47 [2022-04-22T16:04:07.900Z] Step 3/13 : WORKDIR /code [2022-04-22T16:04:07.900Z] ---> Running in 7a3bb5adb437 [2022-04-22T16:04:07.900Z] Removing intermediate container 7a3bb5adb437 [2022-04-22T16:04:07.900Z] ---> f50e7c399a19 [2022-04-22T16:04:07.900Z] Step 4/13 : ENV USER_GRADLE_HOME=/gradleCache [2022-04-22T16:04:07.900Z] ---> Running in 85a885641120 [2022-04-22T16:04:07.900Z] Removing intermediate container 85a885641120 [2022-04-22T16:04:07.900Z] ---> 15615c20aba2 [2022-04-22T16:04:07.900Z] Step 5/13 : ARG EGP_VERSION=stable [2022-04-22T16:04:07.900Z] ---> Running in 7c0791453bff [2022-04-22T16:04:07.900Z] Removing intermediate container 7c0791453bff [2022-04-22T16:04:07.900Z] ---> 9f4f12c6b95c [2022-04-22T16:04:07.900Z] Step 6/13 : ADD https://github.com/edgexfoundry/edgex-global-pipelines/archive/${EGP_VERSION}.tar.gz . [2022-04-22T16:04:07.900Z] [2022-04-22T16:04:07.900Z] [2022-04-22T16:04:07.900Z] ---> 0eec48ed3d27 [2022-04-22T16:04:07.900Z] 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-04-22T16:04:07.900Z] ---> Running in 5fcad38d061e [2022-04-22T16:04:08.846Z] Removing intermediate container 5fcad38d061e [2022-04-22T16:04:08.846Z] ---> a26f932f91fc [2022-04-22T16:04:08.846Z] Step 8/13 : RUN gradle -Dgradle.user.home=${USER_GRADLE_HOME} testClasses [2022-04-22T16:04:08.846Z] ---> Running in b4d1c8dfdc3b [2022-04-22T16:04:09.416Z] [2022-04-22T16:04:09.416Z] Welcome to Gradle 6.5.1! [2022-04-22T16:04:09.416Z] [2022-04-22T16:04:09.416Z] Here are the highlights of this release: [2022-04-22T16:04:09.416Z] - Experimental file-system watching [2022-04-22T16:04:09.416Z] - Improved version ordering [2022-04-22T16:04:09.416Z] - New samples [2022-04-22T16:04:09.416Z] [2022-04-22T16:04:09.416Z] For more details see https://docs.gradle.org/6.5.1/release-notes.html [2022-04-22T16:04:09.416Z] [2022-04-22T16:04:09.678Z] Starting a Gradle Daemon (subsequent builds will be faster) [2022-04-22T16:04:12.982Z] > Task :compileJava NO-SOURCE [2022-04-22T16:04:17.178Z] > Task :compileGroovy [2022-04-22T16:04:17.178Z] > Task :processResources NO-SOURCE [2022-04-22T16:04:17.178Z] > Task :classes [2022-04-22T16:04:17.178Z] > Task :compileTestJava NO-SOURCE [2022-04-22T16:04:17.178Z] > Task :copyGlobalLibVars [2022-04-22T16:04:29.400Z] > Task :compileTestGroovy [2022-04-22T16:04:29.400Z] > Task :processTestResources [2022-04-22T16:04:29.400Z] > Task :testClasses [2022-04-22T16:04:29.400Z] [2022-04-22T16:04:29.400Z] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. [2022-04-22T16:04:29.400Z] Use '--warning-mode all' to show the individual deprecation warnings. [2022-04-22T16:04:29.400Z] See https://docs.gradle.org/6.5.1/userguide/command_line_interface.html#sec:command_line_warnings [2022-04-22T16:04:29.400Z] [2022-04-22T16:04:29.400Z] BUILD SUCCESSFUL in 18s [2022-04-22T16:04:29.400Z] 4 actionable tasks: 4 executed [2022-04-22T16:04:30.784Z] Removing intermediate container b4d1c8dfdc3b [2022-04-22T16:04:30.784Z] ---> cfd1418cf56e [2022-04-22T16:04:30.784Z] Step 9/13 : FROM gradle:6.5 [2022-04-22T16:04:30.784Z] ---> 09415af8f1c9 [2022-04-22T16:04:30.784Z] Step 10/13 : ENV USER_GRADLE_HOME=/gradleCache [2022-04-22T16:04:30.784Z] ---> Running in 1fc93a7422d4 [2022-04-22T16:04:31.044Z] Removing intermediate container 1fc93a7422d4 [2022-04-22T16:04:31.044Z] ---> 4dd24d050fda [2022-04-22T16:04:31.044Z] Step 11/13 : COPY --from=builder ${USER_GRADLE_HOME} ${USER_GRADLE_HOME} [2022-04-22T16:04:34.349Z] ---> 80b4d353a62d [2022-04-22T16:04:34.349Z] Step 12/13 : LABEL arch=amd64 [2022-04-22T16:04:34.349Z] ---> Running in a40aa0d21fb4 [2022-04-22T16:04:34.349Z] Removing intermediate container a40aa0d21fb4 [2022-04-22T16:04:34.349Z] ---> f2b3466ff5e3 [2022-04-22T16:04:34.349Z] Step 13/13 : LABEL git_sha=5aa5cd65e890575fed12cd4163f33c8a5bf56f4d [2022-04-22T16:04:34.610Z] ---> Running in 3b882f033651 [2022-04-22T16:04:34.610Z] Removing intermediate container 3b882f033651 [2022-04-22T16:04:34.610Z] ---> 12c88197f830 [2022-04-22T16:04:34.610Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-22T16:04:34.610Z] Successfully built 12c88197f830 [2022-04-22T16:04:34.610Z] Successfully tagged edgex-devops/egp-unit-test:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] echo [2022-04-22T16:04:34.708Z] [edgeXDocker.push] Tagging docker image egp-unit-test with the following tags: [2022-04-22T16:04:34.708Z] 5aa5cd65e890575fed12cd4163f33c8a5bf56f4d [2022-04-22T16:04:34.708Z] latest [2022-04-22T16:04:34.708Z] egp-unit-test [2022-04-22T16:04:34.708Z] gradle [2022-04-22T16:04:34.708Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:04:35.014Z] + docker tag edgex-devops/egp-unit-test nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:5aa5cd65e890575fed12cd4163f33c8a5bf56f4d [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:04:35.304Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:5aa5cd65e890575fed12cd4163f33c8a5bf56f4d [2022-04-22T16:04:35.304Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] [2022-04-22T16:04:35.304Z] 6cf5109d730a: Preparing [2022-04-22T16:04:35.304Z] 10a65b8783b3: Preparing [2022-04-22T16:04:35.304Z] c78593474f47: Preparing [2022-04-22T16:04:35.304Z] 8db0402c4021: Preparing [2022-04-22T16:04:35.304Z] 23f36aae82ef: Preparing [2022-04-22T16:04:35.304Z] 60d7a9dafbc1: Preparing [2022-04-22T16:04:35.304Z] 8682f9a74649: Preparing [2022-04-22T16:04:35.304Z] d3a6da143c91: Preparing [2022-04-22T16:04:35.304Z] 83f4287e1f04: Preparing [2022-04-22T16:04:35.304Z] 7ef368776582: Preparing [2022-04-22T16:04:35.304Z] 8682f9a74649: Waiting [2022-04-22T16:04:35.304Z] d3a6da143c91: Waiting [2022-04-22T16:04:35.304Z] 83f4287e1f04: Waiting [2022-04-22T16:04:35.304Z] 7ef368776582: Waiting [2022-04-22T16:04:35.304Z] 60d7a9dafbc1: Waiting [2022-04-22T16:04:35.304Z] c78593474f47: Layer already exists [2022-04-22T16:04:35.304Z] 10a65b8783b3: Layer already exists [2022-04-22T16:04:35.304Z] 8db0402c4021: Layer already exists [2022-04-22T16:04:35.304Z] 23f36aae82ef: Layer already exists [2022-04-22T16:04:35.304Z] 60d7a9dafbc1: Layer already exists [2022-04-22T16:04:35.304Z] 8682f9a74649: Layer already exists [2022-04-22T16:04:35.304Z] d3a6da143c91: Layer already exists [2022-04-22T16:04:35.304Z] 83f4287e1f04: Layer already exists [2022-04-22T16:04:35.304Z] 7ef368776582: Layer already exists [2022-04-22T16:04:43.439Z] 6cf5109d730a: Pushed [2022-04-22T16:04:43.439Z] 5aa5cd65e890575fed12cd4163f33c8a5bf56f4d: digest: sha256:d4b5a4bf1a759132096d228eee38c4c22b67a3a9b1ac5564fd91ad310f67cb02 size: 2423 [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:04:43.735Z] + docker tag edgex-devops/egp-unit-test nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:04:44.031Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:latest [2022-04-22T16:04:44.031Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] [2022-04-22T16:04:44.031Z] 6cf5109d730a: Preparing [2022-04-22T16:04:44.031Z] 10a65b8783b3: Preparing [2022-04-22T16:04:44.031Z] c78593474f47: Preparing [2022-04-22T16:04:44.031Z] 8db0402c4021: Preparing [2022-04-22T16:04:44.031Z] 23f36aae82ef: Preparing [2022-04-22T16:04:44.031Z] 60d7a9dafbc1: Preparing [2022-04-22T16:04:44.031Z] 8682f9a74649: Preparing [2022-04-22T16:04:44.031Z] d3a6da143c91: Preparing [2022-04-22T16:04:44.031Z] 83f4287e1f04: Preparing [2022-04-22T16:04:44.031Z] 7ef368776582: Preparing [2022-04-22T16:04:44.031Z] d3a6da143c91: Waiting [2022-04-22T16:04:44.031Z] 83f4287e1f04: Waiting [2022-04-22T16:04:44.031Z] 8682f9a74649: Waiting [2022-04-22T16:04:44.031Z] 8db0402c4021: Layer already exists [2022-04-22T16:04:44.031Z] 6cf5109d730a: Layer already exists [2022-04-22T16:04:44.031Z] c78593474f47: Layer already exists [2022-04-22T16:04:44.031Z] 23f36aae82ef: Layer already exists [2022-04-22T16:04:44.031Z] 10a65b8783b3: Layer already exists [2022-04-22T16:04:44.031Z] 8682f9a74649: Layer already exists [2022-04-22T16:04:44.031Z] 60d7a9dafbc1: Layer already exists [2022-04-22T16:04:44.031Z] 83f4287e1f04: Layer already exists [2022-04-22T16:04:44.031Z] 7ef368776582: Layer already exists [2022-04-22T16:04:44.031Z] d3a6da143c91: Layer already exists [2022-04-22T16:04:44.031Z] latest: digest: sha256:d4b5a4bf1a759132096d228eee38c4c22b67a3a9b1ac5564fd91ad310f67cb02 size: 2423 [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:04:44.334Z] + docker tag edgex-devops/egp-unit-test nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:egp-unit-test [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:04:44.627Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:egp-unit-test [2022-04-22T16:04:44.627Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] [2022-04-22T16:04:44.627Z] 6cf5109d730a: Preparing [2022-04-22T16:04:44.627Z] 10a65b8783b3: Preparing [2022-04-22T16:04:44.627Z] c78593474f47: Preparing [2022-04-22T16:04:44.627Z] 8db0402c4021: Preparing [2022-04-22T16:04:44.627Z] 23f36aae82ef: Preparing [2022-04-22T16:04:44.627Z] 60d7a9dafbc1: Preparing [2022-04-22T16:04:44.627Z] 8682f9a74649: Preparing [2022-04-22T16:04:44.627Z] d3a6da143c91: Preparing [2022-04-22T16:04:44.627Z] 83f4287e1f04: Preparing [2022-04-22T16:04:44.627Z] 7ef368776582: Preparing [2022-04-22T16:04:44.627Z] 60d7a9dafbc1: Waiting [2022-04-22T16:04:44.627Z] 83f4287e1f04: Waiting [2022-04-22T16:04:44.627Z] 7ef368776582: Waiting [2022-04-22T16:04:44.627Z] 8682f9a74649: Waiting [2022-04-22T16:04:44.627Z] d3a6da143c91: Waiting [2022-04-22T16:04:44.627Z] 23f36aae82ef: Layer already exists [2022-04-22T16:04:44.627Z] 8db0402c4021: Layer already exists [2022-04-22T16:04:44.627Z] 10a65b8783b3: Layer already exists [2022-04-22T16:04:44.627Z] 6cf5109d730a: Layer already exists [2022-04-22T16:04:44.627Z] c78593474f47: Layer already exists [2022-04-22T16:04:44.627Z] 60d7a9dafbc1: Layer already exists [2022-04-22T16:04:44.627Z] 8682f9a74649: Layer already exists [2022-04-22T16:04:44.627Z] d3a6da143c91: Layer already exists [2022-04-22T16:04:44.627Z] 7ef368776582: Layer already exists [2022-04-22T16:04:44.627Z] 83f4287e1f04: Layer already exists [2022-04-22T16:04:44.627Z] egp-unit-test: digest: sha256:d4b5a4bf1a759132096d228eee38c4c22b67a3a9b1ac5564fd91ad310f67cb02 size: 2423 [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:04:44.924Z] + docker tag edgex-devops/egp-unit-test nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:gradle [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:04:45.214Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:gradle [2022-04-22T16:04:45.214Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] [2022-04-22T16:04:45.214Z] 6cf5109d730a: Preparing [2022-04-22T16:04:45.214Z] 10a65b8783b3: Preparing [2022-04-22T16:04:45.214Z] c78593474f47: Preparing [2022-04-22T16:04:45.214Z] 8db0402c4021: Preparing [2022-04-22T16:04:45.214Z] 23f36aae82ef: Preparing [2022-04-22T16:04:45.215Z] 60d7a9dafbc1: Preparing [2022-04-22T16:04:45.215Z] 8682f9a74649: Preparing [2022-04-22T16:04:45.215Z] d3a6da143c91: Preparing [2022-04-22T16:04:45.215Z] 83f4287e1f04: Preparing [2022-04-22T16:04:45.215Z] 7ef368776582: Preparing [2022-04-22T16:04:45.215Z] 60d7a9dafbc1: Waiting [2022-04-22T16:04:45.215Z] 8682f9a74649: Waiting [2022-04-22T16:04:45.215Z] d3a6da143c91: Waiting [2022-04-22T16:04:45.215Z] 83f4287e1f04: Waiting [2022-04-22T16:04:45.215Z] 7ef368776582: Waiting [2022-04-22T16:04:45.215Z] 8db0402c4021: Layer already exists [2022-04-22T16:04:45.215Z] 23f36aae82ef: Layer already exists [2022-04-22T16:04:45.215Z] 6cf5109d730a: Layer already exists [2022-04-22T16:04:45.215Z] c78593474f47: Layer already exists [2022-04-22T16:04:45.215Z] 10a65b8783b3: Layer already exists [2022-04-22T16:04:45.215Z] 60d7a9dafbc1: Layer already exists [2022-04-22T16:04:45.215Z] d3a6da143c91: Layer already exists [2022-04-22T16:04:45.215Z] 8682f9a74649: Layer already exists [2022-04-22T16:04:45.215Z] 7ef368776582: Layer already exists [2022-04-22T16:04:45.215Z] 83f4287e1f04: Layer already exists [2022-04-22T16:04:45.215Z] gradle: digest: sha256:d4b5a4bf1a759132096d228eee38c4c22b67a3a9b1ac5564fd91ad310f67cb02 size: 2423 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-22T16:04:45.247Z] ===================================================== [Pipeline] echo [2022-04-22T16:04:45.252Z] taggedImages: [2022-04-22T16:04:45.252Z] - nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:5aa5cd65e890575fed12cd4163f33c8a5bf56f4d [2022-04-22T16:04:45.252Z] - nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:latest [2022-04-22T16:04:45.252Z] - nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:egp-unit-test [2022-04-22T16:04:45.252Z] - 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] sh [2022-04-22T16:04:45.660Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T16:04:45.660Z] [2022-04-22T16:04:45.660Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:04:45.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T16:04:45.965Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-22T16:04:45.965Z] 5eb5b503b376: Pulling fs layer [2022-04-22T16:04:45.965Z] 5c69ac0246d0: Pulling fs layer [2022-04-22T16:04:45.965Z] ec43610c2a17: Pulling fs layer [2022-04-22T16:04:45.965Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-22T16:04:45.965Z] 33b1e0a273af: Pulling fs layer [2022-04-22T16:04:45.965Z] 5d3b04190fa2: Pulling fs layer [2022-04-22T16:04:45.965Z] 2f39f015ded8: Pulling fs layer [2022-04-22T16:04:45.965Z] 3a2ae6a8a46f: Waiting [2022-04-22T16:04:45.965Z] 33b1e0a273af: Waiting [2022-04-22T16:04:45.965Z] 5d3b04190fa2: Waiting [2022-04-22T16:04:45.965Z] 2f39f015ded8: Waiting [2022-04-22T16:04:45.965Z] 5c69ac0246d0: Download complete [2022-04-22T16:04:45.965Z] 3a2ae6a8a46f: Download complete [2022-04-22T16:04:45.965Z] ec43610c2a17: Verifying Checksum [2022-04-22T16:04:45.965Z] ec43610c2a17: Download complete [2022-04-22T16:04:45.965Z] 33b1e0a273af: Verifying Checksum [2022-04-22T16:04:45.965Z] 33b1e0a273af: Download complete [2022-04-22T16:04:45.965Z] 5d3b04190fa2: Verifying Checksum [2022-04-22T16:04:45.965Z] 5d3b04190fa2: Download complete [2022-04-22T16:04:46.224Z] 5eb5b503b376: Verifying Checksum [2022-04-22T16:04:46.224Z] 5eb5b503b376: Download complete [2022-04-22T16:04:46.791Z] 2f39f015ded8: Download complete [2022-04-22T16:04:47.357Z] 5eb5b503b376: Pull complete [2022-04-22T16:04:47.615Z] 5c69ac0246d0: Pull complete [2022-04-22T16:04:47.875Z] ec43610c2a17: Pull complete [2022-04-22T16:04:48.134Z] 3a2ae6a8a46f: Pull complete [2022-04-22T16:04:48.394Z] 33b1e0a273af: Pull complete [2022-04-22T16:04:48.394Z] 5d3b04190fa2: Pull complete [2022-04-22T16:04:52.594Z] 2f39f015ded8: Pull complete [2022-04-22T16:04:52.594Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-22T16:04:52.594Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T16:04:52.594Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-22T16:04:52.664Z] prd-ubuntu20.04-docker-8c-8g-21797 does not seem to be running inside a container [2022-04-22T16:04:52.707Z] $ 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-04-22T16:04:55.081Z] $ docker top 457f05015b2b54e6b8353389820bf897c126d673ddef569e33045e6a24fb9415 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:04:55.468Z] ---> job-cost.sh [2022-04-22T16:04:55.468Z] lf-activate-venv: SKIPPING [2022-04-22T16:04:55.468Z] INFO: No Stack... [2022-04-22T16:04:55.728Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T16:04:56.299Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T16:04:56.592Z] + cat /w/workspace/ry_ci-build-images_egp-unit-test/archives/cost.csv [2022-04-22T16:04:56.592Z] + cut -d, -f6 [Pipeline] lock [2022-04-22T16:04:56.624Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-egp-unit-test-5-stack-cost] [2022-04-22T16:04:56.634Z] Resource [jenkins-edgexfoundry-ci-build-images-egp-unit-test-5-stack-cost] did not exist. Created. [2022-04-22T16:04:56.634Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-egp-unit-test-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T16:04:56.939Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-22T16:04:57.244Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T16:04:57.254Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-egp-unit-test-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T16:04:57.280Z] $ docker stop --time=1 457f05015b2b54e6b8353389820bf897c126d673ddef569e33045e6a24fb9415 [2022-04-22T16:04:58.475Z] $ docker rm -f 457f05015b2b54e6b8353389820bf897c126d673ddef569e33045e6a24fb9415 [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-04-22T16:04:59.160Z] + [ -d /w/workspace/ry_ci-build-images_egp-unit-test/archives ] [2022-04-22T16:04:59.160Z] + ls -al /w/workspace/ry_ci-build-images_egp-unit-test/archives [2022-04-22T16:04:59.160Z] total 16 [2022-04-22T16:04:59.160Z] drwxr-xr-x 3 root root 4096 Apr 22 16:04 . [2022-04-22T16:04:59.160Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 16:04 .. [2022-04-22T16:04:59.160Z] drwxr-xr-x 2 root root 4096 Apr 22 16:04 cost [2022-04-22T16:04:59.160Z] -rw-r--r-- 1 root root 93 Apr 22 16:04 cost.csv [2022-04-22T16:04:59.160Z] + sudo chown -R jenkins:jenkins /w/workspace/ry_ci-build-images_egp-unit-test/archives [2022-04-22T16:04:59.160Z] + ls -al /w/workspace/ry_ci-build-images_egp-unit-test/archives [2022-04-22T16:04:59.160Z] total 16 [2022-04-22T16:04:59.160Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 16:04 . [2022-04-22T16:04:59.160Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 16:04 .. [2022-04-22T16:04:59.160Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 16:04 cost [2022-04-22T16:04:59.160Z] -rw-r--r-- 1 jenkins jenkins 93 Apr 22 16:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:04:59.475Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:05:00.343Z] ---> package-listing.sh [2022-04-22T16:05:00.343Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-22T16:05:00.343Z] ++ facter osfamily [2022-04-22T16:05:00.604Z] + OS_FAMILY=debian [2022-04-22T16:05:00.604Z] + workspace=/w/workspace/ry_ci-build-images_egp-unit-test [2022-04-22T16:05:00.604Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-22T16:05:00.604Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-22T16:05:00.604Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-22T16:05:00.604Z] + PACKAGES=/tmp/packages_start.txt [2022-04-22T16:05:00.604Z] + '[' /w/workspace/ry_ci-build-images_egp-unit-test ']' [2022-04-22T16:05:00.604Z] + PACKAGES=/tmp/packages_end.txt [2022-04-22T16:05:00.604Z] + case "${OS_FAMILY}" in [2022-04-22T16:05:00.604Z] + dpkg -l [2022-04-22T16:05:00.604Z] + grep '^ii' [2022-04-22T16:05:00.604Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-22T16:05:00.604Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-22T16:05:00.604Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-22T16:05:00.604Z] + '[' /w/workspace/ry_ci-build-images_egp-unit-test ']' [2022-04-22T16:05:00.604Z] + mkdir -p /w/workspace/ry_ci-build-images_egp-unit-test/archives/ [2022-04-22T16:05:00.604Z] + 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-04-22T16:05:00.618Z] 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-04-22T16:05:00.902Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:05:01.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T16:05:01.457Z] . [Pipeline] withDockerContainer [2022-04-22T16:05:01.528Z] prd-ubuntu20.04-docker-8c-8g-21797 does not seem to be running inside a container [2022-04-22T16:05:01.573Z] $ 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-04-22T16:05:01.819Z] $ docker top 971bbcdf7797a47a5f4d91c2986226fef8c83c2c4aee22bb7f19d1d391260756 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T16:05:02.169Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-22T16:05:02.462Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-22T16:05:02.747Z] + ls /var/log/sa-host [2022-04-22T16:05:02.747Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T16:05:02.959Z] provisioning config files... [2022-04-22T16:05:02.968Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_ci-build-images_egp-unit-test@tmp/config6943082007821579801tmp [Pipeline] { [Pipeline] echo [2022-04-22T16:05:02.984Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:05:03.273Z] ---> create-netrc.sh [Pipeline] } [2022-04-22T16:05:03.282Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:05:03.615Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-22T16:05:03.626Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:05:03.914Z] ---> sudo-logs.sh [2022-04-22T16:05:03.915Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-22T16:05:03.973Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:05:04.260Z] ---> job-cost.sh [2022-04-22T16:05:04.260Z] lf-activate-venv: SKIPPING [2022-04-22T16:05:04.260Z] DEBUG: total: 0.2199999988079071 [2022-04-22T16:05:04.260Z] INFO: Retrieving Stack Cost... [2022-04-22T16:05:04.260Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T16:05:04.830Z] INFO: Archiving Costs [Pipeline] echo [2022-04-22T16:05:04.846Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:05:05.134Z] ---> logs-deploy.sh [2022-04-22T16:05:05.135Z] lf-activate-venv: SKIPPING [2022-04-22T16:05:05.135Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/egp-unit-test/5 [2022-04-22T16:05:05.135Z] INFO: archiving workspace using pattern(s): [2022-04-22T16:05:06.078Z] Archives upload complete. [2022-04-22T16:05:06.078Z] INFO: archiving logs to Nexus