Started by user Cherry Wang Connecting to https://api.github.com using edgex-jenkins github personal access token Jenkins-Imposed API Limiter: Current quota for Github API usage has 3026 remaining (838 over budget). Next quota of 5000 in 57 min. Sleeping for 13 min. Jenkins is attempting to evenly distribute GitHub API requests. To configure a different rate limiting strategy, such as having Jenkins restrict GitHub API requests only when near or above the GitHub rate limit, go to "GitHub API usage" under "Configure System" in the Jenkins settings. Jenkins-Imposed API Limiter: Still sleeping, now only 10 min remaining. Jenkins-Imposed API Limiter: Still sleeping, now only 7 min 47 sec remaining. Jenkins-Imposed API Limiter: Still sleeping, now only 4 min 46 sec remaining. Jenkins-Imposed API Limiter: Still sleeping, now only 1 min 45 sec remaining. Obtained Jenkinsfile from b27816a51706f4d2629b60fbe79448e995a7d7ab 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-ssh14858794505551208460.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cefbf83a7544ec8ad1f65f559367c3ce5893bda8 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-ssh9882806262511968486.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 cefbf83a7544ec8ad1f65f559367c3ce5893bda8 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4289312995044274468.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cefbf83a7544ec8ad1f65f559367c3ce5893bda8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cefbf83a7544ec8ad1f65f559367c3ce5893bda8 # timeout=10 Commit message: "Merge pull request #478 from jinlinGuan/issue-477" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16474738405239840018.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/egp-unit-test/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/egp-unit-test/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh149699161449128222.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:egp-unit-test, arch:[amd64], mavenSettings:ci-build-images-settings, dockerImageName:egp-unit-test, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[gradle], releaseBranchOverride:egp-unit-test] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: ci-build-images-settings PROJECT: egp-unit-test USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: egp-unit-test DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: egp-unit-test-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: egp-unit-test DOCKER_CUSTOM_TAGS: gradle [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9674 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 b27816a51706f4d2629b60fbe79448e995a7d7ab (egp-unit-test) Commit message: "Merge pull request #200 from cjoyv/upgrade-gradle" > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b27816a51706f4d2629b60fbe79448e995a7d7ab # timeout=10 > git rev-list --no-walk b27816a51706f4d2629b60fbe79448e995a7d7ab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:20:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:20:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:20:46 ========================================================= 03:20:46 EdgeX Global Pipelines Version Info 03:20:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:20:47 ------------------- 03:20:47 stable info: 03:20:47 ------------------- 03:20:47 Commited By: Cherry Wang cherry@iotechsys.com 03:20:47 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 03:20:47 Message: update stable to v1.0.279 03:20:47 ------------------- 03:20:47 experimental info: 03:20:47 ------------------- 03:20:47 Commited By: **** collab-it+edgex@linuxfoundation.org 03:20:47 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 03:20:47 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 03:20:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 03:20:47 [edgeXSetupEnvironment]: set envvar PROJECT = egp-unit-test [Pipeline] echo 03:20:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 03:20:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:20:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:20:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = egp-unit-test [Pipeline] echo 03:20:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 03:20:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 03:20:48 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 03:20:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:20:48 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 03:20:48 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = egp-unit-test-archive.tar.gz [Pipeline] echo 03:20:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:20:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:20:48 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = egp-unit-test [Pipeline] echo 03:20:48 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = gradle [Pipeline] echo 03:20:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = egp-unit-test [Pipeline] echo 03:20:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = egp-unit-test [Pipeline] echo 03:20:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = egp-unit-test [Pipeline] echo 03:20:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b27816a51706f4d2629b60fbe79448e995a7d7ab [Pipeline] echo 03:20:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b27816a [Pipeline] echo 03:20:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:20:48 provisioning config files... 03:20:48 copy managed file [ci-build-images-settings] to file:/w/workspace/ry_ci-build-images_egp-unit-test@tmp/config4834673295609576517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:20:48 ---> ****-login.sh 03:20:48 nexus3.edgexfoundry.org:10001 03:20:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:49 03:20:49 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 03:20:49 Configure a credential helper to remove this warning. See 03:20:49 https://docs.****.com/go/credential-store/ 03:20:49 03:20:49 Login Succeeded 03:20:49 nexus3.edgexfoundry.org:10002 03:20:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:49 03:20:49 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 03:20:49 Configure a credential helper to remove this warning. See 03:20:49 https://docs.****.com/go/credential-store/ 03:20:49 03:20:49 Login Succeeded 03:20:49 nexus3.edgexfoundry.org:10003 03:20:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:49 03:20:49 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 03:20:49 Configure a credential helper to remove this warning. See 03:20:49 https://docs.****.com/go/credential-store/ 03:20:49 03:20:49 Login Succeeded 03:20:49 nexus3.edgexfoundry.org:10004 03:20:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:49 03:20:49 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 03:20:49 Configure a credential helper to remove this warning. See 03:20:49 https://docs.****.com/go/credential-store/ 03:20:49 03:20:49 Login Succeeded 03:20:49 ****.io 03:20:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:49 03:20:49 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 03:20:49 Configure a credential helper to remove this warning. See 03:20:49 https://docs.****.com/go/credential-store/ 03:20:49 03:20:49 Login Succeeded 03:20:49 ---> ****-login.sh ends [Pipeline] } 03:20:49 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] getContext [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] getContext [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:20:49 provisioning config files... [Pipeline] // stage [Pipeline] } 03:20:49 copy managed file [ci-build-images-settings] to file:/w/workspace/ry_ci-build-images_egp-unit-test@tmp/config1430818813125830115tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:20:50 ---> ****-login.sh 03:20:50 nexus3.edgexfoundry.org:10001 03:20:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:50 Login Succeeded 03:20:50 nexus3.edgexfoundry.org:10002 03:20:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:50 Login Succeeded 03:20:50 nexus3.edgexfoundry.org:10003 03:20:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:50 Login Succeeded 03:20:50 nexus3.edgexfoundry.org:10004 03:20:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:50 Login Succeeded 03:20:50 ****.io 03:20:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:50 Login Succeeded 03:20:50 ---> ****-login.sh ends [Pipeline] } 03:20:50 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 03:20:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:20:51 + ls -al . 03:20:51 total 20 03:20:51 drwxrwxr-x 3 jenkins jenkins 4096 May 20 03:20 . 03:20:51 drwxrwxr-x 4 jenkins jenkins 4096 May 20 03:20 .. 03:20:51 drwxrwxr-x 8 jenkins jenkins 4096 May 20 03:20 .git 03:20:51 -rw-rw-r-- 1 jenkins jenkins 955 May 20 03:20 Dockerfile 03:20:51 -rw-rw-r-- 1 jenkins jenkins 904 May 20 03:20 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:20:52 + docker build -t edgex-devops/egp-unit-test -f Dockerfile --build-arg ARCH=amd64 --label git_sha=b27816a51706f4d2629b60fbe79448e995a7d7ab --label arch=amd64 . 03:20:53 #0 building with "default" instance using docker driver 03:20:53 03:20:53 #1 [internal] load build definition from Dockerfile 03:20:53 #1 transferring dockerfile: 994B done 03:20:53 #1 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 8) 03:20:53 #1 DONE 0.0s 03:20:53 03:20:53 #2 [internal] load metadata for docker.io/library/gradle:7.5.1-jdk8 03:20:53 #2 DONE 0.7s 03:20:53 03:20:53 #3 [internal] load .dockerignore 03:20:53 #3 transferring context: 2B done 03:20:53 #3 DONE 0.0s 03:20:53 03:20:53 #4 [builder 1/5] FROM docker.io/library/gradle:7.5.1-jdk8@sha256:e36e80100620d3344ff15dbb485b526f4bfc08275e38d1a30191e6524133917d 03:20:53 #4 resolve docker.io/library/gradle:7.5.1-jdk8@sha256:e36e80100620d3344ff15dbb485b526f4bfc08275e38d1a30191e6524133917d 0.0s done 03:20:53 #4 sha256:4ced2591451da3a02e2b6bb44752b9e3f00d77789921be4df5082fb9f9880ad0 0B / 12.44MB 0.1s 03:20:53 #4 sha256:22cd2b580a647650c8d650377e6ad35526f51d10dd0c29b4e054402fdc90955a 0B / 103.53MB 0.1s 03:20:53 #4 sha256:1a090df7a3d4e91646b1cb45f4468b2ca1c3a63172431fbdf7a7ec16c8554bf7 1.79kB / 1.79kB done 03:20:53 #4 sha256:787840feef8a7186d1e0ba7c359a22a64ff4d17df93df31dba9c62780bbcee50 9.10kB / 9.10kB done 03:20:53 #4 sha256:e96e057aae67380a4ddb16c337c5c3669d97fdff69ec537f02aa2cc30d814281 0B / 30.43MB 0.1s 03:20:53 #4 sha256:e36e80100620d3344ff15dbb485b526f4bfc08275e38d1a30191e6524133917d 992B / 992B done 03:20:54 #4 ... 03:20:54 03:20:54 #5 [builder 3/5] ADD https://github.com/edgexfoundry/edgex-global-pipelines/archive/stable.tar.gz . 03:20:54 #5 DONE 0.5s 03:20:54 03:20:54 #4 [builder 1/5] FROM docker.io/library/gradle:7.5.1-jdk8@sha256:e36e80100620d3344ff15dbb485b526f4bfc08275e38d1a30191e6524133917d 03:20:54 #4 sha256:4ced2591451da3a02e2b6bb44752b9e3f00d77789921be4df5082fb9f9880ad0 12.44MB / 12.44MB 0.9s 03:20:54 #4 sha256:4ced2591451da3a02e2b6bb44752b9e3f00d77789921be4df5082fb9f9880ad0 12.44MB / 12.44MB 1.0s done 03:20:54 #4 sha256:e96e057aae67380a4ddb16c337c5c3669d97fdff69ec537f02aa2cc30d814281 10.49MB / 30.43MB 1.1s 03:20:54 #4 sha256:191e5a2019b63444c66595f90922ab90da59ba089d35c72bc534874fc829341c 0B / 160B 1.1s 03:20:55 #4 sha256:e96e057aae67380a4ddb16c337c5c3669d97fdff69ec537f02aa2cc30d814281 30.43MB / 30.43MB 1.3s 03:20:55 #4 sha256:191e5a2019b63444c66595f90922ab90da59ba089d35c72bc534874fc829341c 160B / 160B 1.3s 03:20:55 #4 sha256:e96e057aae67380a4ddb16c337c5c3669d97fdff69ec537f02aa2cc30d814281 30.43MB / 30.43MB 1.4s done 03:20:55 #4 extracting sha256:e96e057aae67380a4ddb16c337c5c3669d97fdff69ec537f02aa2cc30d814281 03:20:55 #4 sha256:a220e86977721312993f4aed6d0c7143e6ab40706e48cb75f4618fa12b0554da 0B / 4.37kB 1.5s 03:20:55 #4 sha256:a8c31a0327fe409853b4cb20bde607512bd030a734306c20926fef154eb0b4cc 0B / 51.25MB 1.5s 03:20:55 #4 sha256:191e5a2019b63444c66595f90922ab90da59ba089d35c72bc534874fc829341c 160B / 160B 1.4s done 03:20:55 #4 sha256:a220e86977721312993f4aed6d0c7143e6ab40706e48cb75f4618fa12b0554da 4.37kB / 4.37kB 1.7s done 03:20:55 #4 sha256:35ee11b8a32ad4131dcae2c8e3d6f5543e72939d1763e7b65118381fd6683510 0B / 120.66MB 1.8s 03:20:56 #4 extracting sha256:e96e057aae67380a4ddb16c337c5c3669d97fdff69ec537f02aa2cc30d814281 0.9s done 03:20:56 #4 extracting sha256:4ced2591451da3a02e2b6bb44752b9e3f00d77789921be4df5082fb9f9880ad0 03:20:56 #4 sha256:22cd2b580a647650c8d650377e6ad35526f51d10dd0c29b4e054402fdc90955a 6.29MB / 103.53MB 2.9s 03:20:56 #4 sha256:22cd2b580a647650c8d650377e6ad35526f51d10dd0c29b4e054402fdc90955a 18.87MB / 103.53MB 3.0s 03:20:56 #4 sha256:22cd2b580a647650c8d650377e6ad35526f51d10dd0c29b4e054402fdc90955a 36.70MB / 103.53MB 3.1s 03:20:56 #4 sha256:22cd2b580a647650c8d650377e6ad35526f51d10dd0c29b4e054402fdc90955a 55.57MB / 103.53MB 3.2s 03:20:56 #4 sha256:a8c31a0327fe409853b4cb20bde607512bd030a734306c20926fef154eb0b4cc 6.29MB / 51.25MB 3.2s 03:20:56 #4 sha256:22cd2b580a647650c8d650377e6ad35526f51d10dd0c29b4e054402fdc90955a 76.55MB / 103.53MB 3.3s 03:20:56 #4 sha256:a8c31a0327fe409853b4cb20bde607512bd030a734306c20926fef154eb0b4cc 12.58MB / 51.25MB 3.3s 03:20:57 #4 sha256:22cd2b580a647650c8d650377e6ad35526f51d10dd0c29b4e054402fdc90955a 103.53MB / 103.53MB 3.5s 03:20:57 #4 sha256:a8c31a0327fe409853b4cb20bde607512bd030a734306c20926fef154eb0b4cc 34.60MB / 51.25MB 3.5s 03:20:57 #4 extracting sha256:4ced2591451da3a02e2b6bb44752b9e3f00d77789921be4df5082fb9f9880ad0 0.9s done 03:20:57 #4 sha256:a8c31a0327fe409853b4cb20bde607512bd030a734306c20926fef154eb0b4cc 51.25MB / 51.25MB 3.7s 03:20:58 #4 extracting sha256:22cd2b580a647650c8d650377e6ad35526f51d10dd0c29b4e054402fdc90955a 03:20:58 #4 sha256:22cd2b580a647650c8d650377e6ad35526f51d10dd0c29b4e054402fdc90955a 103.53MB / 103.53MB 4.1s done 03:20:58 #4 sha256:a8c31a0327fe409853b4cb20bde607512bd030a734306c20926fef154eb0b4cc 51.25MB / 51.25MB 4.1s done 03:20:58 #4 sha256:35ee11b8a32ad4131dcae2c8e3d6f5543e72939d1763e7b65118381fd6683510 18.87MB / 120.66MB 4.9s 03:20:58 #4 sha256:35ee11b8a32ad4131dcae2c8e3d6f5543e72939d1763e7b65118381fd6683510 36.70MB / 120.66MB 5.0s 03:20:58 #4 sha256:35ee11b8a32ad4131dcae2c8e3d6f5543e72939d1763e7b65118381fd6683510 57.67MB / 120.66MB 5.1s 03:20:58 #4 sha256:35ee11b8a32ad4131dcae2c8e3d6f5543e72939d1763e7b65118381fd6683510 80.74MB / 120.66MB 5.2s 03:20:59 #4 sha256:35ee11b8a32ad4131dcae2c8e3d6f5543e72939d1763e7b65118381fd6683510 103.81MB / 120.66MB 5.3s 03:20:59 #4 sha256:35ee11b8a32ad4131dcae2c8e3d6f5543e72939d1763e7b65118381fd6683510 120.66MB / 120.66MB 5.5s 03:20:59 #4 extracting sha256:22cd2b580a647650c8d650377e6ad35526f51d10dd0c29b4e054402fdc90955a 1.2s done 03:21:00 #4 sha256:35ee11b8a32ad4131dcae2c8e3d6f5543e72939d1763e7b65118381fd6683510 120.66MB / 120.66MB 6.2s done 03:21:00 #4 extracting sha256:191e5a2019b63444c66595f90922ab90da59ba089d35c72bc534874fc829341c done 03:21:00 #4 extracting sha256:a220e86977721312993f4aed6d0c7143e6ab40706e48cb75f4618fa12b0554da 03:21:00 #4 extracting sha256:a220e86977721312993f4aed6d0c7143e6ab40706e48cb75f4618fa12b0554da done 03:21:00 #4 extracting sha256:a8c31a0327fe409853b4cb20bde607512bd030a734306c20926fef154eb0b4cc 03:21:02 #4 extracting sha256:a8c31a0327fe409853b4cb20bde607512bd030a734306c20926fef154eb0b4cc 2.3s done 03:21:02 #4 extracting sha256:35ee11b8a32ad4131dcae2c8e3d6f5543e72939d1763e7b65118381fd6683510 03:21:03 #4 extracting sha256:35ee11b8a32ad4131dcae2c8e3d6f5543e72939d1763e7b65118381fd6683510 0.9s done 03:21:03 #4 DONE 10.0s 03:21:03 03:21:03 #6 [builder 2/5] WORKDIR /code 03:21:09 #6 DONE 4.5s 03:21:09 03:21:09 #7 [builder 3/5] ADD https://github.com/edgexfoundry/edgex-global-pipelines/archive/stable.tar.gz . 03:21:09 #7 DONE 0.0s 03:21:09 03:21:09 #8 [builder 4/5] RUN tar -xzf stable.tar.gz && mv edgex-global-pipelines-stable/* . && rm -rf edgex-global-pipelines-stable && rm -rf stable.tar.gz 03:21:09 #8 DONE 0.4s 03:21:09 03:21:09 #9 [builder 5/5] RUN gradle -Dgradle.user.home=/gradleCache testClasses 03:21:09 #9 0.749 03:21:09 #9 0.750 Welcome to Gradle 7.5.1! 03:21:09 #9 0.750 03:21:09 #9 0.750 Here are the highlights of this release: 03:21:09 #9 0.750 - Support for Java 18 03:21:09 #9 0.751 - Support for building with Groovy 4 03:21:09 #9 0.751 - Much more responsive continuous builds 03:21:09 #9 0.751 - Improved diagnostics for dependency resolution 03:21:09 #9 0.751 03:21:09 #9 0.752 For more details see https://docs.gradle.org/7.5.1/release-notes.html 03:21:09 #9 0.752 03:21:09 #9 0.846 Starting a Gradle Daemon (subsequent builds will be faster) 03:21:14 #9 5.550 > Task :compileJava NO-SOURCE 03:21:21 #9 12.25 > Task :compileGroovy 03:21:21 #9 12.25 > Task :processResources NO-SOURCE 03:21:21 #9 12.25 > Task :classes 03:21:21 #9 12.25 > Task :compileTestJava NO-SOURCE 03:21:21 #9 12.35 > Task :copyGlobalLibVars 03:21:36 #9 26.75 > Task :compileTestGroovy 03:21:36 #9 26.75 > Task :processTestResources 03:21:36 #9 26.75 > Task :testClasses 03:21:36 #9 26.75 03:21:36 #9 26.75 BUILD SUCCESSFUL in 26s 03:21:36 #9 26.75 4 actionable tasks: 4 executed 03:21:36 #9 DONE 27.5s 03:21:36 03:21:36 #10 [stage-1 2/2] COPY --from=builder /gradleCache /gradleCache 03:21:37 #10 DONE 0.9s 03:21:37 03:21:37 #11 exporting to image 03:21:37 #11 exporting layers 03:21:38 #11 exporting layers 0.5s done 03:21:38 #11 writing image sha256:694b7dfc252554c4efd8bf06e4b4ca67c3125d28259daf85c35f8ac3918dae18 done 03:21:38 #11 naming to docker.io/edgex-devops/egp-unit-test done 03:21:38 #11 DONE 0.5s 03:21:38 03:21:38 1 warning found (use docker --debug to expand): 03:21:38  - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 8) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] echo 03:21:38 [edgeXDocker.push] Tagging docker image egp-unit-test with the following tags: 03:21:38 b27816a51706f4d2629b60fbe79448e995a7d7ab 03:21:38 latest 03:21:38 egp-unit-test 03:21:38 gradle 03:21:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:38 + docker tag edgex-devops/egp-unit-test nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:b27816a51706f4d2629b60fbe79448e995a7d7ab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:38 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:b27816a51706f4d2629b60fbe79448e995a7d7ab 03:21:38 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] 03:21:38 a8f15d02d0cd: Preparing 03:21:38 fd7df38277c8: Preparing 03:21:38 c4efe1a684b4: Preparing 03:21:38 5578c56ed086: Preparing 03:21:38 e8f11c94ceb7: Preparing 03:21:38 fba35c94ab1e: Preparing 03:21:38 aa2e51f5ab8a: Preparing 03:21:38 f4a670ac65b6: Preparing 03:21:38 fba35c94ab1e: Waiting 03:21:38 aa2e51f5ab8a: Waiting 03:21:38 f4a670ac65b6: Waiting 03:21:38 e8f11c94ceb7: Layer already exists 03:21:38 fd7df38277c8: Layer already exists 03:21:38 5578c56ed086: Layer already exists 03:21:38 c4efe1a684b4: Layer already exists 03:21:38 fba35c94ab1e: Layer already exists 03:21:38 aa2e51f5ab8a: Layer already exists 03:21:38 f4a670ac65b6: Layer already exists 03:21:48 a8f15d02d0cd: Pushed 03:21:48 b27816a51706f4d2629b60fbe79448e995a7d7ab: digest: sha256:dc725fa19594ab7f67f936c2151d65bd417b9725413bf1b0c004cc88e83e661d size: 2006 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:49 + docker tag edgex-devops/egp-unit-test nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:49 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:latest 03:21:49 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] 03:21:49 a8f15d02d0cd: Preparing 03:21:49 fd7df38277c8: Preparing 03:21:49 c4efe1a684b4: Preparing 03:21:49 5578c56ed086: Preparing 03:21:49 e8f11c94ceb7: Preparing 03:21:49 fba35c94ab1e: Preparing 03:21:49 aa2e51f5ab8a: Preparing 03:21:49 f4a670ac65b6: Preparing 03:21:49 fba35c94ab1e: Waiting 03:21:49 aa2e51f5ab8a: Waiting 03:21:49 f4a670ac65b6: Waiting 03:21:49 5578c56ed086: Layer already exists 03:21:49 e8f11c94ceb7: Layer already exists 03:21:49 c4efe1a684b4: Layer already exists 03:21:49 a8f15d02d0cd: Layer already exists 03:21:49 fd7df38277c8: Layer already exists 03:21:49 f4a670ac65b6: Layer already exists 03:21:49 aa2e51f5ab8a: Layer already exists 03:21:49 fba35c94ab1e: Layer already exists 03:21:49 latest: digest: sha256:dc725fa19594ab7f67f936c2151d65bd417b9725413bf1b0c004cc88e83e661d size: 2006 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:49 + docker tag edgex-devops/egp-unit-test nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:egp-unit-test [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:50 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:egp-unit-test 03:21:50 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] 03:21:50 a8f15d02d0cd: Preparing 03:21:50 fd7df38277c8: Preparing 03:21:50 c4efe1a684b4: Preparing 03:21:50 5578c56ed086: Preparing 03:21:50 e8f11c94ceb7: Preparing 03:21:50 fba35c94ab1e: Preparing 03:21:50 aa2e51f5ab8a: Preparing 03:21:50 f4a670ac65b6: Preparing 03:21:50 fba35c94ab1e: Waiting 03:21:50 aa2e51f5ab8a: Waiting 03:21:50 f4a670ac65b6: Waiting 03:21:50 5578c56ed086: Layer already exists 03:21:50 e8f11c94ceb7: Layer already exists 03:21:50 fd7df38277c8: Layer already exists 03:21:50 c4efe1a684b4: Layer already exists 03:21:50 a8f15d02d0cd: Layer already exists 03:21:50 fba35c94ab1e: Layer already exists 03:21:50 aa2e51f5ab8a: Layer already exists 03:21:50 f4a670ac65b6: Layer already exists 03:21:50 egp-unit-test: digest: sha256:dc725fa19594ab7f67f936c2151d65bd417b9725413bf1b0c004cc88e83e661d size: 2006 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:50 + docker tag edgex-devops/egp-unit-test nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:gradle [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:50 + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:gradle 03:21:50 The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] 03:21:50 a8f15d02d0cd: Preparing 03:21:50 fd7df38277c8: Preparing 03:21:50 c4efe1a684b4: Preparing 03:21:50 5578c56ed086: Preparing 03:21:50 e8f11c94ceb7: Preparing 03:21:50 fba35c94ab1e: Preparing 03:21:50 aa2e51f5ab8a: Preparing 03:21:50 f4a670ac65b6: Preparing 03:21:50 fba35c94ab1e: Waiting 03:21:50 aa2e51f5ab8a: Waiting 03:21:50 f4a670ac65b6: Waiting 03:21:50 fd7df38277c8: Layer already exists 03:21:50 e8f11c94ceb7: Layer already exists 03:21:50 5578c56ed086: Layer already exists 03:21:50 a8f15d02d0cd: Layer already exists 03:21:50 c4efe1a684b4: Layer already exists 03:21:50 aa2e51f5ab8a: Layer already exists 03:21:50 fba35c94ab1e: Layer already exists 03:21:50 f4a670ac65b6: Layer already exists 03:21:50 gradle: digest: sha256:dc725fa19594ab7f67f936c2151d65bd417b9725413bf1b0c004cc88e83e661d size: 2006 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:21:50 ===================================================== [Pipeline] echo 03:21:50 taggedImages: 03:21:50 - nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:b27816a51706f4d2629b60fbe79448e995a7d7ab 03:21:50 - nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:latest 03:21:50 - nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:egp-unit-test 03:21:50 - 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:21:51 03:21:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:21:51 latest: Pulling from edgex-lftools-log-publisher 03:21:51 5eb5b503b376: Pulling fs layer 03:21:51 5c69ac0246d0: Pulling fs layer 03:21:51 ec43610c2a17: Pulling fs layer 03:21:51 3a2ae6a8a46f: Pulling fs layer 03:21:51 33b1e0a273af: Pulling fs layer 03:21:51 5d3b04190fa2: Pulling fs layer 03:21:51 2f39f015ded8: Pulling fs layer 03:21:51 3a2ae6a8a46f: Waiting 03:21:51 33b1e0a273af: Waiting 03:21:51 2f39f015ded8: Waiting 03:21:51 5c69ac0246d0: Download complete 03:21:51 3a2ae6a8a46f: Download complete 03:21:51 33b1e0a273af: Verifying Checksum 03:21:51 33b1e0a273af: Download complete 03:21:51 ec43610c2a17: Verifying Checksum 03:21:51 ec43610c2a17: Download complete 03:21:51 5d3b04190fa2: Verifying Checksum 03:21:51 5d3b04190fa2: Download complete 03:21:51 5eb5b503b376: Verifying Checksum 03:21:51 5eb5b503b376: Download complete 03:21:53 5eb5b503b376: Pull complete 03:21:53 5c69ac0246d0: Pull complete 03:21:54 ec43610c2a17: Pull complete 03:21:54 3a2ae6a8a46f: Pull complete 03:21:54 33b1e0a273af: Pull complete 03:21:54 5d3b04190fa2: Pull complete 03:22:01 2f39f015ded8: Pull complete 03:22:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:22:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:22:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:22:01 prd-ubuntu20.04-docker-8c-8g-9674 does not seem to be running inside a container 03:22:01 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:22:05 $ docker top ea05c5a31ab24df393f23557cb19e8b8026862cba0300024405c6a59cff57a1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:22:05 ---> job-cost.sh 03:22:05 lf-activate-venv: SKIPPING 03:22:05 INFO: No Stack... 03:22:06 INFO: Retrieving Pricing Info for: v3-standard-8 03:22:06 INFO: Archiving Costs [Pipeline] sh 03:22:06 + cat /w/workspace/ry_ci-build-images_egp-unit-test/archives/cost.csv 03:22:06 + cut -d, -f6 [Pipeline] lock 03:22:06 Trying to acquire lock on [Resource: jenkins-edgexfoundry-ci-build-images-egp-unit-test-10-stack-cost] 03:22:06 Resource [jenkins-edgexfoundry-ci-build-images-egp-unit-test-10-stack-cost] did not exist. Created. 03:22:06 Lock acquired on [Resource: jenkins-edgexfoundry-ci-build-images-egp-unit-test-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:22:07 + echo total: 0.2199999988079071 [Pipeline] stash 03:22:07 Stashed 1 file(s) [Pipeline] } 03:22:07 Lock released on resource [Resource: jenkins-edgexfoundry-ci-build-images-egp-unit-test-10-stack-cost] [Pipeline] // lock [Pipeline] } 03:22:07 $ docker stop --time=1 ea05c5a31ab24df393f23557cb19e8b8026862cba0300024405c6a59cff57a1b 03:22:08 $ docker rm -f --volumes ea05c5a31ab24df393f23557cb19e8b8026862cba0300024405c6a59cff57a1b [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] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:22:09 + [ -d /w/workspace/ry_ci-build-images_egp-unit-test/archives ] 03:22:09 + ls -al /w/workspace/ry_ci-build-images_egp-unit-test/archives 03:22:09 total 16 03:22:09 drwxr-xr-x 3 root root 4096 May 20 03:22 . 03:22:09 drwxrwxr-x 4 jenkins jenkins 4096 May 20 03:22 .. 03:22:09 drwxr-xr-x 2 root root 4096 May 20 03:22 cost 03:22:09 -rw-r--r-- 1 root root 95 May 20 03:22 cost.csv 03:22:09 + sudo chown -R jenkins:jenkins /w/workspace/ry_ci-build-images_egp-unit-test/archives 03:22:09 + ls -al /w/workspace/ry_ci-build-images_egp-unit-test/archives 03:22:09 total 16 03:22:09 drwxr-xr-x 3 jenkins jenkins 4096 May 20 03:22 . 03:22:09 drwxrwxr-x 4 jenkins jenkins 4096 May 20 03:22 .. 03:22:09 drwxr-xr-x 2 jenkins jenkins 4096 May 20 03:22 cost 03:22:09 -rw-r--r-- 1 jenkins jenkins 95 May 20 03:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:22:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:22:10 ---> package-listing.sh 03:22:10 ++ tr '[:upper:]' '[:lower:]' 03:22:10 ++ facter osfamily 03:22:11 + OS_FAMILY=debian 03:22:11 + workspace=/w/workspace/ry_ci-build-images_egp-unit-test 03:22:11 + START_PACKAGES=/tmp/packages_start.txt 03:22:11 + END_PACKAGES=/tmp/packages_end.txt 03:22:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:22:11 + PACKAGES=/tmp/packages_start.txt 03:22:11 + '[' /w/workspace/ry_ci-build-images_egp-unit-test ']' 03:22:11 + PACKAGES=/tmp/packages_end.txt 03:22:11 + case "${OS_FAMILY}" in 03:22:11 + dpkg -l 03:22:11 + grep '^ii' 03:22:11 + '[' -f /tmp/packages_start.txt ']' 03:22:11 + '[' -f /tmp/packages_end.txt ']' 03:22:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:22:11 + '[' /w/workspace/ry_ci-build-images_egp-unit-test ']' 03:22:11 + mkdir -p /w/workspace/ry_ci-build-images_egp-unit-test/archives/ 03:22:11 + 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 03:22:11 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 03:22:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:22:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:22:12 prd-ubuntu20.04-docker-8c-8g-9674 does not seem to be running inside a container 03:22:12 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:22:12 $ docker top 3b79832137c76876c23e47efe7f5d167a91c37872963e6266b96fe88cec375d4 -eo pid,comm [Pipeline] { [Pipeline] sh 03:22:12 + touch /tmp/pre-build-complete [Pipeline] sh 03:22:13 + mkdir -p /var/log/sysstat [Pipeline] sh 03:22:13 + ls /var/log/sa-host 03:22:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:22:13 provisioning config files... 03:22:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_ci-build-images_egp-unit-test@tmp/config4417211056073092312tmp [Pipeline] { [Pipeline] echo 03:22:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:22:14 ---> create-netrc.sh [Pipeline] } 03:22:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:22:14 ---> python-tools-install.sh [Pipeline] echo 03:22:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:22:14 ---> sudo-logs.sh 03:22:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:22:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:22:15 ---> job-cost.sh 03:22:15 lf-activate-venv: SKIPPING 03:22:15 DEBUG: total: 0.2199999988079071 03:22:15 INFO: Retrieving Stack Cost... 03:22:15 INFO: Retrieving Pricing Info for: v3-standard-8 03:22:15 INFO: Archiving Costs [Pipeline] echo 03:22:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:22:15 ---> logs-deploy.sh 03:22:15 lf-activate-venv: SKIPPING 03:22:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/egp-unit-test/10 03:22:15 INFO: archiving workspace using pattern(s): 03:22:16 Archives upload complete. 03:22:16 INFO: archiving logs to Nexus