ernestojeda commented: recheck 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-ssh778874821527985129.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-ssh3986257436581802420.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-ssh8178070586396774092.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-ssh6929327242624591489.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-ssh598909411567586790.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 Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2314’ Running on prd-centos7-docker-4c-2g-2317 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-ssh1687663891657911457.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-ssh5761042993280989909.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-ssh4589348870702264397.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" > git rev-list --no-walk 4caf273cacefca9c76b0334b0bb96a0591624b30 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-09T20:37:15.205Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-09T20:37:15.297Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-09T20:37:15.323Z] ========================================================= [2021-07-09T20:37:15.323Z] EdgeX Global Pipelines Version Info [2021-07-09T20:37:15.323Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:37:16.721Z] ------------------- [2021-07-09T20:37:16.721Z] stable info: [2021-07-09T20:37:16.721Z] ------------------- [2021-07-09T20:37:16.721Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-09T20:37:16.721Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-09T20:37:16.721Z] Message: update stable to v1.0.196 [2021-07-09T20:37:17.295Z] ------------------- [2021-07-09T20:37:17.295Z] experimental info: [2021-07-09T20:37:17.295Z] ------------------- [2021-07-09T20:37:17.295Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-09T20:37:17.295Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-09T20:37:17.295Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2021-07-09T20:37:17.442Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2021-07-09T20:37:17.461Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo [2021-07-09T20:37:17.480Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2021-07-09T20:37:17.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-09T20:37:17.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-09T20:37:17.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo [2021-07-09T20:37:17.555Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2021-07-09T20:37:17.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2021-07-09T20:37:17.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2021-07-09T20:37:17.612Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-09T20:37:17.631Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2021-07-09T20:37:17.649Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo [2021-07-09T20:37:17.667Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-09T20:37:17.685Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-09T20:37:17.703Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.16 [Pipeline] echo [2021-07-09T20:37:17.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.16-alpine 1.16-alpine3.13 [Pipeline] echo [2021-07-09T20:37:17.738Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo [2021-07-09T20:37:17.755Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo [2021-07-09T20:37:17.773Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo [2021-07-09T20:37:17.790Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4caf273cacefca9c76b0334b0bb96a0591624b30 [Pipeline] echo [2021-07-09T20:37:17.808Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4caf273 [Pipeline] echo [2021-07-09T20:37:17.826Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T20:37:17.894Z] provisioning config files... [2021-07-09T20:37:17.915Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-165@tmp/config1767912707790761275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:37:18.234Z] ---> docker-login.sh [2021-07-09T20:37:18.234Z] nexus3.edgexfoundry.org:10001 [2021-07-09T20:37:18.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:37:18.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:37:18.498Z] Configure a credential helper to remove this warning. See [2021-07-09T20:37:18.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:37:18.498Z] [2021-07-09T20:37:18.498Z] Login Succeeded [2021-07-09T20:37:18.498Z] nexus3.edgexfoundry.org:10002 [2021-07-09T20:37:18.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:37:18.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:37:18.760Z] Configure a credential helper to remove this warning. See [2021-07-09T20:37:18.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:37:18.760Z] [2021-07-09T20:37:18.760Z] Login Succeeded [2021-07-09T20:37:18.760Z] nexus3.edgexfoundry.org:10003 [2021-07-09T20:37:18.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:37:18.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:37:18.760Z] Configure a credential helper to remove this warning. See [2021-07-09T20:37:18.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:37:18.760Z] [2021-07-09T20:37:18.760Z] Login Succeeded [2021-07-09T20:37:18.760Z] nexus3.edgexfoundry.org:10004 [2021-07-09T20:37:19.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:37:19.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:37:19.023Z] Configure a credential helper to remove this warning. See [2021-07-09T20:37:19.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:37:19.023Z] [2021-07-09T20:37:19.023Z] Login Succeeded [2021-07-09T20:37:19.023Z] docker.io [2021-07-09T20:37:19.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:37:19.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:37:19.289Z] Configure a credential helper to remove this warning. See [2021-07-09T20:37:19.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:37:19.289Z] [2021-07-09T20:37:19.289Z] Login Succeeded [2021-07-09T20:37:19.289Z] ---> docker-login.sh ends [Pipeline] } [2021-07-09T20:37:19.298Z] 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:37:19.947Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-09T20:37:20.265Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-09T20:37:20.560Z] + sudo service docker restart [2021-07-09T20:37:20.560Z] + true [2021-07-09T20:37:20.560Z] Redirecting to /bin/systemctl restart docker.service [2021-07-09T20:37:34.599Z] Still waiting to schedule task [2021-07-09T20:37:34.599Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T20:37:38.908Z] provisioning config files... [2021-07-09T20:37:38.927Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-165@tmp/config6323259064596138828tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:37:39.245Z] ---> docker-login.sh [2021-07-09T20:37:39.245Z] nexus3.edgexfoundry.org:10001 [2021-07-09T20:37:39.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:37:39.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:37:39.245Z] Configure a credential helper to remove this warning. See [2021-07-09T20:37:39.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:37:39.245Z] [2021-07-09T20:37:39.245Z] Login Succeeded [2021-07-09T20:37:39.245Z] nexus3.edgexfoundry.org:10002 [2021-07-09T20:37:39.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:37:39.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:37:39.508Z] Configure a credential helper to remove this warning. See [2021-07-09T20:37:39.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:37:39.508Z] [2021-07-09T20:37:39.508Z] Login Succeeded [2021-07-09T20:37:39.508Z] nexus3.edgexfoundry.org:10003 [2021-07-09T20:37:39.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:37:39.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:37:39.508Z] Configure a credential helper to remove this warning. See [2021-07-09T20:37:39.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:37:39.508Z] [2021-07-09T20:37:39.508Z] Login Succeeded [2021-07-09T20:37:39.508Z] nexus3.edgexfoundry.org:10004 [2021-07-09T20:37:39.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:37:39.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:37:39.769Z] Configure a credential helper to remove this warning. See [2021-07-09T20:37:39.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:37:39.769Z] [2021-07-09T20:37:39.769Z] Login Succeeded [2021-07-09T20:37:39.769Z] docker.io [2021-07-09T20:37:39.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:37:40.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:37:40.034Z] Configure a credential helper to remove this warning. See [2021-07-09T20:37:40.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:37:40.034Z] [2021-07-09T20:37:40.034Z] Login Succeeded [2021-07-09T20:37:40.034Z] ---> docker-login.sh ends [Pipeline] } [2021-07-09T20:37:40.044Z] 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:37:41.226Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-09T20:37:41.522Z] + ls -al . [2021-07-09T20:37:41.522Z] total 12 [2021-07-09T20:37:41.522Z] drwxrwxr-x. 4 jenkins jenkins 91 Jul 9 20:37 . [2021-07-09T20:37:41.522Z] drwxrwxr-x. 4 jenkins jenkins 112 Jul 9 20:37 .. [2021-07-09T20:37:41.522Z] -rw-rw-r--. 1 jenkins jenkins 590 Jul 9 20:37 Dockerfile [2021-07-09T20:37:41.522Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 9 20:37 .git [2021-07-09T20:37:41.522Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 9 20:37 .github [2021-07-09T20:37:41.522Z] -rw-rw-r--. 1 jenkins jenkins 585 Jul 9 20:37 .golangci.yml [2021-07-09T20:37:41.522Z] -rw-rw-r--. 1 jenkins jenkins 913 Jul 9 20:37 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2021-07-09T20:37:41.925Z] + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=4caf273cacefca9c76b0334b0bb96a0591624b30 --label arch=amd64 . [2021-07-09T20:37:41.925Z] Sending build context to Docker daemon 375.3kB [2021-07-09T20:37:41.925Z] Step 1/8 : FROM golang:1.16.5-alpine3.13 [2021-07-09T20:37:42.498Z] 1.16.5-alpine3.13: Pulling from library/golang [2021-07-09T20:37:42.498Z] 540db60ca938: Pulling fs layer [2021-07-09T20:37:42.498Z] adcc1eea9eea: Pulling fs layer [2021-07-09T20:37:42.498Z] 4c4ab2625f07: Pulling fs layer [2021-07-09T20:37:42.498Z] 0773c198feca: Pulling fs layer [2021-07-09T20:37:42.498Z] 345f892a5656: Pulling fs layer [2021-07-09T20:37:42.498Z] 0773c198feca: Waiting [2021-07-09T20:37:42.498Z] 345f892a5656: Waiting [2021-07-09T20:37:42.764Z] adcc1eea9eea: Verifying Checksum [2021-07-09T20:37:42.765Z] adcc1eea9eea: Download complete [2021-07-09T20:37:42.765Z] 540db60ca938: Verifying Checksum [2021-07-09T20:37:42.765Z] 540db60ca938: Download complete [2021-07-09T20:37:42.765Z] 4c4ab2625f07: Verifying Checksum [2021-07-09T20:37:42.765Z] 4c4ab2625f07: Download complete [2021-07-09T20:37:43.028Z] 540db60ca938: Pull complete [2021-07-09T20:37:43.028Z] 345f892a5656: Verifying Checksum [2021-07-09T20:37:43.029Z] 345f892a5656: Download complete [2021-07-09T20:37:43.291Z] adcc1eea9eea: Pull complete [2021-07-09T20:37:43.291Z] 4c4ab2625f07: Pull complete [2021-07-09T20:37:44.252Z] 0773c198feca: Verifying Checksum [2021-07-09T20:37:44.252Z] 0773c198feca: Download complete [2021-07-09T20:37:47.589Z] 0773c198feca: Pull complete [2021-07-09T20:37:47.589Z] 345f892a5656: Pull complete [2021-07-09T20:37:47.589Z] Digest: sha256:4919b2f118f75395f69adcb899c1b796c4337d9649f0ef73aab34eef040149cf [2021-07-09T20:37:47.589Z] Status: Downloaded newer image for golang:1.16.5-alpine3.13 [2021-07-09T20:37:47.589Z] ---> f5b325add028 [2021-07-09T20:37:47.589Z] Step 2/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-07-09T20:37:50.172Z] ---> Running in b35accc2e8fb [2021-07-09T20:37:50.172Z] Removing intermediate container b35accc2e8fb [2021-07-09T20:37:50.172Z] ---> cf124c8ee44e [2021-07-09T20:37:50.172Z] Step 3/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-09T20:37:50.172Z] ---> Running in 929b332c370b [2021-07-09T20:37:50.434Z] Removing intermediate container 929b332c370b [2021-07-09T20:37:50.434Z] ---> 5b7e11536f48 [2021-07-09T20:37:50.434Z] Step 4/8 : ENV HADOLINT_VERSION=2.6.0 [2021-07-09T20:37:50.697Z] ---> Running in 7f35b29ac233 [2021-07-09T20:37:50.697Z] Removing intermediate container 7f35b29ac233 [2021-07-09T20:37:50.697Z] ---> 2df41ce79b15 [2021-07-09T20:37:50.697Z] 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:37:50.963Z] [2021-07-09T20:37:50.963Z] [2021-07-09T20:37:51.234Z] ---> 96d903bd7253 [2021-07-09T20:37:51.234Z] 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:37:51.234Z] ---> Running in f94735c2e201 [2021-07-09T20:37:51.498Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-09T20:37:52.442Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-09T20:37:52.704Z] (1/25) Installing ncurses-terminfo-base (6.2_p20210109-r0) [2021-07-09T20:37:52.965Z] (2/25) Installing ncurses-libs (6.2_p20210109-r0) [2021-07-09T20:37:52.965Z] (3/25) Installing readline (8.1.0-r0) [2021-07-09T20:37:52.965Z] (4/25) Installing bash (5.1.0-r0) [2021-07-09T20:37:53.910Z] Executing bash-5.1.0-r0.post-install [2021-07-09T20:37:53.910Z] (5/25) Installing brotli-libs (1.0.9-r3) [2021-07-09T20:37:53.910Z] (6/25) Installing nghttp2-libs (1.42.0-r1) [2021-07-09T20:37:53.910Z] (7/25) Installing libcurl (7.77.0-r1) [2021-07-09T20:37:54.182Z] (8/25) Installing curl (7.77.0-r1) [2021-07-09T20:37:54.182Z] (9/25) Installing libgcc (10.2.1_pre1-r3) [2021-07-09T20:37:54.182Z] (10/25) Installing libstdc++ (10.2.1_pre1-r3) [2021-07-09T20:37:54.758Z] (11/25) Installing binutils (2.35.2-r1) [2021-07-09T20:37:55.333Z] (12/25) Installing libgomp (10.2.1_pre1-r3) [2021-07-09T20:37:55.333Z] (13/25) Installing libatomic (10.2.1_pre1-r3) [2021-07-09T20:37:55.595Z] (14/25) Installing libgphobos (10.2.1_pre1-r3) [2021-07-09T20:37:56.167Z] (15/25) Installing gmp (6.2.1-r0) [2021-07-09T20:37:56.167Z] (16/25) Installing isl22 (0.22-r0) [2021-07-09T20:37:56.431Z] (17/25) Installing mpfr4 (4.1.0-r0) [2021-07-09T20:37:57.001Z] (18/25) Installing mpc1 (1.2.0-r0) [2021-07-09T20:37:57.262Z] (19/25) Installing gcc (10.2.1_pre1-r3) [2021-07-09T20:38:05.419Z] (20/25) Installing expat (2.2.10-r1) [2021-07-09T20:38:05.419Z] (21/25) Installing pcre2 (10.36-r0) [2021-07-09T20:38:05.419Z] (22/25) Installing git (2.30.2-r0) [2021-07-09T20:38:06.809Z] (23/25) Installing linux-headers (5.7.8-r0) [2021-07-09T20:38:07.071Z] (24/25) Installing make (4.3-r0) [2021-07-09T20:38:07.071Z] (25/25) Installing musl-dev (1.2.2-r1) [2021-07-09T20:38:08.025Z] Executing busybox-1.32.1-r6.trigger [2021-07-09T20:38:08.025Z] OK: 149 MiB in 40 packages [2021-07-09T20:38:12.256Z] Removing intermediate container f94735c2e201 [2021-07-09T20:38:12.256Z] ---> 69802523d952 [2021-07-09T20:38:12.256Z] Step 7/8 : LABEL arch=amd64 [2021-07-09T20:38:12.256Z] ---> Running in 09c530118af6 [2021-07-09T20:38:12.256Z] Removing intermediate container 09c530118af6 [2021-07-09T20:38:12.256Z] ---> 469dba07f49b [2021-07-09T20:38:12.256Z] Step 8/8 : LABEL git_sha=4caf273cacefca9c76b0334b0bb96a0591624b30 [2021-07-09T20:38:12.256Z] ---> Running in 92a7d31bcb28 [2021-07-09T20:38:12.516Z] Removing intermediate container 92a7d31bcb28 [2021-07-09T20:38:12.516Z] ---> 2da7e448a91f [2021-07-09T20:38:12.516Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-09T20:38:12.516Z] Successfully built 2da7e448a91f [2021-07-09T20:38:12.516Z] Successfully tagged edgex-devops/edgex-golang-base:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-09T20:39:39.511Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2320 in /w/workspace/exfoundry_ci-build-images_PR-165 [Pipeline] { [Pipeline] checkout [2021-07-09T20:39:39.724Z] Selected Git installation does not exist. Using Default [2021-07-09T20:39:39.724Z] The recommended git tool is: NONE [2021-07-09T20:39:45.501Z] using credential edgex-jenkins-ssh [2021-07-09T20:39:45.531Z] Cloning the remote Git repository [2021-07-09T20:39:45.597Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2021-07-09T20:39:45.710Z] > git init /w/workspace/exfoundry_ci-build-images_PR-165 # timeout=10 [2021-07-09T20:39:45.865Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2021-07-09T20:39:45.865Z] > git --version # timeout=10 [2021-07-09T20:39:45.903Z] > git --version # 'git version 2.17.1' [2021-07-09T20:39:45.905Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-09T20:39:45.998Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-09T20:39:46.830Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2021-07-09T20:39:46.850Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-09T20:39:46.877Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2021-07-09T20:39:46.920Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2021-07-09T20:39:46.920Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-09T20:39:46.932Z] > 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:39:47.522Z] Merging remotes/origin/golang-1.16 commit e183b5c7da8e4c5c8619236fd15651ed2b1bf5e2 into PR head commit 4caf273cacefca9c76b0334b0bb96a0591624b30 [2021-07-09T20:39:47.706Z] Merge succeeded, producing 4caf273cacefca9c76b0334b0bb96a0591624b30 [2021-07-09T20:39:47.707Z] Checking out Revision 4caf273cacefca9c76b0334b0bb96a0591624b30 (PR-165) [2021-07-09T20:39:47.538Z] > git config core.sparsecheckout # timeout=10 [2021-07-09T20:39:47.553Z] > git checkout -f 4caf273cacefca9c76b0334b0bb96a0591624b30 # timeout=10 [2021-07-09T20:39:47.622Z] > git remote # timeout=10 [2021-07-09T20:39:47.640Z] > git config --get remote.origin.url # timeout=10 [2021-07-09T20:39:47.649Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-09T20:39:47.660Z] > git merge e183b5c7da8e4c5c8619236fd15651ed2b1bf5e2 # timeout=10 [2021-07-09T20:39:47.682Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-09T20:39:47.710Z] > git config core.sparsecheckout # timeout=10 [2021-07-09T20:39:47.729Z] > git checkout -f 4caf273cacefca9c76b0334b0bb96a0591624b30 # timeout=10 [2021-07-09T20:39:51.932Z] 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:39:53.285Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-09T20:39:53.730Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-09T20:39:54.070Z] + true [2021-07-09T20:39:54.070Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T20:40:12.436Z] provisioning config files... [2021-07-09T20:40:12.462Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-165@tmp/config666924652178874174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:40:12.838Z] ---> docker-login.sh [2021-07-09T20:40:12.838Z] nexus3.edgexfoundry.org:10001 [2021-07-09T20:40:13.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:40:14.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:40:14.043Z] Configure a credential helper to remove this warning. See [2021-07-09T20:40:14.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:40:14.043Z] [2021-07-09T20:40:14.043Z] Login Succeeded [2021-07-09T20:40:14.043Z] nexus3.edgexfoundry.org:10002 [2021-07-09T20:40:14.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:40:14.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:40:14.590Z] Configure a credential helper to remove this warning. See [2021-07-09T20:40:14.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:40:14.590Z] [2021-07-09T20:40:14.590Z] Login Succeeded [2021-07-09T20:40:14.590Z] nexus3.edgexfoundry.org:10003 [2021-07-09T20:40:14.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:40:15.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:40:15.146Z] Configure a credential helper to remove this warning. See [2021-07-09T20:40:15.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:40:15.146Z] [2021-07-09T20:40:15.146Z] Login Succeeded [2021-07-09T20:40:15.146Z] nexus3.edgexfoundry.org:10004 [2021-07-09T20:40:15.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:40:15.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:40:15.708Z] Configure a credential helper to remove this warning. See [2021-07-09T20:40:15.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:40:15.708Z] [2021-07-09T20:40:15.708Z] Login Succeeded [2021-07-09T20:40:15.708Z] docker.io [2021-07-09T20:40:15.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T20:40:16.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T20:40:16.592Z] Configure a credential helper to remove this warning. See [2021-07-09T20:40:16.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T20:40:16.592Z] [2021-07-09T20:40:16.592Z] Login Succeeded [2021-07-09T20:40:16.592Z] ---> docker-login.sh ends [Pipeline] } [2021-07-09T20:40:16.611Z] 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:40:17.204Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-09T20:40:17.551Z] + ls -al . [2021-07-09T20:40:17.551Z] total 28 [2021-07-09T20:40:17.551Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 9 20:39 . [2021-07-09T20:40:17.551Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 9 20:39 .. [2021-07-09T20:40:17.551Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 9 20:39 .git [2021-07-09T20:40:17.551Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 9 20:39 .github [2021-07-09T20:40:17.551Z] -rw-rw-r-- 1 jenkins jenkins 585 Jul 9 20:39 .golangci.yml [2021-07-09T20:40:17.551Z] -rw-rw-r-- 1 jenkins jenkins 590 Jul 9 20:39 Dockerfile [2021-07-09T20:40:17.551Z] -rw-rw-r-- 1 jenkins jenkins 913 Jul 9 20:39 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2021-07-09T20:40:17.902Z] + 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:40:18.178Z] Sending build context to Docker daemon 374.3kB [2021-07-09T20:40:18.473Z] Step 1/8 : FROM golang:1.16.5-alpine3.13 [2021-07-09T20:40:19.069Z] 1.16.5-alpine3.13: Pulling from library/golang [2021-07-09T20:40:19.069Z] 595b0fe564bb: Pulling fs layer [2021-07-09T20:40:19.069Z] 24495759ef45: Pulling fs layer [2021-07-09T20:40:19.069Z] d148012ef14d: Pulling fs layer [2021-07-09T20:40:19.069Z] cb65c68fc2e2: Pulling fs layer [2021-07-09T20:40:19.069Z] 093eec477d81: Pulling fs layer [2021-07-09T20:40:19.069Z] cb65c68fc2e2: Waiting [2021-07-09T20:40:19.069Z] 093eec477d81: Waiting [2021-07-09T20:40:19.349Z] d148012ef14d: Verifying Checksum [2021-07-09T20:40:19.349Z] d148012ef14d: Download complete [2021-07-09T20:40:19.349Z] 24495759ef45: Verifying Checksum [2021-07-09T20:40:19.349Z] 24495759ef45: Download complete [2021-07-09T20:40:19.349Z] 595b0fe564bb: Verifying Checksum [2021-07-09T20:40:19.349Z] 595b0fe564bb: Download complete [2021-07-09T20:40:19.626Z] 093eec477d81: Verifying Checksum [2021-07-09T20:40:20.226Z] 595b0fe564bb: Pull complete [2021-07-09T20:40:20.828Z] 24495759ef45: Pull complete [2021-07-09T20:40:21.100Z] d148012ef14d: Pull complete [2021-07-09T20:40:22.082Z] cb65c68fc2e2: Verifying Checksum [2021-07-09T20:40:22.082Z] cb65c68fc2e2: Download complete [2021-07-09T20:40:34.573Z] cb65c68fc2e2: Pull complete [2021-07-09T20:40:34.573Z] 093eec477d81: Pull complete [2021-07-09T20:40:34.573Z] Digest: sha256:4919b2f118f75395f69adcb899c1b796c4337d9649f0ef73aab34eef040149cf [2021-07-09T20:40:34.573Z] Status: Downloaded newer image for golang:1.16.5-alpine3.13 [2021-07-09T20:40:34.573Z] ---> 4ac5820bd72c [2021-07-09T20:40:34.573Z] Step 2/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-07-09T20:40:34.573Z] ---> Running in a88db93fdbb9 [2021-07-09T20:40:35.176Z] Removing intermediate container a88db93fdbb9 [2021-07-09T20:40:35.176Z] ---> 67e25f7e8f07 [2021-07-09T20:40:35.176Z] Step 3/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-09T20:40:35.176Z] ---> Running in b81e3e826dad [2021-07-09T20:40:37.820Z] Removing intermediate container b81e3e826dad [2021-07-09T20:40:37.820Z] ---> eb5fabd8692e [2021-07-09T20:40:37.820Z] Step 4/8 : ENV HADOLINT_VERSION=2.6.0 [2021-07-09T20:40:37.820Z] ---> Running in 0cb334f6d21d [2021-07-09T20:40:38.421Z] Removing intermediate container 0cb334f6d21d [2021-07-09T20:40:38.421Z] ---> 3e53c2b71bdf [2021-07-09T20:40:38.421Z] 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:40:38.696Z] [2021-07-09T20:40:38.696Z] [2021-07-09T20:40:39.681Z] ---> bd77dc883f82 [2021-07-09T20:40:39.681Z] 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:40:39.681Z] ---> Running in dd5a7a21a457 [2021-07-09T20:40:41.134Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-09T20:40:42.107Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-09T20:40:42.704Z] (1/25) Installing ncurses-terminfo-base (6.2_p20210109-r0) [2021-07-09T20:40:42.704Z] (2/25) Installing ncurses-libs (6.2_p20210109-r0) [2021-07-09T20:40:42.704Z] (3/25) Installing readline (8.1.0-r0) [2021-07-09T20:40:42.974Z] (4/25) Installing bash (5.1.0-r0) [2021-07-09T20:40:43.245Z] Executing bash-5.1.0-r0.post-install [2021-07-09T20:40:43.245Z] (5/25) Installing brotli-libs (1.0.9-r3) [2021-07-09T20:40:43.245Z] (6/25) Installing nghttp2-libs (1.42.0-r1) [2021-07-09T20:40:43.245Z] (7/25) Installing libcurl (7.77.0-r1) [2021-07-09T20:40:43.516Z] (8/25) Installing curl (7.77.0-r1) [2021-07-09T20:40:43.516Z] (9/25) Installing libgcc (10.2.1_pre1-r3) [2021-07-09T20:40:43.516Z] (10/25) Installing libstdc++ (10.2.1_pre1-r3) [2021-07-09T20:40:44.490Z] (11/25) Installing binutils (2.35.2-r1) [2021-07-09T20:40:45.086Z] (12/25) Installing libgomp (10.2.1_pre1-r3) [2021-07-09T20:40:45.086Z] (13/25) Installing libatomic (10.2.1_pre1-r3) [2021-07-09T20:40:45.363Z] (14/25) Installing libgphobos (10.2.1_pre1-r3) [2021-07-09T20:40:45.953Z] (15/25) Installing gmp (6.2.1-r0) [2021-07-09T20:40:46.939Z] (16/25) Installing isl22 (0.22-r0) [2021-07-09T20:40:47.211Z] (17/25) Installing mpfr4 (4.1.0-r0) [2021-07-09T20:40:47.211Z] (18/25) Installing mpc1 (1.2.0-r0) [2021-07-09T20:40:47.211Z] (19/25) Installing gcc (10.2.1_pre1-r3) [2021-07-09T20:40:59.603Z] (20/25) Installing expat (2.2.10-r1) [2021-07-09T20:40:59.603Z] (21/25) Installing pcre2 (10.36-r0) [2021-07-09T20:40:59.603Z] (22/25) Installing git (2.30.2-r0) [2021-07-09T20:41:00.576Z] (23/25) Installing linux-headers (5.7.8-r0) [2021-07-09T20:41:01.184Z] (24/25) Installing make (4.3-r0) [2021-07-09T20:41:01.455Z] (25/25) Installing musl-dev (1.2.2-r1) [2021-07-09T20:41:02.433Z] Executing busybox-1.32.1-r6.trigger [2021-07-09T20:41:02.433Z] OK: 138 MiB in 40 packages [2021-07-09T20:41:09.163Z] Removing intermediate container dd5a7a21a457 [2021-07-09T20:41:09.163Z] ---> ea69c8fd48e9 [2021-07-09T20:41:09.163Z] Step 7/8 : LABEL arch=arm64 [2021-07-09T20:41:09.163Z] ---> Running in 850287cb3504 [2021-07-09T20:41:09.163Z] Removing intermediate container 850287cb3504 [2021-07-09T20:41:09.163Z] ---> 1b2a68e843b2 [2021-07-09T20:41:09.163Z] Step 8/8 : LABEL git_sha=4caf273cacefca9c76b0334b0bb96a0591624b30 [2021-07-09T20:41:09.163Z] ---> Running in d00746a54434 [2021-07-09T20:41:09.758Z] Removing intermediate container d00746a54434 [2021-07-09T20:41:09.758Z] ---> 5c0c1865a3f6 [2021-07-09T20:41:09.758Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-09T20:41:09.758Z] Successfully built 5c0c1865a3f6 [2021-07-09T20:41:09.758Z] 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 when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:41:11.389Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:41:12.000Z] ---> package-listing.sh [2021-07-09T20:41:12.000Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-09T20:41:12.000Z] ++ facter osfamily [2021-07-09T20:41:12.264Z] + OS_FAMILY=redhat [2021-07-09T20:41:12.264Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-165 [2021-07-09T20:41:12.264Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-09T20:41:12.264Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-09T20:41:12.264Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-09T20:41:12.264Z] + PACKAGES=/tmp/packages_start.txt [2021-07-09T20:41:12.264Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-165 ']' [2021-07-09T20:41:12.264Z] + PACKAGES=/tmp/packages_end.txt [2021-07-09T20:41:12.264Z] + case "${OS_FAMILY}" in [2021-07-09T20:41:12.264Z] + rpm -qa [2021-07-09T20:41:12.264Z] + sort [2021-07-09T20:41:12.837Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-09T20:41:12.837Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-09T20:41:12.837Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-09T20:41:12.837Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-165 ']' [2021-07-09T20:41:12.837Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-165/archives/ [2021-07-09T20:41:12.837Z] + 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:41:12.851Z] 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:41:13.139Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-09T20:41:13.711Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-09T20:41:13.711Z] [2021-07-09T20:41:13.711Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-09T20:41:14.029Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-09T20:41:14.029Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-09T20:41:14.029Z] df20fa9351a1: Pulling fs layer [2021-07-09T20:41:14.029Z] 36b3adc4ff6f: Pulling fs layer [2021-07-09T20:41:14.029Z] 8ad3a11d3b57: Pulling fs layer [2021-07-09T20:41:14.029Z] 46f8f816bc3b: Pulling fs layer [2021-07-09T20:41:14.029Z] 93b61091891f: Pulling fs layer [2021-07-09T20:41:14.029Z] 93b9cdb0e59b: Pulling fs layer [2021-07-09T20:41:14.029Z] 5e14af77c1be: Pulling fs layer [2021-07-09T20:41:14.029Z] 01666e4c0597: Pulling fs layer [2021-07-09T20:41:14.029Z] aa168da1d23b: Pulling fs layer [2021-07-09T20:41:14.029Z] 93b9cdb0e59b: Waiting [2021-07-09T20:41:14.029Z] 5e14af77c1be: Waiting [2021-07-09T20:41:14.029Z] 01666e4c0597: Waiting [2021-07-09T20:41:14.029Z] aa168da1d23b: Waiting [2021-07-09T20:41:14.029Z] 46f8f816bc3b: Waiting [2021-07-09T20:41:14.029Z] 93b61091891f: Waiting [2021-07-09T20:41:14.029Z] 36b3adc4ff6f: Verifying Checksum [2021-07-09T20:41:14.029Z] 36b3adc4ff6f: Download complete [2021-07-09T20:41:14.029Z] 46f8f816bc3b: Verifying Checksum [2021-07-09T20:41:14.029Z] 46f8f816bc3b: Download complete [2021-07-09T20:41:14.029Z] df20fa9351a1: Verifying Checksum [2021-07-09T20:41:14.029Z] df20fa9351a1: Download complete [2021-07-09T20:41:14.290Z] 93b9cdb0e59b: Verifying Checksum [2021-07-09T20:41:14.290Z] 93b9cdb0e59b: Download complete [2021-07-09T20:41:14.290Z] 5e14af77c1be: Verifying Checksum [2021-07-09T20:41:14.290Z] 5e14af77c1be: Download complete [2021-07-09T20:41:14.290Z] 93b61091891f: Verifying Checksum [2021-07-09T20:41:14.290Z] 93b61091891f: Download complete [2021-07-09T20:41:14.290Z] 01666e4c0597: Verifying Checksum [2021-07-09T20:41:14.290Z] 01666e4c0597: Download complete [2021-07-09T20:41:14.290Z] df20fa9351a1: Pull complete [2021-07-09T20:41:14.290Z] 8ad3a11d3b57: Verifying Checksum [2021-07-09T20:41:14.290Z] 8ad3a11d3b57: Download complete [2021-07-09T20:41:14.290Z] 36b3adc4ff6f: Pull complete [2021-07-09T20:41:14.869Z] 8ad3a11d3b57: Pull complete [2021-07-09T20:41:14.869Z] 46f8f816bc3b: Pull complete [2021-07-09T20:41:15.131Z] 93b61091891f: Pull complete [2021-07-09T20:41:15.393Z] 93b9cdb0e59b: Pull complete [2021-07-09T20:41:15.393Z] 5e14af77c1be: Pull complete [2021-07-09T20:41:15.393Z] 01666e4c0597: Pull complete [2021-07-09T20:41:16.344Z] aa168da1d23b: Verifying Checksum [2021-07-09T20:41:16.344Z] aa168da1d23b: Download complete [2021-07-09T20:41:20.599Z] aa168da1d23b: Pull complete [2021-07-09T20:41:20.599Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-09T20:41:20.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-09T20:41:20.599Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-09T20:41:20.694Z] prd-centos7-docker-4c-2g-2317 does not seem to be running inside a container [2021-07-09T20:41:20.746Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-09T20:41:24.927Z] $ docker top b7e8bb096653e7e2e5bbdcbfa162fd1aad788f9bc2367ecee872abc3e62ab878 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-09T20:41:25.333Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-09T20:41:25.636Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-09T20:41:25.943Z] + ls /var/log/sa-host [2021-07-09T20:41:25.943Z] + sadf -c /var/log/sa-host/sa05 [2021-07-09T20:41:25.943Z] file_magic: OK [2021-07-09T20:41:25.943Z] HZ: Using current value: 100 [2021-07-09T20:41:25.943Z] file_header: OK [2021-07-09T20:41:25.943Z] 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:41:25.943Z] Statistics: [2021-07-09T20:41:25.943Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-09T20:41:25.943Z] File successfully converted to sysstat format version 12.2.1 [2021-07-09T20:41:25.943Z] + sadf -c /var/log/sa-host/sa09 [2021-07-09T20:41:25.943Z] file_magic: OK [2021-07-09T20:41:25.943Z] HZ: Using current value: 100 [2021-07-09T20:41:25.943Z] file_header: OK [2021-07-09T20:41:25.943Z] 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:41:25.943Z] Statistics: [2021-07-09T20:41:25.943Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-09T20:41:25.943Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T20:41:26.148Z] provisioning config files... [2021-07-09T20:41:26.161Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-165@tmp/config5061337794943959518tmp [Pipeline] { [Pipeline] echo [2021-07-09T20:41:26.182Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:41:26.495Z] ---> create-netrc.sh [Pipeline] } [2021-07-09T20:41:26.504Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:41:26.870Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-09T20:41:26.882Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:41:27.182Z] ---> sudo-logs.sh [2021-07-09T20:41:27.182Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-09T20:41:27.207Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:41:27.502Z] ---> job-cost.sh [2021-07-09T20:41:27.502Z] lf-activate-venv: SKIPPING [2021-07-09T20:41:27.502Z] INFO: No Stack... [2021-07-09T20:41:28.447Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-09T20:41:28.708Z] INFO: Archiving Costs [Pipeline] echo [2021-07-09T20:41:28.727Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T20:41:29.024Z] ---> logs-deploy.sh [2021-07-09T20:41:29.024Z] lf-activate-venv: SKIPPING [2021-07-09T20:41:29.024Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-165/3 [2021-07-09T20:41:29.024Z] INFO: archiving workspace using pattern(s): [2021-07-09T20:41:29.974Z] Archives upload complete. [2021-07-09T20:41:29.974Z] INFO: archiving logs to Nexus