Pull request #185 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 4b9fe6da526f0edd13237f0dcec2dbe1948bcf58+4f7cd478d0dc99922725e23606580287e6bc2dd1 (9610e4f42434753a9b65d837920c74c60d5b7df7) 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-ssh9463958871849969787.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh4120827625542140766.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-185/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-185/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5001429574931993131.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-185/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15724524987766389444.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh18249828990837811606.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-185/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-185/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16406815290697952942.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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.17-alpine, 1.17-alpine3.15], releaseBranchOverride:golang-1.17] ========================================================= [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.17 DOCKER_CUSTOM_TAGS: 1.17-alpine 1.17-alpine3.15 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1258 in /w/workspace/exfoundry_ci-build-images_PR-185 [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-185 # 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-185@tmp/jenkins-gitclient-ssh4519060955085524838.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/golang-1.17 commit 4f7cd478d0dc99922725e23606580287e6bc2dd1 into PR head commit 4b9fe6da526f0edd13237f0dcec2dbe1948bcf58 Merge succeeded, producing 4b9fe6da526f0edd13237f0dcec2dbe1948bcf58 Checking out Revision 4b9fe6da526f0edd13237f0dcec2dbe1948bcf58 (PR-185) > 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-185@tmp/jenkins-gitclient-ssh7220984464839229717.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/golang-1.17:refs/remotes/origin/golang-1.17 # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4b9fe6da526f0edd13237f0dcec2dbe1948bcf58 # 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-185@tmp/jenkins-gitclient-ssh7210727132718607802.key > git merge 4f7cd478d0dc99922725e23606580287e6bc2dd1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4b9fe6da526f0edd13237f0dcec2dbe1948bcf58 # timeout=10 Commit message: "ci: intitialize new Go 1.17 base image" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-11T18:04:24.596Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-11T18:04:24.761Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-11T18:04:24.861Z] ========================================================= [2022-01-11T18:04:24.861Z] EdgeX Global Pipelines Version Info [2022-01-11T18:04:24.861Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-11T18:04:26.016Z] ------------------- [2022-01-11T18:04:26.016Z] stable info: [2022-01-11T18:04:26.016Z] ------------------- [2022-01-11T18:04:26.016Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-11T18:04:26.016Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2022-01-11T18:04:26.016Z] Message: update stable to v1.0.217 [2022-01-11T18:04:26.588Z] ------------------- [2022-01-11T18:04:26.588Z] experimental info: [2022-01-11T18:04:26.588Z] ------------------- [2022-01-11T18:04:26.588Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-11T18:04:26.588Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-11T18:04:26.588Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2022-01-11T18:04:26.900Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2022-01-11T18:04:26.942Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo [2022-01-11T18:04:26.979Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2022-01-11T18:04:27.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-11T18:04:27.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-11T18:04:27.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo [2022-01-11T18:04:27.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2022-01-11T18:04:27.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2022-01-11T18:04:27.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2022-01-11T18:04:27.231Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-11T18:04:27.265Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2022-01-11T18:04:27.302Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo [2022-01-11T18:04:27.333Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-11T18:04:27.369Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-11T18:04:27.410Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.17 [Pipeline] echo [2022-01-11T18:04:27.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.17-alpine 1.17-alpine3.15 [Pipeline] echo [2022-01-11T18:04:27.491Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-185 [Pipeline] echo [2022-01-11T18:04:27.534Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-185 [Pipeline] echo [2022-01-11T18:04:27.568Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-185 [Pipeline] echo [2022-01-11T18:04:27.602Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4b9fe6da526f0edd13237f0dcec2dbe1948bcf58 [Pipeline] echo [2022-01-11T18:04:27.639Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4b9fe6d [Pipeline] echo [2022-01-11T18:04:27.675Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T18:04:27.784Z] provisioning config files... [2022-01-11T18:04:27.798Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-185@tmp/config8933159828212679969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T18:04:28.156Z] ---> docker-login.sh [2022-01-11T18:04:28.156Z] nexus3.edgexfoundry.org:10001 [2022-01-11T18:04:28.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T18:04:28.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T18:04:28.421Z] Configure a credential helper to remove this warning. See [2022-01-11T18:04:28.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T18:04:28.421Z] [2022-01-11T18:04:28.421Z] Login Succeeded [2022-01-11T18:04:28.421Z] nexus3.edgexfoundry.org:10002 [2022-01-11T18:04:28.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T18:04:28.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T18:04:28.421Z] Configure a credential helper to remove this warning. See [2022-01-11T18:04:28.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T18:04:28.421Z] [2022-01-11T18:04:28.421Z] Login Succeeded [2022-01-11T18:04:28.421Z] nexus3.edgexfoundry.org:10003 [2022-01-11T18:04:28.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T18:04:28.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T18:04:28.683Z] Configure a credential helper to remove this warning. See [2022-01-11T18:04:28.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T18:04:28.683Z] [2022-01-11T18:04:28.683Z] Login Succeeded [2022-01-11T18:04:28.683Z] nexus3.edgexfoundry.org:10004 [2022-01-11T18:04:28.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T18:04:28.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T18:04:28.683Z] Configure a credential helper to remove this warning. See [2022-01-11T18:04:28.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T18:04:28.683Z] [2022-01-11T18:04:28.683Z] Login Succeeded [2022-01-11T18:04:28.683Z] docker.io [2022-01-11T18:04:28.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T18:04:29.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T18:04:29.260Z] Configure a credential helper to remove this warning. See [2022-01-11T18:04:29.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T18:04:29.260Z] [2022-01-11T18:04:29.260Z] Login Succeeded [2022-01-11T18:04:29.260Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T18:04:29.288Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Semver Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Docker Image) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T18:04:30.012Z] provisioning config files... [2022-01-11T18:04:30.026Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-185@tmp/config9071203173220139445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T18:04:30.380Z] ---> docker-login.sh [2022-01-11T18:04:30.381Z] nexus3.edgexfoundry.org:10001 [2022-01-11T18:04:30.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T18:04:30.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T18:04:30.381Z] Configure a credential helper to remove this warning. See [2022-01-11T18:04:30.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T18:04:30.381Z] [2022-01-11T18:04:30.381Z] Login Succeeded [2022-01-11T18:04:30.381Z] nexus3.edgexfoundry.org:10002 [2022-01-11T18:04:30.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T18:04:30.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T18:04:30.381Z] Configure a credential helper to remove this warning. See [2022-01-11T18:04:30.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T18:04:30.381Z] [2022-01-11T18:04:30.381Z] Login Succeeded [2022-01-11T18:04:30.381Z] nexus3.edgexfoundry.org:10003 [2022-01-11T18:04:30.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T18:04:30.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T18:04:30.646Z] Configure a credential helper to remove this warning. See [2022-01-11T18:04:30.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T18:04:30.646Z] [2022-01-11T18:04:30.646Z] Login Succeeded [2022-01-11T18:04:30.646Z] nexus3.edgexfoundry.org:10004 [2022-01-11T18:04:30.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T18:04:30.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T18:04:30.646Z] Configure a credential helper to remove this warning. See [2022-01-11T18:04:30.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T18:04:30.646Z] [2022-01-11T18:04:30.646Z] Login Succeeded [2022-01-11T18:04:30.646Z] docker.io [2022-01-11T18:04:30.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T18:04:31.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T18:04:31.172Z] Configure a credential helper to remove this warning. See [2022-01-11T18:04:31.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T18:04:31.172Z] [2022-01-11T18:04:31.172Z] Login Succeeded [2022-01-11T18:04:31.172Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T18:04:31.200Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T18:04:32.810Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-11T18:04:33.125Z] + ls -al . [2022-01-11T18:04:33.125Z] total 12 [2022-01-11T18:04:33.125Z] drwxrwxr-x. 4 jenkins jenkins 91 Jan 11 18:04 . [2022-01-11T18:04:33.125Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 11 18:04 .. [2022-01-11T18:04:33.125Z] -rw-rw-r--. 1 jenkins jenkins 914 Jan 11 18:04 Dockerfile [2022-01-11T18:04:33.125Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 11 18:04 .git [2022-01-11T18:04:33.125Z] drwxrwxr-x. 2 jenkins jenkins 38 Jan 11 18:04 .github [2022-01-11T18:04:33.125Z] -rw-rw-r--. 1 jenkins jenkins 585 Jan 11 18:04 .golangci.yml [2022-01-11T18:04:33.125Z] -rw-rw-r--. 1 jenkins jenkins 913 Jan 11 18:04 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2022-01-11T18:04:33.646Z] + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=4b9fe6da526f0edd13237f0dcec2dbe1948bcf58 --label arch=amd64 . [2022-01-11T18:04:33.646Z] Sending build context to Docker daemon 417.8kB [2022-01-11T18:04:33.646Z] Step 1/9 : FROM golang:1.17.6-alpine3.15 [2022-01-11T18:04:34.218Z] 1.17.6-alpine3.15: Pulling from library/golang [2022-01-11T18:04:34.483Z] 59bf1c3509f3: Pulling fs layer [2022-01-11T18:04:34.483Z] 666ba61612fd: Pulling fs layer [2022-01-11T18:04:34.483Z] 8ed8ca486205: Pulling fs layer [2022-01-11T18:04:34.483Z] 4fe6c5a15a65: Pulling fs layer [2022-01-11T18:04:34.483Z] 22a0e8bec74d: Pulling fs layer [2022-01-11T18:04:34.483Z] 4fe6c5a15a65: Waiting [2022-01-11T18:04:34.483Z] 22a0e8bec74d: Waiting [2022-01-11T18:04:34.483Z] 666ba61612fd: Verifying Checksum [2022-01-11T18:04:34.483Z] 666ba61612fd: Download complete [2022-01-11T18:04:34.483Z] 8ed8ca486205: Verifying Checksum [2022-01-11T18:04:34.483Z] 8ed8ca486205: Download complete [2022-01-11T18:04:34.483Z] 59bf1c3509f3: Verifying Checksum [2022-01-11T18:04:34.483Z] 59bf1c3509f3: Download complete [2022-01-11T18:04:34.748Z] 22a0e8bec74d: Verifying Checksum [2022-01-11T18:04:34.748Z] 22a0e8bec74d: Download complete [2022-01-11T18:04:34.748Z] 59bf1c3509f3: Pull complete [2022-01-11T18:04:35.011Z] 666ba61612fd: Pull complete [2022-01-11T18:04:35.011Z] 8ed8ca486205: Pull complete [2022-01-11T18:04:35.587Z] 4fe6c5a15a65: Verifying Checksum [2022-01-11T18:04:35.587Z] 4fe6c5a15a65: Download complete [2022-01-11T18:04:39.866Z] 4fe6c5a15a65: Pull complete [2022-01-11T18:04:39.866Z] 22a0e8bec74d: Pull complete [2022-01-11T18:04:39.866Z] Digest: sha256:519c827ec22e5cf7417c9ff063ec840a446cdd30681700a16cf42eb43823e27c [2022-01-11T18:04:39.866Z] Status: Downloaded newer image for golang:1.17.6-alpine3.15 [2022-01-11T18:04:39.866Z] ---> e8fc0c5ad389 [2022-01-11T18:04:39.866Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2022-01-11T18:04:41.266Z] ---> Running in a184e500cd17 [2022-01-11T18:04:41.266Z] Removing intermediate container a184e500cd17 [2022-01-11T18:04:41.266Z] ---> 8b10267e8597 [2022-01-11T18:04:41.266Z] Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T18:04:41.533Z] ---> Running in 0365d7b7ec23 [2022-01-11T18:04:42.119Z] Removing intermediate container 0365d7b7ec23 [2022-01-11T18:04:42.119Z] ---> 4b0f3dd6c358 [2022-01-11T18:04:42.119Z] Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 [2022-01-11T18:04:42.119Z] ---> Running in 335e2b4a94b5 [2022-01-11T18:04:42.119Z] Removing intermediate container 335e2b4a94b5 [2022-01-11T18:04:42.119Z] ---> f41716e20302 [2022-01-11T18:04:42.119Z] Step 5/9 : COPY ./.golangci.yml /etc/.golangci.yml [2022-01-11T18:04:42.381Z] ---> f318e5210a57 [2022-01-11T18:04:42.381Z] 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 [2022-01-11T18:04:42.381Z] ---> Running in e59bc40d2c46 [2022-01-11T18:04:42.644Z] Connecting to github.com (140.82.112.3:443) [2022-01-11T18:04:42.644Z] Connecting to objects.githubusercontent.com (185.199.108.133:443) [2022-01-11T18:04:42.904Z] saving to '/usr/local/bin/hadolint' [2022-01-11T18:04:42.904Z] hadolint 100% |********************************| 5676k 0:00:00 ETA [2022-01-11T18:04:42.904Z] '/usr/local/bin/hadolint' saved [2022-01-11T18:04:43.488Z] Removing intermediate container e59bc40d2c46 [2022-01-11T18:04:43.488Z] ---> 2e5ece1d5a25 [2022-01-11T18:04:43.488Z] 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} [2022-01-11T18:04:43.488Z] ---> Running in 02956f0a0b7c [2022-01-11T18:04:43.748Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-11T18:04:44.692Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-11T18:04:44.805Z] Still waiting to schedule task [2022-01-11T18:04:44.805Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-11T18:04:44.953Z] (1/37) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-01-11T18:04:45.215Z] (2/37) Installing ncurses-libs (6.3_p20211120-r0) [2022-01-11T18:04:45.215Z] (3/37) Installing readline (8.1.1-r0) [2022-01-11T18:04:45.215Z] (4/37) Installing bash (5.1.8-r0) [2022-01-11T18:04:45.476Z] Executing bash-5.1.8-r0.post-install [2022-01-11T18:04:45.476Z] (5/37) Installing libgcc (10.3.1_git20211027-r0) [2022-01-11T18:04:45.476Z] (6/37) Installing libstdc++ (10.3.1_git20211027-r0) [2022-01-11T18:04:45.476Z] (7/37) Installing binutils (2.37-r3) [2022-01-11T18:04:45.737Z] (8/37) Installing libmagic (5.41-r0) [2022-01-11T18:04:45.997Z] (9/37) Installing file (5.41-r0) [2022-01-11T18:04:45.997Z] (10/37) Installing libgomp (10.3.1_git20211027-r0) [2022-01-11T18:04:45.997Z] (11/37) Installing libatomic (10.3.1_git20211027-r0) [2022-01-11T18:04:46.258Z] (12/37) Installing libgphobos (10.3.1_git20211027-r0) [2022-01-11T18:04:46.258Z] (13/37) Installing gmp (6.2.1-r0) [2022-01-11T18:04:46.258Z] (14/37) Installing isl22 (0.22-r0) [2022-01-11T18:04:46.529Z] (15/37) Installing mpfr4 (4.1.0-r0) [2022-01-11T18:04:46.530Z] (16/37) Installing mpc1 (1.2.1-r0) [2022-01-11T18:04:46.530Z] (17/37) Installing gcc (10.3.1_git20211027-r0) [2022-01-11T18:04:49.080Z] (18/37) Installing musl-dev (1.2.2-r7) [2022-01-11T18:04:49.080Z] (19/37) Installing libc-dev (0.7.2-r3) [2022-01-11T18:04:49.341Z] (20/37) Installing g++ (10.3.1_git20211027-r0) [2022-01-11T18:04:51.260Z] (21/37) Installing make (4.3-r0) [2022-01-11T18:04:51.260Z] (22/37) Installing fortify-headers (1.1-r1) [2022-01-11T18:04:51.260Z] (23/37) Installing patch (2.7.6-r7) [2022-01-11T18:04:51.260Z] (24/37) Installing build-base (0.5-r2) [2022-01-11T18:04:51.260Z] (25/37) Installing brotli-libs (1.0.9-r5) [2022-01-11T18:04:51.528Z] (26/37) Installing nghttp2-libs (1.46.0-r0) [2022-01-11T18:04:51.528Z] (27/37) Installing libcurl (7.80.0-r0) [2022-01-11T18:04:51.528Z] (28/37) Installing curl (7.80.0-r0) [2022-01-11T18:04:51.789Z] (29/37) Installing expat (2.4.1-r0) [2022-01-11T18:04:51.789Z] (30/37) Installing pcre2 (10.39-r0) [2022-01-11T18:04:51.789Z] (31/37) Installing git (2.34.1-r0) [2022-01-11T18:04:52.360Z] (32/37) Installing libsodium (1.0.18-r0) [2022-01-11T18:04:52.622Z] (33/37) Installing pkgconf (1.8.0-r0) [2022-01-11T18:04:52.622Z] (34/37) Installing libsodium-dev (1.0.18-r0) [2022-01-11T18:04:52.622Z] (35/37) Installing linux-headers (5.10.41-r0) [2022-01-11T18:04:52.884Z] (36/37) Installing libzmq (4.3.4-r0) [2022-01-11T18:04:53.146Z] (37/37) Installing zeromq-dev (4.3.4-r0) [2022-01-11T18:04:53.146Z] Executing busybox-1.34.1-r3.trigger [2022-01-11T18:04:53.146Z] OK: 221 MiB in 52 packages [2022-01-11T18:04:53.146Z] Connecting to raw.githubusercontent.com (185.199.109.133:443) [2022-01-11T18:04:53.146Z] writing to stdout [2022-01-11T18:04:53.146Z] - 100% |********************************| 10759 0:00:00 ETA [2022-01-11T18:04:53.146Z] written to stdout [2022-01-11T18:04:53.407Z] golangci/golangci-lint info checking GitHub for tag 'v1.40.1' [2022-01-11T18:04:53.407Z] golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/amd64 [2022-01-11T18:04:54.348Z] golangci/golangci-lint info installed ./bin/golangci-lint [2022-01-11T18:04:58.571Z] Removing intermediate container 02956f0a0b7c [2022-01-11T18:04:58.571Z] ---> 64425ed0ae0d [2022-01-11T18:04:58.571Z] Step 8/9 : LABEL arch=amd64 [2022-01-11T18:04:58.571Z] ---> Running in bd499ceb6701 [2022-01-11T18:04:58.571Z] Removing intermediate container bd499ceb6701 [2022-01-11T18:04:58.571Z] ---> 996c730c2b1c [2022-01-11T18:04:58.571Z] Step 9/9 : LABEL git_sha=4b9fe6da526f0edd13237f0dcec2dbe1948bcf58 [2022-01-11T18:04:58.838Z] ---> Running in 9a813f4ab8dd [2022-01-11T18:04:58.838Z] Removing intermediate container 9a813f4ab8dd [2022-01-11T18:04:58.838Z] ---> 6487ce63dcba [2022-01-11T18:04:58.838Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-11T18:04:58.838Z] Successfully built 6487ce63dcba [2022-01-11T18:04:58.838Z] 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 [2022-01-11T18:04:59.605Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T18:04:59.605Z] [2022-01-11T18:04:59.605Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T18:04:59.948Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T18:04:59.948Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-11T18:04:59.948Z] b4d181a07f80: Pulling fs layer [2022-01-11T18:04:59.948Z] a1111a8f2ec3: Pulling fs layer [2022-01-11T18:04:59.948Z] ed53099fbce6: Pulling fs layer [2022-01-11T18:04:59.948Z] dc539afda2c1: Pulling fs layer [2022-01-11T18:04:59.948Z] 77bc0d833cb6: Pulling fs layer [2022-01-11T18:04:59.948Z] 9065ff56babe: Pulling fs layer [2022-01-11T18:04:59.948Z] d287ab97295c: Pulling fs layer [2022-01-11T18:04:59.948Z] dc539afda2c1: Waiting [2022-01-11T18:04:59.948Z] 77bc0d833cb6: Waiting [2022-01-11T18:04:59.948Z] 9065ff56babe: Waiting [2022-01-11T18:04:59.948Z] d287ab97295c: Waiting [2022-01-11T18:04:59.948Z] a1111a8f2ec3: Verifying Checksum [2022-01-11T18:04:59.948Z] a1111a8f2ec3: Download complete [2022-01-11T18:04:59.948Z] dc539afda2c1: Verifying Checksum [2022-01-11T18:04:59.948Z] dc539afda2c1: Download complete [2022-01-11T18:05:00.223Z] 77bc0d833cb6: Verifying Checksum [2022-01-11T18:05:00.223Z] 77bc0d833cb6: Download complete [2022-01-11T18:05:00.223Z] ed53099fbce6: Verifying Checksum [2022-01-11T18:05:00.223Z] ed53099fbce6: Download complete [2022-01-11T18:05:00.223Z] 9065ff56babe: Verifying Checksum [2022-01-11T18:05:00.223Z] 9065ff56babe: Download complete [2022-01-11T18:05:00.223Z] b4d181a07f80: Verifying Checksum [2022-01-11T18:05:00.223Z] b4d181a07f80: Download complete [2022-01-11T18:05:00.800Z] d287ab97295c: Verifying Checksum [2022-01-11T18:05:00.800Z] d287ab97295c: Download complete [2022-01-11T18:05:01.757Z] b4d181a07f80: Pull complete [2022-01-11T18:05:01.757Z] a1111a8f2ec3: Pull complete [2022-01-11T18:05:02.351Z] ed53099fbce6: Pull complete [2022-01-11T18:05:02.615Z] dc539afda2c1: Pull complete [2022-01-11T18:05:02.878Z] 77bc0d833cb6: Pull complete [2022-01-11T18:05:02.878Z] 9065ff56babe: Pull complete [2022-01-11T18:05:08.205Z] d287ab97295c: Pull complete [2022-01-11T18:05:08.205Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-11T18:05:08.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T18:05:08.205Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-11T18:05:08.302Z] prd-centos7-docker-4c-2g-1258 does not seem to be running inside a container [2022-01-11T18:05:08.344Z] $ 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-185 -v /w/workspace/exfoundry_ci-build-images_PR-185:/w/workspace/exfoundry_ci-build-images_PR-185:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-185@tmp:/w/workspace/exfoundry_ci-build-images_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-11T18:05:11.857Z] $ docker top 408c2d3093d0eedaaeb5f66e4c0002b7805e9aa95547ecdd8fa0c1f113ec9d2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T18:05:12.356Z] ---> job-cost.sh [2022-01-11T18:05:12.356Z] lf-activate-venv: SKIPPING [2022-01-11T18:05:12.356Z] INFO: No Stack... [2022-01-11T18:05:12.616Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-11T18:05:12.882Z] INFO: Archiving Costs [Pipeline] sh [2022-01-11T18:05:13.207Z] + cat /w/workspace/exfoundry_ci-build-images_PR-185/archives/cost.csv [2022-01-11T18:05:13.207Z] + cut -d, -f6 [Pipeline] lock [2022-01-11T18:05:13.256Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-185-1-stack-cost] [2022-01-11T18:05:13.261Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-185-1-stack-cost] did not exist. Created. [2022-01-11T18:05:13.261Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-185-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-11T18:05:13.662Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-11T18:05:13.897Z] Stashed 1 file(s) [Pipeline] } [2022-01-11T18:05:13.916Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-185-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-11T18:05:13.991Z] $ docker stop --time=1 408c2d3093d0eedaaeb5f66e4c0002b7805e9aa95547ecdd8fa0c1f113ec9d2b [2022-01-11T18:05:15.125Z] $ docker rm -f 408c2d3093d0eedaaeb5f66e4c0002b7805e9aa95547ecdd8fa0c1f113ec9d2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-11T18:06:06.067Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1259 in /w/workspace/exfoundry_ci-build-images_PR-185 [Pipeline] { [Pipeline] checkout [2022-01-11T18:06:06.273Z] Selected Git installation does not exist. Using Default [2022-01-11T18:06:06.273Z] The recommended git tool is: NONE [2022-01-11T18:06:10.854Z] using credential edgex-jenkins-ssh [2022-01-11T18:06:10.871Z] Cloning the remote Git repository [2022-01-11T18:06:10.928Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2022-01-11T18:06:11.003Z] > git init /w/workspace/exfoundry_ci-build-images_PR-185 # timeout=10 [2022-01-11T18:06:11.088Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2022-01-11T18:06:11.089Z] > git --version # timeout=10 [2022-01-11T18:06:11.112Z] > git --version # 'git version 2.17.1' [2022-01-11T18:06:11.115Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T18:06:11.196Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T18:06:11.953Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2022-01-11T18:06:11.968Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T18:06:11.996Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2022-01-11T18:06:12.085Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2022-01-11T18:06:12.086Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T18:06:12.099Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/golang-1.17:refs/remotes/origin/golang-1.17 # timeout=10 [2022-01-11T18:06:12.712Z] Merging remotes/origin/golang-1.17 commit 4f7cd478d0dc99922725e23606580287e6bc2dd1 into PR head commit 4b9fe6da526f0edd13237f0dcec2dbe1948bcf58 [2022-01-11T18:06:12.917Z] Merge succeeded, producing 4b9fe6da526f0edd13237f0dcec2dbe1948bcf58 [2022-01-11T18:06:12.917Z] Checking out Revision 4b9fe6da526f0edd13237f0dcec2dbe1948bcf58 (PR-185) [2022-01-11T18:06:12.728Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T18:06:12.746Z] > git checkout -f 4b9fe6da526f0edd13237f0dcec2dbe1948bcf58 # timeout=10 [2022-01-11T18:06:12.823Z] > git remote # timeout=10 [2022-01-11T18:06:12.839Z] > git config --get remote.origin.url # timeout=10 [2022-01-11T18:06:12.860Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T18:06:12.872Z] > git merge 4f7cd478d0dc99922725e23606580287e6bc2dd1 # timeout=10 [2022-01-11T18:06:12.893Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-11T18:06:12.923Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T18:06:12.932Z] > git checkout -f 4b9fe6da526f0edd13237f0dcec2dbe1948bcf58 # timeout=10 [2022-01-11T18:06:17.044Z] Commit message: "ci: intitialize new Go 1.17 base image" [2022-01-11T18:06:17.102Z] > git --version # timeout=10 [2022-01-11T18:06:17.112Z] > git --version # 'git version 2.17.1' [2022-01-11T18:06:17.128Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T18:06:18.141Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-11T18:06:18.142Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-11T18:06:18.142Z] Dload Upload Total Spent Left Speed [2022-01-11T18:06:18.142Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 45202 0 --:--:-- --:--:-- --:--:-- 45202 [Pipeline] sh [2022-01-11T18:06:18.708Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-11T18:06:19.094Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-11T18:06:19.094Z] + sudo tee /etc/docker/daemon.new [2022-01-11T18:06:19.094Z] { [2022-01-11T18:06:19.094Z] "registry-mirrors": [ [2022-01-11T18:06:19.094Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-11T18:06:19.094Z] ], [2022-01-11T18:06:19.094Z] "bip": "10.250.0.254/24", [2022-01-11T18:06:19.094Z] "hosts": [ [2022-01-11T18:06:19.094Z] "tcp://0.0.0.0:5555", [2022-01-11T18:06:19.094Z] "unix:///var/run/docker.sock" [2022-01-11T18:06:19.094Z] ], [2022-01-11T18:06:19.094Z] "mtu": 1458, [2022-01-11T18:06:19.094Z] "selinux-enabled": true, [2022-01-11T18:06:19.094Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-11T18:06:19.094Z] } [Pipeline] sh [2022-01-11T18:06:19.459Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-11T18:06:19.898Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T18:06:38.279Z] provisioning config files... [2022-01-11T18:06:38.304Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-185@tmp/config6983190336871632713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T18:06:38.723Z] ---> docker-login.sh [2022-01-11T18:06:38.723Z] nexus3.edgexfoundry.org:10001 [2022-01-11T18:06:39.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T18:06:39.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T18:06:39.592Z] Configure a credential helper to remove this warning. See [2022-01-11T18:06:39.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T18:06:39.593Z] [2022-01-11T18:06:39.593Z] Login Succeeded [2022-01-11T18:06:39.593Z] nexus3.edgexfoundry.org:10002 [2022-01-11T18:06:39.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T18:06:39.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T18:06:39.867Z] Configure a credential helper to remove this warning. See [2022-01-11T18:06:39.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T18:06:39.867Z] [2022-01-11T18:06:39.867Z] Login Succeeded [2022-01-11T18:06:39.867Z] nexus3.edgexfoundry.org:10003 [2022-01-11T18:06:40.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T18:06:40.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T18:06:40.419Z] Configure a credential helper to remove this warning. See [2022-01-11T18:06:40.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T18:06:40.419Z] [2022-01-11T18:06:40.419Z] Login Succeeded [2022-01-11T18:06:40.419Z] nexus3.edgexfoundry.org:10004 [2022-01-11T18:06:40.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T18:06:40.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T18:06:40.694Z] Configure a credential helper to remove this warning. See [2022-01-11T18:06:40.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T18:06:40.694Z] [2022-01-11T18:06:40.694Z] Login Succeeded [2022-01-11T18:06:40.694Z] docker.io [2022-01-11T18:06:41.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T18:06:41.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T18:06:41.561Z] Configure a credential helper to remove this warning. See [2022-01-11T18:06:41.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T18:06:41.561Z] [2022-01-11T18:06:41.561Z] Login Succeeded [2022-01-11T18:06:41.561Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T18:06:41.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T18:06:42.242Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-11T18:06:42.594Z] + ls -al . [2022-01-11T18:06:42.594Z] total 28 [2022-01-11T18:06:42.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:06 . [2022-01-11T18:06:42.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:06 .. [2022-01-11T18:06:42.594Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 18:06 .git [2022-01-11T18:06:42.594Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:06 .github [2022-01-11T18:06:42.594Z] -rw-rw-r-- 1 jenkins jenkins 585 Jan 11 18:06 .golangci.yml [2022-01-11T18:06:42.594Z] -rw-rw-r-- 1 jenkins jenkins 914 Jan 11 18:06 Dockerfile [2022-01-11T18:06:42.594Z] -rw-rw-r-- 1 jenkins jenkins 913 Jan 11 18:06 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2022-01-11T18:06:42.965Z] + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=4b9fe6da526f0edd13237f0dcec2dbe1948bcf58 --label arch=arm64 . [2022-01-11T18:06:43.238Z] Sending build context to Docker daemon 416.8kB [2022-01-11T18:06:43.238Z] Step 1/9 : FROM golang:1.17.6-alpine3.15 [2022-01-11T18:06:43.830Z] 1.17.6-alpine3.15: Pulling from library/golang [2022-01-11T18:06:44.099Z] 9b3977197b4f: Pulling fs layer [2022-01-11T18:06:44.099Z] 1a89e8eeedd5: Pulling fs layer [2022-01-11T18:06:44.099Z] 94645a83ff95: Pulling fs layer [2022-01-11T18:06:44.099Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-11T18:06:44.099Z] 0c92f367c5e7: Pulling fs layer [2022-01-11T18:06:44.099Z] 3f3a8bcf1eab: Waiting [2022-01-11T18:06:44.099Z] 0c92f367c5e7: Waiting [2022-01-11T18:06:44.370Z] 94645a83ff95: Download complete [2022-01-11T18:06:44.370Z] 1a89e8eeedd5: Verifying Checksum [2022-01-11T18:06:44.370Z] 1a89e8eeedd5: Download complete [2022-01-11T18:06:44.370Z] 9b3977197b4f: Verifying Checksum [2022-01-11T18:06:44.370Z] 9b3977197b4f: Download complete [2022-01-11T18:06:44.370Z] 0c92f367c5e7: Verifying Checksum [2022-01-11T18:06:44.370Z] 0c92f367c5e7: Download complete [2022-01-11T18:06:44.966Z] 9b3977197b4f: Pull complete [2022-01-11T18:06:45.243Z] 1a89e8eeedd5: Pull complete [2022-01-11T18:06:45.516Z] 94645a83ff95: Pull complete [2022-01-11T18:06:46.944Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-11T18:06:46.944Z] 3f3a8bcf1eab: Download complete [2022-01-11T18:06:59.353Z] 3f3a8bcf1eab: Pull complete [2022-01-11T18:06:59.353Z] 0c92f367c5e7: Pull complete [2022-01-11T18:06:59.353Z] Digest: sha256:519c827ec22e5cf7417c9ff063ec840a446cdd30681700a16cf42eb43823e27c [2022-01-11T18:06:59.353Z] Status: Downloaded newer image for golang:1.17.6-alpine3.15 [2022-01-11T18:06:59.353Z] ---> ccd27c9e1703 [2022-01-11T18:06:59.353Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2022-01-11T18:06:59.628Z] ---> Running in e460440d42f4 [2022-01-11T18:06:59.905Z] Removing intermediate container e460440d42f4 [2022-01-11T18:06:59.905Z] ---> fb51504358b1 [2022-01-11T18:06:59.905Z] Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T18:06:59.905Z] ---> Running in 919977d664ee [2022-01-11T18:07:01.895Z] Removing intermediate container 919977d664ee [2022-01-11T18:07:01.895Z] ---> 3599f81220cf [2022-01-11T18:07:01.895Z] Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 [2022-01-11T18:07:01.895Z] ---> Running in 9ad6aef2507a [2022-01-11T18:07:02.169Z] Removing intermediate container 9ad6aef2507a [2022-01-11T18:07:02.169Z] ---> 7393f03fb639 [2022-01-11T18:07:02.169Z] Step 5/9 : COPY ./.golangci.yml /etc/.golangci.yml [2022-01-11T18:07:02.771Z] ---> 140d59674e10 [2022-01-11T18:07:02.771Z] 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 [2022-01-11T18:07:02.772Z] ---> Running in aa8cb9221f87 [2022-01-11T18:07:04.752Z] Removing intermediate container aa8cb9221f87 [2022-01-11T18:07:04.752Z] ---> c9422fec9995 [2022-01-11T18:07:04.752Z] 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} [2022-01-11T18:07:04.752Z] ---> Running in c9310c9fd79c [2022-01-11T18:07:05.564Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-11T18:07:06.557Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-11T18:07:07.151Z] (1/37) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-01-11T18:07:07.426Z] (2/37) Installing ncurses-libs (6.3_p20211120-r0) [2022-01-11T18:07:07.426Z] (3/37) Installing readline (8.1.1-r0) [2022-01-11T18:07:07.698Z] (4/37) Installing bash (5.1.8-r0) [2022-01-11T18:07:07.698Z] Executing bash-5.1.8-r0.post-install [2022-01-11T18:07:07.698Z] (5/37) Installing libgcc (10.3.1_git20211027-r0) [2022-01-11T18:07:07.977Z] (6/37) Installing libstdc++ (10.3.1_git20211027-r0) [2022-01-11T18:07:07.977Z] (7/37) Installing binutils (2.37-r3) [2022-01-11T18:07:08.250Z] (8/37) Installing libmagic (5.41-r0) [2022-01-11T18:07:08.522Z] (9/37) Installing file (5.41-r0) [2022-01-11T18:07:08.523Z] (10/37) Installing libgomp (10.3.1_git20211027-r0) [2022-01-11T18:07:08.796Z] (11/37) Installing libatomic (10.3.1_git20211027-r0) [2022-01-11T18:07:08.796Z] (12/37) Installing libgphobos (10.3.1_git20211027-r0) [2022-01-11T18:07:09.067Z] (13/37) Installing gmp (6.2.1-r0) [2022-01-11T18:07:09.067Z] (14/37) Installing isl22 (0.22-r0) [2022-01-11T18:07:09.067Z] (15/37) Installing mpfr4 (4.1.0-r0) [2022-01-11T18:07:09.340Z] (16/37) Installing mpc1 (1.2.1-r0) [2022-01-11T18:07:09.340Z] (17/37) Installing gcc (10.3.1_git20211027-r0) [2022-01-11T18:07:12.172Z] (18/37) Installing musl-dev (1.2.2-r7) [2022-01-11T18:07:12.172Z] (19/37) Installing libc-dev (0.7.2-r3) [2022-01-11T18:07:12.172Z] (20/37) Installing g++ (10.3.1_git20211027-r0) [2022-01-11T18:07:13.626Z] (21/37) Installing make (4.3-r0) [2022-01-11T18:07:13.626Z] (22/37) Installing fortify-headers (1.1-r1) [2022-01-11T18:07:13.626Z] (23/37) Installing patch (2.7.6-r7) [2022-01-11T18:07:13.626Z] (24/37) Installing build-base (0.5-r2) [2022-01-11T18:07:13.896Z] (25/37) Installing brotli-libs (1.0.9-r5) [2022-01-11T18:07:13.896Z] (26/37) Installing nghttp2-libs (1.46.0-r0) [2022-01-11T18:07:13.896Z] (27/37) Installing libcurl (7.80.0-r0) [2022-01-11T18:07:14.168Z] (28/37) Installing curl (7.80.0-r0) [2022-01-11T18:07:14.168Z] (29/37) Installing expat (2.4.1-r0) [2022-01-11T18:07:14.168Z] (30/37) Installing pcre2 (10.39-r0) [2022-01-11T18:07:14.442Z] (31/37) Installing git (2.34.1-r0) [2022-01-11T18:07:14.713Z] (32/37) Installing libsodium (1.0.18-r0) [2022-01-11T18:07:14.985Z] (33/37) Installing pkgconf (1.8.0-r0) [2022-01-11T18:07:14.985Z] (34/37) Installing libsodium-dev (1.0.18-r0) [2022-01-11T18:07:14.985Z] (35/37) Installing linux-headers (5.10.41-r0) [2022-01-11T18:07:15.578Z] (36/37) Installing libzmq (4.3.4-r0) [2022-01-11T18:07:15.578Z] (37/37) Installing zeromq-dev (4.3.4-r0) [2022-01-11T18:07:15.851Z] Executing busybox-1.34.1-r3.trigger [2022-01-11T18:07:15.851Z] OK: 220 MiB in 52 packages [2022-01-11T18:07:15.851Z] Connecting to raw.githubusercontent.com (185.199.109.133:443) [2022-01-11T18:07:16.122Z] writing to stdout [2022-01-11T18:07:16.122Z] - 100% |********************************| 10759 0:00:00 ETA [2022-01-11T18:07:16.122Z] written to stdout [2022-01-11T18:07:16.122Z] golangci/golangci-lint info checking GitHub for tag 'v1.40.1' [2022-01-11T18:07:16.392Z] golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/arm64 [2022-01-11T18:07:18.368Z] golangci/golangci-lint info installed ./bin/golangci-lint [2022-01-11T18:07:26.656Z] Removing intermediate container c9310c9fd79c [2022-01-11T18:07:26.656Z] ---> 276a7b414339 [2022-01-11T18:07:26.656Z] Step 8/9 : LABEL arch=arm64 [2022-01-11T18:07:26.656Z] ---> Running in b8ecdaa17fe9 [2022-01-11T18:07:26.929Z] Removing intermediate container b8ecdaa17fe9 [2022-01-11T18:07:26.929Z] ---> 8b544a7c9dce [2022-01-11T18:07:26.929Z] Step 9/9 : LABEL git_sha=4b9fe6da526f0edd13237f0dcec2dbe1948bcf58 [2022-01-11T18:07:26.929Z] ---> Running in 06a6d9f6ed9a [2022-01-11T18:07:27.201Z] Removing intermediate container 06a6d9f6ed9a [2022-01-11T18:07:27.201Z] ---> bd2a3c869fbb [2022-01-11T18:07:27.201Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-11T18:07:27.201Z] Successfully built bd2a3c869fbb [2022-01-11T18:07:27.481Z] 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 [2022-01-11T18:07:28.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T18:07:28.252Z] [2022-01-11T18:07:28.252Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-11T18:07:28.625Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T18:07:28.626Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-11T18:07:28.626Z] 448f6bf000e3: Pulling fs layer [2022-01-11T18:07:28.626Z] f757da607395: Pulling fs layer [2022-01-11T18:07:28.626Z] 05883995daec: Pulling fs layer [2022-01-11T18:07:28.626Z] 8603b9c90790: Pulling fs layer [2022-01-11T18:07:28.626Z] 1560dd03e051: Pulling fs layer [2022-01-11T18:07:28.626Z] 27f5ce0e4adf: Pulling fs layer [2022-01-11T18:07:28.626Z] c2d8d7efcc4b: Pulling fs layer [2022-01-11T18:07:28.626Z] 8603b9c90790: Waiting [2022-01-11T18:07:28.626Z] 1560dd03e051: Waiting [2022-01-11T18:07:28.626Z] 27f5ce0e4adf: Waiting [2022-01-11T18:07:28.626Z] c2d8d7efcc4b: Waiting [2022-01-11T18:07:28.900Z] f757da607395: Verifying Checksum [2022-01-11T18:07:28.900Z] f757da607395: Download complete [2022-01-11T18:07:28.900Z] 8603b9c90790: Verifying Checksum [2022-01-11T18:07:28.900Z] 8603b9c90790: Download complete [2022-01-11T18:07:28.900Z] 1560dd03e051: Verifying Checksum [2022-01-11T18:07:28.900Z] 1560dd03e051: Download complete [2022-01-11T18:07:28.900Z] 27f5ce0e4adf: Verifying Checksum [2022-01-11T18:07:28.900Z] 27f5ce0e4adf: Download complete [2022-01-11T18:07:28.900Z] 05883995daec: Verifying Checksum [2022-01-11T18:07:28.900Z] 05883995daec: Download complete [2022-01-11T18:07:29.172Z] 448f6bf000e3: Verifying Checksum [2022-01-11T18:07:29.172Z] 448f6bf000e3: Download complete [2022-01-11T18:07:31.802Z] c2d8d7efcc4b: Verifying Checksum [2022-01-11T18:07:31.802Z] c2d8d7efcc4b: Download complete [2022-01-11T18:07:32.783Z] 448f6bf000e3: Pull complete [2022-01-11T18:07:33.378Z] f757da607395: Pull complete [2022-01-11T18:07:34.818Z] 05883995daec: Pull complete [2022-01-11T18:07:35.090Z] 8603b9c90790: Pull complete [2022-01-11T18:07:36.067Z] 1560dd03e051: Pull complete [2022-01-11T18:07:36.340Z] 27f5ce0e4adf: Pull complete [2022-01-11T18:07:51.410Z] c2d8d7efcc4b: Pull complete [2022-01-11T18:07:51.411Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-11T18:07:51.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T18:07:51.411Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-11T18:07:51.628Z] prd-ubuntu18.04-docker-arm64-4c-16g-1259 does not seem to be running inside a container [2022-01-11T18:07:51.712Z] $ 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-185 -v /w/workspace/exfoundry_ci-build-images_PR-185:/w/workspace/exfoundry_ci-build-images_PR-185:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-185@tmp:/w/workspace/exfoundry_ci-build-images_PR-185@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:arm64 cat [2022-01-11T18:07:54.218Z] $ docker top 62b0ac685d8f1e21715a8bc31758e832bdf5c5e41f838ee2a2fa447bb0282334 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T18:07:55.166Z] ---> job-cost.sh [2022-01-11T18:07:55.166Z] lf-activate-venv: SKIPPING [2022-01-11T18:07:55.166Z] INFO: No Stack... [2022-01-11T18:07:55.437Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-11T18:07:56.029Z] INFO: Archiving Costs [Pipeline] sh [2022-01-11T18:07:56.718Z] + cut -d, -f6 [2022-01-11T18:07:56.718Z] + cat /w/workspace/exfoundry_ci-build-images_PR-185/archives/cost.csv [Pipeline] lock [2022-01-11T18:07:56.792Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-185-1-stack-cost] [2022-01-11T18:07:56.797Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-185-1-stack-cost] did not exist. Created. [2022-01-11T18:07:56.797Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-185-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-11T18:07:57.712Z] /w/workspace/exfoundry_ci-build-images_PR-185@tmp/durable-d52cc2c9/script.sh: 1: /w/workspace/exfoundry_ci-build-images_PR-185@tmp/durable-d52cc2c9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-11T18:07:58.401Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-11T18:07:58.438Z] Warning: overwriting stash ‘stack-cost’ [2022-01-11T18:07:58.830Z] Stashed 1 file(s) [Pipeline] } [2022-01-11T18:07:58.846Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-185-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-11T18:07:58.920Z] $ docker stop --time=1 62b0ac685d8f1e21715a8bc31758e832bdf5c5e41f838ee2a2fa447bb0282334 [2022-01-11T18:08:00.412Z] $ docker rm -f 62b0ac685d8f1e21715a8bc31758e832bdf5c5e41f838ee2a2fa447bb0282334 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-11T18:08:01.912Z] + '[' -d /w/workspace/exfoundry_ci-build-images_PR-185/archives ']' [2022-01-11T18:08:01.913Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-185/archives [2022-01-11T18:08:01.913Z] total 4 [2022-01-11T18:08:01.913Z] drwxr-xr-x. 3 root root 34 Jan 11 18:05 . [2022-01-11T18:08:01.913Z] drwxrwxr-x. 5 jenkins jenkins 125 Jan 11 18:05 .. [2022-01-11T18:08:01.913Z] drwxr-xr-x. 2 root root 6 Jan 11 18:05 cost [2022-01-11T18:08:01.913Z] -rw-r--r--. 1 root root 85 Jan 11 18:05 cost.csv [2022-01-11T18:08:01.913Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-185/archives [2022-01-11T18:08:01.913Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-185/archives [2022-01-11T18:08:01.913Z] total 4 [2022-01-11T18:08:01.913Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 11 18:05 . [2022-01-11T18:08:01.913Z] drwxrwxr-x. 5 jenkins jenkins 125 Jan 11 18:05 .. [2022-01-11T18:08:01.913Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 11 18:05 cost [2022-01-11T18:08:01.913Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 11 18:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-11T18:08:02.260Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T18:08:02.848Z] ---> package-listing.sh [2022-01-11T18:08:02.848Z] ++ facter osfamily [2022-01-11T18:08:02.848Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-11T18:08:03.121Z] + OS_FAMILY=redhat [2022-01-11T18:08:03.121Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-185 [2022-01-11T18:08:03.121Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-11T18:08:03.121Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-11T18:08:03.121Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-11T18:08:03.121Z] + PACKAGES=/tmp/packages_start.txt [2022-01-11T18:08:03.121Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-185 ']' [2022-01-11T18:08:03.121Z] + PACKAGES=/tmp/packages_end.txt [2022-01-11T18:08:03.121Z] + case "${OS_FAMILY}" in [2022-01-11T18:08:03.121Z] + sort [2022-01-11T18:08:03.121Z] + rpm -qa [2022-01-11T18:08:03.693Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-11T18:08:03.693Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-11T18:08:03.693Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-11T18:08:03.693Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-185 ']' [2022-01-11T18:08:03.693Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-185/archives/ [2022-01-11T18:08:03.693Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-185/archives/ [Pipeline] echo [2022-01-11T18:08:03.729Z] 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-185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-11T18:08:04.026Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-11T18:08:04.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T18:08:04.612Z] . [Pipeline] withDockerContainer [2022-01-11T18:08:04.701Z] prd-centos7-docker-4c-2g-1258 does not seem to be running inside a container [2022-01-11T18:08:04.735Z] $ 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-185/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-185 -v /w/workspace/exfoundry_ci-build-images_PR-185:/w/workspace/exfoundry_ci-build-images_PR-185:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-185@tmp:/w/workspace/exfoundry_ci-build-images_PR-185@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 [2022-01-11T18:08:04.970Z] $ docker top ea90a434817bf4fb29f3f1926a1936256ca7d5650b3b65bb53fee59f0354be2d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T18:08:05.386Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-11T18:08:05.709Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-11T18:08:06.021Z] + ls /var/log/sa-host [2022-01-11T18:08:06.021Z] + sadf -c /var/log/sa-host/sa11 [2022-01-11T18:08:06.021Z] file_magic: OK [2022-01-11T18:08:06.021Z] HZ: Using current value: 100 [2022-01-11T18:08:06.021Z] file_header: OK [2022-01-11T18:08:06.021Z] 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 [2022-01-11T18:08:06.021Z] Statistics: [2022-01-11T18:08:06.021Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-11T18:08:06.021Z] File successfully converted to sysstat format version 12.0.3 [2022-01-11T18:08:06.021Z] + sadf -c /var/log/sa-host/sa17 [2022-01-11T18:08:06.021Z] file_magic: OK [2022-01-11T18:08:06.021Z] HZ: Using current value: 100 [2022-01-11T18:08:06.021Z] file_header: OK [2022-01-11T18:08:06.021Z] 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 [2022-01-11T18:08:06.021Z] Statistics: [2022-01-11T18:08:06.021Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-11T18:08:06.021Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T18:08:06.318Z] provisioning config files... [2022-01-11T18:08:06.328Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-185@tmp/config3083073820037959358tmp [Pipeline] { [Pipeline] echo [2022-01-11T18:08:06.368Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T18:08:06.687Z] ---> create-netrc.sh [Pipeline] } [2022-01-11T18:08:06.712Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-11T18:08:07.115Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-11T18:08:07.147Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T18:08:07.464Z] ---> sudo-logs.sh [2022-01-11T18:08:07.464Z] Archiving 'sudo' log.. [2022-01-11T18:08:07.464Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1258.novalocal: Name or service not known [2022-01-11T18:08:07.464Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1258.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-11T18:08:07.549Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T18:08:07.875Z] ---> job-cost.sh [2022-01-11T18:08:07.875Z] lf-activate-venv: SKIPPING [2022-01-11T18:08:07.875Z] DEBUG: total: 0.05999999865889549 [2022-01-11T18:08:07.875Z] INFO: Retrieving Stack Cost... [2022-01-11T18:08:08.136Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-11T18:08:08.399Z] INFO: Archiving Costs [Pipeline] echo [2022-01-11T18:08:08.434Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T18:08:08.756Z] ---> logs-deploy.sh [2022-01-11T18:08:08.756Z] lf-activate-venv: SKIPPING [2022-01-11T18:08:08.756Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-185/1 [2022-01-11T18:08:08.756Z] INFO: archiving workspace using pattern(s): [2022-01-11T18:08:09.328Z] Archives upload complete. [2022-01-11T18:08:09.591Z] INFO: archiving logs to Nexus