Pull request #167 opened Connecting to https://api.github.com using edgex-jenkins/****** (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 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8+8f4a8e27cc3899896b41603114ddd5e9d3e505f7 (cc511461391bfcf23b5c6e16b521854776284d21) 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3152493855774101600.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5439114337990094645.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 144eb70ba3d470a427e699408e811d3f535e987a 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-167/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-167/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1197709597929044080.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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-167/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2818540071957296339.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5652448638780341411.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-167/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-167/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5080748945338785250.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:edgex-golang-base, mavenSettings:ci-build-images-settings, dockerImageName:edgex-golang-base, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[1.16-alpine, 1.16-alpine3.13], releaseBranchOverride:golang-1.16] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: ci-build-images-settings PROJECT: edgex-golang-base USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-golang-base DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-golang-base-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: golang-1.16 DOCKER_CUSTOM_TAGS: 1.16-alpine 1.16-alpine3.13 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2341’ Running on prd-centos7-docker-4c-2g-2344 in /w/workspace/exfoundry_ci-build-images_PR-167 [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 Merging remotes/origin/golang-1.16 commit 8f4a8e27cc3899896b41603114ddd5e9d3e505f7 into PR head commit 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 > git init /w/workspace/exfoundry_ci-build-images_PR-167 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/exfoundry_ci-build-images_PR-167@tmp/jenkins-gitclient-ssh8252165717404858443.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/exfoundry_ci-build-images_PR-167@tmp/jenkins-gitclient-ssh118253050336342735.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/167/head:refs/remotes/origin/PR-167 +refs/heads/golang-1.16:refs/remotes/origin/golang-1.16 # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 # timeout=10 Merge succeeded, producing 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 Checking out Revision 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 (PR-167) > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/exfoundry_ci-build-images_PR-167@tmp/jenkins-gitclient-ssh2897991445051824945.key > git merge 8f4a8e27cc3899896b41603114ddd5e9d3e505f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 # timeout=10 Commit message: "ci: only add hadolint on x86_64 arch" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-09T22:13:32.286Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-09T22:13:32.497Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-09T22:13:32.609Z] ========================================================= [2021-07-09T22:13:32.609Z] EdgeX Global Pipelines Version Info [2021-07-09T22:13:32.609Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-09T22:13:34.055Z] ------------------- [2021-07-09T22:13:34.055Z] stable info: [2021-07-09T22:13:34.055Z] ------------------- [2021-07-09T22:13:34.055Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-09T22:13:34.055Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-09T22:13:34.055Z] Message: update stable to v1.0.196 [2021-07-09T22:13:34.627Z] ------------------- [2021-07-09T22:13:34.627Z] experimental info: [2021-07-09T22:13:34.627Z] ------------------- [2021-07-09T22:13:34.627Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-09T22:13:34.627Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-09T22:13:34.627Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2021-07-09T22:13:34.940Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2021-07-09T22:13:34.996Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo [2021-07-09T22:13:35.052Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2021-07-09T22:13:35.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-09T22:13:35.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-09T22:13:35.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo [2021-07-09T22:13:35.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2021-07-09T22:13:35.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2021-07-09T22:13:35.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2021-07-09T22:13:35.496Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-09T22:13:35.551Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2021-07-09T22:13:35.609Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo [2021-07-09T22:13:35.679Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-09T22:13:35.740Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-09T22:13:35.794Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.16 [Pipeline] echo [2021-07-09T22:13:35.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.16-alpine 1.16-alpine3.13 [Pipeline] echo [2021-07-09T22:13:35.918Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-167 [Pipeline] echo [2021-07-09T22:13:35.974Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-167 [Pipeline] echo [2021-07-09T22:13:36.030Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-167 [Pipeline] echo [2021-07-09T22:13:36.087Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 [Pipeline] echo [2021-07-09T22:13:36.141Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 65c67ca [Pipeline] echo [2021-07-09T22:13:36.201Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T22:13:36.361Z] provisioning config files... [2021-07-09T22:13:36.377Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-167@tmp/config1219456972579377479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-09T22:13:36.747Z] ---> docker-login.sh [2021-07-09T22:13:36.747Z] nexus3.edgexfoundry.org:10001 [2021-07-09T22:13:37.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T22:13:37.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T22:13:37.016Z] Configure a credential helper to remove this warning. See [2021-07-09T22:13:37.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T22:13:37.016Z] [2021-07-09T22:13:37.016Z] Login Succeeded [2021-07-09T22:13:37.016Z] nexus3.edgexfoundry.org:10002 [2021-07-09T22:13:37.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T22:13:37.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T22:13:37.278Z] Configure a credential helper to remove this warning. See [2021-07-09T22:13:37.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T22:13:37.278Z] [2021-07-09T22:13:37.278Z] Login Succeeded [2021-07-09T22:13:37.278Z] nexus3.edgexfoundry.org:10003 [2021-07-09T22:13:37.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T22:13:37.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T22:13:37.278Z] Configure a credential helper to remove this warning. See [2021-07-09T22:13:37.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T22:13:37.278Z] [2021-07-09T22:13:37.278Z] Login Succeeded [2021-07-09T22:13:37.278Z] nexus3.edgexfoundry.org:10004 [2021-07-09T22:13:37.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T22:13:37.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T22:13:37.545Z] Configure a credential helper to remove this warning. See [2021-07-09T22:13:37.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T22:13:37.545Z] [2021-07-09T22:13:37.545Z] Login Succeeded [2021-07-09T22:13:37.545Z] docker.io [2021-07-09T22:13:37.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T22:13:37.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T22:13:37.807Z] Configure a credential helper to remove this warning. See [2021-07-09T22:13:37.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T22:13:37.807Z] [2021-07-09T22:13:37.807Z] Login Succeeded [2021-07-09T22:13:37.807Z] ---> docker-login.sh ends [Pipeline] } [2021-07-09T22:13:37.834Z] 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] sh [2021-07-09T22:13:39.116Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-09T22:13:39.437Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-09T22:13:39.761Z] + sudo service docker restart [2021-07-09T22:13:39.761Z] + true [2021-07-09T22:13:39.761Z] Redirecting to /bin/systemctl restart docker.service [2021-07-09T22:13:53.595Z] Still waiting to schedule task [2021-07-09T22:13:53.596Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2342’ is offline [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T22:13:58.004Z] provisioning config files... [2021-07-09T22:13:58.022Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-167@tmp/config7301652675396115461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-09T22:13:58.393Z] ---> docker-login.sh [2021-07-09T22:13:58.394Z] nexus3.edgexfoundry.org:10001 [2021-07-09T22:13:58.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T22:13:58.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T22:13:58.394Z] Configure a credential helper to remove this warning. See [2021-07-09T22:13:58.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T22:13:58.394Z] [2021-07-09T22:13:58.394Z] Login Succeeded [2021-07-09T22:13:58.394Z] nexus3.edgexfoundry.org:10002 [2021-07-09T22:13:58.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T22:13:58.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T22:13:58.656Z] Configure a credential helper to remove this warning. See [2021-07-09T22:13:58.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T22:13:58.656Z] [2021-07-09T22:13:58.656Z] Login Succeeded [2021-07-09T22:13:58.656Z] nexus3.edgexfoundry.org:10003 [2021-07-09T22:13:58.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T22:13:58.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T22:13:58.656Z] Configure a credential helper to remove this warning. See [2021-07-09T22:13:58.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T22:13:58.656Z] [2021-07-09T22:13:58.656Z] Login Succeeded [2021-07-09T22:13:58.656Z] nexus3.edgexfoundry.org:10004 [2021-07-09T22:13:58.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T22:13:58.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T22:13:58.919Z] Configure a credential helper to remove this warning. See [2021-07-09T22:13:58.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T22:13:58.919Z] [2021-07-09T22:13:58.919Z] Login Succeeded [2021-07-09T22:13:58.919Z] docker.io [2021-07-09T22:13:58.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T22:13:59.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T22:13:59.182Z] Configure a credential helper to remove this warning. See [2021-07-09T22:13:59.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T22:13:59.182Z] [2021-07-09T22:13:59.182Z] Login Succeeded [2021-07-09T22:13:59.182Z] ---> docker-login.sh ends [Pipeline] } [2021-07-09T22:13:59.215Z] 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-07-09T22:14:00.693Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-09T22:14:01.016Z] + ls -al . [2021-07-09T22:14:01.016Z] total 12 [2021-07-09T22:14:01.016Z] drwxrwxr-x. 4 jenkins jenkins 91 Jul 9 22:13 . [2021-07-09T22:14:01.016Z] drwxrwxr-x. 4 jenkins jenkins 112 Jul 9 22:13 .. [2021-07-09T22:14:01.016Z] -rw-rw-r--. 1 jenkins jenkins 835 Jul 9 22:13 Dockerfile [2021-07-09T22:14:01.016Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 9 22:13 .git [2021-07-09T22:14:01.016Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 9 22:13 .github [2021-07-09T22:14:01.016Z] -rw-rw-r--. 1 jenkins jenkins 585 Jul 9 22:13 .golangci.yml [2021-07-09T22:14:01.016Z] -rw-rw-r--. 1 jenkins jenkins 913 Jul 9 22:13 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2021-07-09T22:14:01.537Z] + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 --label arch=amd64 . [2021-07-09T22:14:01.537Z] Sending build context to Docker daemon 379.4kB [2021-07-09T22:14:01.538Z] Step 1/9 : FROM golang:1.16.5-alpine3.13 [2021-07-09T22:14:02.109Z] 1.16.5-alpine3.13: Pulling from library/golang [2021-07-09T22:14:02.110Z] 540db60ca938: Pulling fs layer [2021-07-09T22:14:02.110Z] adcc1eea9eea: Pulling fs layer [2021-07-09T22:14:02.110Z] 4c4ab2625f07: Pulling fs layer [2021-07-09T22:14:02.110Z] 0773c198feca: Pulling fs layer [2021-07-09T22:14:02.110Z] 345f892a5656: Pulling fs layer [2021-07-09T22:14:02.110Z] 0773c198feca: Waiting [2021-07-09T22:14:02.110Z] 345f892a5656: Waiting [2021-07-09T22:14:02.376Z] error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/f5/f5b325add028d35be286d0cb4ac3dae60b59ac5f6d3a0318b7475f5475655bd4/data?verify=1625871842-ukLGjcZZ7hbF4%2BXRqz368BZNzxk%3D: dial tcp: lookup production.cloudflare.docker.com on 10.30.120.3:53: server misbehaving [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-09T22:14:03.278Z] Failed in branch amd64 [2021-07-09T22:15:59.154Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2345 in /w/workspace/exfoundry_ci-build-images_PR-167 [Pipeline] { [Pipeline] checkout [2021-07-09T22:15:59.394Z] Selected Git installation does not exist. Using Default [2021-07-09T22:15:59.394Z] The recommended git tool is: NONE [2021-07-09T22:16:04.601Z] using credential edgex-jenkins-ssh [2021-07-09T22:16:04.622Z] Cloning the remote Git repository [2021-07-09T22:16:04.667Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2021-07-09T22:16:04.774Z] > git init /w/workspace/exfoundry_ci-build-images_PR-167 # timeout=10 [2021-07-09T22:16:04.837Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2021-07-09T22:16:04.838Z] > git --version # timeout=10 [2021-07-09T22:16:04.854Z] > git --version # 'git version 2.17.1' [2021-07-09T22:16:04.856Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-09T22:16:04.938Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-09T22:16:06.456Z] Merging remotes/origin/golang-1.16 commit 8f4a8e27cc3899896b41603114ddd5e9d3e505f7 into PR head commit 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 [2021-07-09T22:16:06.623Z] Merge succeeded, producing 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 [2021-07-09T22:16:06.624Z] Checking out Revision 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 (PR-167) [2021-07-09T22:16:05.769Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2021-07-09T22:16:05.788Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-09T22:16:05.812Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2021-07-09T22:16:05.842Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2021-07-09T22:16:05.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-09T22:16:05.854Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/167/head:refs/remotes/origin/PR-167 +refs/heads/golang-1.16:refs/remotes/origin/golang-1.16 # timeout=10 [2021-07-09T22:16:06.473Z] > git config core.sparsecheckout # timeout=10 [2021-07-09T22:16:06.488Z] > git checkout -f 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 # timeout=10 [2021-07-09T22:16:06.552Z] > git remote # timeout=10 [2021-07-09T22:16:06.567Z] > git config --get remote.origin.url # timeout=10 [2021-07-09T22:16:06.578Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-09T22:16:06.589Z] > git merge 8f4a8e27cc3899896b41603114ddd5e9d3e505f7 # timeout=10 [2021-07-09T22:16:06.608Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-09T22:16:06.630Z] > git config core.sparsecheckout # timeout=10 [2021-07-09T22:16:06.642Z] > git checkout -f 65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 # timeout=10 [2021-07-09T22:16:10.950Z] Commit message: "ci: only add hadolint on x86_64 arch" [2021-07-09T22:16:11.001Z] > git --version # timeout=10 [2021-07-09T22:16:11.009Z] > git --version # 'git version 2.17.1' [2021-07-09T22:16:11.027Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-09T22:16:12.881Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-09T22:16:13.305Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-09T22:16:13.672Z] + true [2021-07-09T22:16:13.672Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T22:16:32.106Z] provisioning config files... [2021-07-09T22:16:32.135Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-167@tmp/config857120191570895989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-09T22:16:32.571Z] ---> docker-login.sh [2021-07-09T22:16:32.571Z] nexus3.edgexfoundry.org:10001 [2021-07-09T22:16:33.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T22:16:33.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T22:16:33.828Z] Configure a credential helper to remove this warning. See [2021-07-09T22:16:33.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T22:16:33.828Z] [2021-07-09T22:16:33.828Z] Login Succeeded [2021-07-09T22:16:33.828Z] nexus3.edgexfoundry.org:10002 [2021-07-09T22:16:34.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T22:16:34.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T22:16:34.385Z] Configure a credential helper to remove this warning. See [2021-07-09T22:16:34.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T22:16:34.385Z] [2021-07-09T22:16:34.385Z] Login Succeeded [2021-07-09T22:16:34.385Z] nexus3.edgexfoundry.org:10003 [2021-07-09T22:16:34.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T22:16:34.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T22:16:34.943Z] Configure a credential helper to remove this warning. See [2021-07-09T22:16:34.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T22:16:34.943Z] [2021-07-09T22:16:34.943Z] Login Succeeded [2021-07-09T22:16:34.943Z] nexus3.edgexfoundry.org:10004 [2021-07-09T22:16:35.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T22:16:35.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T22:16:35.491Z] Configure a credential helper to remove this warning. See [2021-07-09T22:16:35.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T22:16:35.491Z] [2021-07-09T22:16:35.491Z] Login Succeeded [2021-07-09T22:16:35.491Z] docker.io [2021-07-09T22:16:35.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T22:16:36.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T22:16:36.041Z] Configure a credential helper to remove this warning. See [2021-07-09T22:16:36.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T22:16:36.041Z] [2021-07-09T22:16:36.041Z] Login Succeeded [2021-07-09T22:16:36.058Z] ---> docker-login.sh ends [Pipeline] } [2021-07-09T22:16:36.071Z] 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-07-09T22:16:36.895Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-09T22:16:37.247Z] + ls -al . [2021-07-09T22:16:37.247Z] total 28 [2021-07-09T22:16:37.247Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 9 22:16 . [2021-07-09T22:16:37.247Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 9 22:16 .. [2021-07-09T22:16:37.247Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 9 22:16 .git [2021-07-09T22:16:37.247Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 9 22:16 .github [2021-07-09T22:16:37.247Z] -rw-rw-r-- 1 jenkins jenkins 585 Jul 9 22:16 .golangci.yml [2021-07-09T22:16:37.247Z] -rw-rw-r-- 1 jenkins jenkins 835 Jul 9 22:16 Dockerfile [2021-07-09T22:16:37.247Z] -rw-rw-r-- 1 jenkins jenkins 913 Jul 9 22:16 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2021-07-09T22:16:37.631Z] + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 --label arch=arm64 . [2021-07-09T22:16:37.908Z] Sending build context to Docker daemon 378.4kB [2021-07-09T22:16:37.908Z] Step 1/9 : FROM golang:1.16.5-alpine3.13 [2021-07-09T22:16:38.498Z] 1.16.5-alpine3.13: Pulling from library/golang [2021-07-09T22:16:38.769Z] 595b0fe564bb: Pulling fs layer [2021-07-09T22:16:38.769Z] 24495759ef45: Pulling fs layer [2021-07-09T22:16:38.769Z] d148012ef14d: Pulling fs layer [2021-07-09T22:16:38.769Z] cb65c68fc2e2: Pulling fs layer [2021-07-09T22:16:38.769Z] 093eec477d81: Pulling fs layer [2021-07-09T22:16:38.769Z] cb65c68fc2e2: Waiting [2021-07-09T22:16:38.769Z] 093eec477d81: Waiting [2021-07-09T22:16:39.044Z] d148012ef14d: Download complete [2021-07-09T22:16:39.044Z] 24495759ef45: Verifying Checksum [2021-07-09T22:16:39.044Z] 24495759ef45: Download complete [2021-07-09T22:16:39.044Z] 595b0fe564bb: Verifying Checksum [2021-07-09T22:16:39.044Z] 595b0fe564bb: Download complete [2021-07-09T22:16:39.045Z] 093eec477d81: Verifying Checksum [2021-07-09T22:16:39.045Z] 093eec477d81: Download complete [2021-07-09T22:16:39.644Z] 595b0fe564bb: Pull complete [2021-07-09T22:16:40.247Z] 24495759ef45: Pull complete [2021-07-09T22:16:40.533Z] d148012ef14d: Pull complete [2021-07-09T22:16:41.509Z] cb65c68fc2e2: Verifying Checksum [2021-07-09T22:16:41.509Z] cb65c68fc2e2: Download complete [2021-07-09T22:16:51.661Z] cb65c68fc2e2: Pull complete [2021-07-09T22:16:51.661Z] 093eec477d81: Pull complete [2021-07-09T22:16:51.661Z] Digest: sha256:4919b2f118f75395f69adcb899c1b796c4337d9649f0ef73aab34eef040149cf [2021-07-09T22:16:51.661Z] Status: Downloaded newer image for golang:1.16.5-alpine3.13 [2021-07-09T22:16:51.661Z] ---> 4ac5820bd72c [2021-07-09T22:16:51.661Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-07-09T22:16:53.095Z] ---> Running in f3780f0e54b3 [2021-07-09T22:16:53.368Z] Removing intermediate container f3780f0e54b3 [2021-07-09T22:16:53.368Z] ---> 23dee6083463 [2021-07-09T22:16:53.368Z] Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-09T22:16:53.641Z] ---> Running in 0cdd9d400965 [2021-07-09T22:16:56.270Z] Removing intermediate container 0cdd9d400965 [2021-07-09T22:16:56.270Z] ---> fc203c1d0d32 [2021-07-09T22:16:56.270Z] Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 [2021-07-09T22:16:56.270Z] ---> Running in 02f388442693 [2021-07-09T22:16:56.545Z] Removing intermediate container 02f388442693 [2021-07-09T22:16:56.545Z] ---> 41171b5c48bb [2021-07-09T22:16:56.545Z] Step 5/9 : COPY ./.golangci.yml /etc/.golangci.yml [2021-07-09T22:16:57.523Z] ---> fb380baa97d4 [2021-07-09T22:16:57.523Z] 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-07-09T22:16:57.523Z] ---> Running in 15097c00955e [2021-07-09T22:17:00.144Z] Removing intermediate container 15097c00955e [2021-07-09T22:17:00.144Z] ---> a3609ada2827 [2021-07-09T22:17:00.144Z] Step 7/9 : RUN apk add --update --no-cache git linux-headers make gcc musl-dev curl bash && wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v${GOLANGCI_VERSION} [2021-07-09T22:17:00.144Z] ---> Running in 473988ebd0da [2021-07-09T22:17:01.126Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-09T22:17:02.108Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-09T22:17:02.700Z] (1/25) Installing ncurses-terminfo-base (6.2_p20210109-r0) [2021-07-09T22:17:02.973Z] (2/25) Installing ncurses-libs (6.2_p20210109-r0) [2021-07-09T22:17:02.973Z] (3/25) Installing readline (8.1.0-r0) [2021-07-09T22:17:02.973Z] (4/25) Installing bash (5.1.0-r0) [2021-07-09T22:17:03.251Z] Executing bash-5.1.0-r0.post-install [2021-07-09T22:17:03.251Z] (5/25) Installing brotli-libs (1.0.9-r3) [2021-07-09T22:17:03.528Z] (6/25) Installing nghttp2-libs (1.42.0-r1) [2021-07-09T22:17:03.528Z] (7/25) Installing libcurl (7.77.0-r1) [2021-07-09T22:17:03.528Z] (8/25) Installing curl (7.77.0-r1) [2021-07-09T22:17:03.800Z] (9/25) Installing libgcc (10.2.1_pre1-r3) [2021-07-09T22:17:03.800Z] (10/25) Installing libstdc++ (10.2.1_pre1-r3) [2021-07-09T22:17:04.397Z] (11/25) Installing binutils (2.35.2-r1) [2021-07-09T22:17:04.994Z] (12/25) Installing libgomp (10.2.1_pre1-r3) [2021-07-09T22:17:04.994Z] (13/25) Installing libatomic (10.2.1_pre1-r3) [2021-07-09T22:17:05.268Z] (14/25) Installing libgphobos (10.2.1_pre1-r3) [2021-07-09T22:17:05.866Z] (15/25) Installing gmp (6.2.1-r0) [2021-07-09T22:17:06.142Z] (16/25) Installing isl22 (0.22-r0) [2021-07-09T22:17:06.413Z] (17/25) Installing mpfr4 (4.1.0-r0) [2021-07-09T22:17:06.413Z] (18/25) Installing mpc1 (1.2.0-r0) [2021-07-09T22:17:06.413Z] (19/25) Installing gcc (10.2.1_pre1-r3) [2021-07-09T22:17:21.500Z] (20/25) Installing expat (2.2.10-r1) [2021-07-09T22:17:21.500Z] (21/25) Installing pcre2 (10.36-r0) [2021-07-09T22:17:21.500Z] (22/25) Installing git (2.30.2-r0) [2021-07-09T22:17:21.500Z] (23/25) Installing linux-headers (5.7.8-r0) [2021-07-09T22:17:22.477Z] (24/25) Installing make (4.3-r0) [2021-07-09T22:17:22.477Z] (25/25) Installing musl-dev (1.2.2-r1) [2021-07-09T22:17:23.453Z] Executing busybox-1.32.1-r6.trigger [2021-07-09T22:17:23.453Z] OK: 138 MiB in 40 packages [2021-07-09T22:17:23.453Z] Connecting to raw.githubusercontent.com (185.199.111.133:443) [2021-07-09T22:17:23.725Z] writing to stdout [2021-07-09T22:17:23.725Z] - 100% |********************************| 10739 0:00:00 ETA [2021-07-09T22:17:23.725Z] written to stdout [2021-07-09T22:17:23.725Z] golangci/golangci-lint info checking GitHub for tag 'v1.40.1' [2021-07-09T22:17:23.997Z] golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/arm64 [2021-07-09T22:17:25.966Z] golangci/golangci-lint info installed ./bin/golangci-lint [2021-07-09T22:17:32.697Z] Removing intermediate container 473988ebd0da [2021-07-09T22:17:32.697Z] ---> 0a36681aa30d [2021-07-09T22:17:32.697Z] Step 8/9 : LABEL arch=arm64 [2021-07-09T22:17:32.697Z] ---> Running in 0d9df2072e13 [2021-07-09T22:17:32.972Z] Removing intermediate container 0d9df2072e13 [2021-07-09T22:17:32.972Z] ---> b67b65956df8 [2021-07-09T22:17:32.972Z] Step 9/9 : LABEL git_sha=65c67cae62ae83f0fc9e83184a41ced4e9bc39b8 [2021-07-09T22:17:33.248Z] ---> Running in 6a253f391eca [2021-07-09T22:17:33.849Z] Removing intermediate container 6a253f391eca [2021-07-09T22:17:33.849Z] ---> 241173fb88a6 [2021-07-09T22:17:33.849Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-09T22:17:33.849Z] Successfully built 241173fb88a6 [2021-07-09T22:17:33.849Z] 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 [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 earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-07-09T22:17:36.252Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T22:17:36.890Z] ---> package-listing.sh [2021-07-09T22:17:36.890Z] ++ facter osfamily [2021-07-09T22:17:36.890Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-09T22:17:37.151Z] + OS_FAMILY=redhat [2021-07-09T22:17:37.151Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-167 [2021-07-09T22:17:37.151Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-09T22:17:37.151Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-09T22:17:37.151Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-09T22:17:37.151Z] + PACKAGES=/tmp/packages_start.txt [2021-07-09T22:17:37.151Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-167 ']' [2021-07-09T22:17:37.151Z] + PACKAGES=/tmp/packages_end.txt [2021-07-09T22:17:37.151Z] + case "${OS_FAMILY}" in [2021-07-09T22:17:37.151Z] + rpm -qa [2021-07-09T22:17:37.151Z] + sort [2021-07-09T22:17:37.725Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-09T22:17:37.725Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-09T22:17:37.725Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-09T22:17:37.725Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-167 ']' [2021-07-09T22:17:37.725Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-167/archives/ [2021-07-09T22:17:37.725Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-167/archives/ [Pipeline] echo [2021-07-09T22:17:37.779Z] 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-167/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-09T22:17:38.095Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-09T22:17:38.698Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-09T22:17:38.698Z] [2021-07-09T22:17:38.698Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-09T22:17:39.058Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-09T22:17:39.058Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-09T22:17:39.058Z] df20fa9351a1: Pulling fs layer [2021-07-09T22:17:39.058Z] 36b3adc4ff6f: Pulling fs layer [2021-07-09T22:17:39.058Z] 8ad3a11d3b57: Pulling fs layer [2021-07-09T22:17:39.058Z] 46f8f816bc3b: Pulling fs layer [2021-07-09T22:17:39.058Z] 93b61091891f: Pulling fs layer [2021-07-09T22:17:39.058Z] 93b9cdb0e59b: Pulling fs layer [2021-07-09T22:17:39.058Z] 5e14af77c1be: Pulling fs layer [2021-07-09T22:17:39.058Z] 01666e4c0597: Pulling fs layer [2021-07-09T22:17:39.058Z] aa168da1d23b: Pulling fs layer [2021-07-09T22:17:39.058Z] 93b9cdb0e59b: Waiting [2021-07-09T22:17:39.058Z] 5e14af77c1be: Waiting [2021-07-09T22:17:39.058Z] 01666e4c0597: Waiting [2021-07-09T22:17:39.058Z] aa168da1d23b: Waiting [2021-07-09T22:17:39.058Z] 46f8f816bc3b: Waiting [2021-07-09T22:17:39.058Z] 93b61091891f: Waiting [2021-07-09T22:17:39.058Z] 36b3adc4ff6f: Verifying Checksum [2021-07-09T22:17:39.058Z] 36b3adc4ff6f: Download complete [2021-07-09T22:17:39.058Z] 46f8f816bc3b: Verifying Checksum [2021-07-09T22:17:39.058Z] 46f8f816bc3b: Download complete [2021-07-09T22:17:39.058Z] df20fa9351a1: Verifying Checksum [2021-07-09T22:17:39.058Z] df20fa9351a1: Download complete [2021-07-09T22:17:39.325Z] 93b9cdb0e59b: Verifying Checksum [2021-07-09T22:17:39.325Z] 93b9cdb0e59b: Download complete [2021-07-09T22:17:39.325Z] 5e14af77c1be: Verifying Checksum [2021-07-09T22:17:39.325Z] 5e14af77c1be: Download complete [2021-07-09T22:17:39.325Z] 93b61091891f: Verifying Checksum [2021-07-09T22:17:39.325Z] 93b61091891f: Download complete [2021-07-09T22:17:39.325Z] 01666e4c0597: Verifying Checksum [2021-07-09T22:17:39.325Z] 01666e4c0597: Download complete [2021-07-09T22:17:39.325Z] df20fa9351a1: Pull complete [2021-07-09T22:17:39.325Z] 8ad3a11d3b57: Verifying Checksum [2021-07-09T22:17:39.325Z] 8ad3a11d3b57: Download complete [2021-07-09T22:17:39.611Z] 36b3adc4ff6f: Pull complete [2021-07-09T22:17:40.185Z] 8ad3a11d3b57: Pull complete [2021-07-09T22:17:40.185Z] 46f8f816bc3b: Pull complete [2021-07-09T22:17:40.454Z] 93b61091891f: Pull complete [2021-07-09T22:17:40.454Z] 93b9cdb0e59b: Pull complete [2021-07-09T22:17:40.715Z] 5e14af77c1be: Pull complete [2021-07-09T22:17:40.716Z] 01666e4c0597: Pull complete [2021-07-09T22:17:41.294Z] aa168da1d23b: Verifying Checksum [2021-07-09T22:17:41.294Z] aa168da1d23b: Download complete [2021-07-09T22:17:45.530Z] aa168da1d23b: Pull complete [2021-07-09T22:17:45.530Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-09T22:17:45.530Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-09T22:17:45.530Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-09T22:17:45.650Z] prd-centos7-docker-4c-2g-2344 does not seem to be running inside a container [2021-07-09T22:17:45.690Z] $ 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-167/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-167 -v /w/workspace/exfoundry_ci-build-images_PR-167:/w/workspace/exfoundry_ci-build-images_PR-167:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-167@tmp:/w/workspace/exfoundry_ci-build-images_PR-167@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:alpine cat [2021-07-09T22:17:48.180Z] $ docker top 281c3e9af8db00d55d610a4e80620e7f6386c378bfc01c6200f494d756fe5081 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-09T22:17:48.600Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-09T22:17:48.975Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-09T22:17:49.428Z] + ls /var/log/sa-host [2021-07-09T22:17:49.428Z] + sadf -c /var/log/sa-host/sa05 [2021-07-09T22:17:49.428Z] file_magic: OK [2021-07-09T22:17:49.428Z] HZ: Using current value: 100 [2021-07-09T22:17:49.428Z] file_header: OK [2021-07-09T22:17:49.428Z] 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-07-09T22:17:49.428Z] Statistics: [2021-07-09T22:17:49.428Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-09T22:17:49.428Z] File successfully converted to sysstat format version 12.2.1 [2021-07-09T22:17:49.428Z] + sadf -c /var/log/sa-host/sa09 [2021-07-09T22:17:49.428Z] file_magic: OK [2021-07-09T22:17:49.428Z] HZ: Using current value: 100 [2021-07-09T22:17:49.428Z] file_header: OK [2021-07-09T22:17:49.428Z] 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-07-09T22:17:49.428Z] Statistics: [2021-07-09T22:17:49.428Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-09T22:17:49.428Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T22:17:49.753Z] provisioning config files... [2021-07-09T22:17:49.764Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-167@tmp/config8881612002628102267tmp [Pipeline] { [Pipeline] echo [2021-07-09T22:17:49.824Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T22:17:50.165Z] ---> create-netrc.sh [Pipeline] } [2021-07-09T22:17:50.206Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-09T22:17:50.654Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-09T22:17:50.691Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T22:17:51.034Z] ---> sudo-logs.sh [2021-07-09T22:17:51.034Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-09T22:17:51.124Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T22:17:51.464Z] ---> job-cost.sh [2021-07-09T22:17:51.464Z] lf-activate-venv: SKIPPING [2021-07-09T22:17:51.464Z] INFO: No Stack... [2021-07-09T22:17:52.412Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-09T22:17:52.674Z] INFO: Archiving Costs [Pipeline] echo [2021-07-09T22:17:52.717Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T22:17:53.083Z] ---> logs-deploy.sh [2021-07-09T22:17:53.083Z] lf-activate-venv: SKIPPING [2021-07-09T22:17:53.083Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-167/1 [2021-07-09T22:17:53.083Z] INFO: archiving workspace using pattern(s): [2021-07-09T22:17:54.029Z] Archives upload complete. [2021-07-09T22:17:54.029Z] INFO: archiving logs to Nexus