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 0fc94fd9d00d27380f1c1ec12a4bda90b5b788f2 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision 7d2c21029d308337b2925e331bbfe6b29dee8099 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision 7d2c21029d308337b2925e331bbfe6b29dee8099 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7d2c21029d308337b2925e331bbfe6b29dee8099 # timeout=10 Commit message: "Merge pull request #138 from ernestojeda/gradle-migration" > 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 [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 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-948 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 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 Fetching without tags Checking out Revision 0fc94fd9d00d27380f1c1ec12a4bda90b5b788f2 (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/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 > git config core.sparsecheckout # timeout=10 > git checkout -f 0fc94fd9d00d27380f1c1ec12a4bda90b5b788f2 # timeout=10 Commit message: "Merge pull request #127 from ernestojeda/fix-gradle-version" > git rev-list --no-walk 5479becb269f9c18fb0b355bc6bb4dde16f75d82 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:44:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [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 18:44:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:44:27 + ls -al . 18:44:27 total 8 18:44:27 drwxrwxr-x. 3 jenkins jenkins 55 Mar 26 18:44 . 18:44:27 drwxrwxr-x. 4 jenkins jenkins 112 Mar 26 18:44 .. 18:44:27 -rw-rw-r--. 1 jenkins jenkins 941 Mar 26 18:44 Dockerfile 18:44:27 drwxrwxr-x. 8 jenkins jenkins 162 Mar 26 18:44 .git 18:44:27 -rw-rw-r--. 1 jenkins jenkins 904 Mar 26 18:44 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 18:44:27 + docker build -t edgex-devops/egp-unit-test -f Dockerfile --build-arg ARCH=amd64 --label git_sha=0fc94fd9d00d27380f1c1ec12a4bda90b5b788f2 --label arch=amd64 . 18:44:27 Sending build context to Docker daemon 199.2kB 18:44:28 Step 1/13 : FROM gradle:6.2 as builder 18:44:28 6.2: Pulling from library/gradle 18:44:28 5bed26d33875: Pulling fs layer 18:44:28 f11b29a9c730: Pulling fs layer 18:44:28 930bda195c84: Pulling fs layer 18:44:28 78bf9a5ad49e: Pulling fs layer 18:44:28 bf7abfeb0680: Pulling fs layer 18:44:28 22def9b16f84: Pulling fs layer 18:44:28 3395be70a635: Pulling fs layer 18:44:28 c63b94ff3a31: Pulling fs layer 18:44:28 e1fdc1e1beb1: Pulling fs layer 18:44:28 78bf9a5ad49e: Waiting 18:44:28 22def9b16f84: Waiting 18:44:28 3395be70a635: Waiting 18:44:28 c63b94ff3a31: Waiting 18:44:28 bf7abfeb0680: Waiting 18:44:28 e1fdc1e1beb1: Waiting 18:44:29 930bda195c84: Verifying Checksum 18:44:29 930bda195c84: Download complete 18:44:29 f11b29a9c730: Verifying Checksum 18:44:29 f11b29a9c730: Download complete 18:44:29 78bf9a5ad49e: Verifying Checksum 18:44:29 78bf9a5ad49e: Download complete 18:44:29 bf7abfeb0680: Verifying Checksum 18:44:29 bf7abfeb0680: Download complete 18:44:29 5bed26d33875: Verifying Checksum 18:44:29 5bed26d33875: Download complete 18:44:29 3395be70a635: Verifying Checksum 18:44:29 3395be70a635: Download complete 18:44:31 c63b94ff3a31: Verifying Checksum 18:44:31 c63b94ff3a31: Download complete 18:44:31 5bed26d33875: Pull complete 18:44:31 22def9b16f84: Download complete 18:44:31 e1fdc1e1beb1: Verifying Checksum 18:44:31 e1fdc1e1beb1: Download complete 18:44:31 f11b29a9c730: Pull complete 18:44:31 930bda195c84: Pull complete 18:44:32 78bf9a5ad49e: Pull complete 18:44:32 bf7abfeb0680: Pull complete 18:44:35 22def9b16f84: Pull complete 18:44:35 3395be70a635: Pull complete 18:44:38 c63b94ff3a31: Pull complete 18:44:41 e1fdc1e1beb1: Pull complete 18:44:41 Digest: sha256:2259795623d4d7dcbdc2a199e199b5e0a5bd92b69c4c77413b919b4a343eca6d 18:44:41 Status: Downloaded newer image for gradle:6.2 18:44:41 ---> 1431c168ffbf 18:44:41 Step 2/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:44:41 ---> Running in e8cdc0e4db24 18:44:41 Removing intermediate container e8cdc0e4db24 18:44:41 ---> e370eddd50a8 18:44:41 Step 3/13 : WORKDIR /code 18:44:41 ---> Running in bcbb92e91e86 18:44:41 Removing intermediate container bcbb92e91e86 18:44:41 ---> f9537da56870 18:44:41 Step 4/13 : ENV USER_GRADLE_HOME=/gradleCache 18:44:42 ---> Running in b4e83ef69517 18:44:42 Removing intermediate container b4e83ef69517 18:44:42 ---> ea51118f35a8 18:44:42 Step 5/13 : ARG EGP_VERSION=stable 18:44:42 ---> Running in cf95f11649f1 18:44:42 Removing intermediate container cf95f11649f1 18:44:42 ---> 9caa94634e11 18:44:42 Step 6/13 : ADD https://github.com/edgexfoundry/edgex-global-pipelines/archive/${EGP_VERSION}.tar.gz . 18:44:43 18:44:43 ---> 18d140931aaf 18:44:43 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 18:44:43 ---> Running in 6db62e8f3044 18:44:44 Removing intermediate container 6db62e8f3044 18:44:44 ---> f94287efbdf2 18:44:44 Step 8/13 : RUN gradle -Dgradle.user.home=${USER_GRADLE_HOME} testClasses 18:44:44 ---> Running in 806d2a61d628 18:44:45 18:44:45 Welcome to Gradle 6.2.2! 18:44:45 18:44:45 Here are the highlights of this release: 18:44:45 - Dependency checksum and signature verification 18:44:45 - Shareable read-only dependency cache 18:44:45 - Documentation links in deprecation messages 18:44:45 18:44:45 For more details see https://docs.gradle.org/6.2.2/release-notes.html 18:44:45 18:44:45 Starting a Gradle Daemon (subsequent builds will be faster) 18:44:52 > Task :compileJava NO-SOURCE 18:44:52 > Task :compileGroovy NO-SOURCE 18:44:52 > Task :processResources NO-SOURCE 18:44:52 > Task :classes UP-TO-DATE 18:44:52 > Task :compileTestJava NO-SOURCE 18:44:52 > Task :copyGlobalLibVars 18:45:24 > Task :compileTestGroovy 18:47:16 > Task :processTestResources 18:47:16 > Task :testClasses 18:47:16 18:47:16 BUILD SUCCESSFUL in 2m 27s 18:47:16 3 actionable tasks: 3 executed 18:47:16 Removing intermediate container 806d2a61d628 18:47:16 ---> 6c6f5d670fc6 18:47:16 Step 9/13 : FROM gradle:6.2 18:47:16 ---> 1431c168ffbf 18:47:16 Step 10/13 : ENV USER_GRADLE_HOME=/gradleCache 18:47:16 ---> Running in a94cf5714934 18:47:16 Removing intermediate container a94cf5714934 18:47:16 ---> c88627e57043 18:47:16 Step 11/13 : COPY --from=builder ${USER_GRADLE_HOME} ${USER_GRADLE_HOME} 18:47:19 ---> f26dbcf7405b 18:47:19 Step 12/13 : LABEL arch=amd64 18:47:19 ---> Running in 948bb3dfe6b5 18:47:19 Removing intermediate container 948bb3dfe6b5 18:47:19 ---> 71364a353132 18:47:19 Step 13/13 : LABEL git_sha=0fc94fd9d00d27380f1c1ec12a4bda90b5b788f2 18:47:19 ---> Running in ac55d4196ff5 18:47:19 Removing intermediate container ac55d4196ff5 18:47:19 ---> 8319151aadad 18:47:19 [Warning] One or more build-args [ARCH] were not consumed 18:47:19 Successfully built 8319151aadad 18:47:19 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 18:47:20 provisioning config files... 18:47:20 copy managed file [ci-build-images-settings] to file:/w/workspace/ry_ci-build-images_egp-unit-test@tmp/config7723230982341792298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:47:20 nexus3.edgexfoundry.org:10001 18:47:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:20 Configure a credential helper to remove this warning. See 18:47:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:20 18:47:20 Login Succeeded 18:47:20 nexus3.edgexfoundry.org:10002 18:47:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:21 Configure a credential helper to remove this warning. See 18:47:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:21 18:47:21 Login Succeeded 18:47:21 nexus3.edgexfoundry.org:10003 18:47:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:21 Configure a credential helper to remove this warning. See 18:47:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:21 18:47:21 Login Succeeded 18:47:21 nexus3.edgexfoundry.org:10004 18:47:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:21 Configure a credential helper to remove this warning. See 18:47:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:21 18:47:21 Login Succeeded 18:47:21 docker.io 18:47:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:22 Configure a credential helper to remove this warning. See 18:47:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:22 18:47:22 Login Succeeded [Pipeline] } 18:47:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:47:22 [edgeXDocker.push] Tagging docker image edgex-devops/egp-unit-test with the following tags: 18:47:22 0fc94fd9d00d27380f1c1ec12a4bda90b5b788f2 18:47:22 latest 18:47:22 egp-unit-test 18:47:22 gradle 18:47:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:47:22 + docker tag edgex-devops/egp-unit-test nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:0fc94fd9d00d27380f1c1ec12a4bda90b5b788f2 [Pipeline] isUnix [Pipeline] sh 18:47:23 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:0fc94fd9d00d27380f1c1ec12a4bda90b5b788f2 18:47:23 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] 18:47:23 783087894fa9: Preparing 18:47:23 9cdaad68ed32: Preparing 18:47:23 348701188a2d: Preparing 18:47:23 bbbe012b8a1b: Preparing 18:47:23 1b102f536142: Preparing 18:47:23 85fa6e80789c: Preparing 18:47:23 16542a8fc3be: Preparing 18:47:23 6597da2e2e52: Preparing 18:47:23 977183d4e999: Preparing 18:47:23 c8be1b8f4d60: Preparing 18:47:23 85fa6e80789c: Waiting 18:47:23 16542a8fc3be: Waiting 18:47:23 977183d4e999: Waiting 18:47:23 6597da2e2e52: Waiting 18:47:23 c8be1b8f4d60: Waiting 18:47:24 bbbe012b8a1b: Pushed 18:47:32 85fa6e80789c: Pushed 18:47:32 16542a8fc3be: Pushed 18:47:32 6597da2e2e52: Pushed 18:47:32 977183d4e999: Pushed 18:47:32 783087894fa9: Pushed 18:47:33 9cdaad68ed32: Pushed 18:47:39 1b102f536142: Pushed 18:47:40 c8be1b8f4d60: Pushed 18:47:41 348701188a2d: Pushed 18:47:41 0fc94fd9d00d27380f1c1ec12a4bda90b5b788f2: digest: sha256:0afd0082bd37f23b704bd2e15be8bff5532d95fd248c8e182ab8628a75ccdc2e size: 2422 [Pipeline] isUnix [Pipeline] sh 18:47:41 + docker tag edgex-devops/egp-unit-test nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:latest [Pipeline] isUnix [Pipeline] sh 18:47:41 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:latest 18:47:41 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] 18:47:41 783087894fa9: Preparing 18:47:41 9cdaad68ed32: Preparing 18:47:41 348701188a2d: Preparing 18:47:41 bbbe012b8a1b: Preparing 18:47:41 1b102f536142: Preparing 18:47:41 85fa6e80789c: Preparing 18:47:41 16542a8fc3be: Preparing 18:47:41 6597da2e2e52: Preparing 18:47:41 977183d4e999: Preparing 18:47:41 c8be1b8f4d60: Preparing 18:47:41 16542a8fc3be: Waiting 18:47:41 6597da2e2e52: Waiting 18:47:41 977183d4e999: Waiting 18:47:41 c8be1b8f4d60: Waiting 18:47:41 85fa6e80789c: Waiting 18:47:41 783087894fa9: Layer already exists 18:47:41 348701188a2d: Layer already exists 18:47:41 1b102f536142: Layer already exists 18:47:41 bbbe012b8a1b: Layer already exists 18:47:41 9cdaad68ed32: Layer already exists 18:47:41 6597da2e2e52: Layer already exists 18:47:41 977183d4e999: Layer already exists 18:47:41 16542a8fc3be: Layer already exists 18:47:41 c8be1b8f4d60: Layer already exists 18:47:41 85fa6e80789c: Layer already exists 18:47:41 latest: digest: sha256:0afd0082bd37f23b704bd2e15be8bff5532d95fd248c8e182ab8628a75ccdc2e size: 2422 [Pipeline] isUnix [Pipeline] sh 18:47:42 + docker tag edgex-devops/egp-unit-test nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:egp-unit-test [Pipeline] isUnix [Pipeline] sh 18:47:42 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:egp-unit-test 18:47:42 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] 18:47:42 783087894fa9: Preparing 18:47:42 9cdaad68ed32: Preparing 18:47:42 348701188a2d: Preparing 18:47:42 bbbe012b8a1b: Preparing 18:47:42 1b102f536142: Preparing 18:47:42 85fa6e80789c: Preparing 18:47:42 16542a8fc3be: Preparing 18:47:42 6597da2e2e52: Preparing 18:47:42 977183d4e999: Preparing 18:47:42 c8be1b8f4d60: Preparing 18:47:42 85fa6e80789c: Waiting 18:47:42 16542a8fc3be: Waiting 18:47:42 6597da2e2e52: Waiting 18:47:42 c8be1b8f4d60: Waiting 18:47:42 977183d4e999: Waiting 18:47:42 1b102f536142: Layer already exists 18:47:42 9cdaad68ed32: Layer already exists 18:47:42 348701188a2d: Layer already exists 18:47:42 783087894fa9: Layer already exists 18:47:42 bbbe012b8a1b: Layer already exists 18:47:42 6597da2e2e52: Layer already exists 18:47:42 16542a8fc3be: Layer already exists 18:47:42 85fa6e80789c: Layer already exists 18:47:42 977183d4e999: Layer already exists 18:47:42 c8be1b8f4d60: Layer already exists 18:47:42 egp-unit-test: digest: sha256:0afd0082bd37f23b704bd2e15be8bff5532d95fd248c8e182ab8628a75ccdc2e size: 2422 [Pipeline] isUnix [Pipeline] sh 18:47:42 + docker tag edgex-devops/egp-unit-test nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:gradle [Pipeline] isUnix [Pipeline] sh 18:47:43 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:gradle 18:47:43 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] 18:47:43 783087894fa9: Preparing 18:47:43 9cdaad68ed32: Preparing 18:47:43 348701188a2d: Preparing 18:47:43 bbbe012b8a1b: Preparing 18:47:43 1b102f536142: Preparing 18:47:43 85fa6e80789c: Preparing 18:47:43 16542a8fc3be: Preparing 18:47:43 6597da2e2e52: Preparing 18:47:43 977183d4e999: Preparing 18:47:43 c8be1b8f4d60: Preparing 18:47:43 6597da2e2e52: Waiting 18:47:43 977183d4e999: Waiting 18:47:43 c8be1b8f4d60: Waiting 18:47:43 85fa6e80789c: Waiting 18:47:43 16542a8fc3be: Waiting 18:47:43 1b102f536142: Layer already exists 18:47:43 9cdaad68ed32: Layer already exists 18:47:43 783087894fa9: Layer already exists 18:47:43 bbbe012b8a1b: Layer already exists 18:47:43 348701188a2d: Layer already exists 18:47:43 6597da2e2e52: Layer already exists 18:47:43 85fa6e80789c: Layer already exists 18:47:43 16542a8fc3be: Layer already exists 18:47:43 977183d4e999: Layer already exists 18:47:43 c8be1b8f4d60: Layer already exists 18:47:43 gradle: digest: sha256:0afd0082bd37f23b704bd2e15be8bff5532d95fd248c8e182ab8628a75ccdc2e size: 2422 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [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 18:47:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 18:47:44 18:47:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 18:47:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 18:47:45 latest: Pulling from edgex-devops/edgex-klar 18:47:45 e7c96db7181b: Pulling fs layer 18:47:45 1868ca2cb446: Pulling fs layer 18:47:45 136be5d0fe8e: Pulling fs layer 18:47:45 894bfe63afcb: Pulling fs layer 18:47:45 894bfe63afcb: Waiting 18:47:45 1868ca2cb446: Verifying Checksum 18:47:45 1868ca2cb446: Download complete 18:47:45 136be5d0fe8e: Download complete 18:47:45 e7c96db7181b: Verifying Checksum 18:47:45 e7c96db7181b: Download complete 18:47:45 894bfe63afcb: Verifying Checksum 18:47:45 894bfe63afcb: Download complete 18:47:45 e7c96db7181b: Pull complete 18:47:45 1868ca2cb446: Pull complete 18:47:45 136be5d0fe8e: Pull complete 18:47:45 894bfe63afcb: Pull complete 18:47:45 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 18:47:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 18:47:46 prd-centos7-docker-4c-2g-948 does not seem to be running inside a container 18:47:46 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 18:47:46 $ docker top 4fd248651e4f79432e7d962ee16cc8acd3644f6fb0c28c673386db63eeeb4d8f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:47 + /klar nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:0fc94fd9d00d27380f1c1ec12a4bda90b5b788f2 18:47:47 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 18:48:09 $ docker stop --time=1 4fd248651e4f79432e7d962ee16cc8acd3644f6fb0c28c673386db63eeeb4d8f 18:48:10 $ docker rm -f 4fd248651e4f79432e7d962ee16cc8acd3644f6fb0c28c673386db63eeeb4d8f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 18:48:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 18:48:11 . [Pipeline] withDockerContainer 18:48:11 prd-centos7-docker-4c-2g-948 does not seem to be running inside a container 18:48:11 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 18:48:11 $ docker top fa1eccd0bd631b02fc6304e0bbe88019022887be9dc718d9b14c69a3b96cda3d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:12 + /klar nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:0fc94fd9d00d27380f1c1ec12a4bda90b5b788f2 18:48:12 + tee 18:48:12 clair timeout 1m0s 18:48:12 docker timeout: 1m0s 18:48:12 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 18:48:13 $ docker stop --time=1 fa1eccd0bd631b02fc6304e0bbe88019022887be9dc718d9b14c69a3b96cda3d 18:48:15 $ docker rm -f fa1eccd0bd631b02fc6304e0bbe88019022887be9dc718d9b14c69a3b96cda3d [Pipeline] // withDockerContainer [Pipeline] sh 18:48:15 + mkdir -p /w/workspace/ry_ci-build-images_egp-unit-test/clair-reports [Pipeline] echo 18:48:15 Generated HTML Table Report. Writing to /w/workspace/ry_ci-build-images_egp-unit-test/clair-reports/clair_results_egp-unit-test_0fc94fd9d00d27380f1c1ec12a4bda90b5b788f2.html [Pipeline] writeFile [Pipeline] step 18:48:15 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 18:48:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:48:17 ---> package-listing.sh 18:48:17 ++ facter osfamily 18:48:17 ++ tr '[:upper:]' '[:lower:]' 18:48:17 + OS_FAMILY=redhat 18:48:17 + workspace=/w/workspace/ry_ci-build-images_egp-unit-test 18:48:17 + START_PACKAGES=/tmp/packages_start.txt 18:48:17 + END_PACKAGES=/tmp/packages_end.txt 18:48:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:48:17 + PACKAGES=/tmp/packages_start.txt 18:48:17 + '[' /w/workspace/ry_ci-build-images_egp-unit-test ']' 18:48:17 + PACKAGES=/tmp/packages_end.txt 18:48:17 + case "${OS_FAMILY}" in 18:48:17 + rpm -qa 18:48:17 + sort 18:48:21 + '[' -f /tmp/packages_start.txt ']' 18:48:21 + '[' -f /tmp/packages_end.txt ']' 18:48:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:48:21 + '[' /w/workspace/ry_ci-build-images_egp-unit-test ']' 18:48:21 + mkdir -p /w/workspace/ry_ci-build-images_egp-unit-test/archives/ 18:48:21 + 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 18:48:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:48:22 18:48:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:48:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:48:22 alpine: Pulling from edgex-lftools-log-publisher 18:48:22 c9b1b535fdd9: Pulling fs layer 18:48:22 2cc5ad85d9ab: Pulling fs layer 18:48:22 756a868c4378: Pulling fs layer 18:48:22 444b2fc9a129: Pulling fs layer 18:48:22 ea15f1150254: Pulling fs layer 18:48:22 41b27a9f41bf: Pulling fs layer 18:48:22 28c525ee5125: Pulling fs layer 18:48:22 094b1ea09ed8: Pulling fs layer 18:48:22 138eaada9080: Pulling fs layer 18:48:22 0622d0fa9048: Pulling fs layer 18:48:22 ea15f1150254: Waiting 18:48:22 41b27a9f41bf: Waiting 18:48:22 28c525ee5125: Waiting 18:48:22 094b1ea09ed8: Waiting 18:48:22 138eaada9080: Waiting 18:48:22 0622d0fa9048: Waiting 18:48:22 444b2fc9a129: Waiting 18:48:22 2cc5ad85d9ab: Verifying Checksum 18:48:22 2cc5ad85d9ab: Download complete 18:48:22 444b2fc9a129: Verifying Checksum 18:48:22 444b2fc9a129: Download complete 18:48:22 c9b1b535fdd9: Verifying Checksum 18:48:22 ea15f1150254: Verifying Checksum 18:48:22 ea15f1150254: Download complete 18:48:22 28c525ee5125: Verifying Checksum 18:48:22 28c525ee5125: Download complete 18:48:22 c9b1b535fdd9: Pull complete 18:48:23 756a868c4378: Verifying Checksum 18:48:23 756a868c4378: Download complete 18:48:23 2cc5ad85d9ab: Pull complete 18:48:23 138eaada9080: Verifying Checksum 18:48:23 138eaada9080: Download complete 18:48:23 094b1ea09ed8: Verifying Checksum 18:48:23 094b1ea09ed8: Download complete 18:48:23 0622d0fa9048: Verifying Checksum 18:48:23 0622d0fa9048: Download complete 18:48:23 41b27a9f41bf: Verifying Checksum 18:48:23 41b27a9f41bf: Download complete 18:48:24 756a868c4378: Pull complete 18:48:24 444b2fc9a129: Pull complete 18:48:25 ea15f1150254: Pull complete 18:48:29 41b27a9f41bf: Pull complete 18:48:29 28c525ee5125: Pull complete 18:48:31 094b1ea09ed8: Pull complete 18:48:32 138eaada9080: Pull complete 18:48:32 0622d0fa9048: Pull complete 18:48:32 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 18:48:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:48:32 prd-centos7-docker-4c-2g-948 does not seem to be running inside a container 18:48:32 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:48:33 $ docker top c173f24f9620cf4c789ce069c7ea95ff34f8323ef7b891c73fc4dc3aeea4a98a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:48:33 provisioning config files... 18:48:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_ci-build-images_egp-unit-test@tmp/config4994876177923047831tmp [Pipeline] { [Pipeline] echo 18:48:33 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:48:33 ---> create-netrc.sh [Pipeline] echo 18:48:33 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:48:34 ---> logs-deploy.sh 18:48:34 + ARCHIVE_ARTIFACTS= 18:48:34 + LOGS_SERVER=https://logs.edgexfoundry.org 18:48:34 + '[' https://logs.edgexfoundry.org == None ']' 18:48:34 + NEXUS_URL=https://nexus.edgexfoundry.org 18:48:34 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/egp-unit-test/3 18:48:34 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/ci-build-images/job/egp-unit-test/3/ 18:48:34 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/egp-unit-test/3 /w/workspace/ry_ci-build-images_egp-unit-test 18:48:35 Archives upload complete. 18:48:35 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/egp-unit-test/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/ci-build-images/job/egp-unit-test/3/