Pull request #68 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Waiting for GitHub to create a merge commit for pull request 68. Retrying 4 more times... Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 2bd9fe6258aa81b8938938f802176ed26ba54794+2dd054fbbcb98df90e46da0c3973c31ac0e9886a (cc57ba28bdd5fb621f9c75c491437f6777482043) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d # timeout=10 Commit message: "Merge pull request #173 from ernestojeda/bugfix-did-change-prev" > 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 [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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6511 in /w/workspace/y_app-service-configurable_PR-68 [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 Fetching without tags Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/y_app-service-configurable_PR-68 # 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 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/68/head:refs/remotes/origin/PR-68 +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/68/head:refs/remotes/origin/PR-68 # 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 Merging remotes/origin/master commit 2dd054fbbcb98df90e46da0c3973c31ac0e9886a into PR head commit 2bd9fe6258aa81b8938938f802176ed26ba54794 Merge succeeded, producing 2bd9fe6258aa81b8938938f802176ed26ba54794 Checking out Revision 2bd9fe6258aa81b8938938f802176ed26ba54794 (PR-68) > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/68/head:refs/remotes/origin/PR-68 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2bd9fe6258aa81b8938938f802176ed26ba54794 # 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 2dd054fbbcb98df90e46da0c3973c31ac0e9886a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2bd9fe6258aa81b8938938f802176ed26ba54794 # timeout=10 Commit message: "refector: Change Database to be Redis and add -cp command line to Dockerfile entrypoint" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:54:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:54:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:54:38 ========================================================= 18:54:38 EdgeX Global Pipelines Version Info 18:54:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:54:40 ------------------- 18:54:40 stable info: 18:54:40 ------------------- 18:54:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:54:40 Commit SHA: 997776a94285dd80d478e4f0c197496148fdc64f 18:54:40 Message: update stable to v1.0.86 18:54:41 ------------------- 18:54:41 experimental info: 18:54:41 ------------------- 18:54:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:54:41 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 18:54:41 Message: update experimental to v1.0.87 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 18:54:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:54:43 18:54:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:54:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:54:43 latest: Pulling from edgex-devops/git-semver 18:54:43 9123ac7c32f7: Pulling fs layer 18:54:43 b8cc5d1170e3: Pulling fs layer 18:54:43 2924cbbf6a41: Pulling fs layer 18:54:43 93b08a4f1073: Pulling fs layer 18:54:43 93b08a4f1073: Waiting 18:54:43 b8cc5d1170e3: Verifying Checksum 18:54:43 b8cc5d1170e3: Download complete 18:54:43 9123ac7c32f7: Verifying Checksum 18:54:43 9123ac7c32f7: Download complete 18:54:43 93b08a4f1073: Verifying Checksum 18:54:43 93b08a4f1073: Download complete 18:54:43 2924cbbf6a41: Verifying Checksum 18:54:43 2924cbbf6a41: Download complete 18:54:43 9123ac7c32f7: Pull complete 18:54:43 b8cc5d1170e3: Pull complete 18:54:44 2924cbbf6a41: Pull complete 18:54:45 93b08a4f1073: Pull complete 18:54:45 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 18:54:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:54:45 prd-centos7-docker-4c-2g-6511 does not seem to be running inside a container 18:54:45 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-service-configurable_PR-68 -v /w/workspace/y_app-service-configurable_PR-68:/w/workspace/y_app-service-configurable_PR-68:rw,z -v /w/workspace/y_app-service-configurable_PR-68@tmp:/w/workspace/y_app-service-configurable_PR-68@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:54:46 $ docker top 754cfb7a4b154e2d94b74a24adced8decd37ea27314b9a99ed980706b5b2426c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:54:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:54:46 [ssh-agent] Looking for ssh-agent implementation... 18:54:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:54:46 $ docker exec 754cfb7a4b154e2d94b74a24adced8decd37ea27314b9a99ed980706b5b2426c ssh-agent 18:54:46 SSH_AUTH_SOCK=/tmp/ssh-3MfmATzOqjmE/agent.15 18:54:46 SSH_AGENT_PID=22 18:54:46 Running ssh-add (command line suppressed) 18:54:47 Identity added: /w/workspace/y_app-service-configurable_PR-68@tmp/private_key_5827996947694223391.key (/w/workspace/y_app-service-configurable_PR-68@tmp/private_key_5827996947694223391.key) 18:54:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:54:47 + git describe --exact-match --tags HEAD 18:54:47 fatal: No names found, cannot describe anything. [Pipeline] } 18:54:47 $ docker exec --env ******** --env ******** 754cfb7a4b154e2d94b74a24adced8decd37ea27314b9a99ed980706b5b2426c ssh-agent -k 18:54:47 unset SSH_AUTH_SOCK; 18:54:47 unset SSH_AGENT_PID; 18:54:47 echo Agent pid 22 killed; 18:54:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:54:48 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:54:48 This usually means this commit has not been tagged. [Pipeline] sshagent 18:54:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:54:48 [ssh-agent] Looking for ssh-agent implementation... 18:54:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:54:48 $ docker exec 754cfb7a4b154e2d94b74a24adced8decd37ea27314b9a99ed980706b5b2426c ssh-agent 18:54:48 SSH_AUTH_SOCK=/tmp/ssh-VXAguaXhP1G3/agent.57 18:54:48 SSH_AGENT_PID=64 18:54:48 Running ssh-add (command line suppressed) 18:54:48 Identity added: /w/workspace/y_app-service-configurable_PR-68@tmp/private_key_5595298412348647642.key (/w/workspace/y_app-service-configurable_PR-68@tmp/private_key_5595298412348647642.key) 18:54:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:54:49 + git semver init 18:54:49 # -> Open(): unable to determine branch for HEAD 18:54:49 # $GIT_DIR = /w/workspace/y_app-service-configurable_PR-68/.git 18:54:49 # $GIT_WORK_TREE = /w/workspace/y_app-service-configurable_PR-68 18:54:49 # $SEMVER_REMOTE_NAME = origin 18:54:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:54:49 # $SEMVER_USER_NAME = edgex-jenkins 18:54:49 # $SEMVER_BRANCH = PR-68 18:54:49 # $SEMVER_TEMP = /tmp/semver-254609043 18:54:49 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 18:54:49 # '/tmp/semver-254609043' -> '/w/workspace/y_app-service-configurable_PR-68/.semver' 18:54:49 # -> Force: false 18:54:49 # $SEMVER_DIR = /w/workspace/y_app-service-configurable_PR-68/.semver [Pipeline] } 18:54:49 $ docker exec --env ******** --env ******** 754cfb7a4b154e2d94b74a24adced8decd37ea27314b9a99ed980706b5b2426c ssh-agent -k 18:54:49 unset SSH_AUTH_SOCK; 18:54:49 unset SSH_AGENT_PID; 18:54:49 echo Agent pid 64 killed; 18:54:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:54:50 + git semver [Pipeline] } 18:54:50 $ docker stop --time=1 754cfb7a4b154e2d94b74a24adced8decd37ea27314b9a99ed980706b5b2426c 18:54:51 $ docker rm -f 754cfb7a4b154e2d94b74a24adced8decd37ea27314b9a99ed980706b5b2426c [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:54:52 Stashed 46 file(s) [Pipeline] echo 18:54:52 [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 18:55:07 Still waiting to schedule task 18:55:07 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:55:07 Still waiting to schedule task 18:55:07 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-6509’ 18:56:56 Running on prd-centos7-docker-4c-2g-6512 in /w/workspace/y_app-service-configurable_PR-68 [Pipeline] { [Pipeline] ws 18:56:56 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 18:57:08 using credential edgex-jenkins-ssh 18:57:08 Cloning the remote Git repository 18:57:08 Cloning with configured refspecs honoured and without tags 18:57:08 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 18:57:08 > git init /w/workspace/app-service-configurable/2 # timeout=10 18:57:08 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:57:08 > git --version # timeout=10 18:57:08 using GIT_SSH to set credentials SSH Credentials for GitHub 18:57:08 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/68/head:refs/remotes/origin/PR-68 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:57:09 Fetching without tags 18:57:10 Merging remotes/origin/master commit 2dd054fbbcb98df90e46da0c3973c31ac0e9886a into PR head commit 2bd9fe6258aa81b8938938f802176ed26ba54794 18:57:10 Merge succeeded, producing 2bd9fe6258aa81b8938938f802176ed26ba54794 18:57:10 Checking out Revision 2bd9fe6258aa81b8938938f802176ed26ba54794 (PR-68) 18:57:09 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:57:09 > git config --add remote.origin.fetch +refs/pull/68/head:refs/remotes/origin/PR-68 # timeout=10 18:57:09 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:57:09 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:57:09 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:57:09 using GIT_SSH to set credentials SSH Credentials for GitHub 18:57:09 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/68/head:refs/remotes/origin/PR-68 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:57:10 > git config core.sparsecheckout # timeout=10 18:57:10 > git checkout -f 2bd9fe6258aa81b8938938f802176ed26ba54794 # timeout=10 18:57:10 > git remote # timeout=10 18:57:10 > git config --get remote.origin.url # timeout=10 18:57:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:57:10 > git merge 2dd054fbbcb98df90e46da0c3973c31ac0e9886a # timeout=10 18:57:10 > git rev-parse HEAD^{commit} # timeout=10 18:57:10 > git config core.sparsecheckout # timeout=10 18:57:10 > git checkout -f 2bd9fe6258aa81b8938938f802176ed26ba54794 # timeout=10 18:57:14 Commit message: "refector: Change Database to be Redis and add -cp command line to Dockerfile entrypoint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:57:15 ========================================================= 18:57:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 18:57:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:57:17 + 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 . 18:57:17 Sending build context to Docker daemon 266.2kB 18:57:17 Step 1/8 : ARG BASE=golang:1.13-alpine 18:57:17 Step 2/8 : FROM ${BASE} 18:57:18 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 18:57:18 e6b0cf9c0882: Pulling fs layer 18:57:18 2848faf0eed1: Pulling fs layer 18:57:18 0f37312ad70f: Pulling fs layer 18:57:18 5788d62ee057: Pulling fs layer 18:57:18 0e6b1d234666: Pulling fs layer 18:57:18 bf5d7aec512f: Pulling fs layer 18:57:18 34c802a77dc8: Pulling fs layer 18:57:18 9eb99e56ec68: Pulling fs layer 18:57:18 27c7a5d97fbd: Pulling fs layer 18:57:18 5c102a31e300: Pulling fs layer 18:57:18 dcfb455df0a1: Pulling fs layer 18:57:18 0e6b1d234666: Waiting 18:57:18 bf5d7aec512f: Waiting 18:57:18 34c802a77dc8: Waiting 18:57:18 9eb99e56ec68: Waiting 18:57:18 27c7a5d97fbd: Waiting 18:57:18 5c102a31e300: Waiting 18:57:18 dcfb455df0a1: Waiting 18:57:18 5788d62ee057: Waiting 18:57:18 0f37312ad70f: Verifying Checksum 18:57:18 0f37312ad70f: Download complete 18:57:18 2848faf0eed1: Download complete 18:57:18 0e6b1d234666: Verifying Checksum 18:57:18 0e6b1d234666: Download complete 18:57:18 bf5d7aec512f: Download complete 18:57:18 e6b0cf9c0882: Verifying Checksum 18:57:18 e6b0cf9c0882: Download complete 18:57:19 e6b0cf9c0882: Pull complete 18:57:19 2848faf0eed1: Pull complete 18:57:19 0f37312ad70f: Pull complete 18:57:21 34c802a77dc8: Verifying Checksum 18:57:21 34c802a77dc8: Download complete 18:57:21 27c7a5d97fbd: Verifying Checksum 18:57:21 27c7a5d97fbd: Download complete 18:57:23 5c102a31e300: Verifying Checksum 18:57:23 5c102a31e300: Download complete 18:57:23 9eb99e56ec68: Verifying Checksum 18:57:23 9eb99e56ec68: Download complete 18:57:23 dcfb455df0a1: Verifying Checksum 18:57:23 dcfb455df0a1: Download complete 18:57:23 5788d62ee057: Verifying Checksum 18:57:23 5788d62ee057: Download complete 18:57:34 5788d62ee057: Pull complete 18:57:34 0e6b1d234666: Pull complete 18:57:34 bf5d7aec512f: Pull complete 18:57:39 34c802a77dc8: Pull complete 18:57:44 9eb99e56ec68: Pull complete 18:57:44 27c7a5d97fbd: Pull complete 18:57:46 5c102a31e300: Pull complete 18:57:46 dcfb455df0a1: Pull complete 18:57:46 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 18:57:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 18:57:46 ---> 7c70fe431013 18:57:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:57:46 ---> Running in 7cad8b814325 18:57:46 Removing intermediate container 7cad8b814325 18:57:46 ---> 816f263becb7 18:57:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:57:46 ---> Running in 0bd6ce2ceaac 18:57:48 Removing intermediate container 0bd6ce2ceaac 18:57:48 ---> 32e0d7a779ac 18:57:48 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 18:57:48 ---> Running in e2c6ec0cdbb1 18:57:49 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 18:57:50 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 18:57:50 (1/6) Installing libc-dev (0.7.2-r0) 18:57:51 (2/6) Installing libsodium (1.0.18-r0) 18:57:51 (3/6) Installing pkgconf (1.6.3-r0) 18:57:51 (4/6) Installing libsodium-dev (1.0.18-r0) 18:57:51 (5/6) Installing libzmq (4.3.2-r0) 18:57:51 (6/6) Installing zeromq-dev (4.3.2-r0) 18:57:51 Executing busybox-1.31.1-r8.trigger 18:57:51 OK: 145 MiB in 45 packages 18:57:52 Removing intermediate container e2c6ec0cdbb1 18:57:52 ---> 29c0e71f77e1 18:57:52 Step 6/8 : WORKDIR /app 18:57:52 ---> Running in d28afd0094e0 18:57:52 Removing intermediate container d28afd0094e0 18:57:52 ---> 31ab62398fca 18:57:52 Step 7/8 : COPY . . 18:57:52 ---> 4edf7ff1a2ab 18:57:52 Step 8/8 : RUN go mod download 18:57:52 ---> Running in fe63f45bc3a2 18:57:57 go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 18:57:57 go: finding github.com/BurntSushi/toml v0.3.1 18:57:57 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:57:57 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:57:57 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:57:57 go: finding github.com/bgentry/speakeasy v0.1.0 18:57:57 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 18:57:57 go: finding github.com/davecgh/go-spew v1.1.1 18:57:57 go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 18:57:57 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 18:57:57 go: finding github.com/edgexfoundry/app-functions-sdk-go v1.0.1-dev.38 18:57:57 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 18:57:57 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 18:57:57 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.57 18:57:57 go: finding github.com/edgexfoundry/go-mod-messaging v0.1.19 18:57:57 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 18:57:57 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 18:57:57 go: finding github.com/fatih/color v1.7.0 18:57:57 go: finding github.com/fsnotify/fsnotify v1.4.7 18:57:57 go: finding github.com/fxamacker/cbor/v2 v2.2.0 18:57:57 go: finding github.com/go-kit/kit v0.8.0 18:57:57 go: finding github.com/go-logfmt/logfmt v0.4.0 18:57:57 go: finding github.com/go-redis/redis/v7 v7.2.0 18:57:57 go: finding github.com/go-stack/stack v1.8.0 18:57:57 go: finding github.com/golang/protobuf v1.3.2 18:57:57 go: finding github.com/golang/snappy v0.0.1 18:57:57 go: finding github.com/gomodule/redigo v2.0.0+incompatible 18:57:57 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:57:57 go: finding github.com/google/go-cmp v0.4.0 18:57:57 go: finding github.com/google/uuid v1.1.1 18:57:57 go: finding github.com/gorilla/mux v1.7.4 18:57:57 go: finding github.com/hashicorp/consul/api v1.1.0 18:57:57 go: finding github.com/hashicorp/consul/sdk v0.1.1 18:57:57 go: finding github.com/hashicorp/errwrap v1.0.0 18:57:57 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 18:57:57 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:57:57 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:57:57 go: finding github.com/hashicorp/go-multierror v1.0.0 18:57:57 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:57:57 go: finding github.com/hashicorp/go-sockaddr v1.0.0 18:57:57 go: finding github.com/hashicorp/go-syslog v1.0.0 18:57:57 go: finding github.com/hashicorp/go-uuid v1.0.1 18:57:57 go: finding github.com/hashicorp/go.net v0.0.1 18:57:57 go: finding github.com/hashicorp/golang-lru v0.5.0 18:57:57 go: finding github.com/hashicorp/logutils v1.0.0 18:57:57 go: finding github.com/hashicorp/mdns v1.0.0 18:57:57 go: finding github.com/hashicorp/memberlist v0.1.3 18:57:57 go: finding github.com/hashicorp/serf v0.8.2 18:57:57 go: finding github.com/hpcloud/tail v1.0.0 18:57:57 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:57:57 go: finding github.com/kr/pretty v0.1.0 18:57:58 go: finding github.com/kr/pty v1.1.1 18:57:58 go: finding github.com/kr/text v0.1.0 18:57:58 go: finding github.com/mattn/go-colorable v0.0.9 18:57:58 go: finding github.com/mattn/go-isatty v0.0.3 18:57:58 go: finding github.com/miekg/dns v1.0.14 18:57:58 go: finding github.com/mitchellh/cli v1.0.0 18:57:58 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:57:58 go: finding github.com/mitchellh/copystructure v1.0.0 18:57:58 go: finding github.com/mitchellh/go-homedir v1.0.0 18:57:58 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:57:58 go: finding github.com/mitchellh/gox v0.4.0 18:57:58 go: finding github.com/mitchellh/iochan v1.0.0 18:57:58 go: finding github.com/mitchellh/mapstructure v1.1.2 18:57:58 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:57:58 go: finding github.com/onsi/ginkgo v1.10.1 18:57:58 go: finding github.com/onsi/gomega v1.7.0 18:57:58 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:57:58 go: finding github.com/pebbe/zmq4 v1.0.0 18:57:58 go: finding github.com/pelletier/go-toml v1.2.0 18:57:58 go: finding github.com/pkg/errors v0.8.1 18:57:58 go: finding github.com/pmezard/go-difflib v1.0.0 18:57:58 go: finding github.com/posener/complete v1.1.1 18:57:58 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 18:57:58 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:57:58 go: finding github.com/stretchr/objx v0.2.0 18:57:58 go: finding github.com/stretchr/testify v1.5.1 18:57:58 go: finding github.com/tidwall/pretty v1.0.1 18:57:58 go: finding github.com/ugorji/go v1.1.4 18:57:58 go: finding github.com/x448/float16 v0.8.4 18:57:58 go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c 18:57:58 go: finding github.com/xdg/stringprep v1.0.0 18:57:58 go: finding go.mongodb.org/mongo-driver v1.1.1 18:57:59 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 18:57:59 go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 18:57:59 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:57:59 go: finding golang.org/x/sys v0.0.0-20191010194322-b09406accb47 18:57:59 go: finding golang.org/x/text v0.3.2 18:57:59 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 18:57:59 go: finding golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 18:57:59 go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 18:57:59 go: finding gopkg.in/fsnotify.v1 v1.4.7 18:57:59 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 18:57:59 go: finding gopkg.in/yaml.v2 v2.2.8 18:58:15 Removing intermediate container fe63f45bc3a2 18:58:15 ---> 94e6c8b91319 18:58:15 Successfully built 94e6c8b91319 18:58:15 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 18:58:16 + docker inspect -f . ci-base-image-x86_64 18:58:16 . [Pipeline] withDockerContainer 18:58:16 prd-centos7-docker-4c-2g-6512 does not seem to be running inside a container 18:58:16 $ 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 ******** ci-base-image-x86_64 cat 18:58:18 $ docker top 69ecf82f4c6377669bab4f03338eefaba8a59bec4cd3cf62212ddf5840c90a90 -eo pid,comm [Pipeline] { [Pipeline] sh 18:58:19 + go version 18:58:19 go version go1.13.5 linux/amd64 [Pipeline] sh 18:58:20 + make test 18:58:20 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:58:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6513 in /w/workspace/y_app-service-configurable_PR-68 [Pipeline] { [Pipeline] ws 18:58:28 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 18:58:34 using credential edgex-jenkins-ssh 18:58:34 Cloning the remote Git repository 18:58:34 Cloning with configured refspecs honoured and without tags 18:58:35 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 18:58:35 > git init /w/workspace/app-service-configurable/2 # timeout=10 18:58:35 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:58:35 > git --version # timeout=10 18:58:35 using GIT_SSH to set credentials SSH Credentials for GitHub 18:58:36 Fetching without tags 18:58:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/68/head:refs/remotes/origin/PR-68 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:58:35 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:58:36 > git config --add remote.origin.fetch +refs/pull/68/head:refs/remotes/origin/PR-68 # timeout=10 18:58:36 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:58:36 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:58:36 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:58:36 using GIT_SSH to set credentials SSH Credentials for GitHub 18:58:36 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/68/head:refs/remotes/origin/PR-68 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:58:36 Merging remotes/origin/master commit 2dd054fbbcb98df90e46da0c3973c31ac0e9886a into PR head commit 2bd9fe6258aa81b8938938f802176ed26ba54794 18:58:37 Merge succeeded, producing 2bd9fe6258aa81b8938938f802176ed26ba54794 18:58:37 Checking out Revision 2bd9fe6258aa81b8938938f802176ed26ba54794 (PR-68) 18:58:36 > git config core.sparsecheckout # timeout=10 18:58:36 > git checkout -f 2bd9fe6258aa81b8938938f802176ed26ba54794 # timeout=10 18:58:36 > git remote # timeout=10 18:58:36 > git config --get remote.origin.url # timeout=10 18:58:36 using GIT_SSH to set credentials SSH Credentials for GitHub 18:58:36 > git merge 2dd054fbbcb98df90e46da0c3973c31ac0e9886a # timeout=10 18:58:37 > git rev-parse HEAD^{commit} # timeout=10 18:58:37 > git config core.sparsecheckout # timeout=10 18:58:37 > git checkout -f 2bd9fe6258aa81b8938938f802176ed26ba54794 # timeout=10 18:58:41 Commit message: "refector: Change Database to be Redis and add -cp command line to Dockerfile entrypoint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:58:43 ========================================================= 18:58:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 18:58:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:58:44 + 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 . 18:58:44 Sending build context to Docker daemon 266.2kB 18:58:45 Step 1/8 : ARG BASE=golang:1.13-alpine 18:58:45 Step 2/8 : FROM ${BASE} 18:58:45 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:58:45 cde5963f3b93: Pulling fs layer 18:58:45 2a23fa8c16f7: Pulling fs layer 18:58:45 777b28850792: Pulling fs layer 18:58:45 8a11ddd9e578: Pulling fs layer 18:58:45 4cf88f913ddb: Pulling fs layer 18:58:45 1df406cf5192: Pulling fs layer 18:58:45 cd6300453558: Pulling fs layer 18:58:45 b9c365052c96: Pulling fs layer 18:58:45 a2d8cc88f415: Pulling fs layer 18:58:45 ea1d1ca13537: Pulling fs layer 18:58:45 3750a50a1c5e: Pulling fs layer 18:58:45 8a11ddd9e578: Waiting 18:58:45 4cf88f913ddb: Waiting 18:58:45 1df406cf5192: Waiting 18:58:45 cd6300453558: Waiting 18:58:45 b9c365052c96: Waiting 18:58:45 a2d8cc88f415: Waiting 18:58:45 ea1d1ca13537: Waiting 18:58:45 3750a50a1c5e: Waiting 18:58:45 777b28850792: Verifying Checksum 18:58:45 777b28850792: Download complete 18:58:45 2a23fa8c16f7: Verifying Checksum 18:58:45 2a23fa8c16f7: Download complete 18:58:45 4cf88f913ddb: Verifying Checksum 18:58:45 4cf88f913ddb: Download complete 18:58:45 1df406cf5192: Download complete 18:58:45 cde5963f3b93: Verifying Checksum 18:58:45 cde5963f3b93: Download complete 18:58:46 cde5963f3b93: Pull complete 18:58:47 2a23fa8c16f7: Pull complete 18:58:47 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:58:47 CGO_ENABLED=1 go vet ./... 18:58:47 777b28850792: Pull complete 18:58:50 gofmt -l . 18:58:50 [ "`gofmt -l .`" = "" ] 18:58:50 ./bin/test-go-mod-tidy.sh 18:58:50 cd6300453558: Verifying Checksum 18:58:50 cd6300453558: Download complete 18:58:50 a2d8cc88f415: Verifying Checksum 18:58:50 a2d8cc88f415: Download complete 18:58:52 ./bin/test-attribution-txt.sh 18:58:52 ea1d1ca13537: Verifying Checksum 18:58:52 ea1d1ca13537: Download complete 18:58:52 3750a50a1c5e: Verifying Checksum 18:58:52 3750a50a1c5e: Download complete [Pipeline] stash 18:58:54 Stashed 1 file(s) [Pipeline] } 18:58:54 $ docker stop --time=1 69ecf82f4c6377669bab4f03338eefaba8a59bec4cd3cf62212ddf5840c90a90 18:58:55 b9c365052c96: Verifying Checksum 18:58:55 b9c365052c96: Download complete 18:58:55 $ docker rm -f 69ecf82f4c6377669bab4f03338eefaba8a59bec4cd3cf62212ddf5840c90a90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:58:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:58:57 8a11ddd9e578: Verifying Checksum 18:58:57 8a11ddd9e578: Download complete 18:58:57 + ls -al . 18:58:57 total 104 18:58:57 drwxrwxr-x. 7 jenkins jenkins 4096 Apr 28 18:58 . 18:58:57 drwxrwxr-x. 4 jenkins jenkins 28 Apr 28 18:57 .. 18:58:57 -rw-rw-r--. 1 jenkins jenkins 6027 Apr 28 18:57 Attribution.txt 18:58:57 drwxrwxr-x. 2 jenkins jenkins 64 Apr 28 18:57 bin 18:58:57 -rw-r--r--. 1 jenkins jenkins 10 Apr 28 18:58 coverage.out 18:58:57 -rw-rw-r--. 1 jenkins jenkins 180 Apr 28 18:57 docker-compose.debug.yml 18:58:57 -rw-rw-r--. 1 jenkins jenkins 133 Apr 28 18:57 docker-compose.yml 18:58:57 -rw-rw-r--. 1 jenkins jenkins 1896 Apr 28 18:57 Dockerfile 18:58:57 -rw-rw-r--. 1 jenkins jenkins 966 Apr 28 18:57 Dockerfile.build 18:58:57 -rw-rw-r--. 1 jenkins jenkins 127 Apr 28 18:57 .dockerignore 18:58:57 drwxrwxr-x. 8 jenkins jenkins 179 Apr 28 18:57 .git 18:58:57 -rw-rw-r--. 1 jenkins jenkins 93 Apr 28 18:57 .gitignore 18:58:57 -rw-r--r--. 1 jenkins jenkins 133 Apr 28 18:58 go.mod 18:58:57 -rw-r--r--. 1 jenkins jenkins 18587 Apr 28 18:58 go.sum 18:58:57 -rw-rw-r--. 1 jenkins jenkins 689 Apr 28 18:57 Jenkinsfile 18:58:57 -rw-rw-r--. 1 jenkins jenkins 10174 Apr 28 18:57 LICENSE 18:58:57 -rw-rw-r--. 1 jenkins jenkins 1616 Apr 28 18:57 main.go 18:58:57 -rw-rw-r--. 1 jenkins jenkins 1486 Apr 28 18:57 makefile 18:58:57 -rw-rw-r--. 1 jenkins jenkins 10342 Apr 28 18:57 README.md 18:58:57 drwxrwxr-x. 10 jenkins jenkins 171 Apr 28 18:57 res 18:58:57 drwxrwxr-x. 3 jenkins jenkins 45 Apr 28 18:57 .semver 18:58:57 drwxrwxr-x. 4 jenkins jenkins 71 Apr 28 18:57 snap 18:58:57 -rw-rw-r--. 1 jenkins jenkins 5 Apr 28 18:54 VERSION [Pipeline] isUnix [Pipeline] sh 18:58:57 + 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=2bd9fe6258aa81b8938938f802176ed26ba54794 --label arch=amd64 --label version=0.0.0 . 18:58:58 Sending build context to Docker daemon 287.7kB 18:58:58 Step 1/24 : ARG BASE=golang:1.13-alpine 18:58:58 Step 2/24 : FROM ${BASE} AS builder 18:58:58 ---> 94e6c8b91319 18:58:58 Step 3/24 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:58:58 ---> Running in 332c58d4464f 18:58:58 Removing intermediate container 332c58d4464f 18:58:58 ---> 5075d970e396 18:58:58 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 18:58:58 ---> Running in ce5c0b77bc68 18:58:58 Removing intermediate container ce5c0b77bc68 18:58:58 ---> 3a3d0325d21d 18:58:58 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:58:58 ---> Running in 073d795ca742 18:58:58 Removing intermediate container 073d795ca742 18:58:58 ---> 1de6b2e6e8b9 18:58:58 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:58:58 ---> Running in e23faad8022e 18:59:00 Removing intermediate container e23faad8022e 18:59:00 ---> 9e0b66f7dc32 18:59:00 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:59:00 ---> Running in cc89ac18639d 18:59:01 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 18:59:02 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 18:59:03 OK: 145 MiB in 45 packages 18:59:03 Removing intermediate container cc89ac18639d 18:59:03 ---> 94c1692369ed 18:59:03 Step 8/24 : WORKDIR /app 18:59:03 ---> Running in 1b219e12a30a 18:59:04 Removing intermediate container 1b219e12a30a 18:59:04 ---> 2cdf61071371 18:59:04 Step 9/24 : COPY go.mod . 18:59:04 ---> 625571847ac1 18:59:04 Step 10/24 : RUN go mod download 18:59:04 ---> Running in 534056f087ed 18:59:06 Removing intermediate container 534056f087ed 18:59:06 ---> 9349f7ec39e3 18:59:06 Step 11/24 : COPY . . 18:59:06 ---> 7d1db95ca527 18:59:06 Step 12/24 : ARG MAKE="make build" 18:59:06 ---> Running in aaa25a35d059 18:59:07 Removing intermediate container aaa25a35d059 18:59:07 ---> 601b30cb6847 18:59:07 Step 13/24 : RUN $MAKE 18:59:07 ---> Running in 0e17225e5089 18:59:07 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/internal.SDKVersion=v1.0.1-dev.38 -X github.com/edgexfoundry/app-functions-sdk-go/internal.ApplicationVersion=0.0.0" -o app-service-configurable 18:59:09 8a11ddd9e578: Pull complete 18:59:09 4cf88f913ddb: Pull complete 18:59:09 1df406cf5192: Pull complete 18:59:14 cd6300453558: Pull complete 18:59:19 b9c365052c96: Pull complete 18:59:19 a2d8cc88f415: Pull complete 18:59:21 ea1d1ca13537: Pull complete 18:59:21 3750a50a1c5e: Pull complete 18:59:21 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 18:59:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 18:59:21 ---> 78745c68409d 18:59:21 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:59:25 ---> Running in 881eabfe3303 18:59:25 Removing intermediate container 881eabfe3303 18:59:25 ---> 6063278a88a1 18:59:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:59:25 ---> Running in 3f33e5bd1a25 18:59:27 Removing intermediate container 3f33e5bd1a25 18:59:27 ---> 74e526095b1c 18:59:27 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 18:59:28 ---> Running in c7cde7125ace 18:59:29 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 18:59:29 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 18:59:30 (1/6) Installing libc-dev (0.7.2-r0) 18:59:30 (2/6) Installing libsodium (1.0.18-r0) 18:59:30 (3/6) Installing pkgconf (1.6.3-r0) 18:59:30 (4/6) Installing libsodium-dev (1.0.18-r0) 18:59:30 (5/6) Installing libzmq (4.3.2-r0) 18:59:30 (6/6) Installing zeromq-dev (4.3.2-r0) 18:59:30 Executing busybox-1.31.1-r8.trigger 18:59:30 OK: 127 MiB in 45 packages 18:59:32 Removing intermediate container c7cde7125ace 18:59:32 ---> 527941831f4e 18:59:32 Step 6/8 : WORKDIR /app 18:59:32 ---> Running in ce130caa7f5f 18:59:32 Removing intermediate container ce130caa7f5f 18:59:32 ---> 82de20c31163 18:59:32 Step 7/8 : COPY . . 18:59:33 ---> dcd58170420f 18:59:33 Step 8/8 : RUN go mod download 18:59:33 ---> Running in f1ed64d23163 18:59:36 go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 18:59:36 go: finding github.com/BurntSushi/toml v0.3.1 18:59:36 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:59:36 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:59:36 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:59:36 go: finding github.com/bgentry/speakeasy v0.1.0 18:59:36 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 18:59:36 go: finding github.com/davecgh/go-spew v1.1.1 18:59:36 go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 18:59:36 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 18:59:36 go: finding github.com/edgexfoundry/app-functions-sdk-go v1.0.1-dev.38 18:59:36 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 18:59:36 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 18:59:36 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.57 18:59:36 go: finding github.com/edgexfoundry/go-mod-messaging v0.1.19 18:59:36 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 18:59:36 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 18:59:36 go: finding github.com/fatih/color v1.7.0 18:59:36 go: finding github.com/fsnotify/fsnotify v1.4.7 18:59:36 go: finding github.com/fxamacker/cbor/v2 v2.2.0 18:59:36 go: finding github.com/go-kit/kit v0.8.0 18:59:36 go: finding github.com/go-logfmt/logfmt v0.4.0 18:59:36 go: finding github.com/go-redis/redis/v7 v7.2.0 18:59:36 go: finding github.com/go-stack/stack v1.8.0 18:59:36 go: finding github.com/golang/protobuf v1.3.2 18:59:36 go: finding github.com/golang/snappy v0.0.1 18:59:36 go: finding github.com/gomodule/redigo v2.0.0+incompatible 18:59:36 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:59:36 go: finding github.com/google/go-cmp v0.4.0 18:59:36 go: finding github.com/google/uuid v1.1.1 18:59:36 go: finding github.com/gorilla/mux v1.7.4 18:59:36 go: finding github.com/hashicorp/consul/api v1.1.0 18:59:36 go: finding github.com/hashicorp/consul/sdk v0.1.1 18:59:36 go: finding github.com/hashicorp/errwrap v1.0.0 18:59:36 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 18:59:36 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:59:36 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:59:36 go: finding github.com/hashicorp/go-multierror v1.0.0 18:59:36 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:59:36 go: finding github.com/hashicorp/go-sockaddr v1.0.0 18:59:36 go: finding github.com/hashicorp/go-syslog v1.0.0 18:59:36 go: finding github.com/hashicorp/go-uuid v1.0.1 18:59:36 go: finding github.com/hashicorp/go.net v0.0.1 18:59:36 go: finding github.com/hashicorp/golang-lru v0.5.0 18:59:36 go: finding github.com/hashicorp/logutils v1.0.0 18:59:36 go: finding github.com/hashicorp/mdns v1.0.0 18:59:36 go: finding github.com/hashicorp/memberlist v0.1.3 18:59:36 go: finding github.com/hashicorp/serf v0.8.2 18:59:36 go: finding github.com/hpcloud/tail v1.0.0 18:59:36 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:59:36 go: finding github.com/kr/pretty v0.1.0 18:59:36 go: finding github.com/kr/pty v1.1.1 18:59:36 go: finding github.com/kr/text v0.1.0 18:59:36 go: finding github.com/mattn/go-colorable v0.0.9 18:59:36 go: finding github.com/mattn/go-isatty v0.0.3 18:59:36 go: finding github.com/miekg/dns v1.0.14 18:59:36 go: finding github.com/mitchellh/cli v1.0.0 18:59:36 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:59:36 go: finding github.com/mitchellh/copystructure v1.0.0 18:59:36 go: finding github.com/mitchellh/go-homedir v1.0.0 18:59:37 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:59:37 go: finding github.com/mitchellh/gox v0.4.0 18:59:37 go: finding github.com/mitchellh/iochan v1.0.0 18:59:37 go: finding github.com/mitchellh/mapstructure v1.1.2 18:59:37 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:59:37 go: finding github.com/onsi/ginkgo v1.10.1 18:59:37 go: finding github.com/onsi/gomega v1.7.0 18:59:37 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:59:37 go: finding github.com/pebbe/zmq4 v1.0.0 18:59:37 go: finding github.com/pelletier/go-toml v1.2.0 18:59:37 go: finding github.com/pkg/errors v0.8.1 18:59:37 go: finding github.com/pmezard/go-difflib v1.0.0 18:59:37 go: finding github.com/posener/complete v1.1.1 18:59:37 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 18:59:37 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:59:37 go: finding github.com/stretchr/objx v0.2.0 18:59:37 go: finding github.com/stretchr/testify v1.5.1 18:59:37 go: finding github.com/tidwall/pretty v1.0.1 18:59:37 go: finding github.com/ugorji/go v1.1.4 18:59:37 go: finding github.com/x448/float16 v0.8.4 18:59:37 go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c 18:59:37 go: finding github.com/xdg/stringprep v1.0.0 18:59:37 go: finding go.mongodb.org/mongo-driver v1.1.1 18:59:37 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 18:59:37 go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 18:59:37 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:59:37 go: finding golang.org/x/sys v0.0.0-20191010194322-b09406accb47 18:59:37 go: finding golang.org/x/text v0.3.2 18:59:37 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 18:59:37 go: finding golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 18:59:37 go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 18:59:37 go: finding gopkg.in/fsnotify.v1 v1.4.7 18:59:37 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 18:59:37 go: finding gopkg.in/yaml.v2 v2.2.8 18:59:40 Removing intermediate container 0e17225e5089 18:59:40 ---> e3d401e0c728 18:59:40 Step 14/24 : FROM alpine:latest 18:59:40 latest: Pulling from library/alpine 18:59:40 cbdbe7a5bc2a: Pulling fs layer 18:59:40 cbdbe7a5bc2a: Verifying Checksum 18:59:40 cbdbe7a5bc2a: Download complete 18:59:41 cbdbe7a5bc2a: Pull complete 18:59:41 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 18:59:41 Status: Downloaded newer image for alpine:latest 18:59:41 ---> f70734b6a266 18:59:41 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:59:41 ---> Running in 366cb12e3ec7 18:59:41 Removing intermediate container 366cb12e3ec7 18:59:41 ---> 6b53305ce3f0 18:59:41 Step 16/24 : LABEL Name=app-service-configurable Version=${VERSION} 18:59:41 ---> Running in 230a7a0145c7 18:59:41 Removing intermediate container 230a7a0145c7 18:59:41 ---> fb9076969490 18:59:41 Step 17/24 : RUN apk --no-cache add ca-certificates zeromq 18:59:41 ---> Running in 8a43d0d86e6c 18:59:42 fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 18:59:42 fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 18:59:42 (1/6) Installing ca-certificates (20191127-r1) 18:59:42 (2/6) Installing libgcc (9.2.0-r4) 18:59:42 (3/6) Installing libsodium (1.0.18-r0) 18:59:42 (4/6) Installing libstdc++ (9.2.0-r4) 18:59:42 (5/6) Installing libzmq (4.3.2-r0) 18:59:42 (6/6) Installing zeromq (4.3.2-r0) 18:59:42 Executing busybox-1.31.1-r9.trigger 18:59:42 Executing ca-certificates-20191127-r1.trigger 18:59:42 OK: 9 MiB in 20 packages 18:59:43 Removing intermediate container 8a43d0d86e6c 18:59:43 ---> 097178522506 18:59:43 Step 18/24 : COPY --from=builder /app/res/ /res/ 18:59:43 ---> e189e0c1be47 18:59:43 Step 19/24 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:59:43 ---> e7ca9197a9af 18:59:43 Step 20/24 : EXPOSE 48095 18:59:44 ---> Running in fa869fbc6803 18:59:44 Removing intermediate container fa869fbc6803 18:59:44 ---> 77aa717d4193 18:59:44 Step 21/24 : ENTRYPOINT ["/app-service-configurable", "-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:59:44 ---> Running in 665cdd9bf4c4 18:59:44 Removing intermediate container 665cdd9bf4c4 18:59:44 ---> 62a7f2d9175a 18:59:44 Step 22/24 : LABEL arch=amd64 18:59:44 ---> Running in 3ae509c6bfce 18:59:44 Removing intermediate container 3ae509c6bfce 18:59:44 ---> 3b2d6e2df681 18:59:44 Step 23/24 : LABEL git_sha=2bd9fe6258aa81b8938938f802176ed26ba54794 18:59:44 ---> Running in d9141dd0a90d 18:59:44 Removing intermediate container d9141dd0a90d 18:59:44 ---> 3aae28d266a9 18:59:44 Step 24/24 : LABEL version=0.0.0 18:59:45 ---> Running in 951327a6697f 18:59:45 Removing intermediate container 951327a6697f 18:59:45 ---> b3b688285fe1 18:59:45 [Warning] One or more build-args [ARCH] were not consumed 18:59:45 Successfully built b3b688285fe1 18:59:45 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] } 18:59:56 Removing intermediate container f1ed64d23163 18:59:56 ---> b164a4460cb4 18:59:56 Successfully built b164a4460cb4 18:59:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:59:56 + docker inspect -f . ci-base-image-arm64 18:59:56 . [Pipeline] withDockerContainer 18:59:57 prd-ubuntu18.04-docker-arm64-4c-16g-6513 does not seem to be running inside a container 18:59:57 $ 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 ******** ci-base-image-arm64 cat 18:59:59 $ docker top abab301b6bc1396d70acfb76063fbba08fd6790b290eb992c112fa4ba7c1bd67 -eo pid,comm [Pipeline] { [Pipeline] sh 19:00:00 + go version 19:00:00 go version go1.13.5 linux/arm64 [Pipeline] sh 19:00:00 + make test 19:00:00 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 19:00:47 ? github.com/edgexfoundry/app-service-configurable [no test files] 19:00:47 CGO_ENABLED=1 go vet ./... 19:00:55 gofmt -l . 19:00:55 [ "`gofmt -l .`" = "" ] 19:00:55 ./bin/test-go-mod-tidy.sh 19:00:55 ./bin/test-attribution-txt.sh [Pipeline] stash 19:00:55 Warning: overwriting stash ‘coverage-report’ 19:00:56 Stashed 1 file(s) [Pipeline] } 19:00:56 $ docker stop --time=1 abab301b6bc1396d70acfb76063fbba08fd6790b290eb992c112fa4ba7c1bd67 19:00:58 $ docker rm -f abab301b6bc1396d70acfb76063fbba08fd6790b290eb992c112fa4ba7c1bd67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:00:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:01:00 + ls -al . 19:01:00 total 128 19:01:00 drwxrwxr-x 7 jenkins jenkins 4096 Apr 28 19:00 . 19:01:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 18:58 .. 19:01:00 -rw-rw-r-- 1 jenkins jenkins 127 Apr 28 18:58 .dockerignore 19:01:00 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 18:58 .git 19:01:00 -rw-rw-r-- 1 jenkins jenkins 93 Apr 28 18:58 .gitignore 19:01:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 18:58 .semver 19:01:00 -rw-rw-r-- 1 jenkins jenkins 6027 Apr 28 18:58 Attribution.txt 19:01:00 -rw-rw-r-- 1 jenkins jenkins 1896 Apr 28 18:58 Dockerfile 19:01:00 -rw-rw-r-- 1 jenkins jenkins 966 Apr 28 18:58 Dockerfile.build 19:01:00 -rw-rw-r-- 1 jenkins jenkins 689 Apr 28 18:58 Jenkinsfile 19:01:00 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 28 18:58 LICENSE 19:01:00 -rw-rw-r-- 1 jenkins jenkins 10342 Apr 28 18:58 README.md 19:01:00 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 18:54 VERSION 19:01:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 18:58 bin 19:01:00 -rw-r--r-- 1 jenkins jenkins 10 Apr 28 19:00 coverage.out 19:01:00 -rw-rw-r-- 1 jenkins jenkins 180 Apr 28 18:58 docker-compose.debug.yml 19:01:00 -rw-rw-r-- 1 jenkins jenkins 133 Apr 28 18:58 docker-compose.yml 19:01:00 -rw-r--r-- 1 jenkins jenkins 133 Apr 28 19:00 go.mod 19:01:00 -rw-r--r-- 1 jenkins jenkins 18587 Apr 28 19:00 go.sum 19:01:00 -rw-rw-r-- 1 jenkins jenkins 1616 Apr 28 18:58 main.go 19:01:00 -rw-rw-r-- 1 jenkins jenkins 1486 Apr 28 18:58 makefile 19:01:00 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 18:58 res 19:01:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 18:58 snap [Pipeline] isUnix [Pipeline] sh 19:01:00 + 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=2bd9fe6258aa81b8938938f802176ed26ba54794 --label arch=arm64 --label version=0.0.0 . 19:01:00 Sending build context to Docker daemon 287.7kB 19:01:01 Step 1/24 : ARG BASE=golang:1.13-alpine 19:01:01 Step 2/24 : FROM ${BASE} AS builder 19:01:01 ---> b164a4460cb4 19:01:01 Step 3/24 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:01:01 ---> Running in 3d6b3aecbe36 19:01:01 Removing intermediate container 3d6b3aecbe36 19:01:01 ---> 904b05b90452 19:01:01 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 19:01:01 ---> Running in ca26744df1c9 19:01:01 Removing intermediate container ca26744df1c9 19:01:01 ---> afffd74a4501 19:01:01 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:01:02 ---> Running in 98e9e82197f8 19:01:02 Removing intermediate container 98e9e82197f8 19:01:02 ---> 7389764c49d4 19:01:02 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:01:02 ---> Running in 53964197179b 19:01:04 Removing intermediate container 53964197179b 19:01:04 ---> ff252de17024 19:01:04 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:01:04 ---> Running in bd879b5cc284 19:01:05 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 19:01:06 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 19:01:06 OK: 127 MiB in 45 packages 19:01:07 Removing intermediate container bd879b5cc284 19:01:07 ---> 9d99a5f36802 19:01:07 Step 8/24 : WORKDIR /app 19:01:07 ---> Running in f35794d58990 19:01:08 Removing intermediate container f35794d58990 19:01:08 ---> 1a570889a87a 19:01:08 Step 9/24 : COPY go.mod . 19:01:09 ---> c6ef14d921c1 19:01:09 Step 10/24 : RUN go mod download 19:01:09 ---> Running in f61ed8c81788 19:01:10 Removing intermediate container f61ed8c81788 19:01:10 ---> 6245d96d68d9 19:01:10 Step 11/24 : COPY . . 19:01:11 ---> e295fbb07c94 19:01:11 Step 12/24 : ARG MAKE="make build" 19:01:11 ---> Running in e20ff040e88e 19:01:12 Removing intermediate container e20ff040e88e 19:01:12 ---> 1aeef3cc3dda 19:01:12 Step 13/24 : RUN $MAKE 19:01:12 ---> Running in ae20e9c2237e 19:01:13 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/internal.SDKVersion=v1.0.1-dev.38 -X github.com/edgexfoundry/app-functions-sdk-go/internal.ApplicationVersion=0.0.0" -o app-service-configurable 19:02:10 Removing intermediate container ae20e9c2237e 19:02:10 ---> e17fe1cfe73e 19:02:10 Step 14/24 : FROM alpine:latest 19:02:10 latest: Pulling from library/alpine 19:02:10 29e5d40040c1: Pulling fs layer 19:02:10 29e5d40040c1: Verifying Checksum 19:02:10 29e5d40040c1: Download complete 19:02:10 29e5d40040c1: Pull complete 19:02:10 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 19:02:10 Status: Downloaded newer image for alpine:latest 19:02:10 ---> c20d2a9ab686 19:02:10 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:02:10 ---> Running in d489ffcf7e21 19:02:10 Removing intermediate container d489ffcf7e21 19:02:10 ---> 46943c8613c4 19:02:10 Step 16/24 : LABEL Name=app-service-configurable Version=${VERSION} 19:02:10 ---> Running in 31da7e90dd23 19:02:10 Removing intermediate container 31da7e90dd23 19:02:10 ---> 730a4f859ace 19:02:10 Step 17/24 : RUN apk --no-cache add ca-certificates zeromq 19:02:10 ---> Running in b05f5993fae2 19:02:10 fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 19:02:10 fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 19:02:10 (1/6) Installing ca-certificates (20191127-r1) 19:02:10 (2/6) Installing libgcc (9.2.0-r4) 19:02:10 (3/6) Installing libsodium (1.0.18-r0) 19:02:10 (4/6) Installing libstdc++ (9.2.0-r4) 19:02:10 (5/6) Installing libzmq (4.3.2-r0) 19:02:10 (6/6) Installing zeromq (4.3.2-r0) 19:02:10 Executing busybox-1.31.1-r9.trigger 19:02:10 Executing ca-certificates-20191127-r1.trigger 19:02:10 OK: 9 MiB in 20 packages 19:02:10 Removing intermediate container b05f5993fae2 19:02:10 ---> f4fa243905f4 19:02:10 Step 18/24 : COPY --from=builder /app/res/ /res/ 19:02:10 ---> fe84dfbbb25d 19:02:10 Step 19/24 : COPY --from=builder /app/app-service-configurable /app-service-configurable 19:02:10 ---> fb679730a432 19:02:10 Step 20/24 : EXPOSE 48095 19:02:10 ---> Running in 8a92b1542fb5 19:02:10 Removing intermediate container 8a92b1542fb5 19:02:10 ---> 98d5bda28b34 19:02:10 Step 21/24 : ENTRYPOINT ["/app-service-configurable", "-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:02:10 ---> Running in 6cc864d2fe08 19:02:10 Removing intermediate container 6cc864d2fe08 19:02:10 ---> ca7aecaccfa1 19:02:10 Step 22/24 : LABEL arch=arm64 19:02:10 ---> Running in a6d815153c17 19:02:10 Removing intermediate container a6d815153c17 19:02:10 ---> 6903cc687add 19:02:10 Step 23/24 : LABEL git_sha=2bd9fe6258aa81b8938938f802176ed26ba54794 19:02:10 ---> Running in 483317c3c656 19:02:10 Removing intermediate container 483317c3c656 19:02:10 ---> 37315c4c8f85 19:02:10 Step 24/24 : LABEL version=0.0.0 19:02:10 ---> Running in 3802d45ee4f5 19:02:11 Removing intermediate container 3802d45ee4f5 19:02:11 ---> 6b7c7d6789e3 19:02:11 [Warning] One or more build-args [ARCH] were not consumed 19:02:11 Successfully built 6b7c7d6789e3 19:02:11 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 19:02:12 provisioning config files... 19:02:12 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/y_app-service-configurable_PR-68@tmp/config2405232087272058905tmp [Pipeline] { [Pipeline] sh 19:02:12 + curl -s https://codecov.io/bash 19:02:12 + bash -s - -t @/w/workspace/y_app-service-configurable_PR-68@tmp/config2405232087272058905tmp 19:02:13 19:02:13 _____ _ 19:02:13 / ____| | | 19:02:13 | | ___ __| | ___ ___ _____ __ 19:02:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:02:13 | |___| (_) | (_| | __/ (_| (_) \ V / 19:02:13 \_____\___/ \__,_|\___|\___\___/ \_/ 19:02:13 Bash-tbd 19:02:13 19:02:13 19:02:13 ==> Jenkins CI detected. 19:02:13 project root: . 19:02:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:02:13 ==> Running gcov in . (disable via -X gcov) 19:02:13 ==> Python coveragepy not found 19:02:13 ==> Searching for coverage reports in: 19:02:13 + . 19:02:13 -> Found 1 reports 19:02:13 ==> Detecting git/mercurial file structure 19:02:13 ==> Reading reports 19:02:13 + ./coverage.out bytes=10 19:02:13 ==> Appending adjustments 19:02:13 http://docs.codecov.io/docs/fixing-reports 19:02:13 + Found adjustments 19:02:13 ==> Gzipping contents 19:02:13 ==> Uploading reports 19:02:13 url: https://codecov.io 19:02:13 query: branch=PR-68&commit=2bd9fe6258aa81b8938938f802176ed26ba54794&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-68%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=68&job= 19:02:13 -> Pinging Codecov 19:02:13 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-68&commit=2bd9fe6258aa81b8938938f802176ed26ba54794&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-68%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=68&job= 19:02:13 -> Uploading 19:02:13 -> View reports at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/2bd9fe6258aa81b8938938f802176ed26ba54794 [Pipeline] } 19:02:13 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 19:02:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:02:15 ---> package-listing.sh 19:02:15 ++ facter osfamily 19:02:15 ++ tr '[:upper:]' '[:lower:]' 19:02:15 + OS_FAMILY=redhat 19:02:15 + workspace=/w/workspace/y_app-service-configurable_PR-68 19:02:15 + START_PACKAGES=/tmp/packages_start.txt 19:02:15 + END_PACKAGES=/tmp/packages_end.txt 19:02:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:02:15 + PACKAGES=/tmp/packages_start.txt 19:02:15 + '[' /w/workspace/y_app-service-configurable_PR-68 ']' 19:02:15 + PACKAGES=/tmp/packages_end.txt 19:02:15 + case "${OS_FAMILY}" in 19:02:15 + rpm -qa 19:02:15 + sort 19:02:19 + '[' -f /tmp/packages_start.txt ']' 19:02:19 + '[' -f /tmp/packages_end.txt ']' 19:02:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:02:19 + '[' /w/workspace/y_app-service-configurable_PR-68 ']' 19:02:19 + mkdir -p /w/workspace/y_app-service-configurable_PR-68/archives/ 19:02:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-service-configurable_PR-68/archives/ [Pipeline] isUnix [Pipeline] sh 19:02:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:02:20 19:02:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:02:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:02:20 alpine: Pulling from edgex-lftools-log-publisher 19:02:20 c9b1b535fdd9: Pulling fs layer 19:02:20 2cc5ad85d9ab: Pulling fs layer 19:02:20 756a868c4378: Pulling fs layer 19:02:20 444b2fc9a129: Pulling fs layer 19:02:20 ea15f1150254: Pulling fs layer 19:02:20 41b27a9f41bf: Pulling fs layer 19:02:20 28c525ee5125: Pulling fs layer 19:02:20 094b1ea09ed8: Pulling fs layer 19:02:20 444b2fc9a129: Waiting 19:02:20 ea15f1150254: Waiting 19:02:20 28c525ee5125: Waiting 19:02:20 138eaada9080: Pulling fs layer 19:02:20 0622d0fa9048: Pulling fs layer 19:02:20 138eaada9080: Waiting 19:02:20 0622d0fa9048: Waiting 19:02:20 094b1ea09ed8: Waiting 19:02:20 2cc5ad85d9ab: Download complete 19:02:20 444b2fc9a129: Verifying Checksum 19:02:20 444b2fc9a129: Download complete 19:02:20 c9b1b535fdd9: Download complete 19:02:20 ea15f1150254: Verifying Checksum 19:02:20 ea15f1150254: Download complete 19:02:20 28c525ee5125: Verifying Checksum 19:02:20 28c525ee5125: Download complete 19:02:21 756a868c4378: Verifying Checksum 19:02:21 756a868c4378: Download complete 19:02:21 c9b1b535fdd9: Pull complete 19:02:21 138eaada9080: Verifying Checksum 19:02:21 138eaada9080: Download complete 19:02:21 094b1ea09ed8: Verifying Checksum 19:02:21 094b1ea09ed8: Download complete 19:02:21 0622d0fa9048: Verifying Checksum 19:02:21 0622d0fa9048: Download complete 19:02:21 2cc5ad85d9ab: Pull complete 19:02:21 41b27a9f41bf: Verifying Checksum 19:02:21 41b27a9f41bf: Download complete 19:02:23 756a868c4378: Pull complete 19:02:23 444b2fc9a129: Pull complete 19:02:23 ea15f1150254: Pull complete 19:02:27 41b27a9f41bf: Pull complete 19:02:27 28c525ee5125: Pull complete 19:02:28 094b1ea09ed8: Pull complete 19:02:28 138eaada9080: Pull complete 19:02:29 0622d0fa9048: Pull complete 19:02:29 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 19:02:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:02:29 prd-centos7-docker-4c-2g-6511 does not seem to be running inside a container 19:02:29 $ 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-68 -v /w/workspace/y_app-service-configurable_PR-68:/w/workspace/y_app-service-configurable_PR-68:rw,z -v /w/workspace/y_app-service-configurable_PR-68@tmp:/w/workspace/y_app-service-configurable_PR-68@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 19:02:30 $ docker top e2974ac2f28e8ddcb7b59cead2d088adfa50627403d427af58c9d7068c1e46ba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:02:30 provisioning config files... 19:02:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-service-configurable_PR-68@tmp/config150217789257541139tmp [Pipeline] { [Pipeline] echo 19:02:30 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:02:31 ---> create-netrc.sh [Pipeline] echo 19:02:31 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:02:31 ---> logs-deploy.sh 19:02:31 + ARCHIVE_ARTIFACTS= 19:02:31 + LOGS_SERVER=https://logs.edgexfoundry.org 19:02:31 + '[' https://logs.edgexfoundry.org == None ']' 19:02:31 + NEXUS_URL=https://nexus.edgexfoundry.org 19:02:31 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-68/2 19:02:31 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/app-service-configurable/job/PR-68/2/ 19:02:31 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-68/2 /w/workspace/y_app-service-configurable_PR-68 19:02:32 Archives upload complete. 19:02:32 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-68/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/app-service-configurable/job/PR-68/2/