Pull request #68 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 82d94045010b7bd885873e385b4d61786308c571+2dd054fbbcb98df90e46da0c3973c31ac0e9886a (3fdce206c473e96a61559d6ea64713741a9ec8ba) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-6516 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 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 Fetching without tags Merging remotes/origin/master commit 2dd054fbbcb98df90e46da0c3973c31ac0e9886a into PR head commit 82d94045010b7bd885873e385b4d61786308c571 Merge succeeded, producing 82d94045010b7bd885873e385b4d61786308c571 Checking out Revision 82d94045010b7bd885873e385b4d61786308c571 (PR-68) > 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 > 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 82d94045010b7bd885873e385b4d61786308c571 # 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 82d94045010b7bd885873e385b4d61786308c571 # timeout=10 Commit message: "refector: Change Database to be Redis and add -cp command line to Dockerfile entrypoint" First time build. Skipping changelog. > git rev-list --no-walk 2bd9fe6258aa81b8938938f802176ed26ba54794 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:04:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:04:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:04:55 ========================================================= 19:04:55 EdgeX Global Pipelines Version Info 19:04:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:04:57 ------------------- 19:04:57 stable info: 19:04:57 ------------------- 19:04:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:04:57 Commit SHA: 997776a94285dd80d478e4f0c197496148fdc64f 19:04:57 Message: update stable to v1.0.86 19:04:57 ------------------- 19:04:57 experimental info: 19:04:57 ------------------- 19:04:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:04:57 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 19:04:57 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 19:04:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:04:59 19:04:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:04:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:04:59 latest: Pulling from edgex-devops/git-semver 19:04:59 9123ac7c32f7: Pulling fs layer 19:04:59 b8cc5d1170e3: Pulling fs layer 19:04:59 2924cbbf6a41: Pulling fs layer 19:04:59 93b08a4f1073: Pulling fs layer 19:04:59 93b08a4f1073: Waiting 19:04:59 b8cc5d1170e3: Verifying Checksum 19:04:59 b8cc5d1170e3: Download complete 19:05:00 9123ac7c32f7: Download complete 19:05:00 93b08a4f1073: Verifying Checksum 19:05:00 93b08a4f1073: Download complete 19:05:00 2924cbbf6a41: Verifying Checksum 19:05:00 2924cbbf6a41: Download complete 19:05:00 9123ac7c32f7: Pull complete 19:05:00 b8cc5d1170e3: Pull complete 19:05:01 2924cbbf6a41: Pull complete 19:05:01 93b08a4f1073: Pull complete 19:05:01 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 19:05:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:05:01 prd-centos7-docker-4c-2g-6516 does not seem to be running inside a container 19:05:01 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:05:02 $ docker top 82d1fdf557f66e0b3354d1c08b913745e22be18fdc6e098f7263f324f97a665a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:05:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:05:02 [ssh-agent] Looking for ssh-agent implementation... 19:05:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:05:02 $ docker exec 82d1fdf557f66e0b3354d1c08b913745e22be18fdc6e098f7263f324f97a665a ssh-agent 19:05:02 SSH_AUTH_SOCK=/tmp/ssh-bdunSTt4boua/agent.15 19:05:02 SSH_AGENT_PID=22 19:05:02 Running ssh-add (command line suppressed) 19:05:02 Identity added: /w/workspace/y_app-service-configurable_PR-68@tmp/private_key_3895738538748235920.key (/w/workspace/y_app-service-configurable_PR-68@tmp/private_key_3895738538748235920.key) 19:05:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:05:03 + git describe --exact-match --tags HEAD 19:05:03 fatal: No names found, cannot describe anything. [Pipeline] } 19:05:03 $ docker exec --env ******** --env ******** 82d1fdf557f66e0b3354d1c08b913745e22be18fdc6e098f7263f324f97a665a ssh-agent -k 19:05:03 unset SSH_AUTH_SOCK; 19:05:03 unset SSH_AGENT_PID; 19:05:03 echo Agent pid 22 killed; 19:05:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 19:05:03 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 19:05:03 This usually means this commit has not been tagged. [Pipeline] sshagent 19:05:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:05:03 [ssh-agent] Looking for ssh-agent implementation... 19:05:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:05:04 $ docker exec 82d1fdf557f66e0b3354d1c08b913745e22be18fdc6e098f7263f324f97a665a ssh-agent 19:05:04 SSH_AUTH_SOCK=/tmp/ssh-lDKmY5LvsoPs/agent.57 19:05:04 SSH_AGENT_PID=63 19:05:04 Running ssh-add (command line suppressed) 19:05:04 Identity added: /w/workspace/y_app-service-configurable_PR-68@tmp/private_key_704882363137876045.key (/w/workspace/y_app-service-configurable_PR-68@tmp/private_key_704882363137876045.key) 19:05:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:05:04 + git semver init 19:05:04 # -> Open(): unable to determine branch for HEAD 19:05:04 # $GIT_DIR = /w/workspace/y_app-service-configurable_PR-68/.git 19:05:04 # $GIT_WORK_TREE = /w/workspace/y_app-service-configurable_PR-68 19:05:04 # $SEMVER_REMOTE_NAME = origin 19:05:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:05:04 # $SEMVER_USER_NAME = edgex-jenkins 19:05:04 # $SEMVER_BRANCH = PR-68 19:05:04 # $SEMVER_TEMP = /tmp/semver-156647326 19:05:04 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 19:05:05 # '/tmp/semver-156647326' -> '/w/workspace/y_app-service-configurable_PR-68/.semver' 19:05:05 # -> Force: false 19:05:05 # $SEMVER_DIR = /w/workspace/y_app-service-configurable_PR-68/.semver [Pipeline] } 19:05:05 $ docker exec --env ******** --env ******** 82d1fdf557f66e0b3354d1c08b913745e22be18fdc6e098f7263f324f97a665a ssh-agent -k 19:05:05 unset SSH_AUTH_SOCK; 19:05:05 unset SSH_AGENT_PID; 19:05:05 echo Agent pid 63 killed; 19:05:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:05:06 + git semver [Pipeline] } 19:05:06 $ docker stop --time=1 82d1fdf557f66e0b3354d1c08b913745e22be18fdc6e098f7263f324f97a665a 19:05:07 $ docker rm -f 82d1fdf557f66e0b3354d1c08b913745e22be18fdc6e098f7263f324f97a665a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 19:05:08 Stashed 46 file(s) [Pipeline] echo 19:05:08 [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 19:05:23 Still waiting to schedule task 19:05:23 Waiting for next available executor on ‘centos7-docker-4c-2g’ 19:05:23 Still waiting to schedule task 19:05:23 ‘prd-ubuntu18.04-docker-arm64-4c-16g-6513’ is offline 19:07:05 Running on prd-centos7-docker-4c-2g-6518 in /w/workspace/y_app-service-configurable_PR-68 [Pipeline] { [Pipeline] ws 19:07:05 Running in /w/workspace/app-service-configurable/4 [Pipeline] { [Pipeline] checkout 19:07:07 using credential edgex-jenkins-ssh 19:07:07 Cloning the remote Git repository 19:07:07 Cloning with configured refspecs honoured and without tags 19:07:08 Fetching without tags 19:07:07 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 19:07:07 > git init /w/workspace/app-service-configurable/4 # timeout=10 19:07:07 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 19:07:07 > git --version # timeout=10 19:07:07 using GIT_SSH to set credentials SSH Credentials for GitHub 19:07:07 > 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 19:07:08 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 19:07:08 > git config --add remote.origin.fetch +refs/pull/68/head:refs/remotes/origin/PR-68 # timeout=10 19:07:08 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 19:07:08 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 19:07:08 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 19:07:08 using GIT_SSH to set credentials SSH Credentials for GitHub 19:07: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 19:07:08 Merging remotes/origin/master commit 2dd054fbbcb98df90e46da0c3973c31ac0e9886a into PR head commit 82d94045010b7bd885873e385b4d61786308c571 19:07:08 Merge succeeded, producing 82d94045010b7bd885873e385b4d61786308c571 19:07:08 Checking out Revision 82d94045010b7bd885873e385b4d61786308c571 (PR-68) 19:07:08 > git config core.sparsecheckout # timeout=10 19:07:08 > git checkout -f 82d94045010b7bd885873e385b4d61786308c571 # timeout=10 19:07:08 > git remote # timeout=10 19:07:08 > git config --get remote.origin.url # timeout=10 19:07:08 using GIT_SSH to set credentials SSH Credentials for GitHub 19:07:08 > git merge 2dd054fbbcb98df90e46da0c3973c31ac0e9886a # timeout=10 19:07:08 > git rev-parse HEAD^{commit} # timeout=10 19:07:08 > git config core.sparsecheckout # timeout=10 19:07:08 > git checkout -f 82d94045010b7bd885873e385b4d61786308c571 # timeout=10 19:07:13 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 19:07:14 ========================================================= 19:07:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 19:07:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:07:14 + 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 . 19:07:15 Sending build context to Docker daemon 266.2kB 19:07:15 Step 1/8 : ARG BASE=golang:1.13-alpine 19:07:15 Step 2/8 : FROM ${BASE} 19:07:15 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 19:07:15 e6b0cf9c0882: Pulling fs layer 19:07:15 2848faf0eed1: Pulling fs layer 19:07:15 0f37312ad70f: Pulling fs layer 19:07:15 5788d62ee057: Pulling fs layer 19:07:15 0e6b1d234666: Pulling fs layer 19:07:15 bf5d7aec512f: Pulling fs layer 19:07:15 34c802a77dc8: Pulling fs layer 19:07:15 9eb99e56ec68: Pulling fs layer 19:07:15 27c7a5d97fbd: Pulling fs layer 19:07:15 5c102a31e300: Pulling fs layer 19:07:15 dcfb455df0a1: Pulling fs layer 19:07:15 34c802a77dc8: Waiting 19:07:15 9eb99e56ec68: Waiting 19:07:15 27c7a5d97fbd: Waiting 19:07:15 5c102a31e300: Waiting 19:07:15 0e6b1d234666: Waiting 19:07:15 bf5d7aec512f: Waiting 19:07:15 dcfb455df0a1: Waiting 19:07:15 5788d62ee057: Waiting 19:07:15 0f37312ad70f: Verifying Checksum 19:07:15 0f37312ad70f: Download complete 19:07:15 2848faf0eed1: Verifying Checksum 19:07:15 2848faf0eed1: Download complete 19:07:15 0e6b1d234666: Download complete 19:07:15 e6b0cf9c0882: Verifying Checksum 19:07:15 e6b0cf9c0882: Download complete 19:07:15 bf5d7aec512f: Verifying Checksum 19:07:15 bf5d7aec512f: Download complete 19:07:15 e6b0cf9c0882: Pull complete 19:07:15 2848faf0eed1: Pull complete 19:07:16 34c802a77dc8: Verifying Checksum 19:07:16 34c802a77dc8: Download complete 19:07:16 27c7a5d97fbd: Verifying Checksum 19:07:16 27c7a5d97fbd: Download complete 19:07:16 9eb99e56ec68: Verifying Checksum 19:07:16 9eb99e56ec68: Download complete 19:07:16 5788d62ee057: Verifying Checksum 19:07:16 5788d62ee057: Download complete 19:07:16 dcfb455df0a1: Verifying Checksum 19:07:16 dcfb455df0a1: Download complete 19:07:16 5c102a31e300: Verifying Checksum 19:07:16 5c102a31e300: Download complete 19:07:17 0f37312ad70f: Pull complete 19:07:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6517 in /w/workspace/y_app-service-configurable_PR-68 [Pipeline] { [Pipeline] ws 19:07:23 Running in /w/workspace/app-service-configurable/4 [Pipeline] { [Pipeline] checkout 19:07:24 5788d62ee057: Pull complete 19:07:24 0e6b1d234666: Pull complete 19:07:24 bf5d7aec512f: Pull complete 19:07:27 34c802a77dc8: Pull complete 19:07:29 using credential edgex-jenkins-ssh 19:07:29 Cloning the remote Git repository 19:07:29 Cloning with configured refspecs honoured and without tags 19:07:29 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 19:07:29 > git init /w/workspace/app-service-configurable/4 # timeout=10 19:07:30 Fetching without tags 19:07:29 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 19:07:29 > git --version # timeout=10 19:07:29 using GIT_SSH to set credentials SSH Credentials for GitHub 19:07:29 > 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 19:07:30 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 19:07:30 > git config --add remote.origin.fetch +refs/pull/68/head:refs/remotes/origin/PR-68 # timeout=10 19:07:30 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 19:07:30 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 19:07:30 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 19:07:30 using GIT_SSH to set credentials SSH Credentials for GitHub 19:07:30 > 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 19:07:31 Merging remotes/origin/master commit 2dd054fbbcb98df90e46da0c3973c31ac0e9886a into PR head commit 82d94045010b7bd885873e385b4d61786308c571 19:07:31 Merge succeeded, producing 82d94045010b7bd885873e385b4d61786308c571 19:07:31 Checking out Revision 82d94045010b7bd885873e385b4d61786308c571 (PR-68) 19:07:32 9eb99e56ec68: Pull complete 19:07:32 27c7a5d97fbd: Pull complete 19:07:32 5c102a31e300: Pull complete 19:07:31 > git config core.sparsecheckout # timeout=10 19:07:31 > git checkout -f 82d94045010b7bd885873e385b4d61786308c571 # timeout=10 19:07:31 > git remote # timeout=10 19:07:31 > git config --get remote.origin.url # timeout=10 19:07:31 using GIT_SSH to set credentials SSH Credentials for GitHub 19:07:31 > git merge 2dd054fbbcb98df90e46da0c3973c31ac0e9886a # timeout=10 19:07:31 > git rev-parse HEAD^{commit} # timeout=10 19:07:31 > git config core.sparsecheckout # timeout=10 19:07:31 > git checkout -f 82d94045010b7bd885873e385b4d61786308c571 # timeout=10 19:07:32 dcfb455df0a1: Pull complete 19:07:32 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 19:07:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 19:07:32 ---> 7c70fe431013 19:07:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:07:32 ---> Running in 63405a8a3575 19:07:32 Removing intermediate container 63405a8a3575 19:07:32 ---> daf458061a32 19:07:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:07:32 ---> Running in d8ab42a2ce98 19:07:33 Removing intermediate container d8ab42a2ce98 19:07:33 ---> c8f68b20edce 19:07:33 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 19:07:33 ---> Running in b4a47581939a 19:07:34 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 19:07:35 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 19:07:36 (1/6) Installing libc-dev (0.7.2-r0) 19:07:36 (2/6) Installing libsodium (1.0.18-r0) 19:07:36 (3/6) Installing pkgconf (1.6.3-r0) 19:07:36 Commit message: "refector: Change Database to be Redis and add -cp command line to Dockerfile entrypoint" 19:07:36 (4/6) Installing libsodium-dev (1.0.18-r0) 19:07:36 (5/6) Installing libzmq (4.3.2-r0) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 19:07:36 (6/6) Installing zeromq-dev (4.3.2-r0) 19:07:36 Executing busybox-1.31.1-r8.trigger 19:07:36 OK: 145 MiB in 45 packages [Pipeline] unstash [Pipeline] echo 19:07:37 ========================================================= 19:07:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 19:07:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:07:37 Removing intermediate container b4a47581939a 19:07:37 ---> 6459f199adad 19:07:37 Step 6/8 : WORKDIR /app 19:07:37 ---> Running in b89c9bd1e29a 19:07:37 Removing intermediate container b89c9bd1e29a 19:07:37 ---> d8b7896b516f 19:07:37 Step 7/8 : COPY . . 19:07:37 ---> 24be0336922f 19:07:37 Step 8/8 : RUN go mod download 19:07:37 ---> Running in b415055de4ba 19:07:38 + 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 . 19:07:39 Sending build context to Docker daemon 266.2kB 19:07:39 Step 1/8 : ARG BASE=golang:1.13-alpine 19:07:39 Step 2/8 : FROM ${BASE} 19:07:39 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:07:39 cde5963f3b93: Pulling fs layer 19:07:39 2a23fa8c16f7: Pulling fs layer 19:07:39 777b28850792: Pulling fs layer 19:07:39 8a11ddd9e578: Pulling fs layer 19:07:39 4cf88f913ddb: Pulling fs layer 19:07:39 1df406cf5192: Pulling fs layer 19:07:39 cd6300453558: Pulling fs layer 19:07:39 b9c365052c96: Pulling fs layer 19:07:39 a2d8cc88f415: Pulling fs layer 19:07:39 ea1d1ca13537: Pulling fs layer 19:07:39 3750a50a1c5e: Pulling fs layer 19:07:39 8a11ddd9e578: Waiting 19:07:39 cd6300453558: Waiting 19:07:39 b9c365052c96: Waiting 19:07:39 a2d8cc88f415: Waiting 19:07:39 4cf88f913ddb: Waiting 19:07:39 1df406cf5192: Waiting 19:07:39 ea1d1ca13537: Waiting 19:07:39 3750a50a1c5e: Waiting 19:07:39 777b28850792: Verifying Checksum 19:07:39 777b28850792: Download complete 19:07:39 2a23fa8c16f7: Verifying Checksum 19:07:39 2a23fa8c16f7: Download complete 19:07:39 4cf88f913ddb: Download complete 19:07:39 1df406cf5192: Verifying Checksum 19:07:39 1df406cf5192: Download complete 19:07:39 go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 19:07:39 go: finding github.com/BurntSushi/toml v0.3.1 19:07:39 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 19:07:39 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:07:39 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 19:07:39 go: finding github.com/bgentry/speakeasy v0.1.0 19:07:39 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 19:07:39 go: finding github.com/davecgh/go-spew v1.1.1 19:07:39 go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 19:07:39 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 19:07:39 go: finding github.com/edgexfoundry/app-functions-sdk-go v1.0.1-dev.38 19:07:39 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 19:07:39 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 19:07:39 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.57 19:07:39 go: finding github.com/edgexfoundry/go-mod-messaging v0.1.19 19:07:39 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 19:07:39 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 19:07:39 go: finding github.com/fatih/color v1.7.0 19:07:39 go: finding github.com/fsnotify/fsnotify v1.4.7 19:07:39 go: finding github.com/fxamacker/cbor/v2 v2.2.0 19:07:39 go: finding github.com/go-kit/kit v0.8.0 19:07:39 go: finding github.com/go-logfmt/logfmt v0.4.0 19:07:39 go: finding github.com/go-redis/redis/v7 v7.2.0 19:07:39 go: finding github.com/go-stack/stack v1.8.0 19:07:39 go: finding github.com/golang/protobuf v1.3.2 19:07:39 go: finding github.com/golang/snappy v0.0.1 19:07:39 go: finding github.com/gomodule/redigo v2.0.0+incompatible 19:07:39 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:07:39 go: finding github.com/google/go-cmp v0.4.0 19:07:39 go: finding github.com/google/uuid v1.1.1 19:07:39 go: finding github.com/gorilla/mux v1.7.4 19:07:39 go: finding github.com/hashicorp/consul/api v1.1.0 19:07:39 go: finding github.com/hashicorp/consul/sdk v0.1.1 19:07:39 cde5963f3b93: Download complete 19:07:40 go: finding github.com/hashicorp/errwrap v1.0.0 19:07:40 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 19:07:40 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 19:07:40 go: finding github.com/hashicorp/go-msgpack v0.5.3 19:07:40 go: finding github.com/hashicorp/go-multierror v1.0.0 19:07:40 go: finding github.com/hashicorp/go-rootcerts v1.0.0 19:07:40 go: finding github.com/hashicorp/go-sockaddr v1.0.0 19:07:40 go: finding github.com/hashicorp/go-syslog v1.0.0 19:07:40 go: finding github.com/hashicorp/go-uuid v1.0.1 19:07:40 go: finding github.com/hashicorp/go.net v0.0.1 19:07:40 go: finding github.com/hashicorp/golang-lru v0.5.0 19:07:40 go: finding github.com/hashicorp/logutils v1.0.0 19:07:40 go: finding github.com/hashicorp/mdns v1.0.0 19:07:40 go: finding github.com/hashicorp/memberlist v0.1.3 19:07:40 go: finding github.com/hashicorp/serf v0.8.2 19:07:40 go: finding github.com/hpcloud/tail v1.0.0 19:07:40 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:07:40 go: finding github.com/kr/pretty v0.1.0 19:07:40 go: finding github.com/kr/pty v1.1.1 19:07:40 go: finding github.com/kr/text v0.1.0 19:07:40 go: finding github.com/mattn/go-colorable v0.0.9 19:07:40 go: finding github.com/mattn/go-isatty v0.0.3 19:07:40 go: finding github.com/miekg/dns v1.0.14 19:07:40 go: finding github.com/mitchellh/cli v1.0.0 19:07:40 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:07:40 go: finding github.com/mitchellh/copystructure v1.0.0 19:07:40 go: finding github.com/mitchellh/go-homedir v1.0.0 19:07:40 go: finding github.com/mitchellh/go-testing-interface v1.0.0 19:07:40 go: finding github.com/mitchellh/gox v0.4.0 19:07:40 go: finding github.com/mitchellh/iochan v1.0.0 19:07:40 go: finding github.com/mitchellh/mapstructure v1.1.2 19:07:40 go: finding github.com/mitchellh/reflectwalk v1.0.0 19:07:40 go: finding github.com/onsi/ginkgo v1.10.1 19:07:40 go: finding github.com/onsi/gomega v1.7.0 19:07:40 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:07:40 go: finding github.com/pebbe/zmq4 v1.0.0 19:07:40 go: finding github.com/pelletier/go-toml v1.2.0 19:07:40 go: finding github.com/pkg/errors v0.8.1 19:07:40 go: finding github.com/pmezard/go-difflib v1.0.0 19:07:40 go: finding github.com/posener/complete v1.1.1 19:07:40 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 19:07:40 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:07:40 go: finding github.com/stretchr/objx v0.2.0 19:07:40 go: finding github.com/stretchr/testify v1.5.1 19:07:40 go: finding github.com/tidwall/pretty v1.0.1 19:07:40 go: finding github.com/ugorji/go v1.1.4 19:07:40 go: finding github.com/x448/float16 v0.8.4 19:07:40 go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c 19:07:40 go: finding github.com/xdg/stringprep v1.0.0 19:07:40 go: finding go.mongodb.org/mongo-driver v1.1.1 19:07:40 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 19:07:40 go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 19:07:40 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 19:07:40 go: finding golang.org/x/sys v0.0.0-20191010194322-b09406accb47 19:07:40 go: finding golang.org/x/text v0.3.2 19:07:40 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 19:07:40 go: finding golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 19:07:40 go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 19:07:40 go: finding gopkg.in/fsnotify.v1 v1.4.7 19:07:40 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 19:07:40 go: finding gopkg.in/yaml.v2 v2.2.8 19:07:40 cde5963f3b93: Pull complete 19:07:41 2a23fa8c16f7: Pull complete 19:07:41 777b28850792: Pull complete 19:07:44 cd6300453558: Verifying Checksum 19:07:44 cd6300453558: Download complete 19:07:44 a2d8cc88f415: Download complete 19:07:46 ea1d1ca13537: Verifying Checksum 19:07:46 ea1d1ca13537: Download complete 19:07:47 3750a50a1c5e: Download complete 19:07:49 b9c365052c96: Verifying Checksum 19:07:49 b9c365052c96: Download complete 19:07:51 8a11ddd9e578: Verifying Checksum 19:07:51 8a11ddd9e578: Download complete 19:07:52 Removing intermediate container b415055de4ba 19:07:52 ---> bf8a8f72a2ef 19:07:52 Successfully built bf8a8f72a2ef 19:07:52 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 19:07:53 + docker inspect -f . ci-base-image-x86_64 19:07:53 . [Pipeline] withDockerContainer 19:07:53 prd-centos7-docker-4c-2g-6518 does not seem to be running inside a container 19:07:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@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 ******** ci-base-image-x86_64 cat 19:07:56 $ docker top 2600d6c600661cb3d4e8a69d669c703e04c01447fa39116f888558caf1d47ba2 -eo pid,comm [Pipeline] { [Pipeline] sh 19:07:56 + go version 19:07:56 go version go1.13.5 linux/amd64 [Pipeline] sh 19:07:57 + make test 19:07:57 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 19:08:04 8a11ddd9e578: Pull complete 19:08:04 4cf88f913ddb: Pull complete 19:08:04 1df406cf5192: Pull complete 19:08:07 cd6300453558: Pull complete 19:08:12 b9c365052c96: Pull complete 19:08:12 a2d8cc88f415: Pull complete 19:08:14 ea1d1ca13537: Pull complete 19:08:15 3750a50a1c5e: Pull complete 19:08:15 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 19:08:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 19:08:15 ---> 78745c68409d 19:08:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:08:15 ? github.com/edgexfoundry/app-service-configurable [no test files] 19:08:15 CGO_ENABLED=1 go vet ./... 19:08:16 gofmt -l . 19:08:16 [ "`gofmt -l .`" = "" ] 19:08:16 ./bin/test-go-mod-tidy.sh 19:08:17 ./bin/test-attribution-txt.sh [Pipeline] stash 19:08:17 Stashed 1 file(s) [Pipeline] } 19:08:17 $ docker stop --time=1 2600d6c600661cb3d4e8a69d669c703e04c01447fa39116f888558caf1d47ba2 19:08:18 ---> Running in ebbb898a244f 19:08:18 Removing intermediate container ebbb898a244f 19:08:18 ---> b5060a49ca16 19:08:18 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:08:19 ---> Running in 0fa23ea24f75 19:08:19 $ docker rm -f 2600d6c600661cb3d4e8a69d669c703e04c01447fa39116f888558caf1d47ba2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:08:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:08:20 + ls -al . 19:08:20 total 104 19:08:20 drwxrwxr-x. 7 jenkins jenkins 4096 Apr 28 19:08 . 19:08:20 drwxrwxr-x. 4 jenkins jenkins 28 Apr 28 19:07 .. 19:08:20 -rw-rw-r--. 1 jenkins jenkins 6027 Apr 28 19:07 Attribution.txt 19:08:20 drwxrwxr-x. 2 jenkins jenkins 64 Apr 28 19:07 bin 19:08:20 -rw-r--r--. 1 jenkins jenkins 10 Apr 28 19:07 coverage.out 19:08:20 -rw-rw-r--. 1 jenkins jenkins 180 Apr 28 19:07 docker-compose.debug.yml 19:08:20 -rw-rw-r--. 1 jenkins jenkins 133 Apr 28 19:07 docker-compose.yml 19:08:20 -rw-rw-r--. 1 jenkins jenkins 1896 Apr 28 19:07 Dockerfile 19:08:20 -rw-rw-r--. 1 jenkins jenkins 966 Apr 28 19:07 Dockerfile.build 19:08:20 -rw-rw-r--. 1 jenkins jenkins 127 Apr 28 19:07 .dockerignore 19:08:20 drwxrwxr-x. 8 jenkins jenkins 179 Apr 28 19:07 .git 19:08:20 -rw-rw-r--. 1 jenkins jenkins 93 Apr 28 19:07 .gitignore 19:08:20 -rw-r--r--. 1 jenkins jenkins 133 Apr 28 19:08 go.mod 19:08:20 -rw-r--r--. 1 jenkins jenkins 18587 Apr 28 19:08 go.sum 19:08:20 -rw-rw-r--. 1 jenkins jenkins 689 Apr 28 19:07 Jenkinsfile 19:08:20 -rw-rw-r--. 1 jenkins jenkins 10174 Apr 28 19:07 LICENSE 19:08:20 -rw-rw-r--. 1 jenkins jenkins 1616 Apr 28 19:07 main.go 19:08:20 -rw-rw-r--. 1 jenkins jenkins 1486 Apr 28 19:07 makefile 19:08:20 -rw-rw-r--. 1 jenkins jenkins 9998 Apr 28 19:07 README.md 19:08:20 drwxrwxr-x. 10 jenkins jenkins 171 Apr 28 19:07 res 19:08:20 drwxrwxr-x. 3 jenkins jenkins 45 Apr 28 19:07 .semver 19:08:20 drwxrwxr-x. 4 jenkins jenkins 71 Apr 28 19:07 snap 19:08:20 -rw-rw-r--. 1 jenkins jenkins 5 Apr 28 19:05 VERSION [Pipeline] isUnix [Pipeline] sh 19:08:21 + 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=82d94045010b7bd885873e385b4d61786308c571 --label arch=amd64 --label version=0.0.0 . 19:08:21 Sending build context to Docker daemon 287.7kB 19:08:21 Step 1/24 : ARG BASE=golang:1.13-alpine 19:08:21 Step 2/24 : FROM ${BASE} AS builder 19:08:21 ---> bf8a8f72a2ef 19:08:21 Step 3/24 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:08:21 Removing intermediate container 0fa23ea24f75 19:08:21 ---> 755e1e9ea453 19:08:21 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 19:08:21 ---> Running in df95e8b94b89 19:08:21 ---> Running in a99c0c57db41 19:08:21 Removing intermediate container a99c0c57db41 19:08:21 ---> fb1f2690a2f3 19:08:21 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 19:08:21 ---> Running in 5a8a141c86c0 19:08:21 Removing intermediate container 5a8a141c86c0 19:08:21 ---> 55297590c3ba 19:08:21 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:08:21 ---> Running in 6ca3eabd2743 19:08:21 Removing intermediate container 6ca3eabd2743 19:08:21 ---> ebd813e2a73a 19:08:21 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:08:21 ---> Running in 252e3c66be36 19:08:22 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 19:08:22 Removing intermediate container 252e3c66be36 19:08:22 ---> 84edacf86674 19:08:22 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:08:22 ---> Running in b16caaf52847 19:08:22 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 19:08:23 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 19:08:23 (1/6) Installing libc-dev (0.7.2-r0) 19:08:23 (2/6) Installing libsodium (1.0.18-r0) 19:08:23 (3/6) Installing pkgconf (1.6.3-r0) 19:08:23 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 19:08:23 (4/6) Installing libsodium-dev (1.0.18-r0) 19:08:23 (5/6) Installing libzmq (4.3.2-r0) 19:08:24 (6/6) Installing zeromq-dev (4.3.2-r0) 19:08:24 Executing busybox-1.31.1-r8.trigger 19:08:24 OK: 127 MiB in 45 packages 19:08:24 OK: 145 MiB in 45 packages 19:08:25 Removing intermediate container b16caaf52847 19:08:25 ---> 9a8d3f236eaf 19:08:25 Step 8/24 : WORKDIR /app 19:08:25 ---> Running in 21c157d3d10a 19:08:25 Removing intermediate container 21c157d3d10a 19:08:25 ---> 083805644a7a 19:08:25 Step 9/24 : COPY go.mod . 19:08:25 ---> 5ff5bfd0aabe 19:08:25 Step 10/24 : RUN go mod download 19:08:25 ---> Running in ca54c62cd1e1 19:08:25 Removing intermediate container df95e8b94b89 19:08:25 ---> 0c486ee7dfd2 19:08:25 Step 6/8 : WORKDIR /app 19:08:25 ---> Running in ed572b9b49c1 19:08:26 Removing intermediate container ed572b9b49c1 19:08:26 ---> c58d1f3f32be 19:08:26 Step 7/8 : COPY . . 19:08:26 Removing intermediate container ca54c62cd1e1 19:08:26 ---> 2fc6524bf3e0 19:08:26 Step 11/24 : COPY . . 19:08:26 ---> 922aab8dece0 19:08:26 Step 12/24 : ARG MAKE="make build" 19:08:26 ---> Running in 617417411fd7 19:08:26 Removing intermediate container 617417411fd7 19:08:26 ---> da87ded42ab1 19:08:26 Step 13/24 : RUN $MAKE 19:08:26 ---> Running in 63b195249c5d 19:08:26 ---> b5da90046d75 19:08:26 Step 8/8 : RUN go mod download 19:08:27 ---> Running in 5436c7f47af8 19:08:27 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:08:29 go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 19:08:29 go: finding github.com/BurntSushi/toml v0.3.1 19:08:29 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 19:08:29 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:08:29 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 19:08:29 go: finding github.com/bgentry/speakeasy v0.1.0 19:08:29 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 19:08:29 go: finding github.com/davecgh/go-spew v1.1.1 19:08:29 go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 19:08:29 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 19:08:29 go: finding github.com/edgexfoundry/app-functions-sdk-go v1.0.1-dev.38 19:08:29 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 19:08:29 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 19:08:29 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.57 19:08:29 go: finding github.com/edgexfoundry/go-mod-messaging v0.1.19 19:08:29 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 19:08:29 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 19:08:29 go: finding github.com/fatih/color v1.7.0 19:08:29 go: finding github.com/fsnotify/fsnotify v1.4.7 19:08:29 go: finding github.com/fxamacker/cbor/v2 v2.2.0 19:08:29 go: finding github.com/go-kit/kit v0.8.0 19:08:29 go: finding github.com/go-logfmt/logfmt v0.4.0 19:08:29 go: finding github.com/go-redis/redis/v7 v7.2.0 19:08:29 go: finding github.com/go-stack/stack v1.8.0 19:08:29 go: finding github.com/golang/protobuf v1.3.2 19:08:29 go: finding github.com/golang/snappy v0.0.1 19:08:29 go: finding github.com/gomodule/redigo v2.0.0+incompatible 19:08:29 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:08:29 go: finding github.com/google/go-cmp v0.4.0 19:08:29 go: finding github.com/google/uuid v1.1.1 19:08:29 go: finding github.com/gorilla/mux v1.7.4 19:08:29 go: finding github.com/hashicorp/consul/api v1.1.0 19:08:29 go: finding github.com/hashicorp/consul/sdk v0.1.1 19:08:29 go: finding github.com/hashicorp/errwrap v1.0.0 19:08:29 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 19:08:29 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 19:08:29 go: finding github.com/hashicorp/go-msgpack v0.5.3 19:08:29 go: finding github.com/hashicorp/go-multierror v1.0.0 19:08:29 go: finding github.com/hashicorp/go-rootcerts v1.0.0 19:08:29 go: finding github.com/hashicorp/go-sockaddr v1.0.0 19:08:29 go: finding github.com/hashicorp/go-syslog v1.0.0 19:08:29 go: finding github.com/hashicorp/go-uuid v1.0.1 19:08:29 go: finding github.com/hashicorp/go.net v0.0.1 19:08:29 go: finding github.com/hashicorp/golang-lru v0.5.0 19:08:29 go: finding github.com/hashicorp/logutils v1.0.0 19:08:29 go: finding github.com/hashicorp/mdns v1.0.0 19:08:29 go: finding github.com/hashicorp/memberlist v0.1.3 19:08:29 go: finding github.com/hashicorp/serf v0.8.2 19:08:29 go: finding github.com/hpcloud/tail v1.0.0 19:08:29 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 19:08:29 go: finding github.com/kr/pretty v0.1.0 19:08:29 go: finding github.com/kr/pty v1.1.1 19:08:29 go: finding github.com/kr/text v0.1.0 19:08:29 go: finding github.com/mattn/go-colorable v0.0.9 19:08:29 go: finding github.com/mattn/go-isatty v0.0.3 19:08:29 go: finding github.com/miekg/dns v1.0.14 19:08:29 go: finding github.com/mitchellh/cli v1.0.0 19:08:29 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:08:29 go: finding github.com/mitchellh/copystructure v1.0.0 19:08:29 go: finding github.com/mitchellh/go-homedir v1.0.0 19:08:29 go: finding github.com/mitchellh/go-testing-interface v1.0.0 19:08:29 go: finding github.com/mitchellh/gox v0.4.0 19:08:29 go: finding github.com/mitchellh/iochan v1.0.0 19:08:29 go: finding github.com/mitchellh/mapstructure v1.1.2 19:08:29 go: finding github.com/mitchellh/reflectwalk v1.0.0 19:08:29 go: finding github.com/onsi/ginkgo v1.10.1 19:08:29 go: finding github.com/onsi/gomega v1.7.0 19:08:29 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:08:29 go: finding github.com/pebbe/zmq4 v1.0.0 19:08:29 go: finding github.com/pelletier/go-toml v1.2.0 19:08:29 go: finding github.com/pkg/errors v0.8.1 19:08:29 go: finding github.com/pmezard/go-difflib v1.0.0 19:08:29 go: finding github.com/posener/complete v1.1.1 19:08:29 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 19:08:29 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:08:29 go: finding github.com/stretchr/objx v0.2.0 19:08:29 go: finding github.com/stretchr/testify v1.5.1 19:08:29 go: finding github.com/tidwall/pretty v1.0.1 19:08:29 go: finding github.com/ugorji/go v1.1.4 19:08:29 go: finding github.com/x448/float16 v0.8.4 19:08:29 go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c 19:08:29 go: finding github.com/xdg/stringprep v1.0.0 19:08:29 go: finding go.mongodb.org/mongo-driver v1.1.1 19:08:29 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 19:08:29 go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 19:08:29 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 19:08:29 go: finding golang.org/x/sys v0.0.0-20191010194322-b09406accb47 19:08:29 go: finding golang.org/x/text v0.3.2 19:08:29 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 19:08:29 go: finding golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 19:08:29 go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 19:08:29 go: finding gopkg.in/fsnotify.v1 v1.4.7 19:08:29 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 19:08:29 go: finding gopkg.in/yaml.v2 v2.2.8 19:08:48 Removing intermediate container 5436c7f47af8 19:08:48 ---> 69ddabb55ff9 19:08:48 Successfully built 69ddabb55ff9 19:08:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:08:49 Removing intermediate container 63b195249c5d 19:08:49 ---> e035863f5831 19:08:49 Step 14/24 : FROM alpine:latest 19:08:49 latest: Pulling from library/alpine 19:08:49 cbdbe7a5bc2a: Pulling fs layer 19:08:49 cbdbe7a5bc2a: Verifying Checksum 19:08:49 cbdbe7a5bc2a: Download complete 19:08:49 cbdbe7a5bc2a: Pull complete 19:08:49 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 19:08:49 Status: Downloaded newer image for alpine:latest 19:08:49 ---> f70734b6a266 19:08:49 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:08:49 ---> Running in bc246dffd494 19:08:49 Removing intermediate container bc246dffd494 19:08:49 ---> dd7f133d1d9b 19:08:49 Step 16/24 : LABEL Name=app-service-configurable Version=${VERSION} 19:08:49 ---> Running in f149a1c9b1df 19:08:49 Removing intermediate container f149a1c9b1df 19:08:49 ---> 43b5612f9fd0 19:08:49 Step 17/24 : RUN apk --no-cache add ca-certificates zeromq 19:08:49 ---> Running in 2574ccd6377a 19:08:49 + docker inspect -f . ci-base-image-arm64 19:08:49 fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 19:08:49 fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 19:08:49 (1/6) Installing ca-certificates (20191127-r1) 19:08:49 . [Pipeline] withDockerContainer 19:08:49 (2/6) Installing libgcc (9.2.0-r4) 19:08:49 (3/6) Installing libsodium (1.0.18-r0) 19:08:49 (4/6) Installing libstdc++ (9.2.0-r4) 19:08:49 (5/6) Installing libzmq (4.3.2-r0) 19:08:49 (6/6) Installing zeromq (4.3.2-r0) 19:08:49 Executing busybox-1.31.1-r9.trigger 19:08:49 Executing ca-certificates-20191127-r1.trigger 19:08:49 OK: 9 MiB in 20 packages 19:08:49 prd-ubuntu18.04-docker-arm64-4c-16g-6517 does not seem to be running inside a container 19:08:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@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 19:08:50 Removing intermediate container 2574ccd6377a 19:08:50 ---> 2a9744171368 19:08:50 Step 18/24 : COPY --from=builder /app/res/ /res/ 19:08:50 ---> 62f0ffccac44 19:08:50 Step 19/24 : COPY --from=builder /app/app-service-configurable /app-service-configurable 19:08:50 ---> c457119a4d6d 19:08:50 Step 20/24 : EXPOSE 48095 19:08:50 ---> Running in b14eb69896e5 19:08:50 Removing intermediate container b14eb69896e5 19:08:50 ---> 96719a2b5cc1 19:08:50 Step 21/24 : ENTRYPOINT ["/app-service-configurable", "-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:08:50 ---> Running in 3971e8eb4d0f 19:08:51 $ docker top 44c4c54a5198abca4a27d291e70a455aacd5bd570b6fdd2288d4dbd8a07b3a87 -eo pid,comm 19:08:51 Removing intermediate container 3971e8eb4d0f 19:08:51 ---> 6436e5298745 19:08:51 Step 22/24 : LABEL arch=amd64 19:08:51 ---> Running in 509bed93bb44 19:08:51 Removing intermediate container 509bed93bb44 19:08:51 ---> d4cade893fc1 19:08:51 Step 23/24 : LABEL git_sha=82d94045010b7bd885873e385b4d61786308c571 19:08:51 ---> Running in 6acec7e21cf2 19:08:51 Removing intermediate container 6acec7e21cf2 19:08:51 ---> bdefc2c3260f 19:08:51 Step 24/24 : LABEL version=0.0.0 19:08:51 ---> Running in b52e3ed7c7cf [Pipeline] { [Pipeline] sh 19:08:51 Removing intermediate container b52e3ed7c7cf 19:08:51 ---> 70222188e119 19:08:51 [Warning] One or more build-args [ARCH] were not consumed 19:08:51 Successfully built 70222188e119 19:08:51 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 19:08:52 + go version 19:08:52 go version go1.13.5 linux/arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:08:53 + make test 19:08:53 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 19:09:40 ? github.com/edgexfoundry/app-service-configurable [no test files] 19:09:40 CGO_ENABLED=1 go vet ./... 19:09:46 gofmt -l . 19:09:46 [ "`gofmt -l .`" = "" ] 19:09:46 ./bin/test-go-mod-tidy.sh 19:09:46 ./bin/test-attribution-txt.sh [Pipeline] stash 19:09:47 Warning: overwriting stash ‘coverage-report’ 19:09:48 Stashed 1 file(s) [Pipeline] } 19:09:48 $ docker stop --time=1 44c4c54a5198abca4a27d291e70a455aacd5bd570b6fdd2288d4dbd8a07b3a87 19:09:50 $ docker rm -f 44c4c54a5198abca4a27d291e70a455aacd5bd570b6fdd2288d4dbd8a07b3a87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:09:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:09:52 + ls -al . 19:09:52 total 128 19:09:52 drwxrwxr-x 7 jenkins jenkins 4096 Apr 28 19:09 . 19:09:52 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 19:07 .. 19:09:52 -rw-rw-r-- 1 jenkins jenkins 127 Apr 28 19:07 .dockerignore 19:09:52 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 19:07 .git 19:09:52 -rw-rw-r-- 1 jenkins jenkins 93 Apr 28 19:07 .gitignore 19:09:52 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 19:07 .semver 19:09:52 -rw-rw-r-- 1 jenkins jenkins 6027 Apr 28 19:07 Attribution.txt 19:09:52 -rw-rw-r-- 1 jenkins jenkins 1896 Apr 28 19:07 Dockerfile 19:09:52 -rw-rw-r-- 1 jenkins jenkins 966 Apr 28 19:07 Dockerfile.build 19:09:52 -rw-rw-r-- 1 jenkins jenkins 689 Apr 28 19:07 Jenkinsfile 19:09:52 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 28 19:07 LICENSE 19:09:52 -rw-rw-r-- 1 jenkins jenkins 9998 Apr 28 19:07 README.md 19:09:52 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 19:05 VERSION 19:09:52 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 19:07 bin 19:09:52 -rw-r--r-- 1 jenkins jenkins 10 Apr 28 19:08 coverage.out 19:09:52 -rw-rw-r-- 1 jenkins jenkins 180 Apr 28 19:07 docker-compose.debug.yml 19:09:52 -rw-rw-r-- 1 jenkins jenkins 133 Apr 28 19:07 docker-compose.yml 19:09:52 -rw-r--r-- 1 jenkins jenkins 133 Apr 28 19:09 go.mod 19:09:52 -rw-r--r-- 1 jenkins jenkins 18587 Apr 28 19:09 go.sum 19:09:52 -rw-rw-r-- 1 jenkins jenkins 1616 Apr 28 19:07 main.go 19:09:52 -rw-rw-r-- 1 jenkins jenkins 1486 Apr 28 19:07 makefile 19:09:52 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 19:07 res 19:09:52 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 19:07 snap [Pipeline] isUnix [Pipeline] sh 19:09:52 + 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=82d94045010b7bd885873e385b4d61786308c571 --label arch=arm64 --label version=0.0.0 . 19:09:53 Sending build context to Docker daemon 287.7kB 19:09:53 Step 1/24 : ARG BASE=golang:1.13-alpine 19:09:53 Step 2/24 : FROM ${BASE} AS builder 19:09:53 ---> 69ddabb55ff9 19:09:53 Step 3/24 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:09:53 ---> Running in 50454954ae22 19:09:53 Removing intermediate container 50454954ae22 19:09:53 ---> 8c6ac1e75b18 19:09:53 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 19:09:53 ---> Running in c9e3b5c613b1 19:09:54 Removing intermediate container c9e3b5c613b1 19:09:54 ---> 2b9c632f4e8e 19:09:54 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:09:54 ---> Running in fa1b610a83f4 19:09:54 Removing intermediate container fa1b610a83f4 19:09:54 ---> c753f5eb37f1 19:09:54 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:09:54 ---> Running in 5175a3b04b4f 19:09:56 Removing intermediate container 5175a3b04b4f 19:09:56 ---> 789805205884 19:09:56 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:09:56 ---> Running in 36b29676353b 19:09:57 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 19:09:58 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 19:09:59 OK: 127 MiB in 45 packages 19:10:00 Removing intermediate container 36b29676353b 19:10:00 ---> 24fc3870d806 19:10:00 Step 8/24 : WORKDIR /app 19:10:00 ---> Running in 40f685407e13 19:10:00 Removing intermediate container 40f685407e13 19:10:00 ---> a0666c61a543 19:10:00 Step 9/24 : COPY go.mod . 19:10:00 ---> 9c4cdb4480f9 19:10:00 Step 10/24 : RUN go mod download 19:10:00 ---> Running in 1752a599124e 19:10:02 Removing intermediate container 1752a599124e 19:10:02 ---> 6b2f35c8fa69 19:10:02 Step 11/24 : COPY . . 19:10:03 ---> ef1bf06f4b6e 19:10:03 Step 12/24 : ARG MAKE="make build" 19:10:03 ---> Running in d75d4d0300c2 19:10:04 Removing intermediate container d75d4d0300c2 19:10:04 ---> 1d1e45137e1c 19:10:04 Step 13/24 : RUN $MAKE 19:10:04 ---> Running in 67c48922fd03 19:10:05 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:10:52 Removing intermediate container 67c48922fd03 19:10:52 ---> 5be91cd58b5c 19:10:52 Step 14/24 : FROM alpine:latest 19:10:52 latest: Pulling from library/alpine 19:10:52 29e5d40040c1: Pulling fs layer 19:10:52 29e5d40040c1: Verifying Checksum 19:10:52 29e5d40040c1: Download complete 19:10:52 29e5d40040c1: Pull complete 19:10:52 Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54 19:10:52 Status: Downloaded newer image for alpine:latest 19:10:52 ---> c20d2a9ab686 19:10:52 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:10:52 ---> Running in 514fe71dcef1 19:10:52 Removing intermediate container 514fe71dcef1 19:10:52 ---> 2d761ef5e1db 19:10:52 Step 16/24 : LABEL Name=app-service-configurable Version=${VERSION} 19:10:52 ---> Running in f80900551e9c 19:10:53 Removing intermediate container f80900551e9c 19:10:53 ---> c9052f7373e0 19:10:53 Step 17/24 : RUN apk --no-cache add ca-certificates zeromq 19:10:53 ---> Running in 03ac72ed35b7 19:10:54 fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 19:10:54 fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 19:10:54 (1/6) Installing ca-certificates (20191127-r1) 19:10:54 (2/6) Installing libgcc (9.2.0-r4) 19:10:54 (3/6) Installing libsodium (1.0.18-r0) 19:10:54 (4/6) Installing libstdc++ (9.2.0-r4) 19:10:54 (5/6) Installing libzmq (4.3.2-r0) 19:10:54 (6/6) Installing zeromq (4.3.2-r0) 19:10:54 Executing busybox-1.31.1-r9.trigger 19:10:54 Executing ca-certificates-20191127-r1.trigger 19:10:54 OK: 9 MiB in 20 packages 19:10:56 Removing intermediate container 03ac72ed35b7 19:10:56 ---> 3290ae1dbe04 19:10:56 Step 18/24 : COPY --from=builder /app/res/ /res/ 19:10:57 ---> 7d6852b37fe4 19:10:57 Step 19/24 : COPY --from=builder /app/app-service-configurable /app-service-configurable 19:10:58 ---> 49eba8062040 19:10:58 Step 20/24 : EXPOSE 48095 19:10:58 ---> Running in 93d8f78c5569 19:10:59 Removing intermediate container 93d8f78c5569 19:10:59 ---> e29fc80a123a 19:10:59 Step 21/24 : ENTRYPOINT ["/app-service-configurable", "-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:10:59 ---> Running in 8fad5fd1acf7 19:10:59 Removing intermediate container 8fad5fd1acf7 19:10:59 ---> d85dfcfa32f9 19:10:59 Step 22/24 : LABEL arch=arm64 19:10:59 ---> Running in 28306d7cb617 19:10:59 Removing intermediate container 28306d7cb617 19:10:59 ---> a0c4c468e2f1 19:10:59 Step 23/24 : LABEL git_sha=82d94045010b7bd885873e385b4d61786308c571 19:11:00 ---> Running in ded31dfd2269 19:11:00 Removing intermediate container ded31dfd2269 19:11:00 ---> 9183200c16e2 19:11:00 Step 24/24 : LABEL version=0.0.0 19:11:00 ---> Running in d16ca4b32e17 19:11:00 Removing intermediate container d16ca4b32e17 19:11:00 ---> 3f2fcee3395a 19:11:00 [Warning] One or more build-args [ARCH] were not consumed 19:11:00 Successfully built 3f2fcee3395a 19:11:00 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:11:02 provisioning config files... 19:11:02 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/y_app-service-configurable_PR-68@tmp/config677788093522945792tmp [Pipeline] { [Pipeline] sh 19:11:02 + curl -s https://codecov.io/bash 19:11:02 + bash -s - -t @/w/workspace/y_app-service-configurable_PR-68@tmp/config677788093522945792tmp 19:11:02 19:11:02 _____ _ 19:11:02 / ____| | | 19:11:02 | | ___ __| | ___ ___ _____ __ 19:11:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:11:02 | |___| (_) | (_| | __/ (_| (_) \ V / 19:11:02 \_____\___/ \__,_|\___|\___\___/ \_/ 19:11:02 Bash-tbd 19:11:02 19:11:02 19:11:02 ==> Jenkins CI detected. 19:11:02 project root: . 19:11:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:11:02 ==> Running gcov in . (disable via -X gcov) 19:11:02 ==> Python coveragepy not found 19:11:02 ==> Searching for coverage reports in: 19:11:02 + . 19:11:02 -> Found 1 reports 19:11:02 ==> Detecting git/mercurial file structure 19:11:02 ==> Reading reports 19:11:02 + ./coverage.out bytes=10 19:11:02 ==> Appending adjustments 19:11:02 http://docs.codecov.io/docs/fixing-reports 19:11:02 + Found adjustments 19:11:02 ==> Gzipping contents 19:11:02 ==> Uploading reports 19:11:02 url: https://codecov.io 19:11:02 query: branch=PR-68&commit=82d94045010b7bd885873e385b4d61786308c571&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-68%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=68&job= 19:11:02 -> Pinging Codecov 19:11:02 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-68&commit=82d94045010b7bd885873e385b4d61786308c571&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-68%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=68&job= 19:11:03 -> Uploading 19:11:04 -> View reports at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/82d94045010b7bd885873e385b4d61786308c571 [Pipeline] } 19:11:04 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:11:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:11:05 ---> package-listing.sh 19:11:05 ++ facter osfamily 19:11:05 ++ tr '[:upper:]' '[:lower:]' 19:11:05 + OS_FAMILY=redhat 19:11:05 + workspace=/w/workspace/y_app-service-configurable_PR-68 19:11:05 + START_PACKAGES=/tmp/packages_start.txt 19:11:05 + END_PACKAGES=/tmp/packages_end.txt 19:11:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:11:05 + PACKAGES=/tmp/packages_start.txt 19:11:05 + '[' /w/workspace/y_app-service-configurable_PR-68 ']' 19:11:05 + PACKAGES=/tmp/packages_end.txt 19:11:05 + case "${OS_FAMILY}" in 19:11:05 + rpm -qa 19:11:05 + sort 19:11:10 + '[' -f /tmp/packages_start.txt ']' 19:11:10 + '[' -f /tmp/packages_end.txt ']' 19:11:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:11:10 + '[' /w/workspace/y_app-service-configurable_PR-68 ']' 19:11:10 + mkdir -p /w/workspace/y_app-service-configurable_PR-68/archives/ 19:11:10 + 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:11:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:11:10 19:11:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:11:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:11:10 alpine: Pulling from edgex-lftools-log-publisher 19:11:10 c9b1b535fdd9: Pulling fs layer 19:11:10 2cc5ad85d9ab: Pulling fs layer 19:11:10 756a868c4378: Pulling fs layer 19:11:10 444b2fc9a129: Pulling fs layer 19:11:10 ea15f1150254: Pulling fs layer 19:11:10 41b27a9f41bf: Pulling fs layer 19:11:10 28c525ee5125: Pulling fs layer 19:11:10 094b1ea09ed8: Pulling fs layer 19:11:10 138eaada9080: Pulling fs layer 19:11:10 0622d0fa9048: Pulling fs layer 19:11:10 41b27a9f41bf: Waiting 19:11:10 444b2fc9a129: Waiting 19:11:10 138eaada9080: Waiting 19:11:10 0622d0fa9048: Waiting 19:11:10 ea15f1150254: Waiting 19:11:10 094b1ea09ed8: Waiting 19:11:10 28c525ee5125: Waiting 19:11:10 2cc5ad85d9ab: Download complete 19:11:10 444b2fc9a129: Verifying Checksum 19:11:10 444b2fc9a129: Download complete 19:11:10 c9b1b535fdd9: Verifying Checksum 19:11:10 c9b1b535fdd9: Download complete 19:11:10 ea15f1150254: Verifying Checksum 19:11:10 ea15f1150254: Download complete 19:11:11 28c525ee5125: Verifying Checksum 19:11:11 28c525ee5125: Download complete 19:11:11 756a868c4378: Verifying Checksum 19:11:11 756a868c4378: Download complete 19:11:11 c9b1b535fdd9: Pull complete 19:11:11 138eaada9080: Verifying Checksum 19:11:11 138eaada9080: Download complete 19:11:11 0622d0fa9048: Verifying Checksum 19:11:11 0622d0fa9048: Download complete 19:11:11 094b1ea09ed8: Verifying Checksum 19:11:11 094b1ea09ed8: Download complete 19:11:11 2cc5ad85d9ab: Pull complete 19:11:11 41b27a9f41bf: Verifying Checksum 19:11:11 41b27a9f41bf: Download complete 19:11:12 756a868c4378: Pull complete 19:11:12 444b2fc9a129: Pull complete 19:11:13 ea15f1150254: Pull complete 19:11:16 41b27a9f41bf: Pull complete 19:11:16 28c525ee5125: Pull complete 19:11:18 094b1ea09ed8: Pull complete 19:11:18 138eaada9080: Pull complete 19:11:18 0622d0fa9048: Pull complete 19:11:18 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 19:11:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:11:18 prd-centos7-docker-4c-2g-6516 does not seem to be running inside a container 19:11:18 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 19:11:19 $ docker top 6a1604bbb1c1b9e877d0fed055de9869bd3fce8062e27610947d562ac7bce95a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:11:19 provisioning config files... 19:11:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-service-configurable_PR-68@tmp/config6257104976632840944tmp [Pipeline] { [Pipeline] echo 19:11:19 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:11:20 ---> create-netrc.sh [Pipeline] echo 19:11:20 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:11:20 ---> logs-deploy.sh 19:11:20 + ARCHIVE_ARTIFACTS= 19:11:20 + LOGS_SERVER=https://logs.edgexfoundry.org 19:11:20 + '[' https://logs.edgexfoundry.org == None ']' 19:11:20 + NEXUS_URL=https://nexus.edgexfoundry.org 19:11:20 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-68/4 19:11:20 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/app-service-configurable/job/PR-68/4/ 19:11:20 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-68/4 /w/workspace/y_app-service-configurable_PR-68 19:11:21 Archives upload complete. 19:11:21 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-68/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/app-service-configurable/job/PR-68/4/