Started by user Bill Mahoney Connecting to https://api.github.com using edgex-jenkins github personal access token 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-ssh522615825011098959.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4150079414620470286.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh8292146003330713044.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh14972693337905950612.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-ssh9076848732154612058.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9655 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 [2023-03-10T18:49:41.298Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-10T18:49:41.356Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-10T18:49:41.365Z] ========================================================= [2023-03-10T18:49:41.365Z] EdgeX Global Pipelines Version Info [2023-03-10T18:49:41.365Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:49:42.074Z] ------------------- [2023-03-10T18:49:42.074Z] stable info: [2023-03-10T18:49:42.074Z] ------------------- [2023-03-10T18:49:42.074Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-10T18:49:42.074Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-10T18:49:42.074Z] Message: update stable to v1.0.244 [2023-03-10T18:49:42.644Z] ------------------- [2023-03-10T18:49:42.644Z] experimental info: [2023-03-10T18:49:42.644Z] ------------------- [2023-03-10T18:49:42.644Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-10T18:49:42.644Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-10T18:49:42.644Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2023-03-10T18:49:42.810Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2023-03-10T18:49:42.823Z] [edgeXSetupEnvironment]: set envvar PROJECT = egp-unit-test [Pipeline] echo [2023-03-10T18:49:42.832Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2023-03-10T18:49:42.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-10T18:49:42.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-10T18:49:42.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = egp-unit-test [Pipeline] echo [2023-03-10T18:49:42.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2023-03-10T18:49:42.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2023-03-10T18:49:42.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2023-03-10T18:49:42.885Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-10T18:49:42.897Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2023-03-10T18:49:42.906Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = egp-unit-test-archive.tar.gz [Pipeline] echo [2023-03-10T18:49:42.914Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-10T18:49:42.923Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-10T18:49:42.931Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = egp-unit-test [Pipeline] echo [2023-03-10T18:49:42.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = gradle [Pipeline] echo [2023-03-10T18:49:42.951Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = egp-unit-test [Pipeline] echo [2023-03-10T18:49:42.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = egp-unit-test [Pipeline] echo [2023-03-10T18:49:42.968Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = egp-unit-test [Pipeline] echo [2023-03-10T18:49:42.977Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b27816a51706f4d2629b60fbe79448e995a7d7ab [Pipeline] echo [2023-03-10T18:49:42.985Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b27816a [Pipeline] echo [2023-03-10T18:49:42.994Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-10T18:49:43.032Z] provisioning config files... [2023-03-10T18:49:43.046Z] copy managed file [ci-build-images-settings] to file:/w/workspace/ry_ci-build-images_egp-unit-test@tmp/config16950209347175845292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:49:43.346Z] ---> docker-login.sh [2023-03-10T18:49:43.346Z] nexus3.edgexfoundry.org:10001 [2023-03-10T18:49:43.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:49:43.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:49:43.606Z] Configure a credential helper to remove this warning. See [2023-03-10T18:49:43.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:49:43.606Z] [2023-03-10T18:49:43.606Z] Login Succeeded [2023-03-10T18:49:43.606Z] nexus3.edgexfoundry.org:10002 [2023-03-10T18:49:43.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:49:43.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:49:43.606Z] Configure a credential helper to remove this warning. See [2023-03-10T18:49:43.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:49:43.606Z] [2023-03-10T18:49:43.606Z] Login Succeeded [2023-03-10T18:49:43.606Z] nexus3.edgexfoundry.org:10003 [2023-03-10T18:49:43.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:49:43.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:49:43.865Z] Configure a credential helper to remove this warning. See [2023-03-10T18:49:43.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:49:43.865Z] [2023-03-10T18:49:43.865Z] Login Succeeded [2023-03-10T18:49:43.865Z] nexus3.edgexfoundry.org:10004 [2023-03-10T18:49:43.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:49:43.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:49:43.865Z] Configure a credential helper to remove this warning. See [2023-03-10T18:49:43.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:49:43.865Z] [2023-03-10T18:49:43.865Z] Login Succeeded [2023-03-10T18:49:43.865Z] docker.io [2023-03-10T18:49:44.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:49:44.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:49:44.126Z] Configure a credential helper to remove this warning. See [2023-03-10T18:49:44.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:49:44.126Z] [2023-03-10T18:49:44.126Z] Login Succeeded [2023-03-10T18:49:44.126Z] ---> docker-login.sh ends [Pipeline] } [2023-03-10T18:49:44.134Z] 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 [2023-03-10T18:49:44.380Z] provisioning config files... [Pipeline] // stage [Pipeline] } [2023-03-10T18:49:44.396Z] copy managed file [ci-build-images-settings] to file:/w/workspace/ry_ci-build-images_egp-unit-test@tmp/config5088681527107950797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:49:44.699Z] ---> docker-login.sh [2023-03-10T18:49:44.699Z] nexus3.edgexfoundry.org:10001 [2023-03-10T18:49:44.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:49:44.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:49:44.699Z] Configure a credential helper to remove this warning. See [2023-03-10T18:49:44.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:49:44.699Z] [2023-03-10T18:49:44.699Z] Login Succeeded [2023-03-10T18:49:44.699Z] nexus3.edgexfoundry.org:10002 [2023-03-10T18:49:44.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:49:44.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:49:44.699Z] Configure a credential helper to remove this warning. See [2023-03-10T18:49:44.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:49:44.699Z] [2023-03-10T18:49:44.699Z] Login Succeeded [2023-03-10T18:49:44.699Z] nexus3.edgexfoundry.org:10003 [2023-03-10T18:49:44.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:49:44.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:49:44.958Z] Configure a credential helper to remove this warning. See [2023-03-10T18:49:44.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:49:44.958Z] [2023-03-10T18:49:44.958Z] Login Succeeded [2023-03-10T18:49:44.958Z] nexus3.edgexfoundry.org:10004 [2023-03-10T18:49:44.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:49:44.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:49:44.958Z] Configure a credential helper to remove this warning. See [2023-03-10T18:49:44.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:49:44.958Z] [2023-03-10T18:49:44.958Z] Login Succeeded [2023-03-10T18:49:44.958Z] docker.io [2023-03-10T18:49:44.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:49:45.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:49:45.218Z] Configure a credential helper to remove this warning. See [2023-03-10T18:49:45.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:49:45.218Z] [2023-03-10T18:49:45.218Z] Login Succeeded [2023-03-10T18:49:45.218Z] ---> docker-login.sh ends [Pipeline] } [2023-03-10T18:49:45.227Z] 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 [2023-03-10T18:49:45.734Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-10T18:49:46.022Z] + ls -al . [2023-03-10T18:49:46.022Z] total 20 [2023-03-10T18:49:46.022Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 18:49 . [2023-03-10T18:49:46.022Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 18:49 .. [2023-03-10T18:49:46.022Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 18:49 .git [2023-03-10T18:49:46.022Z] -rw-rw-r-- 1 jenkins jenkins 955 Mar 10 18:49 Dockerfile [2023-03-10T18:49:46.022Z] -rw-rw-r-- 1 jenkins jenkins 904 Mar 10 18:49 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:49:46.367Z] + docker build -t edgex-devops/egp-unit-test -f Dockerfile --build-arg ARCH=amd64 --label git_sha=b27816a51706f4d2629b60fbe79448e995a7d7ab --label arch=amd64 . [2023-03-10T18:49:46.367Z] Sending build context to Docker daemon 443.4kB [2023-03-10T18:49:46.367Z] Step 1/13 : FROM gradle:7.5.1-jdk8 as builder [2023-03-10T18:49:46.937Z] 7.5.1-jdk8: Pulling from library/gradle [2023-03-10T18:49:46.937Z] e96e057aae67: Pulling fs layer [2023-03-10T18:49:46.937Z] 4ced2591451d: Pulling fs layer [2023-03-10T18:49:46.937Z] 22cd2b580a64: Pulling fs layer [2023-03-10T18:49:46.937Z] 191e5a2019b6: Pulling fs layer [2023-03-10T18:49:46.937Z] a220e8697772: Pulling fs layer [2023-03-10T18:49:46.937Z] a8c31a0327fe: Pulling fs layer [2023-03-10T18:49:46.937Z] 35ee11b8a32a: Pulling fs layer [2023-03-10T18:49:46.937Z] a220e8697772: Waiting [2023-03-10T18:49:46.937Z] a8c31a0327fe: Waiting [2023-03-10T18:49:46.937Z] 35ee11b8a32a: Waiting [2023-03-10T18:49:46.937Z] 191e5a2019b6: Waiting [2023-03-10T18:49:47.197Z] 4ced2591451d: Verifying Checksum [2023-03-10T18:49:47.197Z] 4ced2591451d: Download complete [2023-03-10T18:49:47.197Z] 191e5a2019b6: Verifying Checksum [2023-03-10T18:49:47.197Z] 191e5a2019b6: Download complete [2023-03-10T18:49:47.456Z] e96e057aae67: Verifying Checksum [2023-03-10T18:49:47.456Z] e96e057aae67: Download complete [2023-03-10T18:49:47.456Z] a220e8697772: Verifying Checksum [2023-03-10T18:49:47.456Z] a220e8697772: Download complete [2023-03-10T18:49:48.395Z] e96e057aae67: Pull complete [2023-03-10T18:49:48.972Z] a8c31a0327fe: Verifying Checksum [2023-03-10T18:49:48.972Z] a8c31a0327fe: Download complete [2023-03-10T18:49:49.231Z] 22cd2b580a64: Verifying Checksum [2023-03-10T18:49:49.231Z] 22cd2b580a64: Download complete [2023-03-10T18:49:49.231Z] 4ced2591451d: Pull complete [2023-03-10T18:49:49.488Z] 35ee11b8a32a: Verifying Checksum [2023-03-10T18:49:50.861Z] 22cd2b580a64: Pull complete [2023-03-10T18:49:50.862Z] 191e5a2019b6: Pull complete [2023-03-10T18:49:50.862Z] a220e8697772: Pull complete [2023-03-10T18:49:53.419Z] a8c31a0327fe: Pull complete [2023-03-10T18:49:54.359Z] 35ee11b8a32a: Pull complete [2023-03-10T18:49:54.359Z] Digest: sha256:e36e80100620d3344ff15dbb485b526f4bfc08275e38d1a30191e6524133917d [2023-03-10T18:49:54.619Z] Status: Downloaded newer image for gradle:7.5.1-jdk8 [2023-03-10T18:49:54.619Z] ---> 787840feef8a [2023-03-10T18:49:54.619Z] Step 2/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2023-03-10T18:50:02.762Z] ---> Running in 6f411cec0dce [2023-03-10T18:50:02.762Z] Removing intermediate container 6f411cec0dce [2023-03-10T18:50:02.762Z] ---> dd20ea8339a5 [2023-03-10T18:50:02.762Z] Step 3/13 : WORKDIR /code [2023-03-10T18:50:02.762Z] ---> Running in 3ee9e746c1a4 [2023-03-10T18:50:02.762Z] Removing intermediate container 3ee9e746c1a4 [2023-03-10T18:50:02.762Z] ---> e2e617b94d0f [2023-03-10T18:50:02.762Z] Step 4/13 : ENV USER_GRADLE_HOME=/gradleCache [2023-03-10T18:50:03.019Z] ---> Running in 7d657e176e29 [2023-03-10T18:50:03.586Z] Removing intermediate container 7d657e176e29 [2023-03-10T18:50:03.586Z] ---> cfa1bebf11d9 [2023-03-10T18:50:03.586Z] Step 5/13 : ARG EGP_VERSION=stable [2023-03-10T18:50:03.586Z] ---> Running in 05bf5dcb807e [2023-03-10T18:50:03.844Z] Removing intermediate container 05bf5dcb807e [2023-03-10T18:50:03.844Z] ---> e43637cb73e5 [2023-03-10T18:50:03.844Z] Step 6/13 : ADD https://github.com/edgexfoundry/edgex-global-pipelines/archive/${EGP_VERSION}.tar.gz . [2023-03-10T18:50:04.412Z] [2023-03-10T18:50:04.412Z] [2023-03-10T18:50:04.673Z] ---> 24f8e6fad69c [2023-03-10T18:50:04.673Z] 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 [2023-03-10T18:50:04.932Z] ---> Running in 6845a405263e [2023-03-10T18:50:06.307Z] Removing intermediate container 6845a405263e [2023-03-10T18:50:06.307Z] ---> 1bd91a10a546 [2023-03-10T18:50:06.307Z] Step 8/13 : RUN gradle -Dgradle.user.home=${USER_GRADLE_HOME} testClasses [2023-03-10T18:50:06.307Z] ---> Running in d5b44331638e [2023-03-10T18:50:07.249Z] [2023-03-10T18:50:07.249Z] Welcome to Gradle 7.5.1! [2023-03-10T18:50:07.249Z] [2023-03-10T18:50:07.249Z] Here are the highlights of this release: [2023-03-10T18:50:07.249Z] - Support for Java 18 [2023-03-10T18:50:07.249Z] - Support for building with Groovy 4 [2023-03-10T18:50:07.249Z] - Much more responsive continuous builds [2023-03-10T18:50:07.249Z] - Improved diagnostics for dependency resolution [2023-03-10T18:50:07.249Z] [2023-03-10T18:50:07.249Z] For more details see https://docs.gradle.org/7.5.1/release-notes.html [2023-03-10T18:50:07.249Z] [2023-03-10T18:50:07.249Z] Starting a Gradle Daemon (subsequent builds will be faster) [2023-03-10T18:50:12.533Z] > Task :compileJava NO-SOURCE [2023-03-10T18:50:16.720Z] > Task :compileGroovy [2023-03-10T18:50:16.720Z] > Task :processResources NO-SOURCE [2023-03-10T18:50:16.720Z] > Task :classes [2023-03-10T18:50:16.720Z] > Task :compileTestJava NO-SOURCE [2023-03-10T18:50:16.720Z] > Task :copyGlobalLibVars [2023-03-10T18:50:26.690Z] > Task :compileTestGroovy [2023-03-10T18:50:26.690Z] > Task :processTestResources [2023-03-10T18:50:26.690Z] > Task :testClasses [2023-03-10T18:50:26.948Z] [2023-03-10T18:50:26.948Z] BUILD SUCCESSFUL in 20s [2023-03-10T18:50:26.948Z] 4 actionable tasks: 4 executed [2023-03-10T18:50:29.496Z] Removing intermediate container d5b44331638e [2023-03-10T18:50:29.496Z] ---> 7d0c50e6c029 [2023-03-10T18:50:29.496Z] Step 9/13 : FROM gradle:7.5.1-jdk8 [2023-03-10T18:50:29.496Z] ---> 787840feef8a [2023-03-10T18:50:29.496Z] Step 10/13 : ENV USER_GRADLE_HOME=/gradleCache [2023-03-10T18:50:29.496Z] ---> Running in 96c9ee470db3 [2023-03-10T18:50:29.496Z] Removing intermediate container 96c9ee470db3 [2023-03-10T18:50:29.496Z] ---> 5f56afad2f7d [2023-03-10T18:50:29.496Z] Step 11/13 : COPY --from=builder ${USER_GRADLE_HOME} ${USER_GRADLE_HOME} [2023-03-10T18:50:32.785Z] ---> 2afe75e48825 [2023-03-10T18:50:32.785Z] Step 12/13 : LABEL arch=amd64 [2023-03-10T18:50:32.785Z] ---> Running in a6851e8b4427 [2023-03-10T18:50:32.785Z] Removing intermediate container a6851e8b4427 [2023-03-10T18:50:32.785Z] ---> 6dd5f1a87862 [2023-03-10T18:50:32.785Z] Step 13/13 : LABEL git_sha=b27816a51706f4d2629b60fbe79448e995a7d7ab [2023-03-10T18:50:32.785Z] ---> Running in be9572617e37 [2023-03-10T18:50:32.785Z] Removing intermediate container be9572617e37 [2023-03-10T18:50:32.785Z] ---> c5ca7bf13a0e [2023-03-10T18:50:32.785Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-10T18:50:32.785Z] Successfully built c5ca7bf13a0e [2023-03-10T18:50:32.785Z] Successfully tagged edgex-devops/egp-unit-test:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] echo [2023-03-10T18:50:32.888Z] [edgeXDocker.push] Tagging docker image egp-unit-test with the following tags: [2023-03-10T18:50:32.888Z] b27816a51706f4d2629b60fbe79448e995a7d7ab [2023-03-10T18:50:32.888Z] latest [2023-03-10T18:50:32.888Z] egp-unit-test [2023-03-10T18:50:32.888Z] gradle [2023-03-10T18:50:32.888Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:50:33.213Z] + 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 [2023-03-10T18:50:33.529Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:b27816a51706f4d2629b60fbe79448e995a7d7ab [2023-03-10T18:50:33.529Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] [2023-03-10T18:50:33.529Z] f7ff1898371b: Preparing [2023-03-10T18:50:33.529Z] fd7df38277c8: Preparing [2023-03-10T18:50:33.529Z] c4efe1a684b4: Preparing [2023-03-10T18:50:33.529Z] 5578c56ed086: Preparing [2023-03-10T18:50:33.529Z] e8f11c94ceb7: Preparing [2023-03-10T18:50:33.529Z] fba35c94ab1e: Preparing [2023-03-10T18:50:33.529Z] aa2e51f5ab8a: Preparing [2023-03-10T18:50:33.529Z] f4a670ac65b6: Preparing [2023-03-10T18:50:33.529Z] fba35c94ab1e: Waiting [2023-03-10T18:50:33.529Z] aa2e51f5ab8a: Waiting [2023-03-10T18:50:33.529Z] f4a670ac65b6: Waiting [2023-03-10T18:50:33.529Z] e8f11c94ceb7: Pushed [2023-03-10T18:50:33.529Z] 5578c56ed086: Pushed [2023-03-10T18:50:38.130Z] aa2e51f5ab8a: Pushed [2023-03-10T18:50:50.233Z] c4efe1a684b4: Pushed [2023-03-10T18:50:50.233Z] f4a670ac65b6: Pushed [2023-03-10T18:50:53.726Z] fd7df38277c8: Pushed [2023-03-10T18:50:54.665Z] fba35c94ab1e: Pushed [2023-03-10T18:50:54.924Z] f7ff1898371b: Pushed [2023-03-10T18:50:54.924Z] b27816a51706f4d2629b60fbe79448e995a7d7ab: digest: sha256:ca87805938e18239eee4d2027003f243b90c369f4190bffeb0e518d18a938210 size: 2006 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:50:55.226Z] + 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 [2023-03-10T18:50:55.524Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:latest [2023-03-10T18:50:55.524Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] [2023-03-10T18:50:55.524Z] f7ff1898371b: Preparing [2023-03-10T18:50:55.524Z] fd7df38277c8: Preparing [2023-03-10T18:50:55.524Z] c4efe1a684b4: Preparing [2023-03-10T18:50:55.524Z] 5578c56ed086: Preparing [2023-03-10T18:50:55.524Z] e8f11c94ceb7: Preparing [2023-03-10T18:50:55.524Z] fba35c94ab1e: Preparing [2023-03-10T18:50:55.524Z] aa2e51f5ab8a: Preparing [2023-03-10T18:50:55.524Z] f4a670ac65b6: Preparing [2023-03-10T18:50:55.524Z] fba35c94ab1e: Waiting [2023-03-10T18:50:55.524Z] aa2e51f5ab8a: Waiting [2023-03-10T18:50:55.524Z] f4a670ac65b6: Waiting [2023-03-10T18:50:55.524Z] fd7df38277c8: Layer already exists [2023-03-10T18:50:55.524Z] 5578c56ed086: Layer already exists [2023-03-10T18:50:55.524Z] f7ff1898371b: Layer already exists [2023-03-10T18:50:55.524Z] e8f11c94ceb7: Layer already exists [2023-03-10T18:50:55.524Z] c4efe1a684b4: Layer already exists [2023-03-10T18:50:55.524Z] fba35c94ab1e: Layer already exists [2023-03-10T18:50:55.524Z] aa2e51f5ab8a: Layer already exists [2023-03-10T18:50:55.524Z] f4a670ac65b6: Layer already exists [2023-03-10T18:50:55.524Z] latest: digest: sha256:ca87805938e18239eee4d2027003f243b90c369f4190bffeb0e518d18a938210 size: 2006 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:50:55.826Z] + 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 [2023-03-10T18:50:56.133Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:egp-unit-test [2023-03-10T18:50:56.133Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] [2023-03-10T18:50:56.133Z] f7ff1898371b: Preparing [2023-03-10T18:50:56.133Z] fd7df38277c8: Preparing [2023-03-10T18:50:56.133Z] c4efe1a684b4: Preparing [2023-03-10T18:50:56.133Z] 5578c56ed086: Preparing [2023-03-10T18:50:56.133Z] e8f11c94ceb7: Preparing [2023-03-10T18:50:56.133Z] fba35c94ab1e: Preparing [2023-03-10T18:50:56.133Z] aa2e51f5ab8a: Preparing [2023-03-10T18:50:56.133Z] f4a670ac65b6: Preparing [2023-03-10T18:50:56.133Z] aa2e51f5ab8a: Waiting [2023-03-10T18:50:56.133Z] fba35c94ab1e: Waiting [2023-03-10T18:50:56.133Z] f4a670ac65b6: Waiting [2023-03-10T18:50:56.133Z] c4efe1a684b4: Layer already exists [2023-03-10T18:50:56.133Z] fd7df38277c8: Layer already exists [2023-03-10T18:50:56.133Z] f7ff1898371b: Layer already exists [2023-03-10T18:50:56.133Z] e8f11c94ceb7: Layer already exists [2023-03-10T18:50:56.133Z] 5578c56ed086: Layer already exists [2023-03-10T18:50:56.133Z] fba35c94ab1e: Layer already exists [2023-03-10T18:50:56.133Z] aa2e51f5ab8a: Layer already exists [2023-03-10T18:50:56.133Z] f4a670ac65b6: Layer already exists [2023-03-10T18:50:56.133Z] egp-unit-test: digest: sha256:ca87805938e18239eee4d2027003f243b90c369f4190bffeb0e518d18a938210 size: 2006 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:50:56.434Z] + 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 [2023-03-10T18:50:56.735Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:gradle [2023-03-10T18:50:56.735Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test] [2023-03-10T18:50:56.735Z] f7ff1898371b: Preparing [2023-03-10T18:50:56.735Z] fd7df38277c8: Preparing [2023-03-10T18:50:56.735Z] c4efe1a684b4: Preparing [2023-03-10T18:50:56.735Z] 5578c56ed086: Preparing [2023-03-10T18:50:56.735Z] e8f11c94ceb7: Preparing [2023-03-10T18:50:56.735Z] fba35c94ab1e: Preparing [2023-03-10T18:50:56.735Z] aa2e51f5ab8a: Preparing [2023-03-10T18:50:56.735Z] f4a670ac65b6: Preparing [2023-03-10T18:50:56.735Z] fba35c94ab1e: Waiting [2023-03-10T18:50:56.735Z] f4a670ac65b6: Waiting [2023-03-10T18:50:56.735Z] aa2e51f5ab8a: Waiting [2023-03-10T18:50:56.735Z] f7ff1898371b: Layer already exists [2023-03-10T18:50:56.735Z] fd7df38277c8: Layer already exists [2023-03-10T18:50:56.735Z] c4efe1a684b4: Layer already exists [2023-03-10T18:50:56.735Z] 5578c56ed086: Layer already exists [2023-03-10T18:50:56.735Z] e8f11c94ceb7: Layer already exists [2023-03-10T18:50:56.735Z] fba35c94ab1e: Layer already exists [2023-03-10T18:50:56.735Z] f4a670ac65b6: Layer already exists [2023-03-10T18:50:56.735Z] aa2e51f5ab8a: Layer already exists [2023-03-10T18:50:56.735Z] gradle: digest: sha256:ca87805938e18239eee4d2027003f243b90c369f4190bffeb0e518d18a938210 size: 2006 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-10T18:50:56.767Z] ===================================================== [Pipeline] echo [2023-03-10T18:50:56.773Z] taggedImages: [2023-03-10T18:50:56.773Z] - nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:b27816a51706f4d2629b60fbe79448e995a7d7ab [2023-03-10T18:50:56.773Z] - nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:latest [2023-03-10T18:50:56.773Z] - nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:egp-unit-test [2023-03-10T18:50:56.773Z] - nexus3.edgexfoundry.org:10003/edgex-devops/egp-unit-test:gradle [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:50:57.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-10T18:50:57.123Z] [2023-03-10T18:50:57.123Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:50:57.425Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-10T18:50:57.425Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-10T18:50:57.425Z] 5eb5b503b376: Pulling fs layer [2023-03-10T18:50:57.425Z] 5c69ac0246d0: Pulling fs layer [2023-03-10T18:50:57.425Z] ec43610c2a17: Pulling fs layer [2023-03-10T18:50:57.425Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-10T18:50:57.425Z] 33b1e0a273af: Pulling fs layer [2023-03-10T18:50:57.425Z] 5d3b04190fa2: Pulling fs layer [2023-03-10T18:50:57.425Z] 2f39f015ded8: Pulling fs layer [2023-03-10T18:50:57.425Z] 33b1e0a273af: Waiting [2023-03-10T18:50:57.425Z] 2f39f015ded8: Waiting [2023-03-10T18:50:57.425Z] 3a2ae6a8a46f: Waiting [2023-03-10T18:50:57.425Z] 5d3b04190fa2: Waiting [2023-03-10T18:50:57.425Z] 5c69ac0246d0: Download complete [2023-03-10T18:50:57.425Z] 3a2ae6a8a46f: Download complete [2023-03-10T18:50:57.425Z] 33b1e0a273af: Verifying Checksum [2023-03-10T18:50:57.425Z] 33b1e0a273af: Download complete [2023-03-10T18:50:57.686Z] 5d3b04190fa2: Verifying Checksum [2023-03-10T18:50:57.686Z] 5d3b04190fa2: Download complete [2023-03-10T18:50:57.686Z] ec43610c2a17: Verifying Checksum [2023-03-10T18:50:57.686Z] ec43610c2a17: Download complete [2023-03-10T18:50:57.686Z] 5eb5b503b376: Verifying Checksum [2023-03-10T18:50:57.686Z] 5eb5b503b376: Download complete [2023-03-10T18:50:58.253Z] 2f39f015ded8: Download complete [2023-03-10T18:50:58.818Z] 5eb5b503b376: Pull complete [2023-03-10T18:50:59.077Z] 5c69ac0246d0: Pull complete [2023-03-10T18:50:59.336Z] ec43610c2a17: Pull complete [2023-03-10T18:50:59.594Z] 3a2ae6a8a46f: Pull complete [2023-03-10T18:50:59.853Z] 33b1e0a273af: Pull complete [2023-03-10T18:50:59.853Z] 5d3b04190fa2: Pull complete [2023-03-10T18:51:04.040Z] 2f39f015ded8: Pull complete [2023-03-10T18:51:04.040Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-10T18:51:04.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-10T18:51:04.040Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T18:51:04.135Z] prd-ubuntu20.04-docker-8c-8g-9655 does not seem to be running inside a container [2023-03-10T18:51:04.172Z] $ 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 [2023-03-10T18:51:07.791Z] $ docker top 452f79c33602489f6437dcdb388fa192e1d62638d8e13649191e59c3d9fcf6f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:51:08.165Z] ---> job-cost.sh [2023-03-10T18:51:08.165Z] lf-activate-venv: SKIPPING [2023-03-10T18:51:08.165Z] INFO: No Stack... [2023-03-10T18:51:08.425Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-10T18:51:08.993Z] INFO: Archiving Costs [Pipeline] sh [2023-03-10T18:51:09.280Z] + cat /w/workspace/ry_ci-build-images_egp-unit-test/archives/cost.csv [2023-03-10T18:51:09.280Z] + cut -d, -f6 [Pipeline] lock [2023-03-10T18:51:09.310Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-egp-unit-test-8-stack-cost] [2023-03-10T18:51:09.316Z] Resource [jenkins-edgexfoundry-ci-build-images-egp-unit-test-8-stack-cost] did not exist. Created. [2023-03-10T18:51:09.316Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-egp-unit-test-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-10T18:51:09.608Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-10T18:51:09.796Z] Stashed 1 file(s) [Pipeline] } [2023-03-10T18:51:09.807Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-egp-unit-test-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-10T18:51:09.832Z] $ docker stop --time=1 452f79c33602489f6437dcdb388fa192e1d62638d8e13649191e59c3d9fcf6f4 [2023-03-10T18:51:11.022Z] $ docker rm -f --volumes 452f79c33602489f6437dcdb388fa192e1d62638d8e13649191e59c3d9fcf6f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-10T18:51:11.578Z] + [ -d /w/workspace/ry_ci-build-images_egp-unit-test/archives ] [2023-03-10T18:51:11.578Z] + ls -al /w/workspace/ry_ci-build-images_egp-unit-test/archives [2023-03-10T18:51:11.578Z] total 16 [2023-03-10T18:51:11.578Z] drwxr-xr-x 3 root root 4096 Mar 10 18:51 . [2023-03-10T18:51:11.578Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 18:51 .. [2023-03-10T18:51:11.578Z] drwxr-xr-x 2 root root 4096 Mar 10 18:51 cost [2023-03-10T18:51:11.578Z] -rw-r--r-- 1 root root 94 Mar 10 18:51 cost.csv [2023-03-10T18:51:11.578Z] + sudo chown -R jenkins:jenkins /w/workspace/ry_ci-build-images_egp-unit-test/archives [2023-03-10T18:51:11.578Z] + ls -al /w/workspace/ry_ci-build-images_egp-unit-test/archives [2023-03-10T18:51:11.578Z] total 16 [2023-03-10T18:51:11.578Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 10 18:51 . [2023-03-10T18:51:11.578Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 18:51 .. [2023-03-10T18:51:11.578Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 10 18:51 cost [2023-03-10T18:51:11.578Z] -rw-r--r-- 1 jenkins jenkins 94 Mar 10 18:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:51:11.870Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:51:12.731Z] ---> package-listing.sh [2023-03-10T18:51:12.732Z] ++ facter osfamily [2023-03-10T18:51:12.732Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-10T18:51:12.991Z] + OS_FAMILY=debian [2023-03-10T18:51:12.991Z] + workspace=/w/workspace/ry_ci-build-images_egp-unit-test [2023-03-10T18:51:12.991Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-10T18:51:12.991Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-10T18:51:12.991Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-10T18:51:12.991Z] + PACKAGES=/tmp/packages_start.txt [2023-03-10T18:51:12.991Z] + '[' /w/workspace/ry_ci-build-images_egp-unit-test ']' [2023-03-10T18:51:12.991Z] + PACKAGES=/tmp/packages_end.txt [2023-03-10T18:51:12.991Z] + case "${OS_FAMILY}" in [2023-03-10T18:51:12.991Z] + dpkg -l [2023-03-10T18:51:12.991Z] + grep '^ii' [2023-03-10T18:51:12.991Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-10T18:51:12.991Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-10T18:51:12.991Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-10T18:51:12.991Z] + '[' /w/workspace/ry_ci-build-images_egp-unit-test ']' [2023-03-10T18:51:12.991Z] + mkdir -p /w/workspace/ry_ci-build-images_egp-unit-test/archives/ [2023-03-10T18:51:12.991Z] + 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 [2023-03-10T18:51:13.002Z] 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 [2023-03-10T18:51:13.280Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:51:13.836Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-10T18:51:13.836Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T18:51:13.905Z] prd-ubuntu20.04-docker-8c-8g-9655 does not seem to be running inside a container [2023-03-10T18:51:13.944Z] $ 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 [2023-03-10T18:51:14.120Z] $ docker top b4f1f5943ca8639bea3cb2aab49b38dff9e52829f32f279e5bbd52d1c5a15b54 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-10T18:51:14.452Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-10T18:51:14.740Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-10T18:51:15.023Z] + ls /var/log/sa-host [2023-03-10T18:51:15.023Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-10T18:51:15.164Z] provisioning config files... [2023-03-10T18:51:15.174Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_ci-build-images_egp-unit-test@tmp/config15536305195564531380tmp [Pipeline] { [Pipeline] echo [2023-03-10T18:51:15.184Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:51:15.467Z] ---> create-netrc.sh [Pipeline] } [2023-03-10T18:51:15.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:51:15.809Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-10T18:51:15.818Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:51:16.096Z] ---> sudo-logs.sh [2023-03-10T18:51:16.096Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-10T18:51:16.132Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:51:16.414Z] ---> job-cost.sh [2023-03-10T18:51:16.414Z] lf-activate-venv: SKIPPING [2023-03-10T18:51:16.414Z] DEBUG: total: 0.2199999988079071 [2023-03-10T18:51:16.414Z] INFO: Retrieving Stack Cost... [2023-03-10T18:51:16.414Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-10T18:51:16.982Z] INFO: Archiving Costs [Pipeline] echo [2023-03-10T18:51:16.995Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:51:17.275Z] ---> logs-deploy.sh [2023-03-10T18:51:17.275Z] lf-activate-venv: SKIPPING [2023-03-10T18:51:17.275Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/egp-unit-test/8 [2023-03-10T18:51:17.275Z] INFO: archiving workspace using pattern(s): [2023-03-10T18:51:18.211Z] Archives upload complete. [2023-03-10T18:51:18.211Z] INFO: archiving logs to Nexus