Pull request #165 updated 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 4caf273cacefca9c76b0334b0bb96a0591624b30+e183b5c7da8e4c5c8619236fd15651ed2b1bf5e2 (0bdbba4e3480a97d70f298f34165869ef41e764c) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh6591171136342262861.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-ssh6456106294061641020.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-165/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-165/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6481610991720936166.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 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-ssh1511562717578594647.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-165/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-165/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7385744889017306639.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Running on prd-centos7-docker-4c-2g-2314 in /w/workspace/exfoundry_ci-build-images_PR-165 [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-165 # 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-165@tmp/jenkins-gitclient-ssh6990292951675011276.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-165@tmp/jenkins-gitclient-ssh4858289902689555489.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/golang-1.16:refs/remotes/origin/golang-1.16 # timeout=10 Merging remotes/origin/golang-1.16 commit e183b5c7da8e4c5c8619236fd15651ed2b1bf5e2 into PR head commit 4caf273cacefca9c76b0334b0bb96a0591624b30 Merge succeeded, producing 4caf273cacefca9c76b0334b0bb96a0591624b30 Checking out Revision 4caf273cacefca9c76b0334b0bb96a0591624b30 (PR-165) > git config core.sparsecheckout # timeout=10 > git checkout -f 4caf273cacefca9c76b0334b0bb96a0591624b30 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/exfoundry_ci-build-images_PR-165@tmp/jenkins-gitclient-ssh2589612990234222714.key > git merge e183b5c7da8e4c5c8619236fd15651ed2b1bf5e2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4caf273cacefca9c76b0334b0bb96a0591624b30 # timeout=10 Commit message: "ci: add hadolint to facilitate linting of Dockerfiles" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-09T20:30:42.319Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-09T20:30:42.415Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-09T20:30:42.441Z] ========================================================= [2021-07-09T20:30:42.441Z] EdgeX Global Pipelines Version Info [2021-07-09T20:30:42.441Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:30:43.949Z] ------------------- [2021-07-09T20:30:43.949Z] stable info: [2021-07-09T20:30:43.949Z] ------------------- [2021-07-09T20:30:43.949Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-09T20:30:43.949Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-09T20:30:43.949Z] Message: update stable to v1.0.196 [2021-07-09T20:30:44.524Z] ------------------- [2021-07-09T20:30:44.524Z] experimental info: [2021-07-09T20:30:44.524Z] ------------------- [2021-07-09T20:30:44.524Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-09T20:30:44.524Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-09T20:30:44.524Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2021-07-09T20:30:44.662Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2021-07-09T20:30:44.681Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo [2021-07-09T20:30:44.698Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2021-07-09T20:30:44.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-09T20:30:44.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-09T20:30:44.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo [2021-07-09T20:30:44.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2021-07-09T20:30:44.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2021-07-09T20:30:44.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2021-07-09T20:30:44.823Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-09T20:30:44.843Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2021-07-09T20:30:44.861Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo [2021-07-09T20:30:44.879Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-09T20:30:44.897Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-09T20:30:44.914Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.16 [Pipeline] echo [2021-07-09T20:30:44.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.16-alpine 1.16-alpine3.13 [Pipeline] echo [2021-07-09T20:30:44.950Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo [2021-07-09T20:30:44.971Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo [2021-07-09T20:30:44.995Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo [2021-07-09T20:30:45.013Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4caf273cacefca9c76b0334b0bb96a0591624b30 [Pipeline] echo [2021-07-09T20:30:45.031Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4caf273 [Pipeline] echo [2021-07-09T20:30:45.053Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T20:30:45.167Z] provisioning config files... [2021-07-09T20:30:45.195Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-165@tmp/config314149390492847238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:30:45.560Z] ---> docker-login.sh [2021-07-09T20:30:45.560Z] nexus3.edgexfoundry.org:10001 [2021-07-09T20:30:45.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:30:45.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:30:45.827Z] Configure a credential helper to remove this warning. See [2021-07-09T20:30:45.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:30:45.827Z] [2021-07-09T20:30:45.827Z] Login Succeeded [2021-07-09T20:30:45.827Z] nexus3.edgexfoundry.org:10002 [2021-07-09T20:30:45.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:30:45.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:30:45.827Z] Configure a credential helper to remove this warning. See [2021-07-09T20:30:45.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:30:45.827Z] [2021-07-09T20:30:45.827Z] Login Succeeded [2021-07-09T20:30:45.827Z] nexus3.edgexfoundry.org:10003 [2021-07-09T20:30:46.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:30:46.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:30:46.093Z] Configure a credential helper to remove this warning. See [2021-07-09T20:30:46.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:30:46.093Z] [2021-07-09T20:30:46.093Z] Login Succeeded [2021-07-09T20:30:46.093Z] nexus3.edgexfoundry.org:10004 [2021-07-09T20:30:46.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:30:46.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:30:46.358Z] Configure a credential helper to remove this warning. See [2021-07-09T20:30:46.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:30:46.358Z] [2021-07-09T20:30:46.358Z] Login Succeeded [2021-07-09T20:30:46.358Z] docker.io [2021-07-09T20:30:46.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:30:46.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:30:46.624Z] Configure a credential helper to remove this warning. See [2021-07-09T20:30:46.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:30:46.624Z] [2021-07-09T20:30:46.624Z] Login Succeeded [2021-07-09T20:30:46.624Z] ---> docker-login.sh ends [Pipeline] } [2021-07-09T20:30:46.638Z] 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-09T20:30:47.551Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-09T20:30:47.862Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-09T20:30:48.165Z] + true [2021-07-09T20:30:48.165Z] + sudo service docker restart [2021-07-09T20:30:48.165Z] Redirecting to /bin/systemctl restart docker.service [2021-07-09T20:31:02.195Z] Still waiting to schedule task [2021-07-09T20:31:02.196Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T20:31:06.365Z] provisioning config files... [2021-07-09T20:31:06.383Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-165@tmp/config4686897453400600212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:31:06.714Z] ---> docker-login.sh [2021-07-09T20:31:06.714Z] nexus3.edgexfoundry.org:10001 [2021-07-09T20:31:06.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:31:06.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:31:06.714Z] Configure a credential helper to remove this warning. See [2021-07-09T20:31:06.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:31:06.714Z] [2021-07-09T20:31:06.714Z] Login Succeeded [2021-07-09T20:31:06.714Z] nexus3.edgexfoundry.org:10002 [2021-07-09T20:31:06.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:31:06.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:31:06.980Z] Configure a credential helper to remove this warning. See [2021-07-09T20:31:06.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:31:06.980Z] [2021-07-09T20:31:06.980Z] Login Succeeded [2021-07-09T20:31:06.980Z] nexus3.edgexfoundry.org:10003 [2021-07-09T20:31:06.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:31:06.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:31:06.980Z] Configure a credential helper to remove this warning. See [2021-07-09T20:31:06.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:31:06.980Z] [2021-07-09T20:31:06.980Z] Login Succeeded [2021-07-09T20:31:06.980Z] nexus3.edgexfoundry.org:10004 [2021-07-09T20:31:07.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:31:07.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:31:07.242Z] Configure a credential helper to remove this warning. See [2021-07-09T20:31:07.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:31:07.242Z] [2021-07-09T20:31:07.242Z] Login Succeeded [2021-07-09T20:31:07.242Z] docker.io [2021-07-09T20:31:07.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:31:07.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:31:07.507Z] Configure a credential helper to remove this warning. See [2021-07-09T20:31:07.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:31:07.507Z] [2021-07-09T20:31:07.507Z] Login Succeeded [2021-07-09T20:31:07.515Z] ---> docker-login.sh ends [Pipeline] } [2021-07-09T20:31:07.517Z] 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-09T20:31:11.146Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-09T20:31:11.464Z] + ls -al . [2021-07-09T20:31:11.464Z] total 12 [2021-07-09T20:31:11.464Z] drwxrwxr-x. 4 jenkins jenkins 91 Jul 9 20:30 . [2021-07-09T20:31:11.464Z] drwxrwxr-x. 4 jenkins jenkins 112 Jul 9 20:30 .. [2021-07-09T20:31:11.464Z] -rw-rw-r--. 1 jenkins jenkins 590 Jul 9 20:30 Dockerfile [2021-07-09T20:31:11.464Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 9 20:30 .git [2021-07-09T20:31:11.464Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 9 20:30 .github [2021-07-09T20:31:11.464Z] -rw-rw-r--. 1 jenkins jenkins 585 Jul 9 20:30 .golangci.yml [2021-07-09T20:31:11.464Z] -rw-rw-r--. 1 jenkins jenkins 913 Jul 9 20:30 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2021-07-09T20:31:12.362Z] + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=4caf273cacefca9c76b0334b0bb96a0591624b30 --label arch=amd64 . [2021-07-09T20:31:12.362Z] Sending build context to Docker daemon 375.3kB [2021-07-09T20:31:12.362Z] Step 1/8 : FROM golang:1.16.5-alpine3.13 [2021-07-09T20:31:12.937Z] 1.16.5-alpine3.13: Pulling from library/golang [2021-07-09T20:31:13.199Z] 540db60ca938: Pulling fs layer [2021-07-09T20:31:13.199Z] adcc1eea9eea: Pulling fs layer [2021-07-09T20:31:13.199Z] 4c4ab2625f07: Pulling fs layer [2021-07-09T20:31:13.199Z] 0773c198feca: Pulling fs layer [2021-07-09T20:31:13.199Z] 345f892a5656: Pulling fs layer [2021-07-09T20:31:13.199Z] 0773c198feca: Waiting [2021-07-09T20:31:13.199Z] 345f892a5656: Waiting [2021-07-09T20:31:13.776Z] error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/f5/f5b325add028d35be286d0cb4ac3dae60b59ac5f6d3a0318b7475f5475655bd4/data?verify=1625865673-BwGxEwo3Ua2ISgmndjOE%2BJUPxls%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-09T20:31:14.224Z] Failed in branch amd64 [2021-07-09T20:33:00.936Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2315 in /w/workspace/exfoundry_ci-build-images_PR-165 [Pipeline] { [Pipeline] checkout [2021-07-09T20:33:01.187Z] Selected Git installation does not exist. Using Default [2021-07-09T20:33:01.187Z] The recommended git tool is: NONE [2021-07-09T20:33:06.378Z] using credential edgex-jenkins-ssh [2021-07-09T20:33:06.398Z] Cloning the remote Git repository [2021-07-09T20:33:06.448Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2021-07-09T20:33:06.562Z] > git init /w/workspace/exfoundry_ci-build-images_PR-165 # timeout=10 [2021-07-09T20:33:06.658Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2021-07-09T20:33:06.659Z] > git --version # timeout=10 [2021-07-09T20:33:06.679Z] > git --version # 'git version 2.17.1' [2021-07-09T20:33:06.681Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-09T20:33:06.808Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-09T20:33:08.345Z] Merging remotes/origin/golang-1.16 commit e183b5c7da8e4c5c8619236fd15651ed2b1bf5e2 into PR head commit 4caf273cacefca9c76b0334b0bb96a0591624b30 [2021-07-09T20:33:08.533Z] Merge succeeded, producing 4caf273cacefca9c76b0334b0bb96a0591624b30 [2021-07-09T20:33:08.534Z] Checking out Revision 4caf273cacefca9c76b0334b0bb96a0591624b30 (PR-165) [2021-07-09T20:33:07.663Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2021-07-09T20:33:07.692Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-09T20:33:07.726Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2021-07-09T20:33:07.759Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2021-07-09T20:33:07.759Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-09T20:33:07.771Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/golang-1.16:refs/remotes/origin/golang-1.16 # timeout=10 [2021-07-09T20:33:08.364Z] > git config core.sparsecheckout # timeout=10 [2021-07-09T20:33:08.378Z] > git checkout -f 4caf273cacefca9c76b0334b0bb96a0591624b30 # timeout=10 [2021-07-09T20:33:08.446Z] > git remote # timeout=10 [2021-07-09T20:33:08.472Z] > git config --get remote.origin.url # timeout=10 [2021-07-09T20:33:08.485Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-09T20:33:08.496Z] > git merge e183b5c7da8e4c5c8619236fd15651ed2b1bf5e2 # timeout=10 [2021-07-09T20:33:08.517Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-09T20:33:08.540Z] > git config core.sparsecheckout # timeout=10 [2021-07-09T20:33:08.550Z] > git checkout -f 4caf273cacefca9c76b0334b0bb96a0591624b30 # timeout=10 [2021-07-09T20:33:12.839Z] Commit message: "ci: add hadolint to facilitate linting of Dockerfiles" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-09T20:33:14.176Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-09T20:33:14.582Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-09T20:33:14.933Z] + + sudotrue [2021-07-09T20:33:14.933Z] service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T20:33:33.286Z] provisioning config files... [2021-07-09T20:33:33.313Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-165@tmp/config5182951065999121800tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:33:33.695Z] ---> docker-login.sh [2021-07-09T20:33:33.695Z] nexus3.edgexfoundry.org:10001 [2021-07-09T20:33:34.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:33:34.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:33:34.972Z] Configure a credential helper to remove this warning. See [2021-07-09T20:33:34.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:33:34.972Z] [2021-07-09T20:33:34.972Z] Login Succeeded [2021-07-09T20:33:34.972Z] nexus3.edgexfoundry.org:10002 [2021-07-09T20:33:35.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:33:35.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:33:35.574Z] Configure a credential helper to remove this warning. See [2021-07-09T20:33:35.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:33:35.574Z] [2021-07-09T20:33:35.574Z] Login Succeeded [2021-07-09T20:33:35.574Z] nexus3.edgexfoundry.org:10003 [2021-07-09T20:33:36.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:33:36.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:33:36.197Z] Configure a credential helper to remove this warning. See [2021-07-09T20:33:36.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:33:36.197Z] [2021-07-09T20:33:36.197Z] Login Succeeded [2021-07-09T20:33:36.197Z] nexus3.edgexfoundry.org:10004 [2021-07-09T20:33:36.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:33:36.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:33:36.799Z] Configure a credential helper to remove this warning. See [2021-07-09T20:33:36.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:33:36.799Z] [2021-07-09T20:33:36.799Z] Login Succeeded [2021-07-09T20:33:36.799Z] docker.io [2021-07-09T20:33:37.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:33:37.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:33:37.674Z] Configure a credential helper to remove this warning. See [2021-07-09T20:33:37.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:33:37.674Z] [2021-07-09T20:33:37.674Z] Login Succeeded [2021-07-09T20:33:37.674Z] ---> docker-login.sh ends [Pipeline] } [2021-07-09T20:33:37.691Z] 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-09T20:33:38.321Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-09T20:33:38.660Z] + ls -al . [2021-07-09T20:33:38.660Z] total 28 [2021-07-09T20:33:38.660Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 9 20:33 . [2021-07-09T20:33:38.660Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 9 20:33 .. [2021-07-09T20:33:38.660Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 9 20:33 .git [2021-07-09T20:33:38.660Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 9 20:33 .github [2021-07-09T20:33:38.660Z] -rw-rw-r-- 1 jenkins jenkins 585 Jul 9 20:33 .golangci.yml [2021-07-09T20:33:38.660Z] -rw-rw-r-- 1 jenkins jenkins 590 Jul 9 20:33 Dockerfile [2021-07-09T20:33:38.660Z] -rw-rw-r-- 1 jenkins jenkins 913 Jul 9 20:33 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2021-07-09T20:33:39.012Z] + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=4caf273cacefca9c76b0334b0bb96a0591624b30 --label arch=arm64 . [2021-07-09T20:33:39.291Z] Sending build context to Docker daemon 374.3kB [2021-07-09T20:33:39.291Z] Step 1/8 : FROM golang:1.16.5-alpine3.13 [2021-07-09T20:33:40.267Z] 1.16.5-alpine3.13: Pulling from library/golang [2021-07-09T20:33:40.267Z] 595b0fe564bb: Pulling fs layer [2021-07-09T20:33:40.267Z] 24495759ef45: Pulling fs layer [2021-07-09T20:33:40.267Z] d148012ef14d: Pulling fs layer [2021-07-09T20:33:40.267Z] cb65c68fc2e2: Pulling fs layer [2021-07-09T20:33:40.267Z] 093eec477d81: Pulling fs layer [2021-07-09T20:33:40.267Z] cb65c68fc2e2: Waiting [2021-07-09T20:33:40.267Z] 093eec477d81: Waiting [2021-07-09T20:33:40.543Z] 595b0fe564bb: Verifying Checksum [2021-07-09T20:33:40.543Z] 595b0fe564bb: Download complete [2021-07-09T20:33:40.543Z] d148012ef14d: Verifying Checksum [2021-07-09T20:33:40.543Z] d148012ef14d: Download complete [2021-07-09T20:33:40.543Z] 24495759ef45: Verifying Checksum [2021-07-09T20:33:40.817Z] 093eec477d81: Verifying Checksum [2021-07-09T20:33:40.817Z] 093eec477d81: Download complete [2021-07-09T20:33:41.093Z] 595b0fe564bb: Pull complete [2021-07-09T20:33:41.696Z] 24495759ef45: Pull complete [2021-07-09T20:33:42.296Z] d148012ef14d: Pull complete [2021-07-09T20:33:43.737Z] cb65c68fc2e2: Verifying Checksum [2021-07-09T20:33:43.737Z] cb65c68fc2e2: Download complete [2021-07-09T20:33:56.131Z] cb65c68fc2e2: Pull complete [2021-07-09T20:33:56.131Z] 093eec477d81: Pull complete [2021-07-09T20:33:56.131Z] Digest: sha256:4919b2f118f75395f69adcb899c1b796c4337d9649f0ef73aab34eef040149cf [2021-07-09T20:33:56.131Z] Status: Downloaded newer image for golang:1.16.5-alpine3.13 [2021-07-09T20:33:56.131Z] ---> 4ac5820bd72c [2021-07-09T20:33:56.131Z] Step 2/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-07-09T20:33:56.131Z] ---> Running in f2e4b6e1c6d2 [2021-07-09T20:33:56.404Z] Removing intermediate container f2e4b6e1c6d2 [2021-07-09T20:33:56.404Z] ---> 57d91afbb7a6 [2021-07-09T20:33:56.404Z] Step 3/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-09T20:33:56.677Z] ---> Running in b0c059d31832 [2021-07-09T20:33:59.311Z] Removing intermediate container b0c059d31832 [2021-07-09T20:33:59.311Z] ---> 713d1f2a0529 [2021-07-09T20:33:59.311Z] Step 4/8 : ENV HADOLINT_VERSION=2.6.0 [2021-07-09T20:33:59.311Z] ---> Running in 4caa0ae64dc9 [2021-07-09T20:33:59.584Z] Removing intermediate container 4caa0ae64dc9 [2021-07-09T20:33:59.584Z] ---> 16345eaa9c56 [2021-07-09T20:33:59.584Z] Step 5/8 : ADD https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64 /usr/local/bin/hadolint [2021-07-09T20:34:00.182Z] [2021-07-09T20:34:00.182Z] [2021-07-09T20:34:01.163Z] ---> 959252e28bf3 [2021-07-09T20:34:01.163Z] Step 6/8 : RUN apk add --update --no-cache git linux-headers make gcc musl-dev curl bash && chmod +x /usr/local/bin/hadolint [2021-07-09T20:34:01.163Z] ---> Running in e21b0096a843 [2021-07-09T20:34:02.613Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-09T20:34:03.593Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-09T20:34:04.241Z] (1/25) Installing ncurses-terminfo-base (6.2_p20210109-r0) [2021-07-09T20:34:04.241Z] (2/25) Installing ncurses-libs (6.2_p20210109-r0) [2021-07-09T20:34:04.513Z] (3/25) Installing readline (8.1.0-r0) [2021-07-09T20:34:04.513Z] (4/25) Installing bash (5.1.0-r0) [2021-07-09T20:34:04.785Z] Executing bash-5.1.0-r0.post-install [2021-07-09T20:34:04.785Z] (5/25) Installing brotli-libs (1.0.9-r3) [2021-07-09T20:34:04.785Z] (6/25) Installing nghttp2-libs (1.42.0-r1) [2021-07-09T20:34:04.785Z] (7/25) Installing libcurl (7.77.0-r1) [2021-07-09T20:34:05.056Z] (8/25) Installing curl (7.77.0-r1) [2021-07-09T20:34:05.056Z] (9/25) Installing libgcc (10.2.1_pre1-r3) [2021-07-09T20:34:05.056Z] (10/25) Installing libstdc++ (10.2.1_pre1-r3) [2021-07-09T20:34:06.036Z] (11/25) Installing binutils (2.35.2-r1) [2021-07-09T20:34:06.325Z] (12/25) Installing libgomp (10.2.1_pre1-r3) [2021-07-09T20:34:06.600Z] (13/25) Installing libatomic (10.2.1_pre1-r3) [2021-07-09T20:34:06.600Z] (14/25) Installing libgphobos (10.2.1_pre1-r3) [2021-07-09T20:34:07.194Z] (15/25) Installing gmp (6.2.1-r0) [2021-07-09T20:34:07.194Z] (16/25) Installing isl22 (0.22-r0) [2021-07-09T20:34:07.469Z] (17/25) Installing mpfr4 (4.1.0-r0) [2021-07-09T20:34:07.469Z] (18/25) Installing mpc1 (1.2.0-r0) [2021-07-09T20:34:07.750Z] (19/25) Installing gcc (10.2.1_pre1-r3) [2021-07-09T20:34:16.007Z] (20/25) Installing expat (2.2.10-r1) [2021-07-09T20:34:16.007Z] (21/25) Installing pcre2 (10.36-r0) [2021-07-09T20:34:16.007Z] (22/25) Installing git (2.30.2-r0) [2021-07-09T20:34:17.984Z] (23/25) Installing linux-headers (5.7.8-r0) [2021-07-09T20:34:18.284Z] (24/25) Installing make (4.3-r0) [2021-07-09T20:34:18.560Z] (25/25) Installing musl-dev (1.2.2-r1) [2021-07-09T20:34:19.162Z] Executing busybox-1.32.1-r6.trigger [2021-07-09T20:34:19.162Z] OK: 138 MiB in 40 packages [2021-07-09T20:34:25.893Z] Removing intermediate container e21b0096a843 [2021-07-09T20:34:25.893Z] ---> c244006de894 [2021-07-09T20:34:25.893Z] Step 7/8 : LABEL arch=arm64 [2021-07-09T20:34:25.893Z] ---> Running in ad15b0075c3d [2021-07-09T20:34:26.876Z] Removing intermediate container ad15b0075c3d [2021-07-09T20:34:26.876Z] ---> 26b5833e8da3 [2021-07-09T20:34:26.876Z] Step 8/8 : LABEL git_sha=4caf273cacefca9c76b0334b0bb96a0591624b30 [2021-07-09T20:34:26.876Z] ---> Running in bf695b5b01f6 [2021-07-09T20:34:27.852Z] Removing intermediate container bf695b5b01f6 [2021-07-09T20:34:27.852Z] ---> 515067492a40 [2021-07-09T20:34:27.852Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-09T20:34:27.852Z] Successfully built 515067492a40 [2021-07-09T20:34:27.852Z] 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-09T20:34:29.362Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:34:29.941Z] ---> package-listing.sh [2021-07-09T20:34:29.942Z] ++ facter osfamily [2021-07-09T20:34:29.942Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-09T20:34:30.204Z] + OS_FAMILY=redhat [2021-07-09T20:34:30.204Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-165 [2021-07-09T20:34:30.204Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-09T20:34:30.204Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-09T20:34:30.204Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-09T20:34:30.204Z] + PACKAGES=/tmp/packages_start.txt [2021-07-09T20:34:30.204Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-165 ']' [2021-07-09T20:34:30.204Z] + PACKAGES=/tmp/packages_end.txt [2021-07-09T20:34:30.204Z] + case "${OS_FAMILY}" in [2021-07-09T20:34:30.204Z] + sort [2021-07-09T20:34:30.204Z] + rpm -qa [2021-07-09T20:34:30.779Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-09T20:34:30.779Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-09T20:34:30.779Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-09T20:34:30.779Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-165 ']' [2021-07-09T20:34:30.779Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-165/archives/ [2021-07-09T20:34:30.779Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-165/archives/ [Pipeline] echo [2021-07-09T20:34:30.792Z] 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-165/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-09T20:34:31.082Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-09T20:34:31.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-09T20:34:31.652Z] [2021-07-09T20:34:31.652Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-09T20:34:31.986Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-09T20:34:31.986Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-09T20:34:31.986Z] df20fa9351a1: Pulling fs layer [2021-07-09T20:34:31.986Z] 36b3adc4ff6f: Pulling fs layer [2021-07-09T20:34:31.986Z] 8ad3a11d3b57: Pulling fs layer [2021-07-09T20:34:31.986Z] 46f8f816bc3b: Pulling fs layer [2021-07-09T20:34:31.986Z] 93b61091891f: Pulling fs layer [2021-07-09T20:34:31.986Z] 93b9cdb0e59b: Pulling fs layer [2021-07-09T20:34:31.986Z] 5e14af77c1be: Pulling fs layer [2021-07-09T20:34:31.986Z] 01666e4c0597: Pulling fs layer [2021-07-09T20:34:31.986Z] aa168da1d23b: Pulling fs layer [2021-07-09T20:34:31.986Z] 46f8f816bc3b: Waiting [2021-07-09T20:34:31.986Z] 93b61091891f: Waiting [2021-07-09T20:34:31.986Z] 93b9cdb0e59b: Waiting [2021-07-09T20:34:31.986Z] 5e14af77c1be: Waiting [2021-07-09T20:34:31.986Z] 01666e4c0597: Waiting [2021-07-09T20:34:31.986Z] aa168da1d23b: Waiting [2021-07-09T20:34:31.986Z] 36b3adc4ff6f: Verifying Checksum [2021-07-09T20:34:31.986Z] 36b3adc4ff6f: Download complete [2021-07-09T20:34:31.986Z] 46f8f816bc3b: Verifying Checksum [2021-07-09T20:34:31.986Z] 46f8f816bc3b: Download complete [2021-07-09T20:34:31.986Z] df20fa9351a1: Verifying Checksum [2021-07-09T20:34:31.986Z] df20fa9351a1: Download complete [2021-07-09T20:34:32.248Z] 93b9cdb0e59b: Verifying Checksum [2021-07-09T20:34:32.249Z] 93b9cdb0e59b: Download complete [2021-07-09T20:34:32.249Z] 93b61091891f: Verifying Checksum [2021-07-09T20:34:32.249Z] 93b61091891f: Download complete [2021-07-09T20:34:32.249Z] 01666e4c0597: Verifying Checksum [2021-07-09T20:34:32.249Z] 01666e4c0597: Download complete [2021-07-09T20:34:32.249Z] 5e14af77c1be: Verifying Checksum [2021-07-09T20:34:32.249Z] 5e14af77c1be: Download complete [2021-07-09T20:34:32.249Z] 8ad3a11d3b57: Verifying Checksum [2021-07-09T20:34:32.249Z] 8ad3a11d3b57: Download complete [2021-07-09T20:34:32.249Z] df20fa9351a1: Pull complete [2021-07-09T20:34:32.516Z] 36b3adc4ff6f: Pull complete [2021-07-09T20:34:33.095Z] 8ad3a11d3b57: Pull complete [2021-07-09T20:34:33.356Z] 46f8f816bc3b: Pull complete [2021-07-09T20:34:33.617Z] 93b61091891f: Pull complete [2021-07-09T20:34:33.877Z] 93b9cdb0e59b: Pull complete [2021-07-09T20:34:33.877Z] 5e14af77c1be: Pull complete [2021-07-09T20:34:33.877Z] 01666e4c0597: Pull complete [2021-07-09T20:34:34.146Z] aa168da1d23b: Verifying Checksum [2021-07-09T20:34:34.146Z] aa168da1d23b: Download complete [2021-07-09T20:34:38.401Z] aa168da1d23b: Pull complete [2021-07-09T20:34:38.401Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-09T20:34:38.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-09T20:34:38.401Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-09T20:34:38.500Z] prd-centos7-docker-4c-2g-2314 does not seem to be running inside a container [2021-07-09T20:34:38.540Z] $ 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-165/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-165 -v /w/workspace/exfoundry_ci-build-images_PR-165:/w/workspace/exfoundry_ci-build-images_PR-165:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-165@tmp:/w/workspace/exfoundry_ci-build-images_PR-165@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-09T20:34:40.871Z] $ docker top 32350f768b4a9a6cd1c7694ed5add5c153a41c3f3217734d518216c604f6b44c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-09T20:34:41.260Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-09T20:34:41.593Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-09T20:34:41.915Z] + ls /var/log/sa-host [2021-07-09T20:34:41.915Z] + sadf -c /var/log/sa-host/sa05 [2021-07-09T20:34:41.915Z] file_magic: OK [2021-07-09T20:34:41.915Z] HZ: Using current value: 100 [2021-07-09T20:34:41.915Z] file_header: OK [2021-07-09T20:34:41.915Z] 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-09T20:34:41.915Z] Statistics: [2021-07-09T20:34:41.915Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-09T20:34:41.915Z] File successfully converted to sysstat format version 12.2.1 [2021-07-09T20:34:41.915Z] + sadf -c /var/log/sa-host/sa09 [2021-07-09T20:34:41.915Z] file_magic: OK [2021-07-09T20:34:41.915Z] HZ: Using current value: 100 [2021-07-09T20:34:41.915Z] file_header: OK [2021-07-09T20:34:41.915Z] 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-09T20:34:41.915Z] Statistics: [2021-07-09T20:34:41.915Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-09T20:34:41.915Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T20:34:42.562Z] provisioning config files... [2021-07-09T20:34:42.575Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-165@tmp/config6634695276955457809tmp [Pipeline] { [Pipeline] echo [2021-07-09T20:34:42.597Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:34:42.899Z] ---> create-netrc.sh [Pipeline] } [2021-07-09T20:34:42.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:34:43.334Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-09T20:34:43.346Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:34:43.650Z] ---> sudo-logs.sh [2021-07-09T20:34:43.651Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-09T20:34:43.676Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:34:43.990Z] ---> job-cost.sh [2021-07-09T20:34:43.990Z] lf-activate-venv: SKIPPING [2021-07-09T20:34:43.990Z] INFO: No Stack... [2021-07-09T20:34:44.936Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-09T20:34:45.198Z] INFO: Archiving Costs [Pipeline] echo [2021-07-09T20:34:45.214Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:34:45.526Z] ---> logs-deploy.sh [2021-07-09T20:34:45.526Z] lf-activate-venv: SKIPPING [2021-07-09T20:34:45.526Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-165/2 [2021-07-09T20:34:45.526Z] INFO: archiving workspace using pattern(s): [2021-07-09T20:34:46.478Z] Archives upload complete. [2021-07-09T20:34:46.478Z] INFO: archiving logs to Nexus