Pull request #202 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 ernestojeda for edgexfoundry/ci-build-images Obtained Jenkinsfile from 23263198b78fe5cf19c904be208016157a789a9d+02f2b605e8d179b9aa683026d421aa6d8df6cc7a (33caa2cd8a65a309e39e17f45605390a0103ad63) 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-ssh13015891314302348460.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 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-ssh5988555812922319791.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-202/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-202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5956707793113523795.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-202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6770755567645928644.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 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 > 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-ssh7560018731329339235.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-202/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-202/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6017771528635847616.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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:edgex-gcc-base, mavenSettings:ci-build-images-settings, dockerImageName:edgex-gcc-base, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[1], releaseBranchOverride:gcc] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: ci-build-images-settings PROJECT: edgex-gcc-base USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-gcc-base DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-gcc-base-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: gcc DOCKER_CUSTOM_TAGS: 1 [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-118443’ is offline Running on prd-ubuntu20.04-docker-8c-8g-118445 in /w/workspace/exfoundry_ci-build-images_PR-202 [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-202 # 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/202/head:refs/remotes/origin/PR-202 +refs/heads/gcc:refs/remotes/origin/gcc # timeout=10 Merging remotes/origin/gcc commit 02f2b605e8d179b9aa683026d421aa6d8df6cc7a into PR head commit 23263198b78fe5cf19c904be208016157a789a9d Merge succeeded, producing 23263198b78fe5cf19c904be208016157a789a9d Checking out Revision 23263198b78fe5cf19c904be208016157a789a9d (PR-202) > git config core.sparsecheckout # timeout=10 > git checkout -f 23263198b78fe5cf19c904be208016157a789a9d # 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 02f2b605e8d179b9aa683026d421aa6d8df6cc7a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23263198b78fe5cf19c904be208016157a789a9d # timeout=10 Commit message: "ci: add apk upgrade in case of out of date dependencies in base" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-07T16:55:41.595Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-07T16:55:41.760Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T16:55:41.855Z] ========================================================= [2022-11-07T16:55:41.855Z] EdgeX Global Pipelines Version Info [2022-11-07T16:55:41.855Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-07T16:55:42.616Z] ------------------- [2022-11-07T16:55:42.616Z] stable info: [2022-11-07T16:55:42.616Z] ------------------- [2022-11-07T16:55:42.616Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-07T16:55:42.616Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T16:55:42.616Z] Message: update stable to v1.0.244 [2022-11-07T16:55:43.190Z] ------------------- [2022-11-07T16:55:43.190Z] experimental info: [2022-11-07T16:55:43.190Z] ------------------- [2022-11-07T16:55:43.190Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-07T16:55:43.190Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T16:55:43.190Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2022-11-07T16:55:43.699Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2022-11-07T16:55:43.740Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-gcc-base [Pipeline] echo [2022-11-07T16:55:43.785Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2022-11-07T16:55:43.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-07T16:55:43.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-07T16:55:43.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-gcc-base [Pipeline] echo [2022-11-07T16:55:43.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2022-11-07T16:55:43.972Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2022-11-07T16:55:44.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2022-11-07T16:55:44.035Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T16:55:44.068Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2022-11-07T16:55:44.102Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-gcc-base-archive.tar.gz [Pipeline] echo [2022-11-07T16:55:44.141Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-07T16:55:44.178Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-07T16:55:44.215Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = gcc [Pipeline] echo [2022-11-07T16:55:44.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1 [Pipeline] echo [2022-11-07T16:55:44.289Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-202 [Pipeline] echo [2022-11-07T16:55:44.324Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-202 [Pipeline] echo [2022-11-07T16:55:44.363Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-202 [Pipeline] echo [2022-11-07T16:55:44.402Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23263198b78fe5cf19c904be208016157a789a9d [Pipeline] echo [2022-11-07T16:55:44.445Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2326319 [Pipeline] echo [2022-11-07T16:55:44.488Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T16:55:44.616Z] provisioning config files... [2022-11-07T16:55:44.634Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-202@tmp/config10993122247918097072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T16:55:45.013Z] ---> docker-login.sh [2022-11-07T16:55:45.013Z] nexus3.edgexfoundry.org:10001 [2022-11-07T16:55:45.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T16:55:45.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T16:55:45.538Z] Configure a credential helper to remove this warning. See [2022-11-07T16:55:45.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T16:55:45.538Z] [2022-11-07T16:55:45.538Z] Login Succeeded [2022-11-07T16:55:45.538Z] nexus3.edgexfoundry.org:10002 [2022-11-07T16:55:45.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T16:55:45.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T16:55:45.538Z] Configure a credential helper to remove this warning. See [2022-11-07T16:55:45.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T16:55:45.538Z] [2022-11-07T16:55:45.538Z] Login Succeeded [2022-11-07T16:55:45.538Z] nexus3.edgexfoundry.org:10003 [2022-11-07T16:55:45.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T16:55:45.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T16:55:45.799Z] Configure a credential helper to remove this warning. See [2022-11-07T16:55:45.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T16:55:45.799Z] [2022-11-07T16:55:45.799Z] Login Succeeded [2022-11-07T16:55:45.799Z] nexus3.edgexfoundry.org:10004 [2022-11-07T16:55:45.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T16:55:45.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T16:55:45.799Z] Configure a credential helper to remove this warning. See [2022-11-07T16:55:45.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T16:55:45.799Z] [2022-11-07T16:55:45.799Z] Login Succeeded [2022-11-07T16:55:45.799Z] docker.io [2022-11-07T16:55:45.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T16:55:46.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T16:55:46.373Z] Configure a credential helper to remove this warning. See [2022-11-07T16:55:46.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T16:55:46.373Z] [2022-11-07T16:55:46.373Z] Login Succeeded [2022-11-07T16:55:46.373Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T16:55:46.398Z] 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) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T16:55:47.209Z] provisioning config files... [2022-11-07T16:55:47.220Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-202@tmp/config10195553435589055679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T16:55:47.632Z] ---> docker-login.sh [2022-11-07T16:55:47.632Z] nexus3.edgexfoundry.org:10001 [2022-11-07T16:55:47.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T16:55:47.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T16:55:47.632Z] Configure a credential helper to remove this warning. See [2022-11-07T16:55:47.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T16:55:47.632Z] [2022-11-07T16:55:47.632Z] Login Succeeded [2022-11-07T16:55:47.632Z] nexus3.edgexfoundry.org:10002 [2022-11-07T16:55:47.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T16:55:47.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T16:55:47.632Z] Configure a credential helper to remove this warning. See [2022-11-07T16:55:47.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T16:55:47.632Z] [2022-11-07T16:55:47.632Z] Login Succeeded [2022-11-07T16:55:47.632Z] nexus3.edgexfoundry.org:10003 [2022-11-07T16:55:47.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T16:55:47.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T16:55:47.893Z] Configure a credential helper to remove this warning. See [2022-11-07T16:55:47.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T16:55:47.893Z] [2022-11-07T16:55:47.893Z] Login Succeeded [2022-11-07T16:55:47.893Z] nexus3.edgexfoundry.org:10004 [2022-11-07T16:55:47.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T16:55:47.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T16:55:47.893Z] Configure a credential helper to remove this warning. See [2022-11-07T16:55:47.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T16:55:47.893Z] [2022-11-07T16:55:47.893Z] Login Succeeded [2022-11-07T16:55:47.893Z] docker.io [2022-11-07T16:55:48.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T16:55:48.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T16:55:48.415Z] Configure a credential helper to remove this warning. See [2022-11-07T16:55:48.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T16:55:48.415Z] [2022-11-07T16:55:48.415Z] Login Succeeded [2022-11-07T16:55:48.415Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T16:55:48.443Z] 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 [2022-11-07T16:55:49.426Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T16:55:49.754Z] + ls -al . [2022-11-07T16:55:49.754Z] total 20 [2022-11-07T16:55:49.754Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 16:55 . [2022-11-07T16:55:49.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 16:55 .. [2022-11-07T16:55:49.754Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 16:55 .git [2022-11-07T16:55:49.754Z] -rw-rw-r-- 1 jenkins jenkins 332 Nov 7 16:55 Dockerfile [2022-11-07T16:55:49.754Z] -rw-rw-r-- 1 jenkins jenkins 883 Nov 7 16:55 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T16:55:50.279Z] + docker build -t edgex-devops/edgex-gcc-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=23263198b78fe5cf19c904be208016157a789a9d --label arch=amd64 . [2022-11-07T16:55:50.279Z] Sending build context to Docker daemon 442.4kB [2022-11-07T16:55:50.279Z] Step 1/5 : FROM alpine:3.16 [2022-11-07T16:55:50.850Z] 3.16: Pulling from library/alpine [2022-11-07T16:55:51.110Z] 213ec9aee27d: Pulling fs layer [2022-11-07T16:55:51.110Z] 213ec9aee27d: Verifying Checksum [2022-11-07T16:55:51.110Z] 213ec9aee27d: Download complete [2022-11-07T16:55:51.371Z] 213ec9aee27d: Pull complete [2022-11-07T16:55:51.371Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T16:55:51.371Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T16:55:51.371Z] ---> 9c6f07244728 [2022-11-07T16:55:51.371Z] Step 2/5 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-07T16:55:51.667Z] ---> Running in c0cac66a349e [2022-11-07T16:55:51.667Z] Removing intermediate container c0cac66a349e [2022-11-07T16:55:51.667Z] ---> 50fc4f8a3425 [2022-11-07T16:55:51.667Z] Step 3/5 : RUN apk add --update --no-cache git build-base cmake linux-headers yaml yaml-dev libmicrohttpd-dev libcurl curl-dev && apk upgrade [2022-11-07T16:55:51.667Z] ---> Running in 0ea52706a89f [2022-11-07T16:55:52.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T16:55:52.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T16:55:52.501Z] (1/65) Upgrading musl (1.2.3-r0 -> 1.2.3-r1) [2022-11-07T16:55:52.501Z] (2/65) Upgrading libcrypto1.1 (1.1.1q-r0 -> 1.1.1s-r0) [2022-11-07T16:55:52.764Z] (3/65) Upgrading libssl1.1 (1.1.1q-r0 -> 1.1.1s-r0) [2022-11-07T16:55:52.764Z] (4/65) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T16:55:52.764Z] (5/65) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T16:55:52.764Z] (6/65) Installing binutils (2.38-r3) [2022-11-07T16:55:52.764Z] (7/65) Installing libmagic (5.41-r0) [2022-11-07T16:55:52.764Z] (8/65) Installing file (5.41-r0) [2022-11-07T16:55:52.764Z] (9/65) Installing libgomp (11.2.1_git20220219-r2) [2022-11-07T16:55:52.764Z] (10/65) Installing libatomic (11.2.1_git20220219-r2) [2022-11-07T16:55:52.764Z] (11/65) Installing gmp (6.2.1-r2) [2022-11-07T16:55:52.764Z] (12/65) Installing isl22 (0.22-r0) [2022-11-07T16:55:52.764Z] (13/65) Installing mpfr4 (4.1.0-r0) [2022-11-07T16:55:52.764Z] (14/65) Installing mpc1 (1.2.1-r0) [2022-11-07T16:55:52.764Z] (15/65) Installing gcc (11.2.1_git20220219-r2) [2022-11-07T16:55:53.336Z] (16/65) Installing musl-dev (1.2.3-r1) [2022-11-07T16:55:53.336Z] (17/65) Installing libc-dev (0.7.2-r3) [2022-11-07T16:55:53.336Z] (18/65) Installing g++ (11.2.1_git20220219-r2) [2022-11-07T16:55:53.597Z] (19/65) Installing make (4.3-r0) [2022-11-07T16:55:53.597Z] (20/65) Installing fortify-headers (1.1-r1) [2022-11-07T16:55:53.598Z] (21/65) Installing patch (2.7.6-r7) [2022-11-07T16:55:53.598Z] (22/65) Installing build-base (0.5-r3) [2022-11-07T16:55:53.598Z] (23/65) Installing libacl (2.3.1-r0) [2022-11-07T16:55:53.598Z] (24/65) Installing libbz2 (1.0.8-r1) [2022-11-07T16:55:53.598Z] (25/65) Installing expat (2.5.0-r0) [2022-11-07T16:55:53.858Z] (26/65) Installing lz4-libs (1.9.3-r1) [2022-11-07T16:55:53.858Z] (27/65) Installing xz-libs (5.2.5-r1) [2022-11-07T16:55:53.858Z] (28/65) Installing zstd-libs (1.5.2-r1) [2022-11-07T16:55:53.858Z] (29/65) Installing libarchive (3.6.1-r0) [2022-11-07T16:55:53.858Z] (30/65) Installing ca-certificates (20220614-r0) [2022-11-07T16:55:53.858Z] (31/65) Installing brotli-libs (1.0.9-r6) [2022-11-07T16:55:53.858Z] (32/65) Installing nghttp2-libs (1.47.0-r0) [2022-11-07T16:55:53.858Z] (33/65) Installing libcurl (7.83.1-r4) [2022-11-07T16:55:53.858Z] (34/65) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-11-07T16:55:53.858Z] (35/65) Installing ncurses-libs (6.3_p20220521-r0) [2022-11-07T16:55:53.858Z] (36/65) Installing rhash-libs (1.4.2-r2) [2022-11-07T16:55:53.858Z] (37/65) Installing libuv (1.44.1-r0) [2022-11-07T16:55:53.858Z] (38/65) Installing cmake (3.23.1-r0) [2022-11-07T16:55:54.431Z] (39/65) Installing pkgconf (1.8.0-r1) [2022-11-07T16:55:54.431Z] (40/65) Installing openssl-dev (1.1.1s-r0) [2022-11-07T16:55:54.431Z] (41/65) Installing nghttp2-dev (1.47.0-r0) [2022-11-07T16:55:54.431Z] (42/65) Installing zlib-dev (1.2.12-r3) [2022-11-07T16:55:54.431Z] (43/65) Installing brotli-dev (1.0.9-r6) [2022-11-07T16:55:54.431Z] (44/65) Installing curl-dev (7.83.1-r4) [2022-11-07T16:55:54.431Z] (45/65) Installing pcre2 (10.40-r0) [2022-11-07T16:55:54.431Z] (46/65) Installing git (2.36.3-r0) [2022-11-07T16:55:54.431Z] (47/65) Installing nettle (3.7.3-r0) [2022-11-07T16:55:54.431Z] (48/65) Installing libffi (3.4.2-r1) [2022-11-07T16:55:54.431Z] (49/65) Installing p11-kit (0.24.1-r0) [2022-11-07T16:55:54.431Z] (50/65) Installing libtasn1 (4.18.0-r0) [2022-11-07T16:55:54.431Z] (51/65) Installing libunistring (1.0-r0) [2022-11-07T16:55:54.431Z] (52/65) Installing gnutls (3.7.7-r0) [2022-11-07T16:55:54.431Z] (53/65) Installing libmicrohttpd (0.9.75-r0) [2022-11-07T16:55:54.431Z] (54/65) Installing gnutls-c++ (3.7.7-r0) [2022-11-07T16:55:54.431Z] (55/65) Installing libgmpxx (6.2.1-r2) [2022-11-07T16:55:54.431Z] (56/65) Installing gmp-dev (6.2.1-r2) [2022-11-07T16:55:54.431Z] (57/65) Installing nettle-dev (3.7.3-r0) [2022-11-07T16:55:54.431Z] (58/65) Installing libtasn1-progs (4.18.0-r0) [2022-11-07T16:55:54.431Z] (59/65) Installing libtasn1-dev (4.18.0-r0) [2022-11-07T16:55:54.431Z] (60/65) Installing p11-kit-dev (0.24.1-r0) [2022-11-07T16:55:54.431Z] (61/65) Installing gnutls-dev (3.7.7-r0) [2022-11-07T16:55:54.693Z] (62/65) Installing libmicrohttpd-dev (0.9.75-r0) [2022-11-07T16:55:54.693Z] (63/65) Installing linux-headers (5.16.7-r1) [2022-11-07T16:55:54.693Z] (64/65) Installing yaml (0.2.5-r0) [2022-11-07T16:55:54.693Z] (65/65) Installing yaml-dev (0.2.5-r0) [2022-11-07T16:55:54.693Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T16:55:54.693Z] Executing ca-certificates-20220614-r0.trigger [2022-11-07T16:55:54.693Z] OK: 273 MiB in 76 packages [2022-11-07T16:55:54.693Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T16:55:54.955Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T16:55:55.216Z] (1/3) Upgrading alpine-baselayout-data (3.2.0-r22 -> 3.2.0-r23) [2022-11-07T16:55:55.216Z] (2/3) Upgrading alpine-baselayout (3.2.0-r22 -> 3.2.0-r23) [2022-11-07T16:55:55.216Z] Executing alpine-baselayout-3.2.0-r23.pre-upgrade [2022-11-07T16:55:55.216Z] Executing alpine-baselayout-3.2.0-r23.post-upgrade [2022-11-07T16:55:55.216Z] (3/3) Upgrading musl-utils (1.2.3-r0 -> 1.2.3-r1) [2022-11-07T16:55:55.216Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T16:55:55.216Z] OK: 273 MiB in 76 packages [2022-11-07T16:56:00.498Z] Removing intermediate container 0ea52706a89f [2022-11-07T16:56:00.498Z] ---> 3e5d5fa10bab [2022-11-07T16:56:00.498Z] Step 4/5 : LABEL arch=amd64 [2022-11-07T16:56:00.498Z] ---> Running in 2d8478eb33f7 [2022-11-07T16:56:00.498Z] Removing intermediate container 2d8478eb33f7 [2022-11-07T16:56:00.498Z] ---> b4b858e52f8d [2022-11-07T16:56:00.498Z] Step 5/5 : LABEL git_sha=23263198b78fe5cf19c904be208016157a789a9d [2022-11-07T16:56:00.498Z] ---> Running in 60b10da28202 [2022-11-07T16:56:00.498Z] Removing intermediate container 60b10da28202 [2022-11-07T16:56:00.498Z] ---> 8d30c3419f6e [2022-11-07T16:56:00.498Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T16:56:00.498Z] Successfully built 8d30c3419f6e [2022-11-07T16:56:00.498Z] Successfully tagged edgex-devops/edgex-gcc-base:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 [2022-11-07T16:56:01.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T16:56:01.675Z] [2022-11-07T16:56:01.675Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T16:56:01.974Z] Still waiting to schedule task [2022-11-07T16:56:01.974Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-07T16:56:02.170Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T16:56:02.170Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-07T16:56:02.170Z] 5eb5b503b376: Pulling fs layer [2022-11-07T16:56:02.170Z] 5c69ac0246d0: Pulling fs layer [2022-11-07T16:56:02.170Z] ec43610c2a17: Pulling fs layer [2022-11-07T16:56:02.170Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-07T16:56:02.170Z] 33b1e0a273af: Pulling fs layer [2022-11-07T16:56:02.170Z] 5d3b04190fa2: Pulling fs layer [2022-11-07T16:56:02.170Z] 2f39f015ded8: Pulling fs layer [2022-11-07T16:56:02.170Z] 33b1e0a273af: Waiting [2022-11-07T16:56:02.170Z] 5d3b04190fa2: Waiting [2022-11-07T16:56:02.170Z] 2f39f015ded8: Waiting [2022-11-07T16:56:02.170Z] 3a2ae6a8a46f: Waiting [2022-11-07T16:56:02.170Z] 5c69ac0246d0: Verifying Checksum [2022-11-07T16:56:02.170Z] 5c69ac0246d0: Download complete [2022-11-07T16:56:02.170Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-07T16:56:02.170Z] 3a2ae6a8a46f: Download complete [2022-11-07T16:56:02.430Z] 33b1e0a273af: Verifying Checksum [2022-11-07T16:56:02.430Z] 33b1e0a273af: Download complete [2022-11-07T16:56:02.430Z] 5d3b04190fa2: Verifying Checksum [2022-11-07T16:56:02.430Z] 5d3b04190fa2: Download complete [2022-11-07T16:56:02.430Z] ec43610c2a17: Verifying Checksum [2022-11-07T16:56:02.430Z] ec43610c2a17: Download complete [2022-11-07T16:56:02.690Z] 5eb5b503b376: Download complete [2022-11-07T16:56:04.066Z] 5eb5b503b376: Pull complete [2022-11-07T16:56:04.066Z] 5c69ac0246d0: Pull complete [2022-11-07T16:56:04.635Z] ec43610c2a17: Pull complete [2022-11-07T16:56:04.636Z] 3a2ae6a8a46f: Pull complete [2022-11-07T16:56:04.894Z] 33b1e0a273af: Pull complete [2022-11-07T16:56:04.894Z] 5d3b04190fa2: Pull complete [2022-11-07T16:56:10.172Z] 2f39f015ded8: Pull complete [2022-11-07T16:56:10.172Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-07T16:56:10.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T16:56:10.172Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T16:56:10.394Z] prd-ubuntu20.04-docker-8c-8g-118445 does not seem to be running inside a container [2022-11-07T16:56:10.433Z] $ 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-202 -v /w/workspace/exfoundry_ci-build-images_PR-202:/w/workspace/exfoundry_ci-build-images_PR-202:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-202@tmp:/w/workspace/exfoundry_ci-build-images_PR-202@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T16:56:12.220Z] $ docker top 2370598d1a6d4de54a0cb3914724ecd341b3c5c2b9f0ee01d209bad1e6dc688a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T16:56:12.686Z] ---> job-cost.sh [2022-11-07T16:56:12.686Z] lf-activate-venv: SKIPPING [2022-11-07T16:56:12.686Z] INFO: No Stack... [2022-11-07T16:56:12.948Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T16:56:13.208Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T16:56:13.521Z] + cat /w/workspace/exfoundry_ci-build-images_PR-202/archives/cost.csv [2022-11-07T16:56:13.521Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T16:56:13.571Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-202-1-stack-cost] [2022-11-07T16:56:13.576Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-202-1-stack-cost] did not exist. Created. [2022-11-07T16:56:13.576Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-202-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T16:56:13.999Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-07T16:56:14.213Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T16:56:14.235Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-202-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T16:56:14.313Z] $ docker stop --time=1 2370598d1a6d4de54a0cb3914724ecd341b3c5c2b9f0ee01d209bad1e6dc688a [2022-11-07T16:56:15.500Z] $ docker rm -f 2370598d1a6d4de54a0cb3914724ecd341b3c5c2b9f0ee01d209bad1e6dc688a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-07T16:57:49.259Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118446 in /w/workspace/exfoundry_ci-build-images_PR-202 [Pipeline] { [Pipeline] checkout [2022-11-07T16:57:49.329Z] Selected Git installation does not exist. Using Default [2022-11-07T16:57:49.329Z] The recommended git tool is: NONE [2022-11-07T16:57:55.434Z] using credential edgex-jenkins-ssh [2022-11-07T16:57:55.454Z] Cloning the remote Git repository [2022-11-07T16:57:55.515Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2022-11-07T16:57:55.595Z] > git init /w/workspace/exfoundry_ci-build-images_PR-202 # timeout=10 [2022-11-07T16:57:55.745Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2022-11-07T16:57:55.746Z] > git --version # timeout=10 [2022-11-07T16:57:55.775Z] > git --version # 'git version 2.25.1' [2022-11-07T16:57:55.778Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T16:57:55.835Z] Verifying host key using known hosts file [2022-11-07T16:57:56.101Z] 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. [2022-11-07T16:57:56.117Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T16:57:56.863Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2022-11-07T16:57:56.880Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T16:57:57.884Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2022-11-07T16:57:57.939Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2022-11-07T16:57:57.940Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T16:57:57.946Z] Verifying host key using known hosts file [2022-11-07T16:57:57.953Z] 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. [2022-11-07T16:57:57.966Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/202/head:refs/remotes/origin/PR-202 +refs/heads/gcc:refs/remotes/origin/gcc # timeout=10 [2022-11-07T16:57:58.600Z] Merging remotes/origin/gcc commit 02f2b605e8d179b9aa683026d421aa6d8df6cc7a into PR head commit 23263198b78fe5cf19c904be208016157a789a9d [2022-11-07T16:57:58.895Z] Merge succeeded, producing 23263198b78fe5cf19c904be208016157a789a9d [2022-11-07T16:57:58.895Z] Checking out Revision 23263198b78fe5cf19c904be208016157a789a9d (PR-202) [2022-11-07T16:57:58.626Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T16:57:58.666Z] > git checkout -f 23263198b78fe5cf19c904be208016157a789a9d # timeout=10 [2022-11-07T16:57:58.756Z] > git remote # timeout=10 [2022-11-07T16:57:58.784Z] > git config --get remote.origin.url # timeout=10 [2022-11-07T16:57:58.813Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T16:57:58.820Z] Verifying host key using known hosts file [2022-11-07T16:57:58.826Z] 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. [2022-11-07T16:57:58.837Z] > git merge 02f2b605e8d179b9aa683026d421aa6d8df6cc7a # timeout=10 [2022-11-07T16:57:58.875Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-07T16:57:58.906Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T16:57:58.923Z] > git checkout -f 23263198b78fe5cf19c904be208016157a789a9d # timeout=10 [2022-11-07T16:58:02.487Z] Commit message: "ci: add apk upgrade in case of out of date dependencies in base" [2022-11-07T16:58:02.552Z] > git --version # timeout=10 [2022-11-07T16:58:02.567Z] > git --version # 'git version 2.25.1' [2022-11-07T16:58:02.587Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T16:58:03.965Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-07T16:58:03.965Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T16:58:03.965Z] Dload Upload Total Spent Left Speed [2022-11-07T16:58:03.965Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 82907 0 --:--:-- --:--:-- --:--:-- 82907 [Pipeline] sh [2022-11-07T16:58:04.678Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-07T16:58:05.032Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-07T16:58:05.032Z] + sudo tee /etc/docker/daemon.new [2022-11-07T16:58:05.032Z] { [2022-11-07T16:58:05.032Z] "registry-mirrors": [ [2022-11-07T16:58:05.032Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-07T16:58:05.032Z] ], [2022-11-07T16:58:05.032Z] "bip": "10.250.0.254/24", [2022-11-07T16:58:05.032Z] "hosts": [ [2022-11-07T16:58:05.032Z] "tcp://0.0.0.0:5555", [2022-11-07T16:58:05.032Z] "unix:///var/run/docker.sock" [2022-11-07T16:58:05.032Z] ], [2022-11-07T16:58:05.032Z] "mtu": 1458, [2022-11-07T16:58:05.032Z] "selinux-enabled": true, [2022-11-07T16:58:05.032Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-07T16:58:05.032Z] } [Pipeline] sh [2022-11-07T16:58:05.389Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-07T16:58:05.769Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T16:58:24.118Z] provisioning config files... [2022-11-07T16:58:24.153Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-202@tmp/config2772213920376293959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T16:58:24.547Z] ---> docker-login.sh [2022-11-07T16:58:24.547Z] nexus3.edgexfoundry.org:10001 [2022-11-07T16:58:24.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T16:58:25.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T16:58:25.089Z] Configure a credential helper to remove this warning. See [2022-11-07T16:58:25.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T16:58:25.089Z] [2022-11-07T16:58:25.089Z] Login Succeeded [2022-11-07T16:58:25.089Z] nexus3.edgexfoundry.org:10002 [2022-11-07T16:58:25.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T16:58:25.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T16:58:25.629Z] Configure a credential helper to remove this warning. See [2022-11-07T16:58:25.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T16:58:25.629Z] [2022-11-07T16:58:25.629Z] Login Succeeded [2022-11-07T16:58:25.629Z] nexus3.edgexfoundry.org:10003 [2022-11-07T16:58:25.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T16:58:25.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T16:58:25.898Z] Configure a credential helper to remove this warning. See [2022-11-07T16:58:25.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T16:58:25.898Z] [2022-11-07T16:58:25.898Z] Login Succeeded [2022-11-07T16:58:25.898Z] nexus3.edgexfoundry.org:10004 [2022-11-07T16:58:26.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T16:58:26.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T16:58:26.180Z] Configure a credential helper to remove this warning. See [2022-11-07T16:58:26.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T16:58:26.180Z] [2022-11-07T16:58:26.180Z] Login Succeeded [2022-11-07T16:58:26.180Z] docker.io [2022-11-07T16:58:26.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T16:58:27.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T16:58:27.038Z] Configure a credential helper to remove this warning. See [2022-11-07T16:58:27.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T16:58:27.038Z] [2022-11-07T16:58:27.038Z] Login Succeeded [2022-11-07T16:58:27.038Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T16:58:27.068Z] 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 [2022-11-07T16:58:27.759Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T16:58:28.114Z] + ls -al . [2022-11-07T16:58:28.114Z] total 20 [2022-11-07T16:58:28.114Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 16:57 . [2022-11-07T16:58:28.114Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 16:57 .. [2022-11-07T16:58:28.114Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 16:57 .git [2022-11-07T16:58:28.114Z] -rw-rw-r-- 1 jenkins jenkins 332 Nov 7 16:57 Dockerfile [2022-11-07T16:58:28.114Z] -rw-rw-r-- 1 jenkins jenkins 883 Nov 7 16:57 Jenkinsfile [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T16:58:28.559Z] + docker build -t edgex-devops/edgex-gcc-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=23263198b78fe5cf19c904be208016157a789a9d --label arch=arm64 . [2022-11-07T16:58:28.829Z] Sending build context to Docker daemon 442.9kB [2022-11-07T16:58:28.829Z] Step 1/5 : FROM alpine:3.16 [2022-11-07T16:58:29.415Z] 3.16: Pulling from library/alpine [2022-11-07T16:58:29.684Z] 9b18e9b68314: Pulling fs layer [2022-11-07T16:58:29.957Z] 9b18e9b68314: Download complete [2022-11-07T16:58:30.552Z] 9b18e9b68314: Pull complete [2022-11-07T16:58:30.552Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T16:58:30.552Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T16:58:30.552Z] ---> a6215f271958 [2022-11-07T16:58:30.552Z] Step 2/5 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-07T16:58:30.552Z] ---> Running in 536f9e427e3c [2022-11-07T16:58:31.141Z] Removing intermediate container 536f9e427e3c [2022-11-07T16:58:31.141Z] ---> 80c530a58a41 [2022-11-07T16:58:31.141Z] Step 3/5 : RUN apk add --update --no-cache git build-base cmake linux-headers yaml yaml-dev libmicrohttpd-dev libcurl curl-dev && apk upgrade [2022-11-07T16:58:31.141Z] ---> Running in 29c32c792167 [2022-11-07T16:58:32.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T16:58:32.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T16:58:33.671Z] (1/65) Upgrading musl (1.2.3-r0 -> 1.2.3-r1) [2022-11-07T16:58:33.671Z] (2/65) Upgrading libcrypto1.1 (1.1.1q-r0 -> 1.1.1s-r0) [2022-11-07T16:58:33.671Z] (3/65) Upgrading libssl1.1 (1.1.1q-r0 -> 1.1.1s-r0) [2022-11-07T16:58:33.671Z] (4/65) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T16:58:33.671Z] (5/65) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T16:58:33.671Z] (6/65) Installing binutils (2.38-r3) [2022-11-07T16:58:34.256Z] (7/65) Installing libmagic (5.41-r0) [2022-11-07T16:58:34.256Z] (8/65) Installing file (5.41-r0) [2022-11-07T16:58:34.256Z] (9/65) Installing libgomp (11.2.1_git20220219-r2) [2022-11-07T16:58:34.256Z] (10/65) Installing libatomic (11.2.1_git20220219-r2) [2022-11-07T16:58:34.256Z] (11/65) Installing gmp (6.2.1-r2) [2022-11-07T16:58:34.256Z] (12/65) Installing isl22 (0.22-r0) [2022-11-07T16:58:34.256Z] (13/65) Installing mpfr4 (4.1.0-r0) [2022-11-07T16:58:34.256Z] (14/65) Installing mpc1 (1.2.1-r0) [2022-11-07T16:58:34.256Z] (15/65) Installing gcc (11.2.1_git20220219-r2) [2022-11-07T16:58:36.853Z] (16/65) Installing musl-dev (1.2.3-r1) [2022-11-07T16:58:36.853Z] (17/65) Installing libc-dev (0.7.2-r3) [2022-11-07T16:58:36.853Z] (18/65) Installing g++ (11.2.1_git20220219-r2) [2022-11-07T16:58:38.272Z] (19/65) Installing make (4.3-r0) [2022-11-07T16:58:38.272Z] (20/65) Installing fortify-headers (1.1-r1) [2022-11-07T16:58:38.272Z] (21/65) Installing patch (2.7.6-r7) [2022-11-07T16:58:38.272Z] (22/65) Installing build-base (0.5-r3) [2022-11-07T16:58:38.272Z] (23/65) Installing libacl (2.3.1-r0) [2022-11-07T16:58:38.272Z] (24/65) Installing libbz2 (1.0.8-r1) [2022-11-07T16:58:38.272Z] (25/65) Installing expat (2.5.0-r0) [2022-11-07T16:58:38.272Z] (26/65) Installing lz4-libs (1.9.3-r1) [2022-11-07T16:58:38.272Z] (27/65) Installing xz-libs (5.2.5-r1) [2022-11-07T16:58:38.553Z] (28/65) Installing zstd-libs (1.5.2-r1) [2022-11-07T16:58:38.553Z] (29/65) Installing libarchive (3.6.1-r0) [2022-11-07T16:58:38.553Z] (30/65) Installing ca-certificates (20220614-r0) [2022-11-07T16:58:38.553Z] (31/65) Installing brotli-libs (1.0.9-r6) [2022-11-07T16:58:38.553Z] (32/65) Installing nghttp2-libs (1.47.0-r0) [2022-11-07T16:58:38.553Z] (33/65) Installing libcurl (7.83.1-r4) [2022-11-07T16:58:38.553Z] (34/65) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-11-07T16:58:38.553Z] (35/65) Installing ncurses-libs (6.3_p20220521-r0) [2022-11-07T16:58:38.553Z] (36/65) Installing rhash-libs (1.4.2-r2) [2022-11-07T16:58:38.824Z] (37/65) Installing libuv (1.44.1-r0) [2022-11-07T16:58:38.824Z] (38/65) Installing cmake (3.23.1-r0) [2022-11-07T16:58:40.769Z] (39/65) Installing pkgconf (1.8.0-r1) [2022-11-07T16:58:40.769Z] (40/65) Installing openssl-dev (1.1.1s-r0) [2022-11-07T16:58:41.035Z] (41/65) Installing nghttp2-dev (1.47.0-r0) [2022-11-07T16:58:41.035Z] (42/65) Installing zlib-dev (1.2.12-r3) [2022-11-07T16:58:41.035Z] (43/65) Installing brotli-dev (1.0.9-r6) [2022-11-07T16:58:41.035Z] (44/65) Installing curl-dev (7.83.1-r4) [2022-11-07T16:58:41.035Z] (45/65) Installing pcre2 (10.40-r0) [2022-11-07T16:58:41.035Z] (46/65) Installing git (2.36.3-r0) [2022-11-07T16:58:41.303Z] (47/65) Installing nettle (3.7.3-r0) [2022-11-07T16:58:41.303Z] (48/65) Installing libffi (3.4.2-r1) [2022-11-07T16:58:41.303Z] (49/65) Installing p11-kit (0.24.1-r0) [2022-11-07T16:58:41.303Z] (50/65) Installing libtasn1 (4.18.0-r0) [2022-11-07T16:58:41.303Z] (51/65) Installing libunistring (1.0-r0) [2022-11-07T16:58:41.573Z] (52/65) Installing gnutls (3.7.7-r0) [2022-11-07T16:58:41.573Z] (53/65) Installing libmicrohttpd (0.9.75-r0) [2022-11-07T16:58:41.573Z] (54/65) Installing gnutls-c++ (3.7.7-r0) [2022-11-07T16:58:41.573Z] (55/65) Installing libgmpxx (6.2.1-r2) [2022-11-07T16:58:41.573Z] (56/65) Installing gmp-dev (6.2.1-r2) [2022-11-07T16:58:41.573Z] (57/65) Installing nettle-dev (3.7.3-r0) [2022-11-07T16:58:41.573Z] (58/65) Installing libtasn1-progs (4.18.0-r0) [2022-11-07T16:58:41.573Z] (59/65) Installing libtasn1-dev (4.18.0-r0) [2022-11-07T16:58:41.573Z] (60/65) Installing p11-kit-dev (0.24.1-r0) [2022-11-07T16:58:41.573Z] (61/65) Installing gnutls-dev (3.7.7-r0) [2022-11-07T16:58:41.573Z] (62/65) Installing libmicrohttpd-dev (0.9.75-r0) [2022-11-07T16:58:41.842Z] (63/65) Installing linux-headers (5.16.7-r1) [2022-11-07T16:58:42.112Z] (64/65) Installing yaml (0.2.5-r0) [2022-11-07T16:58:42.112Z] (65/65) Installing yaml-dev (0.2.5-r0) [2022-11-07T16:58:42.112Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T16:58:42.381Z] Executing ca-certificates-20220614-r0.trigger [2022-11-07T16:58:42.651Z] OK: 278 MiB in 76 packages [2022-11-07T16:58:42.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T16:58:43.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T16:58:44.200Z] (1/3) Upgrading alpine-baselayout-data (3.2.0-r22 -> 3.2.0-r23) [2022-11-07T16:58:44.201Z] (2/3) Upgrading alpine-baselayout (3.2.0-r22 -> 3.2.0-r23) [2022-11-07T16:58:44.201Z] Executing alpine-baselayout-3.2.0-r23.pre-upgrade [2022-11-07T16:58:44.201Z] Executing alpine-baselayout-3.2.0-r23.post-upgrade [2022-11-07T16:58:45.615Z] (3/3) Upgrading musl-utils (1.2.3-r0 -> 1.2.3-r1) [2022-11-07T16:58:45.615Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T16:58:45.615Z] OK: 278 MiB in 76 packages [2022-11-07T16:58:57.950Z] Removing intermediate container 29c32c792167 [2022-11-07T16:58:57.950Z] ---> ef0af04bacee [2022-11-07T16:58:57.950Z] Step 4/5 : LABEL arch=arm64 [2022-11-07T16:58:58.217Z] ---> Running in 35bbb6bcaea1 [2022-11-07T16:58:58.485Z] Removing intermediate container 35bbb6bcaea1 [2022-11-07T16:58:58.485Z] ---> 5a93912dbbcd [2022-11-07T16:58:58.485Z] Step 5/5 : LABEL git_sha=23263198b78fe5cf19c904be208016157a789a9d [2022-11-07T16:58:58.485Z] ---> Running in bd9112215a5d [2022-11-07T16:58:58.762Z] Removing intermediate container bd9112215a5d [2022-11-07T16:58:58.762Z] ---> d3bd1bfede06 [2022-11-07T16:58:58.762Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T16:58:58.762Z] Successfully built d3bd1bfede06 [2022-11-07T16:58:58.762Z] Successfully tagged edgex-devops/edgex-gcc-base-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 [2022-11-07T16:58:59.648Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T16:58:59.648Z] [2022-11-07T16:58:59.648Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T16:59:00.059Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T16:59:00.059Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-07T16:59:00.059Z] 8998bd30e6a1: Pulling fs layer [2022-11-07T16:59:00.059Z] 04944245beec: Pulling fs layer [2022-11-07T16:59:00.059Z] 699f458cf7ca: Pulling fs layer [2022-11-07T16:59:00.059Z] 765212b225bb: Pulling fs layer [2022-11-07T16:59:00.059Z] f23df028b6ca: Pulling fs layer [2022-11-07T16:59:00.059Z] d65c8cfc05b1: Pulling fs layer [2022-11-07T16:59:00.059Z] 765212b225bb: Waiting [2022-11-07T16:59:00.059Z] 2437ff75d9bd: Pulling fs layer [2022-11-07T16:59:00.059Z] f23df028b6ca: Waiting [2022-11-07T16:59:00.059Z] d65c8cfc05b1: Waiting [2022-11-07T16:59:00.059Z] 2437ff75d9bd: Waiting [2022-11-07T16:59:00.337Z] 04944245beec: Verifying Checksum [2022-11-07T16:59:00.337Z] 04944245beec: Download complete [2022-11-07T16:59:00.337Z] 765212b225bb: Download complete [2022-11-07T16:59:00.337Z] f23df028b6ca: Verifying Checksum [2022-11-07T16:59:00.337Z] f23df028b6ca: Download complete [2022-11-07T16:59:00.337Z] d65c8cfc05b1: Verifying Checksum [2022-11-07T16:59:00.337Z] d65c8cfc05b1: Download complete [2022-11-07T16:59:00.337Z] 699f458cf7ca: Verifying Checksum [2022-11-07T16:59:00.337Z] 699f458cf7ca: Download complete [2022-11-07T16:59:00.918Z] 8998bd30e6a1: Verifying Checksum [2022-11-07T16:59:00.918Z] 8998bd30e6a1: Download complete [2022-11-07T16:59:02.863Z] 2437ff75d9bd: Verifying Checksum [2022-11-07T16:59:02.863Z] 2437ff75d9bd: Download complete [2022-11-07T16:59:04.816Z] 8998bd30e6a1: Pull complete [2022-11-07T16:59:04.816Z] 04944245beec: Pull complete [2022-11-07T16:59:06.223Z] 699f458cf7ca: Pull complete [2022-11-07T16:59:06.492Z] 765212b225bb: Pull complete [2022-11-07T16:59:07.076Z] f23df028b6ca: Pull complete [2022-11-07T16:59:07.341Z] d65c8cfc05b1: Pull complete [2022-11-07T16:59:19.660Z] 2437ff75d9bd: Pull complete [2022-11-07T16:59:19.660Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-07T16:59:19.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T16:59:19.660Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T16:59:20.002Z] prd-ubuntu20.04-docker-arm64-4c-16g-118446 does not seem to be running inside a container [2022-11-07T16:59:20.065Z] $ 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-202 -v /w/workspace/exfoundry_ci-build-images_PR-202:/w/workspace/exfoundry_ci-build-images_PR-202:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-202@tmp:/w/workspace/exfoundry_ci-build-images_PR-202@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-07T16:59:22.474Z] $ docker top 1dacab9df747fa46a962fe63322d26dae0586dd52b46e1ab518cdbbe51cefd70 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T16:59:23.394Z] ---> job-cost.sh [2022-11-07T16:59:23.394Z] lf-activate-venv: SKIPPING [2022-11-07T16:59:23.394Z] INFO: No Stack... [2022-11-07T16:59:23.661Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-07T16:59:24.620Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T16:59:24.964Z] + cut -d, -f6 [2022-11-07T16:59:24.964Z] + cat /w/workspace/exfoundry_ci-build-images_PR-202/archives/cost.csv [Pipeline] lock [2022-11-07T16:59:25.314Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-202-1-stack-cost] [2022-11-07T16:59:25.319Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-202-1-stack-cost] did not exist. Created. [2022-11-07T16:59:25.320Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-202-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T16:59:26.125Z] /w/workspace/exfoundry_ci-build-images_PR-202@tmp/durable-6c9f7797/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-07T16:59:26.486Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-07T16:59:26.522Z] Warning: overwriting stash ‘stack-cost’ [2022-11-07T16:59:26.860Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T16:59:26.882Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-202-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T16:59:26.960Z] $ docker stop --time=1 1dacab9df747fa46a962fe63322d26dae0586dd52b46e1ab518cdbbe51cefd70 [2022-11-07T16:59:28.480Z] $ docker rm -f 1dacab9df747fa46a962fe63322d26dae0586dd52b46e1ab518cdbbe51cefd70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [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 [2022-11-07T16:59:30.017Z] + [ -d /w/workspace/exfoundry_ci-build-images_PR-202/archives ] [2022-11-07T16:59:30.017Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-202/archives [2022-11-07T16:59:30.017Z] total 16 [2022-11-07T16:59:30.017Z] drwxr-xr-x 3 root root 4096 Nov 7 16:56 . [2022-11-07T16:59:30.017Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 16:56 .. [2022-11-07T16:59:30.017Z] drwxr-xr-x 2 root root 4096 Nov 7 16:56 cost [2022-11-07T16:59:30.017Z] -rw-r--r-- 1 root root 86 Nov 7 16:56 cost.csv [2022-11-07T16:59:30.017Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-202/archives [2022-11-07T16:59:30.017Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-202/archives [2022-11-07T16:59:30.017Z] total 16 [2022-11-07T16:59:30.017Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 16:56 . [2022-11-07T16:59:30.017Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 16:56 .. [2022-11-07T16:59:30.017Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 16:56 cost [2022-11-07T16:59:30.017Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 7 16:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-07T16:59:30.357Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T16:59:31.250Z] ---> package-listing.sh [2022-11-07T16:59:31.251Z] ++ facter osfamily [2022-11-07T16:59:31.251Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-07T16:59:31.510Z] + OS_FAMILY=debian [2022-11-07T16:59:31.510Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-202 [2022-11-07T16:59:31.510Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-07T16:59:31.510Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-07T16:59:31.510Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-07T16:59:31.510Z] + PACKAGES=/tmp/packages_start.txt [2022-11-07T16:59:31.510Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-202 ']' [2022-11-07T16:59:31.510Z] + PACKAGES=/tmp/packages_end.txt [2022-11-07T16:59:31.510Z] + case "${OS_FAMILY}" in [2022-11-07T16:59:31.510Z] + dpkg -l [2022-11-07T16:59:31.510Z] + grep '^ii' [2022-11-07T16:59:31.510Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-07T16:59:31.510Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-07T16:59:31.510Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-07T16:59:31.510Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-202 ']' [2022-11-07T16:59:31.510Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-202/archives/ [2022-11-07T16:59:31.510Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-202/archives/ [Pipeline] echo [2022-11-07T16:59:31.546Z] 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-202/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-07T16:59:31.845Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T16:59:32.490Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T16:59:32.490Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T16:59:32.637Z] prd-ubuntu20.04-docker-8c-8g-118445 does not seem to be running inside a container [2022-11-07T16:59:32.672Z] $ 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-202/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-202 -v /w/workspace/exfoundry_ci-build-images_PR-202:/w/workspace/exfoundry_ci-build-images_PR-202:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-202@tmp:/w/workspace/exfoundry_ci-build-images_PR-202@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 [2022-11-07T16:59:32.909Z] $ docker top 149ab77d6040a0c49125bdc3f2e7090ad363b85632d8800a73709f823d99b03a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T16:59:33.303Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-07T16:59:33.613Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-07T16:59:33.925Z] + ls /var/log/sa-host [2022-11-07T16:59:33.925Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T16:59:34.060Z] provisioning config files... [2022-11-07T16:59:34.071Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-202@tmp/config15059515687841449463tmp [Pipeline] { [Pipeline] echo [2022-11-07T16:59:34.112Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T16:59:34.428Z] ---> create-netrc.sh [Pipeline] } [2022-11-07T16:59:34.458Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-07T16:59:34.848Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-07T16:59:34.881Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T16:59:35.192Z] ---> sudo-logs.sh [2022-11-07T16:59:35.192Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-07T16:59:35.271Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T16:59:35.592Z] ---> job-cost.sh [2022-11-07T16:59:35.592Z] lf-activate-venv: SKIPPING [2022-11-07T16:59:35.592Z] DEBUG: total: 0.2199999988079071 [2022-11-07T16:59:35.592Z] INFO: Retrieving Stack Cost... [2022-11-07T16:59:35.852Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T16:59:36.113Z] INFO: Archiving Costs [Pipeline] echo [2022-11-07T16:59:36.154Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T16:59:36.478Z] ---> logs-deploy.sh [2022-11-07T16:59:36.478Z] lf-activate-venv: SKIPPING [2022-11-07T16:59:36.478Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-202/1 [2022-11-07T16:59:36.478Z] INFO: archiving workspace using pattern(s): [2022-11-07T16:59:37.415Z] Archives upload complete. [2022-11-07T16:59:37.673Z] INFO: archiving logs to Nexus