Pull request #181 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/ci-build-images Obtained Jenkinsfile from 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd+0c8c268358e01f3f4b0db65eef591114d46ee279 (6d42bb52e0d775a3547d2702c4ea13726d69b4e7) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6200839657740548219.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh682459617039129132.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 c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-181/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-181/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5764861867968236331.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-181/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1611600700933741629.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 # timeout=10 Commit message: "Merge pull request #357 from ernestojeda/fix-previous-commit-sha" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8664150278152903340.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-181/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-181/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2317001574777591770.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 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:release, dockerTags:[1.16-alpine-lts, 1.16-alpine3.14-lts], releaseBranchOverride:golang-1.16-lts] ========================================================= [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: release 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-lts DOCKER_CUSTOM_TAGS: 1.16-alpine-lts 1.16-alpine3.14-lts [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-136’ Running on prd-centos7-docker-4c-2g-137 in /w/workspace/exfoundry_ci-build-images_PR-181 [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-181 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/exfoundry_ci-build-images_PR-181@tmp/jenkins-gitclient-ssh1912608255042118456.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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/exfoundry_ci-build-images_PR-181@tmp/jenkins-gitclient-ssh805131761388461016.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/181/head:refs/remotes/origin/PR-181 +refs/heads/golang-1.16-lts:refs/remotes/origin/golang-1.16-lts # timeout=10 Merging remotes/origin/golang-1.16-lts commit 0c8c268358e01f3f4b0db65eef591114d46ee279 into PR head commit 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd Merge succeeded, producing 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd Checking out Revision 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd (PR-181) > git config core.sparsecheckout # timeout=10 > git checkout -f 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/exfoundry_ci-build-images_PR-181@tmp/jenkins-gitclient-ssh2172592177691202978.key > git merge 0c8c268358e01f3f4b0db65eef591114d46ee279 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd # timeout=10 Commit message: "ci: new golang 1.16 for lts releases" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:13:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:13:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:13:07 ========================================================= 20:13:07 EdgeX Global Pipelines Version Info 20:13:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:13:08 ------------------- 20:13:08 stable info: 20:13:08 ------------------- 20:13:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:13:08 Commit SHA: c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 20:13:08 Message: update stable to v1.0.208 20:13:09 ------------------- 20:13:09 experimental info: 20:13:09 ------------------- 20:13:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:13:09 Commit SHA: c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 20:13:09 Message: update experimental to v1.0.208 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 20:13:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo 20:13:09 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo 20:13:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 20:13:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:13:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:13:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo 20:13:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 20:13:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = release [Pipeline] echo 20:13:09 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 20:13:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:13:09 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 20:13:09 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo 20:13:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:13:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:13:09 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.16-lts [Pipeline] echo 20:13:10 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.16-alpine-lts 1.16-alpine3.14-lts [Pipeline] echo 20:13:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-181 [Pipeline] echo 20:13:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-181 [Pipeline] echo 20:13:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-181 [Pipeline] echo 20:13:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd [Pipeline] echo 20:13:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6447aa1 [Pipeline] echo 20:13:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:13:10 provisioning config files... 20:13:10 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-181@tmp/config4430970299988826020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:13:10 ---> docker-login.sh 20:13:10 nexus3.edgexfoundry.org:10001 20:13:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:10 Configure a credential helper to remove this warning. See 20:13:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:10 20:13:10 Login Succeeded 20:13:10 nexus3.edgexfoundry.org:10002 20:13:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:10 Configure a credential helper to remove this warning. See 20:13:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:10 20:13:10 Login Succeeded 20:13:10 nexus3.edgexfoundry.org:10003 20:13:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:11 Configure a credential helper to remove this warning. See 20:13:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:11 20:13:11 Login Succeeded 20:13:11 nexus3.edgexfoundry.org:10004 20:13:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:11 Configure a credential helper to remove this warning. See 20:13:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:11 20:13:11 Login Succeeded 20:13:11 docker.io 20:13:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:11 Configure a credential helper to remove this warning. See 20:13:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:11 20:13:11 Login Succeeded 20:13:11 ---> docker-login.sh ends [Pipeline] } 20:13:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Semver Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Docker Image) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:13:12 provisioning config files... 20:13:12 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-181@tmp/config5155582982297157987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:13:12 ---> docker-login.sh 20:13:12 nexus3.edgexfoundry.org:10001 20:13:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:12 Configure a credential helper to remove this warning. See 20:13:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:12 20:13:12 Login Succeeded 20:13:12 nexus3.edgexfoundry.org:10002 20:13:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:12 Configure a credential helper to remove this warning. See 20:13:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:12 20:13:12 Login Succeeded 20:13:12 nexus3.edgexfoundry.org:10003 20:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:13 Configure a credential helper to remove this warning. See 20:13:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:13 20:13:13 Login Succeeded 20:13:13 nexus3.edgexfoundry.org:10004 20:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:13 Configure a credential helper to remove this warning. See 20:13:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:13 20:13:13 Login Succeeded 20:13:13 docker.io 20:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:13 Configure a credential helper to remove this warning. See 20:13:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:13 20:13:13 Login Succeeded 20:13:13 ---> docker-login.sh ends [Pipeline] } 20:13:13 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 20:13:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:13:15 + ls -al . 20:13:15 total 12 20:13:15 drwxrwxr-x. 4 jenkins jenkins 91 Oct 8 20:13 . 20:13:15 drwxrwxr-x. 4 jenkins jenkins 112 Oct 8 20:13 .. 20:13:15 -rw-rw-r--. 1 jenkins jenkins 914 Oct 8 20:13 Dockerfile 20:13:15 drwxrwxr-x. 8 jenkins jenkins 179 Oct 8 20:13 .git 20:13:15 drwxrwxr-x. 2 jenkins jenkins 38 Oct 8 20:13 .github 20:13:15 -rw-rw-r--. 1 jenkins jenkins 585 Oct 8 20:13 .golangci.yml 20:13:15 -rw-rw-r--. 1 jenkins jenkins 923 Oct 8 20:13 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 20:13:16 + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd --label arch=amd64 . 20:13:16 Sending build context to Docker daemon 408.6kB 20:13:16 Step 1/9 : FROM golang:1.16.8-alpine3.14 20:13:16 1.16.8-alpine3.14: Pulling from library/golang 20:13:16 a0d0a0d46f8b: Pulling fs layer 20:13:16 31adcdaf11c8: Pulling fs layer 20:13:16 b8b176561691: Pulling fs layer 20:13:16 4527c011a84f: Pulling fs layer 20:13:16 5d74067f8e1e: Pulling fs layer 20:13:16 4527c011a84f: Waiting 20:13:16 5d74067f8e1e: Waiting 20:13:17 b8b176561691: Verifying Checksum 20:13:17 b8b176561691: Download complete 20:13:17 31adcdaf11c8: Verifying Checksum 20:13:17 31adcdaf11c8: Download complete 20:13:17 a0d0a0d46f8b: Verifying Checksum 20:13:17 a0d0a0d46f8b: Download complete 20:13:17 a0d0a0d46f8b: Pull complete 20:13:17 5d74067f8e1e: Verifying Checksum 20:13:17 5d74067f8e1e: Download complete 20:13:17 31adcdaf11c8: Pull complete 20:13:17 b8b176561691: Pull complete 20:13:18 4527c011a84f: Verifying Checksum 20:13:18 4527c011a84f: Download complete 20:13:21 4527c011a84f: Pull complete 20:13:21 5d74067f8e1e: Pull complete 20:13:21 Digest: sha256:69d613a986635e0ee3f1b351131fa689b0dd3570ef9cab8e619a5f1fb939ec56 20:13:21 Status: Downloaded newer image for golang:1.16.8-alpine3.14 20:13:21 ---> df1795ddbf41 20:13:21 Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel Corporation' 20:13:23 ---> Running in 8c5413814e05 20:13:23 Removing intermediate container 8c5413814e05 20:13:23 ---> 5f1127d03ecf 20:13:23 Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:13:23 ---> Running in 9462755bbbb9 20:13:23 Removing intermediate container 9462755bbbb9 20:13:23 ---> 6f31405e5ea9 20:13:23 Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 20:13:23 ---> Running in cabe164232c6 20:13:24 Removing intermediate container cabe164232c6 20:13:24 ---> d7e1917b42be 20:13:24 Step 5/9 : COPY ./.golangci.yml /etc/.golangci.yml 20:13:24 ---> 5636dc62b56d 20:13:24 Step 6/9 : RUN if [ $(uname -m) == "x86_64" ]; then wget -O /usr/local/bin/hadolint https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64 ; chmod +x /usr/local/bin/hadolint; fi 20:13:24 ---> Running in 6b6151344127 20:13:24 Connecting to github.com (140.82.114.4:443) 20:13:24 Connecting to github-releases.githubusercontent.com (185.199.109.154:443) 20:13:24 saving to '/usr/local/bin/hadolint' 20:13:24 hadolint 100% |********************************| 5676k 0:00:00 ETA 20:13:24 '/usr/local/bin/hadolint' saved 20:13:24 Removing intermediate container 6b6151344127 20:13:24 ---> a255fe014d9b 20:13:24 Step 7/9 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base linux-headers musl-dev && ln -s /bin/touch /usr/bin/touch && wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v${GOLANGCI_VERSION} 20:13:25 ---> Running in c07815edfebb 20:13:25 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:13:26 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:13:26 (1/37) Installing ncurses-terminfo-base (6.2_p20210612-r0) 20:13:26 (2/37) Installing ncurses-libs (6.2_p20210612-r0) 20:13:26 (3/37) Installing readline (8.1.0-r0) 20:13:26 (4/37) Installing bash (5.1.4-r0) 20:13:27 Executing bash-5.1.4-r0.post-install 20:13:27 (5/37) Installing libgcc (10.3.1_git20210424-r2) 20:13:27 (6/37) Installing libstdc++ (10.3.1_git20210424-r2) 20:13:27 (7/37) Installing binutils (2.35.2-r2) 20:13:27 Still waiting to schedule task 20:13:27 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 20:13:27 (8/37) Installing libmagic (5.40-r1) 20:13:27 (9/37) Installing file (5.40-r1) 20:13:27 (10/37) Installing libgomp (10.3.1_git20210424-r2) 20:13:27 (11/37) Installing libatomic (10.3.1_git20210424-r2) 20:13:28 (12/37) Installing libgphobos (10.3.1_git20210424-r2) 20:13:28 (13/37) Installing gmp (6.2.1-r0) 20:13:28 (14/37) Installing isl22 (0.22-r0) 20:13:28 (15/37) Installing mpfr4 (4.1.0-r0) 20:13:28 (16/37) Installing mpc1 (1.2.1-r0) 20:13:28 (17/37) Installing gcc (10.3.1_git20210424-r2) 20:13:30 (18/37) Installing musl-dev (1.2.2-r3) 20:13:30 (19/37) Installing libc-dev (0.7.2-r3) 20:13:30 (20/37) Installing g++ (10.3.1_git20210424-r2) 20:13:32 (21/37) Installing make (4.3-r0) 20:13:32 (22/37) Installing fortify-headers (1.1-r1) 20:13:32 (23/37) Installing patch (2.7.6-r7) 20:13:32 (24/37) Installing build-base (0.5-r2) 20:13:32 (25/37) Installing brotli-libs (1.0.9-r5) 20:13:32 (26/37) Installing nghttp2-libs (1.43.0-r0) 20:13:32 (27/37) Installing libcurl (7.79.1-r0) 20:13:32 (28/37) Installing curl (7.79.1-r0) 20:13:32 (29/37) Installing expat (2.4.1-r0) 20:13:32 (30/37) Installing pcre2 (10.36-r0) 20:13:33 (31/37) Installing git (2.32.0-r0) 20:13:33 (32/37) Installing libsodium (1.0.18-r0) 20:13:33 (33/37) Installing pkgconf (1.7.4-r0) 20:13:33 (34/37) Installing libsodium-dev (1.0.18-r0) 20:13:33 (35/37) Installing linux-headers (5.10.41-r0) 20:13:33 (36/37) Installing libzmq (4.3.4-r0) 20:13:34 (37/37) Installing zeromq-dev (4.3.4-r0) 20:13:34 Executing busybox-1.33.1-r3.trigger 20:13:34 OK: 220 MiB in 52 packages 20:13:34 Connecting to raw.githubusercontent.com (185.199.108.133:443) 20:13:34 writing to stdout 20:13:34 - 100% |********************************| 10739 0:00:00 ETA 20:13:34 written to stdout 20:13:34 golangci/golangci-lint info checking GitHub for tag 'v1.40.1' 20:13:34 golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/amd64 20:13:35 golangci/golangci-lint info installed ./bin/golangci-lint 20:13:38 Removing intermediate container c07815edfebb 20:13:38 ---> d348f3eef372 20:13:38 Step 8/9 : LABEL arch=amd64 20:13:38 ---> Running in 88c43e556a42 20:13:38 Removing intermediate container 88c43e556a42 20:13:38 ---> 99610fd8ddda 20:13:38 Step 9/9 : LABEL git_sha=6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd 20:13:38 ---> Running in 09b730a9d7fc 20:13:38 Removing intermediate container 09b730a9d7fc 20:13:38 ---> 2124a4a30b66 20:13:38 [Warning] One or more build-args [ARCH] were not consumed 20:13:38 Successfully built 2124a4a30b66 20:13:38 Successfully tagged edgex-devops/edgex-golang-base:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:13:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:13:39 20:13:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:13:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:13:40 latest: Pulling from edgex-lftools-log-publisher 20:13:40 b4d181a07f80: Pulling fs layer 20:13:40 a1111a8f2ec3: Pulling fs layer 20:13:40 ed53099fbce6: Pulling fs layer 20:13:40 dc539afda2c1: Pulling fs layer 20:13:40 77bc0d833cb6: Pulling fs layer 20:13:40 9065ff56babe: Pulling fs layer 20:13:40 d287ab97295c: Pulling fs layer 20:13:40 dc539afda2c1: Waiting 20:13:40 77bc0d833cb6: Waiting 20:13:40 9065ff56babe: Waiting 20:13:40 d287ab97295c: Waiting 20:13:40 a1111a8f2ec3: Verifying Checksum 20:13:40 a1111a8f2ec3: Download complete 20:13:40 dc539afda2c1: Verifying Checksum 20:13:40 dc539afda2c1: Download complete 20:13:40 ed53099fbce6: Verifying Checksum 20:13:40 ed53099fbce6: Download complete 20:13:40 77bc0d833cb6: Verifying Checksum 20:13:40 77bc0d833cb6: Download complete 20:13:40 9065ff56babe: Verifying Checksum 20:13:40 9065ff56babe: Download complete 20:13:40 b4d181a07f80: Verifying Checksum 20:13:40 b4d181a07f80: Download complete 20:13:41 d287ab97295c: Verifying Checksum 20:13:41 d287ab97295c: Download complete 20:13:41 b4d181a07f80: Pull complete 20:13:41 a1111a8f2ec3: Pull complete 20:13:42 ed53099fbce6: Pull complete 20:13:42 dc539afda2c1: Pull complete 20:13:42 77bc0d833cb6: Pull complete 20:13:42 9065ff56babe: Pull complete 20:13:48 d287ab97295c: Pull complete 20:13:48 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:13:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:13:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:13:48 prd-centos7-docker-4c-2g-137 does not seem to be running inside a container 20:13:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_ci-build-images_PR-181 -v /w/workspace/exfoundry_ci-build-images_PR-181:/w/workspace/exfoundry_ci-build-images_PR-181:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-181@tmp:/w/workspace/exfoundry_ci-build-images_PR-181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:13:50 $ docker top d89c69efcc6b77f371ba08f49b2d8b7b9e29b63427505c5c32d72da0e27442fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:13:51 ---> job-cost.sh 20:13:51 lf-activate-venv: SKIPPING 20:13:51 INFO: No Stack... 20:13:51 INFO: Retrieving Pricing Info for: v3-standard-2 20:13:51 INFO: Archiving Costs [Pipeline] sh 20:13:52 + cut -d, -f6 20:13:52 + cat /w/workspace/exfoundry_ci-build-images_PR-181/archives/cost.csv [Pipeline] lock 20:13:52 Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-181-1-stack-cost] 20:13:52 Resource [jenkins-edgexfoundry-ci-build-images-PR-181-1-stack-cost] did not exist. Created. 20:13:52 Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-181-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:13:52 + echo total: 0.05999999865889549 [Pipeline] stash 20:13:52 Stashed 1 file(s) [Pipeline] } 20:13:52 Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-181-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:13:52 $ docker stop --time=1 d89c69efcc6b77f371ba08f49b2d8b7b9e29b63427505c5c32d72da0e27442fd 20:13:54 $ docker rm -f d89c69efcc6b77f371ba08f49b2d8b7b9e29b63427505c5c32d72da0e27442fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:15:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-139 in /w/workspace/exfoundry_ci-build-images_PR-181 [Pipeline] { [Pipeline] checkout 20:15:55 Selected Git installation does not exist. Using Default 20:15:55 The recommended git tool is: NONE 20:16:00 using credential edgex-jenkins-ssh 20:16:00 Cloning the remote Git repository 20:16:00 Cloning repository git@github.com:edgexfoundry/ci-build-images.git 20:16:00 > git init /w/workspace/exfoundry_ci-build-images_PR-181 # timeout=10 20:16:00 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git 20:16:00 > git --version # timeout=10 20:16:00 > git --version # 'git version 2.17.1' 20:16:00 using GIT_SSH to set credentials SSH Credentials for GitHub 20:16:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:16:02 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 20:16:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:16:02 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 20:16:02 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git 20:16:02 using GIT_SSH to set credentials SSH Credentials for GitHub 20:16:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/181/head:refs/remotes/origin/PR-181 +refs/heads/golang-1.16-lts:refs/remotes/origin/golang-1.16-lts # timeout=10 20:16:03 Merging remotes/origin/golang-1.16-lts commit 0c8c268358e01f3f4b0db65eef591114d46ee279 into PR head commit 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd 20:16:03 Merge succeeded, producing 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd 20:16:03 Checking out Revision 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd (PR-181) 20:16:03 > git config core.sparsecheckout # timeout=10 20:16:03 > git checkout -f 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd # timeout=10 20:16:03 > git remote # timeout=10 20:16:03 > git config --get remote.origin.url # timeout=10 20:16:03 using GIT_SSH to set credentials SSH Credentials for GitHub 20:16:03 > git merge 0c8c268358e01f3f4b0db65eef591114d46ee279 # timeout=10 20:16:03 > git rev-parse HEAD^{commit} # timeout=10 20:16:03 > git config core.sparsecheckout # timeout=10 20:16:03 > git checkout -f 6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd # timeout=10 20:16:08 Commit message: "ci: new golang 1.16 for lts releases" 20:16:08 > git --version # timeout=10 20:16:08 > git --version # 'git version 2.17.1' 20:16:08 fatal: bad object c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:16:08 provisioning config files... 20:16:08 copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-181@tmp/config7617416834358694156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:16:09 ---> docker-login.sh 20:16:09 nexus3.edgexfoundry.org:10001 20:16:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:11 Configure a credential helper to remove this warning. See 20:16:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:11 20:16:11 Login Succeeded 20:16:11 nexus3.edgexfoundry.org:10002 20:16:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:11 Configure a credential helper to remove this warning. See 20:16:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:11 20:16:11 Login Succeeded 20:16:11 nexus3.edgexfoundry.org:10003 20:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:12 Configure a credential helper to remove this warning. See 20:16:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:12 20:16:12 Login Succeeded 20:16:12 nexus3.edgexfoundry.org:10004 20:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:13 Configure a credential helper to remove this warning. See 20:16:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:13 20:16:13 Login Succeeded 20:16:13 docker.io 20:16:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:13 Configure a credential helper to remove this warning. See 20:16:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:13 20:16:13 Login Succeeded 20:16:13 ---> docker-login.sh ends [Pipeline] } 20:16:14 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 20:16:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:16:15 + ls -al . 20:16:15 total 28 20:16:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 20:16 . 20:16:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 20:16 .. 20:16:15 drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 20:16 .git 20:16:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 20:16 .github 20:16:15 -rw-rw-r-- 1 jenkins jenkins 585 Oct 8 20:16 .golangci.yml 20:16:15 -rw-rw-r-- 1 jenkins jenkins 914 Oct 8 20:16 Dockerfile 20:16:15 -rw-rw-r-- 1 jenkins jenkins 923 Oct 8 20:16 Jenkinsfile [Pipeline] isUnix [Pipeline] sh 20:16:15 + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd --label arch=arm64 . 20:16:15 Sending build context to Docker daemon 407.6kB 20:16:15 Step 1/9 : FROM golang:1.16.8-alpine3.14 20:16:16 1.16.8-alpine3.14: Pulling from library/golang 20:16:17 552d1f2373af: Pulling fs layer 20:16:17 ea3f2d53f512: Pulling fs layer 20:16:17 9e70ebbbe112: Pulling fs layer 20:16:17 7a9cfe048b4a: Pulling fs layer 20:16:17 72dc09318566: Pulling fs layer 20:16:17 7a9cfe048b4a: Waiting 20:16:17 72dc09318566: Waiting 20:16:17 9e70ebbbe112: Verifying Checksum 20:16:17 9e70ebbbe112: Download complete 20:16:17 ea3f2d53f512: Verifying Checksum 20:16:17 ea3f2d53f512: Download complete 20:16:17 552d1f2373af: Verifying Checksum 20:16:17 552d1f2373af: Download complete 20:16:17 72dc09318566: Verifying Checksum 20:16:17 72dc09318566: Download complete 20:16:18 552d1f2373af: Pull complete 20:16:18 ea3f2d53f512: Pull complete 20:16:19 9e70ebbbe112: Pull complete 20:16:19 7a9cfe048b4a: Verifying Checksum 20:16:19 7a9cfe048b4a: Download complete 20:16:29 7a9cfe048b4a: Pull complete 20:16:30 72dc09318566: Pull complete 20:16:30 Digest: sha256:69d613a986635e0ee3f1b351131fa689b0dd3570ef9cab8e619a5f1fb939ec56 20:16:30 Status: Downloaded newer image for golang:1.16.8-alpine3.14 20:16:30 ---> 9e9fffa30629 20:16:30 Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel Corporation' 20:16:33 ---> Running in 44598adc32c0 20:16:33 Removing intermediate container 44598adc32c0 20:16:33 ---> 795fe45ccaf7 20:16:33 Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:16:33 ---> Running in 74728f36170e 20:16:36 Removing intermediate container 74728f36170e 20:16:36 ---> 9ab242a20412 20:16:36 Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 20:16:36 ---> Running in 22f09173c877 20:16:36 Removing intermediate container 22f09173c877 20:16:36 ---> 19cc06d7f406 20:16:36 Step 5/9 : COPY ./.golangci.yml /etc/.golangci.yml 20:16:37 ---> f8a98f12ca42 20:16:37 Step 6/9 : RUN if [ $(uname -m) == "x86_64" ]; then wget -O /usr/local/bin/hadolint https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64 ; chmod +x /usr/local/bin/hadolint; fi 20:16:37 ---> Running in b6e16ad4f909 20:16:39 Removing intermediate container b6e16ad4f909 20:16:39 ---> cfb8d01df5a5 20:16:39 Step 7/9 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base linux-headers musl-dev && ln -s /bin/touch /usr/bin/touch && wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v${GOLANGCI_VERSION} 20:16:39 ---> Running in d9724dde7233 20:16:41 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:16:42 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:16:42 (1/37) Installing ncurses-terminfo-base (6.2_p20210612-r0) 20:16:42 (2/37) Installing ncurses-libs (6.2_p20210612-r0) 20:16:43 (3/37) Installing readline (8.1.0-r0) 20:16:43 (4/37) Installing bash (5.1.4-r0) 20:16:43 Executing bash-5.1.4-r0.post-install 20:16:43 (5/37) Installing libgcc (10.3.1_git20210424-r2) 20:16:43 (6/37) Installing libstdc++ (10.3.1_git20210424-r2) 20:16:43 (7/37) Installing binutils (2.35.2-r2) 20:16:43 (8/37) Installing libmagic (5.40-r1) 20:16:44 (9/37) Installing file (5.40-r1) 20:16:44 (10/37) Installing libgomp (10.3.1_git20210424-r2) 20:16:44 (11/37) Installing libatomic (10.3.1_git20210424-r2) 20:16:44 (12/37) Installing libgphobos (10.3.1_git20210424-r2) 20:16:44 (13/37) Installing gmp (6.2.1-r0) 20:16:44 (14/37) Installing isl22 (0.22-r0) 20:16:44 (15/37) Installing mpfr4 (4.1.0-r0) 20:16:45 (16/37) Installing mpc1 (1.2.1-r0) 20:16:45 (17/37) Installing gcc (10.3.1_git20210424-r2) 20:16:47 (18/37) Installing musl-dev (1.2.2-r3) 20:16:48 (19/37) Installing libc-dev (0.7.2-r3) 20:16:48 (20/37) Installing g++ (10.3.1_git20210424-r2) 20:16:50 (21/37) Installing make (4.3-r0) 20:16:50 (22/37) Installing fortify-headers (1.1-r1) 20:16:50 (23/37) Installing patch (2.7.6-r7) 20:16:50 (24/37) Installing build-base (0.5-r2) 20:16:50 (25/37) Installing brotli-libs (1.0.9-r5) 20:16:50 (26/37) Installing nghttp2-libs (1.43.0-r0) 20:16:51 (27/37) Installing libcurl (7.79.1-r0) 20:16:51 (28/37) Installing curl (7.79.1-r0) 20:16:51 (29/37) Installing expat (2.4.1-r0) 20:16:51 (30/37) Installing pcre2 (10.36-r0) 20:16:51 (31/37) Installing git (2.32.0-r0) 20:16:52 (32/37) Installing libsodium (1.0.18-r0) 20:16:52 (33/37) Installing pkgconf (1.7.4-r0) 20:16:52 (34/37) Installing libsodium-dev (1.0.18-r0) 20:16:52 (35/37) Installing linux-headers (5.10.41-r0) 20:16:53 (36/37) Installing libzmq (4.3.4-r0) 20:16:53 (37/37) Installing zeromq-dev (4.3.4-r0) 20:16:53 Executing busybox-1.33.1-r3.trigger 20:16:53 OK: 219 MiB in 52 packages 20:16:53 Connecting to raw.githubusercontent.com (185.199.111.133:443) 20:16:53 writing to stdout 20:16:53 - 100% |********************************| 10739 0:00:00 ETA 20:16:53 written to stdout 20:16:53 golangci/golangci-lint info checking GitHub for tag 'v1.40.1' 20:16:53 golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/arm64 20:16:55 golangci/golangci-lint info installed ./bin/golangci-lint 20:17:08 Removing intermediate container d9724dde7233 20:17:08 ---> f294d835ea65 20:17:08 Step 8/9 : LABEL arch=arm64 20:17:08 ---> Running in 0248135b2303 20:17:08 Removing intermediate container 0248135b2303 20:17:08 ---> b4a55f5640f3 20:17:08 Step 9/9 : LABEL git_sha=6447aa168ba90b9eade72cdb3d1ba8b26d60d3dd 20:17:08 ---> Running in 101116516ced 20:17:08 Removing intermediate container 101116516ced 20:17:08 ---> ddee6b22ad5c 20:17:08 [Warning] One or more build-args [ARCH] were not consumed 20:17:08 Successfully built ddee6b22ad5c 20:17:08 Successfully tagged edgex-devops/edgex-golang-base-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:17:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:17:09 20:17:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:17:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:17:10 arm64: Pulling from edgex-lftools-log-publisher 20:17:10 448f6bf000e3: Pulling fs layer 20:17:10 f757da607395: Pulling fs layer 20:17:10 05883995daec: Pulling fs layer 20:17:10 8603b9c90790: Pulling fs layer 20:17:10 1560dd03e051: Pulling fs layer 20:17:10 27f5ce0e4adf: Pulling fs layer 20:17:10 c2d8d7efcc4b: Pulling fs layer 20:17:10 8603b9c90790: Waiting 20:17:10 27f5ce0e4adf: Waiting 20:17:10 c2d8d7efcc4b: Waiting 20:17:10 1560dd03e051: Waiting 20:17:10 f757da607395: Verifying Checksum 20:17:10 f757da607395: Download complete 20:17:10 8603b9c90790: Download complete 20:17:11 1560dd03e051: Verifying Checksum 20:17:11 1560dd03e051: Download complete 20:17:11 05883995daec: Verifying Checksum 20:17:11 05883995daec: Download complete 20:17:11 27f5ce0e4adf: Verifying Checksum 20:17:11 27f5ce0e4adf: Download complete 20:17:11 448f6bf000e3: Verifying Checksum 20:17:11 448f6bf000e3: Download complete 20:17:14 c2d8d7efcc4b: Verifying Checksum 20:17:14 c2d8d7efcc4b: Download complete 20:17:15 448f6bf000e3: Pull complete 20:17:16 f757da607395: Pull complete 20:17:17 05883995daec: Pull complete 20:17:17 8603b9c90790: Pull complete 20:17:18 1560dd03e051: Pull complete 20:17:19 27f5ce0e4adf: Pull complete 20:17:34 c2d8d7efcc4b: Pull complete 20:17:34 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 20:17:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:17:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:17:34 prd-ubuntu18.04-docker-arm64-4c-16g-139 does not seem to be running inside a container 20:17:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_ci-build-images_PR-181 -v /w/workspace/exfoundry_ci-build-images_PR-181:/w/workspace/exfoundry_ci-build-images_PR-181:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-181@tmp:/w/workspace/exfoundry_ci-build-images_PR-181@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:arm64 cat 20:17:40 $ docker top 3d2380a3937f9a9e8fde885835ac1b57a215b559534ed371dd7034401b13537e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:17:41 ---> job-cost.sh 20:17:41 lf-activate-venv: SKIPPING 20:17:41 INFO: No Stack... 20:17:42 INFO: Retrieving Pricing Info for: v3-standard-4 20:17:42 INFO: Archiving Costs [Pipeline] sh 20:17:43 + cat /w/workspace/exfoundry_ci-build-images_PR-181/archives/cost.csv 20:17:43 + cut -d, -f6 [Pipeline] lock 20:17:43 Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-181-1-stack-cost] 20:17:43 Resource [jenkins-edgexfoundry-ci-build-images-PR-181-1-stack-cost] did not exist. Created. 20:17:43 Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-181-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:17:44 /w/workspace/exfoundry_ci-build-images_PR-181@tmp/durable-d31ee1a3/script.sh: 1: /w/workspace/exfoundry_ci-build-images_PR-181@tmp/durable-d31ee1a3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:17:45 + echo total: 0.10999999940395355 [Pipeline] stash 20:17:45 Warning: overwriting stash ‘stack-cost’ 20:17:45 Stashed 1 file(s) [Pipeline] } 20:17:45 Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-181-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:17:45 $ docker stop --time=1 3d2380a3937f9a9e8fde885835ac1b57a215b559534ed371dd7034401b13537e 20:17:47 $ docker rm -f 3d2380a3937f9a9e8fde885835ac1b57a215b559534ed371dd7034401b13537e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:17:49 + '[' -d /w/workspace/exfoundry_ci-build-images_PR-181/archives ']' 20:17:49 + ls -al /w/workspace/exfoundry_ci-build-images_PR-181/archives 20:17:49 total 4 20:17:49 drwxr-xr-x. 3 root root 34 Oct 8 20:13 . 20:17:49 drwxrwxr-x. 5 jenkins jenkins 125 Oct 8 20:13 .. 20:17:49 drwxr-xr-x. 2 root root 6 Oct 8 20:13 cost 20:17:49 -rw-r--r--. 1 root root 85 Oct 8 20:13 cost.csv 20:17:49 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-181/archives 20:17:49 + ls -al /w/workspace/exfoundry_ci-build-images_PR-181/archives 20:17:49 total 4 20:17:49 drwxr-xr-x. 3 jenkins jenkins 34 Oct 8 20:13 . 20:17:49 drwxrwxr-x. 5 jenkins jenkins 125 Oct 8 20:13 .. 20:17:49 drwxr-xr-x. 2 jenkins jenkins 6 Oct 8 20:13 cost 20:17:49 -rw-r--r--. 1 jenkins jenkins 85 Oct 8 20:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:17:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:17:49 ---> package-listing.sh 20:17:49 ++ facter osfamily 20:17:49 ++ tr '[:upper:]' '[:lower:]' 20:17:50 + OS_FAMILY=redhat 20:17:50 + workspace=/w/workspace/exfoundry_ci-build-images_PR-181 20:17:50 + START_PACKAGES=/tmp/packages_start.txt 20:17:50 + END_PACKAGES=/tmp/packages_end.txt 20:17:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:17:50 + PACKAGES=/tmp/packages_start.txt 20:17:50 + '[' /w/workspace/exfoundry_ci-build-images_PR-181 ']' 20:17:50 + PACKAGES=/tmp/packages_end.txt 20:17:50 + case "${OS_FAMILY}" in 20:17:50 + rpm -qa 20:17:50 + sort 20:17:50 + '[' -f /tmp/packages_start.txt ']' 20:17:50 + '[' -f /tmp/packages_end.txt ']' 20:17:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:17:50 + '[' /w/workspace/exfoundry_ci-build-images_PR-181 ']' 20:17:50 + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-181/archives/ 20:17:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-181/archives/ [Pipeline] echo 20:17:50 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-181/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:17:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:17:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:17:51 . [Pipeline] withDockerContainer 20:17:51 prd-centos7-docker-4c-2g-137 does not seem to be running inside a container 20:17:51 $ 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-181/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-181 -v /w/workspace/exfoundry_ci-build-images_PR-181:/w/workspace/exfoundry_ci-build-images_PR-181:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-181@tmp:/w/workspace/exfoundry_ci-build-images_PR-181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:17:51 $ docker top 93be7e7cea72aaa11130c059b77af4e56ba588e7bf6c1a2cd6c4d278459cdd9e -eo pid,comm [Pipeline] { [Pipeline] sh 20:17:52 + touch /tmp/pre-build-complete [Pipeline] sh 20:17:52 + mkdir -p /var/log/sysstat [Pipeline] sh 20:17:52 + ls /var/log/sa-host 20:17:52 + sadf -c /var/log/sa-host/sa08 20:17:52 file_magic: OK 20:17:52 HZ: Using current value: 100 20:17:52 file_header: OK 20:17:52 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 20:17:52 Statistics: 20:17:52 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:17:52 File successfully converted to sysstat format version 12.0.3 20:17:52 + sadf -c /var/log/sa-host/sa30 20:17:52 file_magic: OK 20:17:52 HZ: Using current value: 100 20:17:52 file_header: OK 20:17:52 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 20:17:52 Statistics: 20:17:52 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:17:52 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:17:52 provisioning config files... 20:17:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-181@tmp/config1693284406439129499tmp [Pipeline] { [Pipeline] echo 20:17:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:17:53 ---> create-netrc.sh [Pipeline] } 20:17:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:17:53 ---> python-tools-install.sh [Pipeline] echo 20:17:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:17:54 ---> sudo-logs.sh 20:17:54 Archiving 'sudo' log.. 20:17:54 sudo: unable to resolve host prd-centos7-docker-4c-2g-137.novalocal: Name or service not known 20:17:54 sudo: unable to resolve host prd-centos7-docker-4c-2g-137.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 20:17:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:17:54 ---> job-cost.sh 20:17:54 lf-activate-venv: SKIPPING 20:17:54 DEBUG: total: 0.05999999865889549 20:17:54 INFO: Retrieving Stack Cost... 20:17:54 INFO: Retrieving Pricing Info for: v3-standard-2 20:17:54 INFO: Archiving Costs [Pipeline] echo 20:17:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:17:55 ---> logs-deploy.sh 20:17:55 lf-activate-venv: SKIPPING 20:17:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-181/1 20:17:55 INFO: archiving workspace using pattern(s): 20:17:55 Archives upload complete. 20:17:56 INFO: archiving logs to Nexus