Pull request #166 event 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 604f2539255828ccb17d287bb85db4037b9550e5+ddb266506e6841fe637311df0315e08e3d2f3462 (a7e1ca5c51dcf915052ca9d49cbd9a37dc38ef08) 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-ssh8976275729987981048.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-ssh4539168680953509062.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-166/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-166/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8210582468753107710.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-ssh1894595857140746117.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-166/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-166/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1433766938684229041.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 Running on prd-centos7-docker-4c-2g-2335 in /w/workspace/exfoundry_ci-build-images_PR-166 [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-166 # 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-166@tmp/jenkins-gitclient-ssh7027459272691494514.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-166@tmp/jenkins-gitclient-ssh1830696467328242760.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/166/head:refs/remotes/origin/PR-166 +refs/heads/golang-1.16:refs/remotes/origin/golang-1.16 # timeout=10 Merging remotes/origin/golang-1.16 commit ddb266506e6841fe637311df0315e08e3d2f3462 into PR head commit 604f2539255828ccb17d287bb85db4037b9550e5 Merge succeeded, producing 604f2539255828ccb17d287bb85db4037b9550e5 Checking out Revision 604f2539255828ccb17d287bb85db4037b9550e5 (PR-166) > git config core.sparsecheckout # timeout=10 > git checkout -f 604f2539255828ccb17d287bb85db4037b9550e5 # 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-166@tmp/jenkins-gitclient-ssh7861093894638138117.key > git merge ddb266506e6841fe637311df0315e08e3d2f3462 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 604f2539255828ccb17d287bb85db4037b9550e5 # timeout=10 Commit message: "ci: add golangci linter" > git rev-list --no-walk 604f2539255828ccb17d287bb85db4037b9550e5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-09T21:49:41.311Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-09T21:49:41.407Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-09T21:49:41.439Z] ========================================================= [2021-07-09T21:49:41.439Z] EdgeX Global Pipelines Version Info [2021-07-09T21:49:41.439Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-09T21:49:43.043Z] ------------------- [2021-07-09T21:49:43.043Z] stable info: [2021-07-09T21:49:43.043Z] ------------------- [2021-07-09T21:49:43.043Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-09T21:49:43.043Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-09T21:49:43.043Z] Message: update stable to v1.0.196 [2021-07-09T21:49:43.618Z] ------------------- [2021-07-09T21:49:43.618Z] experimental info: [2021-07-09T21:49:43.618Z] ------------------- [2021-07-09T21:49:43.618Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-09T21:49:43.618Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-09T21:49:43.618Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2021-07-09T21:49:43.747Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2021-07-09T21:49:43.770Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo [2021-07-09T21:49:43.791Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2021-07-09T21:49:43.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-09T21:49:43.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-09T21:49:43.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo [2021-07-09T21:49:43.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2021-07-09T21:49:43.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2021-07-09T21:49:43.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2021-07-09T21:49:43.944Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-09T21:49:43.961Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2021-07-09T21:49:43.979Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo [2021-07-09T21:49:43.997Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-09T21:49:44.016Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-09T21:49:44.033Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.16 [Pipeline] echo [2021-07-09T21:49:44.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.16-alpine 1.16-alpine3.13 [Pipeline] echo [2021-07-09T21:49:44.070Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-166 [Pipeline] echo [2021-07-09T21:49:44.088Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-166 [Pipeline] echo [2021-07-09T21:49:44.107Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-166 [Pipeline] echo [2021-07-09T21:49:44.124Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 604f2539255828ccb17d287bb85db4037b9550e5 [Pipeline] echo [2021-07-09T21:49:44.140Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 604f253 [Pipeline] echo [2021-07-09T21:49:44.157Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T21:49:44.224Z] provisioning config files... [2021-07-09T21:49:44.241Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-166@tmp/config6298368106971545714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-09T21:49:44.570Z] ---> docker-login.sh [2021-07-09T21:49:44.570Z] nexus3.edgexfoundry.org:10001 [2021-07-09T21:49:44.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T21:49:44.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T21:49:44.832Z] Configure a credential helper to remove this warning. See [2021-07-09T21:49:44.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T21:49:44.832Z] [2021-07-09T21:49:44.832Z] Login Succeeded [2021-07-09T21:49:44.832Z] nexus3.edgexfoundry.org:10002 [2021-07-09T21:49:45.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T21:49:45.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T21:49:45.093Z] Configure a credential helper to remove this warning. See [2021-07-09T21:49:45.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T21:49:45.093Z] [2021-07-09T21:49:45.093Z] Login Succeeded [2021-07-09T21:49:45.093Z] nexus3.edgexfoundry.org:10003 [2021-07-09T21:49:45.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T21:49:45.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T21:49:45.093Z] Configure a credential helper to remove this warning. See [2021-07-09T21:49:45.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T21:49:45.093Z] [2021-07-09T21:49:45.093Z] Login Succeeded [2021-07-09T21:49:45.093Z] nexus3.edgexfoundry.org:10004 [2021-07-09T21:49:45.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T21:49:45.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T21:49:45.357Z] Configure a credential helper to remove this warning. See [2021-07-09T21:49:45.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T21:49:45.357Z] [2021-07-09T21:49:45.357Z] Login Succeeded [2021-07-09T21:49:45.357Z] docker.io [2021-07-09T21:49:45.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T21:49:45.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T21:49:45.619Z] Configure a credential helper to remove this warning. See [2021-07-09T21:49:45.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T21:49:45.619Z] [2021-07-09T21:49:45.619Z] Login Succeeded [2021-07-09T21:49:45.619Z] ---> docker-login.sh ends [Pipeline] } [2021-07-09T21:49:45.629Z] 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-09T21:49:46.314Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-09T21:49:46.613Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-09T21:49:46.913Z] + sudo service docker restart [2021-07-09T21:49:46.913Z] + true [2021-07-09T21:49:46.913Z] Redirecting to /bin/systemctl restart docker.service [2021-07-09T21:50:00.958Z] Still waiting to schedule task [2021-07-09T21:50:00.959Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T21:50:05.088Z] provisioning config files... [2021-07-09T21:50:05.102Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-166@tmp/config5432458661533183385tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-09T21:50:05.423Z] ---> docker-login.sh [2021-07-09T21:50:05.423Z] nexus3.edgexfoundry.org:10001 [2021-07-09T21:50:05.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T21:50:05.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T21:50:05.423Z] Configure a credential helper to remove this warning. See [2021-07-09T21:50:05.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T21:50:05.423Z] [2021-07-09T21:50:05.423Z] Login Succeeded [2021-07-09T21:50:05.423Z] nexus3.edgexfoundry.org:10002 [2021-07-09T21:50:05.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T21:50:05.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T21:50:05.685Z] Configure a credential helper to remove this warning. See [2021-07-09T21:50:05.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T21:50:05.685Z] [2021-07-09T21:50:05.685Z] Login Succeeded [2021-07-09T21:50:05.685Z] nexus3.edgexfoundry.org:10003 [2021-07-09T21:50:05.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T21:50:05.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T21:50:05.685Z] Configure a credential helper to remove this warning. See [2021-07-09T21:50:05.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T21:50:05.685Z] [2021-07-09T21:50:05.685Z] Login Succeeded [2021-07-09T21:50:05.685Z] nexus3.edgexfoundry.org:10004 [2021-07-09T21:50:05.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T21:50:05.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T21:50:05.948Z] Configure a credential helper to remove this warning. See [2021-07-09T21:50:05.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T21:50:05.948Z] [2021-07-09T21:50:05.948Z] Login Succeeded [2021-07-09T21:50:05.948Z] docker.io [2021-07-09T21:50:05.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T21:50:06.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T21:50:06.528Z] Configure a credential helper to remove this warning. See [2021-07-09T21:50:06.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T21:50:06.528Z] [2021-07-09T21:50:06.528Z] Login Succeeded [2021-07-09T21:50:06.528Z] ---> docker-login.sh ends [Pipeline] } [2021-07-09T21:50:06.538Z] 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-09T21:50:07.717Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-09T21:50:08.015Z] + ls -al . [2021-07-09T21:50:08.015Z] total 12 [2021-07-09T21:50:08.015Z] drwxrwxr-x. 4 jenkins jenkins 91 Jul 9 21:49 . [2021-07-09T21:50:08.015Z] drwxrwxr-x. 4 jenkins jenkins 112 Jul 9 21:49 .. [2021-07-09T21:50:08.015Z] -rw-rw-r--. 1 jenkins jenkins 794 Jul 9 21:49 Dockerfile [2021-07-09T21:50:08.015Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 9 21:49 .git [2021-07-09T21:50:08.015Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 9 21:49 .github [2021-07-09T21:50:08.015Z] -rw-rw-r--. 1 jenkins jenkins 585 Jul 9 21:49 .golangci.yml [2021-07-09T21:50:08.015Z] -rw-rw-r--. 1 jenkins jenkins 913 Jul 9 21:49 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2021-07-09T21:50:08.439Z] + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=604f2539255828ccb17d287bb85db4037b9550e5 --label arch=amd64 . [2021-07-09T21:50:08.439Z] Sending build context to Docker daemon 377.9kB [2021-07-09T21:50:08.439Z] Step 1/9 : FROM golang:1.16.5-alpine3.13 [2021-07-09T21:50:09.013Z] 1.16.5-alpine3.13: Pulling from library/golang [2021-07-09T21:50:09.013Z] 540db60ca938: Pulling fs layer [2021-07-09T21:50:09.013Z] adcc1eea9eea: Pulling fs layer [2021-07-09T21:50:09.013Z] 4c4ab2625f07: Pulling fs layer [2021-07-09T21:50:09.013Z] 0773c198feca: Pulling fs layer [2021-07-09T21:50:09.013Z] 345f892a5656: Pulling fs layer [2021-07-09T21:50:09.013Z] 0773c198feca: Waiting [2021-07-09T21:50:09.013Z] 345f892a5656: Waiting [2021-07-09T21:50:09.274Z] 4c4ab2625f07: Verifying Checksum [2021-07-09T21:50:09.274Z] 4c4ab2625f07: Download complete [2021-07-09T21:50:09.274Z] 540db60ca938: Verifying Checksum [2021-07-09T21:50:09.274Z] 540db60ca938: Download complete [2021-07-09T21:50:09.274Z] adcc1eea9eea: Verifying Checksum [2021-07-09T21:50:09.274Z] adcc1eea9eea: Download complete [2021-07-09T21:50:09.541Z] 345f892a5656: Verifying Checksum [2021-07-09T21:50:09.541Z] 345f892a5656: Download complete [2021-07-09T21:50:09.541Z] 540db60ca938: Pull complete [2021-07-09T21:50:09.808Z] adcc1eea9eea: Pull complete [2021-07-09T21:50:09.808Z] 4c4ab2625f07: Pull complete [2021-07-09T21:50:10.752Z] 0773c198feca: Retrying in 5 seconds [2021-07-09T21:50:11.698Z] 0773c198feca: Retrying in 4 seconds [2021-07-09T21:50:12.642Z] 0773c198feca: Retrying in 3 seconds [2021-07-09T21:50:13.589Z] 0773c198feca: Retrying in 2 seconds [2021-07-09T21:50:14.535Z] 0773c198feca: Retrying in 1 second [2021-07-09T21:50:15.928Z] 0773c198feca: Verifying Checksum [2021-07-09T21:50:15.928Z] 0773c198feca: Download complete [2021-07-09T21:50:19.267Z] 0773c198feca: Pull complete [2021-07-09T21:50:19.267Z] 345f892a5656: Pull complete [2021-07-09T21:50:19.267Z] Digest: sha256:4919b2f118f75395f69adcb899c1b796c4337d9649f0ef73aab34eef040149cf [2021-07-09T21:50:19.267Z] Status: Downloaded newer image for golang:1.16.5-alpine3.13 [2021-07-09T21:50:19.267Z] ---> f5b325add028 [2021-07-09T21:50:19.267Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-07-09T21:50:21.192Z] ---> Running in 84e040e992bd [2021-07-09T21:50:21.192Z] Removing intermediate container 84e040e992bd [2021-07-09T21:50:21.192Z] ---> 05d48834dd1f [2021-07-09T21:50:21.192Z] Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-09T21:50:21.192Z] ---> Running in 02bf2bbe3a7e [2021-07-09T21:50:21.769Z] Removing intermediate container 02bf2bbe3a7e [2021-07-09T21:50:21.769Z] ---> 05177626fa71 [2021-07-09T21:50:21.769Z] Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 [2021-07-09T21:50:21.769Z] ---> Running in 4b6dfccf438e [2021-07-09T21:50:21.769Z] Removing intermediate container 4b6dfccf438e [2021-07-09T21:50:21.769Z] ---> e2227bbd45a6 [2021-07-09T21:50:21.769Z] Step 5/9 : ADD https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64 /usr/local/bin/hadolint [2021-07-09T21:50:22.030Z] [2021-07-09T21:50:22.030Z] [2021-07-09T21:50:22.291Z] ---> c377ffcd18b3 [2021-07-09T21:50:22.291Z] Step 6/9 : COPY ./.golangci.yml /etc/.golangci.yml [2021-07-09T21:50:22.551Z] ---> 8040bb80a834 [2021-07-09T21:50:22.551Z] Step 7/9 : RUN apk add --update --no-cache git linux-headers make gcc musl-dev curl bash && chmod +x /usr/local/bin/hadolint && wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v${GOLANGCI_VERSION} [2021-07-09T21:50:22.551Z] ---> Running in eb1559d835bb [2021-07-09T21:50:22.816Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-09T21:50:23.758Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-09T21:50:24.017Z] (1/25) Installing ncurses-terminfo-base (6.2_p20210109-r0) [2021-07-09T21:50:24.017Z] (2/25) Installing ncurses-libs (6.2_p20210109-r0) [2021-07-09T21:50:24.277Z] (3/25) Installing readline (8.1.0-r0) [2021-07-09T21:50:24.277Z] (4/25) Installing bash (5.1.0-r0) [2021-07-09T21:50:24.849Z] Executing bash-5.1.0-r0.post-install [2021-07-09T21:50:24.849Z] (5/25) Installing brotli-libs (1.0.9-r3) [2021-07-09T21:50:24.849Z] (6/25) Installing nghttp2-libs (1.42.0-r1) [2021-07-09T21:50:25.113Z] (7/25) Installing libcurl (7.77.0-r1) [2021-07-09T21:50:25.113Z] (8/25) Installing curl (7.77.0-r1) [2021-07-09T21:50:25.113Z] (9/25) Installing libgcc (10.2.1_pre1-r3) [2021-07-09T21:50:25.375Z] (10/25) Installing libstdc++ (10.2.1_pre1-r3) [2021-07-09T21:50:25.945Z] (11/25) Installing binutils (2.35.2-r1) [2021-07-09T21:50:26.517Z] (12/25) Installing libgomp (10.2.1_pre1-r3) [2021-07-09T21:50:26.517Z] (13/25) Installing libatomic (10.2.1_pre1-r3) [2021-07-09T21:50:26.784Z] (14/25) Installing libgphobos (10.2.1_pre1-r3) [2021-07-09T21:50:27.353Z] (15/25) Installing gmp (6.2.1-r0) [2021-07-09T21:50:27.353Z] (16/25) Installing isl22 (0.22-r0) [2021-07-09T21:50:27.615Z] (17/25) Installing mpfr4 (4.1.0-r0) [2021-07-09T21:50:28.189Z] (18/25) Installing mpc1 (1.2.0-r0) [2021-07-09T21:50:28.189Z] (19/25) Installing gcc (10.2.1_pre1-r3) [2021-07-09T21:50:36.332Z] (20/25) Installing expat (2.2.10-r1) [2021-07-09T21:50:36.332Z] (21/25) Installing pcre2 (10.36-r0) [2021-07-09T21:50:36.332Z] (22/25) Installing git (2.30.2-r0) [2021-07-09T21:50:37.717Z] (23/25) Installing linux-headers (5.7.8-r0) [2021-07-09T21:50:38.291Z] (24/25) Installing make (4.3-r0) [2021-07-09T21:50:38.291Z] (25/25) Installing musl-dev (1.2.2-r1) [2021-07-09T21:50:39.236Z] Executing busybox-1.32.1-r6.trigger [2021-07-09T21:50:39.236Z] OK: 149 MiB in 40 packages [2021-07-09T21:50:39.236Z] Connecting to raw.githubusercontent.com (185.199.108.133:443) [2021-07-09T21:50:39.236Z] writing to stdout [2021-07-09T21:50:39.236Z] - 100% |********************************| 10739 0:00:00 ETA [2021-07-09T21:50:39.236Z] written to stdout [2021-07-09T21:50:39.236Z] golangci/golangci-lint info checking GitHub for tag 'v1.40.1' [2021-07-09T21:50:39.498Z] golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/amd64 [2021-07-09T21:50:40.465Z] golangci/golangci-lint info installed ./bin/golangci-lint [2021-07-09T21:50:44.690Z] Removing intermediate container eb1559d835bb [2021-07-09T21:50:44.690Z] ---> 9f05e700b96e [2021-07-09T21:50:44.690Z] Step 8/9 : LABEL arch=amd64 [2021-07-09T21:50:44.690Z] ---> Running in d7bc45b0f8a8 [2021-07-09T21:50:44.690Z] Removing intermediate container d7bc45b0f8a8 [2021-07-09T21:50:44.690Z] ---> 7daf78db2f29 [2021-07-09T21:50:44.690Z] Step 9/9 : LABEL git_sha=604f2539255828ccb17d287bb85db4037b9550e5 [2021-07-09T21:50:44.690Z] ---> Running in 08ecca401b1f [2021-07-09T21:50:44.956Z] Removing intermediate container 08ecca401b1f [2021-07-09T21:50:44.956Z] ---> 51451dc58411 [2021-07-09T21:50:44.956Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-09T21:50:44.956Z] Successfully built 51451dc58411 [2021-07-09T21:50:44.956Z] 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-09T21:52:58.832Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2337 in /w/workspace/exfoundry_ci-build-images_PR-166 [Pipeline] { [Pipeline] checkout [2021-07-09T21:52:59.030Z] Selected Git installation does not exist. Using Default [2021-07-09T21:52:59.030Z] The recommended git tool is: NONE [2021-07-09T21:53:05.015Z] using credential edgex-jenkins-ssh [2021-07-09T21:53:05.047Z] Cloning the remote Git repository [2021-07-09T21:53:05.094Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2021-07-09T21:53:05.198Z] > git init /w/workspace/exfoundry_ci-build-images_PR-166 # timeout=10 [2021-07-09T21:53:05.300Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2021-07-09T21:53:05.301Z] > git --version # timeout=10 [2021-07-09T21:53:05.318Z] > git --version # 'git version 2.17.1' [2021-07-09T21:53:05.319Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-09T21:53:05.418Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-09T21:53:06.299Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2021-07-09T21:53:06.320Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-09T21:53:06.347Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2021-07-09T21:53:06.384Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2021-07-09T21:53:06.385Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-09T21:53:06.401Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/166/head:refs/remotes/origin/PR-166 +refs/heads/golang-1.16:refs/remotes/origin/golang-1.16 # timeout=10 [2021-07-09T21:53:06.955Z] Merging remotes/origin/golang-1.16 commit ddb266506e6841fe637311df0315e08e3d2f3462 into PR head commit 604f2539255828ccb17d287bb85db4037b9550e5 [2021-07-09T21:53:07.149Z] Merge succeeded, producing 604f2539255828ccb17d287bb85db4037b9550e5 [2021-07-09T21:53:07.150Z] Checking out Revision 604f2539255828ccb17d287bb85db4037b9550e5 (PR-166) [2021-07-09T21:53:06.970Z] > git config core.sparsecheckout # timeout=10 [2021-07-09T21:53:06.989Z] > git checkout -f 604f2539255828ccb17d287bb85db4037b9550e5 # timeout=10 [2021-07-09T21:53:07.059Z] > git remote # timeout=10 [2021-07-09T21:53:07.079Z] > git config --get remote.origin.url # timeout=10 [2021-07-09T21:53:07.094Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-09T21:53:07.105Z] > git merge ddb266506e6841fe637311df0315e08e3d2f3462 # timeout=10 [2021-07-09T21:53:07.131Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-09T21:53:07.151Z] > git config core.sparsecheckout # timeout=10 [2021-07-09T21:53:07.169Z] > git checkout -f 604f2539255828ccb17d287bb85db4037b9550e5 # timeout=10 [2021-07-09T21:53:11.363Z] Commit message: "ci: add golangci linter" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-09T21:53:12.609Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-09T21:53:13.022Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-09T21:53:13.368Z] + true [2021-07-09T21:53:13.368Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T21:53:31.766Z] provisioning config files... [2021-07-09T21:53:31.794Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-166@tmp/config7397706126822260202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-09T21:53:32.170Z] ---> docker-login.sh [2021-07-09T21:53:32.170Z] nexus3.edgexfoundry.org:10001 [2021-07-09T21:53:32.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T21:53:33.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T21:53:33.378Z] Configure a credential helper to remove this warning. See [2021-07-09T21:53:33.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T21:53:33.378Z] [2021-07-09T21:53:33.378Z] Login Succeeded [2021-07-09T21:53:33.378Z] nexus3.edgexfoundry.org:10002 [2021-07-09T21:53:33.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T21:53:33.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T21:53:33.931Z] Configure a credential helper to remove this warning. See [2021-07-09T21:53:33.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T21:53:33.931Z] [2021-07-09T21:53:33.931Z] Login Succeeded [2021-07-09T21:53:33.931Z] nexus3.edgexfoundry.org:10003 [2021-07-09T21:53:34.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T21:53:34.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T21:53:34.483Z] Configure a credential helper to remove this warning. See [2021-07-09T21:53:34.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T21:53:34.483Z] [2021-07-09T21:53:34.483Z] Login Succeeded [2021-07-09T21:53:34.483Z] nexus3.edgexfoundry.org:10004 [2021-07-09T21:53:35.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T21:53:35.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T21:53:35.123Z] Configure a credential helper to remove this warning. See [2021-07-09T21:53:35.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T21:53:35.123Z] [2021-07-09T21:53:35.123Z] Login Succeeded [2021-07-09T21:53:35.123Z] docker.io [2021-07-09T21:53:35.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-09T21:53:35.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-09T21:53:35.995Z] Configure a credential helper to remove this warning. See [2021-07-09T21:53:35.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-09T21:53:35.995Z] [2021-07-09T21:53:35.995Z] Login Succeeded [2021-07-09T21:53:35.995Z] ---> docker-login.sh ends [Pipeline] } [2021-07-09T21:53:36.012Z] 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-09T21:53:36.559Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-09T21:53:36.902Z] + ls -al . [2021-07-09T21:53:36.903Z] total 28 [2021-07-09T21:53:36.903Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 9 21:53 . [2021-07-09T21:53:36.903Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 9 21:53 .. [2021-07-09T21:53:36.903Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 9 21:53 .git [2021-07-09T21:53:36.903Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 9 21:53 .github [2021-07-09T21:53:36.903Z] -rw-rw-r-- 1 jenkins jenkins 585 Jul 9 21:53 .golangci.yml [2021-07-09T21:53:36.903Z] -rw-rw-r-- 1 jenkins jenkins 794 Jul 9 21:53 Dockerfile [2021-07-09T21:53:36.903Z] -rw-rw-r-- 1 jenkins jenkins 913 Jul 9 21:53 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2021-07-09T21:53:37.255Z] + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=604f2539255828ccb17d287bb85db4037b9550e5 --label arch=arm64 . [2021-07-09T21:53:37.530Z] Sending build context to Docker daemon 376.8kB [2021-07-09T21:53:37.530Z] Step 1/9 : FROM golang:1.16.5-alpine3.13 [2021-07-09T21:53:38.130Z] 1.16.5-alpine3.13: Pulling from library/golang [2021-07-09T21:53:38.402Z] 595b0fe564bb: Pulling fs layer [2021-07-09T21:53:38.402Z] 24495759ef45: Pulling fs layer [2021-07-09T21:53:38.402Z] d148012ef14d: Pulling fs layer [2021-07-09T21:53:38.402Z] cb65c68fc2e2: Pulling fs layer [2021-07-09T21:53:38.402Z] 093eec477d81: Pulling fs layer [2021-07-09T21:53:38.402Z] cb65c68fc2e2: Waiting [2021-07-09T21:53:38.678Z] d148012ef14d: Verifying Checksum [2021-07-09T21:53:38.678Z] d148012ef14d: Download complete [2021-07-09T21:53:38.678Z] 24495759ef45: Download complete [2021-07-09T21:53:38.678Z] 595b0fe564bb: Verifying Checksum [2021-07-09T21:53:38.678Z] 595b0fe564bb: Download complete [2021-07-09T21:53:38.678Z] 093eec477d81: Verifying Checksum [2021-07-09T21:53:38.678Z] 093eec477d81: Download complete [2021-07-09T21:53:39.274Z] 595b0fe564bb: Pull complete [2021-07-09T21:53:39.876Z] 24495759ef45: Pull complete [2021-07-09T21:53:40.478Z] d148012ef14d: Pull complete [2021-07-09T21:53:41.075Z] cb65c68fc2e2: Verifying Checksum [2021-07-09T21:53:41.075Z] cb65c68fc2e2: Download complete [2021-07-09T21:53:53.559Z] cb65c68fc2e2: Pull complete [2021-07-09T21:53:53.559Z] 093eec477d81: Pull complete [2021-07-09T21:53:53.559Z] Digest: sha256:4919b2f118f75395f69adcb899c1b796c4337d9649f0ef73aab34eef040149cf [2021-07-09T21:53:53.559Z] Status: Downloaded newer image for golang:1.16.5-alpine3.13 [2021-07-09T21:53:53.559Z] ---> 4ac5820bd72c [2021-07-09T21:53:53.559Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-07-09T21:53:53.559Z] ---> Running in 086e69d2c56c [2021-07-09T21:53:54.214Z] Removing intermediate container 086e69d2c56c [2021-07-09T21:53:54.214Z] ---> 460e62c919d3 [2021-07-09T21:53:54.214Z] Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-09T21:53:54.214Z] ---> Running in 8303cb95a673 [2021-07-09T21:53:56.294Z] Removing intermediate container 8303cb95a673 [2021-07-09T21:53:56.294Z] ---> 3c1ff792a954 [2021-07-09T21:53:56.294Z] Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 [2021-07-09T21:53:56.573Z] ---> Running in 2d3eaf473e98 [2021-07-09T21:53:57.207Z] Removing intermediate container 2d3eaf473e98 [2021-07-09T21:53:57.207Z] ---> ad44ec6a42c5 [2021-07-09T21:53:57.207Z] Step 5/9 : ADD https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64 /usr/local/bin/hadolint [2021-07-09T21:53:57.207Z] [2021-07-09T21:53:57.207Z] [2021-07-09T21:53:58.194Z] ---> 35eb419d2e08 [2021-07-09T21:53:58.194Z] Step 6/9 : COPY ./.golangci.yml /etc/.golangci.yml [2021-07-09T21:53:59.183Z] ---> ee86a2321711 [2021-07-09T21:53:59.183Z] Step 7/9 : RUN apk add --update --no-cache git linux-headers make gcc musl-dev curl bash && chmod +x /usr/local/bin/hadolint && wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v${GOLANGCI_VERSION} [2021-07-09T21:53:59.183Z] ---> Running in 917225bb9f55 [2021-07-09T21:54:00.647Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-09T21:54:01.248Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-09T21:54:02.241Z] (1/25) Installing ncurses-terminfo-base (6.2_p20210109-r0) [2021-07-09T21:54:02.517Z] (2/25) Installing ncurses-libs (6.2_p20210109-r0) [2021-07-09T21:54:02.517Z] (3/25) Installing readline (8.1.0-r0) [2021-07-09T21:54:02.793Z] (4/25) Installing bash (5.1.0-r0) [2021-07-09T21:54:02.793Z] Executing bash-5.1.0-r0.post-install [2021-07-09T21:54:02.793Z] (5/25) Installing brotli-libs (1.0.9-r3) [2021-07-09T21:54:03.074Z] (6/25) Installing nghttp2-libs (1.42.0-r1) [2021-07-09T21:54:03.074Z] (7/25) Installing libcurl (7.77.0-r1) [2021-07-09T21:54:03.349Z] (8/25) Installing curl (7.77.0-r1) [2021-07-09T21:54:03.626Z] (9/25) Installing libgcc (10.2.1_pre1-r3) [2021-07-09T21:54:03.626Z] (10/25) Installing libstdc++ (10.2.1_pre1-r3) [2021-07-09T21:54:03.902Z] (11/25) Installing binutils (2.35.2-r1) [2021-07-09T21:54:04.885Z] (12/25) Installing libgomp (10.2.1_pre1-r3) [2021-07-09T21:54:04.885Z] (13/25) Installing libatomic (10.2.1_pre1-r3) [2021-07-09T21:54:05.158Z] (14/25) Installing libgphobos (10.2.1_pre1-r3) [2021-07-09T21:54:05.754Z] (15/25) Installing gmp (6.2.1-r0) [2021-07-09T21:54:05.754Z] (16/25) Installing isl22 (0.22-r0) [2021-07-09T21:54:06.027Z] (17/25) Installing mpfr4 (4.1.0-r0) [2021-07-09T21:54:06.302Z] (18/25) Installing mpc1 (1.2.0-r0) [2021-07-09T21:54:06.302Z] (19/25) Installing gcc (10.2.1_pre1-r3) [2021-07-09T21:54:14.613Z] (20/25) Installing expat (2.2.10-r1) [2021-07-09T21:54:14.613Z] (21/25) Installing pcre2 (10.36-r0) [2021-07-09T21:54:14.613Z] (22/25) Installing git (2.30.2-r0) [2021-07-09T21:54:16.050Z] (23/25) Installing linux-headers (5.7.8-r0) [2021-07-09T21:54:16.323Z] (24/25) Installing make (4.3-r0) [2021-07-09T21:54:16.598Z] (25/25) Installing musl-dev (1.2.2-r1) [2021-07-09T21:54:17.201Z] Executing busybox-1.32.1-r6.trigger [2021-07-09T21:54:17.476Z] OK: 138 MiB in 40 packages [2021-07-09T21:54:17.752Z] Connecting to raw.githubusercontent.com (185.199.110.133:443) [2021-07-09T21:54:17.752Z] writing to stdout [2021-07-09T21:54:17.752Z] - 100% |********************************| 10739 0:00:00 ETA [2021-07-09T21:54:17.752Z] written to stdout [2021-07-09T21:54:17.752Z] golangci/golangci-lint info checking GitHub for tag 'v1.40.1' [2021-07-09T21:54:18.026Z] golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/arm64 [2021-07-09T21:54:19.471Z] golangci/golangci-lint info installed ./bin/golangci-lint [2021-07-09T21:54:26.232Z] Removing intermediate container 917225bb9f55 [2021-07-09T21:54:26.232Z] ---> 05c9e67e0c39 [2021-07-09T21:54:26.232Z] Step 8/9 : LABEL arch=arm64 [2021-07-09T21:54:26.516Z] ---> Running in 2ce38646fbf6 [2021-07-09T21:54:27.176Z] Removing intermediate container 2ce38646fbf6 [2021-07-09T21:54:27.176Z] ---> e9052d08f094 [2021-07-09T21:54:27.176Z] Step 9/9 : LABEL git_sha=604f2539255828ccb17d287bb85db4037b9550e5 [2021-07-09T21:54:27.176Z] ---> Running in cbc6ab51b681 [2021-07-09T21:54:27.775Z] Removing intermediate container cbc6ab51b681 [2021-07-09T21:54:27.775Z] ---> e4b666bcf8e4 [2021-07-09T21:54:27.775Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-09T21:54:27.775Z] Successfully built e4b666bcf8e4 [2021-07-09T21:54:27.775Z] 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-09T21:54:29.405Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T21:54:29.978Z] ---> package-listing.sh [2021-07-09T21:54:29.978Z] ++ facter osfamily [2021-07-09T21:54:29.978Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-09T21:54:30.244Z] + OS_FAMILY=redhat [2021-07-09T21:54:30.244Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-166 [2021-07-09T21:54:30.244Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-09T21:54:30.244Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-09T21:54:30.244Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-09T21:54:30.244Z] + PACKAGES=/tmp/packages_start.txt [2021-07-09T21:54:30.244Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-166 ']' [2021-07-09T21:54:30.244Z] + PACKAGES=/tmp/packages_end.txt [2021-07-09T21:54:30.244Z] + case "${OS_FAMILY}" in [2021-07-09T21:54:30.244Z] + rpm -qa [2021-07-09T21:54:30.244Z] + sort [2021-07-09T21:54:30.818Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-09T21:54:30.818Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-09T21:54:30.818Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-09T21:54:30.818Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-166 ']' [2021-07-09T21:54:30.818Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-166/archives/ [2021-07-09T21:54:30.818Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-166/archives/ [Pipeline] echo [2021-07-09T21:54:30.833Z] 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-166/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-09T21:54:31.131Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-09T21:54:31.706Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-09T21:54:31.706Z] [2021-07-09T21:54:31.706Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-09T21:54:32.018Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-09T21:54:32.018Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-09T21:54:32.018Z] df20fa9351a1: Pulling fs layer [2021-07-09T21:54:32.018Z] 36b3adc4ff6f: Pulling fs layer [2021-07-09T21:54:32.018Z] 8ad3a11d3b57: Pulling fs layer [2021-07-09T21:54:32.018Z] 46f8f816bc3b: Pulling fs layer [2021-07-09T21:54:32.018Z] 93b61091891f: Pulling fs layer [2021-07-09T21:54:32.018Z] 93b9cdb0e59b: Pulling fs layer [2021-07-09T21:54:32.018Z] 5e14af77c1be: Pulling fs layer [2021-07-09T21:54:32.018Z] 01666e4c0597: Pulling fs layer [2021-07-09T21:54:32.018Z] aa168da1d23b: Pulling fs layer [2021-07-09T21:54:32.018Z] 46f8f816bc3b: Waiting [2021-07-09T21:54:32.018Z] 93b61091891f: Waiting [2021-07-09T21:54:32.018Z] 93b9cdb0e59b: Waiting [2021-07-09T21:54:32.018Z] 5e14af77c1be: Waiting [2021-07-09T21:54:32.018Z] 01666e4c0597: Waiting [2021-07-09T21:54:32.018Z] aa168da1d23b: Waiting [2021-07-09T21:54:32.018Z] 36b3adc4ff6f: Verifying Checksum [2021-07-09T21:54:32.018Z] 36b3adc4ff6f: Download complete [2021-07-09T21:54:32.018Z] 46f8f816bc3b: Verifying Checksum [2021-07-09T21:54:32.018Z] 46f8f816bc3b: Download complete [2021-07-09T21:54:32.282Z] df20fa9351a1: Verifying Checksum [2021-07-09T21:54:32.282Z] df20fa9351a1: Download complete [2021-07-09T21:54:32.282Z] 93b9cdb0e59b: Verifying Checksum [2021-07-09T21:54:32.282Z] 93b9cdb0e59b: Download complete [2021-07-09T21:54:32.282Z] 93b61091891f: Verifying Checksum [2021-07-09T21:54:32.282Z] 93b61091891f: Download complete [2021-07-09T21:54:32.282Z] 5e14af77c1be: Verifying Checksum [2021-07-09T21:54:32.282Z] 5e14af77c1be: Download complete [2021-07-09T21:54:32.282Z] 01666e4c0597: Verifying Checksum [2021-07-09T21:54:32.282Z] 01666e4c0597: Download complete [2021-07-09T21:54:32.282Z] 8ad3a11d3b57: Verifying Checksum [2021-07-09T21:54:32.282Z] 8ad3a11d3b57: Download complete [2021-07-09T21:54:32.282Z] df20fa9351a1: Pull complete [2021-07-09T21:54:32.542Z] 36b3adc4ff6f: Pull complete [2021-07-09T21:54:33.123Z] 8ad3a11d3b57: Pull complete [2021-07-09T21:54:33.123Z] 46f8f816bc3b: Pull complete [2021-07-09T21:54:33.390Z] 93b61091891f: Pull complete [2021-07-09T21:54:33.390Z] 93b9cdb0e59b: Pull complete [2021-07-09T21:54:33.390Z] 5e14af77c1be: Pull complete [2021-07-09T21:54:33.390Z] 01666e4c0597: Pull complete [2021-07-09T21:54:34.337Z] aa168da1d23b: Verifying Checksum [2021-07-09T21:54:34.337Z] aa168da1d23b: Download complete [2021-07-09T21:54:38.569Z] aa168da1d23b: Pull complete [2021-07-09T21:54:38.569Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-09T21:54:38.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-09T21:54:38.569Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-09T21:54:38.660Z] prd-centos7-docker-4c-2g-2335 does not seem to be running inside a container [2021-07-09T21:54:38.701Z] $ 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-166/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-166 -v /w/workspace/exfoundry_ci-build-images_PR-166:/w/workspace/exfoundry_ci-build-images_PR-166:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-166@tmp:/w/workspace/exfoundry_ci-build-images_PR-166@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-09T21:54:43.263Z] $ docker top b5654d2152b5518428103fc4b04ca26aa2a970b73162d2b8bcd3ea161c3b4b39 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-09T21:54:43.642Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-09T21:54:43.939Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-09T21:54:44.241Z] + ls /var/log/sa-host [2021-07-09T21:54:44.241Z] + sadf -c /var/log/sa-host/sa05 [2021-07-09T21:54:44.241Z] file_magic: OK [2021-07-09T21:54:44.241Z] HZ: Using current value: 100 [2021-07-09T21:54:44.241Z] file_header: OK [2021-07-09T21:54:44.241Z] 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-09T21:54:44.241Z] Statistics: [2021-07-09T21:54:44.241Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-09T21:54:44.241Z] File successfully converted to sysstat format version 12.2.1 [2021-07-09T21:54:44.241Z] + sadf -c /var/log/sa-host/sa09 [2021-07-09T21:54:44.241Z] file_magic: OK [2021-07-09T21:54:44.241Z] HZ: Using current value: 100 [2021-07-09T21:54:44.241Z] file_header: OK [2021-07-09T21:54:44.241Z] 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-09T21:54:44.241Z] Statistics: [2021-07-09T21:54:44.241Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-09T21:54:44.241Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-09T21:54:44.468Z] provisioning config files... [2021-07-09T21:54:44.482Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-166@tmp/config6045591085055271983tmp [Pipeline] { [Pipeline] echo [2021-07-09T21:54:44.506Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T21:54:44.804Z] ---> create-netrc.sh [Pipeline] } [2021-07-09T21:54:44.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-09T21:54:45.183Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-09T21:54:45.195Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T21:54:45.500Z] ---> sudo-logs.sh [2021-07-09T21:54:45.500Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-09T21:54:45.525Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T21:54:45.828Z] ---> job-cost.sh [2021-07-09T21:54:45.828Z] lf-activate-venv: SKIPPING [2021-07-09T21:54:45.828Z] INFO: No Stack... [2021-07-09T21:54:46.783Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-09T21:54:47.361Z] INFO: Archiving Costs [Pipeline] echo [2021-07-09T21:54:47.376Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-09T21:54:47.674Z] ---> logs-deploy.sh [2021-07-09T21:54:47.674Z] lf-activate-venv: SKIPPING [2021-07-09T21:54:47.674Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-166/2 [2021-07-09T21:54:47.674Z] INFO: archiving workspace using pattern(s): [2021-07-09T21:54:48.620Z] Archives upload complete. [2021-07-09T21:54:48.620Z] INFO: archiving logs to Nexus