Pull request #147 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/ci-build-images Obtained Jenkinsfile from 08890ab4ed25e7aaee932428f2ee80850f42c39f+e924d01ce673e04d5199475fe01cf1d72dd1be79 (76be328fad0e02bae4e9661c8e39372081f36590) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 # timeout=10 Commit message: "Merge pull request #236 from ernestojeda/update-log-publish-steps" > 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. [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.15-alpine], releaseBranchOverride:golang-1.15] ========================================================= [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 RELEASE_BRANCH_OVERRIDE: golang-1.15 DOCKER_CUSTOM_TAGS: 1.15-alpine [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-1346 in /w/workspace/exfoundry_ci-build-images_PR-147 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/ci-build-images.git > git init /w/workspace/exfoundry_ci-build-images_PR-147 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/147/head:refs/remotes/origin/PR-147 +refs/heads/golang-1.15:refs/remotes/origin/golang-1.15 # timeout=10 Fetching without tags Merging remotes/origin/golang-1.15 commit e924d01ce673e04d5199475fe01cf1d72dd1be79 into PR head commit 08890ab4ed25e7aaee932428f2ee80850f42c39f > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/147/head:refs/remotes/origin/PR-147 # timeout=10 > git config --add remote.origin.fetch +refs/heads/golang-1.15:refs/remotes/origin/golang-1.15 # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/147/head:refs/remotes/origin/PR-147 +refs/heads/golang-1.15:refs/remotes/origin/golang-1.15 # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08890ab4ed25e7aaee932428f2ee80850f42c39f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e924d01ce673e04d5199475fe01cf1d72dd1be79 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 Merge succeeded, producing 08890ab4ed25e7aaee932428f2ee80850f42c39f Checking out Revision 08890ab4ed25e7aaee932428f2ee80850f42c39f (PR-147) > git config core.sparsecheckout # timeout=10 > git checkout -f 08890ab4ed25e7aaee932428f2ee80850f42c39f # timeout=10 Commit message: "feat: initial commit of golang-1.15 base builder image" First time build. Skipping changelog. > git rev-list --no-walk d80de7ae0b04859422d5fcb2bc8a9cb8d213fee8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-03T21:43:57.618Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-03T21:43:57.818Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-03T21:43:57.890Z] ========================================================= [2020-09-03T21:43:57.890Z] EdgeX Global Pipelines Version Info [2020-09-03T21:43:57.890Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-03T21:43:59.306Z] ------------------- [2020-09-03T21:43:59.306Z] stable info: [2020-09-03T21:43:59.306Z] ------------------- [2020-09-03T21:43:59.306Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-03T21:43:59.306Z] Commit SHA: 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 [2020-09-03T21:43:59.306Z] Message: update stable to v1.0.117 [2020-09-03T21:43:59.881Z] ------------------- [2020-09-03T21:43:59.881Z] experimental info: [2020-09-03T21:43:59.881Z] ------------------- [2020-09-03T21:43:59.881Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-03T21:43:59.881Z] Commit SHA: 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 [2020-09-03T21:43:59.881Z] Message: update experimental to v1.0.118 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-03T21:44:00.181Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = ci-build-images-settings [Pipeline] echo [2020-09-03T21:44:00.258Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-golang-base [Pipeline] echo [2020-09-03T21:44:00.370Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2020-09-03T21:44:00.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-03T21:44:00.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-03T21:44:00.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-golang-base [Pipeline] echo [2020-09-03T21:44:00.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2020-09-03T21:44:00.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2020-09-03T21:44:01.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2020-09-03T21:44:01.098Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-03T21:44:01.186Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2020-09-03T21:44:01.313Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-golang-base-archive.tar.gz [Pipeline] echo [2020-09-03T21:44:01.417Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-03T21:44:01.485Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = golang-1.15 [Pipeline] echo [2020-09-03T21:44:01.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.15-alpine [Pipeline] echo [2020-09-03T21:44:01.641Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-147 [Pipeline] echo [2020-09-03T21:44:01.710Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-147 [Pipeline] echo [2020-09-03T21:44:01.825Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-147 [Pipeline] echo [2020-09-03T21:44:01.970Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 08890ab4ed25e7aaee932428f2ee80850f42c39f [Pipeline] echo [2020-09-03T21:44:02.036Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 08890ab [Pipeline] echo [2020-09-03T21:44:02.129Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [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] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-03T21:44:05.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-03T21:44:06.197Z] + ls -al . [2020-09-03T21:44:06.197Z] total 12 [2020-09-03T21:44:06.197Z] drwxrwxr-x. 3 jenkins jenkins 76 Sep 3 21:43 . [2020-09-03T21:44:06.197Z] drwxrwxr-x. 4 jenkins jenkins 112 Sep 3 21:43 .. [2020-09-03T21:44:06.197Z] -rw-rw-r--. 1 jenkins jenkins 389 Sep 3 21:43 Dockerfile [2020-09-03T21:44:06.197Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 3 21:43 .git [2020-09-03T21:44:06.197Z] -rw-rw-r--. 1 jenkins jenkins 585 Sep 3 21:43 .golangci.yml [2020-09-03T21:44:06.197Z] -rw-rw-r--. 1 jenkins jenkins 894 Sep 3 21:43 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2020-09-03T21:44:06.755Z] + docker build -t edgex-devops/edgex-golang-base -f Dockerfile --build-arg ARCH=amd64 --label git_sha=08890ab4ed25e7aaee932428f2ee80850f42c39f --label arch=amd64 . [2020-09-03T21:44:07.017Z] Sending build context to Docker daemon 209.9kB [2020-09-03T21:44:07.017Z] Step 1/6 : FROM golang:1.15.1-alpine [2020-09-03T21:44:07.591Z] 1.15.1-alpine: Pulling from library/golang [2020-09-03T21:44:07.591Z] df20fa9351a1: Pulling fs layer [2020-09-03T21:44:07.591Z] ed8968b2872e: Pulling fs layer [2020-09-03T21:44:07.591Z] a92cc7c5fd73: Pulling fs layer [2020-09-03T21:44:07.591Z] d484aaef8981: Pulling fs layer [2020-09-03T21:44:07.591Z] 1021cfc6e55c: Pulling fs layer [2020-09-03T21:44:07.591Z] d484aaef8981: Waiting [2020-09-03T21:44:07.591Z] 1021cfc6e55c: Waiting [2020-09-03T21:44:07.591Z] a92cc7c5fd73: Verifying Checksum [2020-09-03T21:44:07.591Z] a92cc7c5fd73: Download complete [2020-09-03T21:44:07.591Z] ed8968b2872e: Download complete [2020-09-03T21:44:07.857Z] df20fa9351a1: Verifying Checksum [2020-09-03T21:44:07.857Z] df20fa9351a1: Download complete [2020-09-03T21:44:07.857Z] 1021cfc6e55c: Verifying Checksum [2020-09-03T21:44:07.857Z] 1021cfc6e55c: Download complete [2020-09-03T21:44:08.118Z] df20fa9351a1: Pull complete [2020-09-03T21:44:08.118Z] ed8968b2872e: Pull complete [2020-09-03T21:44:08.690Z] a92cc7c5fd73: Pull complete [2020-09-03T21:44:09.635Z] d484aaef8981: Verifying Checksum [2020-09-03T21:44:09.635Z] d484aaef8981: Download complete [2020-09-03T21:44:13.858Z] d484aaef8981: Pull complete [2020-09-03T21:44:13.858Z] 1021cfc6e55c: Pull complete [2020-09-03T21:44:13.858Z] Digest: sha256:bc6f2b94340ed84ec22dab364505b0d1a339ecff99b583a63372ecf966129be2 [2020-09-03T21:44:13.858Z] Status: Downloaded newer image for golang:1.15.1-alpine [2020-09-03T21:44:13.858Z] ---> f328e14e69e4 [2020-09-03T21:44:13.858Z] Step 2/6 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2020-09-03T21:44:17.800Z] Still waiting to schedule task [2020-09-03T21:44:17.800Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-03T21:44:19.159Z] ---> Running in a8e3654a42e7 [2020-09-03T21:44:19.159Z] Removing intermediate container a8e3654a42e7 [2020-09-03T21:44:19.159Z] ---> 341e1a3e0f1a [2020-09-03T21:44:19.159Z] Step 3/6 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-03T21:44:19.159Z] ---> Running in 98a533fe7d4b [2020-09-03T21:44:19.736Z] Removing intermediate container 98a533fe7d4b [2020-09-03T21:44:19.736Z] ---> 92868fb2c165 [2020-09-03T21:44:19.736Z] Step 4/6 : RUN apk add --update --no-cache git linux-headers make gcc musl-dev curl bash [2020-09-03T21:44:19.736Z] ---> Running in b53b98416b93 [2020-09-03T21:44:20.679Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-03T21:44:21.250Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-03T21:44:21.822Z] (1/24) Installing ncurses-terminfo-base (6.2_p20200523-r0) [2020-09-03T21:44:21.822Z] (2/24) Installing ncurses-libs (6.2_p20200523-r0) [2020-09-03T21:44:21.822Z] (3/24) Installing readline (8.0.4-r0) [2020-09-03T21:44:22.083Z] (4/24) Installing bash (5.0.17-r0) [2020-09-03T21:44:22.083Z] Executing bash-5.0.17-r0.post-install [2020-09-03T21:44:22.083Z] (5/24) Installing nghttp2-libs (1.41.0-r0) [2020-09-03T21:44:22.344Z] (6/24) Installing libcurl (7.69.1-r0) [2020-09-03T21:44:22.344Z] (7/24) Installing curl (7.69.1-r0) [2020-09-03T21:44:22.606Z] (8/24) Installing libgcc (9.3.0-r2) [2020-09-03T21:44:22.606Z] (9/24) Installing libstdc++ (9.3.0-r2) [2020-09-03T21:44:22.866Z] (10/24) Installing binutils (2.34-r1) [2020-09-03T21:44:23.437Z] (11/24) Installing gmp (6.2.0-r0) [2020-09-03T21:44:23.706Z] (12/24) Installing isl (0.18-r0) [2020-09-03T21:44:23.973Z] (13/24) Installing libgomp (9.3.0-r2) [2020-09-03T21:44:23.973Z] (14/24) Installing libatomic (9.3.0-r2) [2020-09-03T21:44:23.973Z] (15/24) Installing libgphobos (9.3.0-r2) [2020-09-03T21:44:24.545Z] (16/24) Installing mpfr4 (4.0.2-r4) [2020-09-03T21:44:24.807Z] (17/24) Installing mpc1 (1.1.0-r1) [2020-09-03T21:44:24.807Z] (18/24) Installing gcc (9.3.0-r2) [2020-09-03T21:44:34.813Z] (19/24) Installing expat (2.2.9-r1) [2020-09-03T21:44:34.813Z] (20/24) Installing pcre2 (10.35-r0) [2020-09-03T21:44:34.813Z] (21/24) Installing git (2.26.2-r0) [2020-09-03T21:44:36.199Z] (22/24) Installing linux-headers (5.4.5-r1) [2020-09-03T21:44:36.771Z] (23/24) Installing make (4.3-r0) [2020-09-03T21:44:36.771Z] (24/24) Installing musl-dev (1.1.24-r9) [2020-09-03T21:44:37.716Z] Executing busybox-1.31.1-r16.trigger [2020-09-03T21:44:37.716Z] OK: 166 MiB in 39 packages [2020-09-03T21:44:43.034Z] Removing intermediate container b53b98416b93 [2020-09-03T21:44:43.034Z] ---> bcb7c12b6b3f [2020-09-03T21:44:43.034Z] Step 5/6 : LABEL arch=amd64 [2020-09-03T21:44:43.034Z] ---> Running in 4abb17fa0920 [2020-09-03T21:44:43.034Z] Removing intermediate container 4abb17fa0920 [2020-09-03T21:44:43.034Z] ---> cbe326d0a891 [2020-09-03T21:44:43.034Z] Step 6/6 : LABEL git_sha=08890ab4ed25e7aaee932428f2ee80850f42c39f [2020-09-03T21:44:43.034Z] ---> Running in 9397952476d4 [2020-09-03T21:44:43.034Z] Removing intermediate container 9397952476d4 [2020-09-03T21:44:43.034Z] ---> b3ca04b628be [2020-09-03T21:44:43.034Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-03T21:44:43.034Z] Successfully built b3ca04b628be [2020-09-03T21:44:43.034Z] Successfully tagged edgex-devops/edgex-golang-base:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-03T21:46:19.143Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1347 in /w/workspace/exfoundry_ci-build-images_PR-147 [Pipeline] { [Pipeline] checkout [2020-09-03T21:46:23.989Z] using credential edgex-jenkins-ssh [2020-09-03T21:46:24.042Z] Cloning the remote Git repository [2020-09-03T21:46:24.043Z] Cloning with configured refspecs honoured and without tags [2020-09-03T21:46:24.132Z] Cloning repository git@github.com:edgexfoundry/ci-build-images.git [2020-09-03T21:46:24.237Z] > git init /w/workspace/exfoundry_ci-build-images_PR-147 # timeout=10 [2020-09-03T21:46:24.302Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2020-09-03T21:46:24.302Z] > git --version # timeout=10 [2020-09-03T21:46:24.327Z] > git --version # 'git version 2.17.1' [2020-09-03T21:46:24.329Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-03T21:46:24.390Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/147/head:refs/remotes/origin/PR-147 +refs/heads/golang-1.15:refs/remotes/origin/golang-1.15 # timeout=10 [2020-09-03T21:46:25.113Z] Fetching without tags [2020-09-03T21:46:25.559Z] Merging remotes/origin/golang-1.15 commit e924d01ce673e04d5199475fe01cf1d72dd1be79 into PR head commit 08890ab4ed25e7aaee932428f2ee80850f42c39f [2020-09-03T21:46:25.058Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2020-09-03T21:46:25.084Z] > git config --add remote.origin.fetch +refs/pull/147/head:refs/remotes/origin/PR-147 # timeout=10 [2020-09-03T21:46:25.098Z] > git config --add remote.origin.fetch +refs/heads/golang-1.15:refs/remotes/origin/golang-1.15 # timeout=10 [2020-09-03T21:46:25.119Z] > git config remote.origin.url git@github.com:edgexfoundry/ci-build-images.git # timeout=10 [2020-09-03T21:46:25.145Z] Fetching upstream changes from git@github.com:edgexfoundry/ci-build-images.git [2020-09-03T21:46:25.146Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-03T21:46:25.157Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/ci-build-images.git +refs/pull/147/head:refs/remotes/origin/PR-147 +refs/heads/golang-1.15:refs/remotes/origin/golang-1.15 # timeout=10 [2020-09-03T21:46:25.601Z] > git config core.sparsecheckout # timeout=10 [2020-09-03T21:46:25.615Z] > git checkout -f 08890ab4ed25e7aaee932428f2ee80850f42c39f # timeout=10 [2020-09-03T21:46:25.674Z] > git remote # timeout=10 [2020-09-03T21:46:25.727Z] > git config --get remote.origin.url # timeout=10 [2020-09-03T21:46:25.767Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-03T21:46:25.779Z] > git merge e924d01ce673e04d5199475fe01cf1d72dd1be79 # timeout=10 [2020-09-03T21:46:25.801Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-03T21:46:25.813Z] Merge succeeded, producing 08890ab4ed25e7aaee932428f2ee80850f42c39f [2020-09-03T21:46:25.813Z] Checking out Revision 08890ab4ed25e7aaee932428f2ee80850f42c39f (PR-147) [2020-09-03T21:46:25.843Z] > git config core.sparsecheckout # timeout=10 [2020-09-03T21:46:25.889Z] > git checkout -f 08890ab4ed25e7aaee932428f2ee80850f42c39f # timeout=10 [2020-09-03T21:46:30.006Z] Commit message: "feat: initial commit of golang-1.15 base builder image" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-03T21:46:31.954Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-03T21:46:32.357Z] + ls -al . [2020-09-03T21:46:32.357Z] total 24 [2020-09-03T21:46:32.357Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 21:46 . [2020-09-03T21:46:32.357Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 21:46 .. [2020-09-03T21:46:32.357Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 3 21:46 .git [2020-09-03T21:46:32.357Z] -rw-rw-r-- 1 jenkins jenkins 585 Sep 3 21:46 .golangci.yml [2020-09-03T21:46:32.357Z] -rw-rw-r-- 1 jenkins jenkins 389 Sep 3 21:46 Dockerfile [2020-09-03T21:46:32.357Z] -rw-rw-r-- 1 jenkins jenkins 894 Sep 3 21:46 Jenkinsfile [Pipeline] isUnix [Pipeline] sh [2020-09-03T21:46:32.752Z] + docker build -t edgex-devops/edgex-golang-base-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=08890ab4ed25e7aaee932428f2ee80850f42c39f --label arch=arm64 . [2020-09-03T21:46:33.357Z] Sending build context to Docker daemon 209.9kB [2020-09-03T21:46:33.640Z] Step 1/6 : FROM golang:1.15.1-alpine [2020-09-03T21:46:34.241Z] 1.15.1-alpine: Pulling from library/golang [2020-09-03T21:46:34.241Z] b538f80385f9: Pulling fs layer [2020-09-03T21:46:34.241Z] 74f711af9a0d: Pulling fs layer [2020-09-03T21:46:34.241Z] 99f96fe45779: Pulling fs layer [2020-09-03T21:46:34.241Z] 2fa47eeccf08: Pulling fs layer [2020-09-03T21:46:34.241Z] b13c98676afe: Pulling fs layer [2020-09-03T21:46:34.241Z] 2fa47eeccf08: Waiting [2020-09-03T21:46:34.241Z] b13c98676afe: Waiting [2020-09-03T21:46:34.518Z] 99f96fe45779: Verifying Checksum [2020-09-03T21:46:34.518Z] 99f96fe45779: Download complete [2020-09-03T21:46:34.518Z] 74f711af9a0d: Download complete [2020-09-03T21:46:34.518Z] b538f80385f9: Verifying Checksum [2020-09-03T21:46:34.518Z] b538f80385f9: Download complete [2020-09-03T21:46:34.518Z] b13c98676afe: Download complete [2020-09-03T21:46:35.131Z] b538f80385f9: Pull complete [2020-09-03T21:46:35.743Z] 74f711af9a0d: Pull complete [2020-09-03T21:46:36.036Z] 99f96fe45779: Pull complete [2020-09-03T21:46:37.037Z] 2fa47eeccf08: Verifying Checksum [2020-09-03T21:46:37.037Z] 2fa47eeccf08: Download complete [2020-09-03T21:46:47.228Z] 2fa47eeccf08: Pull complete [2020-09-03T21:46:47.501Z] b13c98676afe: Pull complete [2020-09-03T21:46:47.775Z] Digest: sha256:bc6f2b94340ed84ec22dab364505b0d1a339ecff99b583a63372ecf966129be2 [2020-09-03T21:46:47.775Z] Status: Downloaded newer image for golang:1.15.1-alpine [2020-09-03T21:46:47.775Z] ---> c1b7bbd91889 [2020-09-03T21:46:47.775Z] Step 2/6 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2020-09-03T21:46:49.758Z] ---> Running in 45e1409b81e4 [2020-09-03T21:46:50.030Z] Removing intermediate container 45e1409b81e4 [2020-09-03T21:46:50.030Z] ---> beb4a8fd0b9d [2020-09-03T21:46:50.030Z] Step 3/6 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-03T21:46:50.303Z] ---> Running in d1d0fc7a9173 [2020-09-03T21:46:52.924Z] Removing intermediate container d1d0fc7a9173 [2020-09-03T21:46:52.924Z] ---> 307427e2665a [2020-09-03T21:46:52.924Z] Step 4/6 : RUN apk add --update --no-cache git linux-headers make gcc musl-dev curl bash [2020-09-03T21:46:52.924Z] ---> Running in b09a0742f211 [2020-09-03T21:46:54.357Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-03T21:46:54.951Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-03T21:46:55.547Z] (1/24) Installing ncurses-terminfo-base (6.2_p20200523-r0) [2020-09-03T21:46:55.832Z] (2/24) Installing ncurses-libs (6.2_p20200523-r0) [2020-09-03T21:46:55.832Z] (3/24) Installing readline (8.0.4-r0) [2020-09-03T21:46:55.832Z] (4/24) Installing bash (5.0.17-r0) [2020-09-03T21:46:56.102Z] Executing bash-5.0.17-r0.post-install [2020-09-03T21:46:56.102Z] (5/24) Installing nghttp2-libs (1.41.0-r0) [2020-09-03T21:46:56.372Z] (6/24) Installing libcurl (7.69.1-r0) [2020-09-03T21:46:56.372Z] (7/24) Installing curl (7.69.1-r0) [2020-09-03T21:46:56.372Z] (8/24) Installing libgcc (9.3.0-r2) [2020-09-03T21:46:56.644Z] (9/24) Installing libstdc++ (9.3.0-r2) [2020-09-03T21:46:56.644Z] (10/24) Installing binutils (2.34-r1) [2020-09-03T21:46:57.614Z] (11/24) Installing gmp (6.2.0-r0) [2020-09-03T21:46:57.614Z] (12/24) Installing isl (0.18-r0) [2020-09-03T21:46:57.886Z] (13/24) Installing libgomp (9.3.0-r2) [2020-09-03T21:46:57.886Z] (14/24) Installing libatomic (9.3.0-r2) [2020-09-03T21:46:57.886Z] (15/24) Installing libgphobos (9.3.0-r2) [2020-09-03T21:46:58.481Z] (16/24) Installing mpfr4 (4.0.2-r4) [2020-09-03T21:46:58.753Z] (17/24) Installing mpc1 (1.1.0-r1) [2020-09-03T21:46:58.753Z] (18/24) Installing gcc (9.3.0-r2) [2020-09-03T21:47:11.109Z] (19/24) Installing expat (2.2.9-r1) [2020-09-03T21:47:11.109Z] (20/24) Installing pcre2 (10.35-r0) [2020-09-03T21:47:11.109Z] (21/24) Installing git (2.26.2-r0) [2020-09-03T21:47:12.542Z] (22/24) Installing linux-headers (5.4.5-r1) [2020-09-03T21:47:13.141Z] (23/24) Installing make (4.3-r0) [2020-09-03T21:47:13.141Z] (24/24) Installing musl-dev (1.1.24-r9) [2020-09-03T21:47:14.121Z] Executing busybox-1.31.1-r16.trigger [2020-09-03T21:47:14.121Z] OK: 142 MiB in 39 packages [2020-09-03T21:47:20.816Z] Removing intermediate container b09a0742f211 [2020-09-03T21:47:20.816Z] ---> bfae14871b05 [2020-09-03T21:47:20.816Z] Step 5/6 : LABEL arch=arm64 [2020-09-03T21:47:20.816Z] ---> Running in 292cfe05d2b5 [2020-09-03T21:47:21.089Z] Removing intermediate container 292cfe05d2b5 [2020-09-03T21:47:21.089Z] ---> 124caad0ff9e [2020-09-03T21:47:21.089Z] Step 6/6 : LABEL git_sha=08890ab4ed25e7aaee932428f2ee80850f42c39f [2020-09-03T21:47:21.089Z] ---> Running in aaf689ff53d1 [2020-09-03T21:47:21.680Z] Removing intermediate container aaf689ff53d1 [2020-09-03T21:47:21.680Z] ---> de08e4eccf7f [2020-09-03T21:47:21.680Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-03T21:47:21.680Z] Successfully built de08e4eccf7f [2020-09-03T21:47:21.680Z] Successfully tagged edgex-devops/edgex-golang-base-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-03T21:47:23.896Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-03T21:47:24.456Z] ---> package-listing.sh [2020-09-03T21:47:24.456Z] ++ facter osfamily [2020-09-03T21:47:24.456Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-03T21:47:24.456Z] + OS_FAMILY=redhat [2020-09-03T21:47:24.456Z] + workspace=/w/workspace/exfoundry_ci-build-images_PR-147 [2020-09-03T21:47:24.456Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-03T21:47:24.456Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-03T21:47:24.456Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-03T21:47:24.456Z] + PACKAGES=/tmp/packages_start.txt [2020-09-03T21:47:24.456Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-147 ']' [2020-09-03T21:47:24.456Z] + PACKAGES=/tmp/packages_end.txt [2020-09-03T21:47:24.456Z] + case "${OS_FAMILY}" in [2020-09-03T21:47:24.456Z] + rpm -qa [2020-09-03T21:47:24.456Z] + sort [2020-09-03T21:47:28.670Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-03T21:47:28.670Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-03T21:47:28.670Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-03T21:47:28.670Z] + '[' /w/workspace/exfoundry_ci-build-images_PR-147 ']' [2020-09-03T21:47:28.670Z] + mkdir -p /w/workspace/exfoundry_ci-build-images_PR-147/archives/ [2020-09-03T21:47:28.670Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_ci-build-images_PR-147/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-03T21:47:29.581Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-03T21:47:29.581Z] [2020-09-03T21:47:29.581Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-03T21:47:29.916Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-03T21:47:29.916Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-03T21:47:29.916Z] df20fa9351a1: Already exists [2020-09-03T21:47:29.916Z] 36b3adc4ff6f: Pulling fs layer [2020-09-03T21:47:29.916Z] 8ad3a11d3b57: Pulling fs layer [2020-09-03T21:47:29.916Z] 46f8f816bc3b: Pulling fs layer [2020-09-03T21:47:29.916Z] 0dadc02b9964: Pulling fs layer [2020-09-03T21:47:29.916Z] ce6a7cf60c04: Pulling fs layer [2020-09-03T21:47:29.916Z] 7a184a31f384: Pulling fs layer [2020-09-03T21:47:29.916Z] 0879bd2ef858: Pulling fs layer [2020-09-03T21:47:29.916Z] 0dadc02b9964: Waiting [2020-09-03T21:47:29.916Z] ce6a7cf60c04: Waiting [2020-09-03T21:47:29.916Z] 7a184a31f384: Waiting [2020-09-03T21:47:29.916Z] 0879bd2ef858: Waiting [2020-09-03T21:47:29.916Z] 46f8f816bc3b: Verifying Checksum [2020-09-03T21:47:29.916Z] 46f8f816bc3b: Download complete [2020-09-03T21:47:29.916Z] 36b3adc4ff6f: Download complete [2020-09-03T21:47:29.916Z] ce6a7cf60c04: Verifying Checksum [2020-09-03T21:47:29.916Z] ce6a7cf60c04: Download complete [2020-09-03T21:47:29.916Z] 7a184a31f384: Verifying Checksum [2020-09-03T21:47:29.916Z] 7a184a31f384: Download complete [2020-09-03T21:47:29.916Z] 0dadc02b9964: Verifying Checksum [2020-09-03T21:47:29.916Z] 0dadc02b9964: Download complete [2020-09-03T21:47:30.181Z] 8ad3a11d3b57: Verifying Checksum [2020-09-03T21:47:30.181Z] 8ad3a11d3b57: Download complete [2020-09-03T21:47:30.181Z] 36b3adc4ff6f: Pull complete [2020-09-03T21:47:30.449Z] 0879bd2ef858: Verifying Checksum [2020-09-03T21:47:30.449Z] 0879bd2ef858: Download complete [2020-09-03T21:47:30.711Z] 8ad3a11d3b57: Pull complete [2020-09-03T21:47:30.972Z] 46f8f816bc3b: Pull complete [2020-09-03T21:47:31.235Z] 0dadc02b9964: Pull complete [2020-09-03T21:47:31.235Z] ce6a7cf60c04: Pull complete [2020-09-03T21:47:31.501Z] 7a184a31f384: Pull complete [2020-09-03T21:47:33.428Z] 0879bd2ef858: Pull complete [2020-09-03T21:47:33.428Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-03T21:47:33.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-03T21:47:33.428Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-03T21:47:33.585Z] prd-centos7-docker-4c-2g-1346 does not seem to be running inside a container [2020-09-03T21:47:33.634Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/exfoundry_ci-build-images_PR-147 -v /w/workspace/exfoundry_ci-build-images_PR-147:/w/workspace/exfoundry_ci-build-images_PR-147:rw,z -v /w/workspace/exfoundry_ci-build-images_PR-147@tmp:/w/workspace/exfoundry_ci-build-images_PR-147@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-03T21:47:40.624Z] $ docker top a6b93d313b4af9c8043149f479a62b8a4308d8ad11bd2545347a8ded6b9d0857 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-03T21:47:41.188Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-03T21:47:41.485Z] + ls /var/log/sa-host [2020-09-03T21:47:41.485Z] + sadf -c /var/log/sa-host/sa03 [2020-09-03T21:47:41.485Z] file_magic: OK [2020-09-03T21:47:41.485Z] HZ: Using current value: 100 [2020-09-03T21:47:41.485Z] file_header: OK [2020-09-03T21:47:41.485Z] 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 [2020-09-03T21:47:41.485Z] Statistics: [2020-09-03T21:47:41.485Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-03T21:47:41.485Z] File successfully converted to sysstat format version 12.2.1 [2020-09-03T21:47:41.485Z] + sadf -c /var/log/sa-host/sa05 [2020-09-03T21:47:41.485Z] file_magic: OK [2020-09-03T21:47:41.485Z] HZ: Using current value: 100 [2020-09-03T21:47:41.485Z] file_header: OK [2020-09-03T21:47:41.485Z] 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 [2020-09-03T21:47:41.485Z] Statistics: [2020-09-03T21:47:41.485Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-03T21:47:41.485Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-03T21:47:41.533Z] provisioning config files... [2020-09-03T21:47:41.549Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_ci-build-images_PR-147@tmp/config6216899854519905164tmp [Pipeline] { [Pipeline] echo [2020-09-03T21:47:41.600Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-03T21:47:41.893Z] ---> create-netrc.sh [Pipeline] echo [2020-09-03T21:47:41.903Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-03T21:47:42.198Z] ---> logs-deploy.sh [2020-09-03T21:47:42.198Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/ci-build-images/PR-147/3 [2020-09-03T21:47:42.198Z] INFO: archiving workspace using pattern(s): [2020-09-03T21:47:43.583Z] Archives upload complete. [2020-09-03T21:47:43.583Z] INFO: archiving logs to Nexus