Pull request #181 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 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd+0c8c268358e01f3f4b0db65eef591114d46ee279 (6d42bb52e0d775a3547d2702c4ea13726d69b4e7) 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-ssh6200839657740548219.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 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-ssh682459617039129132.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 c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 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-181/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-181/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5764861867968236331.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-181/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1611600700933741629.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 # timeout=10 Commit message: "Merge pull request #357 from ernestojeda/fix-previous-commit-sha" > 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-ssh8664150278152903340.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-181/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-181/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2317001574777591770.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 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:release, dockerTags:[1.16-alpine-lts, 1.16-alpine3.14-lts], releaseBranchOverride:golang-1.16-lts] ========================================================= [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: release 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-lts DOCKER_CUSTOM_TAGS: 1.16-alpine-lts 1.16-alpine3.14-lts [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-136’ Running on prd-centos7-docker-4c-2g-137 in /w/workspace/exfoundry_ci-build-images_PR-181 [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-181 # timeout=10 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-181@tmp/jenkins-gitclient-ssh1912608255042118456.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-181@tmp/jenkins-gitclient-ssh805131761388461016.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/181/head:refs/remotes/origin/PR-181 +refs/heads/golang-1.16-lts:refs/remotes/origin/golang-1.16-lts # timeout=10 Merging remotes/origin/golang-1.16-lts commit 0c8c268358e01f3f4b0db65eef591114d46ee279 into PR head commit 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd Merge succeeded, producing 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd Checking out Revision 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd (PR-181) > git config core.sparsecheckout # timeout=10 > git checkout -f 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd # 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-181@tmp/jenkins-gitclient-ssh2172592177691202978.key > git merge 0c8c268358e01f3f4b0db65eef591114d46ee279 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd # timeout=10 Commit message: "ci: new golang 1.16 for lts releases" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-08T20:13:07.379Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-08T20:13:07.492Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-08T20:13:07.560Z] ========================================================= [2021-10-08T20:13:07.560Z] EdgeX Global Pipelines Version Info [2021-10-08T20:13:07.560Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:13:08.706Z] ------------------- [2021-10-08T20:13:08.706Z] stable info: [2021-10-08T20:13:08.706Z] ------------------- [2021-10-08T20:13:08.706Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-08T20:13:08.706Z] Commit SHA: c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 [2021-10-08T20:13:08.706Z] Message: update stable to v1.0.208 [2021-10-08T20:13:09.285Z] ------------------- [2021-10-08T20:13:09.285Z] experimental info: [2021-10-08T20:13:09.285Z] ------------------- [2021-10-08T20:13:09.285Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-08T20:13:09.285Z] Commit SHA: c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 [2021-10-08T20:13:09.285Z] Message: update experimental to v1.0.208 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2021-10-08T20:13:09.495Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2021-10-08T20:13:09.530Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo [2021-10-08T20:13:09.565Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2021-10-08T20:13:09.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-08T20:13:09.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-08T20:13:09.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo [2021-10-08T20:13:09.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2021-10-08T20:13:09.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = release [Pipeline] echo [2021-10-08T20:13:09.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2021-10-08T20:13:09.814Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-08T20:13:09.849Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2021-10-08T20:13:09.881Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo [2021-10-08T20:13:09.910Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-08T20:13:09.941Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-08T20:13:09.973Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.16-lts [Pipeline] echo [2021-10-08T20:13:10.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.16-alpine-lts 1.16-alpine3.14-lts [Pipeline] echo [2021-10-08T20:13:10.037Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-181 [Pipeline] echo [2021-10-08T20:13:10.071Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-181 [Pipeline] echo [2021-10-08T20:13:10.102Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-181 [Pipeline] echo [2021-10-08T20:13:10.133Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd [Pipeline] echo [2021-10-08T20:13:10.164Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6447aa1 [Pipeline] echo [2021-10-08T20:13:10.193Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-08T20:13:10.291Z] provisioning config files... [2021-10-08T20:13:10.306Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-181@tmp/config4430970299988826020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:13:10.651Z] ---> docker-login.sh [2021-10-08T20:13:10.652Z] nexus3.edgexfoundry.org:10001 [2021-10-08T20:13:10.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:13:10.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:13:10.923Z] Configure a credential helper to remove this warning. See [2021-10-08T20:13:10.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:13:10.923Z] [2021-10-08T20:13:10.923Z] Login Succeeded [2021-10-08T20:13:10.923Z] nexus3.edgexfoundry.org:10002 [2021-10-08T20:13:10.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:13:10.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:13:10.923Z] Configure a credential helper to remove this warning. See [2021-10-08T20:13:10.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:13:10.923Z] [2021-10-08T20:13:10.923Z] Login Succeeded [2021-10-08T20:13:10.923Z] nexus3.edgexfoundry.org:10003 [2021-10-08T20:13:10.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:13:11.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:13:11.184Z] Configure a credential helper to remove this warning. See [2021-10-08T20:13:11.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:13:11.184Z] [2021-10-08T20:13:11.184Z] Login Succeeded [2021-10-08T20:13:11.184Z] nexus3.edgexfoundry.org:10004 [2021-10-08T20:13:11.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:13:11.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:13:11.184Z] Configure a credential helper to remove this warning. See [2021-10-08T20:13:11.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:13:11.184Z] [2021-10-08T20:13:11.184Z] Login Succeeded [2021-10-08T20:13:11.184Z] docker.io [2021-10-08T20:13:11.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:13:11.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:13:11.757Z] Configure a credential helper to remove this warning. See [2021-10-08T20:13:11.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:13:11.757Z] [2021-10-08T20:13:11.757Z] Login Succeeded [2021-10-08T20:13:11.757Z] ---> docker-login.sh ends [Pipeline] } [2021-10-08T20:13:11.776Z] 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-10-08T20:13:12.478Z] provisioning config files... [2021-10-08T20:13:12.489Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-181@tmp/config5155582982297157987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:13:12.835Z] ---> docker-login.sh [2021-10-08T20:13:12.835Z] nexus3.edgexfoundry.org:10001 [2021-10-08T20:13:12.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:13:12.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:13:12.835Z] Configure a credential helper to remove this warning. See [2021-10-08T20:13:12.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:13:12.835Z] [2021-10-08T20:13:12.835Z] Login Succeeded [2021-10-08T20:13:12.835Z] nexus3.edgexfoundry.org:10002 [2021-10-08T20:13:12.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:13:12.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:13:12.835Z] Configure a credential helper to remove this warning. See [2021-10-08T20:13:12.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:13:12.835Z] [2021-10-08T20:13:12.835Z] Login Succeeded [2021-10-08T20:13:12.835Z] nexus3.edgexfoundry.org:10003 [2021-10-08T20:13:13.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:13:13.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:13:13.098Z] Configure a credential helper to remove this warning. See [2021-10-08T20:13:13.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:13:13.098Z] [2021-10-08T20:13:13.098Z] Login Succeeded [2021-10-08T20:13:13.098Z] nexus3.edgexfoundry.org:10004 [2021-10-08T20:13:13.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:13:13.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:13:13.098Z] Configure a credential helper to remove this warning. See [2021-10-08T20:13:13.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:13:13.098Z] [2021-10-08T20:13:13.098Z] Login Succeeded [2021-10-08T20:13:13.098Z] docker.io [2021-10-08T20:13:13.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:13:13.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:13:13.625Z] Configure a credential helper to remove this warning. See [2021-10-08T20:13:13.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:13:13.625Z] [2021-10-08T20:13:13.625Z] Login Succeeded [2021-10-08T20:13:13.625Z] ---> docker-login.sh ends [Pipeline] } [2021-10-08T20:13:13.646Z] 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-10-08T20:13:15.405Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-08T20:13:15.714Z] + ls -al . [2021-10-08T20:13:15.714Z] total 12 [2021-10-08T20:13:15.714Z] drwxrwxr-x. 4 jenkins jenkins 91 Oct 8 20:13 . [2021-10-08T20:13:15.714Z] drwxrwxr-x. 4 jenkins jenkins 112 Oct 8 20:13 .. [2021-10-08T20:13:15.714Z] -rw-rw-r--. 1 jenkins jenkins 914 Oct 8 20:13 Dockerfile [2021-10-08T20:13:15.714Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 8 20:13 .git [2021-10-08T20:13:15.714Z] drwxrwxr-x. 2 jenkins jenkins 38 Oct 8 20:13 .github [2021-10-08T20:13:15.714Z] -rw-rw-r--. 1 jenkins jenkins 585 Oct 8 20:13 .golangci.yml [2021-10-08T20:13:15.714Z] -rw-rw-r--. 1 jenkins jenkins 923 Oct 8 20:13 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:13:16.114Z] + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd --label arch=amd64 . [2021-10-08T20:13:16.114Z] Sending build context to Docker daemon 408.6kB [2021-10-08T20:13:16.114Z] Step 1/9 : FROM golang:1.16.8-alpine3.14 [2021-10-08T20:13:16.689Z] 1.16.8-alpine3.14: Pulling from library/golang [2021-10-08T20:13:16.949Z] a0d0a0d46f8b: Pulling fs layer [2021-10-08T20:13:16.949Z] 31adcdaf11c8: Pulling fs layer [2021-10-08T20:13:16.949Z] b8b176561691: Pulling fs layer [2021-10-08T20:13:16.949Z] 4527c011a84f: Pulling fs layer [2021-10-08T20:13:16.949Z] 5d74067f8e1e: Pulling fs layer [2021-10-08T20:13:16.949Z] 4527c011a84f: Waiting [2021-10-08T20:13:16.949Z] 5d74067f8e1e: Waiting [2021-10-08T20:13:17.220Z] b8b176561691: Verifying Checksum [2021-10-08T20:13:17.220Z] b8b176561691: Download complete [2021-10-08T20:13:17.220Z] 31adcdaf11c8: Verifying Checksum [2021-10-08T20:13:17.220Z] 31adcdaf11c8: Download complete [2021-10-08T20:13:17.221Z] a0d0a0d46f8b: Verifying Checksum [2021-10-08T20:13:17.221Z] a0d0a0d46f8b: Download complete [2021-10-08T20:13:17.221Z] a0d0a0d46f8b: Pull complete [2021-10-08T20:13:17.221Z] 5d74067f8e1e: Verifying Checksum [2021-10-08T20:13:17.221Z] 5d74067f8e1e: Download complete [2021-10-08T20:13:17.486Z] 31adcdaf11c8: Pull complete [2021-10-08T20:13:17.486Z] b8b176561691: Pull complete [2021-10-08T20:13:18.062Z] 4527c011a84f: Verifying Checksum [2021-10-08T20:13:18.062Z] 4527c011a84f: Download complete [2021-10-08T20:13:21.393Z] 4527c011a84f: Pull complete [2021-10-08T20:13:21.393Z] 5d74067f8e1e: Pull complete [2021-10-08T20:13:21.393Z] Digest: sha256:69d613a986635e0ee3f1b351131fa689b0dd3570ef9cab8e619a5f1fb939ec56 [2021-10-08T20:13:21.393Z] Status: Downloaded newer image for golang:1.16.8-alpine3.14 [2021-10-08T20:13:21.393Z] ---> df1795ddbf41 [2021-10-08T20:13:21.393Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel Corporation' [2021-10-08T20:13:23.935Z] ---> Running in 8c5413814e05 [2021-10-08T20:13:23.935Z] Removing intermediate container 8c5413814e05 [2021-10-08T20:13:23.935Z] ---> 5f1127d03ecf [2021-10-08T20:13:23.935Z] Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T20:13:23.935Z] ---> Running in 9462755bbbb9 [2021-10-08T20:13:23.935Z] Removing intermediate container 9462755bbbb9 [2021-10-08T20:13:23.935Z] ---> 6f31405e5ea9 [2021-10-08T20:13:23.935Z] Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 [2021-10-08T20:13:23.935Z] ---> Running in cabe164232c6 [2021-10-08T20:13:24.197Z] Removing intermediate container cabe164232c6 [2021-10-08T20:13:24.197Z] ---> d7e1917b42be [2021-10-08T20:13:24.197Z] Step 5/9 : COPY ./.golangci.yml /etc/.golangci.yml [2021-10-08T20:13:24.197Z] ---> 5636dc62b56d [2021-10-08T20:13:24.197Z] 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-10-08T20:13:24.197Z] ---> Running in 6b6151344127 [2021-10-08T20:13:24.459Z] Connecting to github.com (140.82.114.4:443) [2021-10-08T20:13:24.718Z] Connecting to github-releases.githubusercontent.com (185.199.109.154:443) [2021-10-08T20:13:24.718Z] saving to '/usr/local/bin/hadolint' [2021-10-08T20:13:24.718Z] hadolint 100% |********************************| 5676k 0:00:00 ETA [2021-10-08T20:13:24.976Z] '/usr/local/bin/hadolint' saved [2021-10-08T20:13:24.976Z] Removing intermediate container 6b6151344127 [2021-10-08T20:13:24.976Z] ---> a255fe014d9b [2021-10-08T20:13:24.976Z] 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-10-08T20:13:25.236Z] ---> Running in c07815edfebb [2021-10-08T20:13:25.498Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-08T20:13:26.439Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-08T20:13:26.699Z] (1/37) Installing ncurses-terminfo-base (6.2_p20210612-r0) [2021-10-08T20:13:26.699Z] (2/37) Installing ncurses-libs (6.2_p20210612-r0) [2021-10-08T20:13:26.958Z] (3/37) Installing readline (8.1.0-r0) [2021-10-08T20:13:26.958Z] (4/37) Installing bash (5.1.4-r0) [2021-10-08T20:13:27.217Z] Executing bash-5.1.4-r0.post-install [2021-10-08T20:13:27.217Z] (5/37) Installing libgcc (10.3.1_git20210424-r2) [2021-10-08T20:13:27.217Z] (6/37) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-08T20:13:27.217Z] (7/37) Installing binutils (2.35.2-r2) [2021-10-08T20:13:27.292Z] Still waiting to schedule task [2021-10-08T20:13:27.292Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-08T20:13:27.479Z] (8/37) Installing libmagic (5.40-r1) [2021-10-08T20:13:27.741Z] (9/37) Installing file (5.40-r1) [2021-10-08T20:13:27.741Z] (10/37) Installing libgomp (10.3.1_git20210424-r2) [2021-10-08T20:13:27.741Z] (11/37) Installing libatomic (10.3.1_git20210424-r2) [2021-10-08T20:13:28.000Z] (12/37) Installing libgphobos (10.3.1_git20210424-r2) [2021-10-08T20:13:28.000Z] (13/37) Installing gmp (6.2.1-r0) [2021-10-08T20:13:28.000Z] (14/37) Installing isl22 (0.22-r0) [2021-10-08T20:13:28.261Z] (15/37) Installing mpfr4 (4.1.0-r0) [2021-10-08T20:13:28.261Z] (16/37) Installing mpc1 (1.2.1-r0) [2021-10-08T20:13:28.525Z] (17/37) Installing gcc (10.3.1_git20210424-r2) [2021-10-08T20:13:30.437Z] (18/37) Installing musl-dev (1.2.2-r3) [2021-10-08T20:13:30.437Z] (19/37) Installing libc-dev (0.7.2-r3) [2021-10-08T20:13:30.698Z] (20/37) Installing g++ (10.3.1_git20210424-r2) [2021-10-08T20:13:32.081Z] (21/37) Installing make (4.3-r0) [2021-10-08T20:13:32.342Z] (22/37) Installing fortify-headers (1.1-r1) [2021-10-08T20:13:32.342Z] (23/37) Installing patch (2.7.6-r7) [2021-10-08T20:13:32.342Z] (24/37) Installing build-base (0.5-r2) [2021-10-08T20:13:32.604Z] (25/37) Installing brotli-libs (1.0.9-r5) [2021-10-08T20:13:32.604Z] (26/37) Installing nghttp2-libs (1.43.0-r0) [2021-10-08T20:13:32.604Z] (27/37) Installing libcurl (7.79.1-r0) [2021-10-08T20:13:32.870Z] (28/37) Installing curl (7.79.1-r0) [2021-10-08T20:13:32.870Z] (29/37) Installing expat (2.4.1-r0) [2021-10-08T20:13:32.870Z] (30/37) Installing pcre2 (10.36-r0) [2021-10-08T20:13:33.131Z] (31/37) Installing git (2.32.0-r0) [2021-10-08T20:13:33.702Z] (32/37) Installing libsodium (1.0.18-r0) [2021-10-08T20:13:33.702Z] (33/37) Installing pkgconf (1.7.4-r0) [2021-10-08T20:13:33.702Z] (34/37) Installing libsodium-dev (1.0.18-r0) [2021-10-08T20:13:33.702Z] (35/37) Installing linux-headers (5.10.41-r0) [2021-10-08T20:13:33.961Z] (36/37) Installing libzmq (4.3.4-r0) [2021-10-08T20:13:34.222Z] (37/37) Installing zeromq-dev (4.3.4-r0) [2021-10-08T20:13:34.222Z] Executing busybox-1.33.1-r3.trigger [2021-10-08T20:13:34.222Z] OK: 220 MiB in 52 packages [2021-10-08T20:13:34.222Z] Connecting to raw.githubusercontent.com (185.199.108.133:443) [2021-10-08T20:13:34.222Z] writing to stdout [2021-10-08T20:13:34.222Z] - 100% |********************************| 10739 0:00:00 ETA [2021-10-08T20:13:34.222Z] written to stdout [2021-10-08T20:13:34.222Z] golangci/golangci-lint info checking GitHub for tag 'v1.40.1' [2021-10-08T20:13:34.484Z] golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/amd64 [2021-10-08T20:13:35.425Z] golangci/golangci-lint info installed ./bin/golangci-lint [2021-10-08T20:13:38.732Z] Removing intermediate container c07815edfebb [2021-10-08T20:13:38.732Z] ---> d348f3eef372 [2021-10-08T20:13:38.732Z] Step 8/9 : LABEL arch=amd64 [2021-10-08T20:13:38.732Z] ---> Running in 88c43e556a42 [2021-10-08T20:13:38.732Z] Removing intermediate container 88c43e556a42 [2021-10-08T20:13:38.732Z] ---> 99610fd8ddda [2021-10-08T20:13:38.732Z] Step 9/9 : LABEL git_sha=6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd [2021-10-08T20:13:38.991Z] ---> Running in 09b730a9d7fc [2021-10-08T20:13:38.991Z] Removing intermediate container 09b730a9d7fc [2021-10-08T20:13:38.991Z] ---> 2124a4a30b66 [2021-10-08T20:13:38.991Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-08T20:13:38.991Z] Successfully built 2124a4a30b66 [2021-10-08T20:13:38.991Z] 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-10-08T20:13:39.836Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T20:13:39.836Z] [2021-10-08T20:13:39.836Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:13:40.176Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T20:13:40.176Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-08T20:13:40.176Z] b4d181a07f80: Pulling fs layer [2021-10-08T20:13:40.176Z] a1111a8f2ec3: Pulling fs layer [2021-10-08T20:13:40.176Z] ed53099fbce6: Pulling fs layer [2021-10-08T20:13:40.176Z] dc539afda2c1: Pulling fs layer [2021-10-08T20:13:40.176Z] 77bc0d833cb6: Pulling fs layer [2021-10-08T20:13:40.176Z] 9065ff56babe: Pulling fs layer [2021-10-08T20:13:40.176Z] d287ab97295c: Pulling fs layer [2021-10-08T20:13:40.176Z] dc539afda2c1: Waiting [2021-10-08T20:13:40.176Z] 77bc0d833cb6: Waiting [2021-10-08T20:13:40.176Z] 9065ff56babe: Waiting [2021-10-08T20:13:40.176Z] d287ab97295c: Waiting [2021-10-08T20:13:40.176Z] a1111a8f2ec3: Verifying Checksum [2021-10-08T20:13:40.176Z] a1111a8f2ec3: Download complete [2021-10-08T20:13:40.176Z] dc539afda2c1: Verifying Checksum [2021-10-08T20:13:40.176Z] dc539afda2c1: Download complete [2021-10-08T20:13:40.176Z] ed53099fbce6: Verifying Checksum [2021-10-08T20:13:40.176Z] ed53099fbce6: Download complete [2021-10-08T20:13:40.176Z] 77bc0d833cb6: Verifying Checksum [2021-10-08T20:13:40.176Z] 77bc0d833cb6: Download complete [2021-10-08T20:13:40.443Z] 9065ff56babe: Verifying Checksum [2021-10-08T20:13:40.443Z] 9065ff56babe: Download complete [2021-10-08T20:13:40.443Z] b4d181a07f80: Verifying Checksum [2021-10-08T20:13:40.443Z] b4d181a07f80: Download complete [2021-10-08T20:13:41.020Z] d287ab97295c: Verifying Checksum [2021-10-08T20:13:41.020Z] d287ab97295c: Download complete [2021-10-08T20:13:41.590Z] b4d181a07f80: Pull complete [2021-10-08T20:13:41.852Z] a1111a8f2ec3: Pull complete [2021-10-08T20:13:42.443Z] ed53099fbce6: Pull complete [2021-10-08T20:13:42.443Z] dc539afda2c1: Pull complete [2021-10-08T20:13:42.704Z] 77bc0d833cb6: Pull complete [2021-10-08T20:13:42.704Z] 9065ff56babe: Pull complete [2021-10-08T20:13:48.032Z] d287ab97295c: Pull complete [2021-10-08T20:13:48.032Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-08T20:13:48.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T20:13:48.032Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-08T20:13:48.144Z] prd-centos7-docker-4c-2g-137 does not seem to be running inside a container [2021-10-08T20:13:48.185Z] $ 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-181 -v /w/workspace/exfoundry_ci-build-images_PR-181:/w/workspace/exfoundry_ci-build-images_PR-181:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-181@tmp:/w/workspace/exfoundry_ci-build-images_PR-181@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 [2021-10-08T20:13:50.603Z] $ docker top d89c69efcc6b77f371ba08f49b2d8b7b9e29b63427505c5c32d72da0e27442fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:13:51.067Z] ---> job-cost.sh [2021-10-08T20:13:51.067Z] lf-activate-venv: SKIPPING [2021-10-08T20:13:51.067Z] INFO: No Stack... [2021-10-08T20:13:51.644Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-08T20:13:51.907Z] INFO: Archiving Costs [Pipeline] sh [2021-10-08T20:13:52.218Z] + cut -d, -f6 [2021-10-08T20:13:52.218Z] + cat /w/workspace/exfoundry_ci-build-images_PR-181/archives/cost.csv [Pipeline] lock [2021-10-08T20:13:52.263Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-181-1-stack-cost] [2021-10-08T20:13:52.267Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-181-1-stack-cost] did not exist. Created. [2021-10-08T20:13:52.267Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-181-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-08T20:13:52.646Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-08T20:13:52.879Z] Stashed 1 file(s) [Pipeline] } [2021-10-08T20:13:52.896Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-181-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-08T20:13:52.942Z] $ docker stop --time=1 d89c69efcc6b77f371ba08f49b2d8b7b9e29b63427505c5c32d72da0e27442fd [2021-10-08T20:13:54.091Z] $ docker rm -f d89c69efcc6b77f371ba08f49b2d8b7b9e29b63427505c5c32d72da0e27442fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-08T20:15:54.720Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-139 in /w/workspace/exfoundry_ci-build-images_PR-181 [Pipeline] { [Pipeline] checkout [2021-10-08T20:15:55.175Z] Selected Git installation does not exist. Using Default [2021-10-08T20:15:55.175Z] The recommended git tool is: NONE [2021-10-08T20:16:00.662Z] using credential edgex-jenkins-ssh [2021-10-08T20:16:00.682Z] Cloning the remote Git repository [2021-10-08T20:16:00.732Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2021-10-08T20:16:00.846Z] > git init /w/workspace/exfoundry_ci-build-images_PR-181 # timeout=10 [2021-10-08T20:16:00.927Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2021-10-08T20:16:00.927Z] > git --version # timeout=10 [2021-10-08T20:16:00.954Z] > git --version # 'git version 2.17.1' [2021-10-08T20:16:00.956Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-08T20:16:01.051Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-08T20:16:02.134Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2021-10-08T20:16:02.154Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-08T20:16:02.182Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2021-10-08T20:16:02.210Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2021-10-08T20:16:02.211Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-08T20:16:02.221Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/181/head:refs/remotes/origin/PR-181 +refs/heads/golang-1.16-lts:refs/remotes/origin/golang-1.16-lts # timeout=10 [2021-10-08T20:16:03.434Z] Merging remotes/origin/golang-1.16-lts commit 0c8c268358e01f3f4b0db65eef591114d46ee279 into PR head commit 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd [2021-10-08T20:16:03.635Z] Merge succeeded, producing 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd [2021-10-08T20:16:03.636Z] Checking out Revision 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd (PR-181) [2021-10-08T20:16:03.451Z] > git config core.sparsecheckout # timeout=10 [2021-10-08T20:16:03.468Z] > git checkout -f 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd # timeout=10 [2021-10-08T20:16:03.543Z] > git remote # timeout=10 [2021-10-08T20:16:03.570Z] > git config --get remote.origin.url # timeout=10 [2021-10-08T20:16:03.585Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-08T20:16:03.595Z] > git merge 0c8c268358e01f3f4b0db65eef591114d46ee279 # timeout=10 [2021-10-08T20:16:03.618Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-08T20:16:03.640Z] > git config core.sparsecheckout # timeout=10 [2021-10-08T20:16:03.653Z] > git checkout -f 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd # timeout=10 [2021-10-08T20:16:08.187Z] Commit message: "ci: new golang 1.16 for lts releases" [2021-10-08T20:16:08.242Z] > git --version # timeout=10 [2021-10-08T20:16:08.249Z] > git --version # 'git version 2.17.1' [2021-10-08T20:16:08.261Z] fatal: bad object c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-08T20:16:08.960Z] provisioning config files... [2021-10-08T20:16:08.996Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-181@tmp/config7617416834358694156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:16:09.610Z] ---> docker-login.sh [2021-10-08T20:16:09.610Z] nexus3.edgexfoundry.org:10001 [2021-10-08T20:16:11.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:16:11.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:16:11.357Z] Configure a credential helper to remove this warning. See [2021-10-08T20:16:11.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:16:11.357Z] [2021-10-08T20:16:11.357Z] Login Succeeded [2021-10-08T20:16:11.357Z] nexus3.edgexfoundry.org:10002 [2021-10-08T20:16:11.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:16:11.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:16:11.917Z] Configure a credential helper to remove this warning. See [2021-10-08T20:16:11.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:16:11.917Z] [2021-10-08T20:16:11.917Z] Login Succeeded [2021-10-08T20:16:11.917Z] nexus3.edgexfoundry.org:10003 [2021-10-08T20:16:12.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:16:12.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:16:12.480Z] Configure a credential helper to remove this warning. See [2021-10-08T20:16:12.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:16:12.480Z] [2021-10-08T20:16:12.480Z] Login Succeeded [2021-10-08T20:16:12.480Z] nexus3.edgexfoundry.org:10004 [2021-10-08T20:16:12.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:16:13.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:16:13.041Z] Configure a credential helper to remove this warning. See [2021-10-08T20:16:13.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:16:13.041Z] [2021-10-08T20:16:13.041Z] Login Succeeded [2021-10-08T20:16:13.041Z] docker.io [2021-10-08T20:16:13.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T20:16:13.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T20:16:13.930Z] Configure a credential helper to remove this warning. See [2021-10-08T20:16:13.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T20:16:13.930Z] [2021-10-08T20:16:13.930Z] Login Succeeded [2021-10-08T20:16:13.930Z] ---> docker-login.sh ends [Pipeline] } [2021-10-08T20:16:14.024Z] 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-10-08T20:16:14.722Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-08T20:16:15.090Z] + ls -al . [2021-10-08T20:16:15.090Z] total 28 [2021-10-08T20:16:15.090Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 20:16 . [2021-10-08T20:16:15.090Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 20:16 .. [2021-10-08T20:16:15.090Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 20:16 .git [2021-10-08T20:16:15.090Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 20:16 .github [2021-10-08T20:16:15.090Z] -rw-rw-r-- 1 jenkins jenkins 585 Oct 8 20:16 .golangci.yml [2021-10-08T20:16:15.090Z] -rw-rw-r-- 1 jenkins jenkins 914 Oct 8 20:16 Dockerfile [2021-10-08T20:16:15.090Z] -rw-rw-r-- 1 jenkins jenkins 923 Oct 8 20:16 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:16:15.514Z] + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd --label arch=arm64 . [2021-10-08T20:16:15.796Z] Sending build context to Docker daemon 407.6kB [2021-10-08T20:16:15.796Z] Step 1/9 : FROM golang:1.16.8-alpine3.14 [2021-10-08T20:16:16.791Z] 1.16.8-alpine3.14: Pulling from library/golang [2021-10-08T20:16:17.070Z] 552d1f2373af: Pulling fs layer [2021-10-08T20:16:17.070Z] ea3f2d53f512: Pulling fs layer [2021-10-08T20:16:17.070Z] 9e70ebbbe112: Pulling fs layer [2021-10-08T20:16:17.070Z] 7a9cfe048b4a: Pulling fs layer [2021-10-08T20:16:17.070Z] 72dc09318566: Pulling fs layer [2021-10-08T20:16:17.070Z] 7a9cfe048b4a: Waiting [2021-10-08T20:16:17.070Z] 72dc09318566: Waiting [2021-10-08T20:16:17.348Z] 9e70ebbbe112: Verifying Checksum [2021-10-08T20:16:17.348Z] 9e70ebbbe112: Download complete [2021-10-08T20:16:17.348Z] ea3f2d53f512: Verifying Checksum [2021-10-08T20:16:17.348Z] ea3f2d53f512: Download complete [2021-10-08T20:16:17.348Z] 552d1f2373af: Verifying Checksum [2021-10-08T20:16:17.348Z] 552d1f2373af: Download complete [2021-10-08T20:16:17.628Z] 72dc09318566: Verifying Checksum [2021-10-08T20:16:17.628Z] 72dc09318566: Download complete [2021-10-08T20:16:18.242Z] 552d1f2373af: Pull complete [2021-10-08T20:16:18.876Z] ea3f2d53f512: Pull complete [2021-10-08T20:16:19.155Z] 9e70ebbbe112: Pull complete [2021-10-08T20:16:19.770Z] 7a9cfe048b4a: Verifying Checksum [2021-10-08T20:16:19.770Z] 7a9cfe048b4a: Download complete [2021-10-08T20:16:29.988Z] 7a9cfe048b4a: Pull complete [2021-10-08T20:16:30.265Z] 72dc09318566: Pull complete [2021-10-08T20:16:30.265Z] Digest: sha256:69d613a986635e0ee3f1b351131fa689b0dd3570ef9cab8e619a5f1fb939ec56 [2021-10-08T20:16:30.265Z] Status: Downloaded newer image for golang:1.16.8-alpine3.14 [2021-10-08T20:16:30.265Z] ---> 9e9fffa30629 [2021-10-08T20:16:30.265Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel Corporation' [2021-10-08T20:16:33.676Z] ---> Running in 44598adc32c0 [2021-10-08T20:16:33.676Z] Removing intermediate container 44598adc32c0 [2021-10-08T20:16:33.676Z] ---> 795fe45ccaf7 [2021-10-08T20:16:33.676Z] Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T20:16:33.958Z] ---> Running in 74728f36170e [2021-10-08T20:16:36.610Z] Removing intermediate container 74728f36170e [2021-10-08T20:16:36.610Z] ---> 9ab242a20412 [2021-10-08T20:16:36.610Z] Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 [2021-10-08T20:16:36.610Z] ---> Running in 22f09173c877 [2021-10-08T20:16:36.890Z] Removing intermediate container 22f09173c877 [2021-10-08T20:16:36.890Z] ---> 19cc06d7f406 [2021-10-08T20:16:36.890Z] Step 5/9 : COPY ./.golangci.yml /etc/.golangci.yml [2021-10-08T20:16:37.496Z] ---> f8a98f12ca42 [2021-10-08T20:16:37.496Z] 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-10-08T20:16:37.775Z] ---> Running in b6e16ad4f909 [2021-10-08T20:16:39.790Z] Removing intermediate container b6e16ad4f909 [2021-10-08T20:16:39.790Z] ---> cfb8d01df5a5 [2021-10-08T20:16:39.790Z] 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-10-08T20:16:39.790Z] ---> Running in d9724dde7233 [2021-10-08T20:16:41.253Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-08T20:16:42.248Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-08T20:16:42.852Z] (1/37) Installing ncurses-terminfo-base (6.2_p20210612-r0) [2021-10-08T20:16:42.852Z] (2/37) Installing ncurses-libs (6.2_p20210612-r0) [2021-10-08T20:16:43.128Z] (3/37) Installing readline (8.1.0-r0) [2021-10-08T20:16:43.128Z] (4/37) Installing bash (5.1.4-r0) [2021-10-08T20:16:43.404Z] Executing bash-5.1.4-r0.post-install [2021-10-08T20:16:43.404Z] (5/37) Installing libgcc (10.3.1_git20210424-r2) [2021-10-08T20:16:43.404Z] (6/37) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-08T20:16:43.682Z] (7/37) Installing binutils (2.35.2-r2) [2021-10-08T20:16:43.958Z] (8/37) Installing libmagic (5.40-r1) [2021-10-08T20:16:44.234Z] (9/37) Installing file (5.40-r1) [2021-10-08T20:16:44.234Z] (10/37) Installing libgomp (10.3.1_git20210424-r2) [2021-10-08T20:16:44.234Z] (11/37) Installing libatomic (10.3.1_git20210424-r2) [2021-10-08T20:16:44.511Z] (12/37) Installing libgphobos (10.3.1_git20210424-r2) [2021-10-08T20:16:44.787Z] (13/37) Installing gmp (6.2.1-r0) [2021-10-08T20:16:44.787Z] (14/37) Installing isl22 (0.22-r0) [2021-10-08T20:16:44.787Z] (15/37) Installing mpfr4 (4.1.0-r0) [2021-10-08T20:16:45.073Z] (16/37) Installing mpc1 (1.2.1-r0) [2021-10-08T20:16:45.073Z] (17/37) Installing gcc (10.3.1_git20210424-r2) [2021-10-08T20:16:47.719Z] (18/37) Installing musl-dev (1.2.2-r3) [2021-10-08T20:16:48.323Z] (19/37) Installing libc-dev (0.7.2-r3) [2021-10-08T20:16:48.323Z] (20/37) Installing g++ (10.3.1_git20210424-r2) [2021-10-08T20:16:50.968Z] (21/37) Installing make (4.3-r0) [2021-10-08T20:16:50.968Z] (22/37) Installing fortify-headers (1.1-r1) [2021-10-08T20:16:50.968Z] (23/37) Installing patch (2.7.6-r7) [2021-10-08T20:16:50.968Z] (24/37) Installing build-base (0.5-r2) [2021-10-08T20:16:50.968Z] (25/37) Installing brotli-libs (1.0.9-r5) [2021-10-08T20:16:50.968Z] (26/37) Installing nghttp2-libs (1.43.0-r0) [2021-10-08T20:16:51.245Z] (27/37) Installing libcurl (7.79.1-r0) [2021-10-08T20:16:51.245Z] (28/37) Installing curl (7.79.1-r0) [2021-10-08T20:16:51.523Z] (29/37) Installing expat (2.4.1-r0) [2021-10-08T20:16:51.523Z] (30/37) Installing pcre2 (10.36-r0) [2021-10-08T20:16:51.523Z] (31/37) Installing git (2.32.0-r0) [2021-10-08T20:16:52.512Z] (32/37) Installing libsodium (1.0.18-r0) [2021-10-08T20:16:52.512Z] (33/37) Installing pkgconf (1.7.4-r0) [2021-10-08T20:16:52.512Z] (34/37) Installing libsodium-dev (1.0.18-r0) [2021-10-08T20:16:52.790Z] (35/37) Installing linux-headers (5.10.41-r0) [2021-10-08T20:16:53.066Z] (36/37) Installing libzmq (4.3.4-r0) [2021-10-08T20:16:53.345Z] (37/37) Installing zeromq-dev (4.3.4-r0) [2021-10-08T20:16:53.345Z] Executing busybox-1.33.1-r3.trigger [2021-10-08T20:16:53.345Z] OK: 219 MiB in 52 packages [2021-10-08T20:16:53.622Z] Connecting to raw.githubusercontent.com (185.199.111.133:443) [2021-10-08T20:16:53.622Z] writing to stdout [2021-10-08T20:16:53.622Z] - 100% |********************************| 10739 0:00:00 ETA [2021-10-08T20:16:53.622Z] written to stdout [2021-10-08T20:16:53.622Z] golangci/golangci-lint info checking GitHub for tag 'v1.40.1' [2021-10-08T20:16:53.898Z] golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/arm64 [2021-10-08T20:16:55.901Z] golangci/golangci-lint info installed ./bin/golangci-lint [2021-10-08T20:17:08.388Z] Removing intermediate container d9724dde7233 [2021-10-08T20:17:08.388Z] ---> f294d835ea65 [2021-10-08T20:17:08.388Z] Step 8/9 : LABEL arch=arm64 [2021-10-08T20:17:08.388Z] ---> Running in 0248135b2303 [2021-10-08T20:17:08.388Z] Removing intermediate container 0248135b2303 [2021-10-08T20:17:08.388Z] ---> b4a55f5640f3 [2021-10-08T20:17:08.388Z] Step 9/9 : LABEL git_sha=6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd [2021-10-08T20:17:08.388Z] ---> Running in 101116516ced [2021-10-08T20:17:08.388Z] Removing intermediate container 101116516ced [2021-10-08T20:17:08.388Z] ---> ddee6b22ad5c [2021-10-08T20:17:08.388Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-08T20:17:08.388Z] Successfully built ddee6b22ad5c [2021-10-08T20:17:08.388Z] 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-10-08T20:17:09.570Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-08T20:17:09.861Z] [2021-10-08T20:17:09.861Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:17:10.292Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-08T20:17:10.598Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-08T20:17:10.598Z] 448f6bf000e3: Pulling fs layer [2021-10-08T20:17:10.598Z] f757da607395: Pulling fs layer [2021-10-08T20:17:10.598Z] 05883995daec: Pulling fs layer [2021-10-08T20:17:10.598Z] 8603b9c90790: Pulling fs layer [2021-10-08T20:17:10.598Z] 1560dd03e051: Pulling fs layer [2021-10-08T20:17:10.598Z] 27f5ce0e4adf: Pulling fs layer [2021-10-08T20:17:10.598Z] c2d8d7efcc4b: Pulling fs layer [2021-10-08T20:17:10.598Z] 8603b9c90790: Waiting [2021-10-08T20:17:10.598Z] 27f5ce0e4adf: Waiting [2021-10-08T20:17:10.598Z] c2d8d7efcc4b: Waiting [2021-10-08T20:17:10.598Z] 1560dd03e051: Waiting [2021-10-08T20:17:10.897Z] f757da607395: Verifying Checksum [2021-10-08T20:17:10.897Z] f757da607395: Download complete [2021-10-08T20:17:10.897Z] 8603b9c90790: Download complete [2021-10-08T20:17:11.187Z] 1560dd03e051: Verifying Checksum [2021-10-08T20:17:11.187Z] 1560dd03e051: Download complete [2021-10-08T20:17:11.187Z] 05883995daec: Verifying Checksum [2021-10-08T20:17:11.187Z] 05883995daec: Download complete [2021-10-08T20:17:11.187Z] 27f5ce0e4adf: Verifying Checksum [2021-10-08T20:17:11.187Z] 27f5ce0e4adf: Download complete [2021-10-08T20:17:11.801Z] 448f6bf000e3: Verifying Checksum [2021-10-08T20:17:11.801Z] 448f6bf000e3: Download complete [2021-10-08T20:17:14.458Z] c2d8d7efcc4b: Verifying Checksum [2021-10-08T20:17:14.458Z] c2d8d7efcc4b: Download complete [2021-10-08T20:17:15.062Z] 448f6bf000e3: Pull complete [2021-10-08T20:17:16.058Z] f757da607395: Pull complete [2021-10-08T20:17:17.522Z] 05883995daec: Pull complete [2021-10-08T20:17:17.798Z] 8603b9c90790: Pull complete [2021-10-08T20:17:18.798Z] 1560dd03e051: Pull complete [2021-10-08T20:17:19.083Z] 27f5ce0e4adf: Pull complete [2021-10-08T20:17:34.245Z] c2d8d7efcc4b: Pull complete [2021-10-08T20:17:34.245Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-08T20:17:34.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-08T20:17:34.245Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-08T20:17:34.528Z] prd-ubuntu18.04-docker-arm64-4c-16g-139 does not seem to be running inside a container [2021-10-08T20:17:34.639Z] $ 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-181 -v /w/workspace/exfoundry_ci-build-images_PR-181:/w/workspace/exfoundry_ci-build-images_PR-181:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-181@tmp:/w/workspace/exfoundry_ci-build-images_PR-181@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-10-08T20:17:40.542Z] $ docker top 3d2380a3937f9a9e8fde885835ac1b57a215b559534ed371dd7034401b13537e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:17:41.559Z] ---> job-cost.sh [2021-10-08T20:17:41.559Z] lf-activate-venv: SKIPPING [2021-10-08T20:17:41.559Z] INFO: No Stack... [2021-10-08T20:17:42.187Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-08T20:17:42.462Z] INFO: Archiving Costs [Pipeline] sh [2021-10-08T20:17:43.164Z] + cat /w/workspace/exfoundry_ci-build-images_PR-181/archives/cost.csv [2021-10-08T20:17:43.164Z] + cut -d, -f6 [Pipeline] lock [2021-10-08T20:17:43.257Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-181-1-stack-cost] [2021-10-08T20:17:43.261Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-181-1-stack-cost] did not exist. Created. [2021-10-08T20:17:43.262Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-181-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-08T20:17:44.530Z] /w/workspace/exfoundry_ci-build-images_PR-181@tmp/durable-d31ee1a3/script.sh: 1: /w/workspace/exfoundry_ci-build-images_PR-181@tmp/durable-d31ee1a3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-08T20:17:45.239Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-08T20:17:45.279Z] Warning: overwriting stash ‘stack-cost’ [2021-10-08T20:17:45.817Z] Stashed 1 file(s) [Pipeline] } [2021-10-08T20:17:45.835Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-181-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-08T20:17:45.894Z] $ docker stop --time=1 3d2380a3937f9a9e8fde885835ac1b57a215b559534ed371dd7034401b13537e [2021-10-08T20:17:47.513Z] $ docker rm -f 3d2380a3937f9a9e8fde885835ac1b57a215b559534ed371dd7034401b13537e [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-10-08T20:17:49.002Z] + '[' -d /w/workspace/exfoundry_ci-build-images_PR-181/archives ']' [2021-10-08T20:17:49.002Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-181/archives [2021-10-08T20:17:49.002Z] total 4 [2021-10-08T20:17:49.002Z] drwxr-xr-x. 3 root root 34 Oct 8 20:13 . [2021-10-08T20:17:49.002Z] drwxrwxr-x. 5 jenkins jenkins 125 Oct 8 20:13 .. [2021-10-08T20:17:49.002Z] drwxr-xr-x. 2 root root 6 Oct 8 20:13 cost [2021-10-08T20:17:49.002Z] -rw-r--r--. 1 root root 85 Oct 8 20:13 cost.csv [2021-10-08T20:17:49.002Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-181/archives [2021-10-08T20:17:49.002Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-181/archives [2021-10-08T20:17:49.002Z] total 4 [2021-10-08T20:17:49.002Z] drwxr-xr-x. 3 jenkins jenkins 34 Oct 8 20:13 . [2021-10-08T20:17:49.002Z] drwxrwxr-x. 5 jenkins jenkins 125 Oct 8 20:13 .. [2021-10-08T20:17:49.002Z] drwxr-xr-x. 2 jenkins jenkins 6 Oct 8 20:13 cost [2021-10-08T20:17:49.002Z] -rw-r--r--. 1 jenkins jenkins 85 Oct 8 20:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:17:49.336Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:17:49.937Z] ---> package-listing.sh [2021-10-08T20:17:49.937Z] ++ facter osfamily [2021-10-08T20:17:49.937Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-08T20:17:50.202Z] + OS_FAMILY=redhat [2021-10-08T20:17:50.202Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-181 [2021-10-08T20:17:50.202Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-08T20:17:50.202Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-08T20:17:50.202Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-08T20:17:50.202Z] + PACKAGES=/tmp/packages_start.txt [2021-10-08T20:17:50.202Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-181 ']' [2021-10-08T20:17:50.202Z] + PACKAGES=/tmp/packages_end.txt [2021-10-08T20:17:50.202Z] + case "${OS_FAMILY}" in [2021-10-08T20:17:50.202Z] + rpm -qa [2021-10-08T20:17:50.202Z] + sort [2021-10-08T20:17:50.783Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-08T20:17:50.783Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-08T20:17:50.783Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-08T20:17:50.783Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-181 ']' [2021-10-08T20:17:50.783Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-181/archives/ [2021-10-08T20:17:50.783Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-181/archives/ [Pipeline] echo [2021-10-08T20:17:50.813Z] 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-181/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-08T20:17:51.119Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-08T20:17:51.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T20:17:51.456Z] . [Pipeline] withDockerContainer [2021-10-08T20:17:51.545Z] prd-centos7-docker-4c-2g-137 does not seem to be running inside a container [2021-10-08T20:17:51.583Z] $ 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-181/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-181 -v /w/workspace/exfoundry_ci-build-images_PR-181:/w/workspace/exfoundry_ci-build-images_PR-181:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-181@tmp:/w/workspace/exfoundry_ci-build-images_PR-181@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-10-08T20:17:51.795Z] $ docker top 93be7e7cea72aaa11130c059b77af4e56ba588e7bf6c1a2cd6c4d278459cdd9e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-08T20:17:52.198Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-08T20:17:52.505Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-08T20:17:52.821Z] + ls /var/log/sa-host [2021-10-08T20:17:52.822Z] + sadf -c /var/log/sa-host/sa08 [2021-10-08T20:17:52.822Z] file_magic: OK [2021-10-08T20:17:52.822Z] HZ: Using current value: 100 [2021-10-08T20:17:52.822Z] file_header: OK [2021-10-08T20:17:52.822Z] 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-10-08T20:17:52.822Z] Statistics: [2021-10-08T20:17:52.822Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-08T20:17:52.822Z] File successfully converted to sysstat format version 12.0.3 [2021-10-08T20:17:52.822Z] + sadf -c /var/log/sa-host/sa30 [2021-10-08T20:17:52.822Z] file_magic: OK [2021-10-08T20:17:52.822Z] HZ: Using current value: 100 [2021-10-08T20:17:52.822Z] file_header: OK [2021-10-08T20:17:52.822Z] 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-10-08T20:17:52.822Z] Statistics: [2021-10-08T20:17:52.822Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-08T20:17:52.822Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-08T20:17:52.949Z] provisioning config files... [2021-10-08T20:17:52.962Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-181@tmp/config1693284406439129499tmp [Pipeline] { [Pipeline] echo [2021-10-08T20:17:52.996Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:17:53.317Z] ---> create-netrc.sh [Pipeline] } [2021-10-08T20:17:53.334Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:17:53.720Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-08T20:17:53.746Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:17:54.061Z] ---> sudo-logs.sh [2021-10-08T20:17:54.061Z] Archiving 'sudo' log.. [2021-10-08T20:17:54.061Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-137.novalocal: Name or service not known [2021-10-08T20:17:54.061Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-137.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-08T20:17:54.129Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:17:54.449Z] ---> job-cost.sh [2021-10-08T20:17:54.450Z] lf-activate-venv: SKIPPING [2021-10-08T20:17:54.450Z] DEBUG: total: 0.05999999865889549 [2021-10-08T20:17:54.450Z] INFO: Retrieving Stack Cost... [2021-10-08T20:17:54.712Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-08T20:17:54.972Z] INFO: Archiving Costs [Pipeline] echo [2021-10-08T20:17:55.001Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T20:17:55.316Z] ---> logs-deploy.sh [2021-10-08T20:17:55.316Z] lf-activate-venv: SKIPPING [2021-10-08T20:17:55.316Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-181/1 [2021-10-08T20:17:55.316Z] INFO: archiving workspace using pattern(s): [2021-10-08T20:17:55.886Z] Archives upload complete. [2021-10-08T20:17:56.147Z] INFO: archiving logs to Nexus