Pull request #174 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 358ef171b304f6138e82d100ac106e4b86df7cee+b6fd6c7bc8b9eb634465b8719d7d4404f37f0cfa (e42c3dd29b38a3fdcf131bf0f506a1663dcaf620) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@b2dc629956b20c8a69344c2b67dbc2640f7419d6 Attempting to resolve b2dc629956b20c8a69344c2b67dbc2640f7419d6 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-ssh3385790252085948134.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Could not find b2dc629956b20c8a69344c2b67dbc2640f7419d6 in remote references. Pulling heads to local for deep search... > 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-ssh5711575090771389508.key > git fetch --tags --progress -- origin +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git rev-parse b2dc629956b20c8a69344c2b67dbc2640f7419d6^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains b2dc629956b20c8a69344c2b67dbc2640f7419d6 # timeout=10 Selected match: pr/349/merge revision b2dc629956b20c8a69344c2b67dbc2640f7419d6 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-174/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-174/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5370241966899231896.key > git fetch --no-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 without 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-174/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh507772822459355614.key > git fetch --no-tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b2dc629956b20c8a69344c2b67dbc2640f7419d6 (pr/349/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f b2dc629956b20c8a69344c2b67dbc2640f7419d6 # timeout=10 Commit message: "fix: fix archives directory permissions" > 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-ssh7411742178709981625.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-174/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-174/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6483568639842791125.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 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object b2dc629956b20c8a69344c2b67dbc2640f7419d6 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:edgex-golang-base, mavenSettings:ci-build-images-settings, dockerImageName:edgex-golang-base, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[1.16-alpine, 1.16-alpine3.13], releaseBranchOverride:golang-1.16] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: ci-build-images-settings PROJECT: edgex-golang-base USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-golang-base DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-golang-base-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: golang-1.16 DOCKER_CUSTOM_TAGS: 1.16-alpine 1.16-alpine3.13 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-1707’ is offline Running on prd-centos7-docker-4c-2g-1708 in /w/workspace/exfoundry_ci-build-images_PR-174 [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-174 # 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-174@tmp/jenkins-gitclient-ssh8458494109822255156.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-174@tmp/jenkins-gitclient-ssh2859690817034279166.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/golang-1.16:refs/remotes/origin/golang-1.16 # timeout=10 Merging remotes/origin/golang-1.16 commit b6fd6c7bc8b9eb634465b8719d7d4404f37f0cfa into PR head commit 358ef171b304f6138e82d100ac106e4b86df7cee Merge succeeded, producing 3e8517637962984057aeb0d3d697ad6e3461c306 Checking out Revision 3e8517637962984057aeb0d3d697ad6e3461c306 (PR-174) > git config core.sparsecheckout # timeout=10 > git checkout -f 358ef171b304f6138e82d100ac106e4b86df7cee # 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-174@tmp/jenkins-gitclient-ssh7645752930355370868.key > git merge b6fd6c7bc8b9eb634465b8719d7d4404f37f0cfa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e8517637962984057aeb0d3d697ad6e3461c306 # timeout=10 Commit message: "Merge commit 'b6fd6c7bc8b9eb634465b8719d7d4404f37f0cfa' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object b2dc629956b20c8a69344c2b67dbc2640f7419d6 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-02T18:00:34.885Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-02T18:00:35.066Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-02T18:00:35.168Z] ========================================================= [2021-08-02T18:00:35.168Z] EdgeX Global Pipelines Version Info [2021-08-02T18:00:35.168Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-02T18:00:36.492Z] ------------------- [2021-08-02T18:00:36.492Z] stable info: [2021-08-02T18:00:36.492Z] ------------------- [2021-08-02T18:00:36.493Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-02T18:00:36.493Z] Commit SHA: 40653689060fff6bf1399e6de9b6d29a57191201 [2021-08-02T18:00:36.493Z] Message: update stable to v1.0.200 [2021-08-02T18:00:37.085Z] ------------------- [2021-08-02T18:00:37.085Z] experimental info: [2021-08-02T18:00:37.085Z] ------------------- [2021-08-02T18:00:37.085Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-02T18:00:37.085Z] Commit SHA: 40653689060fff6bf1399e6de9b6d29a57191201 [2021-08-02T18:00:37.085Z] Message: update experimental to v1.0.200 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2021-08-02T18:00:37.382Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2021-08-02T18:00:37.438Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo [2021-08-02T18:00:37.490Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2021-08-02T18:00:37.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-02T18:00:37.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-02T18:00:37.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo [2021-08-02T18:00:37.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2021-08-02T18:00:37.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2021-08-02T18:00:37.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2021-08-02T18:00:37.845Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-08-02T18:00:37.897Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2021-08-02T18:00:37.948Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo [2021-08-02T18:00:38.000Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-02T18:00:38.052Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-02T18:00:38.103Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.16 [Pipeline] echo [2021-08-02T18:00:38.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.16-alpine 1.16-alpine3.13 [Pipeline] echo [2021-08-02T18:00:38.205Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-174 [Pipeline] echo [2021-08-02T18:00:38.276Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-174 [Pipeline] echo [2021-08-02T18:00:38.333Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-174 [Pipeline] echo [2021-08-02T18:00:38.383Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e8517637962984057aeb0d3d697ad6e3461c306 [Pipeline] echo [2021-08-02T18:00:38.432Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e85176 [Pipeline] echo [2021-08-02T18:00:38.482Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-02T18:00:38.618Z] provisioning config files... [2021-08-02T18:00:38.643Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-174@tmp/config2919081782072769430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-02T18:00:39.042Z] ---> docker-login.sh [2021-08-02T18:00:39.042Z] nexus3.edgexfoundry.org:10001 [2021-08-02T18:00:39.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T18:00:39.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T18:00:39.311Z] Configure a credential helper to remove this warning. See [2021-08-02T18:00:39.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T18:00:39.311Z] [2021-08-02T18:00:39.311Z] Login Succeeded [2021-08-02T18:00:39.311Z] nexus3.edgexfoundry.org:10002 [2021-08-02T18:00:39.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T18:00:39.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T18:00:39.311Z] Configure a credential helper to remove this warning. See [2021-08-02T18:00:39.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T18:00:39.311Z] [2021-08-02T18:00:39.311Z] Login Succeeded [2021-08-02T18:00:39.311Z] nexus3.edgexfoundry.org:10003 [2021-08-02T18:00:39.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T18:00:39.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T18:00:39.576Z] Configure a credential helper to remove this warning. See [2021-08-02T18:00:39.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T18:00:39.576Z] [2021-08-02T18:00:39.576Z] Login Succeeded [2021-08-02T18:00:39.576Z] nexus3.edgexfoundry.org:10004 [2021-08-02T18:00:39.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T18:00:39.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T18:00:39.845Z] Configure a credential helper to remove this warning. See [2021-08-02T18:00:39.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T18:00:39.845Z] [2021-08-02T18:00:39.845Z] Login Succeeded [2021-08-02T18:00:39.845Z] docker.io [2021-08-02T18:00:39.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T18:00:40.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T18:00:40.113Z] Configure a credential helper to remove this warning. See [2021-08-02T18:00:40.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T18:00:40.113Z] [2021-08-02T18:00:40.113Z] Login Succeeded [2021-08-02T18:00:40.113Z] ---> docker-login.sh ends [Pipeline] } [2021-08-02T18:00:40.140Z] 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 [2021-08-02T18:00:41.156Z] provisioning config files... [2021-08-02T18:00:41.176Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-174@tmp/config5624373176638633683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-02T18:00:41.562Z] ---> docker-login.sh [2021-08-02T18:00:41.562Z] nexus3.edgexfoundry.org:10001 [2021-08-02T18:00:41.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T18:00:41.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T18:00:41.562Z] Configure a credential helper to remove this warning. See [2021-08-02T18:00:41.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T18:00:41.562Z] [2021-08-02T18:00:41.562Z] Login Succeeded [2021-08-02T18:00:41.562Z] nexus3.edgexfoundry.org:10002 [2021-08-02T18:00:41.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T18:00:41.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T18:00:41.834Z] Configure a credential helper to remove this warning. See [2021-08-02T18:00:41.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T18:00:41.834Z] [2021-08-02T18:00:41.834Z] Login Succeeded [2021-08-02T18:00:41.834Z] nexus3.edgexfoundry.org:10003 [2021-08-02T18:00:41.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T18:00:42.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T18:00:42.117Z] Configure a credential helper to remove this warning. See [2021-08-02T18:00:42.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T18:00:42.117Z] [2021-08-02T18:00:42.117Z] Login Succeeded [2021-08-02T18:00:42.117Z] nexus3.edgexfoundry.org:10004 [2021-08-02T18:00:42.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T18:00:42.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T18:00:42.117Z] Configure a credential helper to remove this warning. See [2021-08-02T18:00:42.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T18:00:42.117Z] [2021-08-02T18:00:42.117Z] Login Succeeded [2021-08-02T18:00:42.117Z] docker.io [2021-08-02T18:00:42.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T18:00:42.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T18:00:42.658Z] Configure a credential helper to remove this warning. See [2021-08-02T18:00:42.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T18:00:42.658Z] [2021-08-02T18:00:42.658Z] Login Succeeded [2021-08-02T18:00:42.658Z] ---> docker-login.sh ends [Pipeline] } [2021-08-02T18:00:42.684Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-02T18:00:45.893Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-02T18:00:46.437Z] + ls -al . [2021-08-02T18:00:46.437Z] total 12 [2021-08-02T18:00:46.437Z] drwxrwxr-x. 4 jenkins jenkins 91 Aug 2 18:00 . [2021-08-02T18:00:46.437Z] drwxrwxr-x. 4 jenkins jenkins 112 Aug 2 18:00 .. [2021-08-02T18:00:46.437Z] -rw-rw-r--. 1 jenkins jenkins 914 Aug 2 18:00 Dockerfile [2021-08-02T18:00:46.437Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 2 18:00 .git [2021-08-02T18:00:46.437Z] drwxrwxr-x. 2 jenkins jenkins 38 Aug 2 18:00 .github [2021-08-02T18:00:46.437Z] -rw-rw-r--. 1 jenkins jenkins 585 Aug 2 18:00 .golangci.yml [2021-08-02T18:00:46.437Z] -rw-rw-r--. 1 jenkins jenkins 992 Aug 2 18:00 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2021-08-02T18:00:46.886Z] + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=3e8517637962984057aeb0d3d697ad6e3461c306 --label arch=amd64 . [2021-08-02T18:00:46.886Z] Sending build context to Docker daemon 395.8kB [2021-08-02T18:00:46.886Z] Step 1/9 : FROM golang:1.16.6-alpine3.13 [2021-08-02T18:00:53.543Z] 1.16.6-alpine3.13: Pulling from library/golang [2021-08-02T18:00:53.543Z] 540db60ca938: Pulling fs layer [2021-08-02T18:00:53.543Z] adcc1eea9eea: Pulling fs layer [2021-08-02T18:00:53.543Z] 4c4ab2625f07: Pulling fs layer [2021-08-02T18:00:53.543Z] db62176df00c: Pulling fs layer [2021-08-02T18:00:53.543Z] 3b30891b0d05: Pulling fs layer [2021-08-02T18:00:53.543Z] db62176df00c: Waiting [2021-08-02T18:00:53.543Z] 3b30891b0d05: Waiting [2021-08-02T18:00:53.543Z] 4c4ab2625f07: Verifying Checksum [2021-08-02T18:00:53.543Z] 4c4ab2625f07: Download complete [2021-08-02T18:00:53.543Z] adcc1eea9eea: Verifying Checksum [2021-08-02T18:00:53.543Z] adcc1eea9eea: Download complete [2021-08-02T18:00:53.543Z] 540db60ca938: Verifying Checksum [2021-08-02T18:00:53.543Z] 540db60ca938: Download complete [2021-08-02T18:00:53.543Z] 3b30891b0d05: Verifying Checksum [2021-08-02T18:00:53.543Z] 3b30891b0d05: Download complete [2021-08-02T18:00:53.543Z] 540db60ca938: Pull complete [2021-08-02T18:00:53.543Z] adcc1eea9eea: Pull complete [2021-08-02T18:00:53.543Z] 4c4ab2625f07: Pull complete [2021-08-02T18:00:54.972Z] db62176df00c: Verifying Checksum [2021-08-02T18:00:54.972Z] db62176df00c: Download complete [2021-08-02T18:00:55.876Z] Still waiting to schedule task [2021-08-02T18:00:55.876Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-08-02T18:00:58.327Z] db62176df00c: Pull complete [2021-08-02T18:00:58.327Z] 3b30891b0d05: Pull complete [2021-08-02T18:00:58.327Z] Digest: sha256:e3159543f0eed803082179bfa2f3aeb00799fd95efecf9f4baedc4b5d5e73eee [2021-08-02T18:00:58.327Z] Status: Downloaded newer image for golang:1.16.6-alpine3.13 [2021-08-02T18:00:58.327Z] ---> 58903387a65a [2021-08-02T18:00:58.327Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-08-02T18:01:00.489Z] ---> Running in 06c1ba59bcb7 [2021-08-02T18:01:00.489Z] Removing intermediate container 06c1ba59bcb7 [2021-08-02T18:01:00.489Z] ---> e354b0a6ff74 [2021-08-02T18:01:00.489Z] Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-02T18:01:00.489Z] ---> Running in 222ca557f24b [2021-08-02T18:01:01.079Z] Removing intermediate container 222ca557f24b [2021-08-02T18:01:01.079Z] ---> 3d26f2a3336d [2021-08-02T18:01:01.079Z] Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 [2021-08-02T18:01:01.079Z] ---> Running in 8bd467435113 [2021-08-02T18:01:01.079Z] Removing intermediate container 8bd467435113 [2021-08-02T18:01:01.079Z] ---> dcb689184096 [2021-08-02T18:01:01.079Z] Step 5/9 : COPY ./.golangci.yml /etc/.golangci.yml [2021-08-02T18:01:01.353Z] ---> 473c5217ddef [2021-08-02T18:01:01.353Z] 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 [2021-08-02T18:01:01.353Z] ---> Running in 57a1657882f1 [2021-08-02T18:01:01.621Z] Connecting to github.com (140.82.114.4:443) [2021-08-02T18:01:01.888Z] Connecting to github-releases.githubusercontent.com (185.199.109.154:443) [2021-08-02T18:01:01.888Z] saving to '/usr/local/bin/hadolint' [2021-08-02T18:01:01.888Z] hadolint 23% |******* | 1308k 0:00:03 ETA [2021-08-02T18:01:02.160Z] hadolint 100% |********************************| 5676k 0:00:00 ETA [2021-08-02T18:01:02.160Z] '/usr/local/bin/hadolint' saved [2021-08-02T18:01:02.428Z] Removing intermediate container 57a1657882f1 [2021-08-02T18:01:02.428Z] ---> b708bc314a30 [2021-08-02T18:01:02.428Z] 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} [2021-08-02T18:01:02.428Z] ---> Running in 92cb20a4d5f3 [2021-08-02T18:01:02.701Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-02T18:01:03.661Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-02T18:01:04.246Z] (1/37) Installing ncurses-terminfo-base (6.2_p20210109-r0) [2021-08-02T18:01:04.246Z] (2/37) Installing ncurses-libs (6.2_p20210109-r0) [2021-08-02T18:01:04.246Z] (3/37) Installing readline (8.1.0-r0) [2021-08-02T18:01:04.514Z] (4/37) Installing bash (5.1.0-r0) [2021-08-02T18:01:04.782Z] Executing bash-5.1.0-r0.post-install [2021-08-02T18:01:04.783Z] (5/37) Installing libgcc (10.2.1_pre1-r3) [2021-08-02T18:01:05.051Z] (6/37) Installing libstdc++ (10.2.1_pre1-r3) [2021-08-02T18:01:05.639Z] (7/37) Installing binutils (2.35.2-r1) [2021-08-02T18:01:06.226Z] (8/37) Installing libmagic (5.39-r0) [2021-08-02T18:01:06.494Z] (9/37) Installing file (5.39-r0) [2021-08-02T18:01:06.494Z] (10/37) Installing libgomp (10.2.1_pre1-r3) [2021-08-02T18:01:06.494Z] (11/37) Installing libatomic (10.2.1_pre1-r3) [2021-08-02T18:01:06.765Z] (12/37) Installing libgphobos (10.2.1_pre1-r3) [2021-08-02T18:01:07.367Z] (13/37) Installing gmp (6.2.1-r0) [2021-08-02T18:01:07.639Z] (14/37) Installing isl22 (0.22-r0) [2021-08-02T18:01:07.907Z] (15/37) Installing mpfr4 (4.1.0-r0) [2021-08-02T18:01:09.318Z] (16/37) Installing mpc1 (1.2.0-r0) [2021-08-02T18:01:09.318Z] (17/37) Installing gcc (10.2.1_pre1-r3) [2021-08-02T18:02:08.015Z] (18/37) Installing musl-dev (1.2.2-r1) [2021-08-02T18:02:08.015Z] (19/37) Installing libc-dev (0.7.2-r3) [2021-08-02T18:02:08.015Z] (20/37) Installing g++ (10.2.1_pre1-r3) [2021-08-02T18:02:34.730Z] (21/37) Installing make (4.3-r0) [2021-08-02T18:02:34.730Z] (22/37) Installing fortify-headers (1.1-r0) [2021-08-02T18:02:34.730Z] (23/37) Installing patch (2.7.6-r7) [2021-08-02T18:02:34.730Z] (24/37) Installing build-base (0.5-r2) [2021-08-02T18:02:34.730Z] (25/37) Installing brotli-libs (1.0.9-r3) [2021-08-02T18:02:34.730Z] (26/37) Installing nghttp2-libs (1.42.0-r1) [2021-08-02T18:02:34.730Z] (27/37) Installing libcurl (7.78.0-r0) [2021-08-02T18:02:34.730Z] (28/37) Installing curl (7.78.0-r0) [2021-08-02T18:02:34.730Z] (29/37) Installing expat (2.2.10-r1) [2021-08-02T18:02:34.730Z] (30/37) Installing pcre2 (10.36-r0) [2021-08-02T18:02:34.730Z] (31/37) Installing git (2.30.2-r0) [2021-08-02T18:02:42.941Z] (32/37) Installing libsodium (1.0.18-r0) [2021-08-02T18:02:42.941Z] (33/37) Installing pkgconf (1.7.3-r0) [2021-08-02T18:02:42.941Z] (34/37) Installing libsodium-dev (1.0.18-r0) [2021-08-02T18:02:42.941Z] (35/37) Installing linux-headers (5.7.8-r0) [2021-08-02T18:02:44.358Z] (36/37) Installing libzmq (4.3.3-r1) [2021-08-02T18:02:44.625Z] (37/37) Installing zeromq-dev (4.3.3-r1) [2021-08-02T18:02:44.625Z] Executing busybox-1.32.1-r6.trigger [2021-08-02T18:02:44.625Z] OK: 219 MiB in 52 packages [2021-08-02T18:02:44.625Z] Connecting to raw.githubusercontent.com (185.199.108.133:443) [2021-08-02T18:02:44.895Z] writing to stdout [2021-08-02T18:02:44.895Z] - 100% |********************************| 10739 0:00:00 ETA [2021-08-02T18:02:44.895Z] written to stdout [2021-08-02T18:02:44.895Z] golangci/golangci-lint info checking GitHub for tag 'v1.40.1' [2021-08-02T18:02:45.164Z] golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/amd64 [2021-08-02T18:02:46.125Z] golangci/golangci-lint info installed ./bin/golangci-lint [2021-08-02T18:02:48.734Z] Removing intermediate container 92cb20a4d5f3 [2021-08-02T18:02:48.734Z] ---> e0568f7df87f [2021-08-02T18:02:48.734Z] Step 8/9 : LABEL arch=amd64 [2021-08-02T18:02:49.001Z] ---> Running in 490f96e73292 [2021-08-02T18:02:49.001Z] Removing intermediate container 490f96e73292 [2021-08-02T18:02:49.001Z] ---> 43b775798a53 [2021-08-02T18:02:49.001Z] Step 9/9 : LABEL git_sha=3e8517637962984057aeb0d3d697ad6e3461c306 [2021-08-02T18:02:49.001Z] ---> Running in f97b282e0eb7 [2021-08-02T18:02:49.001Z] Removing intermediate container f97b282e0eb7 [2021-08-02T18:02:49.001Z] ---> 8f1d05da4631 [2021-08-02T18:02:49.001Z] [Warning] One or more build-args [ARCH] were not consumed [2021-08-02T18:02:49.001Z] Successfully built 8f1d05da4631 [2021-08-02T18:02:49.001Z] 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 [2021-08-02T18:02:50.161Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-02T18:02:50.162Z] [2021-08-02T18:02:50.162Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-02T18:02:50.545Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-02T18:02:50.545Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-02T18:02:50.545Z] b4d181a07f80: Pulling fs layer [2021-08-02T18:02:50.545Z] a1111a8f2ec3: Pulling fs layer [2021-08-02T18:02:50.545Z] ed53099fbce6: Pulling fs layer [2021-08-02T18:02:50.545Z] dc539afda2c1: Pulling fs layer [2021-08-02T18:02:50.545Z] 77bc0d833cb6: Pulling fs layer [2021-08-02T18:02:50.545Z] 9065ff56babe: Pulling fs layer [2021-08-02T18:02:50.545Z] d287ab97295c: Pulling fs layer [2021-08-02T18:02:50.545Z] 77bc0d833cb6: Waiting [2021-08-02T18:02:50.545Z] 9065ff56babe: Waiting [2021-08-02T18:02:50.545Z] d287ab97295c: Waiting [2021-08-02T18:02:50.545Z] dc539afda2c1: Waiting [2021-08-02T18:02:50.814Z] a1111a8f2ec3: Verifying Checksum [2021-08-02T18:02:50.814Z] a1111a8f2ec3: Download complete [2021-08-02T18:02:50.814Z] dc539afda2c1: Verifying Checksum [2021-08-02T18:02:50.814Z] dc539afda2c1: Download complete [2021-08-02T18:02:51.084Z] 77bc0d833cb6: Verifying Checksum [2021-08-02T18:02:51.084Z] 77bc0d833cb6: Download complete [2021-08-02T18:02:51.084Z] 9065ff56babe: Verifying Checksum [2021-08-02T18:02:51.084Z] 9065ff56babe: Download complete [2021-08-02T18:02:51.084Z] ed53099fbce6: Verifying Checksum [2021-08-02T18:02:51.084Z] ed53099fbce6: Download complete [2021-08-02T18:02:52.704Z] b4d181a07f80: Verifying Checksum [2021-08-02T18:02:52.704Z] b4d181a07f80: Download complete [2021-08-02T18:02:53.677Z] b4d181a07f80: Pull complete [2021-08-02T18:02:53.950Z] a1111a8f2ec3: Pull complete [2021-08-02T18:02:54.537Z] ed53099fbce6: Pull complete [2021-08-02T18:02:54.537Z] dc539afda2c1: Pull complete [2021-08-02T18:02:54.807Z] 77bc0d833cb6: Pull complete [2021-08-02T18:02:54.807Z] 9065ff56babe: Pull complete [2021-08-02T18:02:56.777Z] d287ab97295c: Verifying Checksum [2021-08-02T18:02:56.777Z] d287ab97295c: Download complete [2021-08-02T18:03:02.159Z] d287ab97295c: Pull complete [2021-08-02T18:03:02.159Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-02T18:03:02.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-02T18:03:02.159Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-02T18:03:02.532Z] prd-centos7-docker-4c-2g-1708 does not seem to be running inside a container [2021-08-02T18:03:02.617Z] $ 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-174 -v /w/workspace/exfoundry_ci-build-images_PR-174:/w/workspace/exfoundry_ci-build-images_PR-174:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-174@tmp:/w/workspace/exfoundry_ci-build-images_PR-174@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 [2021-08-02T18:03:04.913Z] $ docker top 5c9819bbd0ae28ed58460de98bb0c25003bab6a54e293dc6de926b8b06b226a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-02T18:03:05.603Z] ---> job-cost.sh [2021-08-02T18:03:05.604Z] lf-activate-venv: SKIPPING [2021-08-02T18:03:05.604Z] INFO: No Stack... [2021-08-02T18:03:06.569Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-02T18:03:06.846Z] INFO: Archiving Costs [Pipeline] sh [2021-08-02T18:03:07.212Z] + cat /w/workspace/exfoundry_ci-build-images_PR-174/archives/cost.csv [2021-08-02T18:03:07.212Z] + cut -d, -f6 [Pipeline] lock [2021-08-02T18:03:07.284Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-174-1-stack-cost] [2021-08-02T18:03:07.291Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-174-1-stack-cost] did not exist. Created. [2021-08-02T18:03:07.291Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-174-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-02T18:03:07.762Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-02T18:03:08.133Z] Stashed 1 file(s) [Pipeline] } [2021-08-02T18:03:08.160Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-174-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-02T18:03:08.232Z] $ docker stop --time=1 5c9819bbd0ae28ed58460de98bb0c25003bab6a54e293dc6de926b8b06b226a0 [2021-08-02T18:03:09.403Z] $ docker rm -f 5c9819bbd0ae28ed58460de98bb0c25003bab6a54e293dc6de926b8b06b226a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-02T18:03:10.425Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1709 in /w/workspace/exfoundry_ci-build-images_PR-174 [Pipeline] { [Pipeline] checkout [2021-08-02T18:03:10.711Z] Selected Git installation does not exist. Using Default [2021-08-02T18:03:10.711Z] The recommended git tool is: NONE [2021-08-02T18:03:15.950Z] using credential edgex-jenkins-ssh [2021-08-02T18:03:15.969Z] Cloning the remote Git repository [2021-08-02T18:03:16.009Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2021-08-02T18:03:16.121Z] > git init /w/workspace/exfoundry_ci-build-images_PR-174 # timeout=10 [2021-08-02T18:03:16.251Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2021-08-02T18:03:16.252Z] > git --version # timeout=10 [2021-08-02T18:03:16.294Z] > git --version # 'git version 2.17.1' [2021-08-02T18:03:16.296Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-02T18:03:16.416Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-02T18:03:17.929Z] Merging remotes/origin/golang-1.16 commit b6fd6c7bc8b9eb634465b8719d7d4404f37f0cfa into PR head commit 358ef171b304f6138e82d100ac106e4b86df7cee [2021-08-02T18:03:17.242Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2021-08-02T18:03:17.259Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-02T18:03:17.285Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2021-08-02T18:03:17.315Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2021-08-02T18:03:17.315Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-02T18:03:17.327Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/golang-1.16:refs/remotes/origin/golang-1.16 # timeout=10 [2021-08-02T18:03:17.941Z] > git config core.sparsecheckout # timeout=10 [2021-08-02T18:03:17.959Z] > git checkout -f 358ef171b304f6138e82d100ac106e4b86df7cee # timeout=10 [2021-08-02T18:03:18.024Z] > git remote # timeout=10 [2021-08-02T18:03:18.118Z] Merge succeeded, producing 9d982e57e89f7db9e826586bd8ad741b4138b371 [2021-08-02T18:03:18.118Z] Checking out Revision 9d982e57e89f7db9e826586bd8ad741b4138b371 (PR-174) [2021-08-02T18:03:18.040Z] > git config --get remote.origin.url # timeout=10 [2021-08-02T18:03:18.053Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-02T18:03:18.064Z] > git merge b6fd6c7bc8b9eb634465b8719d7d4404f37f0cfa # timeout=10 [2021-08-02T18:03:18.096Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-02T18:03:18.116Z] > git config core.sparsecheckout # timeout=10 [2021-08-02T18:03:18.129Z] > git checkout -f 9d982e57e89f7db9e826586bd8ad741b4138b371 # timeout=10 [2021-08-02T18:03:22.329Z] Commit message: "Merge commit 'b6fd6c7bc8b9eb634465b8719d7d4404f37f0cfa' into HEAD" [2021-08-02T18:03:22.329Z] First time build. Skipping changelog. [2021-08-02T18:03:22.382Z] > git --version # timeout=10 [2021-08-02T18:03:22.393Z] > git --version # 'git version 2.17.1' [2021-08-02T18:03:22.409Z] fatal: bad object b2dc629956b20c8a69344c2b67dbc2640f7419d6 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-02T18:03:23.193Z] provisioning config files... [2021-08-02T18:03:23.224Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-174@tmp/config3680679831450871260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-02T18:03:23.853Z] ---> docker-login.sh [2021-08-02T18:03:23.853Z] nexus3.edgexfoundry.org:10001 [2021-08-02T18:03:24.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T18:03:25.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T18:03:25.057Z] Configure a credential helper to remove this warning. See [2021-08-02T18:03:25.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T18:03:25.057Z] [2021-08-02T18:03:25.057Z] Login Succeeded [2021-08-02T18:03:25.057Z] nexus3.edgexfoundry.org:10002 [2021-08-02T18:03:25.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T18:03:25.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T18:03:25.617Z] Configure a credential helper to remove this warning. See [2021-08-02T18:03:25.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T18:03:25.617Z] [2021-08-02T18:03:25.617Z] Login Succeeded [2021-08-02T18:03:25.617Z] nexus3.edgexfoundry.org:10003 [2021-08-02T18:03:25.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T18:03:26.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T18:03:26.173Z] Configure a credential helper to remove this warning. See [2021-08-02T18:03:26.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T18:03:26.173Z] [2021-08-02T18:03:26.173Z] Login Succeeded [2021-08-02T18:03:26.173Z] nexus3.edgexfoundry.org:10004 [2021-08-02T18:03:26.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T18:03:26.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T18:03:26.853Z] Configure a credential helper to remove this warning. See [2021-08-02T18:03:26.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T18:03:26.853Z] [2021-08-02T18:03:26.853Z] Login Succeeded [2021-08-02T18:03:26.853Z] docker.io [2021-08-02T18:03:27.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-02T18:03:27.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-02T18:03:27.407Z] Configure a credential helper to remove this warning. See [2021-08-02T18:03:27.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-02T18:03:27.407Z] [2021-08-02T18:03:27.407Z] Login Succeeded [2021-08-02T18:03:27.685Z] ---> docker-login.sh ends [Pipeline] } [2021-08-02T18:03:27.783Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-02T18:03:28.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-02T18:03:28.895Z] + ls -al . [2021-08-02T18:03:28.895Z] total 28 [2021-08-02T18:03:28.895Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 18:03 . [2021-08-02T18:03:28.895Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 18:03 .. [2021-08-02T18:03:28.895Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 18:03 .git [2021-08-02T18:03:28.895Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 18:03 .github [2021-08-02T18:03:28.895Z] -rw-rw-r-- 1 jenkins jenkins 585 Aug 2 18:03 .golangci.yml [2021-08-02T18:03:28.895Z] -rw-rw-r-- 1 jenkins jenkins 914 Aug 2 18:03 Dockerfile [2021-08-02T18:03:28.895Z] -rw-rw-r-- 1 jenkins jenkins 992 Aug 2 18:03 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2021-08-02T18:03:29.273Z] + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=9d982e57e89f7db9e826586bd8ad741b4138b371 --label arch=arm64 . [2021-08-02T18:03:29.559Z] Sending build context to Docker daemon 394.8kB [2021-08-02T18:03:29.559Z] Step 1/9 : FROM golang:1.16.6-alpine3.13 [2021-08-02T18:03:30.539Z] 1.16.6-alpine3.13: Pulling from library/golang [2021-08-02T18:03:30.539Z] 595b0fe564bb: Pulling fs layer [2021-08-02T18:03:30.539Z] 24495759ef45: Pulling fs layer [2021-08-02T18:03:30.539Z] d148012ef14d: Pulling fs layer [2021-08-02T18:03:30.539Z] e90a11edd702: Pulling fs layer [2021-08-02T18:03:30.539Z] d77568369979: Pulling fs layer [2021-08-02T18:03:30.539Z] e90a11edd702: Waiting [2021-08-02T18:03:30.539Z] d77568369979: Waiting [2021-08-02T18:03:30.816Z] 24495759ef45: Download complete [2021-08-02T18:03:30.816Z] d148012ef14d: Download complete [2021-08-02T18:03:30.816Z] 595b0fe564bb: Verifying Checksum [2021-08-02T18:03:30.816Z] 595b0fe564bb: Download complete [2021-08-02T18:03:31.093Z] d77568369979: Verifying Checksum [2021-08-02T18:03:31.093Z] d77568369979: Download complete [2021-08-02T18:03:31.698Z] 595b0fe564bb: Pull complete [2021-08-02T18:03:32.306Z] 24495759ef45: Pull complete [2021-08-02T18:03:32.917Z] d148012ef14d: Pull complete [2021-08-02T18:03:33.519Z] e90a11edd702: Verifying Checksum [2021-08-02T18:03:33.519Z] e90a11edd702: Download complete [2021-08-02T18:03:43.657Z] e90a11edd702: Pull complete [2021-08-02T18:03:43.657Z] d77568369979: Pull complete [2021-08-02T18:03:43.657Z] Digest: sha256:e3159543f0eed803082179bfa2f3aeb00799fd95efecf9f4baedc4b5d5e73eee [2021-08-02T18:03:43.657Z] Status: Downloaded newer image for golang:1.16.6-alpine3.13 [2021-08-02T18:03:43.657Z] ---> 5ced81f97900 [2021-08-02T18:03:43.657Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-08-02T18:03:45.099Z] ---> Running in b1d131b81896 [2021-08-02T18:03:45.706Z] Removing intermediate container b1d131b81896 [2021-08-02T18:03:45.706Z] ---> d05356199637 [2021-08-02T18:03:45.706Z] Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-02T18:03:45.706Z] ---> Running in 644e40c7951e [2021-08-02T18:03:49.105Z] Removing intermediate container 644e40c7951e [2021-08-02T18:03:49.105Z] ---> adb8e6faf3c6 [2021-08-02T18:03:49.105Z] Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 [2021-08-02T18:03:49.105Z] ---> Running in 8a853e9a7b73 [2021-08-02T18:03:49.386Z] Removing intermediate container 8a853e9a7b73 [2021-08-02T18:03:49.386Z] ---> d4e6df044f40 [2021-08-02T18:03:49.386Z] Step 5/9 : COPY ./.golangci.yml /etc/.golangci.yml [2021-08-02T18:03:49.988Z] ---> d4096c6f09c1 [2021-08-02T18:03:49.988Z] 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 [2021-08-02T18:03:50.265Z] ---> Running in 2a79269fbed5 [2021-08-02T18:03:52.901Z] Removing intermediate container 2a79269fbed5 [2021-08-02T18:03:52.901Z] ---> 8fde0563505d [2021-08-02T18:03:52.901Z] 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} [2021-08-02T18:03:52.901Z] ---> Running in 86be4a365ff7 [2021-08-02T18:03:53.886Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-02T18:03:54.867Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-02T18:03:55.849Z] (1/37) Installing ncurses-terminfo-base (6.2_p20210109-r0) [2021-08-02T18:03:55.849Z] (2/37) Installing ncurses-libs (6.2_p20210109-r0) [2021-08-02T18:03:55.849Z] (3/37) Installing readline (8.1.0-r0) [2021-08-02T18:03:56.121Z] (4/37) Installing bash (5.1.0-r0) [2021-08-02T18:03:56.393Z] Executing bash-5.1.0-r0.post-install [2021-08-02T18:03:56.393Z] (5/37) Installing libgcc (10.2.1_pre1-r3) [2021-08-02T18:03:56.393Z] (6/37) Installing libstdc++ (10.2.1_pre1-r3) [2021-08-02T18:03:56.665Z] (7/37) Installing binutils (2.35.2-r1) [2021-08-02T18:03:57.640Z] (8/37) Installing libmagic (5.39-r0) [2021-08-02T18:03:57.640Z] (9/37) Installing file (5.39-r0) [2021-08-02T18:03:57.912Z] (10/37) Installing libgomp (10.2.1_pre1-r3) [2021-08-02T18:03:57.912Z] (11/37) Installing libatomic (10.2.1_pre1-r3) [2021-08-02T18:03:57.912Z] (12/37) Installing libgphobos (10.2.1_pre1-r3) [2021-08-02T18:03:58.894Z] (13/37) Installing gmp (6.2.1-r0) [2021-08-02T18:03:58.894Z] (14/37) Installing isl22 (0.22-r0) [2021-08-02T18:03:59.165Z] (15/37) Installing mpfr4 (4.1.0-r0) [2021-08-02T18:03:59.165Z] (16/37) Installing mpc1 (1.2.0-r0) [2021-08-02T18:03:59.165Z] (17/37) Installing gcc (10.2.1_pre1-r3) [2021-08-02T18:04:09.295Z] (18/37) Installing musl-dev (1.2.2-r1) [2021-08-02T18:04:09.295Z] (19/37) Installing libc-dev (0.7.2-r3) [2021-08-02T18:04:09.295Z] (20/37) Installing g++ (10.2.1_pre1-r3) [2021-08-02T18:04:13.593Z] (21/37) Installing make (4.3-r0) [2021-08-02T18:04:13.593Z] (22/37) Installing fortify-headers (1.1-r0) [2021-08-02T18:04:13.593Z] (23/37) Installing patch (2.7.6-r7) [2021-08-02T18:04:13.865Z] (24/37) Installing build-base (0.5-r2) [2021-08-02T18:04:13.865Z] (25/37) Installing brotli-libs (1.0.9-r3) [2021-08-02T18:04:13.865Z] (26/37) Installing nghttp2-libs (1.42.0-r1) [2021-08-02T18:04:14.145Z] (27/37) Installing libcurl (7.78.0-r0) [2021-08-02T18:04:14.145Z] (28/37) Installing curl (7.78.0-r0) [2021-08-02T18:04:14.145Z] (29/37) Installing expat (2.2.10-r1) [2021-08-02T18:04:14.419Z] (30/37) Installing pcre2 (10.36-r0) [2021-08-02T18:04:14.419Z] (31/37) Installing git (2.30.2-r0) [2021-08-02T18:04:16.399Z] (32/37) Installing libsodium (1.0.18-r0) [2021-08-02T18:04:16.399Z] (33/37) Installing pkgconf (1.7.3-r0) [2021-08-02T18:04:16.399Z] (34/37) Installing libsodium-dev (1.0.18-r0) [2021-08-02T18:04:16.399Z] (35/37) Installing linux-headers (5.7.8-r0) [2021-08-02T18:04:17.004Z] (36/37) Installing libzmq (4.3.3-r1) [2021-08-02T18:04:17.004Z] (37/37) Installing zeromq-dev (4.3.3-r1) [2021-08-02T18:04:17.004Z] Executing busybox-1.32.1-r6.trigger [2021-08-02T18:04:17.004Z] OK: 218 MiB in 52 packages [2021-08-02T18:04:17.278Z] Connecting to raw.githubusercontent.com (185.199.111.133:443) [2021-08-02T18:04:17.278Z] writing to stdout [2021-08-02T18:04:17.278Z] - 100% |********************************| 10739 0:00:00 ETA [2021-08-02T18:04:17.278Z] written to stdout [2021-08-02T18:04:17.278Z] golangci/golangci-lint info checking GitHub for tag 'v1.40.1' [2021-08-02T18:04:17.555Z] golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/arm64 [2021-08-02T18:04:19.539Z] golangci/golangci-lint info installed ./bin/golangci-lint [2021-08-02T18:04:29.728Z] Removing intermediate container 86be4a365ff7 [2021-08-02T18:04:29.728Z] ---> 5f8fed5ad3ee [2021-08-02T18:04:29.728Z] Step 8/9 : LABEL arch=arm64 [2021-08-02T18:04:29.728Z] ---> Running in c694c2f8da1c [2021-08-02T18:04:30.334Z] Removing intermediate container c694c2f8da1c [2021-08-02T18:04:30.334Z] ---> d416449fa72c [2021-08-02T18:04:30.334Z] Step 9/9 : LABEL git_sha=9d982e57e89f7db9e826586bd8ad741b4138b371 [2021-08-02T18:04:30.334Z] ---> Running in c57f7e9fae6b [2021-08-02T18:04:30.936Z] Removing intermediate container c57f7e9fae6b [2021-08-02T18:04:30.936Z] ---> 786c02448cbd [2021-08-02T18:04:30.936Z] [Warning] One or more build-args [ARCH] were not consumed [2021-08-02T18:04:30.936Z] Successfully built 786c02448cbd [2021-08-02T18:04:31.208Z] 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 [2021-08-02T18:04:32.278Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-02T18:04:32.278Z] [2021-08-02T18:04:32.278Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-02T18:04:32.942Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-02T18:04:33.215Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-02T18:04:33.215Z] 448f6bf000e3: Pulling fs layer [2021-08-02T18:04:33.215Z] f757da607395: Pulling fs layer [2021-08-02T18:04:33.215Z] 05883995daec: Pulling fs layer [2021-08-02T18:04:33.215Z] 8603b9c90790: Pulling fs layer [2021-08-02T18:04:33.215Z] 1560dd03e051: Pulling fs layer [2021-08-02T18:04:33.215Z] 27f5ce0e4adf: Pulling fs layer [2021-08-02T18:04:33.215Z] c2d8d7efcc4b: Pulling fs layer [2021-08-02T18:04:33.215Z] 8603b9c90790: Waiting [2021-08-02T18:04:33.215Z] 1560dd03e051: Waiting [2021-08-02T18:04:33.215Z] c2d8d7efcc4b: Waiting [2021-08-02T18:04:33.215Z] 27f5ce0e4adf: Waiting [2021-08-02T18:04:33.491Z] f757da607395: Verifying Checksum [2021-08-02T18:04:33.491Z] f757da607395: Download complete [2021-08-02T18:04:33.491Z] 8603b9c90790: Verifying Checksum [2021-08-02T18:04:33.491Z] 8603b9c90790: Download complete [2021-08-02T18:04:33.763Z] 1560dd03e051: Verifying Checksum [2021-08-02T18:04:33.763Z] 1560dd03e051: Download complete [2021-08-02T18:04:33.763Z] 27f5ce0e4adf: Verifying Checksum [2021-08-02T18:04:33.763Z] 27f5ce0e4adf: Download complete [2021-08-02T18:04:33.763Z] 05883995daec: Verifying Checksum [2021-08-02T18:04:33.763Z] 05883995daec: Download complete [2021-08-02T18:04:34.745Z] 448f6bf000e3: Verifying Checksum [2021-08-02T18:04:34.745Z] 448f6bf000e3: Download complete [2021-08-02T18:04:38.144Z] c2d8d7efcc4b: Verifying Checksum [2021-08-02T18:04:38.144Z] c2d8d7efcc4b: Download complete [2021-08-02T18:04:38.144Z] 448f6bf000e3: Pull complete [2021-08-02T18:04:39.124Z] f757da607395: Pull complete [2021-08-02T18:04:40.569Z] 05883995daec: Pull complete [2021-08-02T18:04:40.842Z] 8603b9c90790: Pull complete [2021-08-02T18:04:42.285Z] 1560dd03e051: Pull complete [2021-08-02T18:04:42.559Z] 27f5ce0e4adf: Pull complete [2021-08-02T18:04:57.653Z] c2d8d7efcc4b: Pull complete [2021-08-02T18:04:57.653Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-02T18:04:57.653Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-02T18:04:57.653Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-02T18:04:57.972Z] prd-ubuntu18.04-docker-arm64-4c-16g-1709 does not seem to be running inside a container [2021-08-02T18:04:58.049Z] $ 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-174 -v /w/workspace/exfoundry_ci-build-images_PR-174:/w/workspace/exfoundry_ci-build-images_PR-174:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-174@tmp:/w/workspace/exfoundry_ci-build-images_PR-174@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 [2021-08-02T18:05:02.430Z] $ docker top 032c5e499132d1012d62ac03f40ea65c9f6766b3da942b1d4f01f85771b9f128 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-02T18:05:03.448Z] ---> job-cost.sh [2021-08-02T18:05:03.448Z] lf-activate-venv: SKIPPING [2021-08-02T18:05:03.448Z] INFO: No Stack... [2021-08-02T18:05:04.421Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-02T18:05:04.695Z] INFO: Archiving Costs [Pipeline] sh [2021-08-02T18:05:05.368Z] + cut -d, -f6 [2021-08-02T18:05:05.369Z] + cat /w/workspace/exfoundry_ci-build-images_PR-174/archives/cost.csv [Pipeline] lock [2021-08-02T18:05:05.459Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-174-1-stack-cost] [2021-08-02T18:05:05.466Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-174-1-stack-cost] did not exist. Created. [2021-08-02T18:05:05.466Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-174-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-02T18:05:06.663Z] /w/workspace/exfoundry_ci-build-images_PR-174@tmp/durable-169c624e/script.sh: 1: /w/workspace/exfoundry_ci-build-images_PR-174@tmp/durable-169c624e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-02T18:05:07.396Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-02T18:05:07.442Z] Warning: overwriting stash ‘stack-cost’ [2021-08-02T18:05:08.061Z] Stashed 1 file(s) [Pipeline] } [2021-08-02T18:05:08.082Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-174-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-02T18:05:08.150Z] $ docker stop --time=1 032c5e499132d1012d62ac03f40ea65c9f6766b3da942b1d4f01f85771b9f128 [2021-08-02T18:05:09.817Z] $ docker rm -f 032c5e499132d1012d62ac03f40ea65c9f6766b3da942b1d4f01f85771b9f128 [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 [2021-08-02T18:05:12.281Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-174/archives [2021-08-02T18:05:12.281Z] total 4 [2021-08-02T18:05:12.281Z] drwxr-xr-x. 3 root root 34 Aug 2 18:03 . [2021-08-02T18:05:12.281Z] drwxrwxr-x. 5 jenkins jenkins 125 Aug 2 18:03 .. [2021-08-02T18:05:12.281Z] drwxr-xr-x. 2 root root 6 Aug 2 18:03 cost [2021-08-02T18:05:12.281Z] -rw-r--r--. 1 root root 86 Aug 2 18:03 cost.csv [Pipeline] sh [2021-08-02T18:05:12.621Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-174/archives [Pipeline] sh [2021-08-02T18:05:12.964Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-174/archives [2021-08-02T18:05:12.964Z] total 4 [2021-08-02T18:05:12.964Z] drwxr-xr-x. 3 jenkins jenkins 34 Aug 2 18:03 . [2021-08-02T18:05:12.964Z] drwxrwxr-x. 5 jenkins jenkins 125 Aug 2 18:03 .. [2021-08-02T18:05:12.964Z] drwxr-xr-x. 2 jenkins jenkins 6 Aug 2 18:03 cost [2021-08-02T18:05:12.964Z] -rw-r--r--. 1 jenkins jenkins 86 Aug 2 18:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2021-08-02T18:05:13.340Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-02T18:05:13.982Z] ---> package-listing.sh [2021-08-02T18:05:13.982Z] ++ facter osfamily [2021-08-02T18:05:13.982Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-02T18:05:14.457Z] + OS_FAMILY=redhat [2021-08-02T18:05:14.457Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-174 [2021-08-02T18:05:14.457Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-02T18:05:14.457Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-02T18:05:14.457Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-02T18:05:14.457Z] + PACKAGES=/tmp/packages_start.txt [2021-08-02T18:05:14.457Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-174 ']' [2021-08-02T18:05:14.457Z] + PACKAGES=/tmp/packages_end.txt [2021-08-02T18:05:14.457Z] + case "${OS_FAMILY}" in [2021-08-02T18:05:14.457Z] + rpm -qa [2021-08-02T18:05:14.457Z] + sort [2021-08-02T18:05:15.058Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-02T18:05:15.058Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-02T18:05:15.058Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-02T18:05:15.058Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-174 ']' [2021-08-02T18:05:15.058Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-174/archives/ [2021-08-02T18:05:15.058Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-174/archives/ [Pipeline] echo [2021-08-02T18:05:15.104Z] 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-174/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-02T18:05:15.438Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-02T18:05:16.071Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-02T18:05:16.071Z] . [Pipeline] withDockerContainer [2021-08-02T18:05:16.189Z] prd-centos7-docker-4c-2g-1708 does not seem to be running inside a container [2021-08-02T18:05:16.250Z] $ 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-174/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-174 -v /w/workspace/exfoundry_ci-build-images_PR-174:/w/workspace/exfoundry_ci-build-images_PR-174:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-174@tmp:/w/workspace/exfoundry_ci-build-images_PR-174@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 [2021-08-02T18:05:16.510Z] $ docker top baaf2a3eb01ff474b8f4e1215e3b2b387807c635d6eec87bb829b7bbe944f45e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-02T18:05:16.972Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-02T18:05:17.318Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-02T18:05:17.656Z] + ls /var/log/sa-host [2021-08-02T18:05:17.656Z] + sadf -c /var/log/sa-host/sa02 [2021-08-02T18:05:17.656Z] file_magic: OK [2021-08-02T18:05:17.656Z] HZ: Using current value: 100 [2021-08-02T18:05:17.656Z] file_header: OK [2021-08-02T18:05:17.656Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-08-02T18:05:17.656Z] Statistics: [2021-08-02T18:05:17.656Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-02T18:05:17.656Z] File successfully converted to sysstat format version 12.0.3 [2021-08-02T18:05:17.656Z] + sadf -c /var/log/sa-host/sa05 [2021-08-02T18:05:17.656Z] file_magic: OK [2021-08-02T18:05:17.656Z] HZ: Using current value: 100 [2021-08-02T18:05:17.656Z] file_header: OK [2021-08-02T18:05:17.656Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-08-02T18:05:17.656Z] Statistics: [2021-08-02T18:05:17.656Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-02T18:05:17.656Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-02T18:05:18.346Z] provisioning config files... [2021-08-02T18:05:18.362Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-174@tmp/config4238547044947872977tmp [Pipeline] { [Pipeline] echo [2021-08-02T18:05:18.417Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-02T18:05:18.774Z] ---> create-netrc.sh [Pipeline] } [2021-08-02T18:05:18.802Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-02T18:05:19.291Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-02T18:05:19.325Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-02T18:05:19.696Z] ---> sudo-logs.sh [2021-08-02T18:05:19.696Z] Archiving 'sudo' log.. [2021-08-02T18:05:19.696Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1708.vexxhost.local: Name or service not known [2021-08-02T18:05:19.696Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1708.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-02T18:05:19.802Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-02T18:05:20.171Z] ---> job-cost.sh [2021-08-02T18:05:20.171Z] lf-activate-venv: SKIPPING [2021-08-02T18:05:20.171Z] DEBUG: total: 0.05999999865889549 [2021-08-02T18:05:20.171Z] INFO: Retrieving Stack Cost... [2021-08-02T18:05:21.131Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-02T18:05:21.717Z] INFO: Archiving Costs [Pipeline] echo [2021-08-02T18:05:21.758Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-02T18:05:22.113Z] ---> logs-deploy.sh [2021-08-02T18:05:22.113Z] lf-activate-venv: SKIPPING [2021-08-02T18:05:22.113Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-174/1 [2021-08-02T18:05:22.113Z] INFO: archiving workspace using pattern(s): [2021-08-02T18:05:22.705Z] Archives upload complete. [2021-08-02T18:05:22.972Z] INFO: archiving logs to Nexus