ernestojeda commented: recheck 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 1afbfba5f65113cb8ee15a5042447ccc30315c13+4134ac638799a91985c6458b8792912919e8a8b9 (871fb822dd74cff3e20927691bd679dd0d0528f8) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9182714066740223110.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 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-ssh8747729601909128744.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 c141c1271097dc03ad291c2451e310eaf98cdd06 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-178/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-178/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2359209654750860188.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh803867560016201605.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-178/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/ci-build-images/branches/PR-178/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3093072490526485677.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:edgex-golang-base, mavenSettings:ci-build-images-settings, dockerImageName:edgex-golang-base, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[1.16-alpine, 1.16-alpine3.13], releaseBranchOverride:golang-1.16] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: ci-build-images-settings PROJECT: edgex-golang-base USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-golang-base DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-golang-base-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: golang-1.16 DOCKER_CUSTOM_TAGS: 1.16-alpine 1.16-alpine3.13 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-171 in /w/workspace/exfoundry_ci-build-images_PR-178 [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-178 # 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-178@tmp/jenkins-gitclient-ssh5450888743848520130.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-178@tmp/jenkins-gitclient-ssh6888487154003171470.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/178/head:refs/remotes/origin/PR-178 +refs/heads/golang-1.16:refs/remotes/origin/golang-1.16 # timeout=10 Merging remotes/origin/golang-1.16 commit 4134ac638799a91985c6458b8792912919e8a8b9 into PR head commit 1afbfba5f65113cb8ee15a5042447ccc30315c13 Merge succeeded, producing 051bcb75d982dd781d3c3445b734aa0eaa312ee3 Checking out Revision 051bcb75d982dd781d3c3445b734aa0eaa312ee3 (PR-178) > git config core.sparsecheckout # timeout=10 > git checkout -f 1afbfba5f65113cb8ee15a5042447ccc30315c13 # 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-178@tmp/jenkins-gitclient-ssh5669342531701585551.key > git merge 4134ac638799a91985c6458b8792912919e8a8b9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 051bcb75d982dd781d3c3445b734aa0eaa312ee3 # timeout=10 Commit message: "Merge commit '4134ac638799a91985c6458b8792912919e8a8b9' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 7866886762983b3207030d743d56259d33c61093 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-06T17:00:09.848Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-06T17:00:09.924Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-06T17:00:09.948Z] ========================================================= [2021-10-06T17:00:09.948Z] EdgeX Global Pipelines Version Info [2021-10-06T17:00:09.948Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-06T17:00:11.247Z] ------------------- [2021-10-06T17:00:11.247Z] stable info: [2021-10-06T17:00:11.247Z] ------------------- [2021-10-06T17:00:11.247Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-06T17:00:11.247Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-06T17:00:11.247Z] Message: update stable to v1.0.206 [2021-10-06T17:00:11.832Z] ------------------- [2021-10-06T17:00:11.832Z] experimental info: [2021-10-06T17:00:11.832Z] ------------------- [2021-10-06T17:00:11.832Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-06T17:00:11.832Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-06T17:00:11.832Z] Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2021-10-06T17:00:11.964Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2021-10-06T17:00:11.981Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo [2021-10-06T17:00:11.998Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2021-10-06T17:00:12.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-06T17:00:12.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-06T17:00:12.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo [2021-10-06T17:00:12.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2021-10-06T17:00:12.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2021-10-06T17:00:12.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2021-10-06T17:00:12.119Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-06T17:00:12.136Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2021-10-06T17:00:12.152Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo [2021-10-06T17:00:12.169Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-06T17:00:12.186Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-06T17:00:12.203Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.16 [Pipeline] echo [2021-10-06T17:00:12.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.16-alpine 1.16-alpine3.13 [Pipeline] echo [2021-10-06T17:00:12.240Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-178 [Pipeline] echo [2021-10-06T17:00:12.256Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-178 [Pipeline] echo [2021-10-06T17:00:12.273Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-178 [Pipeline] echo [2021-10-06T17:00:12.290Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 051bcb75d982dd781d3c3445b734aa0eaa312ee3 [Pipeline] echo [2021-10-06T17:00:12.307Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 051bcb7 [Pipeline] echo [2021-10-06T17:00:12.324Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-06T17:00:12.385Z] provisioning config files... [2021-10-06T17:00:12.406Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-178@tmp/config4560813518298570763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-06T17:00:12.737Z] ---> docker-login.sh [2021-10-06T17:00:12.737Z] nexus3.edgexfoundry.org:10001 [2021-10-06T17:00:12.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T17:00:13.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T17:00:13.013Z] Configure a credential helper to remove this warning. See [2021-10-06T17:00:13.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T17:00:13.013Z] [2021-10-06T17:00:13.013Z] Login Succeeded [2021-10-06T17:00:13.013Z] nexus3.edgexfoundry.org:10002 [2021-10-06T17:00:13.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T17:00:13.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T17:00:13.282Z] Configure a credential helper to remove this warning. See [2021-10-06T17:00:13.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T17:00:13.282Z] [2021-10-06T17:00:13.282Z] Login Succeeded [2021-10-06T17:00:13.282Z] nexus3.edgexfoundry.org:10003 [2021-10-06T17:00:13.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T17:00:13.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T17:00:13.282Z] Configure a credential helper to remove this warning. See [2021-10-06T17:00:13.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T17:00:13.282Z] [2021-10-06T17:00:13.282Z] Login Succeeded [2021-10-06T17:00:13.282Z] nexus3.edgexfoundry.org:10004 [2021-10-06T17:00:13.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T17:00:13.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T17:00:13.551Z] Configure a credential helper to remove this warning. See [2021-10-06T17:00:13.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T17:00:13.551Z] [2021-10-06T17:00:13.551Z] Login Succeeded [2021-10-06T17:00:13.551Z] docker.io [2021-10-06T17:00:13.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T17:00:13.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T17:00:13.824Z] Configure a credential helper to remove this warning. See [2021-10-06T17:00:13.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T17:00:13.824Z] [2021-10-06T17:00:13.824Z] Login Succeeded [2021-10-06T17:00:13.824Z] ---> docker-login.sh ends [Pipeline] } [2021-10-06T17:00:13.838Z] 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-10-06T17:00:14.239Z] provisioning config files... [2021-10-06T17:00:14.256Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-178@tmp/config2230946979249427850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-06T17:00:14.589Z] ---> docker-login.sh [2021-10-06T17:00:14.589Z] nexus3.edgexfoundry.org:10001 [2021-10-06T17:00:14.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T17:00:14.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T17:00:14.589Z] Configure a credential helper to remove this warning. See [2021-10-06T17:00:14.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T17:00:14.589Z] [2021-10-06T17:00:14.589Z] Login Succeeded [2021-10-06T17:00:14.589Z] nexus3.edgexfoundry.org:10002 [2021-10-06T17:00:14.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T17:00:14.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T17:00:14.863Z] Configure a credential helper to remove this warning. See [2021-10-06T17:00:14.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T17:00:14.863Z] [2021-10-06T17:00:14.863Z] Login Succeeded [2021-10-06T17:00:14.863Z] nexus3.edgexfoundry.org:10003 [2021-10-06T17:00:14.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T17:00:14.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T17:00:14.863Z] Configure a credential helper to remove this warning. See [2021-10-06T17:00:14.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T17:00:14.863Z] [2021-10-06T17:00:14.863Z] Login Succeeded [2021-10-06T17:00:14.863Z] nexus3.edgexfoundry.org:10004 [2021-10-06T17:00:14.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T17:00:15.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T17:00:15.132Z] Configure a credential helper to remove this warning. See [2021-10-06T17:00:15.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T17:00:15.132Z] [2021-10-06T17:00:15.132Z] Login Succeeded [2021-10-06T17:00:15.132Z] docker.io [2021-10-06T17:00:15.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T17:00:15.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T17:00:15.400Z] Configure a credential helper to remove this warning. See [2021-10-06T17:00:15.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T17:00:15.400Z] [2021-10-06T17:00:15.400Z] Login Succeeded [2021-10-06T17:00:15.400Z] ---> docker-login.sh ends [Pipeline] } [2021-10-06T17:00:15.413Z] 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-10-06T17:00:18.606Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-06T17:00:18.919Z] + ls -al . [2021-10-06T17:00:18.919Z] total 12 [2021-10-06T17:00:18.919Z] drwxrwxr-x. 4 jenkins jenkins 91 Oct 6 17:00 . [2021-10-06T17:00:18.919Z] drwxrwxr-x. 4 jenkins jenkins 112 Oct 6 17:00 .. [2021-10-06T17:00:18.919Z] -rw-rw-r--. 1 jenkins jenkins 914 Oct 6 17:00 Dockerfile [2021-10-06T17:00:18.919Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 17:00 .git [2021-10-06T17:00:18.919Z] drwxrwxr-x. 2 jenkins jenkins 38 Oct 6 17:00 .github [2021-10-06T17:00:18.919Z] -rw-rw-r--. 1 jenkins jenkins 585 Oct 6 17:00 .golangci.yml [2021-10-06T17:00:18.919Z] -rw-rw-r--. 1 jenkins jenkins 913 Oct 6 17:00 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2021-10-06T17:00:19.339Z] + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=051bcb75d982dd781d3c3445b734aa0eaa312ee3 --label arch=amd64 . [2021-10-06T17:00:19.339Z] Sending build context to Docker daemon 400.9kB [2021-10-06T17:00:19.339Z] Step 1/9 : FROM golang:1.16.8-alpine3.14 [2021-10-06T17:00:19.920Z] 1.16.8-alpine3.14: Pulling from library/golang [2021-10-06T17:00:20.186Z] a0d0a0d46f8b: Pulling fs layer [2021-10-06T17:00:20.186Z] 31adcdaf11c8: Pulling fs layer [2021-10-06T17:00:20.186Z] b8b176561691: Pulling fs layer [2021-10-06T17:00:20.186Z] 4527c011a84f: Pulling fs layer [2021-10-06T17:00:20.186Z] 5d74067f8e1e: Pulling fs layer [2021-10-06T17:00:20.186Z] 4527c011a84f: Waiting [2021-10-06T17:00:20.186Z] 5d74067f8e1e: Waiting [2021-10-06T17:00:20.186Z] b8b176561691: Verifying Checksum [2021-10-06T17:00:20.186Z] b8b176561691: Download complete [2021-10-06T17:00:20.456Z] 31adcdaf11c8: Verifying Checksum [2021-10-06T17:00:20.456Z] 31adcdaf11c8: Download complete [2021-10-06T17:00:20.456Z] a0d0a0d46f8b: Verifying Checksum [2021-10-06T17:00:20.456Z] a0d0a0d46f8b: Download complete [2021-10-06T17:00:20.456Z] 5d74067f8e1e: Verifying Checksum [2021-10-06T17:00:20.456Z] 5d74067f8e1e: Download complete [2021-10-06T17:00:20.456Z] a0d0a0d46f8b: Pull complete [2021-10-06T17:00:20.733Z] 31adcdaf11c8: Pull complete [2021-10-06T17:00:20.733Z] b8b176561691: Pull complete [2021-10-06T17:00:21.317Z] 4527c011a84f: Verifying Checksum [2021-10-06T17:00:21.317Z] 4527c011a84f: Download complete [2021-10-06T17:00:25.607Z] 4527c011a84f: Pull complete [2021-10-06T17:00:25.607Z] 5d74067f8e1e: Pull complete [2021-10-06T17:00:25.607Z] Digest: sha256:69d613a986635e0ee3f1b351131fa689b0dd3570ef9cab8e619a5f1fb939ec56 [2021-10-06T17:00:25.607Z] Status: Downloaded newer image for golang:1.16.8-alpine3.14 [2021-10-06T17:00:25.607Z] ---> df1795ddbf41 [2021-10-06T17:00:25.607Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-10-06T17:00:29.174Z] Still waiting to schedule task [2021-10-06T17:00:29.174Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-06T17:00:35.720Z] ---> Running in 2d910bb6b404 [2021-10-06T17:00:35.720Z] Removing intermediate container 2d910bb6b404 [2021-10-06T17:00:35.720Z] ---> 1b33658dda16 [2021-10-06T17:00:35.720Z] Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-06T17:00:35.720Z] ---> Running in 09616e083346 [2021-10-06T17:00:36.317Z] Removing intermediate container 09616e083346 [2021-10-06T17:00:36.317Z] ---> 163804d06640 [2021-10-06T17:00:36.317Z] Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 [2021-10-06T17:00:36.583Z] ---> Running in 0317052cea74 [2021-10-06T17:00:37.172Z] Removing intermediate container 0317052cea74 [2021-10-06T17:00:37.172Z] ---> 3dd77ae8c10f [2021-10-06T17:00:37.172Z] Step 5/9 : COPY ./.golangci.yml /etc/.golangci.yml [2021-10-06T17:00:37.451Z] ---> e18bba1bb4dd [2021-10-06T17:00:37.451Z] 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-10-06T17:00:37.718Z] ---> Running in ce78c19a1dad [2021-10-06T17:00:37.985Z] Connecting to github.com (140.82.112.4:443) [2021-10-06T17:00:38.254Z] Connecting to github-releases.githubusercontent.com (185.199.108.154:443) [2021-10-06T17:00:38.520Z] saving to '/usr/local/bin/hadolint' [2021-10-06T17:00:38.520Z] hadolint 61% |******************* | 3496k 0:00:00 ETA [2021-10-06T17:00:38.520Z] hadolint 100% |********************************| 5676k 0:00:00 ETA [2021-10-06T17:00:38.798Z] '/usr/local/bin/hadolint' saved [2021-10-06T17:00:39.761Z] Removing intermediate container ce78c19a1dad [2021-10-06T17:00:39.761Z] ---> 25b178fe4799 [2021-10-06T17:00:39.761Z] 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-10-06T17:00:39.761Z] ---> Running in 30c8f9b0f39b [2021-10-06T17:00:40.730Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-06T17:00:41.710Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-06T17:00:41.977Z] (1/37) Installing ncurses-terminfo-base (6.2_p20210612-r0) [2021-10-06T17:00:42.244Z] (2/37) Installing ncurses-libs (6.2_p20210612-r0) [2021-10-06T17:00:42.244Z] (3/37) Installing readline (8.1.0-r0) [2021-10-06T17:00:42.244Z] (4/37) Installing bash (5.1.4-r0) [2021-10-06T17:00:42.513Z] Executing bash-5.1.4-r0.post-install [2021-10-06T17:00:42.513Z] (5/37) Installing libgcc (10.3.1_git20210424-r2) [2021-10-06T17:00:42.513Z] (6/37) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-06T17:00:42.513Z] (7/37) Installing binutils (2.35.2-r2) [2021-10-06T17:00:42.781Z] (8/37) Installing libmagic (5.40-r1) [2021-10-06T17:00:43.060Z] (9/37) Installing file (5.40-r1) [2021-10-06T17:00:43.060Z] (10/37) Installing libgomp (10.3.1_git20210424-r2) [2021-10-06T17:00:43.060Z] (11/37) Installing libatomic (10.3.1_git20210424-r2) [2021-10-06T17:00:43.340Z] (12/37) Installing libgphobos (10.3.1_git20210424-r2) [2021-10-06T17:00:43.340Z] (13/37) Installing gmp (6.2.1-r0) [2021-10-06T17:00:43.605Z] (14/37) Installing isl22 (0.22-r0) [2021-10-06T17:00:43.605Z] (15/37) Installing mpfr4 (4.1.0-r0) [2021-10-06T17:00:43.605Z] (16/37) Installing mpc1 (1.2.1-r0) [2021-10-06T17:00:43.874Z] (17/37) Installing gcc (10.3.1_git20210424-r2) [2021-10-06T17:00:45.819Z] (18/37) Installing musl-dev (1.2.2-r3) [2021-10-06T17:00:46.085Z] (19/37) Installing libc-dev (0.7.2-r3) [2021-10-06T17:00:46.353Z] (20/37) Installing g++ (10.3.1_git20210424-r2) [2021-10-06T17:00:47.764Z] (21/37) Installing make (4.3-r0) [2021-10-06T17:00:47.764Z] (22/37) Installing fortify-headers (1.1-r1) [2021-10-06T17:00:47.764Z] (23/37) Installing patch (2.7.6-r7) [2021-10-06T17:00:48.036Z] (24/37) Installing build-base (0.5-r2) [2021-10-06T17:00:48.036Z] (25/37) Installing brotli-libs (1.0.9-r5) [2021-10-06T17:00:48.036Z] (26/37) Installing nghttp2-libs (1.43.0-r0) [2021-10-06T17:00:48.311Z] (27/37) Installing libcurl (7.79.1-r0) [2021-10-06T17:00:48.311Z] (28/37) Installing curl (7.79.1-r0) [2021-10-06T17:00:48.311Z] (29/37) Installing expat (2.4.1-r0) [2021-10-06T17:00:48.577Z] (30/37) Installing pcre2 (10.36-r0) [2021-10-06T17:00:48.577Z] (31/37) Installing git (2.32.0-r0) [2021-10-06T17:00:49.160Z] (32/37) Installing libsodium (1.0.18-r0) [2021-10-06T17:00:49.160Z] (33/37) Installing pkgconf (1.7.4-r0) [2021-10-06T17:00:49.160Z] (34/37) Installing libsodium-dev (1.0.18-r0) [2021-10-06T17:00:49.429Z] (35/37) Installing linux-headers (5.10.41-r0) [2021-10-06T17:00:49.429Z] (36/37) Installing libzmq (4.3.4-r0) [2021-10-06T17:00:49.700Z] (37/37) Installing zeromq-dev (4.3.4-r0) [2021-10-06T17:00:49.700Z] Executing busybox-1.33.1-r3.trigger [2021-10-06T17:00:49.700Z] OK: 220 MiB in 52 packages [2021-10-06T17:00:49.700Z] Connecting to raw.githubusercontent.com (185.199.109.133:443) [2021-10-06T17:00:49.967Z] writing to stdout [2021-10-06T17:00:49.967Z] - 100% |********************************| 10739 0:00:00 ETA [2021-10-06T17:00:49.967Z] written to stdout [2021-10-06T17:00:49.967Z] golangci/golangci-lint info checking GitHub for tag 'v1.40.1' [2021-10-06T17:00:49.967Z] golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/amd64 [2021-10-06T17:00:51.135Z] golangci/golangci-lint info installed ./bin/golangci-lint [2021-10-06T17:01:06.156Z] Removing intermediate container 30c8f9b0f39b [2021-10-06T17:01:06.156Z] ---> b070fc0763fd [2021-10-06T17:01:06.156Z] Step 8/9 : LABEL arch=amd64 [2021-10-06T17:01:06.156Z] ---> Running in c65097f59625 [2021-10-06T17:01:06.156Z] Removing intermediate container c65097f59625 [2021-10-06T17:01:06.156Z] ---> 44d8c2adb356 [2021-10-06T17:01:06.156Z] Step 9/9 : LABEL git_sha=051bcb75d982dd781d3c3445b734aa0eaa312ee3 [2021-10-06T17:01:06.156Z] ---> Running in 29c817956886 [2021-10-06T17:01:06.156Z] Removing intermediate container 29c817956886 [2021-10-06T17:01:06.156Z] ---> e69114b1f95f [2021-10-06T17:01:06.156Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-06T17:01:06.156Z] Successfully built e69114b1f95f [2021-10-06T17:01:06.156Z] 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-10-06T17:01:06.912Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T17:01:06.912Z] [2021-10-06T17:01:06.912Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-06T17:01:07.258Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T17:01:08.669Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-06T17:01:08.669Z] b4d181a07f80: Pulling fs layer [2021-10-06T17:01:08.669Z] a1111a8f2ec3: Pulling fs layer [2021-10-06T17:01:08.669Z] ed53099fbce6: Pulling fs layer [2021-10-06T17:01:08.669Z] dc539afda2c1: Pulling fs layer [2021-10-06T17:01:08.669Z] 77bc0d833cb6: Pulling fs layer [2021-10-06T17:01:08.669Z] 9065ff56babe: Pulling fs layer [2021-10-06T17:01:08.669Z] d287ab97295c: Pulling fs layer [2021-10-06T17:01:08.669Z] 77bc0d833cb6: Waiting [2021-10-06T17:01:08.669Z] 9065ff56babe: Waiting [2021-10-06T17:01:08.669Z] d287ab97295c: Waiting [2021-10-06T17:01:08.669Z] dc539afda2c1: Waiting [2021-10-06T17:01:10.627Z] a1111a8f2ec3: Verifying Checksum [2021-10-06T17:01:10.627Z] a1111a8f2ec3: Download complete [2021-10-06T17:01:10.627Z] dc539afda2c1: Verifying Checksum [2021-10-06T17:01:10.627Z] dc539afda2c1: Download complete [2021-10-06T17:01:10.627Z] 77bc0d833cb6: Verifying Checksum [2021-10-06T17:01:10.627Z] 77bc0d833cb6: Download complete [2021-10-06T17:01:10.627Z] 9065ff56babe: Verifying Checksum [2021-10-06T17:01:10.627Z] 9065ff56babe: Download complete [2021-10-06T17:01:10.627Z] b4d181a07f80: Download complete [2021-10-06T17:01:12.063Z] d287ab97295c: Verifying Checksum [2021-10-06T17:01:12.063Z] d287ab97295c: Download complete [2021-10-06T17:01:12.329Z] ed53099fbce6: Verifying Checksum [2021-10-06T17:01:12.329Z] ed53099fbce6: Download complete [2021-10-06T17:01:12.329Z] b4d181a07f80: Pull complete [2021-10-06T17:01:12.608Z] a1111a8f2ec3: Pull complete [2021-10-06T17:01:13.573Z] ed53099fbce6: Pull complete [2021-10-06T17:01:13.847Z] dc539afda2c1: Pull complete [2021-10-06T17:01:14.436Z] 77bc0d833cb6: Pull complete [2021-10-06T17:01:14.436Z] 9065ff56babe: Pull complete [2021-10-06T17:01:24.602Z] d287ab97295c: Pull complete [2021-10-06T17:01:24.602Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-06T17:01:24.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T17:01:24.602Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-06T17:01:24.748Z] prd-centos7-docker-4c-2g-171 does not seem to be running inside a container [2021-10-06T17:01:24.834Z] $ 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-178 -v /w/workspace/exfoundry_ci-build-images_PR-178:/w/workspace/exfoundry_ci-build-images_PR-178:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-178@tmp:/w/workspace/exfoundry_ci-build-images_PR-178@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-06T17:01:40.030Z] $ docker top 1da12320eb6baff4c403625c655f83166940167bb74803879115938fcca4886c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-06T17:01:40.590Z] ---> job-cost.sh [2021-10-06T17:01:40.590Z] lf-activate-venv: SKIPPING [2021-10-06T17:01:40.590Z] INFO: No Stack... [2021-10-06T17:01:40.861Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-06T17:01:41.132Z] INFO: Archiving Costs [Pipeline] sh [2021-10-06T17:01:41.468Z] + cat /w/workspace/exfoundry_ci-build-images_PR-178/archives/cost.csv [2021-10-06T17:01:41.468Z] + cut -d, -f6 [Pipeline] lock [2021-10-06T17:01:41.511Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-178-3-stack-cost] [2021-10-06T17:01:41.522Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-178-3-stack-cost] did not exist. Created. [2021-10-06T17:01:41.522Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-178-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-06T17:01:41.864Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-06T17:01:42.249Z] Stashed 1 file(s) [Pipeline] } [2021-10-06T17:01:42.256Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-178-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-06T17:01:42.287Z] $ docker stop --time=1 1da12320eb6baff4c403625c655f83166940167bb74803879115938fcca4886c [2021-10-06T17:01:43.868Z] $ docker rm -f 1da12320eb6baff4c403625c655f83166940167bb74803879115938fcca4886c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-06T17:02:44.723Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-172 in /w/workspace/exfoundry_ci-build-images_PR-178 [Pipeline] { [Pipeline] checkout [2021-10-06T17:02:45.061Z] Selected Git installation does not exist. Using Default [2021-10-06T17:02:45.061Z] The recommended git tool is: NONE [2021-10-06T17:02:51.596Z] using credential edgex-jenkins-ssh [2021-10-06T17:02:51.620Z] Cloning the remote Git repository [2021-10-06T17:02:51.672Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2021-10-06T17:02:51.781Z] > git init /w/workspace/exfoundry_ci-build-images_PR-178 # timeout=10 [2021-10-06T17:02:51.899Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2021-10-06T17:02:51.899Z] > git --version # timeout=10 [2021-10-06T17:02:51.915Z] > git --version # 'git version 2.17.1' [2021-10-06T17:02:51.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T17:02:51.999Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-06T17:02:53.691Z] Merging remotes/origin/golang-1.16 commit 4134ac638799a91985c6458b8792912919e8a8b9 into PR head commit 1afbfba5f65113cb8ee15a5042447ccc30315c13 [2021-10-06T17:02:52.857Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2021-10-06T17:02:52.873Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-06T17:02:52.903Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2021-10-06T17:02:52.939Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2021-10-06T17:02:52.940Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T17:02:52.952Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/178/head:refs/remotes/origin/PR-178 +refs/heads/golang-1.16:refs/remotes/origin/golang-1.16 # timeout=10 [2021-10-06T17:02:53.713Z] > git config core.sparsecheckout # timeout=10 [2021-10-06T17:02:53.727Z] > git checkout -f 1afbfba5f65113cb8ee15a5042447ccc30315c13 # timeout=10 [2021-10-06T17:02:53.810Z] > git remote # timeout=10 [2021-10-06T17:02:53.831Z] > git config --get remote.origin.url # timeout=10 [2021-10-06T17:02:53.842Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T17:02:53.854Z] > git merge 4134ac638799a91985c6458b8792912919e8a8b9 # timeout=10 [2021-10-06T17:02:53.912Z] Merge succeeded, producing 0f990b45ddceb2b9caa6a4523f0c7083d4259342 [2021-10-06T17:02:53.913Z] Checking out Revision 0f990b45ddceb2b9caa6a4523f0c7083d4259342 (PR-178) [2021-10-06T17:02:53.886Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-06T17:02:53.919Z] > git config core.sparsecheckout # timeout=10 [2021-10-06T17:02:53.932Z] > git checkout -f 0f990b45ddceb2b9caa6a4523f0c7083d4259342 # timeout=10 [2021-10-06T17:02:58.381Z] Commit message: "Merge commit '4134ac638799a91985c6458b8792912919e8a8b9' into HEAD" [2021-10-06T17:02:58.411Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-06T17:02:58.777Z] provisioning config files... [2021-10-06T17:02:58.812Z] copy managed file [ci-build-images-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-178@tmp/config8585972205084402914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-06T17:02:59.429Z] ---> docker-login.sh [2021-10-06T17:02:59.429Z] nexus3.edgexfoundry.org:10001 [2021-10-06T17:02:58.392Z] > git rev-list --no-walk 7866886762983b3207030d743d56259d33c61093 # timeout=10 [2021-10-06T17:03:00.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T17:03:01.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T17:03:01.235Z] Configure a credential helper to remove this warning. See [2021-10-06T17:03:01.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T17:03:01.235Z] [2021-10-06T17:03:01.235Z] Login Succeeded [2021-10-06T17:03:01.235Z] nexus3.edgexfoundry.org:10002 [2021-10-06T17:03:01.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T17:03:01.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T17:03:01.863Z] Configure a credential helper to remove this warning. See [2021-10-06T17:03:01.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T17:03:01.863Z] [2021-10-06T17:03:01.863Z] Login Succeeded [2021-10-06T17:03:01.863Z] nexus3.edgexfoundry.org:10003 [2021-10-06T17:03:02.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T17:03:03.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T17:03:03.546Z] Configure a credential helper to remove this warning. See [2021-10-06T17:03:03.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T17:03:03.546Z] [2021-10-06T17:03:03.546Z] Login Succeeded [2021-10-06T17:03:03.546Z] nexus3.edgexfoundry.org:10004 [2021-10-06T17:03:03.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T17:03:04.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T17:03:04.680Z] Configure a credential helper to remove this warning. See [2021-10-06T17:03:04.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T17:03:04.680Z] [2021-10-06T17:03:04.680Z] Login Succeeded [2021-10-06T17:03:04.680Z] docker.io [2021-10-06T17:03:04.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T17:03:05.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T17:03:05.592Z] Configure a credential helper to remove this warning. See [2021-10-06T17:03:05.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T17:03:05.592Z] [2021-10-06T17:03:05.592Z] Login Succeeded [2021-10-06T17:03:05.592Z] ---> docker-login.sh ends [Pipeline] } [2021-10-06T17:03:05.706Z] 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-10-06T17:03:06.834Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-06T17:03:07.234Z] + ls -al . [2021-10-06T17:03:07.234Z] total 28 [2021-10-06T17:03:07.234Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 17:02 . [2021-10-06T17:03:07.234Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 17:02 .. [2021-10-06T17:03:07.234Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 17:02 .git [2021-10-06T17:03:07.234Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 17:02 .github [2021-10-06T17:03:07.234Z] -rw-rw-r-- 1 jenkins jenkins 585 Oct 6 17:02 .golangci.yml [2021-10-06T17:03:07.234Z] -rw-rw-r-- 1 jenkins jenkins 914 Oct 6 17:02 Dockerfile [2021-10-06T17:03:07.234Z] -rw-rw-r-- 1 jenkins jenkins 913 Oct 6 17:02 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2021-10-06T17:03:07.665Z] + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=0f990b45ddceb2b9caa6a4523f0c7083d4259342 --label arch=arm64 . [2021-10-06T17:03:07.951Z] Sending build context to Docker daemon 399.9kB [2021-10-06T17:03:07.951Z] Step 1/9 : FROM golang:1.16.8-alpine3.14 [2021-10-06T17:03:08.790Z] 1.16.8-alpine3.14: Pulling from library/golang [2021-10-06T17:03:09.077Z] 552d1f2373af: Pulling fs layer [2021-10-06T17:03:09.077Z] ea3f2d53f512: Pulling fs layer [2021-10-06T17:03:09.077Z] 9e70ebbbe112: Pulling fs layer [2021-10-06T17:03:09.077Z] 7a9cfe048b4a: Pulling fs layer [2021-10-06T17:03:09.077Z] 72dc09318566: Pulling fs layer [2021-10-06T17:03:09.077Z] 7a9cfe048b4a: Waiting [2021-10-06T17:03:09.077Z] 72dc09318566: Waiting [2021-10-06T17:03:09.365Z] ea3f2d53f512: Verifying Checksum [2021-10-06T17:03:09.365Z] ea3f2d53f512: Download complete [2021-10-06T17:03:09.656Z] 552d1f2373af: Verifying Checksum [2021-10-06T17:03:09.656Z] 552d1f2373af: Download complete [2021-10-06T17:03:09.656Z] 72dc09318566: Verifying Checksum [2021-10-06T17:03:09.656Z] 72dc09318566: Download complete [2021-10-06T17:03:10.295Z] 552d1f2373af: Pull complete [2021-10-06T17:03:10.929Z] ea3f2d53f512: Pull complete [2021-10-06T17:03:11.219Z] 9e70ebbbe112: Pull complete [2021-10-06T17:03:12.247Z] 7a9cfe048b4a: Verifying Checksum [2021-10-06T17:03:12.247Z] 7a9cfe048b4a: Download complete [2021-10-06T17:03:24.843Z] 7a9cfe048b4a: Pull complete [2021-10-06T17:03:24.843Z] 72dc09318566: Pull complete [2021-10-06T17:03:24.843Z] Digest: sha256:69d613a986635e0ee3f1b351131fa689b0dd3570ef9cab8e619a5f1fb939ec56 [2021-10-06T17:03:24.843Z] Status: Downloaded newer image for golang:1.16.8-alpine3.14 [2021-10-06T17:03:24.843Z] ---> 9e9fffa30629 [2021-10-06T17:03:24.843Z] Step 2/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-10-06T17:03:26.331Z] ---> Running in 586ef3db8a7f [2021-10-06T17:03:26.615Z] Removing intermediate container 586ef3db8a7f [2021-10-06T17:03:26.615Z] ---> 73b1873b8e21 [2021-10-06T17:03:26.615Z] Step 3/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-06T17:03:26.899Z] ---> Running in c29e637165f2 [2021-10-06T17:03:29.594Z] Removing intermediate container c29e637165f2 [2021-10-06T17:03:29.594Z] ---> 1b65b920f2fa [2021-10-06T17:03:29.594Z] Step 4/9 : ENV HADOLINT_VERSION=2.6.0 GOLANGCI_VERSION=1.40.1 [2021-10-06T17:03:29.594Z] ---> Running in e9bd2c4189d2 [2021-10-06T17:03:30.214Z] Removing intermediate container e9bd2c4189d2 [2021-10-06T17:03:30.214Z] ---> d55b5505c87b [2021-10-06T17:03:30.214Z] Step 5/9 : COPY ./.golangci.yml /etc/.golangci.yml [2021-10-06T17:03:30.832Z] ---> f38938d70b1b [2021-10-06T17:03:30.832Z] 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-10-06T17:03:31.118Z] ---> Running in b4837ee9102b [2021-10-06T17:03:33.149Z] Removing intermediate container b4837ee9102b [2021-10-06T17:03:33.149Z] ---> 2c0185b5b98b [2021-10-06T17:03:33.149Z] 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-10-06T17:03:33.149Z] ---> Running in 44eecf8496cb [2021-10-06T17:03:34.178Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-06T17:03:35.185Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-06T17:03:36.193Z] (1/37) Installing ncurses-terminfo-base (6.2_p20210612-r0) [2021-10-06T17:03:36.193Z] (2/37) Installing ncurses-libs (6.2_p20210612-r0) [2021-10-06T17:03:36.193Z] (3/37) Installing readline (8.1.0-r0) [2021-10-06T17:03:36.193Z] (4/37) Installing bash (5.1.4-r0) [2021-10-06T17:03:36.477Z] Executing bash-5.1.4-r0.post-install [2021-10-06T17:03:36.477Z] (5/37) Installing libgcc (10.3.1_git20210424-r2) [2021-10-06T17:03:36.477Z] (6/37) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-06T17:03:36.763Z] (7/37) Installing binutils (2.35.2-r2) [2021-10-06T17:03:37.049Z] (8/37) Installing libmagic (5.40-r1) [2021-10-06T17:03:37.349Z] (9/37) Installing file (5.40-r1) [2021-10-06T17:03:37.349Z] (10/37) Installing libgomp (10.3.1_git20210424-r2) [2021-10-06T17:03:37.349Z] (11/37) Installing libatomic (10.3.1_git20210424-r2) [2021-10-06T17:03:37.652Z] (12/37) Installing libgphobos (10.3.1_git20210424-r2) [2021-10-06T17:03:37.951Z] (13/37) Installing gmp (6.2.1-r0) [2021-10-06T17:03:37.951Z] (14/37) Installing isl22 (0.22-r0) [2021-10-06T17:03:37.951Z] (15/37) Installing mpfr4 (4.1.0-r0) [2021-10-06T17:03:38.247Z] (16/37) Installing mpc1 (1.2.1-r0) [2021-10-06T17:03:38.247Z] (17/37) Installing gcc (10.3.1_git20210424-r2) [2021-10-06T17:03:40.369Z] (18/37) Installing musl-dev (1.2.2-r3) [2021-10-06T17:03:40.662Z] (19/37) Installing libc-dev (0.7.2-r3) [2021-10-06T17:03:40.955Z] (20/37) Installing g++ (10.3.1_git20210424-r2) [2021-10-06T17:03:43.049Z] (21/37) Installing make (4.3-r0) [2021-10-06T17:03:43.049Z] (22/37) Installing fortify-headers (1.1-r1) [2021-10-06T17:03:43.049Z] (23/37) Installing patch (2.7.6-r7) [2021-10-06T17:03:43.049Z] (24/37) Installing build-base (0.5-r2) [2021-10-06T17:03:43.049Z] (25/37) Installing brotli-libs (1.0.9-r5) [2021-10-06T17:03:43.344Z] (26/37) Installing nghttp2-libs (1.43.0-r0) [2021-10-06T17:03:43.345Z] (27/37) Installing libcurl (7.79.1-r0) [2021-10-06T17:03:43.345Z] (28/37) Installing curl (7.79.1-r0) [2021-10-06T17:03:43.647Z] (29/37) Installing expat (2.4.1-r0) [2021-10-06T17:03:43.647Z] (30/37) Installing pcre2 (10.36-r0) [2021-10-06T17:03:43.647Z] (31/37) Installing git (2.32.0-r0) [2021-10-06T17:03:44.294Z] (32/37) Installing libsodium (1.0.18-r0) [2021-10-06T17:03:44.587Z] (33/37) Installing pkgconf (1.7.4-r0) [2021-10-06T17:03:44.587Z] (34/37) Installing libsodium-dev (1.0.18-r0) [2021-10-06T17:03:44.587Z] (35/37) Installing linux-headers (5.10.41-r0) [2021-10-06T17:03:45.230Z] (36/37) Installing libzmq (4.3.4-r0) [2021-10-06T17:03:45.230Z] (37/37) Installing zeromq-dev (4.3.4-r0) [2021-10-06T17:03:45.230Z] Executing busybox-1.33.1-r3.trigger [2021-10-06T17:03:45.551Z] OK: 219 MiB in 52 packages [2021-10-06T17:03:45.551Z] Connecting to raw.githubusercontent.com (185.199.111.133:443) [2021-10-06T17:03:45.551Z] writing to stdout [2021-10-06T17:03:45.551Z] - 100% |********************************| 10739 0:00:00 ETA [2021-10-06T17:03:45.551Z] written to stdout [2021-10-06T17:03:45.551Z] golangci/golangci-lint info checking GitHub for tag 'v1.40.1' [2021-10-06T17:03:47.072Z] golangci/golangci-lint info found version: 1.40.1 for v1.40.1/linux/arm64 [2021-10-06T17:03:48.597Z] golangci/golangci-lint info installed ./bin/golangci-lint [2021-10-06T17:04:01.314Z] Removing intermediate container 44eecf8496cb [2021-10-06T17:04:01.314Z] ---> c220cab7b4c2 [2021-10-06T17:04:01.314Z] Step 8/9 : LABEL arch=arm64 [2021-10-06T17:04:01.314Z] ---> Running in caa82e0cbd88 [2021-10-06T17:04:01.314Z] Removing intermediate container caa82e0cbd88 [2021-10-06T17:04:01.314Z] ---> 10ded2cbce6f [2021-10-06T17:04:01.314Z] Step 9/9 : LABEL git_sha=0f990b45ddceb2b9caa6a4523f0c7083d4259342 [2021-10-06T17:04:01.314Z] ---> Running in 8109cffdc628 [2021-10-06T17:04:01.314Z] Removing intermediate container 8109cffdc628 [2021-10-06T17:04:01.314Z] ---> 2d08cdb35c2a [2021-10-06T17:04:01.314Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-06T17:04:01.314Z] Successfully built 2d08cdb35c2a [2021-10-06T17:04:01.314Z] 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-10-06T17:04:02.263Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-06T17:04:02.263Z] [2021-10-06T17:04:02.263Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-06T17:04:02.654Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-06T17:04:02.941Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-06T17:04:02.941Z] 448f6bf000e3: Pulling fs layer [2021-10-06T17:04:02.941Z] f757da607395: Pulling fs layer [2021-10-06T17:04:02.941Z] 05883995daec: Pulling fs layer [2021-10-06T17:04:02.941Z] 8603b9c90790: Pulling fs layer [2021-10-06T17:04:02.941Z] 1560dd03e051: Pulling fs layer [2021-10-06T17:04:02.941Z] 27f5ce0e4adf: Pulling fs layer [2021-10-06T17:04:02.941Z] c2d8d7efcc4b: Pulling fs layer [2021-10-06T17:04:02.941Z] 1560dd03e051: Waiting [2021-10-06T17:04:02.941Z] 27f5ce0e4adf: Waiting [2021-10-06T17:04:02.941Z] c2d8d7efcc4b: Waiting [2021-10-06T17:04:02.941Z] 8603b9c90790: Waiting [2021-10-06T17:04:03.228Z] f757da607395: Verifying Checksum [2021-10-06T17:04:03.228Z] f757da607395: Download complete [2021-10-06T17:04:03.228Z] 8603b9c90790: Verifying Checksum [2021-10-06T17:04:03.228Z] 8603b9c90790: Download complete [2021-10-06T17:04:10.042Z] 1560dd03e051: Verifying Checksum [2021-10-06T17:04:10.042Z] 1560dd03e051: Download complete [2021-10-06T17:04:10.042Z] 27f5ce0e4adf: Verifying Checksum [2021-10-06T17:04:10.042Z] 27f5ce0e4adf: Download complete [2021-10-06T17:04:10.042Z] 05883995daec: Download complete [2021-10-06T17:04:10.327Z] 448f6bf000e3: Verifying Checksum [2021-10-06T17:04:10.327Z] 448f6bf000e3: Download complete [2021-10-06T17:04:13.044Z] c2d8d7efcc4b: Verifying Checksum [2021-10-06T17:04:13.044Z] c2d8d7efcc4b: Download complete [2021-10-06T17:04:14.051Z] 448f6bf000e3: Pull complete [2021-10-06T17:04:14.677Z] f757da607395: Pull complete [2021-10-06T17:04:16.158Z] 05883995daec: Pull complete [2021-10-06T17:04:16.447Z] 8603b9c90790: Pull complete [2021-10-06T17:04:17.464Z] 1560dd03e051: Pull complete [2021-10-06T17:04:17.750Z] 27f5ce0e4adf: Pull complete [2021-10-06T17:04:33.225Z] c2d8d7efcc4b: Pull complete [2021-10-06T17:04:33.225Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-06T17:04:33.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-06T17:04:33.225Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-06T17:04:33.583Z] prd-ubuntu18.04-docker-arm64-4c-16g-172 does not seem to be running inside a container [2021-10-06T17:04:33.755Z] $ 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-178 -v /w/workspace/exfoundry_ci-build-images_PR-178:/w/workspace/exfoundry_ci-build-images_PR-178:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-178@tmp:/w/workspace/exfoundry_ci-build-images_PR-178@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-06T17:04:38.445Z] $ docker top 303197b6bd08048526cd58ee8753fbb2258d215f084a78ab1fe7652908972e36 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-06T17:04:39.486Z] ---> job-cost.sh [2021-10-06T17:04:39.486Z] lf-activate-venv: SKIPPING [2021-10-06T17:04:39.486Z] INFO: No Stack... [2021-10-06T17:04:57.963Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-06T17:04:57.963Z] INFO: Archiving Costs [Pipeline] sh [2021-10-06T17:04:58.704Z] + cat /w/workspace/exfoundry_ci-build-images_PR-178/archives/cost.csv [2021-10-06T17:04:58.704Z] + cut -d, -f6 [Pipeline] lock [2021-10-06T17:04:58.798Z] Trying to acquire lock on [jenkins-edgexfoundry-ci-build-images-PR-178-3-stack-cost] [2021-10-06T17:04:58.805Z] Resource [jenkins-edgexfoundry-ci-build-images-PR-178-3-stack-cost] did not exist. Created. [2021-10-06T17:04:58.805Z] Lock acquired on [jenkins-edgexfoundry-ci-build-images-PR-178-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-06T17:05:00.234Z] /w/workspace/exfoundry_ci-build-images_PR-178@tmp/durable-0bd7f312/script.sh: 1: /w/workspace/exfoundry_ci-build-images_PR-178@tmp/durable-0bd7f312/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-06T17:05:00.989Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-06T17:05:01.031Z] Warning: overwriting stash ‘stack-cost’ [2021-10-06T17:05:01.719Z] Stashed 1 file(s) [Pipeline] } [2021-10-06T17:05:01.737Z] Lock released on resource [jenkins-edgexfoundry-ci-build-images-PR-178-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-06T17:05:01.770Z] $ docker stop --time=1 303197b6bd08048526cd58ee8753fbb2258d215f084a78ab1fe7652908972e36 [2021-10-06T17:05:03.499Z] $ docker rm -f 303197b6bd08048526cd58ee8753fbb2258d215f084a78ab1fe7652908972e36 [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-10-06T17:05:05.354Z] + '[' -d /w/workspace/exfoundry_ci-build-images_PR-178/archives ']' [2021-10-06T17:05:05.354Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-178/archives [2021-10-06T17:05:05.354Z] total 4 [2021-10-06T17:05:05.354Z] drwxr-xr-x. 3 root root 34 Oct 6 17:01 . [2021-10-06T17:05:05.354Z] drwxrwxr-x. 5 jenkins jenkins 125 Oct 6 17:01 .. [2021-10-06T17:05:05.354Z] drwxr-xr-x. 2 root root 6 Oct 6 17:01 cost [2021-10-06T17:05:05.354Z] -rw-r--r--. 1 root root 86 Oct 6 17:01 cost.csv [2021-10-06T17:05:05.354Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_ci-build-images_PR-178/archives [2021-10-06T17:05:05.354Z] + ls -al /w/workspace/exfoundry_ci-build-images_PR-178/archives [2021-10-06T17:05:05.354Z] total 4 [2021-10-06T17:05:05.354Z] drwxr-xr-x. 3 jenkins jenkins 34 Oct 6 17:01 . [2021-10-06T17:05:05.354Z] drwxrwxr-x. 5 jenkins jenkins 125 Oct 6 17:01 .. [2021-10-06T17:05:05.354Z] drwxr-xr-x. 2 jenkins jenkins 6 Oct 6 17:01 cost [2021-10-06T17:05:05.354Z] -rw-r--r--. 1 jenkins jenkins 86 Oct 6 17:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2021-10-06T17:05:05.691Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T17:05:06.285Z] ---> package-listing.sh [2021-10-06T17:05:06.286Z] ++ facter osfamily [2021-10-06T17:05:06.286Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-06T17:05:06.556Z] + OS_FAMILY=redhat [2021-10-06T17:05:06.556Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-178 [2021-10-06T17:05:06.556Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-06T17:05:06.556Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-06T17:05:06.556Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-06T17:05:06.556Z] + PACKAGES=/tmp/packages_start.txt [2021-10-06T17:05:06.556Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-178 ']' [2021-10-06T17:05:06.556Z] + PACKAGES=/tmp/packages_end.txt [2021-10-06T17:05:06.556Z] + case "${OS_FAMILY}" in [2021-10-06T17:05:06.556Z] + rpm -qa [2021-10-06T17:05:06.556Z] + sort [2021-10-06T17:05:07.148Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-06T17:05:07.148Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-06T17:05:07.148Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-06T17:05:07.148Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-178 ']' [2021-10-06T17:05:07.148Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-178/archives/ [2021-10-06T17:05:07.148Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-178/archives/ [Pipeline] echo [2021-10-06T17:05:07.167Z] 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-178/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-06T17:05:07.475Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-06T17:05:08.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T17:05:08.069Z] . [Pipeline] withDockerContainer [2021-10-06T17:05:08.164Z] prd-centos7-docker-4c-2g-171 does not seem to be running inside a container [2021-10-06T17:05:08.224Z] $ 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-178/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-178 -v /w/workspace/exfoundry_ci-build-images_PR-178:/w/workspace/exfoundry_ci-build-images_PR-178:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-178@tmp:/w/workspace/exfoundry_ci-build-images_PR-178@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-06T17:05:08.418Z] $ docker top 26312c0e7a5b474dd9e3b332b89fae24eb5baacc2c75be264c95d1f26d13c657 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-06T17:05:08.795Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-06T17:05:09.107Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-06T17:05:09.424Z] + ls /var/log/sa-host [2021-10-06T17:05:09.424Z] + sadf -c /var/log/sa-host/sa06 [2021-10-06T17:05:09.424Z] file_magic: OK [2021-10-06T17:05:09.424Z] HZ: Using current value: 100 [2021-10-06T17:05:09.424Z] file_header: OK [2021-10-06T17:05:09.424Z] 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-10-06T17:05:09.424Z] Statistics: [2021-10-06T17:05:09.424Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-06T17:05:09.424Z] File successfully converted to sysstat format version 12.0.3 [2021-10-06T17:05:09.424Z] + sadf -c /var/log/sa-host/sa30 [2021-10-06T17:05:09.424Z] file_magic: OK [2021-10-06T17:05:09.424Z] HZ: Using current value: 100 [2021-10-06T17:05:09.424Z] file_header: OK [2021-10-06T17:05:09.424Z] 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-10-06T17:05:09.424Z] Statistics: [2021-10-06T17:05:09.424Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-06T17:05:09.424Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-06T17:05:09.591Z] provisioning config files... [2021-10-06T17:05:09.607Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-178@tmp/config8898459796406709791tmp [Pipeline] { [Pipeline] echo [2021-10-06T17:05:09.628Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T17:05:09.945Z] ---> create-netrc.sh [Pipeline] } [2021-10-06T17:05:09.957Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-06T17:05:10.328Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-06T17:05:10.343Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T17:05:10.868Z] ---> sudo-logs.sh [2021-10-06T17:05:10.869Z] Archiving 'sudo' log.. [2021-10-06T17:05:10.869Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-171.novalocal: Name or service not known [2021-10-06T17:05:10.869Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-171.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-06T17:05:10.941Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T17:05:11.299Z] ---> job-cost.sh [2021-10-06T17:05:11.299Z] lf-activate-venv: SKIPPING [2021-10-06T17:05:11.299Z] DEBUG: total: 0.05999999865889549 [2021-10-06T17:05:11.299Z] INFO: Retrieving Stack Cost... [2021-10-06T17:05:13.887Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-06T17:05:14.153Z] INFO: Archiving Costs [Pipeline] echo [2021-10-06T17:05:14.170Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T17:05:14.497Z] ---> logs-deploy.sh [2021-10-06T17:05:14.497Z] lf-activate-venv: SKIPPING [2021-10-06T17:05:14.497Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-178/3 [2021-10-06T17:05:14.497Z] INFO: archiving workspace using pattern(s): [2021-10-06T17:05:26.805Z] Archives upload complete. [2021-10-06T17:05:26.805Z] INFO: archiving logs to Nexus