Branch indexing 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 rsdmike for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 92e1e2852ba839609d30016e4bd74c5384514fb3+18accf3c2bb4fad263732182d293380b7016bd36 (88aaaa06513e064487a3602203320c2edaad1736) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 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 370697454611dc68c0596e0d0a50477a8de841a8 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 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 370697454611dc68c0596e0d0a50477a8de841a8 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 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 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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 ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, goVersion:1.13] ========================================================= [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 ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2348 in /w/workspace/y_app-service-configurable_PR-76 [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/app-service-configurable.git > git init /w/workspace/y_app-service-configurable_PR-76 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Fetching without tags Merging remotes/origin/master commit 18accf3c2bb4fad263732182d293380b7016bd36 into PR head commit 92e1e2852ba839609d30016e4bd74c5384514fb3 Merge succeeded, producing 40f93ce7010c6aed25d69cbb4132b22c04f30d43 Checking out Revision 40f93ce7010c6aed25d69cbb4132b22c04f30d43 (PR-76) > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/76/head:refs/remotes/origin/PR-76 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/76/head:refs/remotes/origin/PR-76 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/76/head:refs/remotes/origin/PR-76 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 92e1e2852ba839609d30016e4bd74c5384514fb3 # 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 18accf3c2bb4fad263732182d293380b7016bd36 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40f93ce7010c6aed25d69cbb4132b22c04f30d43 # timeout=10 Commit message: "Merge commit '18accf3c2bb4fad263732182d293380b7016bd36' into HEAD" > git rev-list --no-walk 92e1e2852ba839609d30016e4bd74c5384514fb3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:52:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:52:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:52:28 ========================================================= 12:52:28 EdgeX Global Pipelines Version Info 12:52:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:52:30 ------------------- 12:52:30 stable info: 12:52:30 ------------------- 12:52:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:52:30 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 12:52:30 Message: update stable to v1.0.89 12:52:30 ------------------- 12:52:30 experimental info: 12:52:30 ------------------- 12:52:30 Commited By: **** collab-it+edgex@linuxfoundation.org 12:52:30 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 12:52:30 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 12:52:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:52:32 12:52:32 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:52:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:52:33 latest: Pulling from edgex-devops/git-semver 12:52:33 9123ac7c32f7: Pulling fs layer 12:52:33 b8cc5d1170e3: Pulling fs layer 12:52:33 2924cbbf6a41: Pulling fs layer 12:52:33 93b08a4f1073: Pulling fs layer 12:52:33 93b08a4f1073: Waiting 12:52:33 b8cc5d1170e3: Verifying Checksum 12:52:33 b8cc5d1170e3: Download complete 12:52:33 9123ac7c32f7: Verifying Checksum 12:52:33 9123ac7c32f7: Download complete 12:52:33 93b08a4f1073: Verifying Checksum 12:52:33 93b08a4f1073: Download complete 12:52:33 2924cbbf6a41: Verifying Checksum 12:52:33 2924cbbf6a41: Download complete 12:52:33 9123ac7c32f7: Pull complete 12:52:33 b8cc5d1170e3: Pull complete 12:52:34 2924cbbf6a41: Pull complete 12:52:34 93b08a4f1073: Pull complete 12:52:34 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 12:52:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:52:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:52:34 prd-centos7-docker-4c-2g-2348 does not seem to be running inside a container 12:52:34 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-service-configurable_PR-76 -v /w/workspace/y_app-service-configurable_PR-76:/w/workspace/y_app-service-configurable_PR-76:rw,z -v /w/workspace/y_app-service-configurable_PR-76@tmp:/w/workspace/y_app-service-configurable_PR-76@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:10004/edgex-devops/git-semver:latest cat 12:52:37 $ docker top 2362035eaf7ce7dd5e046604996dd19e9320b995df34c27899ffe55459ab3ca7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:52:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:52:37 [ssh-agent] Looking for ssh-agent implementation... 12:52:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:52:37 $ docker exec 2362035eaf7ce7dd5e046604996dd19e9320b995df34c27899ffe55459ab3ca7 ssh-agent 12:52:37 SSH_AUTH_SOCK=/tmp/ssh-Byv6uwBBke5n/agent.13 12:52:37 SSH_AGENT_PID=18 12:52:37 Running ssh-add (command line suppressed) 12:52:37 Identity added: /w/workspace/y_app-service-configurable_PR-76@tmp/private_key_1557808304126406357.key (/w/workspace/y_app-service-configurable_PR-76@tmp/private_key_1557808304126406357.key) 12:52:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:52:38 + git describe --exact-match --tags HEAD 12:52:38 fatal: No names found, cannot describe anything. [Pipeline] } 12:52:38 $ docker exec --env ******** --env ******** 2362035eaf7ce7dd5e046604996dd19e9320b995df34c27899ffe55459ab3ca7 ssh-agent -k 12:52:38 unset SSH_AUTH_SOCK; 12:52:38 unset SSH_AGENT_PID; 12:52:38 echo Agent pid 18 killed; 12:52:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 12:52:38 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 12:52:38 This usually means this commit has not been tagged. [Pipeline] sshagent 12:52:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:52:38 [ssh-agent] Looking for ssh-agent implementation... 12:52:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:52:38 $ docker exec 2362035eaf7ce7dd5e046604996dd19e9320b995df34c27899ffe55459ab3ca7 ssh-agent 12:52:38 SSH_AUTH_SOCK=/tmp/ssh-nM0KA42p9q2Y/agent.48 12:52:38 SSH_AGENT_PID=53 12:52:38 Running ssh-add (command line suppressed) 12:52:39 Identity added: /w/workspace/y_app-service-configurable_PR-76@tmp/private_key_9090938707004218650.key (/w/workspace/y_app-service-configurable_PR-76@tmp/private_key_9090938707004218650.key) 12:52:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:52:39 + git semver init 12:52:39 # -> Open(): unable to determine branch for HEAD 12:52:39 # $GIT_DIR = /w/workspace/y_app-service-configurable_PR-76/.git 12:52:39 # $GIT_WORK_TREE = /w/workspace/y_app-service-configurable_PR-76 12:52:39 # $SEMVER_REMOTE_NAME = origin 12:52:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:52:39 # $SEMVER_USER_NAME = edgex-jenkins 12:52:39 # $SEMVER_BRANCH = PR-76 12:52:39 # $SEMVER_TEMP = /tmp/semver-982232510 12:52:39 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 12:52:39 # '/tmp/semver-982232510' -> '/w/workspace/y_app-service-configurable_PR-76/.semver' 12:52:39 # -> Force: false 12:52:39 # $SEMVER_DIR = /w/workspace/y_app-service-configurable_PR-76/.semver [Pipeline] } 12:52:39 $ docker exec --env ******** --env ******** 2362035eaf7ce7dd5e046604996dd19e9320b995df34c27899ffe55459ab3ca7 ssh-agent -k 12:52:39 unset SSH_AUTH_SOCK; 12:52:39 unset SSH_AGENT_PID; 12:52:39 echo Agent pid 53 killed; 12:52:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:52:40 + git semver [Pipeline] } 12:52:40 $ docker stop --time=1 2362035eaf7ce7dd5e046604996dd19e9320b995df34c27899ffe55459ab3ca7 12:52:41 $ docker rm -f 2362035eaf7ce7dd5e046604996dd19e9320b995df34c27899ffe55459ab3ca7 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 12:52:42 Stashed 52 file(s) [Pipeline] echo 12:52:42 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 12:52:57 Still waiting to schedule task 12:52:57 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2348’ 12:52:57 Still waiting to schedule task 12:52:57 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ is offline 12:54:45 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2349 in /w/workspace/y_app-service-configurable_PR-76 [Pipeline] { [Pipeline] ws 12:54:45 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 12:54:49 using credential edgex-jenkins-ssh 12:54:49 Cloning the remote Git repository 12:54:49 Cloning with configured refspecs honoured and without tags 12:54:49 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:54:50 > git init /w/workspace/app-service-configurable/2 # timeout=10 12:54:51 Fetching without tags 12:54:50 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:54:50 > git --version # timeout=10 12:54:50 using GIT_SSH to set credentials SSH Credentials for GitHub 12:54:50 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/76/head:refs/remotes/origin/PR-76 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:54:50 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:54:51 > git config --add remote.origin.fetch +refs/pull/76/head:refs/remotes/origin/PR-76 # timeout=10 12:54:51 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 12:54:51 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:54:51 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:54:51 using GIT_SSH to set credentials SSH Credentials for GitHub 12:54:51 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/76/head:refs/remotes/origin/PR-76 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:54:51 Merging remotes/origin/master commit 18accf3c2bb4fad263732182d293380b7016bd36 into PR head commit 92e1e2852ba839609d30016e4bd74c5384514fb3 12:54:51 Merge succeeded, producing efc5b1fb6b048bc444c3cf9829b0c303f71bc556 12:54:51 Checking out Revision efc5b1fb6b048bc444c3cf9829b0c303f71bc556 (PR-76) 12:54:51 > git config core.sparsecheckout # timeout=10 12:54:51 > git checkout -f 92e1e2852ba839609d30016e4bd74c5384514fb3 # timeout=10 12:54:51 > git remote # timeout=10 12:54:51 > git config --get remote.origin.url # timeout=10 12:54:51 using GIT_SSH to set credentials SSH Credentials for GitHub 12:54:51 > git merge 18accf3c2bb4fad263732182d293380b7016bd36 # timeout=10 12:54:51 > git rev-parse HEAD^{commit} # timeout=10 12:54:51 > git config core.sparsecheckout # timeout=10 12:54:51 > git checkout -f efc5b1fb6b048bc444c3cf9829b0c303f71bc556 # timeout=10 12:54:56 Commit message: "Merge commit '18accf3c2bb4fad263732182d293380b7016bd36' into HEAD" 12:54:56 > git rev-list --no-walk 92e1e2852ba839609d30016e4bd74c5384514fb3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 12:54:57 ========================================================= 12:54:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 12:54:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:54:58 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 12:54:59 Sending build context to Docker daemon 305.2kB 12:54:59 Step 1/8 : ARG BASE=golang:1.13-alpine 12:54:59 Step 2/8 : FROM ${BASE} 12:55:00 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:55:00 cde5963f3b93: Pulling fs layer 12:55:00 2a23fa8c16f7: Pulling fs layer 12:55:00 777b28850792: Pulling fs layer 12:55:00 8a11ddd9e578: Pulling fs layer 12:55:00 4cf88f913ddb: Pulling fs layer 12:55:00 1df406cf5192: Pulling fs layer 12:55:00 cd6300453558: Pulling fs layer 12:55:00 b9c365052c96: Pulling fs layer 12:55:00 a2d8cc88f415: Pulling fs layer 12:55:00 ea1d1ca13537: Pulling fs layer 12:55:00 3750a50a1c5e: Pulling fs layer 12:55:00 1df406cf5192: Waiting 12:55:00 cd6300453558: Waiting 12:55:00 b9c365052c96: Waiting 12:55:00 a2d8cc88f415: Waiting 12:55:00 8a11ddd9e578: Waiting 12:55:00 4cf88f913ddb: Waiting 12:55:00 3750a50a1c5e: Waiting 12:55:00 ea1d1ca13537: Waiting 12:55:00 777b28850792: Verifying Checksum 12:55:00 777b28850792: Download complete 12:55:00 2a23fa8c16f7: Verifying Checksum 12:55:00 2a23fa8c16f7: Download complete 12:55:00 4cf88f913ddb: Download complete 12:55:00 1df406cf5192: Verifying Checksum 12:55:00 1df406cf5192: Download complete 12:55:00 cde5963f3b93: Verifying Checksum 12:55:01 cde5963f3b93: Pull complete 12:55:01 2a23fa8c16f7: Pull complete 12:55:01 777b28850792: Pull complete 12:55:02 cd6300453558: Verifying Checksum 12:55:02 cd6300453558: Download complete 12:55:02 a2d8cc88f415: Verifying Checksum 12:55:02 a2d8cc88f415: Download complete 12:55:03 ea1d1ca13537: Verifying Checksum 12:55:03 ea1d1ca13537: Download complete 12:55:03 3750a50a1c5e: Verifying Checksum 12:55:03 3750a50a1c5e: Download complete 12:55:04 b9c365052c96: Verifying Checksum 12:55:04 b9c365052c96: Download complete 12:55:06 8a11ddd9e578: Verifying Checksum 12:55:06 8a11ddd9e578: Download complete 12:55:18 8a11ddd9e578: Pull complete 12:55:18 4cf88f913ddb: Pull complete 12:55:18 1df406cf5192: Pull complete 12:55:22 cd6300453558: Pull complete 12:55:27 b9c365052c96: Pull complete 12:55:27 a2d8cc88f415: Pull complete 12:55:29 ea1d1ca13537: Pull complete 12:55:29 3750a50a1c5e: Pull complete 12:55:29 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 12:55:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 12:55:29 ---> 78745c68409d 12:55:29 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 12:55:30 Running on prd-centos7-docker-4c-2g-2350 in /w/workspace/y_app-service-configurable_PR-76 [Pipeline] { [Pipeline] ws 12:55:30 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 12:55:33 using credential edgex-jenkins-ssh 12:55:33 Cloning the remote Git repository 12:55:33 Cloning with configured refspecs honoured and without tags 12:55:33 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:55:33 > git init /w/workspace/app-service-configurable/2 # timeout=10 12:55:33 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:55:33 > git --version # timeout=10 12:55:33 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:33 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/76/head:refs/remotes/origin/PR-76 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:55:33 Fetching without tags 12:55:34 Merging remotes/origin/master commit 18accf3c2bb4fad263732182d293380b7016bd36 into PR head commit 92e1e2852ba839609d30016e4bd74c5384514fb3 12:55:34 Merge succeeded, producing d2b2d5f3ca85fade0a1bf5c9ad10aa69cb5afe2f 12:55:34 Checking out Revision d2b2d5f3ca85fade0a1bf5c9ad10aa69cb5afe2f (PR-76) 12:55:33 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:55:33 > git config --add remote.origin.fetch +refs/pull/76/head:refs/remotes/origin/PR-76 # timeout=10 12:55:33 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 12:55:33 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:55:33 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:55:33 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:33 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/76/head:refs/remotes/origin/PR-76 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:55:34 > git config core.sparsecheckout # timeout=10 12:55:34 > git checkout -f 92e1e2852ba839609d30016e4bd74c5384514fb3 # timeout=10 12:55:34 > git remote # timeout=10 12:55:34 > git config --get remote.origin.url # timeout=10 12:55:34 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:34 > git merge 18accf3c2bb4fad263732182d293380b7016bd36 # timeout=10 12:55:34 > git rev-parse HEAD^{commit} # timeout=10 12:55:34 > git config core.sparsecheckout # timeout=10 12:55:34 > git checkout -f d2b2d5f3ca85fade0a1bf5c9ad10aa69cb5afe2f # timeout=10 12:55:35 ---> Running in c1103063acce 12:55:35 Removing intermediate container c1103063acce 12:55:35 ---> ff42db5e099f 12:55:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:55:35 ---> Running in ac090d34c51f 12:55:37 Removing intermediate container ac090d34c51f 12:55:37 ---> 21f0b09ffeb2 12:55:37 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 12:55:37 ---> Running in 07deb66d2ba1 12:55:38 Commit message: "Merge commit '18accf3c2bb4fad263732182d293380b7016bd36' into HEAD" 12:55:38 > git rev-list --no-walk 92e1e2852ba839609d30016e4bd74c5384514fb3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 12:55:38 ========================================================= 12:55:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 12:55:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:55:39 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 12:55:39 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 12:55:39 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 12:55:39 Sending build context to Docker daemon 305.2kB 12:55:39 Step 1/8 : ARG BASE=golang:1.13-alpine 12:55:39 Step 2/8 : FROM ${BASE} 12:55:39 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 12:55:39 e6b0cf9c0882: Pulling fs layer 12:55:39 2848faf0eed1: Pulling fs layer 12:55:39 0f37312ad70f: Pulling fs layer 12:55:39 5788d62ee057: Pulling fs layer 12:55:39 0e6b1d234666: Pulling fs layer 12:55:39 bf5d7aec512f: Pulling fs layer 12:55:39 34c802a77dc8: Pulling fs layer 12:55:39 9eb99e56ec68: Pulling fs layer 12:55:39 27c7a5d97fbd: Pulling fs layer 12:55:39 5c102a31e300: Pulling fs layer 12:55:39 dcfb455df0a1: Pulling fs layer 12:55:39 5788d62ee057: Waiting 12:55:39 0e6b1d234666: Waiting 12:55:39 34c802a77dc8: Waiting 12:55:39 9eb99e56ec68: Waiting 12:55:39 27c7a5d97fbd: Waiting 12:55:39 5c102a31e300: Waiting 12:55:39 dcfb455df0a1: Waiting 12:55:39 bf5d7aec512f: Waiting 12:55:39 2848faf0eed1: Download complete 12:55:39 0e6b1d234666: Verifying Checksum 12:55:39 0e6b1d234666: Download complete 12:55:39 bf5d7aec512f: Verifying Checksum 12:55:39 bf5d7aec512f: Download complete 12:55:40 e6b0cf9c0882: Verifying Checksum 12:55:40 e6b0cf9c0882: Download complete 12:55:40 (1/6) Installing libc-dev (0.7.2-r0) 12:55:40 (2/6) Installing libsodium (1.0.18-r0) 12:55:40 e6b0cf9c0882: Pull complete 12:55:40 2848faf0eed1: Pull complete 12:55:40 (3/6) Installing pkgconf (1.6.3-r0) 12:55:40 (4/6) Installing libsodium-dev (1.0.18-r0) 12:55:40 (5/6) Installing libzmq (4.3.2-r0) 12:55:40 (6/6) Installing zeromq-dev (4.3.2-r0) 12:55:40 Executing busybox-1.31.1-r8.trigger 12:55:40 OK: 127 MiB in 45 packages 12:55:41 34c802a77dc8: Verifying Checksum 12:55:41 34c802a77dc8: Download complete 12:55:41 5788d62ee057: Verifying Checksum 12:55:41 5788d62ee057: Download complete 12:55:41 dcfb455df0a1: Verifying Checksum 12:55:41 dcfb455df0a1: Download complete 12:55:41 9eb99e56ec68: Verifying Checksum 12:55:41 9eb99e56ec68: Download complete 12:55:41 5c102a31e300: Verifying Checksum 12:55:41 5c102a31e300: Download complete 12:55:42 Removing intermediate container 07deb66d2ba1 12:55:42 ---> 741c55497539 12:55:42 Step 6/8 : WORKDIR /app 12:55:42 ---> Running in dc27a815df64 12:55:42 0f37312ad70f: Pull complete 12:55:42 Removing intermediate container dc27a815df64 12:55:42 ---> 8b5c42da90d0 12:55:42 Step 7/8 : COPY . . 12:55:43 ---> 8598cf34a0b5 12:55:43 Step 8/8 : RUN go mod download 12:55:43 ---> Running in 1bdda65c006f 12:55:47 5788d62ee057: Pull complete 12:55:47 0e6b1d234666: Pull complete 12:55:47 bf5d7aec512f: Pull complete 12:55:48 go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 12:55:48 go: finding github.com/BurntSushi/toml v0.3.1 12:55:48 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 12:55:48 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 12:55:48 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 12:55:48 go: finding github.com/bgentry/speakeasy v0.1.0 12:55:48 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 12:55:48 go: finding github.com/davecgh/go-spew v1.1.1 12:55:48 go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 12:55:48 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 12:55:48 go: finding github.com/edgexfoundry/app-functions-sdk-go v1.1.1-dev.3 12:55:48 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.32 12:55:48 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 12:55:48 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 12:55:48 go: finding github.com/edgexfoundry/go-mod-messaging v0.1.19 12:55:48 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 12:55:48 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 12:55:48 go: finding github.com/fatih/color v1.7.0 12:55:48 go: finding github.com/fsnotify/fsnotify v1.4.7 12:55:48 go: finding github.com/fxamacker/cbor/v2 v2.2.0 12:55:48 go: finding github.com/go-kit/kit v0.8.0 12:55:48 go: finding github.com/go-logfmt/logfmt v0.4.0 12:55:49 go: finding github.com/go-redis/redis/v7 v7.2.0 12:55:49 go: finding github.com/go-stack/stack v1.8.0 12:55:49 go: finding github.com/golang/protobuf v1.3.2 12:55:49 go: finding github.com/golang/snappy v0.0.1 12:55:49 go: finding github.com/gomodule/redigo v2.0.0+incompatible 12:55:49 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 12:55:49 go: finding github.com/google/go-cmp v0.4.0 12:55:49 go: finding github.com/google/uuid v1.1.1 12:55:49 go: finding github.com/gorilla/mux v1.7.4 12:55:49 go: finding github.com/hashicorp/consul/api v1.1.0 12:55:49 go: finding github.com/hashicorp/consul/sdk v0.1.1 12:55:49 go: finding github.com/hashicorp/errwrap v1.0.0 12:55:49 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 12:55:49 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 12:55:49 go: finding github.com/hashicorp/go-msgpack v0.5.3 12:55:49 go: finding github.com/hashicorp/go-multierror v1.0.0 12:55:49 go: finding github.com/hashicorp/go-rootcerts v1.0.0 12:55:49 go: finding github.com/hashicorp/go-sockaddr v1.0.0 12:55:49 go: finding github.com/hashicorp/go-syslog v1.0.0 12:55:49 go: finding github.com/hashicorp/go-uuid v1.0.1 12:55:49 go: finding github.com/hashicorp/go.net v0.0.1 12:55:49 go: finding github.com/hashicorp/golang-lru v0.5.0 12:55:49 go: finding github.com/hashicorp/logutils v1.0.0 12:55:49 go: finding github.com/hashicorp/mdns v1.0.0 12:55:49 go: finding github.com/hashicorp/memberlist v0.1.3 12:55:49 go: finding github.com/hashicorp/serf v0.8.2 12:55:49 go: finding github.com/hpcloud/tail v1.0.0 12:55:49 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 12:55:49 go: finding github.com/kr/pretty v0.1.0 12:55:49 go: finding github.com/kr/pty v1.1.1 12:55:49 go: finding github.com/kr/text v0.1.0 12:55:49 go: finding github.com/mattn/go-colorable v0.0.9 12:55:49 go: finding github.com/mattn/go-isatty v0.0.3 12:55:49 go: finding github.com/miekg/dns v1.0.14 12:55:49 go: finding github.com/mitchellh/cli v1.0.0 12:55:49 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 12:55:50 go: finding github.com/mitchellh/copystructure v1.0.0 12:55:50 go: finding github.com/mitchellh/go-homedir v1.0.0 12:55:50 go: finding github.com/mitchellh/go-testing-interface v1.0.0 12:55:50 go: finding github.com/mitchellh/gox v0.4.0 12:55:50 go: finding github.com/mitchellh/iochan v1.0.0 12:55:50 go: finding github.com/mitchellh/mapstructure v1.1.2 12:55:50 go: finding github.com/mitchellh/reflectwalk v1.0.0 12:55:50 go: finding github.com/onsi/ginkgo v1.10.1 12:55:50 go: finding github.com/onsi/gomega v1.7.0 12:55:50 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 12:55:50 go: finding github.com/pebbe/zmq4 v1.0.0 12:55:50 go: finding github.com/pelletier/go-toml v1.2.0 12:55:50 go: finding github.com/pkg/errors v0.8.1 12:55:50 go: finding github.com/pmezard/go-difflib v1.0.0 12:55:50 go: finding github.com/posener/complete v1.1.1 12:55:50 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 12:55:50 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 12:55:50 go: finding github.com/stretchr/objx v0.2.0 12:55:50 go: finding github.com/stretchr/testify v1.5.1 12:55:50 go: finding github.com/tidwall/pretty v1.0.1 12:55:50 go: finding github.com/ugorji/go v1.1.4 12:55:50 go: finding github.com/x448/float16 v0.8.4 12:55:50 go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c 12:55:50 go: finding github.com/xdg/stringprep v1.0.0 12:55:50 go: finding go.mongodb.org/mongo-driver v1.1.1 12:55:50 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 12:55:50 go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 12:55:50 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 12:55:50 go: finding golang.org/x/sys v0.0.0-20191010194322-b09406accb47 12:55:50 go: finding golang.org/x/text v0.3.2 12:55:50 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 12:55:51 go: finding golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 12:55:51 go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 12:55:51 go: finding gopkg.in/fsnotify.v1 v1.4.7 12:55:51 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 12:55:51 go: finding gopkg.in/yaml.v2 v2.2.8 12:55:55 34c802a77dc8: Pull complete 12:55:58 9eb99e56ec68: Pull complete 12:55:58 27c7a5d97fbd: Pull complete 12:55:59 5c102a31e300: Pull complete 12:55:59 dcfb455df0a1: Pull complete 12:55:59 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 12:55:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 12:55:59 ---> 7c70fe431013 12:55:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 12:56:00 ---> Running in 292af9c8cfd3 12:56:00 Removing intermediate container 292af9c8cfd3 12:56:00 ---> aba63a851af2 12:56:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:56:00 ---> Running in 3d1a2024d9ad 12:56:01 Removing intermediate container 3d1a2024d9ad 12:56:01 ---> 39b75c31e342 12:56:01 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 12:56:01 ---> Running in 46f3104d4e91 12:56:02 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 12:56:03 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 12:56:04 (1/6) Installing libc-dev (0.7.2-r0) 12:56:04 (2/6) Installing libsodium (1.0.18-r0) 12:56:04 (3/6) Installing pkgconf (1.6.3-r0) 12:56:04 (4/6) Installing libsodium-dev (1.0.18-r0) 12:56:04 (5/6) Installing libzmq (4.3.2-r0) 12:56:04 (6/6) Installing zeromq-dev (4.3.2-r0) 12:56:04 Executing busybox-1.31.1-r8.trigger 12:56:04 OK: 145 MiB in 45 packages 12:56:05 Removing intermediate container 46f3104d4e91 12:56:05 ---> 132fc9def7be 12:56:05 Step 6/8 : WORKDIR /app 12:56:05 ---> Running in bece580ddc97 12:56:05 Removing intermediate container bece580ddc97 12:56:05 ---> 5ea41bb5a554 12:56:05 Step 7/8 : COPY . . 12:56:06 ---> c559641ae613 12:56:06 Step 8/8 : RUN go mod download 12:56:06 ---> Running in 312bae7f1bb8 12:56:08 go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 12:56:08 go: finding github.com/BurntSushi/toml v0.3.1 12:56:08 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 12:56:08 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 12:56:08 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 12:56:08 go: finding github.com/bgentry/speakeasy v0.1.0 12:56:08 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 12:56:08 go: finding github.com/davecgh/go-spew v1.1.1 12:56:08 go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 12:56:08 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 12:56:08 go: finding github.com/edgexfoundry/app-functions-sdk-go v1.1.1-dev.3 12:56:08 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.32 12:56:08 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 12:56:08 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 12:56:08 go: finding github.com/edgexfoundry/go-mod-messaging v0.1.19 12:56:08 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 12:56:08 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 12:56:08 go: finding github.com/fatih/color v1.7.0 12:56:08 go: finding github.com/fsnotify/fsnotify v1.4.7 12:56:08 go: finding github.com/fxamacker/cbor/v2 v2.2.0 12:56:08 go: finding github.com/go-kit/kit v0.8.0 12:56:08 go: finding github.com/go-logfmt/logfmt v0.4.0 12:56:08 go: finding github.com/go-redis/redis/v7 v7.2.0 12:56:08 go: finding github.com/go-stack/stack v1.8.0 12:56:08 go: finding github.com/golang/protobuf v1.3.2 12:56:08 go: finding github.com/golang/snappy v0.0.1 12:56:08 go: finding github.com/gomodule/redigo v2.0.0+incompatible 12:56:08 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 12:56:08 go: finding github.com/google/go-cmp v0.4.0 12:56:08 go: finding github.com/google/uuid v1.1.1 12:56:08 go: finding github.com/gorilla/mux v1.7.4 12:56:08 go: finding github.com/hashicorp/consul/api v1.1.0 12:56:08 go: finding github.com/hashicorp/consul/sdk v0.1.1 12:56:08 go: finding github.com/hashicorp/errwrap v1.0.0 12:56:08 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 12:56:08 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 12:56:08 go: finding github.com/hashicorp/go-msgpack v0.5.3 12:56:08 go: finding github.com/hashicorp/go-multierror v1.0.0 12:56:08 go: finding github.com/hashicorp/go-rootcerts v1.0.0 12:56:08 go: finding github.com/hashicorp/go-sockaddr v1.0.0 12:56:08 go: finding github.com/hashicorp/go-syslog v1.0.0 12:56:08 go: finding github.com/hashicorp/go-uuid v1.0.1 12:56:08 go: finding github.com/hashicorp/go.net v0.0.1 12:56:08 go: finding github.com/hashicorp/golang-lru v0.5.0 12:56:08 go: finding github.com/hashicorp/logutils v1.0.0 12:56:08 go: finding github.com/hashicorp/mdns v1.0.0 12:56:08 go: finding github.com/hashicorp/memberlist v0.1.3 12:56:08 go: finding github.com/hashicorp/serf v0.8.2 12:56:08 go: finding github.com/hpcloud/tail v1.0.0 12:56:08 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 12:56:08 go: finding github.com/kr/pretty v0.1.0 12:56:08 go: finding github.com/kr/pty v1.1.1 12:56:08 go: finding github.com/kr/text v0.1.0 12:56:08 go: finding github.com/mattn/go-colorable v0.0.9 12:56:08 go: finding github.com/mattn/go-isatty v0.0.3 12:56:08 go: finding github.com/miekg/dns v1.0.14 12:56:08 go: finding github.com/mitchellh/cli v1.0.0 12:56:08 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 12:56:08 go: finding github.com/mitchellh/copystructure v1.0.0 12:56:08 go: finding github.com/mitchellh/go-homedir v1.0.0 12:56:08 go: finding github.com/mitchellh/go-testing-interface v1.0.0 12:56:08 go: finding github.com/mitchellh/gox v0.4.0 12:56:08 go: finding github.com/mitchellh/iochan v1.0.0 12:56:08 go: finding github.com/mitchellh/mapstructure v1.1.2 12:56:08 go: finding github.com/mitchellh/reflectwalk v1.0.0 12:56:08 go: finding github.com/onsi/ginkgo v1.10.1 12:56:08 go: finding github.com/onsi/gomega v1.7.0 12:56:08 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 12:56:08 go: finding github.com/pebbe/zmq4 v1.0.0 12:56:08 go: finding github.com/pelletier/go-toml v1.2.0 12:56:08 go: finding github.com/pkg/errors v0.8.1 12:56:08 go: finding github.com/pmezard/go-difflib v1.0.0 12:56:08 go: finding github.com/posener/complete v1.1.1 12:56:08 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 12:56:08 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 12:56:08 go: finding github.com/stretchr/objx v0.2.0 12:56:08 go: finding github.com/stretchr/testify v1.5.1 12:56:08 go: finding github.com/tidwall/pretty v1.0.1 12:56:08 go: finding github.com/ugorji/go v1.1.4 12:56:08 go: finding github.com/x448/float16 v0.8.4 12:56:08 go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c 12:56:08 go: finding github.com/xdg/stringprep v1.0.0 12:56:08 go: finding go.mongodb.org/mongo-driver v1.1.1 12:56:08 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 12:56:08 go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 12:56:08 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 12:56:08 go: finding golang.org/x/sys v0.0.0-20191010194322-b09406accb47 12:56:08 go: finding golang.org/x/text v0.3.2 12:56:08 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 12:56:08 go: finding golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 12:56:08 go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 12:56:08 go: finding gopkg.in/fsnotify.v1 v1.4.7 12:56:08 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 12:56:08 go: finding gopkg.in/yaml.v2 v2.2.8 12:56:09 Removing intermediate container 1bdda65c006f 12:56:09 ---> 9c0c06a494ca 12:56:09 Successfully built 9c0c06a494ca 12:56:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:56:10 + docker inspect -f . ci-base-image-arm64 12:56:10 . [Pipeline] withDockerContainer 12:56:10 prd-ubuntu18.04-docker-arm64-4c-16g-2349 does not seem to be running inside a container 12:56:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** ci-base-image-arm64 cat 12:56:12 $ docker top 672d8cae02499e3172a8433e60c95712f35d4e91a78637da0951d20ebd5a6f69 -eo pid,comm [Pipeline] { [Pipeline] sh 12:56:13 + go version 12:56:13 go version go1.13.5 linux/arm64 [Pipeline] sh 12:56:14 + make test 12:56:14 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:56:23 Removing intermediate container 312bae7f1bb8 12:56:23 ---> 62cabbf6a889 12:56:23 Successfully built 62cabbf6a889 12:56:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:56:24 + docker inspect -f . ci-base-image-x86_64 12:56:24 . [Pipeline] withDockerContainer 12:56:24 prd-centos7-docker-4c-2g-2350 does not seem to be running inside a container 12:56:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** ci-base-image-x86_64 cat 12:56:25 $ docker top 9416e50fb19cbe15ee4a54ef51f9be2a5f7ce147bea2d335643b848fe10c49bd -eo pid,comm [Pipeline] { [Pipeline] sh 12:56:25 + go version 12:56:25 go version go1.13.5 linux/amd64 [Pipeline] sh 12:56:25 + make test 12:56:25 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:56:40 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:56:40 CGO_ENABLED=1 go vet ./... 12:56:42 gofmt -l . 12:56:42 [ "`gofmt -l .`" = "" ] 12:56:42 ./bin/test-go-mod-tidy.sh 12:56:43 ./bin/test-attribution-txt.sh [Pipeline] stash 12:56:43 Stashed 1 file(s) [Pipeline] } 12:56:43 $ docker stop --time=1 9416e50fb19cbe15ee4a54ef51f9be2a5f7ce147bea2d335643b848fe10c49bd 12:56:46 $ docker rm -f 9416e50fb19cbe15ee4a54ef51f9be2a5f7ce147bea2d335643b848fe10c49bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:56:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:56:48 + ls -al . 12:56:48 total 96 12:56:48 drwxrwxr-x. 8 jenkins jenkins 4096 Jun 9 12:56 . 12:56:48 drwxrwxr-x. 4 jenkins jenkins 28 Jun 9 12:55 .. 12:56:48 -rw-rw-r--. 1 jenkins jenkins 6027 Jun 9 12:55 Attribution.txt 12:56:48 drwxrwxr-x. 2 jenkins jenkins 64 Jun 9 12:55 bin 12:56:48 -rw-r--r--. 1 jenkins jenkins 10 Jun 9 12:56 coverage.out 12:56:48 -rw-rw-r--. 1 jenkins jenkins 180 Jun 9 12:55 docker-compose.debug.yml 12:56:48 -rw-rw-r--. 1 jenkins jenkins 133 Jun 9 12:55 docker-compose.yml 12:56:48 -rw-rw-r--. 1 jenkins jenkins 1896 Jun 9 12:55 Dockerfile 12:56:48 -rw-rw-r--. 1 jenkins jenkins 966 Jun 9 12:55 Dockerfile.build 12:56:48 -rw-rw-r--. 1 jenkins jenkins 127 Jun 9 12:55 .dockerignore 12:56:48 drwxrwxr-x. 8 jenkins jenkins 179 Jun 9 12:55 .git 12:56:48 drwxrwxr-x. 2 jenkins jenkins 27 Jun 9 12:55 .github 12:56:48 -rw-rw-r--. 1 jenkins jenkins 93 Jun 9 12:55 .gitignore 12:56:48 -rw-r--r--. 1 jenkins jenkins 132 Jun 9 12:56 go.mod 12:56:48 -rw-r--r--. 1 jenkins jenkins 18585 Jun 9 12:56 go.sum 12:56:48 -rw-rw-r--. 1 jenkins jenkins 689 Jun 9 12:55 Jenkinsfile 12:56:48 -rw-rw-r--. 1 jenkins jenkins 10174 Jun 9 12:55 LICENSE 12:56:48 -rw-rw-r--. 1 jenkins jenkins 1617 Jun 9 12:55 main.go 12:56:48 -rw-rw-r--. 1 jenkins jenkins 1573 Jun 9 12:55 makefile 12:56:48 -rw-rw-r--. 1 jenkins jenkins 481 Jun 9 12:55 README.md 12:56:48 drwxrwxr-x. 10 jenkins jenkins 171 Jun 9 12:55 res 12:56:48 drwxrwxr-x. 3 jenkins jenkins 45 Jun 9 12:55 .semver 12:56:48 drwxrwxr-x. 4 jenkins jenkins 71 Jun 9 12:55 snap 12:56:48 -rw-rw-r--. 1 jenkins jenkins 5 Jun 9 12:52 VERSION [Pipeline] isUnix [Pipeline] sh 12:56:48 + docker build -t docker-app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=40f93ce7010c6aed25d69cbb4132b22c04f30d43 --label arch=amd64 --label version=0.0.0 . 12:56:48 Sending build context to Docker daemon 326.7kB 12:56:49 Step 1/24 : ARG BASE=golang:1.13-alpine 12:56:49 Step 2/24 : FROM ${BASE} AS builder 12:56:49 ---> 62cabbf6a889 12:56:49 Step 3/24 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:56:49 ---> Running in 5bfd2044b949 12:56:49 Removing intermediate container 5bfd2044b949 12:56:49 ---> 13d41e5850fb 12:56:49 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 12:56:49 ---> Running in 3a997e92b6f1 12:56:49 Removing intermediate container 3a997e92b6f1 12:56:49 ---> 4efb62bf218e 12:56:49 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 12:56:49 ---> Running in ea4567120904 12:56:49 Removing intermediate container ea4567120904 12:56:49 ---> 5641b06c9ce6 12:56:49 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:56:49 ---> Running in 748919ae4cec 12:56:50 Removing intermediate container 748919ae4cec 12:56:50 ---> 97f66e1038bf 12:56:50 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:56:50 ---> Running in 97d558710fb4 12:56:50 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 12:56:51 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 12:56:52 OK: 145 MiB in 45 packages 12:56:52 Removing intermediate container 97d558710fb4 12:56:52 ---> 6312447e3d96 12:56:52 Step 8/24 : WORKDIR /app 12:56:52 ---> Running in b3f2a89c5809 12:56:52 Removing intermediate container b3f2a89c5809 12:56:52 ---> 525b6f7c029c 12:56:52 Step 9/24 : COPY go.mod . 12:56:53 ---> 5de787241059 12:56:53 Step 10/24 : RUN go mod download 12:56:53 ---> Running in 0d3314eeff34 12:56:54 Removing intermediate container 0d3314eeff34 12:56:54 ---> 61b8bfc2f32b 12:56:54 Step 11/24 : COPY . . 12:56:54 ---> 96cbbec09218 12:56:54 Step 12/24 : ARG MAKE="make build" 12:56:54 ---> Running in 946ae84d5ccb 12:56:55 Removing intermediate container 946ae84d5ccb 12:56:55 ---> 44ae9c22d80d 12:56:55 Step 13/24 : RUN $MAKE 12:56:55 ---> Running in 1f02c180e2f7 12:56:55 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/internal.SDKVersion=v1.1.1-dev.3 -X github.com/edgexfoundry/app-functions-sdk-go/internal.ApplicationVersion=0.0.0" -o app-service-configurable 12:57:02 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:57:02 CGO_ENABLED=1 go vet ./... 12:57:08 gofmt -l . 12:57:08 [ "`gofmt -l .`" = "" ] 12:57:08 ./bin/test-go-mod-tidy.sh 12:57:08 ./bin/test-attribution-txt.sh [Pipeline] stash 12:57:09 Warning: overwriting stash ‘coverage-report’ 12:57:10 Stashed 1 file(s) [Pipeline] } 12:57:10 $ docker stop --time=1 672d8cae02499e3172a8433e60c95712f35d4e91a78637da0951d20ebd5a6f69 12:57:12 $ docker rm -f 672d8cae02499e3172a8433e60c95712f35d4e91a78637da0951d20ebd5a6f69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:57:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:57:13 Removing intermediate container 1f02c180e2f7 12:57:13 ---> 2dfb6864339b 12:57:13 Step 14/24 : FROM alpine:latest 12:57:13 latest: Pulling from library/alpine 12:57:13 df20fa9351a1: Pulling fs layer 12:57:13 df20fa9351a1: Verifying Checksum 12:57:13 df20fa9351a1: Download complete 12:57:13 df20fa9351a1: Pull complete 12:57:13 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 12:57:13 Status: Downloaded newer image for alpine:latest 12:57:13 ---> a24bb4013296 12:57:13 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 12:57:13 ---> Running in 55246808f2cb 12:57:13 Removing intermediate container 55246808f2cb 12:57:13 ---> 18241b65ca04 12:57:13 Step 16/24 : LABEL Name=app-service-configurable Version=${VERSION} 12:57:13 ---> Running in fe0fde743623 12:57:13 Removing intermediate container fe0fde743623 12:57:13 ---> 7e3d43692a85 12:57:13 Step 17/24 : RUN apk --no-cache add ca-certificates zeromq 12:57:13 ---> Running in fa13aae360bc 12:57:13 + ls -al . 12:57:13 total 124 12:57:13 drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 12:57 . 12:57:13 drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 12:54 .. 12:57:13 -rw-rw-r-- 1 jenkins jenkins 127 Jun 9 12:54 .dockerignore 12:57:13 drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 12:54 .git 12:57:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 12:54 .github 12:57:13 -rw-rw-r-- 1 jenkins jenkins 93 Jun 9 12:54 .gitignore 12:57:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 12:54 .semver 12:57:13 -rw-rw-r-- 1 jenkins jenkins 6027 Jun 9 12:54 Attribution.txt 12:57:13 -rw-rw-r-- 1 jenkins jenkins 1896 Jun 9 12:54 Dockerfile 12:57:13 -rw-rw-r-- 1 jenkins jenkins 966 Jun 9 12:54 Dockerfile.build 12:57:13 -rw-rw-r-- 1 jenkins jenkins 689 Jun 9 12:54 Jenkinsfile 12:57:13 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 9 12:54 LICENSE 12:57:13 -rw-rw-r-- 1 jenkins jenkins 481 Jun 9 12:54 README.md 12:57:13 -rw-rw-r-- 1 jenkins jenkins 5 Jun 9 12:52 VERSION 12:57:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 12:54 bin 12:57:13 -rw-r--r-- 1 jenkins jenkins 10 Jun 9 12:56 coverage.out 12:57:13 -rw-rw-r-- 1 jenkins jenkins 180 Jun 9 12:54 docker-compose.debug.yml 12:57:13 -rw-rw-r-- 1 jenkins jenkins 133 Jun 9 12:54 docker-compose.yml 12:57:13 -rw-r--r-- 1 jenkins jenkins 132 Jun 9 12:57 go.mod 12:57:13 -rw-r--r-- 1 jenkins jenkins 18585 Jun 9 12:57 go.sum 12:57:13 -rw-rw-r-- 1 jenkins jenkins 1617 Jun 9 12:54 main.go 12:57:13 -rw-rw-r-- 1 jenkins jenkins 1573 Jun 9 12:54 makefile 12:57:13 drwxrwxr-x 10 jenkins jenkins 4096 Jun 9 12:54 res 12:57:13 drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 12:54 snap [Pipeline] isUnix [Pipeline] sh 12:57:14 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 12:57:14 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 12:57:14 (1/6) Installing ca-certificates (20191127-r3) 12:57:14 (2/6) Installing libgcc (9.3.0-r2) 12:57:14 (3/6) Installing libsodium (1.0.18-r0) 12:57:14 (4/6) Installing libstdc++ (9.3.0-r2) 12:57:14 + docker build -t docker-app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=40f93ce7010c6aed25d69cbb4132b22c04f30d43 --label arch=arm64 --label version=0.0.0 . 12:57:14 (5/6) Installing libzmq (4.3.2-r0) 12:57:14 (6/6) Installing zeromq (4.3.2-r0) 12:57:14 Executing busybox-1.31.1-r16.trigger 12:57:14 Executing ca-certificates-20191127-r3.trigger 12:57:14 OK: 9 MiB in 20 packages 12:57:14 Sending build context to Docker daemon 326.7kB 12:57:14 Step 1/24 : ARG BASE=golang:1.13-alpine 12:57:14 Step 2/24 : FROM ${BASE} AS builder 12:57:14 ---> 9c0c06a494ca 12:57:14 Step 3/24 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:57:14 ---> Running in e37d474be8e9 12:57:15 Removing intermediate container fa13aae360bc 12:57:15 ---> b24b04b8e918 12:57:15 Step 18/24 : COPY --from=builder /app/res/ /res/ 12:57:15 Removing intermediate container e37d474be8e9 12:57:15 ---> ce811d8b0f6b 12:57:15 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 12:57:15 ---> Running in c010ff2b4647 12:57:15 ---> 40a86e53a882 12:57:15 Step 19/24 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:57:15 Removing intermediate container c010ff2b4647 12:57:15 ---> 3c99202c862d 12:57:15 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 12:57:15 ---> Running in af17c2a84c52 12:57:16 ---> dc3dff2a60f3 12:57:16 Step 20/24 : EXPOSE 48095 12:57:16 ---> Running in cd5582d225ee 12:57:16 Removing intermediate container cd5582d225ee 12:57:16 ---> 81bbd1d95793 12:57:16 Step 21/24 : ENTRYPOINT ["/app-service-configurable", "-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:57:16 ---> Running in 8d84d5401ca4 12:57:16 Removing intermediate container af17c2a84c52 12:57:16 ---> 5e7b6629f376 12:57:16 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:57:16 ---> Running in d4aa18badfcb 12:57:16 Removing intermediate container 8d84d5401ca4 12:57:16 ---> acae88e33c98 12:57:16 Step 22/24 : LABEL arch=amd64 12:57:16 ---> Running in 3ff7c7dd8f18 12:57:16 Removing intermediate container 3ff7c7dd8f18 12:57:16 ---> 7ce1df7c20c6 12:57:16 Step 23/24 : LABEL git_sha=40f93ce7010c6aed25d69cbb4132b22c04f30d43 12:57:16 ---> Running in 54a179704a8a 12:57:16 Removing intermediate container 54a179704a8a 12:57:16 ---> 9e9a717aff1a 12:57:16 Step 24/24 : LABEL version=0.0.0 12:57:16 ---> Running in 0a3c89458ded 12:57:17 Removing intermediate container 0a3c89458ded 12:57:17 ---> ccd70b621927 12:57:17 [Warning] One or more build-args [ARCH] were not consumed 12:57:17 Successfully built ccd70b621927 12:57:17 Successfully tagged docker-app-service-configurable: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] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 12:57:19 Removing intermediate container d4aa18badfcb 12:57:19 ---> 980697676354 12:57:19 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:57:19 ---> Running in e941aa656c90 12:57:20 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 12:57:21 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 12:57:21 OK: 127 MiB in 45 packages 12:57:23 Removing intermediate container e941aa656c90 12:57:23 ---> 01c4a44ffe37 12:57:23 Step 8/24 : WORKDIR /app 12:57:23 ---> Running in 797daddbfdbd 12:57:23 Removing intermediate container 797daddbfdbd 12:57:23 ---> 937f93094c6c 12:57:23 Step 9/24 : COPY go.mod . 12:57:24 ---> 9e11deeaaafd 12:57:24 Step 10/24 : RUN go mod download 12:57:24 ---> Running in 8448d567297f 12:57:27 Removing intermediate container 8448d567297f 12:57:27 ---> 37b64326c444 12:57:27 Step 11/24 : COPY . . 12:57:28 ---> d23c38caabde 12:57:28 Step 12/24 : ARG MAKE="make build" 12:57:28 ---> Running in 01f984c5be1d 12:57:28 Removing intermediate container 01f984c5be1d 12:57:28 ---> b4b52c4a6f43 12:57:28 Step 13/24 : RUN $MAKE 12:57:28 ---> Running in 860370c3c9b0 12:57:30 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/internal.SDKVersion=v1.1.1-dev.3 -X github.com/edgexfoundry/app-functions-sdk-go/internal.ApplicationVersion=0.0.0" -o app-service-configurable 12:58:17 Removing intermediate container 860370c3c9b0 12:58:17 ---> db829e7e2f00 12:58:17 Step 14/24 : FROM alpine:latest 12:58:17 latest: Pulling from library/alpine 12:58:17 b538f80385f9: Pulling fs layer 12:58:17 b538f80385f9: Verifying Checksum 12:58:17 b538f80385f9: Download complete 12:58:17 b538f80385f9: Pull complete 12:58:17 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 12:58:17 Status: Downloaded newer image for alpine:latest 12:58:17 ---> 62ee0e9f8440 12:58:17 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 12:58:17 ---> Running in 410bd9023c1a 12:58:17 Removing intermediate container 410bd9023c1a 12:58:17 ---> 155f988e2063 12:58:17 Step 16/24 : LABEL Name=app-service-configurable Version=${VERSION} 12:58:17 ---> Running in cd3d335c9f4a 12:58:17 Removing intermediate container cd3d335c9f4a 12:58:17 ---> fa2c23d64f82 12:58:17 Step 17/24 : RUN apk --no-cache add ca-certificates zeromq 12:58:17 ---> Running in c181162228ce 12:58:19 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 12:58:19 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 12:58:19 (1/6) Installing ca-certificates (20191127-r3) 12:58:19 (2/6) Installing libgcc (9.3.0-r2) 12:58:19 (3/6) Installing libsodium (1.0.18-r0) 12:58:19 (4/6) Installing libstdc++ (9.3.0-r2) 12:58:19 (5/6) Installing libzmq (4.3.2-r0) 12:58:19 (6/6) Installing zeromq (4.3.2-r0) 12:58:19 Executing busybox-1.31.1-r16.trigger 12:58:19 Executing ca-certificates-20191127-r3.trigger 12:58:20 OK: 8 MiB in 20 packages 12:58:21 Removing intermediate container c181162228ce 12:58:21 ---> 7213258be9ac 12:58:21 Step 18/24 : COPY --from=builder /app/res/ /res/ 12:58:22 ---> 1a9fbd1ee66c 12:58:22 Step 19/24 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:58:24 ---> 96448a841b8d 12:58:24 Step 20/24 : EXPOSE 48095 12:58:24 ---> Running in 1f713c219ec1 12:58:24 Removing intermediate container 1f713c219ec1 12:58:24 ---> 3074228f654d 12:58:24 Step 21/24 : ENTRYPOINT ["/app-service-configurable", "-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:58:24 ---> Running in 80f3569b6a9d 12:58:25 Removing intermediate container 80f3569b6a9d 12:58:25 ---> b287fdb08102 12:58:25 Step 22/24 : LABEL arch=arm64 12:58:25 ---> Running in efc3080e8bfd 12:58:25 Removing intermediate container efc3080e8bfd 12:58:25 ---> 16c6786a6d7c 12:58:25 Step 23/24 : LABEL git_sha=40f93ce7010c6aed25d69cbb4132b22c04f30d43 12:58:25 ---> Running in 8eb673c9d66f 12:58:26 Removing intermediate container 8eb673c9d66f 12:58:26 ---> 4b4ccc48beab 12:58:26 Step 24/24 : LABEL version=0.0.0 12:58:26 ---> Running in af4d20ae3444 12:58:26 Removing intermediate container af4d20ae3444 12:58:26 ---> 0cdd4d72e866 12:58:26 [Warning] One or more build-args [ARCH] were not consumed 12:58:27 Successfully built 0cdd4d72e866 12:58:27 Successfully tagged docker-app-service-configurable-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] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 12:58:27 provisioning config files... 12:58:27 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/y_app-service-configurable_PR-76@tmp/config4225674248967619285tmp [Pipeline] { [Pipeline] sh 12:58:28 + curl -s https://codecov.io/bash 12:58:28 + bash -s - -t @/w/workspace/y_app-service-configurable_PR-76@tmp/config4225674248967619285tmp 12:58:28 12:58:28 _____ _ 12:58:28 / ____| | | 12:58:28 | | ___ __| | ___ ___ _____ __ 12:58:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:58:28 | |___| (_) | (_| | __/ (_| (_) \ V / 12:58:28 \_____\___/ \__,_|\___|\___\___/ \_/ 12:58:28 Bash-20200602-f809a24 12:58:28 12:58:28 12:58:28 ==> Jenkins CI detected. 12:58:28 project root: . 12:58:28 Fixing merge commit SHA 12:58:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:58:28 ==> Running gcov in . (disable via -X gcov) 12:58:28 ==> Python coveragepy not found 12:58:28 ==> Searching for coverage reports in: 12:58:28 + . 12:58:28 -> Found 1 reports 12:58:28 ==> Detecting git/mercurial file structure 12:58:28 ==> Reading reports 12:58:28 + ./coverage.out bytes=10 12:58:28 ==> Appending adjustments 12:58:28 https://docs.codecov.io/docs/fixing-reports 12:58:28 + Found adjustments 12:58:28 ==> Gzipping contents 12:58:28 ==> Uploading reports 12:58:28 url: https://codecov.io 12:58:28 query: branch=PR-76&commit=18accf3c2bb4fad263732182d293380b7016bd36&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-76%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=76&job= 12:58:28 -> Pinging Codecov 12:58:28 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-76&commit=18accf3c2bb4fad263732182d293380b7016bd36&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-76%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=76&job= 12:58:29 -> Uploading 12:58:29 -> View reports at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/18accf3c2bb4fad263732182d293380b7016bd36 [Pipeline] } 12:58:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [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 12:58:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:58:31 ---> package-listing.sh 12:58:31 ++ facter osfamily 12:58:31 ++ tr '[:upper:]' '[:lower:]' 12:58:31 + OS_FAMILY=redhat 12:58:31 + workspace=/w/workspace/y_app-service-configurable_PR-76 12:58:31 + START_PACKAGES=/tmp/packages_start.txt 12:58:31 + END_PACKAGES=/tmp/packages_end.txt 12:58:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:58:31 + PACKAGES=/tmp/packages_start.txt 12:58:31 + '[' /w/workspace/y_app-service-configurable_PR-76 ']' 12:58:31 + PACKAGES=/tmp/packages_end.txt 12:58:31 + case "${OS_FAMILY}" in 12:58:31 + rpm -qa 12:58:31 + sort 12:58:35 + '[' -f /tmp/packages_start.txt ']' 12:58:35 + '[' -f /tmp/packages_end.txt ']' 12:58:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:58:35 + '[' /w/workspace/y_app-service-configurable_PR-76 ']' 12:58:35 + mkdir -p /w/workspace/y_app-service-configurable_PR-76/archives/ 12:58:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-service-configurable_PR-76/archives/ [Pipeline] isUnix [Pipeline] sh 12:58:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:58:35 12:58:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 12:58:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:58:36 alpine: Pulling from edgex-lftools-log-publisher 12:58:36 c9b1b535fdd9: Pulling fs layer 12:58:36 2cc5ad85d9ab: Pulling fs layer 12:58:36 756a868c4378: Pulling fs layer 12:58:36 444b2fc9a129: Pulling fs layer 12:58:36 ea15f1150254: Pulling fs layer 12:58:36 41b27a9f41bf: Pulling fs layer 12:58:36 28c525ee5125: Pulling fs layer 12:58:36 094b1ea09ed8: Pulling fs layer 12:58:36 138eaada9080: Pulling fs layer 12:58:36 0622d0fa9048: Pulling fs layer 12:58:36 ea15f1150254: Waiting 12:58:36 094b1ea09ed8: Waiting 12:58:36 138eaada9080: Waiting 12:58:36 0622d0fa9048: Waiting 12:58:36 28c525ee5125: Waiting 12:58:36 41b27a9f41bf: Waiting 12:58:36 2cc5ad85d9ab: Download complete 12:58:36 444b2fc9a129: Download complete 12:58:36 c9b1b535fdd9: Verifying Checksum 12:58:36 c9b1b535fdd9: Download complete 12:58:36 ea15f1150254: Verifying Checksum 12:58:36 ea15f1150254: Download complete 12:58:36 28c525ee5125: Verifying Checksum 12:58:36 28c525ee5125: Download complete 12:58:36 756a868c4378: Verifying Checksum 12:58:36 756a868c4378: Download complete 12:58:36 c9b1b535fdd9: Pull complete 12:58:36 138eaada9080: Verifying Checksum 12:58:36 138eaada9080: Download complete 12:58:37 0622d0fa9048: Verifying Checksum 12:58:37 0622d0fa9048: Download complete 12:58:37 094b1ea09ed8: Verifying Checksum 12:58:37 094b1ea09ed8: Download complete 12:58:37 2cc5ad85d9ab: Pull complete 12:58:37 41b27a9f41bf: Verifying Checksum 12:58:37 41b27a9f41bf: Download complete 12:58:38 756a868c4378: Pull complete 12:58:39 444b2fc9a129: Pull complete 12:58:39 ea15f1150254: Pull complete 12:58:43 41b27a9f41bf: Pull complete 12:58:43 28c525ee5125: Pull complete 12:58:46 094b1ea09ed8: Pull complete 12:58:46 138eaada9080: Pull complete 12:58:46 0622d0fa9048: Pull complete 12:58:46 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 12:58:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:58:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 12:58:46 prd-centos7-docker-4c-2g-2348 does not seem to be running inside a container 12:58:46 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/y_app-service-configurable_PR-76 -v /w/workspace/y_app-service-configurable_PR-76:/w/workspace/y_app-service-configurable_PR-76:rw,z -v /w/workspace/y_app-service-configurable_PR-76@tmp:/w/workspace/y_app-service-configurable_PR-76@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 12:58:50 $ docker top 5968143ea45661462e691f009547906097dd446165f9ff1161f361b618d5a94c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:50 provisioning config files... 12:58:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-service-configurable_PR-76@tmp/config7169921679493859249tmp [Pipeline] { [Pipeline] echo 12:58:50 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:58:50 ---> create-netrc.sh [Pipeline] echo 12:58:50 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:58:51 ---> logs-deploy.sh 12:58:51 + ARCHIVE_ARTIFACTS= 12:58:51 + LOGS_SERVER=https://logs.edgexfoundry.org 12:58:51 + '[' https://logs.edgexfoundry.org == None ']' 12:58:51 + NEXUS_URL=https://nexus.edgexfoundry.org 12:58:51 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-76/2 12:58:51 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/app-service-configurable/job/PR-76/2/ 12:58:51 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-76/2 /w/workspace/y_app-service-configurable_PR-76 12:58:52 Archives upload complete. 12:58:52 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-76/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/app-service-configurable/job/PR-76/2/