Pull request #176 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 9d45ec5a164829422842071d903e60ec21c499c5+78e097da1c4bed6bdaba62e29632494d9a7ca519 (9ca0484820bb5d21f0fafcc5e3afe6ef6f03c271) Running in Durability level: MAX_SURVIVABILITY 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-ssh6331780069435490702.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 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-ssh6560880089164118352.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 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 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-176/workspace@libs/edgex-global-pipelines # 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-176/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4893457907574895843.key > 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-176/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8432134486653258047.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 # timeout=10 Commit message: "Merge pull request #351 from ernestojeda/fix-archives-does-not-exist" > 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 shared 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-ssh13757633354006690.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-176/workspace@libs/lf-pipelines # 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-176/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5908353092263669687.key > 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 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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-golang-base, mavenSettings:ci-build-images-settings, dockerImageName:edgex-golang-base, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[1.16-alpine, 1.16-alpine3.13], releaseBranchOverride:golang-1.16] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: ci-build-images-settings PROJECT: edgex-golang-base USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-golang-base DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-golang-base-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: golang-1.16 DOCKER_CUSTOM_TAGS: 1.16-alpine 1.16-alpine3.13 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2139 in /w/workspace/exfoundry_ci-build-images_PR-176 [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-176 # timeout=10 Merging remotes/origin/golang-1.16 commit 78e097da1c4bed6bdaba62e29632494d9a7ca519 into PR head commit 9d45ec5a164829422842071d903e60ec21c499c5 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/exfoundry_ci-build-images_PR-176@tmp/jenkins-gitclient-ssh4565268253592374339.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/exfoundry_ci-build-images_PR-176@tmp/jenkins-gitclient-ssh2181811181300813303.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/176/head:refs/remotes/origin/PR-176 +refs/heads/golang-1.16:refs/remotes/origin/golang-1.16 # timeout=10 Merge succeeded, producing 10f3045a3a89dc7e22f03338050225a2bbf140ff Checking out Revision 10f3045a3a89dc7e22f03338050225a2bbf140ff (PR-176) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d45ec5a164829422842071d903e60ec21c499c5 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/exfoundry_ci-build-images_PR-176@tmp/jenkins-gitclient-ssh884858142662323711.key > git merge 78e097da1c4bed6bdaba62e29632494d9a7ca519 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 10f3045a3a89dc7e22f03338050225a2bbf140ff # timeout=10 Commit message: "Merge commit '78e097da1c4bed6bdaba62e29632494d9a7ca519' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-05T21:30:12.916Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-05T21:30:13.105Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-05T21:30:13.204Z] ========================================================= [2021-08-05T21:30:13.204Z] EdgeX Global Pipelines Version Info [2021-08-05T21:30:13.204Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-05T21:30:14.516Z] ------------------- [2021-08-05T21:30:14.516Z] stable info: [2021-08-05T21:30:14.516Z] ------------------- [2021-08-05T21:30:14.516Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-05T21:30:14.516Z] Commit SHA: 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 [2021-08-05T21:30:14.516Z] Message: update stable to v1.0.203 [2021-08-05T21:30:15.694Z] ------------------- [2021-08-05T21:30:15.694Z] experimental info: [2021-08-05T21:30:15.694Z] ------------------- [2021-08-05T21:30:15.694Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-05T21:30:15.694Z] Commit SHA: 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 [2021-08-05T21:30:15.694Z] Message: update experimental to v1.0.203 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2021-08-05T21:30:15.986Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2021-08-05T21:30:16.039Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo [2021-08-05T21:30:16.089Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2021-08-05T21:30:16.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-05T21:30:16.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-05T21:30:16.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo [2021-08-05T21:30:16.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2021-08-05T21:30:16.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2021-08-05T21:30:16.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2021-08-05T21:30:16.477Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-08-05T21:30:16.528Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2021-08-05T21:30:16.583Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo [2021-08-05T21:30:16.637Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-05T21:30:16.687Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-05T21:30:16.739Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.16 [Pipeline] echo [2021-08-05T21:30:16.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.16-alpine 1.16-alpine3.13 [Pipeline] echo [2021-08-05T21:30:16.835Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-176 [Pipeline] echo [2021-08-05T21:30:16.892Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-176 [Pipeline] echo [2021-08-05T21:30:16.936Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-176 [Pipeline] echo [2021-08-05T21:30:16.984Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 10f3045a3a89dc7e22f03338050225a2bbf140ff [Pipeline] echo [2021-08-05T21:30:17.033Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 10f3045 [Pipeline] echo [2021-08-05T21:30:17.087Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-05T21:30:17.249Z] provisioning config files... [2021-08-05T21:30:17.739Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-176@tmp/config5491818938902689080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-05T21:30:19.680Z] ---> docker-login.sh [2021-08-05T21:30:19.680Z] nexus3.edgexfoundry.org:10001 [2021-08-05T21:30:19.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-05T21:30:19.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-05T21:30:19.680Z] Configure a credential helper to remove this warning. See [2021-08-05T21:30:19.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-05T21:30:19.680Z] [2021-08-05T21:30:19.680Z] Login Succeeded [2021-08-05T21:30:19.680Z] nexus3.edgexfoundry.org:10002 [2021-08-05T21:30:19.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-05T21:30:19.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-05T21:30:19.680Z] Configure a credential helper to remove this warning. See [2021-08-05T21:30:19.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-05T21:30:19.680Z] [2021-08-05T21:30:19.680Z] Login Succeeded [2021-08-05T21:30:19.680Z] nexus3.edgexfoundry.org:10003 [2021-08-05T21:30:19.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-05T21:30:19.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-05T21:30:19.680Z] Configure a credential helper to remove this warning. See [2021-08-05T21:30:19.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-05T21:30:19.680Z] [2021-08-05T21:30:19.680Z] Login Succeeded [2021-08-05T21:30:19.680Z] nexus3.edgexfoundry.org:10004 [2021-08-05T21:30:19.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-05T21:30:19.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-05T21:30:19.680Z] Configure a credential helper to remove this warning. See [2021-08-05T21:30:19.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-05T21:30:19.680Z] [2021-08-05T21:30:19.680Z] Login Succeeded [2021-08-05T21:30:19.680Z] docker.io [2021-08-05T21:30:19.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-05T21:30:19.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-05T21:30:19.680Z] Configure a credential helper to remove this warning. See [2021-08-05T21:30:19.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-05T21:30:19.680Z] [2021-08-05T21:30:19.680Z] Login Succeeded [2021-08-05T21:30:19.680Z] ---> docker-login.sh ends [Pipeline] } [2021-08-05T21:30:19.713Z] 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 [2021-08-05T21:30:20.806Z] provisioning config files... [2021-08-05T21:30:20.823Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-176@tmp/config8010982448940456882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-05T21:30:21.206Z] ---> docker-login.sh [2021-08-05T21:30:21.206Z] nexus3.edgexfoundry.org:10001 [2021-08-05T21:30:21.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-05T21:30:21.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-05T21:30:21.206Z] Configure a credential helper to remove this warning. See [2021-08-05T21:30:21.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-05T21:30:21.206Z] [2021-08-05T21:30:21.206Z] Login Succeeded [2021-08-05T21:30:21.206Z] nexus3.edgexfoundry.org:10002 [2021-08-05T21:30:21.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-05T21:30:21.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-05T21:30:21.479Z] Configure a credential helper to remove this warning. See [2021-08-05T21:30:21.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-05T21:30:21.479Z] [2021-08-05T21:30:21.479Z] Login Succeeded [2021-08-05T21:30:21.479Z] nexus3.edgexfoundry.org:10003 [2021-08-05T21:30:21.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-05T21:30:21.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-05T21:30:21.752Z] Configure a credential helper to remove this warning. See [2021-08-05T21:30:21.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-05T21:30:21.752Z] [2021-08-05T21:30:21.752Z] Login Succeeded [2021-08-05T21:30:21.752Z] nexus3.edgexfoundry.org:10004 [2021-08-05T21:30:21.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-05T21:30:21.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-05T21:30:21.752Z] Configure a credential helper to remove this warning. See [2021-08-05T21:30:21.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-05T21:30:21.752Z] [2021-08-05T21:30:21.752Z] Login Succeeded [2021-08-05T21:30:21.752Z] docker.io [2021-08-05T21:30:21.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-05T21:30:22.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-05T21:30:22.338Z] Configure a credential helper to remove this warning. See [2021-08-05T21:30:22.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-05T21:30:22.338Z] [2021-08-05T21:30:22.338Z] Login Succeeded [2021-08-05T21:30:22.338Z] ---> docker-login.sh ends [Pipeline] } [2021-08-05T21:30:22.367Z] 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 [2021-08-05T21:30:30.863Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-05T21:30:31.194Z] + ls -al . [2021-08-05T21:30:31.194Z] total 12 [2021-08-05T21:30:31.194Z] drwxrwxr-x. 4 jenkins jenkins 91 Aug 5 21:30 . [2021-08-05T21:30:31.194Z] drwxrwxr-x. 4 jenkins jenkins 112 Aug 5 21:30 .. [2021-08-05T21:30:31.194Z] -rw-rw-r--. 1 jenkins jenkins 914 Aug 5 21:30 Dockerfile [2021-08-05T21:30:31.194Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 5 21:30 .git [2021-08-05T21:30:31.194Z] drwxrwxr-x. 2 jenkins jenkins 38 Aug 5 21:30 .github [2021-08-05T21:30:31.194Z] -rw-rw-r--. 1 jenkins jenkins 585 Aug 5 21:30 .golangci.yml [2021-08-05T21:30:31.194Z] -rw-rw-r--. 1 jenkins jenkins 913 Aug 5 21:30 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2021-08-05T21:30:33.576Z] + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=10f3045a3a89dc7e22f03338050225a2bbf140ff --label arch=amd64 . [2021-08-05T21:30:33.576Z] Sending build context to Docker daemon 394.2kB [2021-08-05T21:30:33.576Z] Step 1/9 : FROM golang:1.16.6-alpine3.13 [2021-08-05T21:30:34.166Z] 1.16.6-alpine3.13: Pulling from library/golang [2021-08-05T21:30:34.432Z] 540db60ca938: Pulling fs layer [2021-08-05T21:30:34.432Z] adcc1eea9eea: Pulling fs layer [2021-08-05T21:30:34.432Z] 4c4ab2625f07: Pulling fs layer [2021-08-05T21:30:34.432Z] db62176df00c: Pulling fs layer [2021-08-05T21:30:34.432Z] 3b30891b0d05: Pulling fs layer [2021-08-05T21:30:34.432Z] db62176df00c: Waiting [2021-08-05T21:30:34.432Z] 3b30891b0d05: Waiting [2021-08-05T21:30:34.432Z] 4c4ab2625f07: Verifying Checksum [2021-08-05T21:30:34.432Z] 4c4ab2625f07: Download complete [2021-08-05T21:30:34.432Z] adcc1eea9eea: Verifying Checksum [2021-08-05T21:30:34.432Z] adcc1eea9eea: Download complete [2021-08-05T21:30:34.703Z] 540db60ca938: Verifying Checksum [2021-08-05T21:30:34.703Z] 540db60ca938: Download complete [2021-08-05T21:30:34.703Z] 3b30891b0d05: Verifying Checksum [2021-08-05T21:30:34.703Z] 3b30891b0d05: Download complete [2021-08-05T21:30:34.703Z] 540db60ca938: Pull complete [2021-08-05T21:30:34.980Z] adcc1eea9eea: Pull complete [2021-08-05T21:30:34.980Z] 4c4ab2625f07: Pull complete [2021-08-05T21:30:35.571Z] Still waiting to schedule task [2021-08-05T21:30:35.572Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-05T21:30:36.157Z] db62176df00c: Verifying Checksum [2021-08-05T21:30:36.158Z] db62176df00c: Download complete [2021-08-05T21:30:40.484Z] db62176df00c: Pull complete [2021-08-05T21:30:40.484Z] 3b30891b0d05: Pull complete [2021-08-05T21:30:40.485Z] Digest: sha256:e3159543f0eed803082179bfa2f3aeb00799fd95efecf9f4baedc4b5d5e73eee [2021-08-05T21:30:40.485Z] Status: Downloaded newer image for golang:1.16.6-alpine3.13 [2021-08-05T21:30:40.485Z] ---> 58903387a65a [2021-08-05T21:30:40.485Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-08-05T21:30:41.949Z] ---> Running in 65703b374d2a [2021-08-05T21:30:41.949Z] Removing intermediate container 65703b374d2a [2021-08-05T21:30:41.949Z] ---> 6f731e76c5bf [2021-08-05T21:30:41.949Z] Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-05T21:30:41.949Z] ---> Running in 617a75bda628 [2021-08-05T21:30:42.554Z] Removing intermediate container 617a75bda628 [2021-08-05T21:30:42.554Z] ---> c09584b692b8 [2021-08-05T21:30:42.554Z] Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 [2021-08-05T21:30:42.554Z] ---> Running in 116ae29198b0 [2021-08-05T21:30:42.554Z] Removing intermediate container 116ae29198b0 [2021-08-05T21:30:42.554Z] ---> 74cf51a71c3f [2021-08-05T21:30:42.554Z] Step 5/9 : COPY ./.golangci.yml /etc/.golangci.yml [2021-08-05T21:30:42.554Z] ---> d2f2b911a911 [2021-08-05T21:30:42.554Z] Step 6/9 : RUN if [ $(uname -m) == "x86_64" ]; then wget -O /usr/local/bin/hadolint https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64 ; chmod +x /usr/local/bin/hadolint; fi [2021-08-05T21:30:42.828Z] ---> Running in 8e3718e99ef1 [2021-08-05T21:30:43.099Z] Connecting to github.com (140.82.114.4:443) [2021-08-05T21:30:43.099Z] Connecting to github-releases.githubusercontent.com (185.199.108.154:443) [2021-08-05T21:30:43.375Z] saving to '/usr/local/bin/hadolint' [2021-08-05T21:30:43.375Z] hadolint 100% |********************************| 5676k 0:00:00 ETA [2021-08-05T21:30:43.375Z] '/usr/local/bin/hadolint' saved [2021-08-05T21:30:43.645Z] Removing intermediate container 8e3718e99ef1 [2021-08-05T21:30:43.645Z] ---> c17477e27cca [2021-08-05T21:30:43.645Z] Step 7/9 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base linux-headers musl-dev && ln -s /bin/touch /usr/bin/touch && wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v${GOLANGCI_VERSION} [2021-08-05T21:30:43.915Z] ---> Running in a9a0e2b8a4e4 [2021-08-05T21:30:44.190Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-05T21:30:46.085Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-05T21:30:46.085Z] (1/37) Installing ncurses-terminfo-base (6.2_p20210109-r0) [2021-08-05T21:30:46.085Z] (2/37) Installing ncurses-libs (6.2_p20210109-r0) [2021-08-05T21:30:46.085Z] (3/37) Installing readline (8.1.0-r0) [2021-08-05T21:30:46.085Z] (4/37) Installing bash (5.1.0-r0) [2021-08-05T21:30:46.353Z] Executing bash-5.1.0-r0.post-install [2021-08-05T21:30:46.353Z] (5/37) Installing libgcc (10.2.1_pre1-r3) [2021-08-05T21:30:46.353Z] (6/37) Installing libstdc++ (10.2.1_pre1-r3) [2021-08-05T21:30:47.322Z] (7/37) Installing binutils (2.35.2-r1) [2021-08-05T21:30:47.591Z] (8/37) Installing libmagic (5.39-r0) [2021-08-05T21:30:48.178Z] (9/37) Installing file (5.39-r0) [2021-08-05T21:30:48.178Z] (10/37) Installing libgomp (10.2.1_pre1-r3) [2021-08-05T21:30:48.178Z] (11/37) Installing libatomic (10.2.1_pre1-r3) [2021-08-05T21:30:48.449Z] (12/37) Installing libgphobos (10.2.1_pre1-r3) [2021-08-05T21:30:49.034Z] (13/37) Installing gmp (6.2.1-r0) [2021-08-05T21:30:49.034Z] (14/37) Installing isl22 (0.22-r0) [2021-08-05T21:30:49.617Z] (15/37) Installing mpfr4 (4.1.0-r0) [2021-08-05T21:30:50.576Z] (16/37) Installing mpc1 (1.2.0-r0) [2021-08-05T21:30:50.576Z] (17/37) Installing gcc (10.2.1_pre1-r3) [2021-08-05T21:31:18.742Z] (18/37) Installing musl-dev (1.2.2-r1) [2021-08-05T21:31:18.742Z] (19/37) Installing libc-dev (0.7.2-r3) [2021-08-05T21:31:18.742Z] (20/37) Installing g++ (10.2.1_pre1-r3) [2021-08-05T21:31:33.774Z] (21/37) Installing make (4.3-r0) [2021-08-05T21:31:33.774Z] (22/37) Installing fortify-headers (1.1-r0) [2021-08-05T21:31:33.774Z] (23/37) Installing patch (2.7.6-r7) [2021-08-05T21:31:33.774Z] (24/37) Installing build-base (0.5-r2) [2021-08-05T21:31:33.774Z] (25/37) Installing brotli-libs (1.0.9-r3) [2021-08-05T21:31:33.774Z] (26/37) Installing nghttp2-libs (1.42.0-r1) [2021-08-05T21:31:33.774Z] (27/37) Installing libcurl (7.78.0-r0) [2021-08-05T21:31:33.774Z] (28/37) Installing curl (7.78.0-r0) [2021-08-05T21:31:33.774Z] (29/37) Installing expat (2.2.10-r1) [2021-08-05T21:31:33.774Z] (30/37) Installing pcre2 (10.36-r0) [2021-08-05T21:31:34.042Z] (31/37) Installing git (2.30.2-r0) [2021-08-05T21:31:39.829Z] (32/37) Installing libsodium (1.0.18-r0) [2021-08-05T21:31:39.829Z] (33/37) Installing pkgconf (1.7.3-r0) [2021-08-05T21:31:39.829Z] (34/37) Installing libsodium-dev (1.0.18-r0) [2021-08-05T21:31:39.829Z] (35/37) Installing linux-headers (5.7.8-r0) [2021-08-05T21:31:39.829Z] (36/37) Installing libzmq (4.3.3-r1) [2021-08-05T21:31:39.829Z] (37/37) Installing zeromq-dev (4.3.3-r1) [2021-08-05T21:31:39.829Z] Executing busybox-1.32.1-r6.trigger [2021-08-05T21:31:39.829Z] OK: 219 MiB in 52 packages [2021-08-05T21:31:39.829Z] Connecting to raw.githubusercontent.com (185.199.110.133:443) [2021-08-05T21:31:39.829Z] writing to stdout [2021-08-05T21:31:39.829Z] - 100% |********************************| 10739 0:00:00 ETA [2021-08-05T21:31:39.829Z] written to stdout [2021-08-05T21:31:39.829Z] golangci/golangci-lint info checking GitHub for tag 'v1.40.1' [2021-08-05T21:31:39.829Z] golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/amd64 [2021-08-05T21:31:40.803Z] golangci/golangci-lint info installed ./bin/golangci-lint [2021-08-05T21:31:44.166Z] Removing intermediate container a9a0e2b8a4e4 [2021-08-05T21:31:44.167Z] ---> 63e606e02fb2 [2021-08-05T21:31:44.167Z] Step 8/9 : LABEL arch=amd64 [2021-08-05T21:31:44.167Z] ---> Running in ff5a57fd8a29 [2021-08-05T21:31:44.167Z] Removing intermediate container ff5a57fd8a29 [2021-08-05T21:31:44.167Z] ---> d6ae5b3dd25c [2021-08-05T21:31:44.167Z] Step 9/9 : LABEL git_sha=10f3045a3a89dc7e22f03338050225a2bbf140ff [2021-08-05T21:31:44.167Z] ---> Running in 3b91909f5178 [2021-08-05T21:31:44.167Z] Removing intermediate container 3b91909f5178 [2021-08-05T21:31:44.167Z] ---> 7655df33df3c [2021-08-05T21:31:44.167Z] [Warning] One or more build-args [ARCH] were not consumed [2021-08-05T21:31:44.167Z] Successfully built 7655df33df3c [2021-08-05T21:31:44.167Z] Successfully tagged edgex-devops/edgex-golang-base:latest [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] sh [2021-08-05T21:31:45.284Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-05T21:31:45.284Z] [2021-08-05T21:31:45.284Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-05T21:31:45.665Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-05T21:31:51.025Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-05T21:31:51.025Z] b4d181a07f80: Pulling fs layer [2021-08-05T21:31:51.025Z] a1111a8f2ec3: Pulling fs layer [2021-08-05T21:31:51.025Z] ed53099fbce6: Pulling fs layer [2021-08-05T21:31:51.025Z] dc539afda2c1: Pulling fs layer [2021-08-05T21:31:51.025Z] 77bc0d833cb6: Pulling fs layer [2021-08-05T21:31:51.025Z] 9065ff56babe: Pulling fs layer [2021-08-05T21:31:51.025Z] d287ab97295c: Pulling fs layer [2021-08-05T21:31:51.025Z] 77bc0d833cb6: Waiting [2021-08-05T21:31:51.025Z] 9065ff56babe: Waiting [2021-08-05T21:31:51.025Z] d287ab97295c: Waiting [2021-08-05T21:31:51.025Z] dc539afda2c1: Waiting [2021-08-05T21:31:51.025Z] a1111a8f2ec3: Verifying Checksum [2021-08-05T21:31:51.025Z] a1111a8f2ec3: Download complete [2021-08-05T21:31:51.025Z] dc539afda2c1: Verifying Checksum [2021-08-05T21:31:51.025Z] dc539afda2c1: Download complete [2021-08-05T21:31:51.289Z] 77bc0d833cb6: Verifying Checksum [2021-08-05T21:31:51.290Z] 77bc0d833cb6: Download complete [2021-08-05T21:31:51.290Z] 9065ff56babe: Download complete [2021-08-05T21:31:51.290Z] ed53099fbce6: Verifying Checksum [2021-08-05T21:31:51.290Z] ed53099fbce6: Download complete [2021-08-05T21:31:52.915Z] b4d181a07f80: Verifying Checksum [2021-08-05T21:31:52.915Z] b4d181a07f80: Download complete [2021-08-05T21:31:53.882Z] b4d181a07f80: Pull complete [2021-08-05T21:31:53.882Z] a1111a8f2ec3: Pull complete [2021-08-05T21:31:54.483Z] ed53099fbce6: Pull complete [2021-08-05T21:31:54.483Z] dc539afda2c1: Pull complete [2021-08-05T21:31:54.958Z] 77bc0d833cb6: Pull complete [2021-08-05T21:31:54.958Z] 9065ff56babe: Pull complete [2021-08-05T21:31:56.908Z] d287ab97295c: Verifying Checksum [2021-08-05T21:31:56.908Z] d287ab97295c: Download complete [2021-08-05T21:32:02.331Z] d287ab97295c: Pull complete [2021-08-05T21:32:02.331Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-05T21:32:02.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-05T21:32:02.331Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-05T21:32:02.504Z] prd-centos7-docker-4c-2g-2139 does not seem to be running inside a container [2021-08-05T21:32:02.590Z] $ 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-176 -v /w/workspace/exfoundry_ci-build-images_PR-176:/w/workspace/exfoundry_ci-build-images_PR-176:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-176@tmp:/w/workspace/exfoundry_ci-build-images_PR-176@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 [2021-08-05T21:32:05.171Z] $ docker top fd6a46c6d9939bb0711c6412c8a212fdc5b049e04852a52e2185790a3d51616a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-05T21:32:05.788Z] ---> job-cost.sh [2021-08-05T21:32:05.788Z] lf-activate-venv: SKIPPING [2021-08-05T21:32:05.788Z] INFO: No Stack... [2021-08-05T21:32:06.578Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-05T21:32:07.164Z] INFO: Archiving Costs [Pipeline] sh [2021-08-05T21:32:07.786Z] + cat /w/workspace/exfoundry_ci-build-images_PR-176/archives/cost.csv [2021-08-05T21:32:07.787Z] + cut -d, -f6 [Pipeline] lock [2021-08-05T21:32:07.879Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-176-1-stack-cost] [2021-08-05T21:32:07.886Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-176-1-stack-cost] did not exist. Created. [2021-08-05T21:32:07.886Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-176-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-05T21:32:08.331Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-05T21:32:08.686Z] Stashed 1 file(s) [Pipeline] } [2021-08-05T21:32:08.710Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-176-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-05T21:32:08.781Z] $ docker stop --time=1 fd6a46c6d9939bb0711c6412c8a212fdc5b049e04852a52e2185790a3d51616a [2021-08-05T21:32:10.168Z] $ docker rm -f fd6a46c6d9939bb0711c6412c8a212fdc5b049e04852a52e2185790a3d51616a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-05T21:33:40.821Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2141 in /w/workspace/exfoundry_ci-build-images_PR-176 [Pipeline] { [Pipeline] checkout [2021-08-05T21:33:41.075Z] Selected Git installation does not exist. Using Default [2021-08-05T21:33:41.075Z] The recommended git tool is: NONE [2021-08-05T21:33:48.532Z] using credential edgex-jenkins-ssh [2021-08-05T21:33:48.564Z] Cloning the remote Git repository [2021-08-05T21:33:48.634Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2021-08-05T21:33:48.740Z] > git init /w/workspace/exfoundry_ci-build-images_PR-176 # timeout=10 [2021-08-05T21:33:48.823Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2021-08-05T21:33:48.823Z] > git --version # timeout=10 [2021-08-05T21:33:48.850Z] > git --version # 'git version 2.17.1' [2021-08-05T21:33:48.852Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-05T21:33:48.928Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-05T21:33:49.760Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2021-08-05T21:33:49.779Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-05T21:33:49.802Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2021-08-05T21:33:49.842Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2021-08-05T21:33:49.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-05T21:33:49.859Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/176/head:refs/remotes/origin/PR-176 +refs/heads/golang-1.16:refs/remotes/origin/golang-1.16 # timeout=10 [2021-08-05T21:33:50.474Z] Merging remotes/origin/golang-1.16 commit 78e097da1c4bed6bdaba62e29632494d9a7ca519 into PR head commit 9d45ec5a164829422842071d903e60ec21c499c5 [2021-08-05T21:33:50.670Z] Merge succeeded, producing 9206716169e9c089d1d4585d703e543831f91222 [2021-08-05T21:33:50.671Z] Checking out Revision 9206716169e9c089d1d4585d703e543831f91222 (PR-176) [2021-08-05T21:33:50.485Z] > git config core.sparsecheckout # timeout=10 [2021-08-05T21:33:50.496Z] > git checkout -f 9d45ec5a164829422842071d903e60ec21c499c5 # timeout=10 [2021-08-05T21:33:50.574Z] > git remote # timeout=10 [2021-08-05T21:33:50.591Z] > git config --get remote.origin.url # timeout=10 [2021-08-05T21:33:50.604Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-05T21:33:50.623Z] > git merge 78e097da1c4bed6bdaba62e29632494d9a7ca519 # timeout=10 [2021-08-05T21:33:50.652Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-05T21:33:50.671Z] > git config core.sparsecheckout # timeout=10 [2021-08-05T21:33:50.684Z] > git checkout -f 9206716169e9c089d1d4585d703e543831f91222 # timeout=10 [2021-08-05T21:33:55.038Z] Commit message: "Merge commit '78e097da1c4bed6bdaba62e29632494d9a7ca519' into HEAD" [2021-08-05T21:33:55.038Z] First time build. Skipping changelog. [2021-08-05T21:33:55.094Z] > git --version # timeout=10 [2021-08-05T21:33:55.106Z] > git --version # 'git version 2.17.1' [2021-08-05T21:33:55.133Z] fatal: bad object 8b1b5db5c8148d6590c9ec50d824bb24a751c4e0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-05T21:33:55.969Z] provisioning config files... [2021-08-05T21:33:56.005Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-176@tmp/config2981908303144862529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-05T21:33:56.683Z] ---> docker-login.sh [2021-08-05T21:33:56.683Z] nexus3.edgexfoundry.org:10001 [2021-08-05T21:33:57.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-05T21:33:57.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-05T21:33:57.905Z] Configure a credential helper to remove this warning. See [2021-08-05T21:33:57.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-05T21:33:57.905Z] [2021-08-05T21:33:57.905Z] Login Succeeded [2021-08-05T21:33:57.905Z] nexus3.edgexfoundry.org:10002 [2021-08-05T21:33:58.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-05T21:33:58.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-05T21:33:58.509Z] Configure a credential helper to remove this warning. See [2021-08-05T21:33:58.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-05T21:33:58.509Z] [2021-08-05T21:33:58.509Z] Login Succeeded [2021-08-05T21:33:58.509Z] nexus3.edgexfoundry.org:10003 [2021-08-05T21:33:59.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-05T21:33:59.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-05T21:33:59.395Z] Configure a credential helper to remove this warning. See [2021-08-05T21:33:59.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-05T21:33:59.395Z] [2021-08-05T21:33:59.395Z] Login Succeeded [2021-08-05T21:33:59.395Z] nexus3.edgexfoundry.org:10004 [2021-08-05T21:34:00.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-05T21:34:00.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-05T21:34:00.000Z] Configure a credential helper to remove this warning. See [2021-08-05T21:34:00.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-05T21:34:00.000Z] [2021-08-05T21:34:00.000Z] Login Succeeded [2021-08-05T21:34:00.000Z] docker.io [2021-08-05T21:34:00.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-05T21:34:00.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-05T21:34:00.904Z] Configure a credential helper to remove this warning. See [2021-08-05T21:34:00.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-05T21:34:00.904Z] [2021-08-05T21:34:00.904Z] Login Succeeded [2021-08-05T21:34:00.904Z] ---> docker-login.sh ends [Pipeline] } [2021-08-05T21:34:01.019Z] 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 [2021-08-05T21:34:01.851Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-05T21:34:02.283Z] + ls -al . [2021-08-05T21:34:02.283Z] total 28 [2021-08-05T21:34:02.283Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 21:33 . [2021-08-05T21:34:02.283Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 5 21:33 .. [2021-08-05T21:34:02.283Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 5 21:33 .git [2021-08-05T21:34:02.283Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 5 21:33 .github [2021-08-05T21:34:02.283Z] -rw-rw-r-- 1 jenkins jenkins 585 Aug 5 21:33 .golangci.yml [2021-08-05T21:34:02.283Z] -rw-rw-r-- 1 jenkins jenkins 914 Aug 5 21:33 Dockerfile [2021-08-05T21:34:02.283Z] -rw-rw-r-- 1 jenkins jenkins 913 Aug 5 21:33 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2021-08-05T21:34:02.736Z] + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=9206716169e9c089d1d4585d703e543831f91222 --label arch=arm64 . [2021-08-05T21:34:03.011Z] Sending build context to Docker daemon 393.2kB [2021-08-05T21:34:03.011Z] Step 1/9 : FROM golang:1.16.6-alpine3.13 [2021-08-05T21:34:05.544Z] 1.16.6-alpine3.13: Pulling from library/golang [2021-08-05T21:34:05.544Z] 595b0fe564bb: Pulling fs layer [2021-08-05T21:34:05.544Z] 24495759ef45: Pulling fs layer [2021-08-05T21:34:05.544Z] d148012ef14d: Pulling fs layer [2021-08-05T21:34:05.544Z] e90a11edd702: Pulling fs layer [2021-08-05T21:34:05.544Z] d77568369979: Pulling fs layer [2021-08-05T21:34:05.544Z] e90a11edd702: Waiting [2021-08-05T21:34:05.544Z] d77568369979: Waiting [2021-08-05T21:34:05.544Z] d148012ef14d: Download complete [2021-08-05T21:34:05.544Z] 595b0fe564bb: Download complete [2021-08-05T21:34:05.544Z] 24495759ef45: Verifying Checksum [2021-08-05T21:34:05.544Z] 24495759ef45: Download complete [2021-08-05T21:34:05.544Z] d77568369979: Download complete [2021-08-05T21:34:05.544Z] 595b0fe564bb: Pull complete [2021-08-05T21:34:06.152Z] 24495759ef45: Pull complete [2021-08-05T21:34:06.774Z] d148012ef14d: Pull complete [2021-08-05T21:34:08.225Z] e90a11edd702: Verifying Checksum [2021-08-05T21:34:08.225Z] e90a11edd702: Download complete [2021-08-05T21:34:19.738Z] e90a11edd702: Pull complete [2021-08-05T21:34:19.738Z] d77568369979: Pull complete [2021-08-05T21:34:19.738Z] Digest: sha256:e3159543f0eed803082179bfa2f3aeb00799fd95efecf9f4baedc4b5d5e73eee [2021-08-05T21:34:19.738Z] Status: Downloaded newer image for golang:1.16.6-alpine3.13 [2021-08-05T21:34:19.738Z] ---> 5ced81f97900 [2021-08-05T21:34:19.738Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-08-05T21:34:21.738Z] ---> Running in 24082534adf3 [2021-08-05T21:34:22.015Z] Removing intermediate container 24082534adf3 [2021-08-05T21:34:22.015Z] ---> 099e6433fc6b [2021-08-05T21:34:22.015Z] Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-05T21:34:22.999Z] ---> Running in 3c9639c87094 [2021-08-05T21:34:25.637Z] Removing intermediate container 3c9639c87094 [2021-08-05T21:34:25.637Z] ---> 3fe53f32dfb9 [2021-08-05T21:34:25.637Z] Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 [2021-08-05T21:34:25.637Z] ---> Running in 6d33a7a6f679 [2021-08-05T21:34:26.232Z] Removing intermediate container 6d33a7a6f679 [2021-08-05T21:34:26.232Z] ---> 1988e86398b4 [2021-08-05T21:34:26.232Z] Step 5/9 : COPY ./.golangci.yml /etc/.golangci.yml [2021-08-05T21:34:27.214Z] ---> 6ca08cd7b6cd [2021-08-05T21:34:27.214Z] Step 6/9 : RUN if [ $(uname -m) == "x86_64" ]; then wget -O /usr/local/bin/hadolint https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64 ; chmod +x /usr/local/bin/hadolint; fi [2021-08-05T21:34:27.499Z] ---> Running in acec63869723 [2021-08-05T21:34:30.142Z] Removing intermediate container acec63869723 [2021-08-05T21:34:30.142Z] ---> ebcd1e003fa9 [2021-08-05T21:34:30.142Z] Step 7/9 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base linux-headers musl-dev && ln -s /bin/touch /usr/bin/touch && wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v${GOLANGCI_VERSION} [2021-08-05T21:34:30.737Z] ---> Running in 079db122a9e9 [2021-08-05T21:34:31.736Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-05T21:34:32.737Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-05T21:34:33.720Z] (1/37) Installing ncurses-terminfo-base (6.2_p20210109-r0) [2021-08-05T21:34:33.720Z] (2/37) Installing ncurses-libs (6.2_p20210109-r0) [2021-08-05T21:34:33.994Z] (3/37) Installing readline (8.1.0-r0) [2021-08-05T21:34:33.994Z] (4/37) Installing bash (5.1.0-r0) [2021-08-05T21:34:34.590Z] Executing bash-5.1.0-r0.post-install [2021-08-05T21:34:34.590Z] (5/37) Installing libgcc (10.2.1_pre1-r3) [2021-08-05T21:34:34.590Z] (6/37) Installing libstdc++ (10.2.1_pre1-r3) [2021-08-05T21:34:34.863Z] (7/37) Installing binutils (2.35.2-r1) [2021-08-05T21:34:35.467Z] (8/37) Installing libmagic (5.39-r0) [2021-08-05T21:34:35.743Z] (9/37) Installing file (5.39-r0) [2021-08-05T21:34:35.743Z] (10/37) Installing libgomp (10.2.1_pre1-r3) [2021-08-05T21:34:36.018Z] (11/37) Installing libatomic (10.2.1_pre1-r3) [2021-08-05T21:34:36.019Z] (12/37) Installing libgphobos (10.2.1_pre1-r3) [2021-08-05T21:34:36.998Z] (13/37) Installing gmp (6.2.1-r0) [2021-08-05T21:34:37.273Z] (14/37) Installing isl22 (0.22-r0) [2021-08-05T21:34:37.871Z] (15/37) Installing mpfr4 (4.1.0-r0) [2021-08-05T21:34:38.144Z] (16/37) Installing mpc1 (1.2.0-r0) [2021-08-05T21:34:38.144Z] (17/37) Installing gcc (10.2.1_pre1-r3) [2021-08-05T21:35:03.568Z] (18/37) Installing musl-dev (1.2.2-r1) [2021-08-05T21:35:03.568Z] (19/37) Installing libc-dev (0.7.2-r3) [2021-08-05T21:35:03.568Z] (20/37) Installing g++ (10.2.1_pre1-r3) [2021-08-05T21:35:08.975Z] (21/37) Installing make (4.3-r0) [2021-08-05T21:35:08.975Z] (22/37) Installing fortify-headers (1.1-r0) [2021-08-05T21:35:08.975Z] (23/37) Installing patch (2.7.6-r7) [2021-08-05T21:35:08.975Z] (24/37) Installing build-base (0.5-r2) [2021-08-05T21:35:08.975Z] (25/37) Installing brotli-libs (1.0.9-r3) [2021-08-05T21:35:09.253Z] (26/37) Installing nghttp2-libs (1.42.0-r1) [2021-08-05T21:35:09.253Z] (27/37) Installing libcurl (7.78.0-r0) [2021-08-05T21:35:09.530Z] (28/37) Installing curl (7.78.0-r0) [2021-08-05T21:35:09.807Z] (29/37) Installing expat (2.2.10-r1) [2021-08-05T21:35:09.807Z] (30/37) Installing pcre2 (10.36-r0) [2021-08-05T21:35:10.084Z] (31/37) Installing git (2.30.2-r0) [2021-08-05T21:35:16.784Z] (32/37) Installing libsodium (1.0.18-r0) [2021-08-05T21:35:16.784Z] (33/37) Installing pkgconf (1.7.3-r0) [2021-08-05T21:35:16.784Z] (34/37) Installing libsodium-dev (1.0.18-r0) [2021-08-05T21:35:16.784Z] (35/37) Installing linux-headers (5.7.8-r0) [2021-08-05T21:35:18.215Z] (36/37) Installing libzmq (4.3.3-r1) [2021-08-05T21:35:18.215Z] (37/37) Installing zeromq-dev (4.3.3-r1) [2021-08-05T21:35:18.489Z] Executing busybox-1.32.1-r6.trigger [2021-08-05T21:35:18.489Z] OK: 218 MiB in 52 packages [2021-08-05T21:35:18.489Z] Connecting to raw.githubusercontent.com (185.199.108.133:443) [2021-08-05T21:35:19.089Z] writing to stdout [2021-08-05T21:35:19.089Z] - 100% |********************************| 10739 0:00:00 ETA [2021-08-05T21:35:19.089Z] written to stdout [2021-08-05T21:35:19.089Z] golangci/golangci-lint info checking GitHub for tag 'v1.40.1' [2021-08-05T21:35:19.365Z] golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/arm64 [2021-08-05T21:35:21.356Z] golangci/golangci-lint info installed ./bin/golangci-lint [2021-08-05T21:35:31.522Z] Removing intermediate container 079db122a9e9 [2021-08-05T21:35:31.522Z] ---> 0a31a64f1918 [2021-08-05T21:35:31.522Z] Step 8/9 : LABEL arch=arm64 [2021-08-05T21:35:31.522Z] ---> Running in c8412f92fc45 [2021-08-05T21:35:31.795Z] Removing intermediate container c8412f92fc45 [2021-08-05T21:35:31.795Z] ---> 56e424fb379c [2021-08-05T21:35:31.795Z] Step 9/9 : LABEL git_sha=9206716169e9c089d1d4585d703e543831f91222 [2021-08-05T21:35:32.070Z] ---> Running in 2c8bcd020b4b [2021-08-05T21:35:34.068Z] Removing intermediate container 2c8bcd020b4b [2021-08-05T21:35:34.068Z] ---> 55c61142dbe5 [2021-08-05T21:35:34.068Z] [Warning] One or more build-args [ARCH] were not consumed [2021-08-05T21:35:34.068Z] Successfully built 55c61142dbe5 [2021-08-05T21:35:34.068Z] Successfully tagged edgex-devops/edgex-golang-base-arm64:latest [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] sh [2021-08-05T21:35:35.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-05T21:35:35.157Z] [2021-08-05T21:35:35.157Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-05T21:35:35.564Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-05T21:35:35.843Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-05T21:35:35.844Z] 448f6bf000e3: Pulling fs layer [2021-08-05T21:35:35.844Z] f757da607395: Pulling fs layer [2021-08-05T21:35:35.844Z] 05883995daec: Pulling fs layer [2021-08-05T21:35:35.844Z] 8603b9c90790: Pulling fs layer [2021-08-05T21:35:35.844Z] 1560dd03e051: Pulling fs layer [2021-08-05T21:35:35.844Z] 27f5ce0e4adf: Pulling fs layer [2021-08-05T21:35:35.844Z] c2d8d7efcc4b: Pulling fs layer [2021-08-05T21:35:35.844Z] 8603b9c90790: Waiting [2021-08-05T21:35:35.844Z] 1560dd03e051: Waiting [2021-08-05T21:35:35.844Z] 27f5ce0e4adf: Waiting [2021-08-05T21:35:35.844Z] c2d8d7efcc4b: Waiting [2021-08-05T21:35:36.119Z] f757da607395: Verifying Checksum [2021-08-05T21:35:36.119Z] f757da607395: Download complete [2021-08-05T21:35:36.119Z] 8603b9c90790: Download complete [2021-08-05T21:35:36.396Z] 1560dd03e051: Verifying Checksum [2021-08-05T21:35:36.396Z] 1560dd03e051: Download complete [2021-08-05T21:35:36.396Z] 27f5ce0e4adf: Verifying Checksum [2021-08-05T21:35:36.396Z] 27f5ce0e4adf: Download complete [2021-08-05T21:35:36.992Z] 05883995daec: Verifying Checksum [2021-08-05T21:35:36.992Z] 05883995daec: Download complete [2021-08-05T21:35:37.265Z] 448f6bf000e3: Verifying Checksum [2021-08-05T21:35:37.265Z] 448f6bf000e3: Download complete [2021-08-05T21:35:40.667Z] 448f6bf000e3: Pull complete [2021-08-05T21:35:40.667Z] c2d8d7efcc4b: Verifying Checksum [2021-08-05T21:35:40.667Z] c2d8d7efcc4b: Download complete [2021-08-05T21:35:41.269Z] f757da607395: Pull complete [2021-08-05T21:35:43.249Z] 05883995daec: Pull complete [2021-08-05T21:35:43.528Z] 8603b9c90790: Pull complete [2021-08-05T21:35:44.984Z] 1560dd03e051: Pull complete [2021-08-05T21:35:45.259Z] 27f5ce0e4adf: Pull complete [2021-08-05T21:36:02.962Z] c2d8d7efcc4b: Pull complete [2021-08-05T21:36:02.963Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-05T21:36:02.963Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-05T21:36:02.963Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-05T21:36:03.263Z] prd-ubuntu18.04-docker-arm64-4c-16g-2141 does not seem to be running inside a container [2021-08-05T21:36:03.342Z] $ 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-176 -v /w/workspace/exfoundry_ci-build-images_PR-176:/w/workspace/exfoundry_ci-build-images_PR-176:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-176@tmp:/w/workspace/exfoundry_ci-build-images_PR-176@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 [2021-08-05T21:36:07.162Z] $ docker top fe66ac1ae736f35861edff5a7e8619d2e0d182c22b9ffbdd007aac3459b57386 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-05T21:36:08.222Z] ---> job-cost.sh [2021-08-05T21:36:08.222Z] lf-activate-venv: SKIPPING [2021-08-05T21:36:08.222Z] INFO: No Stack... [2021-08-05T21:36:09.197Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-05T21:36:11.033Z] INFO: Archiving Costs [Pipeline] sh [2021-08-05T21:36:11.726Z] + cat /w/workspace/exfoundry_ci-build-images_PR-176/archives/cost.csv [2021-08-05T21:36:11.727Z] + cut -d, -f6 [Pipeline] lock [2021-08-05T21:36:11.816Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-176-1-stack-cost] [2021-08-05T21:36:11.823Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-176-1-stack-cost] did not exist. Created. [2021-08-05T21:36:11.823Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-176-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-05T21:36:13.132Z] /w/workspace/exfoundry_ci-build-images_PR-176@tmp/durable-2e8d6698/script.sh: 1: /w/workspace/exfoundry_ci-build-images_PR-176@tmp/durable-2e8d6698/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-05T21:36:13.875Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-05T21:36:13.919Z] Warning: overwriting stash ‘stack-cost’ [2021-08-05T21:36:14.524Z] Stashed 1 file(s) [Pipeline] } [2021-08-05T21:36:14.548Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-176-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-05T21:36:14.616Z] $ docker stop --time=1 fe66ac1ae736f35861edff5a7e8619d2e0d182c22b9ffbdd007aac3459b57386 [2021-08-05T21:36:16.294Z] $ docker rm -f fe66ac1ae736f35861edff5a7e8619d2e0d182c22b9ffbdd007aac3459b57386 [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 [2021-08-05T21:36:20.161Z] + '[' -d /w/workspace/exfoundry_ci-build-images_PR-176/archives ']' [2021-08-05T21:36:20.162Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-176/archives [2021-08-05T21:36:20.162Z] total 4 [2021-08-05T21:36:20.162Z] drwxr-xr-x. 3 root root 34 Aug 5 21:32 . [2021-08-05T21:36:20.162Z] drwxrwxr-x. 5 jenkins jenkins 125 Aug 5 21:32 .. [2021-08-05T21:36:20.162Z] drwxr-xr-x. 2 root root 6 Aug 5 21:32 cost [2021-08-05T21:36:20.162Z] -rw-r--r--. 1 root root 86 Aug 5 21:32 cost.csv [2021-08-05T21:36:20.162Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-176/archives [2021-08-05T21:36:20.162Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-176/archives [2021-08-05T21:36:20.162Z] total 4 [2021-08-05T21:36:20.162Z] drwxr-xr-x. 3 jenkins jenkins 34 Aug 5 21:32 . [2021-08-05T21:36:20.162Z] drwxrwxr-x. 5 jenkins jenkins 125 Aug 5 21:32 .. [2021-08-05T21:36:20.162Z] drwxr-xr-x. 2 jenkins jenkins 6 Aug 5 21:32 cost [2021-08-05T21:36:20.162Z] -rw-r--r--. 1 jenkins jenkins 86 Aug 5 21:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2021-08-05T21:36:20.552Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-05T21:36:21.194Z] ---> package-listing.sh [2021-08-05T21:36:21.194Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-05T21:36:21.194Z] ++ facter osfamily [2021-08-05T21:36:21.470Z] + OS_FAMILY=redhat [2021-08-05T21:36:21.470Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-176 [2021-08-05T21:36:21.470Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-05T21:36:21.470Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-05T21:36:21.470Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-05T21:36:21.470Z] + PACKAGES=/tmp/packages_start.txt [2021-08-05T21:36:21.470Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-176 ']' [2021-08-05T21:36:21.470Z] + PACKAGES=/tmp/packages_end.txt [2021-08-05T21:36:21.470Z] + case "${OS_FAMILY}" in [2021-08-05T21:36:21.470Z] + sort [2021-08-05T21:36:21.470Z] + rpm -qa [2021-08-05T21:36:22.059Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-05T21:36:22.059Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-05T21:36:22.059Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-05T21:36:22.059Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-176 ']' [2021-08-05T21:36:22.059Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-176/archives/ [2021-08-05T21:36:22.059Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-176/archives/ [Pipeline] echo [2021-08-05T21:36:22.102Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_ci-build-images_PR-176/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-05T21:36:22.437Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-05T21:36:23.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-05T21:36:23.069Z] . [Pipeline] withDockerContainer [2021-08-05T21:36:23.185Z] prd-centos7-docker-4c-2g-2139 does not seem to be running inside a container [2021-08-05T21:36:23.246Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_ci-build-images_PR-176/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-176 -v /w/workspace/exfoundry_ci-build-images_PR-176:/w/workspace/exfoundry_ci-build-images_PR-176:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-176@tmp:/w/workspace/exfoundry_ci-build-images_PR-176@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-05T21:36:23.470Z] $ docker top c2a266182d840786a7a478be747cef2a625a5d12847d08fa2c90acc80c320a88 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-05T21:36:23.916Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-05T21:36:24.266Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-05T21:36:24.606Z] + ls /var/log/sa-host [2021-08-05T21:36:24.606Z] + sadf -c /var/log/sa-host/sa05 [2021-08-05T21:36:24.606Z] file_magic: OK [2021-08-05T21:36:24.606Z] HZ: Using current value: 100 [2021-08-05T21:36:24.606Z] file_header: OK [2021-08-05T21:36:24.606Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-08-05T21:36:24.606Z] Statistics: [2021-08-05T21:36:24.606Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-05T21:36:24.606Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-05T21:36:25.302Z] provisioning config files... [2021-08-05T21:36:25.318Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-176@tmp/config4445129082301640871tmp [Pipeline] { [Pipeline] echo [2021-08-05T21:36:25.375Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-05T21:36:25.731Z] ---> create-netrc.sh [Pipeline] } [2021-08-05T21:36:25.760Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-05T21:36:27.978Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-05T21:36:28.016Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-05T21:36:28.368Z] ---> sudo-logs.sh [2021-08-05T21:36:28.368Z] Archiving 'sudo' log.. [2021-08-05T21:36:28.368Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2139.vexxhost.local: Name or service not known [2021-08-05T21:36:28.368Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2139.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-05T21:36:28.497Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-05T21:36:28.863Z] ---> job-cost.sh [2021-08-05T21:36:28.864Z] lf-activate-venv: SKIPPING [2021-08-05T21:36:28.864Z] DEBUG: total: 0.05999999865889549 [2021-08-05T21:36:28.864Z] INFO: Retrieving Stack Cost... [2021-08-05T21:36:29.446Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-05T21:36:30.042Z] INFO: Archiving Costs [Pipeline] echo [2021-08-05T21:36:30.080Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-05T21:36:30.435Z] ---> logs-deploy.sh [2021-08-05T21:36:30.435Z] lf-activate-venv: SKIPPING [2021-08-05T21:36:30.435Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-176/1 [2021-08-05T21:36:30.435Z] INFO: archiving workspace using pattern(s): [2021-08-05T21:36:31.017Z] Archives upload complete. [2021-08-05T21:36:31.286Z] INFO: archiving logs to Nexus