Pull request #188 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 7b52d4d3248ea69daa9cf3a10c630a15e72de815+b4784e8ccea1a8149fcf17bfdcc2aaa9d18929d9 (6106429f3af74b779361ff89718574d7bac37531) 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-ssh5260377025506618356.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0296cfd70f3001d69e24c2db393b493f66f700db 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-ssh15130684026653746369.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 0296cfd70f3001d69e24c2db393b493f66f700db 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-188/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-188/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4642489246186218624.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-188/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17313933611997423207.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0296cfd70f3001d69e24c2db393b493f66f700db (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0296cfd70f3001d69e24c2db393b493f66f700db # timeout=10 Commit message: "Merge pull request #381 from edgexfoundry/us3314" > 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-ssh895204765695783898.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-188/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-188/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12163970339001928541.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 0296cfd70f3001d69e24c2db393b493f66f700db 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.17-alpine-lts, 1.17-alpine3.15-lts], releaseBranchOverride:golang-1.17-lts] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.17-lts DOCKER_CUSTOM_TAGS: 1.17-alpine-lts 1.17-alpine3.15-lts [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-33543 in /w/workspace/exfoundry_ci-build-images_PR-188 [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-188 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/188/head:refs/remotes/origin/PR-188 +refs/heads/golang-1.17-lts:refs/remotes/origin/golang-1.17-lts # timeout=10 Merging remotes/origin/golang-1.17-lts commit b4784e8ccea1a8149fcf17bfdcc2aaa9d18929d9 into PR head commit 7b52d4d3248ea69daa9cf3a10c630a15e72de815 Merge succeeded, producing 37d36c11a91022d639784f6642f29e3f99d12f93 Checking out Revision 37d36c11a91022d639784f6642f29e3f99d12f93 (PR-188) > git config core.sparsecheckout # timeout=10 > git checkout -f 7b52d4d3248ea69daa9cf3a10c630a15e72de815 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b4784e8ccea1a8149fcf17bfdcc2aaa9d18929d9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37d36c11a91022d639784f6642f29e3f99d12f93 # timeout=10 Commit message: "Merge commit 'b4784e8ccea1a8149fcf17bfdcc2aaa9d18929d9' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0296cfd70f3001d69e24c2db393b493f66f700db [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-27T22:26:32.096Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-27T22:26:32.309Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-27T22:26:32.388Z] ========================================================= [2022-04-27T22:26:32.389Z] EdgeX Global Pipelines Version Info [2022-04-27T22:26:32.389Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-27T22:26:33.179Z] ------------------- [2022-04-27T22:26:33.179Z] stable info: [2022-04-27T22:26:33.179Z] ------------------- [2022-04-27T22:26:33.179Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2022-04-27T22:26:33.179Z] Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db [2022-04-27T22:26:33.179Z] Message: update stable to v1.0.225 [2022-04-27T22:26:33.759Z] ------------------- [2022-04-27T22:26:33.759Z] experimental info: [2022-04-27T22:26:33.759Z] ------------------- [2022-04-27T22:26:33.759Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-27T22:26:33.759Z] Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 [2022-04-27T22:26:33.759Z] Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2022-04-27T22:26:34.029Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2022-04-27T22:26:34.063Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo [2022-04-27T22:26:34.097Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2022-04-27T22:26:34.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-27T22:26:34.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-27T22:26:34.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo [2022-04-27T22:26:34.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2022-04-27T22:26:34.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = release [Pipeline] echo [2022-04-27T22:26:34.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2022-04-27T22:26:34.352Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-27T22:26:34.388Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2022-04-27T22:26:34.421Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo [2022-04-27T22:26:34.453Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-27T22:26:34.485Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-27T22:26:34.517Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.17-lts [Pipeline] echo [2022-04-27T22:26:34.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.17-alpine-lts 1.17-alpine3.15-lts [Pipeline] echo [2022-04-27T22:26:34.587Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-188 [Pipeline] echo [2022-04-27T22:26:34.622Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-188 [Pipeline] echo [2022-04-27T22:26:34.656Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-188 [Pipeline] echo [2022-04-27T22:26:34.687Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 37d36c11a91022d639784f6642f29e3f99d12f93 [Pipeline] echo [2022-04-27T22:26:34.717Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 37d36c1 [Pipeline] echo [2022-04-27T22:26:34.744Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T22:26:34.844Z] provisioning config files... [2022-04-27T22:26:34.858Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-188@tmp/config7749850140068128552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T22:26:35.197Z] ---> docker-login.sh [2022-04-27T22:26:35.198Z] nexus3.edgexfoundry.org:10001 [2022-04-27T22:26:35.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T22:26:35.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T22:26:35.750Z] Configure a credential helper to remove this warning. See [2022-04-27T22:26:35.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T22:26:35.750Z] [2022-04-27T22:26:35.750Z] Login Succeeded [2022-04-27T22:26:35.750Z] nexus3.edgexfoundry.org:10002 [2022-04-27T22:26:35.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T22:26:35.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T22:26:35.750Z] Configure a credential helper to remove this warning. See [2022-04-27T22:26:35.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T22:26:35.750Z] [2022-04-27T22:26:35.750Z] Login Succeeded [2022-04-27T22:26:35.750Z] nexus3.edgexfoundry.org:10003 [2022-04-27T22:26:36.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T22:26:36.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T22:26:36.014Z] Configure a credential helper to remove this warning. See [2022-04-27T22:26:36.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T22:26:36.014Z] [2022-04-27T22:26:36.014Z] Login Succeeded [2022-04-27T22:26:36.014Z] nexus3.edgexfoundry.org:10004 [2022-04-27T22:26:36.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T22:26:36.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T22:26:36.276Z] Configure a credential helper to remove this warning. See [2022-04-27T22:26:36.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T22:26:36.276Z] [2022-04-27T22:26:36.276Z] Login Succeeded [2022-04-27T22:26:36.276Z] docker.io [2022-04-27T22:26:36.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T22:26:36.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T22:26:36.535Z] Configure a credential helper to remove this warning. See [2022-04-27T22:26:36.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T22:26:36.535Z] [2022-04-27T22:26:36.535Z] Login Succeeded [2022-04-27T22:26:36.535Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T22:26:36.559Z] 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 [2022-04-27T22:26:37.254Z] provisioning config files... [2022-04-27T22:26:37.267Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-188@tmp/config8108730803427531996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T22:26:37.620Z] ---> docker-login.sh [2022-04-27T22:26:37.620Z] nexus3.edgexfoundry.org:10001 [2022-04-27T22:26:37.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T22:26:37.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T22:26:37.620Z] Configure a credential helper to remove this warning. See [2022-04-27T22:26:37.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T22:26:37.620Z] [2022-04-27T22:26:37.620Z] Login Succeeded [2022-04-27T22:26:37.620Z] nexus3.edgexfoundry.org:10002 [2022-04-27T22:26:37.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T22:26:37.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T22:26:37.881Z] Configure a credential helper to remove this warning. See [2022-04-27T22:26:37.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T22:26:37.881Z] [2022-04-27T22:26:37.881Z] Login Succeeded [2022-04-27T22:26:37.881Z] nexus3.edgexfoundry.org:10003 [2022-04-27T22:26:37.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T22:26:37.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T22:26:37.881Z] Configure a credential helper to remove this warning. See [2022-04-27T22:26:37.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T22:26:37.881Z] [2022-04-27T22:26:37.881Z] Login Succeeded [2022-04-27T22:26:37.881Z] nexus3.edgexfoundry.org:10004 [2022-04-27T22:26:38.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T22:26:38.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T22:26:38.141Z] Configure a credential helper to remove this warning. See [2022-04-27T22:26:38.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T22:26:38.141Z] [2022-04-27T22:26:38.141Z] Login Succeeded [2022-04-27T22:26:38.141Z] docker.io [2022-04-27T22:26:38.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T22:26:38.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T22:26:38.406Z] Configure a credential helper to remove this warning. See [2022-04-27T22:26:38.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T22:26:38.406Z] [2022-04-27T22:26:38.406Z] Login Succeeded [2022-04-27T22:26:38.406Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T22:26:38.433Z] 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 [2022-04-27T22:26:39.412Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-27T22:26:39.734Z] + ls -al . [2022-04-27T22:26:39.734Z] total 28 [2022-04-27T22:26:39.734Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 22:26 . [2022-04-27T22:26:39.734Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 22:26 .. [2022-04-27T22:26:39.734Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 22:26 .git [2022-04-27T22:26:39.734Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 22:26 .github [2022-04-27T22:26:39.734Z] -rw-rw-r-- 1 jenkins jenkins 585 Apr 27 22:26 .golangci.yml [2022-04-27T22:26:39.734Z] -rw-rw-r-- 1 jenkins jenkins 914 Apr 27 22:26 Dockerfile [2022-04-27T22:26:39.734Z] -rw-rw-r-- 1 jenkins jenkins 923 Apr 27 22:26 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2022-04-27T22:26:40.109Z] + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=37d36c11a91022d639784f6642f29e3f99d12f93 --label arch=amd64 . [2022-04-27T22:26:40.109Z] Sending build context to Docker daemon 427kB [2022-04-27T22:26:40.109Z] Step 1/9 : FROM golang:1.17.6-alpine3.15 [2022-04-27T22:26:40.685Z] 1.17.6-alpine3.15: Pulling from library/golang [2022-04-27T22:26:40.948Z] 59bf1c3509f3: Pulling fs layer [2022-04-27T22:26:40.948Z] 666ba61612fd: Pulling fs layer [2022-04-27T22:26:40.948Z] 8ed8ca486205: Pulling fs layer [2022-04-27T22:26:40.948Z] 4fe6c5a15a65: Pulling fs layer [2022-04-27T22:26:40.948Z] 22a0e8bec74d: Pulling fs layer [2022-04-27T22:26:40.948Z] 4fe6c5a15a65: Waiting [2022-04-27T22:26:40.948Z] 22a0e8bec74d: Waiting [2022-04-27T22:26:41.210Z] 8ed8ca486205: Download complete [2022-04-27T22:26:41.210Z] 666ba61612fd: Download complete [2022-04-27T22:26:41.210Z] 59bf1c3509f3: Verifying Checksum [2022-04-27T22:26:41.210Z] 59bf1c3509f3: Download complete [2022-04-27T22:26:41.481Z] 22a0e8bec74d: Verifying Checksum [2022-04-27T22:26:41.481Z] 22a0e8bec74d: Download complete [2022-04-27T22:26:41.481Z] 59bf1c3509f3: Pull complete [2022-04-27T22:26:41.743Z] 666ba61612fd: Pull complete [2022-04-27T22:26:42.005Z] 8ed8ca486205: Pull complete [2022-04-27T22:26:45.327Z] 4fe6c5a15a65: Verifying Checksum [2022-04-27T22:26:45.327Z] 4fe6c5a15a65: Download complete [2022-04-27T22:26:49.569Z] 4fe6c5a15a65: Pull complete [2022-04-27T22:26:49.835Z] 22a0e8bec74d: Pull complete [2022-04-27T22:26:49.835Z] Digest: sha256:519c827ec22e5cf7417c9ff063ec840a446cdd30681700a16cf42eb43823e27c [2022-04-27T22:26:49.835Z] Status: Downloaded newer image for golang:1.17.6-alpine3.15 [2022-04-27T22:26:49.835Z] ---> e8fc0c5ad389 [2022-04-27T22:26:49.835Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel Corporation' [2022-04-27T22:26:51.224Z] ---> Running in 23877754099d [2022-04-27T22:26:51.225Z] Removing intermediate container 23877754099d [2022-04-27T22:26:51.225Z] ---> 7ffb8fad5fcb [2022-04-27T22:26:51.225Z] Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T22:26:51.225Z] ---> Running in c05ae08cd9fb [2022-04-27T22:26:52.054Z] Still waiting to schedule task [2022-04-27T22:26:52.054Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-27T22:26:52.169Z] Removing intermediate container c05ae08cd9fb [2022-04-27T22:26:52.169Z] ---> 6273a1df1fd4 [2022-04-27T22:26:52.169Z] Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 [2022-04-27T22:26:52.169Z] ---> Running in c0294653de77 [2022-04-27T22:26:52.169Z] Removing intermediate container c0294653de77 [2022-04-27T22:26:52.169Z] ---> 83ff804adfdb [2022-04-27T22:26:52.169Z] Step 5/9 : COPY ./.golangci.yml /etc/.golangci.yml [2022-04-27T22:26:52.430Z] ---> 26ec994da6c7 [2022-04-27T22:26:52.430Z] 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 [2022-04-27T22:26:52.430Z] ---> Running in b317a4369e45 [2022-04-27T22:26:52.691Z] Connecting to github.com (140.82.114.4:443) [2022-04-27T22:26:52.953Z] Connecting to objects.githubusercontent.com (185.199.109.133:443) [2022-04-27T22:26:53.213Z] saving to '/usr/local/bin/hadolint' [2022-04-27T22:26:53.214Z] hadolint 100% |********************************| 5676k 0:00:00 ETA [2022-04-27T22:26:53.214Z] '/usr/local/bin/hadolint' saved [2022-04-27T22:26:53.787Z] Removing intermediate container b317a4369e45 [2022-04-27T22:26:53.787Z] ---> b7c97abfdb34 [2022-04-27T22:26:53.787Z] 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} [2022-04-27T22:26:53.787Z] ---> Running in aa384456191a [2022-04-27T22:26:54.360Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-27T22:26:55.304Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-27T22:26:55.564Z] (1/37) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-04-27T22:26:55.564Z] (2/37) Installing ncurses-libs (6.3_p20211120-r0) [2022-04-27T22:26:55.564Z] (3/37) Installing readline (8.1.1-r0) [2022-04-27T22:26:55.825Z] (4/37) Installing bash (5.1.16-r0) [2022-04-27T22:26:55.825Z] Executing bash-5.1.16-r0.post-install [2022-04-27T22:26:55.825Z] (5/37) Installing libgcc (10.3.1_git20211027-r0) [2022-04-27T22:26:55.825Z] (6/37) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-27T22:26:56.087Z] (7/37) Installing binutils (2.37-r3) [2022-04-27T22:26:56.349Z] (8/37) Installing libmagic (5.41-r0) [2022-04-27T22:26:56.349Z] (9/37) Installing file (5.41-r0) [2022-04-27T22:26:56.349Z] (10/37) Installing libgomp (10.3.1_git20211027-r0) [2022-04-27T22:26:56.611Z] (11/37) Installing libatomic (10.3.1_git20211027-r0) [2022-04-27T22:26:56.611Z] (12/37) Installing libgphobos (10.3.1_git20211027-r0) [2022-04-27T22:26:56.611Z] (13/37) Installing gmp (6.2.1-r1) [2022-04-27T22:26:56.871Z] (14/37) Installing isl22 (0.22-r0) [2022-04-27T22:26:56.871Z] (15/37) Installing mpfr4 (4.1.0-r0) [2022-04-27T22:26:57.133Z] (16/37) Installing mpc1 (1.2.1-r0) [2022-04-27T22:26:57.133Z] (17/37) Installing gcc (10.3.1_git20211027-r0) [2022-04-27T22:26:59.072Z] (18/37) Installing musl-dev (1.2.2-r7) [2022-04-27T22:26:59.333Z] (19/37) Installing libc-dev (0.7.2-r3) [2022-04-27T22:26:59.593Z] (20/37) Installing g++ (10.3.1_git20211027-r0) [2022-04-27T22:27:00.978Z] (21/37) Installing make (4.3-r0) [2022-04-27T22:27:00.978Z] (22/37) Installing fortify-headers (1.1-r1) [2022-04-27T22:27:00.978Z] (23/37) Installing patch (2.7.6-r7) [2022-04-27T22:27:00.978Z] (24/37) Installing build-base (0.5-r2) [2022-04-27T22:27:01.243Z] (25/37) Installing brotli-libs (1.0.9-r5) [2022-04-27T22:27:01.243Z] (26/37) Installing nghttp2-libs (1.46.0-r0) [2022-04-27T22:27:01.243Z] (27/37) Installing libcurl (7.80.0-r1) [2022-04-27T22:27:01.504Z] (28/37) Installing curl (7.80.0-r1) [2022-04-27T22:27:01.504Z] (29/37) Installing expat (2.4.7-r0) [2022-04-27T22:27:01.767Z] (30/37) Installing pcre2 (10.39-r0) [2022-04-27T22:27:01.767Z] (31/37) Installing git (2.34.2-r0) [2022-04-27T22:27:02.029Z] (32/37) Installing libsodium (1.0.18-r0) [2022-04-27T22:27:02.290Z] (33/37) Installing pkgconf (1.8.0-r0) [2022-04-27T22:27:02.290Z] (34/37) Installing libsodium-dev (1.0.18-r0) [2022-04-27T22:27:02.290Z] (35/37) Installing linux-headers (5.10.41-r0) [2022-04-27T22:27:02.550Z] (36/37) Installing libzmq (4.3.4-r0) [2022-04-27T22:27:02.550Z] (37/37) Installing zeromq-dev (4.3.4-r0) [2022-04-27T22:27:02.810Z] Executing busybox-1.34.1-r3.trigger [2022-04-27T22:27:02.810Z] OK: 221 MiB in 52 packages [2022-04-27T22:27:02.810Z] Connecting to raw.githubusercontent.com (185.199.111.133:443) [2022-04-27T22:27:02.810Z] writing to stdout [2022-04-27T22:27:02.810Z] - 100% |********************************| 10759 0:00:00 ETA [2022-04-27T22:27:02.810Z] written to stdout [2022-04-27T22:27:02.810Z] golangci/golangci-lint info checking GitHub for tag 'v1.40.1' [2022-04-27T22:27:03.071Z] golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/amd64 [2022-04-27T22:27:04.456Z] golangci/golangci-lint info installed ./bin/golangci-lint [2022-04-27T22:27:08.663Z] Removing intermediate container aa384456191a [2022-04-27T22:27:08.663Z] ---> 046e473e33ee [2022-04-27T22:27:08.663Z] Step 8/9 : LABEL arch=amd64 [2022-04-27T22:27:08.663Z] ---> Running in 514029f33aca [2022-04-27T22:27:08.663Z] Removing intermediate container 514029f33aca [2022-04-27T22:27:08.663Z] ---> 236241259440 [2022-04-27T22:27:08.663Z] Step 9/9 : LABEL git_sha=37d36c11a91022d639784f6642f29e3f99d12f93 [2022-04-27T22:27:08.663Z] ---> Running in 8a31ceb64611 [2022-04-27T22:27:08.663Z] Removing intermediate container 8a31ceb64611 [2022-04-27T22:27:08.663Z] ---> dfe85014c9b7 [2022-04-27T22:27:08.663Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-27T22:27:08.663Z] Successfully built dfe85014c9b7 [2022-04-27T22:27:08.663Z] 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 [2022-04-27T22:27:09.398Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T22:27:09.398Z] [2022-04-27T22:27:09.398Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T22:27:09.743Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T22:27:09.743Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-27T22:27:09.743Z] 5eb5b503b376: Pulling fs layer [2022-04-27T22:27:09.743Z] 5c69ac0246d0: Pulling fs layer [2022-04-27T22:27:09.743Z] ec43610c2a17: Pulling fs layer [2022-04-27T22:27:09.743Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-27T22:27:09.743Z] 33b1e0a273af: Pulling fs layer [2022-04-27T22:27:09.743Z] 5d3b04190fa2: Pulling fs layer [2022-04-27T22:27:09.743Z] 2f39f015ded8: Pulling fs layer [2022-04-27T22:27:09.743Z] 5d3b04190fa2: Waiting [2022-04-27T22:27:09.743Z] 2f39f015ded8: Waiting [2022-04-27T22:27:09.743Z] 33b1e0a273af: Waiting [2022-04-27T22:27:09.743Z] 5c69ac0246d0: Verifying Checksum [2022-04-27T22:27:09.743Z] 5c69ac0246d0: Download complete [2022-04-27T22:27:09.743Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-27T22:27:09.743Z] 3a2ae6a8a46f: Download complete [2022-04-27T22:27:10.003Z] 33b1e0a273af: Verifying Checksum [2022-04-27T22:27:10.003Z] 33b1e0a273af: Download complete [2022-04-27T22:27:10.003Z] ec43610c2a17: Verifying Checksum [2022-04-27T22:27:10.003Z] ec43610c2a17: Download complete [2022-04-27T22:27:10.003Z] 5d3b04190fa2: Verifying Checksum [2022-04-27T22:27:10.003Z] 5d3b04190fa2: Download complete [2022-04-27T22:27:10.003Z] 5eb5b503b376: Verifying Checksum [2022-04-27T22:27:10.003Z] 5eb5b503b376: Download complete [2022-04-27T22:27:10.573Z] 2f39f015ded8: Download complete [2022-04-27T22:27:11.513Z] 5eb5b503b376: Pull complete [2022-04-27T22:27:11.513Z] 5c69ac0246d0: Pull complete [2022-04-27T22:27:12.082Z] ec43610c2a17: Pull complete [2022-04-27T22:27:12.082Z] 3a2ae6a8a46f: Pull complete [2022-04-27T22:27:12.343Z] 33b1e0a273af: Pull complete [2022-04-27T22:27:12.343Z] 5d3b04190fa2: Pull complete [2022-04-27T22:27:17.624Z] 2f39f015ded8: Pull complete [2022-04-27T22:27:17.624Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-27T22:27:17.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T22:27:17.624Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-27T22:27:17.732Z] prd-ubuntu20.04-docker-8c-8g-33543 does not seem to be running inside a container [2022-04-27T22:27:17.787Z] $ 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-188 -v /w/workspace/exfoundry_ci-build-images_PR-188:/w/workspace/exfoundry_ci-build-images_PR-188:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-188@tmp:/w/workspace/exfoundry_ci-build-images_PR-188@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 [2022-04-27T22:27:19.549Z] $ docker top 2cd4bf9ca33f06177d76b3d39721b6d9d72a67626be75fba28e3b2a4d03b3517 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T22:27:20.015Z] ---> job-cost.sh [2022-04-27T22:27:20.015Z] lf-activate-venv: SKIPPING [2022-04-27T22:27:20.015Z] INFO: No Stack... [2022-04-27T22:27:20.277Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T22:27:20.847Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T22:27:21.163Z] + cat /w/workspace/exfoundry_ci-build-images_PR-188/archives/cost.csv [2022-04-27T22:27:21.163Z] + cut -d, -f6 [Pipeline] lock [2022-04-27T22:27:21.216Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-188-1-stack-cost] [2022-04-27T22:27:21.221Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-188-1-stack-cost] did not exist. Created. [2022-04-27T22:27:21.221Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-188-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T22:27:21.615Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-27T22:27:21.906Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T22:27:21.930Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-188-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-27T22:27:21.999Z] $ docker stop --time=1 2cd4bf9ca33f06177d76b3d39721b6d9d72a67626be75fba28e3b2a4d03b3517 [2022-04-27T22:27:23.192Z] $ docker rm -f 2cd4bf9ca33f06177d76b3d39721b6d9d72a67626be75fba28e3b2a4d03b3517 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-27T22:28:30.481Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-33544 in /w/workspace/exfoundry_ci-build-images_PR-188 [Pipeline] { [Pipeline] checkout [2022-04-27T22:28:30.716Z] Selected Git installation does not exist. Using Default [2022-04-27T22:28:30.716Z] The recommended git tool is: NONE [2022-04-27T22:28:36.419Z] using credential edgex-jenkins-ssh [2022-04-27T22:28:36.437Z] Cloning the remote Git repository [2022-04-27T22:28:36.499Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2022-04-27T22:28:36.573Z] > git init /w/workspace/exfoundry_ci-build-images_PR-188 # timeout=10 [2022-04-27T22:28:36.657Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2022-04-27T22:28:36.658Z] > git --version # timeout=10 [2022-04-27T22:28:36.687Z] > git --version # 'git version 2.25.1' [2022-04-27T22:28:36.689Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T22:28:36.756Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T22:28:37.508Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2022-04-27T22:28:37.524Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T22:28:38.141Z] Merging remotes/origin/golang-1.17-lts commit b4784e8ccea1a8149fcf17bfdcc2aaa9d18929d9 into PR head commit 7b52d4d3248ea69daa9cf3a10c630a15e72de815 [2022-04-27T22:28:38.327Z] Merge succeeded, producing 1dccbe6d0208afbc98587d685e5e2fbd9d0bf7ce [2022-04-27T22:28:38.327Z] Checking out Revision 1dccbe6d0208afbc98587d685e5e2fbd9d0bf7ce (PR-188) [2022-04-27T22:28:37.554Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2022-04-27T22:28:37.587Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2022-04-27T22:28:37.587Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T22:28:37.602Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/188/head:refs/remotes/origin/PR-188 +refs/heads/golang-1.17-lts:refs/remotes/origin/golang-1.17-lts # timeout=10 [2022-04-27T22:28:38.163Z] > git config core.sparsecheckout # timeout=10 [2022-04-27T22:28:38.178Z] > git checkout -f 7b52d4d3248ea69daa9cf3a10c630a15e72de815 # timeout=10 [2022-04-27T22:28:38.242Z] > git remote # timeout=10 [2022-04-27T22:28:38.257Z] > git config --get remote.origin.url # timeout=10 [2022-04-27T22:28:38.269Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T22:28:38.281Z] > git merge b4784e8ccea1a8149fcf17bfdcc2aaa9d18929d9 # timeout=10 [2022-04-27T22:28:38.316Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-27T22:28:38.339Z] > git config core.sparsecheckout # timeout=10 [2022-04-27T22:28:38.350Z] > git checkout -f 1dccbe6d0208afbc98587d685e5e2fbd9d0bf7ce # timeout=10 [2022-04-27T22:28:42.456Z] Commit message: "Merge commit 'b4784e8ccea1a8149fcf17bfdcc2aaa9d18929d9' into HEAD" [2022-04-27T22:28:42.456Z] First time build. Skipping changelog. [2022-04-27T22:28:42.515Z] > git --version # timeout=10 [2022-04-27T22:28:42.527Z] > git --version # 'git version 2.25.1' [2022-04-27T22:28:42.542Z] fatal: bad object 0296cfd70f3001d69e24c2db393b493f66f700db [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T22:28:43.576Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-27T22:28:43.576Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-27T22:28:43.576Z] Dload Upload Total Spent Left Speed [2022-04-27T22:28:43.576Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2022-04-27T22:28:44.094Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-27T22:28:44.456Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-27T22:28:44.456Z] + sudo tee /etc/docker/daemon.new [2022-04-27T22:28:44.456Z] { [2022-04-27T22:28:44.456Z] "registry-mirrors": [ [2022-04-27T22:28:44.456Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-27T22:28:44.456Z] ], [2022-04-27T22:28:44.456Z] "bip": "10.250.0.254/24", [2022-04-27T22:28:44.456Z] "hosts": [ [2022-04-27T22:28:44.456Z] "tcp://0.0.0.0:5555", [2022-04-27T22:28:44.456Z] "unix:///var/run/docker.sock" [2022-04-27T22:28:44.456Z] ], [2022-04-27T22:28:44.456Z] "mtu": 1458, [2022-04-27T22:28:44.456Z] "selinux-enabled": true, [2022-04-27T22:28:44.456Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-27T22:28:44.456Z] } [Pipeline] sh [2022-04-27T22:28:44.814Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-27T22:28:45.239Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T22:29:03.624Z] provisioning config files... [2022-04-27T22:29:03.649Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-188@tmp/config8636198690786320855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T22:29:04.209Z] ---> docker-login.sh [2022-04-27T22:29:04.209Z] nexus3.edgexfoundry.org:10001 [2022-04-27T22:29:04.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T22:29:05.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T22:29:05.084Z] Configure a credential helper to remove this warning. See [2022-04-27T22:29:05.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T22:29:05.084Z] [2022-04-27T22:29:05.084Z] Login Succeeded [2022-04-27T22:29:05.084Z] nexus3.edgexfoundry.org:10002 [2022-04-27T22:29:05.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T22:29:05.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T22:29:05.629Z] Configure a credential helper to remove this warning. See [2022-04-27T22:29:05.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T22:29:05.629Z] [2022-04-27T22:29:05.629Z] Login Succeeded [2022-04-27T22:29:05.629Z] nexus3.edgexfoundry.org:10003 [2022-04-27T22:29:05.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T22:29:05.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T22:29:05.911Z] Configure a credential helper to remove this warning. See [2022-04-27T22:29:05.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T22:29:05.911Z] [2022-04-27T22:29:05.911Z] Login Succeeded [2022-04-27T22:29:05.911Z] nexus3.edgexfoundry.org:10004 [2022-04-27T22:29:06.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T22:29:06.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T22:29:06.460Z] Configure a credential helper to remove this warning. See [2022-04-27T22:29:06.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T22:29:06.460Z] [2022-04-27T22:29:06.460Z] Login Succeeded [2022-04-27T22:29:06.460Z] docker.io [2022-04-27T22:29:06.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T22:29:07.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T22:29:07.006Z] Configure a credential helper to remove this warning. See [2022-04-27T22:29:07.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T22:29:07.006Z] [2022-04-27T22:29:07.006Z] Login Succeeded [2022-04-27T22:29:07.006Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T22:29:07.038Z] 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 [2022-04-27T22:29:07.737Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-27T22:29:08.095Z] + ls -al . [2022-04-27T22:29:08.095Z] total 28 [2022-04-27T22:29:08.095Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 22:28 . [2022-04-27T22:29:08.095Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 22:28 .. [2022-04-27T22:29:08.095Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 22:28 .git [2022-04-27T22:29:08.095Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 22:28 .github [2022-04-27T22:29:08.095Z] -rw-rw-r-- 1 jenkins jenkins 585 Apr 27 22:28 .golangci.yml [2022-04-27T22:29:08.095Z] -rw-rw-r-- 1 jenkins jenkins 914 Apr 27 22:28 Dockerfile [2022-04-27T22:29:08.095Z] -rw-rw-r-- 1 jenkins jenkins 923 Apr 27 22:28 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2022-04-27T22:29:08.466Z] + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=1dccbe6d0208afbc98587d685e5e2fbd9d0bf7ce --label arch=arm64 . [2022-04-27T22:29:08.740Z] Sending build context to Docker daemon 427kB [2022-04-27T22:29:08.740Z] Step 1/9 : FROM golang:1.17.6-alpine3.15 [2022-04-27T22:29:09.337Z] 1.17.6-alpine3.15: Pulling from library/golang [2022-04-27T22:29:09.611Z] 9b3977197b4f: Pulling fs layer [2022-04-27T22:29:09.611Z] 1a89e8eeedd5: Pulling fs layer [2022-04-27T22:29:09.611Z] 94645a83ff95: Pulling fs layer [2022-04-27T22:29:09.611Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-27T22:29:09.611Z] 0c92f367c5e7: Pulling fs layer [2022-04-27T22:29:09.611Z] 3f3a8bcf1eab: Waiting [2022-04-27T22:29:09.611Z] 0c92f367c5e7: Waiting [2022-04-27T22:29:09.888Z] 94645a83ff95: Verifying Checksum [2022-04-27T22:29:09.888Z] 94645a83ff95: Download complete [2022-04-27T22:29:09.888Z] 1a89e8eeedd5: Download complete [2022-04-27T22:29:09.888Z] 9b3977197b4f: Verifying Checksum [2022-04-27T22:29:09.888Z] 9b3977197b4f: Download complete [2022-04-27T22:29:09.888Z] 0c92f367c5e7: Verifying Checksum [2022-04-27T22:29:09.888Z] 0c92f367c5e7: Download complete [2022-04-27T22:29:10.491Z] 9b3977197b4f: Pull complete [2022-04-27T22:29:10.767Z] 1a89e8eeedd5: Pull complete [2022-04-27T22:29:11.041Z] 94645a83ff95: Pull complete [2022-04-27T22:29:12.483Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-27T22:29:12.483Z] 3f3a8bcf1eab: Download complete [2022-04-27T22:29:24.902Z] 3f3a8bcf1eab: Pull complete [2022-04-27T22:29:24.902Z] 0c92f367c5e7: Pull complete [2022-04-27T22:29:24.902Z] Digest: sha256:519c827ec22e5cf7417c9ff063ec840a446cdd30681700a16cf42eb43823e27c [2022-04-27T22:29:24.902Z] Status: Downloaded newer image for golang:1.17.6-alpine3.15 [2022-04-27T22:29:24.902Z] ---> ccd27c9e1703 [2022-04-27T22:29:24.902Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel Corporation' [2022-04-27T22:29:25.889Z] ---> Running in 8a4a730ed159 [2022-04-27T22:29:26.165Z] Removing intermediate container 8a4a730ed159 [2022-04-27T22:29:26.165Z] ---> e0a9c51be499 [2022-04-27T22:29:26.165Z] Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T22:29:26.165Z] ---> Running in 3ff6d98a3024 [2022-04-27T22:29:28.144Z] Removing intermediate container 3ff6d98a3024 [2022-04-27T22:29:28.145Z] ---> a8b4da607844 [2022-04-27T22:29:28.145Z] Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 [2022-04-27T22:29:28.145Z] ---> Running in b565989760ac [2022-04-27T22:29:28.145Z] Removing intermediate container b565989760ac [2022-04-27T22:29:28.145Z] ---> 9666a198c3be [2022-04-27T22:29:28.145Z] Step 5/9 : COPY ./.golangci.yml /etc/.golangci.yml [2022-04-27T22:29:28.743Z] ---> 8c4c07f97622 [2022-04-27T22:29:28.743Z] 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 [2022-04-27T22:29:28.743Z] ---> Running in 95d9b564a66b [2022-04-27T22:29:30.733Z] Removing intermediate container 95d9b564a66b [2022-04-27T22:29:30.733Z] ---> cc176addc8d4 [2022-04-27T22:29:30.733Z] 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} [2022-04-27T22:29:30.733Z] ---> Running in e0e9dd66aeff [2022-04-27T22:29:31.330Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-27T22:29:32.311Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-27T22:29:32.903Z] (1/37) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-04-27T22:29:33.176Z] (2/37) Installing ncurses-libs (6.3_p20211120-r0) [2022-04-27T22:29:33.176Z] (3/37) Installing readline (8.1.1-r0) [2022-04-27T22:29:33.454Z] (4/37) Installing bash (5.1.16-r0) [2022-04-27T22:29:33.454Z] Executing bash-5.1.16-r0.post-install [2022-04-27T22:29:33.454Z] (5/37) Installing libgcc (10.3.1_git20211027-r0) [2022-04-27T22:29:33.454Z] (6/37) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-27T22:29:33.748Z] (7/37) Installing binutils (2.37-r3) [2022-04-27T22:29:34.021Z] (8/37) Installing libmagic (5.41-r0) [2022-04-27T22:29:34.294Z] (9/37) Installing file (5.41-r0) [2022-04-27T22:29:34.294Z] (10/37) Installing libgomp (10.3.1_git20211027-r0) [2022-04-27T22:29:34.573Z] (11/37) Installing libatomic (10.3.1_git20211027-r0) [2022-04-27T22:29:34.573Z] (12/37) Installing libgphobos (10.3.1_git20211027-r0) [2022-04-27T22:29:34.849Z] (13/37) Installing gmp (6.2.1-r1) [2022-04-27T22:29:34.849Z] (14/37) Installing isl22 (0.22-r0) [2022-04-27T22:29:35.124Z] (15/37) Installing mpfr4 (4.1.0-r0) [2022-04-27T22:29:35.124Z] (16/37) Installing mpc1 (1.2.1-r0) [2022-04-27T22:29:35.124Z] (17/37) Installing gcc (10.3.1_git20211027-r0) [2022-04-27T22:29:37.143Z] (18/37) Installing musl-dev (1.2.2-r7) [2022-04-27T22:29:37.751Z] (19/37) Installing libc-dev (0.7.2-r3) [2022-04-27T22:29:37.751Z] (20/37) Installing g++ (10.3.1_git20211027-r0) [2022-04-27T22:29:39.195Z] (21/37) Installing make (4.3-r0) [2022-04-27T22:29:39.467Z] (22/37) Installing fortify-headers (1.1-r1) [2022-04-27T22:29:39.467Z] (23/37) Installing patch (2.7.6-r7) [2022-04-27T22:29:39.467Z] (24/37) Installing build-base (0.5-r2) [2022-04-27T22:29:39.739Z] (25/37) Installing brotli-libs (1.0.9-r5) [2022-04-27T22:29:39.739Z] (26/37) Installing nghttp2-libs (1.46.0-r0) [2022-04-27T22:29:40.012Z] (27/37) Installing libcurl (7.80.0-r1) [2022-04-27T22:29:40.012Z] (28/37) Installing curl (7.80.0-r1) [2022-04-27T22:29:40.012Z] (29/37) Installing expat (2.4.7-r0) [2022-04-27T22:29:40.286Z] (30/37) Installing pcre2 (10.39-r0) [2022-04-27T22:29:40.286Z] (31/37) Installing git (2.34.2-r0) [2022-04-27T22:29:40.884Z] (32/37) Installing libsodium (1.0.18-r0) [2022-04-27T22:29:40.884Z] (33/37) Installing pkgconf (1.8.0-r0) [2022-04-27T22:29:40.884Z] (34/37) Installing libsodium-dev (1.0.18-r0) [2022-04-27T22:29:41.158Z] (35/37) Installing linux-headers (5.10.41-r0) [2022-04-27T22:29:41.759Z] (36/37) Installing libzmq (4.3.4-r0) [2022-04-27T22:29:41.759Z] (37/37) Installing zeromq-dev (4.3.4-r0) [2022-04-27T22:29:41.759Z] Executing busybox-1.34.1-r3.trigger [2022-04-27T22:29:41.759Z] OK: 220 MiB in 52 packages [2022-04-27T22:29:42.031Z] Connecting to raw.githubusercontent.com (185.199.111.133:443) [2022-04-27T22:29:42.031Z] writing to stdout [2022-04-27T22:29:42.031Z] - 100% |********************************| 10759 0:00:00 ETA [2022-04-27T22:29:42.031Z] written to stdout [2022-04-27T22:29:42.031Z] golangci/golangci-lint info checking GitHub for tag 'v1.40.1' [2022-04-27T22:29:42.303Z] golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/arm64 [2022-04-27T22:29:44.287Z] golangci/golangci-lint info installed ./bin/golangci-lint [2022-04-27T22:29:52.603Z] Removing intermediate container e0e9dd66aeff [2022-04-27T22:29:52.603Z] ---> 4ffebe856bf2 [2022-04-27T22:29:52.603Z] Step 8/9 : LABEL arch=arm64 [2022-04-27T22:29:52.603Z] ---> Running in 1f8ade4b6837 [2022-04-27T22:29:52.876Z] Removing intermediate container 1f8ade4b6837 [2022-04-27T22:29:52.876Z] ---> 234228a3c97d [2022-04-27T22:29:52.876Z] Step 9/9 : LABEL git_sha=1dccbe6d0208afbc98587d685e5e2fbd9d0bf7ce [2022-04-27T22:29:52.876Z] ---> Running in d19d234d110c [2022-04-27T22:29:53.149Z] Removing intermediate container d19d234d110c [2022-04-27T22:29:53.149Z] ---> 661da3857cae [2022-04-27T22:29:53.149Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-27T22:29:53.149Z] Successfully built 661da3857cae [2022-04-27T22:29:53.149Z] 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 [2022-04-27T22:29:53.944Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T22:29:53.944Z] [2022-04-27T22:29:53.944Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-27T22:29:54.325Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T22:29:54.600Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-27T22:29:54.600Z] 8998bd30e6a1: Pulling fs layer [2022-04-27T22:29:54.600Z] 04944245beec: Pulling fs layer [2022-04-27T22:29:54.600Z] 699f458cf7ca: Pulling fs layer [2022-04-27T22:29:54.600Z] 765212b225bb: Pulling fs layer [2022-04-27T22:29:54.600Z] f23df028b6ca: Pulling fs layer [2022-04-27T22:29:54.600Z] d65c8cfc05b1: Pulling fs layer [2022-04-27T22:29:54.600Z] 2437ff75d9bd: Pulling fs layer [2022-04-27T22:29:54.600Z] f23df028b6ca: Waiting [2022-04-27T22:29:54.600Z] d65c8cfc05b1: Waiting [2022-04-27T22:29:54.600Z] 2437ff75d9bd: Waiting [2022-04-27T22:29:54.600Z] 765212b225bb: Waiting [2022-04-27T22:29:54.600Z] 04944245beec: Verifying Checksum [2022-04-27T22:29:54.600Z] 04944245beec: Download complete [2022-04-27T22:29:54.600Z] 765212b225bb: Verifying Checksum [2022-04-27T22:29:54.600Z] 765212b225bb: Download complete [2022-04-27T22:29:54.600Z] f23df028b6ca: Verifying Checksum [2022-04-27T22:29:54.600Z] f23df028b6ca: Download complete [2022-04-27T22:29:54.600Z] d65c8cfc05b1: Verifying Checksum [2022-04-27T22:29:54.600Z] d65c8cfc05b1: Download complete [2022-04-27T22:29:54.877Z] 699f458cf7ca: Verifying Checksum [2022-04-27T22:29:54.877Z] 699f458cf7ca: Download complete [2022-04-27T22:29:55.151Z] 8998bd30e6a1: Download complete [2022-04-27T22:29:57.792Z] 2437ff75d9bd: Verifying Checksum [2022-04-27T22:29:57.792Z] 2437ff75d9bd: Download complete [2022-04-27T22:29:59.240Z] 8998bd30e6a1: Pull complete [2022-04-27T22:29:59.858Z] 04944245beec: Pull complete [2022-04-27T22:30:01.302Z] 699f458cf7ca: Pull complete [2022-04-27T22:30:01.580Z] 765212b225bb: Pull complete [2022-04-27T22:30:02.558Z] f23df028b6ca: Pull complete [2022-04-27T22:30:02.558Z] d65c8cfc05b1: Pull complete [2022-04-27T22:30:17.656Z] 2437ff75d9bd: Pull complete [2022-04-27T22:30:17.656Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-27T22:30:17.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T22:30:17.656Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-27T22:30:17.918Z] prd-ubuntu20.04-docker-arm64-4c-16g-33544 does not seem to be running inside a container [2022-04-27T22:30:18.006Z] $ 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-188 -v /w/workspace/exfoundry_ci-build-images_PR-188:/w/workspace/exfoundry_ci-build-images_PR-188:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-188@tmp:/w/workspace/exfoundry_ci-build-images_PR-188@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 [2022-04-27T22:30:20.373Z] $ docker top 47e35fc3559b1e2c7dc92b6e2f84d2b6299c7a52e87ae7bcb4fda57742f26ed8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T22:30:21.349Z] ---> job-cost.sh [2022-04-27T22:30:21.349Z] lf-activate-venv: SKIPPING [2022-04-27T22:30:21.349Z] INFO: No Stack... [2022-04-27T22:30:21.941Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-27T22:30:22.535Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T22:30:23.218Z] + cat /w/workspace/exfoundry_ci-build-images_PR-188/archives/cost.csv [2022-04-27T22:30:23.218Z] + cut -d, -f6 [Pipeline] lock [2022-04-27T22:30:23.300Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-188-1-stack-cost] [2022-04-27T22:30:23.304Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-188-1-stack-cost] did not exist. Created. [2022-04-27T22:30:23.305Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-188-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T22:30:24.226Z] /w/workspace/exfoundry_ci-build-images_PR-188@tmp/durable-8a818948/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-27T22:30:24.921Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-27T22:30:24.960Z] Warning: overwriting stash ‘stack-cost’ [2022-04-27T22:30:25.367Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T22:30:25.388Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-188-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-27T22:30:25.470Z] $ docker stop --time=1 47e35fc3559b1e2c7dc92b6e2f84d2b6299c7a52e87ae7bcb4fda57742f26ed8 [2022-04-27T22:30:26.952Z] $ docker rm -f 47e35fc3559b1e2c7dc92b6e2f84d2b6299c7a52e87ae7bcb4fda57742f26ed8 [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 [2022-04-27T22:30:28.555Z] + [ -d /w/workspace/exfoundry_ci-build-images_PR-188/archives ] [2022-04-27T22:30:28.556Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-188/archives [2022-04-27T22:30:28.556Z] total 16 [2022-04-27T22:30:28.556Z] drwxr-xr-x 3 root root 4096 Apr 27 22:27 . [2022-04-27T22:30:28.556Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 22:27 .. [2022-04-27T22:30:28.556Z] drwxr-xr-x 2 root root 4096 Apr 27 22:27 cost [2022-04-27T22:30:28.556Z] -rw-r--r-- 1 root root 85 Apr 27 22:27 cost.csv [2022-04-27T22:30:28.556Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-188/archives [2022-04-27T22:30:28.556Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-188/archives [2022-04-27T22:30:28.556Z] total 16 [2022-04-27T22:30:28.556Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 22:27 . [2022-04-27T22:30:28.556Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 22:27 .. [2022-04-27T22:30:28.556Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 22:27 cost [2022-04-27T22:30:28.556Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 27 22:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-27T22:30:28.887Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T22:30:29.795Z] ---> package-listing.sh [2022-04-27T22:30:29.795Z] ++ facter osfamily [2022-04-27T22:30:29.795Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-27T22:30:30.060Z] + OS_FAMILY=debian [2022-04-27T22:30:30.060Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-188 [2022-04-27T22:30:30.060Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-27T22:30:30.060Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-27T22:30:30.060Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-27T22:30:30.060Z] + PACKAGES=/tmp/packages_start.txt [2022-04-27T22:30:30.060Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-188 ']' [2022-04-27T22:30:30.060Z] + PACKAGES=/tmp/packages_end.txt [2022-04-27T22:30:30.060Z] + case "${OS_FAMILY}" in [2022-04-27T22:30:30.060Z] + dpkg -l [2022-04-27T22:30:30.060Z] + grep '^ii' [2022-04-27T22:30:30.060Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-27T22:30:30.060Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-27T22:30:30.060Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-27T22:30:30.060Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-188 ']' [2022-04-27T22:30:30.060Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-188/archives/ [2022-04-27T22:30:30.060Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-188/archives/ [Pipeline] echo [2022-04-27T22:30:30.092Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_ci-build-images_PR-188/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-27T22:30:30.392Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-27T22:30:30.978Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T22:30:30.978Z] . [Pipeline] withDockerContainer [2022-04-27T22:30:31.076Z] prd-ubuntu20.04-docker-8c-8g-33543 does not seem to be running inside a container [2022-04-27T22:30:31.124Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_ci-build-images_PR-188/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-188 -v /w/workspace/exfoundry_ci-build-images_PR-188:/w/workspace/exfoundry_ci-build-images_PR-188:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-188@tmp:/w/workspace/exfoundry_ci-build-images_PR-188@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 [2022-04-27T22:30:31.378Z] $ docker top 2588f1522fcd22aef68f799dedb847431a9b13cd5ac8c896a6c3025e8d9165c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T22:30:31.783Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-27T22:30:32.098Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-27T22:30:32.411Z] + ls /var/log/sa-host [2022-04-27T22:30:32.411Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T22:30:32.561Z] provisioning config files... [2022-04-27T22:30:32.570Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-188@tmp/config7410507873793957328tmp [Pipeline] { [Pipeline] echo [2022-04-27T22:30:32.616Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T22:30:32.931Z] ---> create-netrc.sh [Pipeline] } [2022-04-27T22:30:32.958Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-27T22:30:33.342Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-27T22:30:33.376Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T22:30:33.696Z] ---> sudo-logs.sh [2022-04-27T22:30:33.696Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-27T22:30:33.778Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T22:30:34.094Z] ---> job-cost.sh [2022-04-27T22:30:34.094Z] lf-activate-venv: SKIPPING [2022-04-27T22:30:34.094Z] DEBUG: total: 0.2199999988079071 [2022-04-27T22:30:34.094Z] INFO: Retrieving Stack Cost... [2022-04-27T22:30:34.357Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T22:30:34.929Z] INFO: Archiving Costs [Pipeline] echo [2022-04-27T22:30:34.962Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T22:30:35.278Z] ---> logs-deploy.sh [2022-04-27T22:30:35.278Z] lf-activate-venv: SKIPPING [2022-04-27T22:30:35.278Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-188/1 [2022-04-27T22:30:35.278Z] INFO: archiving workspace using pattern(s): [2022-04-27T22:30:36.222Z] Archives upload complete. [2022-04-27T22:30:36.484Z] INFO: archiving logs to Nexus [2022-04-27T22:30:37.058Z] ---> uname -a: [2022-04-27T22:30:37.058Z] Linux prd-ubuntu20-04-docker-8c-8g-33543 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-04-27T22:30:37.058Z] [2022-04-27T22:30:37.058Z] [2022-04-27T22:30:37.058Z] ---> lscpu: [2022-04-27T22:30:37.058Z] Architecture: x86_64 [2022-04-27T22:30:37.058Z] CPU op-mode(s): 32-bit, 64-bit [2022-04-27T22:30:37.058Z] Byte Order: Little Endian [2022-04-27T22:30:37.058Z] Address sizes: 40 bits physical, 48 bits virtual [2022-04-27T22:30:37.058Z] CPU(s): 8 [2022-04-27T22:30:37.058Z] On-line CPU(s) list: 0-7 [2022-04-27T22:30:37.058Z] Thread(s) per core: 1 [2022-04-27T22:30:37.058Z] Core(s) per socket: 1 [2022-04-27T22:30:37.058Z] Socket(s): 8 [2022-04-27T22:30:37.058Z] NUMA node(s): 1 [2022-04-27T22:30:37.058Z] Vendor ID: AuthenticAMD [2022-04-27T22:30:37.058Z] CPU family: 23 [2022-04-27T22:30:37.058Z] Model: 49 [2022-04-27T22:30:37.058Z] Model name: AMD EPYC-Rome Processor [2022-04-27T22:30:37.058Z] Stepping: 0 [2022-04-27T22:30:37.058Z] CPU MHz: 2799.994 [2022-04-27T22:30:37.058Z] BogoMIPS: 5599.98 [2022-04-27T22:30:37.058Z] Virtualization: AMD-V [2022-04-27T22:30:37.058Z] Hypervisor vendor: KVM [2022-04-27T22:30:37.058Z] Virtualization type: full [2022-04-27T22:30:37.058Z] L1d cache: 256 KiB [2022-04-27T22:30:37.058Z] L1i cache: 256 KiB [2022-04-27T22:30:37.058Z] L2 cache: 4 MiB [2022-04-27T22:30:37.058Z] L3 cache: 128 MiB [2022-04-27T22:30:37.058Z] NUMA node0 CPU(s): 0-7 [2022-04-27T22:30:37.058Z] Vulnerability Itlb multihit: Not affected [2022-04-27T22:30:37.058Z] Vulnerability L1tf: Not affected [2022-04-27T22:30:37.058Z] Vulnerability Mds: Not affected [2022-04-27T22:30:37.058Z] Vulnerability Meltdown: Not affected [2022-04-27T22:30:37.058Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-04-27T22:30:37.058Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-04-27T22:30:37.058Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-04-27T22:30:37.058Z] Vulnerability Srbds: Not affected [2022-04-27T22:30:37.058Z] Vulnerability Tsx async abort: Not affected [2022-04-27T22:30:37.058Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-04-27T22:30:37.058Z] [2022-04-27T22:30:37.058Z] [2022-04-27T22:30:37.058Z] ---> nproc: [2022-04-27T22:30:37.058Z] 8 [2022-04-27T22:30:37.058Z] [2022-04-27T22:30:37.058Z] [2022-04-27T22:30:37.058Z] ---> df -h: [2022-04-27T22:30:37.058Z] Filesystem Size Used Avail Use% Mounted on [2022-04-27T22:30:37.058Z] overlay 155G 9.8G 146G 7% / [2022-04-27T22:30:37.058Z] tmpfs 64M 0 64M 0% /dev [2022-04-27T22:30:37.058Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-04-27T22:30:37.058Z] shm 64M 0 64M 0% /dev/shm [2022-04-27T22:30:37.058Z] /dev/vda1 155G 9.8G 146G 7% /facter-os [2022-04-27T22:30:37.058Z] [2022-04-27T22:30:37.058Z]