Push event to branch egp-unit-test Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5aa5cd65e890575fed12cd4163f33c8a5bf56f4d Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > 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 aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > 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. [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: [[centos7-docker-4c-2g]] [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 RELEASE_BRANCH_OVERRIDE: egp-unit-test DOCKER_CUSTOM_TAGS: gradle [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1451 in /w/workspace/ry_ci-build-images_egp-unit-test [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/egp-unit-test:refs/remotes/origin/egp-unit-test # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/egp-unit-test:refs/remotes/origin/egp-unit-test # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/egp-unit-test:refs/remotes/origin/egp-unit-test # timeout=10 Checking out Revision 5aa5cd65e890575fed12cd4163f33c8a5bf56f4d (egp-unit-test) > 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 0fc94fd9d00d27380f1c1ec12a4bda90b5b788f2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:24:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:24:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:24:10 ========================================================= 16:24:10 EdgeX Global Pipelines Version Info 16:24:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:24:12 ------------------- 16:24:12 stable info: 16:24:12 ------------------- 16:24:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:24:12 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 16:24:12 Message: update stable to v1.0.106 16:24:12 ------------------- 16:24:12 experimental info: 16:24:12 ------------------- 16:24:12 Commited By: **** collab-it+edgex@linuxfoundation.org 16:24:12 Commit SHA: 626b9661e310b9d132ae9d5c3b37d89ff845648b 16:24:12 Message: update experimental to v1.0.108 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [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] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:24:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:24:16 + ls -al . 16:24:16 total 8 16:24:16 drwxrwxr-x. 3 jenkins jenkins 55 Jul 29 16:24 . 16:24:16 drwxrwxr-x. 4 jenkins jenkins 112 Jul 29 16:24 .. 16:24:16 -rw-rw-r--. 1 jenkins jenkins 941 Jul 29 16:24 Dockerfile 16:24:16 drwxrwxr-x. 8 jenkins jenkins 162 Jul 29 16:24 .git 16:24:16 -rw-rw-r--. 1 jenkins jenkins 904 Jul 29 16:24 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 16:24:17 + docker build -t edgex-devops/egp-unit-test -f Dockerfile --build-arg ARCH=amd64 --label git_sha=5aa5cd65e890575fed12cd4163f33c8a5bf56f4d --label arch=amd64 . 16:24:17 Sending build context to Docker daemon 201.2kB 16:24:17 Step 1/13 : FROM gradle:6.5 as builder 16:24:17 6.5: Pulling from library/gradle 16:24:18 7595c8c21622: Pulling fs layer 16:24:18 d13af8ca898f: Pulling fs layer 16:24:18 70799171ddba: Pulling fs layer 16:24:18 b6c12202c5ef: Pulling fs layer 16:24:18 c54d424eaa66: Pulling fs layer 16:24:18 41534844af48: Pulling fs layer 16:24:18 29d2bc40c7ae: Pulling fs layer 16:24:18 5c6e01006f25: Pulling fs layer 16:24:18 c5e32de1092d: Pulling fs layer 16:24:18 41534844af48: Waiting 16:24:18 29d2bc40c7ae: Waiting 16:24:18 5c6e01006f25: Waiting 16:24:18 c5e32de1092d: Waiting 16:24:18 c54d424eaa66: Waiting 16:24:18 b6c12202c5ef: Waiting 16:24:18 d13af8ca898f: Verifying Checksum 16:24:18 d13af8ca898f: Download complete 16:24:18 70799171ddba: Verifying Checksum 16:24:18 70799171ddba: Download complete 16:24:18 c54d424eaa66: Verifying Checksum 16:24:18 c54d424eaa66: Download complete 16:24:18 7595c8c21622: Verifying Checksum 16:24:18 7595c8c21622: Download complete 16:24:18 29d2bc40c7ae: Verifying Checksum 16:24:18 29d2bc40c7ae: Download complete 16:24:19 b6c12202c5ef: Verifying Checksum 16:24:19 b6c12202c5ef: Download complete 16:24:19 5c6e01006f25: Verifying Checksum 16:24:19 5c6e01006f25: Download complete 16:24:20 7595c8c21622: Pull complete 16:24:21 d13af8ca898f: Pull complete 16:24:21 c5e32de1092d: Verifying Checksum 16:24:21 c5e32de1092d: Download complete 16:24:21 41534844af48: Verifying Checksum 16:24:21 41534844af48: Download complete 16:24:21 70799171ddba: Pull complete 16:24:21 b6c12202c5ef: Pull complete 16:24:23 c54d424eaa66: Pull complete 16:24:25 41534844af48: Pull complete 16:24:25 29d2bc40c7ae: Pull complete 16:24:29 5c6e01006f25: Pull complete 16:24:31 c5e32de1092d: Pull complete 16:24:31 Digest: sha256:099048dbae10d6c1ab0afb8b50e74848b9cef459e56e42e29c61112b29c5a108 16:24:31 Status: Downloaded newer image for gradle:6.5 16:24:31 ---> 09415af8f1c9 16:24:31 Step 2/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:24:31 ---> Running in a1a13908b194 16:24:31 Removing intermediate container a1a13908b194 16:24:31 ---> 6506d423ad62 16:24:31 Step 3/13 : WORKDIR /code 16:24:31 ---> Running in d4b8d8f91117 16:24:32 Removing intermediate container d4b8d8f91117 16:24:32 ---> d359f3e8f2f8 16:24:32 Step 4/13 : ENV USER_GRADLE_HOME=/gradleCache 16:24:32 ---> Running in 287c8839b21f 16:24:32 Removing intermediate container 287c8839b21f 16:24:32 ---> 91f66319e3e5 16:24:32 Step 5/13 : ARG EGP_VERSION=stable 16:24:32 ---> Running in f67b53e8de7a 16:24:32 Removing intermediate container f67b53e8de7a 16:24:32 ---> 68a6316e6be5 16:24:32 Step 6/13 : ADD https://github.com/edgexfoundry/edgex-global-pipelines/archive/${EGP_VERSION}.tar.gz . 16:24:33 16:24:33 ---> b0ffeead2e4e 16:24:33 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 16:24:33 ---> Running in 7178a03c19c6 16:24:34 Removing intermediate container 7178a03c19c6 16:24:34 ---> 635f12fa311c 16:24:34 Step 8/13 : RUN gradle -Dgradle.user.home=${USER_GRADLE_HOME} testClasses 16:24:34 ---> Running in 07924dd9bdde 16:24:35 16:24:35 Welcome to Gradle 6.5.1! 16:24:35 16:24:35 Here are the highlights of this release: 16:24:35 - Experimental file-system watching 16:24:35 - Improved version ordering 16:24:35 - New samples 16:24:35 16:24:35 For more details see https://docs.gradle.org/6.5.1/release-notes.html 16:24:35 16:24:36 Starting a Gradle Daemon (subsequent builds will be faster) 16:24:42 > Task :compileJava NO-SOURCE 16:24:42 > Task :compileGroovy NO-SOURCE 16:24:42 > Task :processResources NO-SOURCE 16:24:42 > Task :classes UP-TO-DATE 16:24:42 > Task :compileTestJava NO-SOURCE 16:24:42 > Task :copyGlobalLibVars 16:25:14 > Task :compileTestGroovy 16:27:06 > Task :processTestResources 16:27:06 > Task :testClasses 16:27:06 16:27:06 BUILD SUCCESSFUL in 2m 28s 16:27:06 3 actionable tasks: 3 executed 16:27:09 Removing intermediate container 07924dd9bdde 16:27:09 ---> 647c4ca445d5 16:27:09 Step 9/13 : FROM gradle:6.5 16:27:09 ---> 09415af8f1c9 16:27:09 Step 10/13 : ENV USER_GRADLE_HOME=/gradleCache 16:27:09 ---> Running in 9d980abd999a 16:27:09 Removing intermediate container 9d980abd999a 16:27:09 ---> 8c4bd4fd96dd 16:27:09 Step 11/13 : COPY --from=builder ${USER_GRADLE_HOME} ${USER_GRADLE_HOME} 16:27:14 ---> 17e1f8cfdd1e 16:27:14 Step 12/13 : LABEL arch=amd64 16:27:14 ---> Running in 3d86388725be 16:27:14 Removing intermediate container 3d86388725be 16:27:14 ---> f333ea430cb9 16:27:14 Step 13/13 : LABEL git_sha=5aa5cd65e890575fed12cd4163f33c8a5bf56f4d 16:27:14 ---> Running in f3d6c1f8e72b 16:27:14 Removing intermediate container f3d6c1f8e72b 16:27:14 ---> 1e199c3982de 16:27:14 [Warning] One or more build-args [ARCH] were not consumed 16:27:14 Successfully built 1e199c3982de 16:27:14 Successfully tagged edgex-devops/egp-unit-test:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:27:14 provisioning config files... 16:27:14 copy managed file [ci-build-images-settings] to file:/w/workspace/ry_ci-build-images_egp-unit-test@tmp/config8099152707639196211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:27:15 nexus3.edgexfoundry.org:10001 16:27:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:15 Configure a credential helper to remove this warning. See 16:27:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:15 16:27:15 Login Succeeded 16:27:15 nexus3.edgexfoundry.org:10002 16:27:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:15 Configure a credential helper to remove this warning. See 16:27:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:15 16:27:15 Login Succeeded 16:27:15 nexus3.edgexfoundry.org:10003 16:27:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:15 Configure a credential helper to remove this warning. See 16:27:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:15 16:27:15 Login Succeeded 16:27:15 nexus3.edgexfoundry.org:10004 16:27:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:15 Configure a credential helper to remove this warning. See 16:27:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:15 16:27:15 Login Succeeded 16:27:15 docker.io 16:27:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:16 Configure a credential helper to remove this warning. See 16:27:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:16 16:27:16 Login Succeeded [Pipeline] } 16:27:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:27:16 [edgeXDocker.push] Tagging docker image egp-unit-test with the following tags: 16:27:16 5aa5cd65e890575fed12cd4163f33c8a5bf56f4d 16:27:16 latest 16:27:16 egp-unit-test 16:27:16 gradle 16:27:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:27:16 + docker tag edgex-devops/egp-unit-test nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:5aa5cd65e890575fed12cd4163f33c8a5bf56f4d [Pipeline] isUnix [Pipeline] sh 16:27:17 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:5aa5cd65e890575fed12cd4163f33c8a5bf56f4d 16:27:17 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] 16:27:17 2ad2c0412337: Preparing 16:27:17 10a65b8783b3: Preparing 16:27:17 c78593474f47: Preparing 16:27:17 8db0402c4021: Preparing 16:27:17 23f36aae82ef: Preparing 16:27:17 60d7a9dafbc1: Preparing 16:27:17 8682f9a74649: Preparing 16:27:17 d3a6da143c91: Preparing 16:27:17 83f4287e1f04: Preparing 16:27:17 7ef368776582: Preparing 16:27:17 60d7a9dafbc1: Waiting 16:27:17 8682f9a74649: Waiting 16:27:17 d3a6da143c91: Waiting 16:27:17 83f4287e1f04: Waiting 16:27:17 7ef368776582: Waiting 16:27:17 8db0402c4021: Pushed 16:27:27 60d7a9dafbc1: Pushed 16:27:27 8682f9a74649: Layer already exists 16:27:27 d3a6da143c91: Layer already exists 16:27:27 83f4287e1f04: Layer already exists 16:27:27 7ef368776582: Layer already exists 16:27:27 2ad2c0412337: Pushed 16:27:30 10a65b8783b3: Pushed 16:27:33 23f36aae82ef: Pushed 16:27:35 c78593474f47: Pushed 16:27:35 5aa5cd65e890575fed12cd4163f33c8a5bf56f4d: digest: sha256:5763af6d38f05f906ffb483d99127a01e8fd3ea5efe65cce0bd432198db90ab3 size: 2423 [Pipeline] isUnix [Pipeline] sh 16:27:36 + docker tag edgex-devops/egp-unit-test nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:latest [Pipeline] isUnix [Pipeline] sh 16:27:36 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:latest 16:27:36 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] 16:27:36 2ad2c0412337: Preparing 16:27:36 10a65b8783b3: Preparing 16:27:36 c78593474f47: Preparing 16:27:36 8db0402c4021: Preparing 16:27:36 23f36aae82ef: Preparing 16:27:36 60d7a9dafbc1: Preparing 16:27:36 8682f9a74649: Preparing 16:27:36 d3a6da143c91: Preparing 16:27:36 83f4287e1f04: Preparing 16:27:36 7ef368776582: Preparing 16:27:36 d3a6da143c91: Waiting 16:27:36 7ef368776582: Waiting 16:27:36 83f4287e1f04: Waiting 16:27:36 60d7a9dafbc1: Waiting 16:27:36 8682f9a74649: Waiting 16:27:36 c78593474f47: Layer already exists 16:27:36 2ad2c0412337: Layer already exists 16:27:36 10a65b8783b3: Layer already exists 16:27:36 8db0402c4021: Layer already exists 16:27:36 23f36aae82ef: Layer already exists 16:27:36 60d7a9dafbc1: Layer already exists 16:27:36 8682f9a74649: Layer already exists 16:27:36 d3a6da143c91: Layer already exists 16:27:36 83f4287e1f04: Layer already exists 16:27:36 7ef368776582: Layer already exists 16:27:36 latest: digest: sha256:5763af6d38f05f906ffb483d99127a01e8fd3ea5efe65cce0bd432198db90ab3 size: 2423 [Pipeline] isUnix [Pipeline] sh 16:27:36 + docker tag edgex-devops/egp-unit-test nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:egp-unit-test [Pipeline] isUnix [Pipeline] sh 16:27:37 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:egp-unit-test 16:27:37 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] 16:27:37 2ad2c0412337: Preparing 16:27:37 10a65b8783b3: Preparing 16:27:37 c78593474f47: Preparing 16:27:37 8db0402c4021: Preparing 16:27:37 23f36aae82ef: Preparing 16:27:37 60d7a9dafbc1: Preparing 16:27:37 8682f9a74649: Preparing 16:27:37 d3a6da143c91: Preparing 16:27:37 83f4287e1f04: Preparing 16:27:37 7ef368776582: Preparing 16:27:37 60d7a9dafbc1: Waiting 16:27:37 8682f9a74649: Waiting 16:27:37 d3a6da143c91: Waiting 16:27:37 83f4287e1f04: Waiting 16:27:37 7ef368776582: Waiting 16:27:37 8db0402c4021: Layer already exists 16:27:37 23f36aae82ef: Layer already exists 16:27:37 c78593474f47: Layer already exists 16:27:37 10a65b8783b3: Layer already exists 16:27:37 2ad2c0412337: Layer already exists 16:27:37 8682f9a74649: Layer already exists 16:27:37 60d7a9dafbc1: Layer already exists 16:27:37 d3a6da143c91: Layer already exists 16:27:37 83f4287e1f04: Layer already exists 16:27:37 7ef368776582: Layer already exists 16:27:37 egp-unit-test: digest: sha256:5763af6d38f05f906ffb483d99127a01e8fd3ea5efe65cce0bd432198db90ab3 size: 2423 [Pipeline] isUnix [Pipeline] sh 16:27:37 + docker tag edgex-devops/egp-unit-test nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:gradle [Pipeline] isUnix [Pipeline] sh 16:27:37 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:gradle 16:27:37 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] 16:27:37 2ad2c0412337: Preparing 16:27:37 10a65b8783b3: Preparing 16:27:37 c78593474f47: Preparing 16:27:37 8db0402c4021: Preparing 16:27:37 23f36aae82ef: Preparing 16:27:37 60d7a9dafbc1: Preparing 16:27:37 8682f9a74649: Preparing 16:27:37 d3a6da143c91: Preparing 16:27:37 83f4287e1f04: Preparing 16:27:37 7ef368776582: Preparing 16:27:37 60d7a9dafbc1: Waiting 16:27:37 8682f9a74649: Waiting 16:27:37 d3a6da143c91: Waiting 16:27:37 83f4287e1f04: Waiting 16:27:37 7ef368776582: Waiting 16:27:37 c78593474f47: Layer already exists 16:27:37 23f36aae82ef: Layer already exists 16:27:37 8db0402c4021: Layer already exists 16:27:37 2ad2c0412337: Layer already exists 16:27:37 10a65b8783b3: Layer already exists 16:27:37 8682f9a74649: Layer already exists 16:27:37 60d7a9dafbc1: Layer already exists 16:27:37 d3a6da143c91: Layer already exists 16:27:37 7ef368776582: Layer already exists 16:27:37 83f4287e1f04: Layer already exists 16:27:37 gradle: digest: sha256:5763af6d38f05f906ffb483d99127a01e8fd3ea5efe65cce0bd432198db90ab3 size: 2423 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:27:37 ===================================================== [Pipeline] echo 16:27:37 taggedImages: 16:27:37 - nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:5aa5cd65e890575fed12cd4163f33c8a5bf56f4d 16:27:37 - nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:latest 16:27:37 - nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:egp-unit-test 16:27:37 - 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:27:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 16:27:39 16:27:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 16:27:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 16:27:39 latest: Pulling from edgex-devops/edgex-klar 16:27:39 e7c96db7181b: Pulling fs layer 16:27:39 1868ca2cb446: Pulling fs layer 16:27:39 136be5d0fe8e: Pulling fs layer 16:27:39 894bfe63afcb: Pulling fs layer 16:27:39 894bfe63afcb: Waiting 16:27:39 1868ca2cb446: Verifying Checksum 16:27:39 1868ca2cb446: Download complete 16:27:39 136be5d0fe8e: Verifying Checksum 16:27:39 136be5d0fe8e: Download complete 16:27:39 e7c96db7181b: Download complete 16:27:39 894bfe63afcb: Verifying Checksum 16:27:39 894bfe63afcb: Download complete 16:27:39 e7c96db7181b: Pull complete 16:27:39 1868ca2cb446: Pull complete 16:27:39 136be5d0fe8e: Pull complete 16:27:40 894bfe63afcb: Pull complete 16:27:40 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 16:27:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 16:27:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 16:27:40 prd-centos7-docker-4c-2g-1451 does not seem to be running inside a container 16:27:40 $ docker run -t -d -u 1001:1001 --entrypoint= -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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 16:27:41 $ docker top 176c23a4e51bf0f15b697e752897a801cdf3af056d7dd31c7b6501068c3ddb2f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:41 + /klar nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:5aa5cd65e890575fed12cd4163f33c8a5bf56f4d 16:27:41 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 16:28:28 $ docker stop --time=1 176c23a4e51bf0f15b697e752897a801cdf3af056d7dd31c7b6501068c3ddb2f 16:28:30 $ docker rm -f 176c23a4e51bf0f15b697e752897a801cdf3af056d7dd31c7b6501068c3ddb2f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 16:28:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 16:28:30 . [Pipeline] withDockerContainer 16:28:30 prd-centos7-docker-4c-2g-1451 does not seem to be running inside a container 16:28:31 $ docker run -t -d -u 1001:1001 --entrypoint= -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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 16:28:31 $ docker top 2a408791867aa3dcc1510b9a76836e4dc45a3712214d4e039f9c58671d58cf03 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:32 + /klar nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:5aa5cd65e890575fed12cd4163f33c8a5bf56f4d 16:28:32 + tee 16:28:32 clair timeout 1m0s 16:28:32 docker timeout: 1m0s 16:28:32 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 16:28:33 $ docker stop --time=1 2a408791867aa3dcc1510b9a76836e4dc45a3712214d4e039f9c58671d58cf03 16:28:35 $ docker rm -f 2a408791867aa3dcc1510b9a76836e4dc45a3712214d4e039f9c58671d58cf03 [Pipeline] // withDockerContainer [Pipeline] sh 16:28:35 + mkdir -p /w/workspace/ry_ci-build-images_egp-unit-test/clair-reports [Pipeline] echo 16:28:35 Generated HTML Table Report. Writing to /w/workspace/ry_ci-build-images_egp-unit-test/clair-reports/clair_results_egp-unit-test_5aa5cd65e890575fed12cd4163f33c8a5bf56f4d.html [Pipeline] writeFile [Pipeline] step 16:28:35 Archiving artifacts [Pipeline] } [Pipeline] // script [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] libraryResource [Pipeline] sh 16:28:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:28:37 ---> package-listing.sh 16:28:37 ++ facter osfamily 16:28:37 ++ tr '[:upper:]' '[:lower:]' 16:28:37 + OS_FAMILY=redhat 16:28:37 + workspace=/w/workspace/ry_ci-build-images_egp-unit-test 16:28:37 + START_PACKAGES=/tmp/packages_start.txt 16:28:37 + END_PACKAGES=/tmp/packages_end.txt 16:28:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:28:37 + PACKAGES=/tmp/packages_start.txt 16:28:37 + '[' /w/workspace/ry_ci-build-images_egp-unit-test ']' 16:28:37 + PACKAGES=/tmp/packages_end.txt 16:28:37 + case "${OS_FAMILY}" in 16:28:37 + rpm -qa 16:28:37 + sort 16:28:41 + '[' -f /tmp/packages_start.txt ']' 16:28:41 + '[' -f /tmp/packages_end.txt ']' 16:28:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:28:41 + '[' /w/workspace/ry_ci-build-images_egp-unit-test ']' 16:28:41 + mkdir -p /w/workspace/ry_ci-build-images_egp-unit-test/archives/ 16:28:41 + 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] isUnix [Pipeline] sh 16:28:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:28:41 16:28:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:28:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:28:42 alpine: Pulling from edgex-lftools-log-publisher 16:28:42 c9b1b535fdd9: Pulling fs layer 16:28:42 2cc5ad85d9ab: Pulling fs layer 16:28:42 756a868c4378: Pulling fs layer 16:28:42 444b2fc9a129: Pulling fs layer 16:28:42 ea15f1150254: Pulling fs layer 16:28:42 41b27a9f41bf: Pulling fs layer 16:28:42 28c525ee5125: Pulling fs layer 16:28:42 094b1ea09ed8: Pulling fs layer 16:28:42 138eaada9080: Pulling fs layer 16:28:42 0622d0fa9048: Pulling fs layer 16:28:42 41b27a9f41bf: Waiting 16:28:42 28c525ee5125: Waiting 16:28:42 094b1ea09ed8: Waiting 16:28:42 138eaada9080: Waiting 16:28:42 0622d0fa9048: Waiting 16:28:42 444b2fc9a129: Waiting 16:28:42 ea15f1150254: Waiting 16:28:42 2cc5ad85d9ab: Download complete 16:28:42 444b2fc9a129: Verifying Checksum 16:28:42 444b2fc9a129: Download complete 16:28:42 c9b1b535fdd9: Verifying Checksum 16:28:42 c9b1b535fdd9: Download complete 16:28:42 ea15f1150254: Verifying Checksum 16:28:42 ea15f1150254: Download complete 16:28:42 28c525ee5125: Verifying Checksum 16:28:42 28c525ee5125: Download complete 16:28:42 756a868c4378: Verifying Checksum 16:28:42 756a868c4378: Download complete 16:28:42 138eaada9080: Verifying Checksum 16:28:42 138eaada9080: Download complete 16:28:42 0622d0fa9048: Verifying Checksum 16:28:42 0622d0fa9048: Download complete 16:28:43 c9b1b535fdd9: Pull complete 16:28:43 094b1ea09ed8: Verifying Checksum 16:28:43 094b1ea09ed8: Download complete 16:28:43 41b27a9f41bf: Verifying Checksum 16:28:43 41b27a9f41bf: Download complete 16:28:43 2cc5ad85d9ab: Pull complete 16:28:45 756a868c4378: Pull complete 16:28:45 444b2fc9a129: Pull complete 16:28:45 ea15f1150254: Pull complete 16:28:49 41b27a9f41bf: Pull complete 16:28:49 28c525ee5125: Pull complete 16:28:52 094b1ea09ed8: Pull complete 16:28:52 138eaada9080: Pull complete 16:28:52 0622d0fa9048: Pull complete 16:28:52 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 16:28:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:28:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:28:52 prd-centos7-docker-4c-2g-1451 does not seem to be running inside a container 16:28:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:28:56 $ docker top e6c23bfe1833f4922e12e4f6d3d2684de42a6e6224c907c80e9dbaac6834ad1d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:28:56 provisioning config files... 16:28:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_ci-build-images_egp-unit-test@tmp/config5786238620446437024tmp [Pipeline] { [Pipeline] echo 16:28:56 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:28:56 ---> create-netrc.sh [Pipeline] echo 16:28:56 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:28:56 ---> logs-deploy.sh 16:28:56 + ARCHIVE_ARTIFACTS= 16:28:56 + LOGS_SERVER=https://logs.edgexfoundry.org 16:28:56 + '[' https://logs.edgexfoundry.org == None ']' 16:28:56 + NEXUS_URL=https://nexus.edgexfoundry.org 16:28:56 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/egp-unit-test/4 16:28:56 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/ci-build-images/job/egp-unit-test/4/ 16:28:56 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/egp-unit-test/4 /w/workspace/ry_ci-build-images_egp-unit-test 16:28:57 Archives upload complete. 16:28:58 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/egp-unit-test/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/ci-build-images/job/egp-unit-test/4/