Branch indexing 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 fb61a422c23e91bdffd611d18094bf1af54c1f66+bea5a8f269d4527220a52759dafb4bca6b31f0cb (2d7c678ac8cd385f9bf0ba79bdd68f12c2bb313e) 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-ssh2394546463751495678.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 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-ssh1661304213530573276.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 c141c1271097dc03ad291c2451e310eaf98cdd06 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-177/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-177/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1076602227901754008.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-177/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3801519457740518569.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > 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-ssh5426616114030297938.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-177/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-177/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4121005658152372727.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 c141c1271097dc03ad291c2451e310eaf98cdd06 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:edgex-golang-base, mavenSettings:ci-build-images-settings, dockerImageName:edgex-golang-base, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[1.16-alpine, 1.16-alpine3.13], releaseBranchOverride:golang-1.16] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: ci-build-images-settings PROJECT: edgex-golang-base USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-golang-base DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-golang-base-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: golang-1.16 DOCKER_CUSTOM_TAGS: 1.16-alpine 1.16-alpine3.13 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2101 in /w/workspace/exfoundry_ci-build-images_PR-177 [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-177 # 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-177@tmp/jenkins-gitclient-ssh5752496333133038273.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.16 commit bea5a8f269d4527220a52759dafb4bca6b31f0cb into PR head commit fb61a422c23e91bdffd611d18094bf1af54c1f66 Merge succeeded, producing fb61a422c23e91bdffd611d18094bf1af54c1f66 Checking out Revision fb61a422c23e91bdffd611d18094bf1af54c1f66 (PR-177) > 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-177@tmp/jenkins-gitclient-ssh6123761573717858686.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/golang-1.16:refs/remotes/origin/golang-1.16 # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb61a422c23e91bdffd611d18094bf1af54c1f66 # 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-177@tmp/jenkins-gitclient-ssh7750155323810870732.key > git merge bea5a8f269d4527220a52759dafb4bca6b31f0cb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb61a422c23e91bdffd611d18094bf1af54c1f66 # timeout=10 Commit message: "ci: update to Golang 1.16.8" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-05T17:16:28.812Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-05T17:16:29.008Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-05T17:16:29.129Z] ========================================================= [2021-10-05T17:16:29.129Z] EdgeX Global Pipelines Version Info [2021-10-05T17:16:29.129Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-05T17:16:30.396Z] ------------------- [2021-10-05T17:16:30.396Z] stable info: [2021-10-05T17:16:30.396Z] ------------------- [2021-10-05T17:16:30.396Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-05T17:16:30.396Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-05T17:16:30.396Z] Message: update stable to v1.0.206 [2021-10-05T17:16:30.982Z] ------------------- [2021-10-05T17:16:30.982Z] experimental info: [2021-10-05T17:16:30.982Z] ------------------- [2021-10-05T17:16:30.982Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-05T17:16:30.982Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-05T17:16:30.982Z] Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2021-10-05T17:16:31.268Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2021-10-05T17:16:31.321Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo [2021-10-05T17:16:31.377Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2021-10-05T17:16:31.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-05T17:16:31.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-05T17:16:31.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo [2021-10-05T17:16:31.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2021-10-05T17:16:31.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2021-10-05T17:16:31.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2021-10-05T17:16:31.765Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-05T17:16:31.826Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2021-10-05T17:16:31.881Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo [2021-10-05T17:16:31.937Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-05T17:16:31.999Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-05T17:16:32.056Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.16 [Pipeline] echo [2021-10-05T17:16:32.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.16-alpine 1.16-alpine3.13 [Pipeline] echo [2021-10-05T17:16:32.164Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-177 [Pipeline] echo [2021-10-05T17:16:32.218Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-177 [Pipeline] echo [2021-10-05T17:16:32.271Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-177 [Pipeline] echo [2021-10-05T17:16:32.325Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb61a422c23e91bdffd611d18094bf1af54c1f66 [Pipeline] echo [2021-10-05T17:16:32.377Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb61a42 [Pipeline] echo [2021-10-05T17:16:32.430Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T17:16:32.600Z] provisioning config files... [2021-10-05T17:16:32.619Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-177@tmp/config1320719248349329636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T17:16:33.024Z] ---> docker-login.sh [2021-10-05T17:16:33.024Z] nexus3.edgexfoundry.org:10001 [2021-10-05T17:16:33.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T17:16:33.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T17:16:33.290Z] Configure a credential helper to remove this warning. See [2021-10-05T17:16:33.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T17:16:33.290Z] [2021-10-05T17:16:33.290Z] Login Succeeded [2021-10-05T17:16:33.290Z] nexus3.edgexfoundry.org:10002 [2021-10-05T17:16:33.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T17:16:33.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T17:16:33.290Z] Configure a credential helper to remove this warning. See [2021-10-05T17:16:33.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T17:16:33.290Z] [2021-10-05T17:16:33.290Z] Login Succeeded [2021-10-05T17:16:33.290Z] nexus3.edgexfoundry.org:10003 [2021-10-05T17:16:33.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T17:16:33.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T17:16:33.556Z] Configure a credential helper to remove this warning. See [2021-10-05T17:16:33.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T17:16:33.556Z] [2021-10-05T17:16:33.556Z] Login Succeeded [2021-10-05T17:16:33.556Z] nexus3.edgexfoundry.org:10004 [2021-10-05T17:16:33.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T17:16:33.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T17:16:33.824Z] Configure a credential helper to remove this warning. See [2021-10-05T17:16:33.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T17:16:33.824Z] [2021-10-05T17:16:33.824Z] Login Succeeded [2021-10-05T17:16:33.824Z] docker.io [2021-10-05T17:16:33.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T17:16:34.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T17:16:34.090Z] Configure a credential helper to remove this warning. See [2021-10-05T17:16:34.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T17:16:34.090Z] [2021-10-05T17:16:34.090Z] Login Succeeded [2021-10-05T17:16:34.090Z] ---> docker-login.sh ends [Pipeline] } [2021-10-05T17:16:34.118Z] 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-05T17:16:35.113Z] provisioning config files... [2021-10-05T17:16:35.134Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-177@tmp/config6761850999241268360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T17:16:35.509Z] ---> docker-login.sh [2021-10-05T17:16:35.509Z] nexus3.edgexfoundry.org:10001 [2021-10-05T17:16:35.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T17:16:35.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T17:16:35.509Z] Configure a credential helper to remove this warning. See [2021-10-05T17:16:35.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T17:16:35.509Z] [2021-10-05T17:16:35.509Z] Login Succeeded [2021-10-05T17:16:35.509Z] nexus3.edgexfoundry.org:10002 [2021-10-05T17:16:35.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T17:16:35.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T17:16:35.775Z] Configure a credential helper to remove this warning. See [2021-10-05T17:16:35.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T17:16:35.775Z] [2021-10-05T17:16:35.775Z] Login Succeeded [2021-10-05T17:16:35.775Z] nexus3.edgexfoundry.org:10003 [2021-10-05T17:16:35.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T17:16:36.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T17:16:36.043Z] Configure a credential helper to remove this warning. See [2021-10-05T17:16:36.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T17:16:36.043Z] [2021-10-05T17:16:36.043Z] Login Succeeded [2021-10-05T17:16:36.043Z] nexus3.edgexfoundry.org:10004 [2021-10-05T17:16:36.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T17:16:36.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T17:16:36.310Z] Configure a credential helper to remove this warning. See [2021-10-05T17:16:36.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T17:16:36.310Z] [2021-10-05T17:16:36.310Z] Login Succeeded [2021-10-05T17:16:36.310Z] docker.io [2021-10-05T17:16:36.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T17:16:36.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T17:16:36.575Z] Configure a credential helper to remove this warning. See [2021-10-05T17:16:36.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T17:16:36.575Z] [2021-10-05T17:16:36.576Z] Login Succeeded [2021-10-05T17:16:36.576Z] ---> docker-login.sh ends [Pipeline] } [2021-10-05T17:16:36.606Z] 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-05T17:16:40.229Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-05T17:16:40.571Z] + ls -al . [2021-10-05T17:16:40.571Z] total 12 [2021-10-05T17:16:40.571Z] drwxrwxr-x. 4 jenkins jenkins 91 Oct 5 17:16 . [2021-10-05T17:16:40.571Z] drwxrwxr-x. 4 jenkins jenkins 112 Oct 5 17:16 .. [2021-10-05T17:16:40.571Z] -rw-rw-r--. 1 jenkins jenkins 914 Oct 5 17:16 Dockerfile [2021-10-05T17:16:40.571Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 5 17:16 .git [2021-10-05T17:16:40.571Z] drwxrwxr-x. 2 jenkins jenkins 38 Oct 5 17:16 .github [2021-10-05T17:16:40.571Z] -rw-rw-r--. 1 jenkins jenkins 585 Oct 5 17:16 .golangci.yml [2021-10-05T17:16:40.571Z] -rw-rw-r--. 1 jenkins jenkins 913 Oct 5 17:16 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2021-10-05T17:16:41.237Z] + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=fb61a422c23e91bdffd611d18094bf1af54c1f66 --label arch=amd64 . [2021-10-05T17:16:41.238Z] Sending build context to Docker daemon 397.8kB [2021-10-05T17:16:41.238Z] Step 1/9 : FROM golang:1.16.8-alpine3.13 [2021-10-05T17:16:41.819Z] 1.16.8-alpine3.13: Pulling from library/golang [2021-10-05T17:16:42.089Z] 4e9f2cdf4387: Pulling fs layer [2021-10-05T17:16:42.089Z] 57d31006c564: Pulling fs layer [2021-10-05T17:16:42.089Z] bd5ccded8296: Pulling fs layer [2021-10-05T17:16:42.089Z] 304dd3a0f381: Pulling fs layer [2021-10-05T17:16:42.089Z] d37cda54a23b: Pulling fs layer [2021-10-05T17:16:42.089Z] 304dd3a0f381: Waiting [2021-10-05T17:16:42.089Z] d37cda54a23b: Waiting [2021-10-05T17:16:42.089Z] bd5ccded8296: Verifying Checksum [2021-10-05T17:16:42.089Z] bd5ccded8296: Download complete [2021-10-05T17:16:42.089Z] 57d31006c564: Verifying Checksum [2021-10-05T17:16:42.089Z] 57d31006c564: Download complete [2021-10-05T17:16:42.089Z] 4e9f2cdf4387: Verifying Checksum [2021-10-05T17:16:42.089Z] 4e9f2cdf4387: Download complete [2021-10-05T17:16:42.361Z] d37cda54a23b: Verifying Checksum [2021-10-05T17:16:42.361Z] d37cda54a23b: Download complete [2021-10-05T17:16:42.361Z] 4e9f2cdf4387: Pull complete [2021-10-05T17:16:42.631Z] 57d31006c564: Pull complete [2021-10-05T17:16:42.631Z] bd5ccded8296: Pull complete [2021-10-05T17:16:43.607Z] 304dd3a0f381: Verifying Checksum [2021-10-05T17:16:43.607Z] 304dd3a0f381: Download complete [2021-10-05T17:16:46.981Z] 304dd3a0f381: Pull complete [2021-10-05T17:16:46.981Z] d37cda54a23b: Pull complete [2021-10-05T17:16:46.981Z] Digest: sha256:f953dcfcf8b0174dc822e78ad5e025f4ced7b6f15094ba746cef57d62d0a6222 [2021-10-05T17:16:46.981Z] Status: Downloaded newer image for golang:1.16.8-alpine3.13 [2021-10-05T17:16:46.981Z] ---> d1353f0c948a [2021-10-05T17:16:46.981Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-10-05T17:16:47.945Z] ---> Running in a7c39b112980 [2021-10-05T17:16:48.214Z] Removing intermediate container a7c39b112980 [2021-10-05T17:16:48.214Z] ---> ae8f096f55f7 [2021-10-05T17:16:48.214Z] Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T17:16:48.214Z] ---> Running in 32797581fc88 [2021-10-05T17:16:48.796Z] Removing intermediate container 32797581fc88 [2021-10-05T17:16:48.796Z] ---> 2603facc2e71 [2021-10-05T17:16:48.796Z] Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 [2021-10-05T17:16:48.796Z] ---> Running in 192426b39848 [2021-10-05T17:16:48.796Z] Removing intermediate container 192426b39848 [2021-10-05T17:16:48.796Z] ---> f35faac192d1 [2021-10-05T17:16:48.796Z] Step 5/9 : COPY ./.golangci.yml /etc/.golangci.yml [2021-10-05T17:16:48.796Z] ---> 51e0810fd01f [2021-10-05T17:16:48.796Z] 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-05T17:16:48.796Z] ---> Running in 72e83d67960e [2021-10-05T17:16:49.063Z] Connecting to github.com (140.82.114.3:443) [2021-10-05T17:16:49.328Z] Connecting to github-releases.githubusercontent.com (185.199.111.154:443) [2021-10-05T17:16:49.598Z] saving to '/usr/local/bin/hadolint' [2021-10-05T17:16:49.598Z] hadolint 100% |********************************| 5676k 0:00:00 ETA [2021-10-05T17:16:49.598Z] '/usr/local/bin/hadolint' saved [2021-10-05T17:16:49.830Z] Still waiting to schedule task [2021-10-05T17:16:49.830Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-05T17:16:49.868Z] Removing intermediate container 72e83d67960e [2021-10-05T17:16:49.868Z] ---> b72ecff4083f [2021-10-05T17:16:49.868Z] 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-05T17:16:49.868Z] ---> Running in f5f6d51ba28a [2021-10-05T17:16:50.133Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-05T17:16:51.539Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-05T17:16:51.808Z] (1/37) Installing ncurses-terminfo-base (6.2_p20210109-r0) [2021-10-05T17:16:51.808Z] (2/37) Installing ncurses-libs (6.2_p20210109-r0) [2021-10-05T17:16:52.076Z] (3/37) Installing readline (8.1.0-r0) [2021-10-05T17:16:52.076Z] (4/37) Installing bash (5.1.0-r0) [2021-10-05T17:16:52.076Z] Executing bash-5.1.0-r0.post-install [2021-10-05T17:16:52.076Z] (5/37) Installing libgcc (10.2.1_pre1-r3) [2021-10-05T17:16:52.352Z] (6/37) Installing libstdc++ (10.2.1_pre1-r3) [2021-10-05T17:16:52.352Z] (7/37) Installing binutils (2.35.2-r1) [2021-10-05T17:16:52.620Z] (8/37) Installing libmagic (5.39-r0) [2021-10-05T17:16:52.620Z] (9/37) Installing file (5.39-r0) [2021-10-05T17:16:52.887Z] (10/37) Installing libgomp (10.2.1_pre1-r3) [2021-10-05T17:16:52.887Z] (11/37) Installing libatomic (10.2.1_pre1-r3) [2021-10-05T17:16:52.887Z] (12/37) Installing libgphobos (10.2.1_pre1-r3) [2021-10-05T17:16:53.164Z] (13/37) Installing gmp (6.2.1-r0) [2021-10-05T17:16:53.164Z] (14/37) Installing isl22 (0.22-r0) [2021-10-05T17:16:53.434Z] (15/37) Installing mpfr4 (4.1.0-r0) [2021-10-05T17:16:53.434Z] (16/37) Installing mpc1 (1.2.0-r0) [2021-10-05T17:16:53.434Z] (17/37) Installing gcc (10.2.1_pre1-r3) [2021-10-05T17:16:56.011Z] (18/37) Installing musl-dev (1.2.2-r1) [2021-10-05T17:16:56.011Z] (19/37) Installing libc-dev (0.7.2-r3) [2021-10-05T17:16:56.011Z] (20/37) Installing g++ (10.2.1_pre1-r3) [2021-10-05T17:16:58.595Z] (21/37) Installing make (4.3-r0) [2021-10-05T17:16:58.595Z] (22/37) Installing fortify-headers (1.1-r0) [2021-10-05T17:16:58.595Z] (23/37) Installing patch (2.7.6-r7) [2021-10-05T17:16:58.595Z] (24/37) Installing build-base (0.5-r2) [2021-10-05T17:16:58.864Z] (25/37) Installing brotli-libs (1.0.9-r3) [2021-10-05T17:16:58.864Z] (26/37) Installing nghttp2-libs (1.42.0-r1) [2021-10-05T17:16:58.864Z] (27/37) Installing libcurl (7.79.1-r0) [2021-10-05T17:16:59.132Z] (28/37) Installing curl (7.79.1-r0) [2021-10-05T17:16:59.132Z] (29/37) Installing expat (2.2.10-r1) [2021-10-05T17:16:59.399Z] (30/37) Installing pcre2 (10.36-r0) [2021-10-05T17:16:59.399Z] (31/37) Installing git (2.30.2-r0) [2021-10-05T17:16:59.982Z] (32/37) Installing libsodium (1.0.18-r0) [2021-10-05T17:17:00.247Z] (33/37) Installing pkgconf (1.7.3-r0) [2021-10-05T17:17:00.247Z] (34/37) Installing libsodium-dev (1.0.18-r0) [2021-10-05T17:17:00.247Z] (35/37) Installing linux-headers (5.7.8-r0) [2021-10-05T17:17:00.514Z] (36/37) Installing libzmq (4.3.3-r1) [2021-10-05T17:17:00.780Z] (37/37) Installing zeromq-dev (4.3.3-r1) [2021-10-05T17:17:00.780Z] Executing busybox-1.32.1-r6.trigger [2021-10-05T17:17:00.780Z] OK: 219 MiB in 52 packages [2021-10-05T17:17:00.780Z] Connecting to raw.githubusercontent.com (185.199.108.133:443) [2021-10-05T17:17:01.047Z] writing to stdout [2021-10-05T17:17:01.047Z] - 100% |********************************| 10739 0:00:00 ETA [2021-10-05T17:17:01.047Z] written to stdout [2021-10-05T17:17:01.047Z] golangci/golangci-lint info checking GitHub for tag 'v1.40.1' [2021-10-05T17:17:01.321Z] golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/amd64 [2021-10-05T17:17:01.905Z] golangci/golangci-lint info installed ./bin/golangci-lint [2021-10-05T17:17:05.248Z] Removing intermediate container f5f6d51ba28a [2021-10-05T17:17:05.248Z] ---> c3314a8cfe44 [2021-10-05T17:17:05.248Z] Step 8/9 : LABEL arch=amd64 [2021-10-05T17:17:05.248Z] ---> Running in 6d59fb31bce6 [2021-10-05T17:17:05.248Z] Removing intermediate container 6d59fb31bce6 [2021-10-05T17:17:05.248Z] ---> ecf2a6762d16 [2021-10-05T17:17:05.248Z] Step 9/9 : LABEL git_sha=fb61a422c23e91bdffd611d18094bf1af54c1f66 [2021-10-05T17:17:05.248Z] ---> Running in bfd2f1010eac [2021-10-05T17:17:05.248Z] Removing intermediate container bfd2f1010eac [2021-10-05T17:17:05.248Z] ---> f7b80d6755ab [2021-10-05T17:17:05.248Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-05T17:17:05.248Z] Successfully built f7b80d6755ab [2021-10-05T17:17:05.248Z] 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-05T17:17:06.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T17:17:06.461Z] [2021-10-05T17:17:06.461Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T17:17:06.831Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T17:17:06.831Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-05T17:17:06.831Z] b4d181a07f80: Pulling fs layer [2021-10-05T17:17:06.831Z] a1111a8f2ec3: Pulling fs layer [2021-10-05T17:17:06.831Z] ed53099fbce6: Pulling fs layer [2021-10-05T17:17:06.831Z] dc539afda2c1: Pulling fs layer [2021-10-05T17:17:06.831Z] 77bc0d833cb6: Pulling fs layer [2021-10-05T17:17:06.831Z] 9065ff56babe: Pulling fs layer [2021-10-05T17:17:06.831Z] d287ab97295c: Pulling fs layer [2021-10-05T17:17:06.831Z] dc539afda2c1: Waiting [2021-10-05T17:17:06.831Z] 77bc0d833cb6: Waiting [2021-10-05T17:17:06.831Z] 9065ff56babe: Waiting [2021-10-05T17:17:06.831Z] d287ab97295c: Waiting [2021-10-05T17:17:07.099Z] a1111a8f2ec3: Verifying Checksum [2021-10-05T17:17:07.099Z] a1111a8f2ec3: Download complete [2021-10-05T17:17:07.365Z] dc539afda2c1: Verifying Checksum [2021-10-05T17:17:07.365Z] dc539afda2c1: Download complete [2021-10-05T17:17:07.365Z] ed53099fbce6: Verifying Checksum [2021-10-05T17:17:07.365Z] ed53099fbce6: Download complete [2021-10-05T17:17:07.365Z] 9065ff56babe: Verifying Checksum [2021-10-05T17:17:07.365Z] 9065ff56babe: Download complete [2021-10-05T17:17:07.365Z] 77bc0d833cb6: Verifying Checksum [2021-10-05T17:17:07.365Z] 77bc0d833cb6: Download complete [2021-10-05T17:17:07.633Z] b4d181a07f80: Verifying Checksum [2021-10-05T17:17:07.633Z] b4d181a07f80: Download complete [2021-10-05T17:17:08.600Z] b4d181a07f80: Pull complete [2021-10-05T17:17:08.868Z] a1111a8f2ec3: Pull complete [2021-10-05T17:17:09.835Z] ed53099fbce6: Pull complete [2021-10-05T17:17:09.835Z] dc539afda2c1: Pull complete [2021-10-05T17:17:09.835Z] d287ab97295c: Verifying Checksum [2021-10-05T17:17:09.835Z] d287ab97295c: Download complete [2021-10-05T17:17:09.835Z] 77bc0d833cb6: Pull complete [2021-10-05T17:17:10.105Z] 9065ff56babe: Pull complete [2021-10-05T17:17:15.516Z] d287ab97295c: Pull complete [2021-10-05T17:17:15.516Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-05T17:17:15.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T17:17:15.516Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-05T17:17:15.646Z] prd-centos7-docker-4c-2g-2101 does not seem to be running inside a container [2021-10-05T17:17:15.703Z] $ 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-177 -v /w/workspace/exfoundry_ci-build-images_PR-177:/w/workspace/exfoundry_ci-build-images_PR-177:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-177@tmp:/w/workspace/exfoundry_ci-build-images_PR-177@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-05T17:17:18.042Z] $ docker top 2018c2ce01501fc677e320de97f7dfeab215b10590cc1754e8df51307e8d2414 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T17:17:18.667Z] ---> job-cost.sh [2021-10-05T17:17:18.667Z] lf-activate-venv: SKIPPING [2021-10-05T17:17:18.667Z] INFO: No Stack... [2021-10-05T17:17:19.252Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-05T17:17:19.831Z] INFO: Archiving Costs [Pipeline] sh [2021-10-05T17:17:20.170Z] + cut -d, -f6 [2021-10-05T17:17:20.170Z] + cat /w/workspace/exfoundry_ci-build-images_PR-177/archives/cost.csv [Pipeline] lock [2021-10-05T17:17:20.239Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-177-1-stack-cost] [2021-10-05T17:17:20.245Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-177-1-stack-cost] did not exist. Created. [2021-10-05T17:17:20.245Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-177-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-05T17:17:20.675Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-05T17:17:20.995Z] Stashed 1 file(s) [Pipeline] } [2021-10-05T17:17:21.015Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-177-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-05T17:17:21.083Z] $ docker stop --time=1 2018c2ce01501fc677e320de97f7dfeab215b10590cc1754e8df51307e8d2414 [2021-10-05T17:17:22.236Z] $ docker rm -f 2018c2ce01501fc677e320de97f7dfeab215b10590cc1754e8df51307e8d2414 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-05T17:24:44.684Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2107 in /w/workspace/exfoundry_ci-build-images_PR-177 [Pipeline] { [Pipeline] checkout [2021-10-05T17:24:44.985Z] Selected Git installation does not exist. Using Default [2021-10-05T17:24:44.985Z] The recommended git tool is: NONE [2021-10-05T17:24:51.760Z] using credential edgex-jenkins-ssh [2021-10-05T17:24:51.781Z] Cloning the remote Git repository [2021-10-05T17:24:51.852Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2021-10-05T17:24:51.974Z] > git init /w/workspace/exfoundry_ci-build-images_PR-177 # timeout=10 [2021-10-05T17:24:52.067Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2021-10-05T17:24:52.068Z] > git --version # timeout=10 [2021-10-05T17:24:52.083Z] > git --version # 'git version 2.17.1' [2021-10-05T17:24:52.085Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T17:24:52.189Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T17:24:53.814Z] Merging remotes/origin/golang-1.16 commit bea5a8f269d4527220a52759dafb4bca6b31f0cb into PR head commit fb61a422c23e91bdffd611d18094bf1af54c1f66 [2021-10-05T17:24:53.030Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2021-10-05T17:24:53.047Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T17:24:53.072Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2021-10-05T17:24:53.103Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2021-10-05T17:24:53.104Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T17:24:53.117Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/golang-1.16:refs/remotes/origin/golang-1.16 # timeout=10 [2021-10-05T17:24:53.857Z] > git config core.sparsecheckout # timeout=10 [2021-10-05T17:24:53.878Z] > git checkout -f fb61a422c23e91bdffd611d18094bf1af54c1f66 # timeout=10 [2021-10-05T17:24:54.027Z] Merge succeeded, producing fb61a422c23e91bdffd611d18094bf1af54c1f66 [2021-10-05T17:24:54.029Z] Checking out Revision fb61a422c23e91bdffd611d18094bf1af54c1f66 (PR-177) [2021-10-05T17:24:53.962Z] > git remote # timeout=10 [2021-10-05T17:24:53.982Z] > git config --get remote.origin.url # timeout=10 [2021-10-05T17:24:53.995Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T17:24:54.007Z] > git merge bea5a8f269d4527220a52759dafb4bca6b31f0cb # timeout=10 [2021-10-05T17:24:54.031Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-05T17:24:54.054Z] > git config core.sparsecheckout # timeout=10 [2021-10-05T17:24:54.075Z] > git checkout -f fb61a422c23e91bdffd611d18094bf1af54c1f66 # timeout=10 [2021-10-05T17:24:58.425Z] Commit message: "ci: update to Golang 1.16.8" [2021-10-05T17:24:58.509Z] > git --version # timeout=10 [2021-10-05T17:24:58.527Z] > git --version # 'git version 2.17.1' [2021-10-05T17:24:58.536Z] fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T17:24:59.432Z] provisioning config files... [2021-10-05T17:24:59.472Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-177@tmp/config475368583330664455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T17:25:00.265Z] ---> docker-login.sh [2021-10-05T17:25:00.265Z] nexus3.edgexfoundry.org:10001 [2021-10-05T17:25:01.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T17:25:01.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T17:25:01.900Z] Configure a credential helper to remove this warning. See [2021-10-05T17:25:01.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T17:25:01.900Z] [2021-10-05T17:25:01.900Z] Login Succeeded [2021-10-05T17:25:01.900Z] nexus3.edgexfoundry.org:10002 [2021-10-05T17:25:02.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T17:25:02.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T17:25:02.519Z] Configure a credential helper to remove this warning. See [2021-10-05T17:25:02.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T17:25:02.519Z] [2021-10-05T17:25:02.519Z] Login Succeeded [2021-10-05T17:25:02.519Z] nexus3.edgexfoundry.org:10003 [2021-10-05T17:25:03.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T17:25:03.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T17:25:03.138Z] Configure a credential helper to remove this warning. See [2021-10-05T17:25:03.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T17:25:03.138Z] [2021-10-05T17:25:03.138Z] Login Succeeded [2021-10-05T17:25:03.138Z] nexus3.edgexfoundry.org:10004 [2021-10-05T17:25:03.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T17:25:03.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T17:25:03.758Z] Configure a credential helper to remove this warning. See [2021-10-05T17:25:03.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T17:25:03.758Z] [2021-10-05T17:25:03.758Z] Login Succeeded [2021-10-05T17:25:03.758Z] docker.io [2021-10-05T17:25:04.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T17:25:04.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T17:25:04.675Z] Configure a credential helper to remove this warning. See [2021-10-05T17:25:04.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T17:25:04.675Z] [2021-10-05T17:25:04.675Z] Login Succeeded [2021-10-05T17:25:04.675Z] ---> docker-login.sh ends [Pipeline] } [2021-10-05T17:25:04.799Z] 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-05T17:25:05.713Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-05T17:25:06.105Z] + ls -al . [2021-10-05T17:25:06.105Z] total 28 [2021-10-05T17:25:06.105Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 17:24 . [2021-10-05T17:25:06.105Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 17:24 .. [2021-10-05T17:25:06.106Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 17:24 .git [2021-10-05T17:25:06.106Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 17:24 .github [2021-10-05T17:25:06.106Z] -rw-rw-r-- 1 jenkins jenkins 585 Oct 5 17:24 .golangci.yml [2021-10-05T17:25:06.106Z] -rw-rw-r-- 1 jenkins jenkins 914 Oct 5 17:24 Dockerfile [2021-10-05T17:25:06.106Z] -rw-rw-r-- 1 jenkins jenkins 913 Oct 5 17:24 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2021-10-05T17:25:06.553Z] + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=fb61a422c23e91bdffd611d18094bf1af54c1f66 --label arch=arm64 . [2021-10-05T17:25:06.838Z] Sending build context to Docker daemon 396.8kB [2021-10-05T17:25:06.838Z] Step 1/9 : FROM golang:1.16.8-alpine3.13 [2021-10-05T17:25:07.854Z] 1.16.8-alpine3.13: Pulling from library/golang [2021-10-05T17:25:07.854Z] bbf911997326: Pulling fs layer [2021-10-05T17:25:07.854Z] 58ec367f63d7: Pulling fs layer [2021-10-05T17:25:07.854Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-05T17:25:07.854Z] fc5181fea5dc: Pulling fs layer [2021-10-05T17:25:07.854Z] 9c418107303f: Pulling fs layer [2021-10-05T17:25:07.854Z] fc5181fea5dc: Waiting [2021-10-05T17:25:08.145Z] 1b4a6ffa7d45: Download complete [2021-10-05T17:25:08.145Z] 58ec367f63d7: Verifying Checksum [2021-10-05T17:25:08.145Z] 58ec367f63d7: Download complete [2021-10-05T17:25:08.430Z] bbf911997326: Verifying Checksum [2021-10-05T17:25:08.430Z] bbf911997326: Download complete [2021-10-05T17:25:08.430Z] 9c418107303f: Verifying Checksum [2021-10-05T17:25:08.430Z] 9c418107303f: Download complete [2021-10-05T17:25:09.068Z] bbf911997326: Pull complete [2021-10-05T17:25:09.695Z] 58ec367f63d7: Pull complete [2021-10-05T17:25:09.983Z] 1b4a6ffa7d45: Pull complete [2021-10-05T17:25:10.998Z] fc5181fea5dc: Verifying Checksum [2021-10-05T17:25:10.998Z] fc5181fea5dc: Download complete [2021-10-05T17:25:21.308Z] fc5181fea5dc: Pull complete [2021-10-05T17:25:21.308Z] 9c418107303f: Pull complete [2021-10-05T17:25:21.308Z] Digest: sha256:f953dcfcf8b0174dc822e78ad5e025f4ced7b6f15094ba746cef57d62d0a6222 [2021-10-05T17:25:21.308Z] Status: Downloaded newer image for golang:1.16.8-alpine3.13 [2021-10-05T17:25:21.308Z] ---> 5c00e744e1ad [2021-10-05T17:25:21.308Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-10-05T17:25:24.769Z] ---> Running in ebe1cb1fc609 [2021-10-05T17:25:24.769Z] Removing intermediate container ebe1cb1fc609 [2021-10-05T17:25:24.769Z] ---> 146862222765 [2021-10-05T17:25:24.769Z] Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T17:25:25.052Z] ---> Running in f5c1c65757c9 [2021-10-05T17:25:27.748Z] Removing intermediate container f5c1c65757c9 [2021-10-05T17:25:27.748Z] ---> 643d5ea5d1ee [2021-10-05T17:25:27.748Z] Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 [2021-10-05T17:25:27.748Z] ---> Running in 0ef99a3d9fd5 [2021-10-05T17:25:28.030Z] Removing intermediate container 0ef99a3d9fd5 [2021-10-05T17:25:28.030Z] ---> 468d16324cdb [2021-10-05T17:25:28.030Z] Step 5/9 : COPY ./.golangci.yml /etc/.golangci.yml [2021-10-05T17:25:29.046Z] ---> cddffa2a1df1 [2021-10-05T17:25:29.046Z] 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-05T17:25:29.046Z] ---> Running in e31b84cc3a76 [2021-10-05T17:25:31.073Z] Removing intermediate container e31b84cc3a76 [2021-10-05T17:25:31.073Z] ---> 875ea67001b9 [2021-10-05T17:25:31.073Z] 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-05T17:25:31.073Z] ---> Running in 91974f63464a [2021-10-05T17:25:32.551Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-05T17:25:33.552Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-05T17:25:34.177Z] (1/37) Installing ncurses-terminfo-base (6.2_p20210109-r0) [2021-10-05T17:25:34.177Z] (2/37) Installing ncurses-libs (6.2_p20210109-r0) [2021-10-05T17:25:34.457Z] (3/37) Installing readline (8.1.0-r0) [2021-10-05T17:25:34.457Z] (4/37) Installing bash (5.1.0-r0) [2021-10-05T17:25:34.457Z] Executing bash-5.1.0-r0.post-install [2021-10-05T17:25:34.738Z] (5/37) Installing libgcc (10.2.1_pre1-r3) [2021-10-05T17:25:34.738Z] (6/37) Installing libstdc++ (10.2.1_pre1-r3) [2021-10-05T17:25:34.738Z] (7/37) Installing binutils (2.35.2-r1) [2021-10-05T17:25:35.349Z] (8/37) Installing libmagic (5.39-r0) [2021-10-05T17:25:35.349Z] (9/37) Installing file (5.39-r0) [2021-10-05T17:25:35.629Z] (10/37) Installing libgomp (10.2.1_pre1-r3) [2021-10-05T17:25:35.629Z] (11/37) Installing libatomic (10.2.1_pre1-r3) [2021-10-05T17:25:35.910Z] (12/37) Installing libgphobos (10.2.1_pre1-r3) [2021-10-05T17:25:35.910Z] (13/37) Installing gmp (6.2.1-r0) [2021-10-05T17:25:36.193Z] (14/37) Installing isl22 (0.22-r0) [2021-10-05T17:25:36.194Z] (15/37) Installing mpfr4 (4.1.0-r0) [2021-10-05T17:25:36.482Z] (16/37) Installing mpc1 (1.2.0-r0) [2021-10-05T17:25:36.482Z] (17/37) Installing gcc (10.2.1_pre1-r3) [2021-10-05T17:25:39.935Z] (18/37) Installing musl-dev (1.2.2-r1) [2021-10-05T17:25:39.935Z] (19/37) Installing libc-dev (0.7.2-r3) [2021-10-05T17:25:39.935Z] (20/37) Installing g++ (10.2.1_pre1-r3) [2021-10-05T17:25:42.610Z] (21/37) Installing make (4.3-r0) [2021-10-05T17:25:42.610Z] (22/37) Installing fortify-headers (1.1-r0) [2021-10-05T17:25:42.610Z] (23/37) Installing patch (2.7.6-r7) [2021-10-05T17:25:42.610Z] (24/37) Installing build-base (0.5-r2) [2021-10-05T17:25:42.610Z] (25/37) Installing brotli-libs (1.0.9-r3) [2021-10-05T17:25:42.895Z] (26/37) Installing nghttp2-libs (1.42.0-r1) [2021-10-05T17:25:42.895Z] (27/37) Installing libcurl (7.79.1-r0) [2021-10-05T17:25:42.895Z] (28/37) Installing curl (7.79.1-r0) [2021-10-05T17:25:43.175Z] (29/37) Installing expat (2.2.10-r1) [2021-10-05T17:25:43.175Z] (30/37) Installing pcre2 (10.36-r0) [2021-10-05T17:25:43.459Z] (31/37) Installing git (2.30.2-r0) [2021-10-05T17:25:44.073Z] (32/37) Installing libsodium (1.0.18-r0) [2021-10-05T17:25:44.073Z] (33/37) Installing pkgconf (1.7.3-r0) [2021-10-05T17:25:44.354Z] (34/37) Installing libsodium-dev (1.0.18-r0) [2021-10-05T17:25:44.354Z] (35/37) Installing linux-headers (5.7.8-r0) [2021-10-05T17:25:44.970Z] (36/37) Installing libzmq (4.3.3-r1) [2021-10-05T17:25:44.970Z] (37/37) Installing zeromq-dev (4.3.3-r1) [2021-10-05T17:25:45.253Z] Executing busybox-1.32.1-r6.trigger [2021-10-05T17:25:45.253Z] OK: 218 MiB in 52 packages [2021-10-05T17:25:45.253Z] Connecting to raw.githubusercontent.com (185.199.111.133:443) [2021-10-05T17:25:45.535Z] writing to stdout [2021-10-05T17:25:45.535Z] - 100% |********************************| 10739 0:00:00 ETA [2021-10-05T17:25:45.535Z] written to stdout [2021-10-05T17:25:45.535Z] golangci/golangci-lint info checking GitHub for tag 'v1.40.1' [2021-10-05T17:25:45.817Z] golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/arm64 [2021-10-05T17:25:47.292Z] golangci/golangci-lint info installed ./bin/golangci-lint [2021-10-05T17:25:59.835Z] Removing intermediate container 91974f63464a [2021-10-05T17:25:59.835Z] ---> b53e2ecc6272 [2021-10-05T17:25:59.835Z] Step 8/9 : LABEL arch=arm64 [2021-10-05T17:25:59.835Z] ---> Running in b0fdf93c508f [2021-10-05T17:25:59.835Z] Removing intermediate container b0fdf93c508f [2021-10-05T17:25:59.835Z] ---> fe9b35f3620a [2021-10-05T17:25:59.835Z] Step 9/9 : LABEL git_sha=fb61a422c23e91bdffd611d18094bf1af54c1f66 [2021-10-05T17:25:59.835Z] ---> Running in 3c7341710893 [2021-10-05T17:25:59.835Z] Removing intermediate container 3c7341710893 [2021-10-05T17:25:59.835Z] ---> 88931fb39656 [2021-10-05T17:25:59.835Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-05T17:25:59.835Z] Successfully built 88931fb39656 [2021-10-05T17:25:59.835Z] 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-05T17:26:01.031Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T17:26:01.031Z] [2021-10-05T17:26:01.031Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-05T17:26:01.752Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T17:26:02.039Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-05T17:26:02.039Z] 448f6bf000e3: Pulling fs layer [2021-10-05T17:26:02.039Z] f757da607395: Pulling fs layer [2021-10-05T17:26:02.039Z] 05883995daec: Pulling fs layer [2021-10-05T17:26:02.039Z] 8603b9c90790: Pulling fs layer [2021-10-05T17:26:02.039Z] 1560dd03e051: Pulling fs layer [2021-10-05T17:26:02.039Z] 27f5ce0e4adf: Pulling fs layer [2021-10-05T17:26:02.039Z] c2d8d7efcc4b: Pulling fs layer [2021-10-05T17:26:02.039Z] 8603b9c90790: Waiting [2021-10-05T17:26:02.039Z] 1560dd03e051: Waiting [2021-10-05T17:26:02.039Z] 27f5ce0e4adf: Waiting [2021-10-05T17:26:02.039Z] c2d8d7efcc4b: Waiting [2021-10-05T17:26:02.332Z] f757da607395: Verifying Checksum [2021-10-05T17:26:02.333Z] f757da607395: Download complete [2021-10-05T17:26:02.333Z] 8603b9c90790: Verifying Checksum [2021-10-05T17:26:02.333Z] 8603b9c90790: Download complete [2021-10-05T17:26:02.621Z] 1560dd03e051: Verifying Checksum [2021-10-05T17:26:02.621Z] 1560dd03e051: Download complete [2021-10-05T17:26:02.621Z] 27f5ce0e4adf: Verifying Checksum [2021-10-05T17:26:02.621Z] 27f5ce0e4adf: Download complete [2021-10-05T17:26:02.621Z] 05883995daec: Verifying Checksum [2021-10-05T17:26:02.621Z] 05883995daec: Download complete [2021-10-05T17:26:03.244Z] 448f6bf000e3: Download complete [2021-10-05T17:26:05.928Z] c2d8d7efcc4b: Verifying Checksum [2021-10-05T17:26:05.929Z] c2d8d7efcc4b: Download complete [2021-10-05T17:26:06.544Z] 448f6bf000e3: Pull complete [2021-10-05T17:26:07.168Z] f757da607395: Pull complete [2021-10-05T17:26:08.647Z] 05883995daec: Pull complete [2021-10-05T17:26:09.265Z] 8603b9c90790: Pull complete [2021-10-05T17:26:10.279Z] 1560dd03e051: Pull complete [2021-10-05T17:26:10.279Z] 27f5ce0e4adf: Pull complete [2021-10-05T17:26:25.520Z] c2d8d7efcc4b: Pull complete [2021-10-05T17:26:25.520Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-05T17:26:25.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T17:26:25.520Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-05T17:26:25.877Z] prd-ubuntu18.04-docker-arm64-4c-16g-2107 does not seem to be running inside a container [2021-10-05T17:26:26.017Z] $ 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-177 -v /w/workspace/exfoundry_ci-build-images_PR-177:/w/workspace/exfoundry_ci-build-images_PR-177:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-177@tmp:/w/workspace/exfoundry_ci-build-images_PR-177@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 [2021-10-05T17:26:31.122Z] $ docker top 4180357b674bd256688262c59fde050bdd346a7b076bf59fc01adc7907ea876b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T17:26:32.176Z] ---> job-cost.sh [2021-10-05T17:26:32.176Z] lf-activate-venv: SKIPPING [2021-10-05T17:26:32.176Z] INFO: No Stack... [2021-10-05T17:26:47.594Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-05T17:26:47.594Z] INFO: Archiving Costs [Pipeline] sh [2021-10-05T17:26:48.367Z] + cat /w/workspace/exfoundry_ci-build-images_PR-177/archives/cost.csv [2021-10-05T17:26:48.367Z] + cut -d, -f6 [Pipeline] lock [2021-10-05T17:26:48.475Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-177-1-stack-cost] [2021-10-05T17:26:48.482Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-177-1-stack-cost] did not exist. Created. [2021-10-05T17:26:48.482Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-177-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-05T17:26:49.890Z] /w/workspace/exfoundry_ci-build-images_PR-177@tmp/durable-4e845571/script.sh: 1: /w/workspace/exfoundry_ci-build-images_PR-177@tmp/durable-4e845571/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-05T17:26:50.720Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-05T17:26:50.784Z] Warning: overwriting stash ‘stack-cost’ [2021-10-05T17:26:51.455Z] Stashed 1 file(s) [Pipeline] } [2021-10-05T17:26:51.479Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-177-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-05T17:26:51.570Z] $ docker stop --time=1 4180357b674bd256688262c59fde050bdd346a7b076bf59fc01adc7907ea876b [2021-10-05T17:26:53.118Z] $ docker rm -f 4180357b674bd256688262c59fde050bdd346a7b076bf59fc01adc7907ea876b [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-05T17:26:55.455Z] + '[' -d /w/workspace/exfoundry_ci-build-images_PR-177/archives ']' [2021-10-05T17:26:55.455Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-177/archives [2021-10-05T17:26:55.455Z] total 4 [2021-10-05T17:26:55.455Z] drwxr-xr-x. 3 root root 34 Oct 5 17:17 . [2021-10-05T17:26:55.455Z] drwxrwxr-x. 5 jenkins jenkins 125 Oct 5 17:17 .. [2021-10-05T17:26:55.455Z] drwxr-xr-x. 2 root root 6 Oct 5 17:17 cost [2021-10-05T17:26:55.455Z] -rw-r--r--. 1 root root 85 Oct 5 17:17 cost.csv [2021-10-05T17:26:55.455Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-177/archives [2021-10-05T17:26:55.455Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-177/archives [2021-10-05T17:26:55.455Z] total 4 [2021-10-05T17:26:55.455Z] drwxr-xr-x. 3 jenkins jenkins 34 Oct 5 17:17 . [2021-10-05T17:26:55.455Z] drwxrwxr-x. 5 jenkins jenkins 125 Oct 5 17:17 .. [2021-10-05T17:26:55.455Z] drwxr-xr-x. 2 jenkins jenkins 6 Oct 5 17:17 cost [2021-10-05T17:26:55.455Z] -rw-r--r--. 1 jenkins jenkins 85 Oct 5 17:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2021-10-05T17:26:55.808Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T17:26:56.442Z] ---> package-listing.sh [2021-10-05T17:26:56.442Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-05T17:26:56.442Z] ++ facter osfamily [2021-10-05T17:26:56.442Z] + OS_FAMILY=redhat [2021-10-05T17:26:56.442Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-177 [2021-10-05T17:26:56.442Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-05T17:26:56.442Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-05T17:26:56.442Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-05T17:26:56.442Z] + PACKAGES=/tmp/packages_start.txt [2021-10-05T17:26:56.442Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-177 ']' [2021-10-05T17:26:56.442Z] + PACKAGES=/tmp/packages_end.txt [2021-10-05T17:26:56.442Z] + case "${OS_FAMILY}" in [2021-10-05T17:26:56.442Z] + sort [2021-10-05T17:26:56.442Z] + rpm -qa [2021-10-05T17:26:57.408Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-05T17:26:57.408Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-05T17:26:57.408Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-05T17:26:57.408Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-177 ']' [2021-10-05T17:26:57.408Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-177/archives/ [2021-10-05T17:26:57.408Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-177/archives/ [Pipeline] echo [2021-10-05T17:26:57.447Z] 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-177/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-05T17:26:57.768Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-05T17:26:58.391Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T17:26:58.391Z] . [Pipeline] withDockerContainer [2021-10-05T17:26:58.511Z] prd-centos7-docker-4c-2g-2101 does not seem to be running inside a container [2021-10-05T17:26:58.580Z] $ 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-177/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-177 -v /w/workspace/exfoundry_ci-build-images_PR-177:/w/workspace/exfoundry_ci-build-images_PR-177:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-177@tmp:/w/workspace/exfoundry_ci-build-images_PR-177@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-05T17:26:58.813Z] $ docker top d9efc00a21cd45b2ec99494a74625a5096d00762b9c808f8ba30cc7adc9f6478 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-05T17:26:59.266Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-05T17:26:59.622Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-05T17:26:59.961Z] + ls /var/log/sa-host [2021-10-05T17:26:59.961Z] + sadf -c /var/log/sa-host/sa05 [2021-10-05T17:26:59.961Z] file_magic: OK [2021-10-05T17:26:59.961Z] HZ: Using current value: 100 [2021-10-05T17:26:59.961Z] file_header: OK [2021-10-05T17:26:59.961Z] 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-05T17:26:59.961Z] Statistics: [2021-10-05T17:26:59.961Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-05T17:26:59.961Z] File successfully converted to sysstat format version 12.0.3 [2021-10-05T17:26:59.961Z] + sadf -c /var/log/sa-host/sa30 [2021-10-05T17:26:59.961Z] file_magic: OK [2021-10-05T17:26:59.961Z] HZ: Using current value: 100 [2021-10-05T17:26:59.961Z] file_header: OK [2021-10-05T17:26:59.961Z] 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-05T17:26:59.961Z] Statistics: [2021-10-05T17:26:59.961Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-05T17:26:59.961Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T17:27:00.568Z] provisioning config files... [2021-10-05T17:27:00.588Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-177@tmp/config2873469112813270383tmp [Pipeline] { [Pipeline] echo [2021-10-05T17:27:00.642Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T17:27:00.990Z] ---> create-netrc.sh [Pipeline] } [2021-10-05T17:27:01.017Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-05T17:27:01.471Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-05T17:27:01.510Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T17:27:01.861Z] ---> sudo-logs.sh [2021-10-05T17:27:01.861Z] Archiving 'sudo' log.. [2021-10-05T17:27:01.861Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2101.novalocal: Name or service not known [2021-10-05T17:27:01.861Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2101.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-05T17:27:01.973Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T17:27:02.330Z] ---> job-cost.sh [2021-10-05T17:27:02.330Z] lf-activate-venv: SKIPPING [2021-10-05T17:27:02.330Z] DEBUG: total: 0.05999999865889549 [2021-10-05T17:27:02.330Z] INFO: Retrieving Stack Cost... [2021-10-05T17:27:14.641Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-05T17:27:14.641Z] INFO: Archiving Costs [Pipeline] echo [2021-10-05T17:27:14.682Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T17:27:15.054Z] ---> logs-deploy.sh [2021-10-05T17:27:15.054Z] lf-activate-venv: SKIPPING [2021-10-05T17:27:15.054Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-177/1 [2021-10-05T17:27:15.054Z] INFO: archiving workspace using pattern(s): [2021-10-05T17:27:16.014Z] Archives upload complete. [2021-10-05T17:27:16.014Z] INFO: archiving logs to Nexus