Pull request #200 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cjoyv for edgexfoundry/ci-build-images Obtained Jenkinsfile from bf6c9b9f0ab972a62d07826c776707b35f9b9f7a+5aa5cd65e890575fed12cd4163f33c8a5bf56f4d (b3dc4648a81599249bf11f33784e5cbf983c9dc2) 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-ssh46236614954201586.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13478181719920442154.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-200/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-200/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10295485225520343482.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-200/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12031755514588758455.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh17143493876094492569.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-200/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-200/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2538199688128495051.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:egp-unit-test, arch:[amd64], mavenSettings:ci-build-images-settings, dockerImageName:egp-unit-test, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[gradle], releaseBranchOverride:egp-unit-test] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: ci-build-images-settings PROJECT: egp-unit-test USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: egp-unit-test DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: egp-unit-test-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: egp-unit-test DOCKER_CUSTOM_TAGS: gradle [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8340 in /w/workspace/exfoundry_ci-build-images_PR-200 [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/exfoundry_ci-build-images_PR-200 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/200/head:refs/remotes/origin/PR-200 +refs/heads/egp-unit-test:refs/remotes/origin/egp-unit-test # timeout=10 Merging remotes/origin/egp-unit-test commit 5aa5cd65e890575fed12cd4163f33c8a5bf56f4d into PR head commit bf6c9b9f0ab972a62d07826c776707b35f9b9f7a Merge succeeded, producing bf6c9b9f0ab972a62d07826c776707b35f9b9f7a Checking out Revision bf6c9b9f0ab972a62d07826c776707b35f9b9f7a (PR-200) > git config core.sparsecheckout # timeout=10 > git checkout -f bf6c9b9f0ab972a62d07826c776707b35f9b9f7a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 5aa5cd65e890575fed12cd4163f33c8a5bf56f4d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf6c9b9f0ab972a62d07826c776707b35f9b9f7a # timeout=10 Commit message: "ci: upgrade gradle image from 6.5 to 7.5.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:16:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:16:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:16:48 ========================================================= 16:16:48 EdgeX Global Pipelines Version Info 16:16:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:16:49 ------------------- 16:16:49 stable info: 16:16:49 ------------------- 16:16:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:16:49 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:16:49 Message: update stable to v1.0.239 16:16:49 ------------------- 16:16:49 experimental info: 16:16:49 ------------------- 16:16:49 Commited By: **** collab-it+edgex@linuxfoundation.org 16:16:49 Commit SHA: d2e0ee4e0e42c6415879ffb8430f990d8bf891ca 16:16:49 Message: update experimental to v1.0.241 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar PROJECT = egp-unit-test [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = egp-unit-test [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = egp-unit-test-archive.tar.gz [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = egp-unit-test [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = gradle [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-200 [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-200 [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-200 [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf6c9b9f0ab972a62d07826c776707b35f9b9f7a [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf6c9b9 [Pipeline] echo 16:16:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:16:50 provisioning config files... 16:16:51 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-200@tmp/config10441967296886098737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:16:51 ---> docker-login.sh 16:16:51 nexus3.edgexfoundry.org:10001 16:16:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:51 Configure a credential helper to remove this warning. See 16:16:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:51 16:16:51 Login Succeeded 16:16:51 nexus3.edgexfoundry.org:10002 16:16:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:51 Configure a credential helper to remove this warning. See 16:16:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:51 16:16:51 Login Succeeded 16:16:51 nexus3.edgexfoundry.org:10003 16:16:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:51 Configure a credential helper to remove this warning. See 16:16:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:51 16:16:51 Login Succeeded 16:16:51 nexus3.edgexfoundry.org:10004 16:16:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:52 Configure a credential helper to remove this warning. See 16:16:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:52 16:16:52 Login Succeeded 16:16:52 docker.io 16:16:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:52 Configure a credential helper to remove this warning. See 16:16:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:52 16:16:52 Login Succeeded 16:16:52 ---> docker-login.sh ends [Pipeline] } 16:16:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Semver Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Docker Image) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:16:53 provisioning config files... 16:16:53 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-200@tmp/config15204614061292354895tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:16:53 ---> docker-login.sh 16:16:53 nexus3.edgexfoundry.org:10001 16:16:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:53 Configure a credential helper to remove this warning. See 16:16:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:53 16:16:53 Login Succeeded 16:16:53 nexus3.edgexfoundry.org:10002 16:16:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:53 Configure a credential helper to remove this warning. See 16:16:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:53 16:16:53 Login Succeeded 16:16:54 nexus3.edgexfoundry.org:10003 16:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:54 Configure a credential helper to remove this warning. See 16:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:54 16:16:54 Login Succeeded 16:16:54 nexus3.edgexfoundry.org:10004 16:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:54 Configure a credential helper to remove this warning. See 16:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:54 16:16:54 Login Succeeded 16:16:54 docker.io 16:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:54 Configure a credential helper to remove this warning. See 16:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:54 16:16:54 Login Succeeded 16:16:54 ---> docker-login.sh ends [Pipeline] } 16:16:54 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 16:16:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:16:55 + ls -al . 16:16:55 total 20 16:16:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 16:16 . 16:16:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 16:16 .. 16:16:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 16:16 .git 16:16:55 -rw-rw-r-- 1 jenkins jenkins 948 Oct 17 16:16 Dockerfile 16:16:55 -rw-rw-r-- 1 jenkins jenkins 904 Oct 17 16:16 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:56 + docker build -t edgex-devops/egp-unit-test -f Dockerfile --build-arg ARCH=amd64 --label git_sha=bf6c9b9f0ab972a62d07826c776707b35f9b9f7a --label arch=amd64 . 16:16:56 Sending build context to Docker daemon 439.3kB 16:16:56 Step 1/13 : FROM gradle:7.5.1-jdk8 as builder 16:16:56 7.5.1-jdk8: Pulling from library/gradle 16:16:57 cf92e523b49e: Pulling fs layer 16:16:57 be4c7f172af2: Pulling fs layer 16:16:57 97bb7e3e8c3e: Pulling fs layer 16:16:57 bb4644ab39ee: Pulling fs layer 16:16:57 d4492013742c: Pulling fs layer 16:16:57 231ec04315be: Pulling fs layer 16:16:57 5c39a9b39fdb: Pulling fs layer 16:16:57 bb4644ab39ee: Waiting 16:16:57 d4492013742c: Waiting 16:16:57 231ec04315be: Waiting 16:16:57 5c39a9b39fdb: Waiting 16:16:57 be4c7f172af2: Verifying Checksum 16:16:57 be4c7f172af2: Download complete 16:16:57 bb4644ab39ee: Download complete 16:16:57 cf92e523b49e: Verifying Checksum 16:16:57 cf92e523b49e: Download complete 16:16:58 231ec04315be: Verifying Checksum 16:16:58 231ec04315be: Download complete 16:16:58 d4492013742c: Verifying Checksum 16:16:58 d4492013742c: Download complete 16:16:58 cf92e523b49e: Pull complete 16:16:59 97bb7e3e8c3e: Verifying Checksum 16:16:59 97bb7e3e8c3e: Download complete 16:16:59 be4c7f172af2: Pull complete 16:17:00 5c39a9b39fdb: Verifying Checksum 16:17:00 5c39a9b39fdb: Download complete 16:17:00 97bb7e3e8c3e: Pull complete 16:17:01 bb4644ab39ee: Pull complete 16:17:01 d4492013742c: Pull complete 16:17:03 231ec04315be: Pull complete 16:17:04 5c39a9b39fdb: Pull complete 16:17:04 Digest: sha256:e13342e42a024da47e78c41d9f5f1d8e6c6ba69c76c6fdc9a6aba1ca28520a07 16:17:04 Status: Downloaded newer image for gradle:7.5.1-jdk8 16:17:04 ---> cc256232e342 16:17:04 Step 2/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:17:07 ---> Running in 5c8d2983bbfc 16:17:07 Removing intermediate container 5c8d2983bbfc 16:17:07 ---> 2fef8349f399 16:17:07 Step 3/13 : WORKDIR /code 16:17:07 ---> Running in ff3f3bb81311 16:17:08 Removing intermediate container ff3f3bb81311 16:17:08 ---> 3fbd3b202ba3 16:17:08 Step 4/13 : ENV USER_GRADLE_HOME=/gradleCache 16:17:08 ---> Running in a2d6dd503213 16:17:08 Removing intermediate container a2d6dd503213 16:17:08 ---> e49a12f939dd 16:17:08 Step 5/13 : ARG EGP_VERSION=stable 16:17:08 ---> Running in 7c6b938a6266 16:17:08 Removing intermediate container 7c6b938a6266 16:17:08 ---> 57e2b0a70fb8 16:17:08 Step 6/13 : ADD https://github.com/edgexfoundry/edgex-global-pipelines/archive/${EGP_VERSION}.tar.gz . 16:17:08 16:17:08 16:17:08 ---> ceb6e1c7e9d0 16:17:08 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:17:08 ---> Running in 341c0745ff7e 16:17:09 Removing intermediate container 341c0745ff7e 16:17:09 ---> 1089dbac2df3 16:17:09 Step 8/13 : RUN gradle -Dgradle.user.home=${USER_GRADLE_HOME} testClasses 16:17:09 ---> Running in 9620d12b8922 16:17:10 16:17:10 Welcome to Gradle 7.5.1! 16:17:10 16:17:10 Here are the highlights of this release: 16:17:10 - Support for Java 18 16:17:10 - Support for building with Groovy 4 16:17:10 - Much more responsive continuous builds 16:17:10 - Improved diagnostics for dependency resolution 16:17:10 16:17:10 For more details see https://docs.gradle.org/7.5.1/release-notes.html 16:17:10 16:17:10 Starting a Gradle Daemon (subsequent builds will be faster) 16:17:16  16:17:16 FAILURE: Build failed with an exception. 16:17:16 16:17:16 * Where: 16:17:16 Build file '/code/build.gradle' line: 45 16:17:16 16:17:16 * What went wrong: 16:17:16 A problem occurred evaluating root project 'edgex-global-pipelines'. 16:17:16 > Could not find method compile() for arguments [org.jenkins-ci.plugins.workflow:workflow-cps-global-lib:2.15@jar] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. 16:17:16 16:17:16 * Try: 16:17:16 > Run with --stacktrace option to get the stack trace. 16:17:16 > Run with --info or --debug option to get more log output. 16:17:16 > Run with --scan to get full insights. 16:17:16 16:17:16 * Get more help at https://help.gradle.org 16:17:16 16:17:16 BUILD FAILED in 5s 16:17:16 The command '/bin/sh -c gradle -Dgradle.user.home=${USER_GRADLE_HOME} testClasses' returned a non-zero code: 1 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:17:16 16:17:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:17:17 latest: Pulling from edgex-lftools-log-publisher 16:17:17 5eb5b503b376: Pulling fs layer 16:17:17 5c69ac0246d0: Pulling fs layer 16:17:17 ec43610c2a17: Pulling fs layer 16:17:17 3a2ae6a8a46f: Pulling fs layer 16:17:17 33b1e0a273af: Pulling fs layer 16:17:17 5d3b04190fa2: Pulling fs layer 16:17:17 2f39f015ded8: Pulling fs layer 16:17:17 33b1e0a273af: Waiting 16:17:17 5d3b04190fa2: Waiting 16:17:17 2f39f015ded8: Waiting 16:17:17 3a2ae6a8a46f: Waiting 16:17:17 5c69ac0246d0: Verifying Checksum 16:17:17 5c69ac0246d0: Download complete 16:17:17 3a2ae6a8a46f: Verifying Checksum 16:17:17 3a2ae6a8a46f: Download complete 16:17:17 33b1e0a273af: Verifying Checksum 16:17:17 33b1e0a273af: Download complete 16:17:17 5d3b04190fa2: Download complete 16:17:17 ec43610c2a17: Verifying Checksum 16:17:17 ec43610c2a17: Download complete 16:17:17 5eb5b503b376: Download complete 16:17:18 2f39f015ded8: Verifying Checksum 16:17:18 2f39f015ded8: Download complete 16:17:18 5eb5b503b376: Pull complete 16:17:19 5c69ac0246d0: Pull complete 16:17:19 ec43610c2a17: Pull complete 16:17:19 3a2ae6a8a46f: Pull complete 16:17:19 33b1e0a273af: Pull complete 16:17:19 5d3b04190fa2: Pull complete 16:17:24 2f39f015ded8: Pull complete 16:17:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:17:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:17:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:17:24 prd-ubuntu20.04-docker-8c-8g-8340 does not seem to be running inside a container 16:17:24 $ 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/exfoundry_ci-build-images_PR-200 -v /w/workspace/exfoundry_ci-build-images_PR-200:/w/workspace/exfoundry_ci-build-images_PR-200:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-200@tmp:/w/workspace/exfoundry_ci-build-images_PR-200@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:17:27 $ docker top 2e5d46bcc710c4a24367781d3441c3303c6569275d2688bfd794f28ff816b4b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:17:28 ---> job-cost.sh 16:17:28 lf-activate-venv: SKIPPING 16:17:28 INFO: No Stack... 16:17:28 INFO: Retrieving Pricing Info for: v3-standard-8 16:17:28 INFO: Archiving Costs [Pipeline] sh 16:17:29 + cat /w/workspace/exfoundry_ci-build-images_PR-200/archives/cost.csv 16:17:29 + cut -d, -f6 [Pipeline] lock 16:17:29 Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-200-1-stack-cost] 16:17:29 Resource [jenkins-edgexfoundry-ci-build-images-PR-200-1-stack-cost] did not exist. Created. 16:17:29 Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-200-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:17:29 + echo total: 0.2199999988079071 [Pipeline] stash 16:17:29 Stashed 1 file(s) [Pipeline] } 16:17:29 Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-200-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:17:29 $ docker stop --time=1 2e5d46bcc710c4a24367781d3441c3303c6569275d2688bfd794f28ff816b4b7 16:17:31 $ docker rm -f 2e5d46bcc710c4a24367781d3441c3303c6569275d2688bfd794f28ff816b4b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:17:31 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:17:32 + [ -d /w/workspace/exfoundry_ci-build-images_PR-200/archives ] 16:17:32 + ls -al /w/workspace/exfoundry_ci-build-images_PR-200/archives 16:17:32 total 16 16:17:32 drwxr-xr-x 3 root root 4096 Oct 17 16:17 . 16:17:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 16:17 .. 16:17:32 drwxr-xr-x 2 root root 4096 Oct 17 16:17 cost 16:17:32 -rw-r--r-- 1 root root 86 Oct 17 16:17 cost.csv 16:17:32 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-200/archives 16:17:32 + ls -al /w/workspace/exfoundry_ci-build-images_PR-200/archives 16:17:32 total 16 16:17:32 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 16:17 . 16:17:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 16:17 .. 16:17:32 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 16:17 cost 16:17:32 -rw-r--r-- 1 jenkins jenkins 86 Oct 17 16:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:17:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:17:33 ---> package-listing.sh 16:17:33 ++ facter osfamily 16:17:33 ++ tr '[:upper:]' '[:lower:]' 16:17:33 + OS_FAMILY=debian 16:17:33 + workspace=/w/workspace/exfoundry_ci-build-images_PR-200 16:17:33 + START_PACKAGES=/tmp/packages_start.txt 16:17:33 + END_PACKAGES=/tmp/packages_end.txt 16:17:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:17:33 + PACKAGES=/tmp/packages_start.txt 16:17:33 + '[' /w/workspace/exfoundry_ci-build-images_PR-200 ']' 16:17:33 + PACKAGES=/tmp/packages_end.txt 16:17:33 + case "${OS_FAMILY}" in 16:17:33 + dpkg -l 16:17:33 + grep '^ii' 16:17:33 + '[' -f /tmp/packages_start.txt ']' 16:17:33 + '[' -f /tmp/packages_end.txt ']' 16:17:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:17:33 + '[' /w/workspace/exfoundry_ci-build-images_PR-200 ']' 16:17:33 + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-200/archives/ 16:17:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-200/archives/ [Pipeline] echo 16:17:33 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/exfoundry_ci-build-images_PR-200/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:17:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:17:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:17:35 prd-ubuntu20.04-docker-8c-8g-8340 does not seem to be running inside a container 16:17:35 $ 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/exfoundry_ci-build-images_PR-200/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_ci-build-images_PR-200 -v /w/workspace/exfoundry_ci-build-images_PR-200:/w/workspace/exfoundry_ci-build-images_PR-200:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-200@tmp:/w/workspace/exfoundry_ci-build-images_PR-200@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:17:35 $ docker top c93f545b079b2a9f4313f1c761fcf820c2c57770b245fae55be2ec5fcc4dd80f -eo pid,comm [Pipeline] { [Pipeline] sh 16:17:35 + touch /tmp/pre-build-complete [Pipeline] sh 16:17:35 + mkdir -p /var/log/sysstat [Pipeline] sh 16:17:36 + ls /var/log/sa-host 16:17:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:17:36 provisioning config files... 16:17:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-200@tmp/config9964006505256800704tmp [Pipeline] { [Pipeline] echo 16:17:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:17:36 ---> create-netrc.sh [Pipeline] } 16:17:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:17:37 ---> python-tools-install.sh [Pipeline] echo 16:17:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:17:37 ---> sudo-logs.sh 16:17:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:17:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:17:37 ---> job-cost.sh 16:17:37 lf-activate-venv: SKIPPING 16:17:37 DEBUG: total: 0.2199999988079071 16:17:37 INFO: Retrieving Stack Cost... 16:17:37 INFO: Retrieving Pricing Info for: v3-standard-8 16:17:38 INFO: Archiving Costs [Pipeline] echo 16:17:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:17:38 ---> logs-deploy.sh 16:17:38 lf-activate-venv: SKIPPING 16:17:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-200/1 16:17:38 INFO: archiving workspace using pattern(s): 16:17:39 Archives upload complete. 16:17:39 INFO: archiving logs to Nexus