Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from fb05ca8b1c4594f392a6183491989ca3273ae7c3 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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-4575 in /w/workspace/_app-service-configurable_master [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 Fetching without tags Checking out Revision fb05ca8b1c4594f392a6183491989ca3273ae7c3 (master) > git init /w/workspace/_app-service-configurable_master # 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/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/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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb05ca8b1c4594f392a6183491989ca3273ae7c3 # timeout=10 Commit message: "Merge pull request #60 from rsdmike/#53#55" > git rev-list --no-walk 509f75b81d4bfb4bcf6ec0f8397e94748f7d437b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:05:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:05:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:05:57 ========================================================= 18:05:57 EdgeX Global Pipelines Version Info 18:05:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:05:59 ------------------- 18:05:59 stable info: 18:05:59 ------------------- 18:05:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:05:59 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 18:05:59 Message: update stable to v1.0.73 18:05:59 ------------------- 18:05:59 experimental info: 18:05:59 ------------------- 18:05:59 Commited By: **** collab-it+edgex@linuxfoundation.org 18:05:59 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 18:05:59 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 18:06:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:06:01 18:06:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:06:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:06:01 latest: Pulling from edgex-devops/git-semver 18:06:01 9123ac7c32f7: Pulling fs layer 18:06:01 b8cc5d1170e3: Pulling fs layer 18:06:01 2924cbbf6a41: Pulling fs layer 18:06:01 93b08a4f1073: Pulling fs layer 18:06:01 93b08a4f1073: Waiting 18:06:01 b8cc5d1170e3: Verifying Checksum 18:06:01 b8cc5d1170e3: Download complete 18:06:02 9123ac7c32f7: Verifying Checksum 18:06:02 9123ac7c32f7: Download complete 18:06:02 93b08a4f1073: Verifying Checksum 18:06:02 93b08a4f1073: Download complete 18:06:02 2924cbbf6a41: Download complete 18:06:02 9123ac7c32f7: Pull complete 18:06:02 b8cc5d1170e3: Pull complete 18:06:02 2924cbbf6a41: Pull complete 18:06:03 93b08a4f1073: Pull complete 18:06:03 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 18:06:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:06:03 prd-centos7-docker-4c-2g-4575 does not seem to be running inside a container 18:06:03 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:06:04 $ docker top 0f471aaa30ea7ee3973dd449119ef19870a046405f0f716cde1083354eb55ecf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:06:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:06:04 [ssh-agent] Looking for ssh-agent implementation... 18:06:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:06:04 $ docker exec 0f471aaa30ea7ee3973dd449119ef19870a046405f0f716cde1083354eb55ecf ssh-agent 18:06:04 SSH_AUTH_SOCK=/tmp/ssh-AiXYADuHnJs3/agent.15 18:06:04 SSH_AGENT_PID=22 18:06:04 Running ssh-add (command line suppressed) 18:06:04 Identity added: /w/workspace/_app-service-configurable_master@tmp/private_key_1756028144398439117.key (/w/workspace/_app-service-configurable_master@tmp/private_key_1756028144398439117.key) 18:06:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:06:05 + git describe --exact-match --tags HEAD 18:06:05 fatal: No names found, cannot describe anything. [Pipeline] } 18:06:05 $ docker exec --env ******** --env ******** 0f471aaa30ea7ee3973dd449119ef19870a046405f0f716cde1083354eb55ecf ssh-agent -k 18:06:05 unset SSH_AUTH_SOCK; 18:06:05 unset SSH_AGENT_PID; 18:06:05 echo Agent pid 22 killed; 18:06:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:06:05 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:06:05 This usually means this commit has not been tagged. [Pipeline] sshagent 18:06:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:06:05 [ssh-agent] Looking for ssh-agent implementation... 18:06:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:06:05 $ docker exec 0f471aaa30ea7ee3973dd449119ef19870a046405f0f716cde1083354eb55ecf ssh-agent 18:06:05 SSH_AUTH_SOCK=/tmp/ssh-A9tJX6MyEicW/agent.58 18:06:05 SSH_AGENT_PID=65 18:06:06 Running ssh-add (command line suppressed) 18:06:06 Identity added: /w/workspace/_app-service-configurable_master@tmp/private_key_7050333434568153251.key (/w/workspace/_app-service-configurable_master@tmp/private_key_7050333434568153251.key) 18:06:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:06:06 + git semver init 18:06:06 # -> Open(): unable to determine branch for HEAD 18:06:06 # $GIT_DIR = /w/workspace/_app-service-configurable_master/.git 18:06:06 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_master 18:06:06 # $SEMVER_REMOTE_NAME = origin 18:06:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:06:06 # $SEMVER_USER_NAME = edgex-jenkins 18:06:06 # $SEMVER_BRANCH = master 18:06:06 # $SEMVER_TEMP = /tmp/semver-961098001 18:06:06 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 18:06:06 # '/tmp/semver-961098001' -> '/w/workspace/_app-service-configurable_master/.semver' 18:06:06 # -> Force: false 18:06:06 # $SEMVER_DIR = /w/workspace/_app-service-configurable_master/.semver [Pipeline] } 18:06:06 $ docker exec --env ******** --env ******** 0f471aaa30ea7ee3973dd449119ef19870a046405f0f716cde1083354eb55ecf ssh-agent -k 18:06:06 unset SSH_AUTH_SOCK; 18:06:06 unset SSH_AGENT_PID; 18:06:06 echo Agent pid 65 killed; 18:06:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:06:07 + git semver [Pipeline] } 18:06:07 $ docker stop --time=1 0f471aaa30ea7ee3973dd449119ef19870a046405f0f716cde1083354eb55ecf 18:06:08 $ docker rm -f 0f471aaa30ea7ee3973dd449119ef19870a046405f0f716cde1083354eb55ecf [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:06:09 Stashed 39 file(s) [Pipeline] echo 18:06:09 [edgeXSemver] initialized semver on version 1.0.1-dev.12 [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:06:24 Still waiting to schedule task 18:06:24 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:06:24 Still waiting to schedule task 18:06:24 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 18:08:43 Running on prd-centos7-docker-4c-2g-4577 in /w/workspace/_app-service-configurable_master [Pipeline] { [Pipeline] ws 18:08:43 Running in /w/workspace/app-service-configurable/16 [Pipeline] { [Pipeline] checkout 18:08:45 using credential edgex-jenkins-ssh 18:08:45 Cloning the remote Git repository 18:08:45 Cloning with configured refspecs honoured and without tags 18:08:46 Fetching without tags 18:08:46 Checking out Revision fb05ca8b1c4594f392a6183491989ca3273ae7c3 (master) 18:08:45 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 18:08:45 > git init /w/workspace/app-service-configurable/16 # timeout=10 18:08:45 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:08:45 > git --version # timeout=10 18:08:45 using GIT_SSH to set credentials SSH Credentials for GitHub 18:08:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/master:refs/remotes/origin/master # timeout=10 18:08:45 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:08:45 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:08:45 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:08:45 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:08:45 using GIT_SSH to set credentials SSH Credentials for GitHub 18:08:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/master:refs/remotes/origin/master # timeout=10 18:08:46 > git config core.sparsecheckout # timeout=10 18:08:46 > git checkout -f fb05ca8b1c4594f392a6183491989ca3273ae7c3 # timeout=10 18:08:50 Commit message: "Merge pull request #60 from rsdmike/#53#55" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:08:50 ========================================================= 18:08:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 18:08:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:08:51 + 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:08:51 Sending build context to Docker daemon 248.3kB 18:08:51 Step 1/8 : ARG BASE=golang:1.13-alpine 18:08:51 Step 2/8 : FROM ${BASE} 18:08:51 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 18:08:51 e6b0cf9c0882: Pulling fs layer 18:08:51 2848faf0eed1: Pulling fs layer 18:08:51 0f37312ad70f: Pulling fs layer 18:08:51 5788d62ee057: Pulling fs layer 18:08:51 0e6b1d234666: Pulling fs layer 18:08:51 bf5d7aec512f: Pulling fs layer 18:08:51 34c802a77dc8: Pulling fs layer 18:08:51 9eb99e56ec68: Pulling fs layer 18:08:51 27c7a5d97fbd: Pulling fs layer 18:08:51 5c102a31e300: Pulling fs layer 18:08:51 dcfb455df0a1: Pulling fs layer 18:08:51 34c802a77dc8: Waiting 18:08:51 9eb99e56ec68: Waiting 18:08:51 dcfb455df0a1: Waiting 18:08:51 27c7a5d97fbd: Waiting 18:08:51 5c102a31e300: Waiting 18:08:51 5788d62ee057: Waiting 18:08:51 0e6b1d234666: Waiting 18:08:51 bf5d7aec512f: Waiting 18:08:51 0f37312ad70f: Verifying Checksum 18:08:51 0f37312ad70f: Download complete 18:08:51 2848faf0eed1: Verifying Checksum 18:08:51 2848faf0eed1: Download complete 18:08:51 0e6b1d234666: Verifying Checksum 18:08:51 0e6b1d234666: Download complete 18:08:51 bf5d7aec512f: Verifying Checksum 18:08:51 bf5d7aec512f: Download complete 18:08:51 e6b0cf9c0882: Verifying Checksum 18:08:51 e6b0cf9c0882: Download complete 18:08:52 e6b0cf9c0882: Pull complete 18:08:52 34c802a77dc8: Verifying Checksum 18:08:52 34c802a77dc8: Download complete 18:08:52 27c7a5d97fbd: Verifying Checksum 18:08:52 27c7a5d97fbd: Download complete 18:08:53 5788d62ee057: Verifying Checksum 18:08:53 5788d62ee057: Download complete 18:08:53 5c102a31e300: Verifying Checksum 18:08:53 5c102a31e300: Download complete 18:08:53 dcfb455df0a1: Verifying Checksum 18:08:53 dcfb455df0a1: Download complete 18:08:53 9eb99e56ec68: Verifying Checksum 18:08:53 9eb99e56ec68: Download complete 18:08:53 2848faf0eed1: Pull complete 18:08:54 0f37312ad70f: Pull complete 18:09:00 5788d62ee057: Pull complete 18:09:00 0e6b1d234666: Pull complete 18:09:00 bf5d7aec512f: Pull complete 18:09:05 34c802a77dc8: Pull complete 18:09:08 9eb99e56ec68: Pull complete 18:09:08 27c7a5d97fbd: Pull complete 18:09:09 5c102a31e300: Pull complete 18:09:09 dcfb455df0a1: Pull complete 18:09:09 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 18:09:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 18:09:09 ---> 7c70fe431013 18:09:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:09:09 ---> Running in abe007b1a71d 18:09:09 Removing intermediate container abe007b1a71d 18:09:09 ---> f8688789c755 18:09:09 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:09:09 ---> Running in 1b4071ef2f28 18:09:10 Removing intermediate container 1b4071ef2f28 18:09:10 ---> 0f76c9ba0f4b 18:09:10 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 18:09:10 ---> Running in 1e9d79eba495 18:09:11 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 18:09:11 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 18:09:12 (1/6) Installing libc-dev (0.7.2-r0) 18:09:12 (2/6) Installing libsodium (1.0.18-r0) 18:09:12 (3/6) Installing pkgconf (1.6.3-r0) 18:09:12 (4/6) Installing libsodium-dev (1.0.18-r0) 18:09:12 (5/6) Installing libzmq (4.3.2-r0) 18:09:12 (6/6) Installing zeromq-dev (4.3.2-r0) 18:09:12 Executing busybox-1.31.1-r8.trigger 18:09:12 OK: 145 MiB in 45 packages 18:09:13 Removing intermediate container 1e9d79eba495 18:09:13 ---> 34346a65e8fe 18:09:13 Step 6/8 : WORKDIR /app 18:09:13 ---> Running in 5723c75fd410 18:09:13 Removing intermediate container 5723c75fd410 18:09:13 ---> aaadd46366d9 18:09:13 Step 7/8 : COPY . . 18:09:13 ---> a97d4407e841 18:09:13 Step 8/8 : RUN go mod download 18:09:13 ---> Running in 18f05e74bd57 18:09:15 go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 18:09:15 go: finding github.com/BurntSushi/toml v0.3.1 18:09:15 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:09:15 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:09:15 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:09:15 go: finding github.com/bgentry/speakeasy v0.1.0 18:09:15 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 18:09:15 go: finding github.com/davecgh/go-spew v1.1.1 18:09:15 go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 18:09:15 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 18:09:15 go: finding github.com/edgexfoundry/app-functions-sdk-go v1.0.1-dev.31 18:09:15 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.52 18:09:15 go: finding github.com/edgexfoundry/go-mod-messaging v0.1.16 18:09:15 go: finding github.com/edgexfoundry/go-mod-registry v0.1.11 18:09:15 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 18:09:15 go: finding github.com/fatih/color v1.7.0 18:09:15 go: finding github.com/go-kit/kit v0.8.0 18:09:15 go: finding github.com/go-logfmt/logfmt v0.4.0 18:09:15 go: finding github.com/go-stack/stack v1.8.0 18:09:15 go: finding github.com/golang/snappy v0.0.1 18:09:15 go: finding github.com/gomodule/redigo v2.0.0+incompatible 18:09:15 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:09:15 go: finding github.com/google/go-cmp v0.3.1 18:09:15 go: finding github.com/google/uuid v1.1.0 18:09:15 go: finding github.com/gorilla/mux v1.7.2 18:09:15 go: finding github.com/hashicorp/consul/api v1.1.0 18:09:15 go: finding github.com/hashicorp/consul/sdk v0.1.1 18:09:15 go: finding github.com/hashicorp/errwrap v1.0.0 18:09:15 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 18:09:15 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:09:15 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:09:15 go: finding github.com/hashicorp/go-multierror v1.0.0 18:09:15 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:09:15 go: finding github.com/hashicorp/go-sockaddr v1.0.0 18:09:15 go: finding github.com/hashicorp/go-syslog v1.0.0 18:09:15 go: finding github.com/hashicorp/go-uuid v1.0.1 18:09:15 go: finding github.com/hashicorp/go.net v0.0.1 18:09:15 go: finding github.com/hashicorp/golang-lru v0.5.0 18:09:15 go: finding github.com/hashicorp/logutils v1.0.0 18:09:15 go: finding github.com/hashicorp/mdns v1.0.0 18:09:15 go: finding github.com/hashicorp/memberlist v0.1.3 18:09:15 go: finding github.com/hashicorp/serf v0.8.2 18:09:15 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:09:15 go: finding github.com/kr/pretty v0.2.0 18:09:15 go: finding github.com/kr/pty v1.1.1 18:09:15 go: finding github.com/kr/text v0.1.0 18:09:15 go: finding github.com/mattn/go-colorable v0.0.9 18:09:15 go: finding github.com/mattn/go-isatty v0.0.3 18:09:15 go: finding github.com/miekg/dns v1.0.14 18:09:15 go: finding github.com/mitchellh/cli v1.0.0 18:09:15 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:09:15 go: finding github.com/mitchellh/copystructure v1.0.0 18:09:15 go: finding github.com/mitchellh/go-homedir v1.0.0 18:09:15 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:09:15 go: finding github.com/mitchellh/gox v0.4.0 18:09:15 go: finding github.com/mitchellh/iochan v1.0.0 18:09:15 go: finding github.com/mitchellh/mapstructure v1.1.2 18:09:15 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:09:16 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:09:16 go: finding github.com/pebbe/zmq4 v1.0.0 18:09:16 go: finding github.com/pelletier/go-toml v1.2.0 18:09:16 go: finding github.com/pkg/errors v0.8.1 18:09:16 go: finding github.com/pmezard/go-difflib v1.0.0 18:09:16 go: finding github.com/posener/complete v1.1.1 18:09:16 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 18:09:16 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:09:16 go: finding github.com/stretchr/objx v0.2.0 18:09:16 go: finding github.com/stretchr/testify v1.4.0 18:09:16 go: finding github.com/tidwall/pretty v1.0.0 18:09:16 go: finding github.com/ugorji/go v1.1.4 18:09:16 go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c 18:09:16 go: finding github.com/xdg/stringprep v1.0.0 18:09:16 go: finding go.mongodb.org/mongo-driver v1.1.1 18:09:16 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 18:09:16 go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 18:09:16 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:09:16 go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a 18:09:16 go: finding golang.org/x/text v0.3.2 18:09:16 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 18:09:16 go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 18:09:16 go: finding gopkg.in/yaml.v2 v2.2.2 18:09:28 Removing intermediate container 18f05e74bd57 18:09:28 ---> cd12d07aa69d 18:09:28 Successfully built cd12d07aa69d 18:09:28 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:09:29 + docker inspect -f . ci-base-image-x86_64 18:09:29 . [Pipeline] withDockerContainer 18:09:29 prd-centos7-docker-4c-2g-4577 does not seem to be running inside a container 18:09:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/16 -v /w/workspace/app-service-configurable/16:/w/workspace/app-service-configurable/16:rw,z -v /w/workspace/app-service-configurable/16@tmp:/w/workspace/app-service-configurable/16@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 ******** ci-base-image-x86_64 cat 18:09:31 $ docker top e06100922519e819fe30d36856a13ec51fabb605804a499b794c2094e482586a -eo pid,comm [Pipeline] { [Pipeline] sh 18:09:32 + go version 18:09:32 go version go1.13.5 linux/amd64 [Pipeline] sh 18:09:32 + make test 18:09:32 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:09:50 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:09:50 CGO_ENABLED=1 go vet ./... 18:09:52 gofmt -l . 18:09:52 [ "`gofmt -l .`" = "" ] 18:09:52 ./bin/test-go-mod-tidy.sh 18:09:52 ./bin/test-attribution-txt.sh [Pipeline] stash 18:09:53 Stashed 1 file(s) [Pipeline] } 18:09:53 $ docker stop --time=1 e06100922519e819fe30d36856a13ec51fabb605804a499b794c2094e482586a 18:09:54 $ docker rm -f e06100922519e819fe30d36856a13ec51fabb605804a499b794c2094e482586a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:09:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:09:56 + ls -al . 18:09:56 total 100 18:09:56 drwxrwxr-x. 7 jenkins jenkins 4096 Apr 17 18:09 . 18:09:56 drwxrwxr-x. 4 jenkins jenkins 30 Apr 17 18:08 .. 18:09:56 -rw-rw-r--. 1 jenkins jenkins 5446 Apr 17 18:08 Attribution.txt 18:09:56 drwxrwxr-x. 2 jenkins jenkins 64 Apr 17 18:08 bin 18:09:56 -rw-r--r--. 1 jenkins jenkins 10 Apr 17 18:09 coverage.out 18:09:56 -rw-rw-r--. 1 jenkins jenkins 180 Apr 17 18:08 docker-compose.debug.yml 18:09:56 -rw-rw-r--. 1 jenkins jenkins 133 Apr 17 18:08 docker-compose.yml 18:09:56 -rw-rw-r--. 1 jenkins jenkins 1917 Apr 17 18:08 Dockerfile 18:09:56 -rw-rw-r--. 1 jenkins jenkins 966 Apr 17 18:08 Dockerfile.build 18:09:56 -rw-rw-r--. 1 jenkins jenkins 127 Apr 17 18:08 .dockerignore 18:09:56 drwxrwxr-x. 8 jenkins jenkins 162 Apr 17 18:08 .git 18:09:56 -rw-rw-r--. 1 jenkins jenkins 93 Apr 17 18:08 .gitignore 18:09:56 -rw-r--r--. 1 jenkins jenkins 133 Apr 17 18:09 go.mod 18:09:56 -rw-r--r--. 1 jenkins jenkins 14901 Apr 17 18:09 go.sum 18:09:56 -rw-rw-r--. 1 jenkins jenkins 689 Apr 17 18:08 Jenkinsfile 18:09:56 -rw-rw-r--. 1 jenkins jenkins 10174 Apr 17 18:08 LICENSE 18:09:56 -rw-rw-r--. 1 jenkins jenkins 1616 Apr 17 18:08 main.go 18:09:56 -rw-rw-r--. 1 jenkins jenkins 1486 Apr 17 18:08 makefile 18:09:56 -rw-rw-r--. 1 jenkins jenkins 10342 Apr 17 18:08 README.md 18:09:56 drwxrwxr-x. 9 jenkins jenkins 147 Apr 17 18:08 res 18:09:56 drwxrwxr-x. 3 jenkins jenkins 32 Apr 17 18:08 .semver 18:09:56 drwxrwxr-x. 4 jenkins jenkins 71 Apr 17 18:08 snap 18:09:56 -rw-rw-r--. 1 jenkins jenkins 12 Apr 17 18:06 VERSION [Pipeline] isUnix [Pipeline] sh 18:09:56 + 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=fb05ca8b1c4594f392a6183491989ca3273ae7c3 --label arch=amd64 --label version=1.0.1-dev.12 . 18:09:56 Sending build context to Docker daemon 266.2kB 18:09:56 Step 1/24 : ARG BASE=golang:1.13-alpine 18:09:56 Step 2/24 : FROM ${BASE} AS builder 18:09:56 ---> cd12d07aa69d 18:09:56 Step 3/24 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:09:56 ---> Running in b8c86faa4d60 18:09:56 Removing intermediate container b8c86faa4d60 18:09:56 ---> 54857449ff46 18:09:56 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 18:09:56 ---> Running in 93746a31f3a5 18:09:57 Removing intermediate container 93746a31f3a5 18:09:57 ---> 988367321c93 18:09:57 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:09:57 ---> Running in d66405c62daf 18:09:57 Removing intermediate container d66405c62daf 18:09:57 ---> 5e9efa429a4f 18:09:57 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:09:57 ---> Running in e3f5215989bc 18:09:57 Removing intermediate container e3f5215989bc 18:09:57 ---> 7f2e49b2ce13 18:09:57 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:09:57 ---> Running in c2750f47f9f3 18:09:58 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 18:09:58 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 18:09:59 OK: 145 MiB in 45 packages 18:09:59 Removing intermediate container c2750f47f9f3 18:09:59 ---> 111d9a7ff427 18:09:59 Step 8/24 : WORKDIR /app 18:09:59 ---> Running in 968b4e9a535d 18:09:59 Removing intermediate container 968b4e9a535d 18:09:59 ---> 455c6d37c505 18:09:59 Step 9/24 : COPY go.mod . 18:10:00 ---> 58b5b04c2817 18:10:00 Step 10/24 : RUN go mod download 18:10:00 ---> Running in 399c3f63c403 18:10:01 Removing intermediate container 399c3f63c403 18:10:01 ---> 5ae81f71049c 18:10:01 Step 11/24 : COPY . . 18:10:01 ---> ea37918f73b0 18:10:01 Step 12/24 : ARG MAKE="make build" 18:10:01 ---> Running in 25d3fb80f1f3 18:10:01 Removing intermediate container 25d3fb80f1f3 18:10:01 ---> 29f668ae0e1f 18:10:01 Step 13/24 : RUN $MAKE 18:10:01 ---> Running in abdbc26335cb 18:10:01 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/internal.SDKVersion=v1.0.1-dev.31 -X github.com/edgexfoundry/app-functions-sdk-go/internal.ApplicationVersion=1.0.1-dev.12" -o app-service-configurable 18:10:19 Removing intermediate container abdbc26335cb 18:10:19 ---> 9e93cbe09d9b 18:10:19 Step 14/24 : FROM alpine:latest 18:10:19 latest: Pulling from library/alpine 18:10:19 aad63a933944: Pulling fs layer 18:10:19 aad63a933944: Download complete 18:10:19 aad63a933944: Pull complete 18:10:19 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 18:10:19 Status: Downloaded newer image for alpine:latest 18:10:19 ---> a187dde48cd2 18:10:19 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:10:19 ---> Running in cdf600a8da84 18:10:19 Removing intermediate container cdf600a8da84 18:10:19 ---> c8a73d16eaf5 18:10:19 Step 16/24 : LABEL Name=app-service-configurable Version=${VERSION} 18:10:19 ---> Running in edd63558226f 18:10:19 Removing intermediate container edd63558226f 18:10:19 ---> 12c2d15ab5d6 18:10:19 Step 17/24 : RUN apk --no-cache add ca-certificates zeromq 18:10:19 ---> Running in 8415fa435332 18:10:19 fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 18:10:19 fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 18:10:20 (1/6) Installing ca-certificates (20191127-r1) 18:10:20 (2/6) Installing libgcc (9.2.0-r4) 18:10:20 (3/6) Installing libsodium (1.0.18-r0) 18:10:20 (4/6) Installing libstdc++ (9.2.0-r4) 18:10:20 (5/6) Installing libzmq (4.3.2-r0) 18:10:20 (6/6) Installing zeromq (4.3.2-r0) 18:10:20 Executing busybox-1.31.1-r9.trigger 18:10:20 Executing ca-certificates-20191127-r1.trigger 18:10:20 OK: 9 MiB in 20 packages 18:10:20 Removing intermediate container 8415fa435332 18:10:20 ---> 3a99f4a4cce2 18:10:20 Step 18/24 : COPY --from=builder /app/res/ /res/ 18:10:20 ---> 5bdc0cc3afb4 18:10:20 Step 19/24 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:10:22 ---> e5226805d0c1 18:10:22 Step 20/24 : EXPOSE 48095 18:10:22 ---> Running in 5197266efcd8 18:10:22 Removing intermediate container 5197266efcd8 18:10:22 ---> c79e5e675c1c 18:10:22 Step 21/24 : ENTRYPOINT ["/app-service-configurable","--registry","--confdir=/res"] 18:10:22 ---> Running in ce32600514b2 18:10:22 Removing intermediate container ce32600514b2 18:10:22 ---> b0d639b28991 18:10:22 Step 22/24 : LABEL arch=amd64 18:10:22 ---> Running in c07999309007 18:10:22 Removing intermediate container c07999309007 18:10:22 ---> 2b848c98093b 18:10:22 Step 23/24 : LABEL git_sha=fb05ca8b1c4594f392a6183491989ca3273ae7c3 18:10:23 ---> Running in 15faaf1eedc9 18:10:23 Removing intermediate container 15faaf1eedc9 18:10:23 ---> 9a1e4f2a0990 18:10:23 Step 24/24 : LABEL version=1.0.1-dev.12 18:10:23 ---> Running in 7cad48e3b4b4 18:10:23 Removing intermediate container 7cad48e3b4b4 18:10:23 ---> 1fd66e41a458 18:10:23 [Warning] One or more build-args [ARCH] were not consumed 18:10:23 Successfully built 1fd66e41a458 18:10:23 Successfully tagged docker-app-service-configurable:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:10:23 provisioning config files... 18:10:23 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/16@tmp/config7074032309388200776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:10:24 nexus3.edgexfoundry.org:10001 18:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:24 Configure a credential helper to remove this warning. See 18:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:24 18:10:24 Login Succeeded 18:10:24 nexus3.edgexfoundry.org:10002 18:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:24 Configure a credential helper to remove this warning. See 18:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:24 18:10:24 Login Succeeded 18:10:24 nexus3.edgexfoundry.org:10003 18:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:24 Configure a credential helper to remove this warning. See 18:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:24 18:10:24 Login Succeeded 18:10:24 nexus3.edgexfoundry.org:10004 18:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:25 Configure a credential helper to remove this warning. See 18:10:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:25 18:10:25 Login Succeeded 18:10:25 docker.io 18:10:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:25 Configure a credential helper to remove this warning. See 18:10:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:25 18:10:25 Login Succeeded [Pipeline] } 18:10:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:10:25 [edgeXDocker.push] Tagging docker image docker-app-service-configurable with the following tags: 18:10:25 fb05ca8b1c4594f392a6183491989ca3273ae7c3 18:10:25 latest 18:10:25 1.0.1-dev.12 18:10:25 fb05ca8b1c4594f392a6183491989ca3273ae7c3-1.0.1-dev.12 18:10:25 master 18:10:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:10:25 + docker tag docker-app-service-configurable nexus3.edgexfoundry.org:10004/docker-app-service-configurable:fb05ca8b1c4594f392a6183491989ca3273ae7c3 [Pipeline] isUnix [Pipeline] sh 18:10:26 + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable:fb05ca8b1c4594f392a6183491989ca3273ae7c3 18:10:26 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable] 18:10:26 4bd58c2c694c: Preparing 18:10:26 a97b779977f4: Preparing 18:10:26 c91b828162d1: Preparing 18:10:26 beee9f30bc1f: Preparing 18:10:26 beee9f30bc1f: Layer already exists 18:10:26 a97b779977f4: Pushed 18:10:26 c91b828162d1: Pushed 18:10:28 4bd58c2c694c: Pushed 18:10:28 fb05ca8b1c4594f392a6183491989ca3273ae7c3: digest: sha256:72d26fb7fc4a5a3409db290b5826d9338c23759390ed9070614f74cd3f8f51a2 size: 1159 [Pipeline] isUnix [Pipeline] sh 18:10:28 + docker tag docker-app-service-configurable nexus3.edgexfoundry.org:10004/docker-app-service-configurable:latest [Pipeline] isUnix [Pipeline] sh 18:10:29 + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable:latest 18:10:29 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable] 18:10:29 4bd58c2c694c: Preparing 18:10:29 a97b779977f4: Preparing 18:10:29 c91b828162d1: Preparing 18:10:29 beee9f30bc1f: Preparing 18:10:29 a97b779977f4: Layer already exists 18:10:29 beee9f30bc1f: Layer already exists 18:10:29 4bd58c2c694c: Layer already exists 18:10:29 c91b828162d1: Layer already exists 18:10:29 latest: digest: sha256:72d26fb7fc4a5a3409db290b5826d9338c23759390ed9070614f74cd3f8f51a2 size: 1159 [Pipeline] isUnix [Pipeline] sh 18:10:29 + docker tag docker-app-service-configurable nexus3.edgexfoundry.org:10004/docker-app-service-configurable:1.0.1-dev.12 [Pipeline] isUnix [Pipeline] sh 18:10:29 + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable:1.0.1-dev.12 18:10:29 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable] 18:10:29 4bd58c2c694c: Preparing 18:10:29 a97b779977f4: Preparing 18:10:29 c91b828162d1: Preparing 18:10:29 beee9f30bc1f: Preparing 18:10:29 beee9f30bc1f: Layer already exists 18:10:29 4bd58c2c694c: Layer already exists 18:10:29 a97b779977f4: Layer already exists 18:10:29 c91b828162d1: Layer already exists 18:10:29 1.0.1-dev.12: digest: sha256:72d26fb7fc4a5a3409db290b5826d9338c23759390ed9070614f74cd3f8f51a2 size: 1159 [Pipeline] isUnix [Pipeline] sh 18:10:29 + docker tag docker-app-service-configurable nexus3.edgexfoundry.org:10004/docker-app-service-configurable:fb05ca8b1c4594f392a6183491989ca3273ae7c3-1.0.1-dev.12 [Pipeline] isUnix [Pipeline] sh 18:10:30 + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable:fb05ca8b1c4594f392a6183491989ca3273ae7c3-1.0.1-dev.12 18:10:30 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable] 18:10:30 4bd58c2c694c: Preparing 18:10:30 a97b779977f4: Preparing 18:10:30 c91b828162d1: Preparing 18:10:30 beee9f30bc1f: Preparing 18:10:30 beee9f30bc1f: Layer already exists 18:10:30 4bd58c2c694c: Layer already exists 18:10:30 c91b828162d1: Layer already exists 18:10:30 a97b779977f4: Layer already exists 18:10:30 fb05ca8b1c4594f392a6183491989ca3273ae7c3-1.0.1-dev.12: digest: sha256:72d26fb7fc4a5a3409db290b5826d9338c23759390ed9070614f74cd3f8f51a2 size: 1159 [Pipeline] isUnix [Pipeline] sh 18:10:30 + docker tag docker-app-service-configurable nexus3.edgexfoundry.org:10004/docker-app-service-configurable:master [Pipeline] isUnix [Pipeline] sh 18:10:30 + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable:master 18:10:30 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable] 18:10:30 4bd58c2c694c: Preparing 18:10:30 a97b779977f4: Preparing 18:10:30 c91b828162d1: Preparing 18:10:30 beee9f30bc1f: Preparing 18:10:30 4bd58c2c694c: Layer already exists 18:10:30 beee9f30bc1f: Layer already exists 18:10:30 c91b828162d1: Layer already exists 18:10:30 a97b779977f4: Layer already exists 18:10:30 master: digest: sha256:72d26fb7fc4a5a3409db290b5826d9338c23759390ed9070614f74cd3f8f51a2 size: 1159 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [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:13:52 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4580 in /w/workspace/_app-service-configurable_master [Pipeline] { [Pipeline] ws 18:13:53 Running in /w/workspace/app-service-configurable/16 [Pipeline] { [Pipeline] checkout 18:13:59 using credential edgex-jenkins-ssh 18:13:59 Cloning the remote Git repository 18:13:59 Cloning with configured refspecs honoured and without tags 18:13:59 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 18:14:00 Fetching without tags 18:13:59 > git init /w/workspace/app-service-configurable/16 # timeout=10 18:13:59 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:13:59 > git --version # timeout=10 18:13:59 using GIT_SSH to set credentials SSH Credentials for GitHub 18:13:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/master:refs/remotes/origin/master # timeout=10 18:14:00 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:14:00 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:14:00 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:14:00 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:14:00 using GIT_SSH to set credentials SSH Credentials for GitHub 18:14:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/master:refs/remotes/origin/master # timeout=10 18:14:01 Checking out Revision fb05ca8b1c4594f392a6183491989ca3273ae7c3 (master) 18:14:01 > git config core.sparsecheckout # timeout=10 18:14:01 > git checkout -f fb05ca8b1c4594f392a6183491989ca3273ae7c3 # timeout=10 18:14:05 Commit message: "Merge pull request #60 from rsdmike/#53#55" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:14:06 ========================================================= 18:14:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 18:14:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:14:07 + 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:14:08 Sending build context to Docker daemon 248.3kB 18:14:08 Step 1/8 : ARG BASE=golang:1.13-alpine 18:14:08 Step 2/8 : FROM ${BASE} 18:14:09 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:14:09 cde5963f3b93: Pulling fs layer 18:14:09 2a23fa8c16f7: Pulling fs layer 18:14:09 777b28850792: Pulling fs layer 18:14:09 8a11ddd9e578: Pulling fs layer 18:14:09 4cf88f913ddb: Pulling fs layer 18:14:09 1df406cf5192: Pulling fs layer 18:14:09 cd6300453558: Pulling fs layer 18:14:09 b9c365052c96: Pulling fs layer 18:14:09 a2d8cc88f415: Pulling fs layer 18:14:09 ea1d1ca13537: Pulling fs layer 18:14:09 3750a50a1c5e: Pulling fs layer 18:14:09 8a11ddd9e578: Waiting 18:14:09 4cf88f913ddb: Waiting 18:14:09 1df406cf5192: Waiting 18:14:09 cd6300453558: Waiting 18:14:09 b9c365052c96: Waiting 18:14:09 a2d8cc88f415: Waiting 18:14:09 ea1d1ca13537: Waiting 18:14:09 3750a50a1c5e: Waiting 18:14:09 777b28850792: Download complete 18:14:09 2a23fa8c16f7: Verifying Checksum 18:14:09 2a23fa8c16f7: Download complete 18:14:09 4cf88f913ddb: Verifying Checksum 18:14:09 4cf88f913ddb: Download complete 18:14:09 1df406cf5192: Verifying Checksum 18:14:09 1df406cf5192: Download complete 18:14:09 cde5963f3b93: Download complete 18:14:10 cde5963f3b93: Pull complete 18:14:10 2a23fa8c16f7: Pull complete 18:14:11 777b28850792: Pull complete 18:14:13 cd6300453558: Verifying Checksum 18:14:13 cd6300453558: Download complete 18:14:13 a2d8cc88f415: Download complete 18:14:15 ea1d1ca13537: Verifying Checksum 18:14:15 ea1d1ca13537: Download complete 18:14:16 3750a50a1c5e: Verifying Checksum 18:14:16 3750a50a1c5e: Download complete 18:14:19 b9c365052c96: Verifying Checksum 18:14:19 b9c365052c96: Download complete 18:14:20 8a11ddd9e578: Verifying Checksum 18:14:20 8a11ddd9e578: Download complete 18:14:32 8a11ddd9e578: Pull complete 18:14:32 4cf88f913ddb: Pull complete 18:14:32 1df406cf5192: Pull complete 18:14:38 cd6300453558: Pull complete 18:14:42 b9c365052c96: Pull complete 18:14:42 a2d8cc88f415: Pull complete 18:14:44 ea1d1ca13537: Pull complete 18:14:45 3750a50a1c5e: Pull complete 18:14:45 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 18:14:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 18:14:45 ---> 78745c68409d 18:14:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:14:49 ---> Running in f17d8bf6197b 18:14:49 Removing intermediate container f17d8bf6197b 18:14:49 ---> d94452c1b236 18:14:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:14:49 ---> Running in f0ddbbf96c2b 18:14:51 Removing intermediate container f0ddbbf96c2b 18:14:51 ---> 2ceddb5d91a1 18:14:51 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 18:14:52 ---> Running in fe8cb9ad69e7 18:14:52 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 18:14:53 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 18:14:54 (1/6) Installing libc-dev (0.7.2-r0) 18:14:54 (2/6) Installing libsodium (1.0.18-r0) 18:14:54 (3/6) Installing pkgconf (1.6.3-r0) 18:14:54 (4/6) Installing libsodium-dev (1.0.18-r0) 18:14:54 (5/6) Installing libzmq (4.3.2-r0) 18:14:54 (6/6) Installing zeromq-dev (4.3.2-r0) 18:14:54 Executing busybox-1.31.1-r8.trigger 18:14:55 OK: 127 MiB in 45 packages 18:14:56 Removing intermediate container fe8cb9ad69e7 18:14:56 ---> b9a26c321260 18:14:56 Step 6/8 : WORKDIR /app 18:14:56 ---> Running in fb9b0f308421 18:14:56 Removing intermediate container fb9b0f308421 18:14:56 ---> 3b3d4782abd8 18:14:56 Step 7/8 : COPY . . 18:14:57 ---> fc5aff8f986e 18:14:57 Step 8/8 : RUN go mod download 18:14:57 ---> Running in e91ed5fd003b 18:14:59 go: finding bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 18:14:59 go: finding github.com/BurntSushi/toml v0.3.1 18:14:59 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:14:59 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:14:59 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:14:59 go: finding github.com/bgentry/speakeasy v0.1.0 18:14:59 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 18:14:59 go: finding github.com/davecgh/go-spew v1.1.1 18:14:59 go: finding github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 18:14:59 go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 18:14:59 go: finding github.com/edgexfoundry/app-functions-sdk-go v1.0.1-dev.31 18:14:59 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.52 18:14:59 go: finding github.com/edgexfoundry/go-mod-messaging v0.1.16 18:14:59 go: finding github.com/edgexfoundry/go-mod-registry v0.1.11 18:14:59 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 18:14:59 go: finding github.com/fatih/color v1.7.0 18:14:59 go: finding github.com/go-kit/kit v0.8.0 18:14:59 go: finding github.com/go-logfmt/logfmt v0.4.0 18:14:59 go: finding github.com/go-stack/stack v1.8.0 18:14:59 go: finding github.com/golang/snappy v0.0.1 18:14:59 go: finding github.com/gomodule/redigo v2.0.0+incompatible 18:14:59 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:14:59 go: finding github.com/google/go-cmp v0.3.1 18:14:59 go: finding github.com/google/uuid v1.1.0 18:14:59 go: finding github.com/gorilla/mux v1.7.2 18:14:59 go: finding github.com/hashicorp/consul/api v1.1.0 18:14:59 go: finding github.com/hashicorp/consul/sdk v0.1.1 18:14:59 go: finding github.com/hashicorp/errwrap v1.0.0 18:14:59 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 18:14:59 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:14:59 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:14:59 go: finding github.com/hashicorp/go-multierror v1.0.0 18:15:00 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:15:00 go: finding github.com/hashicorp/go-sockaddr v1.0.0 18:15:00 go: finding github.com/hashicorp/go-syslog v1.0.0 18:15:00 go: finding github.com/hashicorp/go-uuid v1.0.1 18:15:00 go: finding github.com/hashicorp/go.net v0.0.1 18:15:00 go: finding github.com/hashicorp/golang-lru v0.5.0 18:15:00 go: finding github.com/hashicorp/logutils v1.0.0 18:15:00 go: finding github.com/hashicorp/mdns v1.0.0 18:15:00 go: finding github.com/hashicorp/memberlist v0.1.3 18:15:00 go: finding github.com/hashicorp/serf v0.8.2 18:15:00 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:15:00 go: finding github.com/kr/pretty v0.2.0 18:15:00 go: finding github.com/kr/pty v1.1.1 18:15:00 go: finding github.com/kr/text v0.1.0 18:15:00 go: finding github.com/mattn/go-colorable v0.0.9 18:15:00 go: finding github.com/mattn/go-isatty v0.0.3 18:15:00 go: finding github.com/miekg/dns v1.0.14 18:15:00 go: finding github.com/mitchellh/cli v1.0.0 18:15:00 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:15:00 go: finding github.com/mitchellh/copystructure v1.0.0 18:15:00 go: finding github.com/mitchellh/go-homedir v1.0.0 18:15:00 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:15:00 go: finding github.com/mitchellh/gox v0.4.0 18:15:00 go: finding github.com/mitchellh/iochan v1.0.0 18:15:00 go: finding github.com/mitchellh/mapstructure v1.1.2 18:15:00 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:15:00 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:15:00 go: finding github.com/pebbe/zmq4 v1.0.0 18:15:00 go: finding github.com/pelletier/go-toml v1.2.0 18:15:00 go: finding github.com/pkg/errors v0.8.1 18:15:00 go: finding github.com/pmezard/go-difflib v1.0.0 18:15:00 go: finding github.com/posener/complete v1.1.1 18:15:00 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 18:15:00 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:15:00 go: finding github.com/stretchr/objx v0.2.0 18:15:00 go: finding github.com/stretchr/testify v1.4.0 18:15:00 go: finding github.com/tidwall/pretty v1.0.0 18:15:00 go: finding github.com/ugorji/go v1.1.4 18:15:00 go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c 18:15:00 go: finding github.com/xdg/stringprep v1.0.0 18:15:00 go: finding go.mongodb.org/mongo-driver v1.1.1 18:15:00 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 18:15:00 go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 18:15:00 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:15:00 go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a 18:15:00 go: finding golang.org/x/text v0.3.2 18:15:00 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 18:15:00 go: finding gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 18:15:00 go: finding gopkg.in/yaml.v2 v2.2.2 18:15:18 Removing intermediate container e91ed5fd003b 18:15:18 ---> 64dc65a2cc93 18:15:18 Successfully built 64dc65a2cc93 18:15:18 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:15:19 + docker inspect -f . ci-base-image-arm64 18:15:19 . [Pipeline] withDockerContainer 18:15:20 prd-ubuntu18.04-docker-arm64-4c-16g-4580 does not seem to be running inside a container 18:15:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/16 -v /w/workspace/app-service-configurable/16:/w/workspace/app-service-configurable/16:rw,z -v /w/workspace/app-service-configurable/16@tmp:/w/workspace/app-service-configurable/16@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 ******** ci-base-image-arm64 cat 18:15:21 $ docker top 47ca94d3e6dacfa202fb44440ae975444638480d59369def7473a1126d9e1756 -eo pid,comm [Pipeline] { [Pipeline] sh 18:15:22 + go version 18:15:22 go version go1.13.5 linux/arm64 [Pipeline] sh 18:15:23 + make test 18:15:23 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:16:10 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:16:10 CGO_ENABLED=1 go vet ./... 18:16:20 gofmt -l . 18:16:20 [ "`gofmt -l .`" = "" ] 18:16:20 ./bin/test-go-mod-tidy.sh 18:16:20 ./bin/test-attribution-txt.sh [Pipeline] stash 18:16:20 Warning: overwriting stash ‘coverage-report’ 18:16:20 Stashed 1 file(s) [Pipeline] } 18:16:20 $ docker stop --time=1 47ca94d3e6dacfa202fb44440ae975444638480d59369def7473a1126d9e1756 18:16:23 $ docker rm -f 47ca94d3e6dacfa202fb44440ae975444638480d59369def7473a1126d9e1756 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:16:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:16:24 + ls -al . 18:16:24 total 124 18:16:24 drwxrwxr-x 7 jenkins jenkins 4096 Apr 17 18:16 . 18:16:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:13 .. 18:16:24 -rw-rw-r-- 1 jenkins jenkins 127 Apr 17 18:14 .dockerignore 18:16:24 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 18:14 .git 18:16:24 -rw-rw-r-- 1 jenkins jenkins 93 Apr 17 18:14 .gitignore 18:16:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:14 .semver 18:16:24 -rw-rw-r-- 1 jenkins jenkins 5446 Apr 17 18:14 Attribution.txt 18:16:24 -rw-rw-r-- 1 jenkins jenkins 1917 Apr 17 18:14 Dockerfile 18:16:24 -rw-rw-r-- 1 jenkins jenkins 966 Apr 17 18:14 Dockerfile.build 18:16:24 -rw-rw-r-- 1 jenkins jenkins 689 Apr 17 18:14 Jenkinsfile 18:16:24 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 17 18:14 LICENSE 18:16:24 -rw-rw-r-- 1 jenkins jenkins 10342 Apr 17 18:14 README.md 18:16:24 -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 18:06 VERSION 18:16:24 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 18:14 bin 18:16:24 -rw-r--r-- 1 jenkins jenkins 10 Apr 17 18:15 coverage.out 18:16:24 -rw-rw-r-- 1 jenkins jenkins 180 Apr 17 18:14 docker-compose.debug.yml 18:16:24 -rw-rw-r-- 1 jenkins jenkins 133 Apr 17 18:14 docker-compose.yml 18:16:24 -rw-r--r-- 1 jenkins jenkins 133 Apr 17 18:16 go.mod 18:16:24 -rw-r--r-- 1 jenkins jenkins 14901 Apr 17 18:16 go.sum 18:16:24 -rw-rw-r-- 1 jenkins jenkins 1616 Apr 17 18:14 main.go 18:16:24 -rw-rw-r-- 1 jenkins jenkins 1486 Apr 17 18:14 makefile 18:16:24 drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 18:14 res 18:16:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:14 snap [Pipeline] isUnix [Pipeline] sh 18:16:24 + 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=fb05ca8b1c4594f392a6183491989ca3273ae7c3 --label arch=arm64 --label version=1.0.1-dev.12 . 18:16:25 Sending build context to Docker daemon 266.2kB 18:16:25 Step 1/24 : ARG BASE=golang:1.13-alpine 18:16:25 Step 2/24 : FROM ${BASE} AS builder 18:16:25 ---> 64dc65a2cc93 18:16:25 Step 3/24 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:16:25 ---> Running in 2266d6291517 18:16:26 Removing intermediate container 2266d6291517 18:16:26 ---> 3995334d134e 18:16:26 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 18:16:26 ---> Running in 7795a7659919 18:16:26 Removing intermediate container 7795a7659919 18:16:26 ---> 3e5e74d2fe1b 18:16:26 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:16:26 ---> Running in 66dad4eb49ec 18:16:26 Removing intermediate container 66dad4eb49ec 18:16:26 ---> ce0b7b432000 18:16:26 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:16:26 ---> Running in 71a49cad0160 18:16:28 Removing intermediate container 71a49cad0160 18:16:28 ---> cafc41421442 18:16:28 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:16:28 ---> Running in b165c8c179c7 18:16:29 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 18:16:30 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 18:16:31 OK: 127 MiB in 45 packages 18:16:32 Removing intermediate container b165c8c179c7 18:16:32 ---> f3aedc235cab 18:16:32 Step 8/24 : WORKDIR /app 18:16:32 ---> Running in 4ea83f0cb9f7 18:16:32 Removing intermediate container 4ea83f0cb9f7 18:16:32 ---> 8ccb61d1cdad 18:16:32 Step 9/24 : COPY go.mod . 18:16:33 ---> 58839fdd4844 18:16:33 Step 10/24 : RUN go mod download 18:16:33 ---> Running in ecb24cb01f7d 18:16:35 Removing intermediate container ecb24cb01f7d 18:16:35 ---> 540a8f091e75 18:16:35 Step 11/24 : COPY . . 18:16:36 ---> 37bbde9dc9d4 18:16:36 Step 12/24 : ARG MAKE="make build" 18:16:36 ---> Running in a683661d9fbe 18:16:36 Removing intermediate container a683661d9fbe 18:16:36 ---> 3fe5cd8e3717 18:16:36 Step 13/24 : RUN $MAKE 18:16:36 ---> Running in 59e3e809af29 18:16:37 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/internal.SDKVersion=v1.0.1-dev.31 -X github.com/edgexfoundry/app-functions-sdk-go/internal.ApplicationVersion=1.0.1-dev.12" -o app-service-configurable 18:17:34 Removing intermediate container 59e3e809af29 18:17:34 ---> 128d44622491 18:17:34 Step 14/24 : FROM alpine:latest 18:17:34 latest: Pulling from library/alpine 18:17:34 8a0637ca1ac9: Pulling fs layer 18:17:34 8a0637ca1ac9: Verifying Checksum 18:17:34 8a0637ca1ac9: Download complete 18:17:34 8a0637ca1ac9: Pull complete 18:17:34 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 18:17:34 Status: Downloaded newer image for alpine:latest 18:17:34 ---> 2ee122dcc32d 18:17:34 Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:17:34 ---> Running in 6506172b861a 18:17:34 Removing intermediate container 6506172b861a 18:17:34 ---> 6d49f5a99c11 18:17:34 Step 16/24 : LABEL Name=app-service-configurable Version=${VERSION} 18:17:34 ---> Running in 0908576c2572 18:17:34 Removing intermediate container 0908576c2572 18:17:34 ---> 09c83662595c 18:17:34 Step 17/24 : RUN apk --no-cache add ca-certificates zeromq 18:17:34 ---> Running in 557f032200dd 18:17:34 fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 18:17:34 fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 18:17:34 (1/6) Installing ca-certificates (20191127-r1) 18:17:34 (2/6) Installing libgcc (9.2.0-r4) 18:17:34 (3/6) Installing libsodium (1.0.18-r0) 18:17:34 (4/6) Installing libstdc++ (9.2.0-r4) 18:17:34 (5/6) Installing libzmq (4.3.2-r0) 18:17:34 (6/6) Installing zeromq (4.3.2-r0) 18:17:34 Executing busybox-1.31.1-r9.trigger 18:17:34 Executing ca-certificates-20191127-r1.trigger 18:17:34 OK: 9 MiB in 20 packages 18:17:34 Removing intermediate container 557f032200dd 18:17:34 ---> a7aecfeab2ff 18:17:34 Step 18/24 : COPY --from=builder /app/res/ /res/ 18:17:34 ---> 3f3a0ce9e09b 18:17:34 Step 19/24 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:17:36 ---> ca35da859c9f 18:17:36 Step 20/24 : EXPOSE 48095 18:17:36 ---> Running in 0d3d145a80e6 18:17:36 Removing intermediate container 0d3d145a80e6 18:17:36 ---> e172c2f2a22d 18:17:36 Step 21/24 : ENTRYPOINT ["/app-service-configurable","--registry","--confdir=/res"] 18:17:36 ---> Running in 014d4a3f103a 18:17:37 Removing intermediate container 014d4a3f103a 18:17:37 ---> 0c7bb1760342 18:17:37 Step 22/24 : LABEL arch=arm64 18:17:37 ---> Running in fc0c4748106a 18:17:37 Removing intermediate container fc0c4748106a 18:17:37 ---> 5581e72cdd7f 18:17:37 Step 23/24 : LABEL git_sha=fb05ca8b1c4594f392a6183491989ca3273ae7c3 18:17:37 ---> Running in 3c7d75d1fc4f 18:17:38 Removing intermediate container 3c7d75d1fc4f 18:17:38 ---> 8abc3bd7a2aa 18:17:38 Step 24/24 : LABEL version=1.0.1-dev.12 18:17:38 ---> Running in 85e72c77c24c 18:17:38 Removing intermediate container 85e72c77c24c 18:17:38 ---> 4291d313bcf3 18:17:38 [Warning] One or more build-args [ARCH] were not consumed 18:17:38 Successfully built 4291d313bcf3 18:17:38 Successfully tagged docker-app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:17:39 provisioning config files... 18:17:39 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/16@tmp/config3901037814150529492tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:17:39 nexus3.edgexfoundry.org:10001 18:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:40 Configure a credential helper to remove this warning. See 18:17:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:40 18:17:40 Login Succeeded 18:17:40 nexus3.edgexfoundry.org:10002 18:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:41 Configure a credential helper to remove this warning. See 18:17:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:41 18:17:41 Login Succeeded 18:17:41 nexus3.edgexfoundry.org:10003 18:17:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:41 Configure a credential helper to remove this warning. See 18:17:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:41 18:17:41 Login Succeeded 18:17:41 nexus3.edgexfoundry.org:10004 18:17:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:42 Configure a credential helper to remove this warning. See 18:17:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:42 18:17:42 Login Succeeded 18:17:42 docker.io 18:17:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:43 Configure a credential helper to remove this warning. See 18:17:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:43 18:17:43 Login Succeeded [Pipeline] } 18:17:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:17:43 [edgeXDocker.push] Tagging docker image docker-app-service-configurable-arm64 with the following tags: 18:17:43 fb05ca8b1c4594f392a6183491989ca3273ae7c3 18:17:43 latest 18:17:43 1.0.1-dev.12 18:17:43 fb05ca8b1c4594f392a6183491989ca3273ae7c3-1.0.1-dev.12 18:17:43 master 18:17:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:17:44 + docker tag docker-app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:fb05ca8b1c4594f392a6183491989ca3273ae7c3 [Pipeline] isUnix [Pipeline] sh 18:17:44 + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:fb05ca8b1c4594f392a6183491989ca3273ae7c3 18:17:45 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64] 18:17:45 553434660ef6: Preparing 18:17:45 ad68f282b604: Preparing 18:17:45 6b3dd6f5ac9f: Preparing 18:17:45 294ac687b5fc: Preparing 18:17:45 294ac687b5fc: Layer already exists 18:17:45 ad68f282b604: Pushed 18:17:46 6b3dd6f5ac9f: Pushed 18:17:50 553434660ef6: Pushed 18:17:50 fb05ca8b1c4594f392a6183491989ca3273ae7c3: digest: sha256:757aa52ba8aebf13f3caa91172ba8fb52f4177893da058249dedcfa79421e771 size: 1158 [Pipeline] isUnix [Pipeline] sh 18:17:50 + docker tag docker-app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:17:51 + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:latest 18:17:51 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64] 18:17:51 553434660ef6: Preparing 18:17:51 ad68f282b604: Preparing 18:17:51 6b3dd6f5ac9f: Preparing 18:17:51 294ac687b5fc: Preparing 18:17:51 553434660ef6: Layer already exists 18:17:51 294ac687b5fc: Layer already exists 18:17:51 ad68f282b604: Layer already exists 18:17:51 6b3dd6f5ac9f: Layer already exists 18:17:51 latest: digest: sha256:757aa52ba8aebf13f3caa91172ba8fb52f4177893da058249dedcfa79421e771 size: 1158 [Pipeline] isUnix [Pipeline] sh 18:17:52 + docker tag docker-app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:1.0.1-dev.12 [Pipeline] isUnix [Pipeline] sh 18:17:52 + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:1.0.1-dev.12 18:17:52 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64] 18:17:52 553434660ef6: Preparing 18:17:52 ad68f282b604: Preparing 18:17:52 6b3dd6f5ac9f: Preparing 18:17:52 294ac687b5fc: Preparing 18:17:52 553434660ef6: Layer already exists 18:17:52 ad68f282b604: Layer already exists 18:17:52 294ac687b5fc: Layer already exists 18:17:52 6b3dd6f5ac9f: Layer already exists 18:17:52 1.0.1-dev.12: digest: sha256:757aa52ba8aebf13f3caa91172ba8fb52f4177893da058249dedcfa79421e771 size: 1158 [Pipeline] isUnix [Pipeline] sh 18:17:53 + docker tag docker-app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:fb05ca8b1c4594f392a6183491989ca3273ae7c3-1.0.1-dev.12 [Pipeline] isUnix [Pipeline] sh 18:17:53 + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:fb05ca8b1c4594f392a6183491989ca3273ae7c3-1.0.1-dev.12 18:17:53 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64] 18:17:54 553434660ef6: Preparing 18:17:54 ad68f282b604: Preparing 18:17:54 6b3dd6f5ac9f: Preparing 18:17:54 294ac687b5fc: Preparing 18:17:54 294ac687b5fc: Layer already exists 18:17:54 553434660ef6: Layer already exists 18:17:54 ad68f282b604: Layer already exists 18:17:54 6b3dd6f5ac9f: Layer already exists 18:17:54 fb05ca8b1c4594f392a6183491989ca3273ae7c3-1.0.1-dev.12: digest: sha256:757aa52ba8aebf13f3caa91172ba8fb52f4177893da058249dedcfa79421e771 size: 1158 [Pipeline] isUnix [Pipeline] sh 18:17:54 + docker tag docker-app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:master [Pipeline] isUnix [Pipeline] sh 18:17:55 + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:master 18:17:55 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64] 18:17:55 553434660ef6: Preparing 18:17:55 ad68f282b604: Preparing 18:17:55 6b3dd6f5ac9f: Preparing 18:17:55 294ac687b5fc: Preparing 18:17:55 6b3dd6f5ac9f: Layer already exists 18:17:55 553434660ef6: Layer already exists 18:17:55 ad68f282b604: Layer already exists 18:17:55 294ac687b5fc: Layer already exists 18:17:55 master: digest: sha256:757aa52ba8aebf13f3caa91172ba8fb52f4177893da058249dedcfa79421e771 size: 1158 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [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 18:17:56 provisioning config files... 18:17:56 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_master@tmp/config2991689601459954572tmp [Pipeline] { [Pipeline] sh 18:17:56 + curl -s https://codecov.io/bash 18:17:56 + bash -s - -t @/w/workspace/_app-service-configurable_master@tmp/config2991689601459954572tmp 18:17:57 18:17:57 _____ _ 18:17:57 / ____| | | 18:17:57 | | ___ __| | ___ ___ _____ __ 18:17:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:17:57 | |___| (_) | (_| | __/ (_| (_) \ V / 18:17:57 \_____\___/ \__,_|\___|\___\___/ \_/ 18:17:57 Bash-tbd 18:17:57 18:17:57 18:17:57 ==> Jenkins CI detected. 18:17:57 project root: . 18:17:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:17:57 ==> Running gcov in . (disable via -X gcov) 18:17:57 ==> Python coveragepy not found 18:17:57 ==> Searching for coverage reports in: 18:17:57 + . 18:17:57 -> Found 1 reports 18:17:57 ==> Detecting git/mercurial file structure 18:17:57 ==> Reading reports 18:17:57 + ./coverage.out bytes=10 18:17:57 ==> Appending adjustments 18:17:57 http://docs.codecov.io/docs/fixing-reports 18:17:57 + Found adjustments 18:17:57 ==> Gzipping contents 18:17:57 ==> Uploading reports 18:17:57 url: https://codecov.io 18:17:57 query: branch=master&commit=fb05ca8b1c4594f392a6183491989ca3273ae7c3&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmaster%2F16%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job= 18:17:57 -> Pinging Codecov 18:17:57 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=fb05ca8b1c4594f392a6183491989ca3273ae7c3&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmaster%2F16%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job= 18:17:57 -> Uploading 18:17:57 -> View reports at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/fb05ca8b1c4594f392a6183491989ca3273ae7c3 [Pipeline] } 18:17:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 18:17:58 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 18:17:58 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 18:17:58 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:17:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 18:17:58 18:17:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh 18:17:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 18:17:58 1.217.3: Pulling from edgex-devops/edgex-snyk-go 18:17:58 e6b0cf9c0882: Pulling fs layer 18:17:58 2848faf0eed1: Pulling fs layer 18:17:58 0f37312ad70f: Pulling fs layer 18:17:58 7d08f2745646: Pulling fs layer 18:17:58 4c9f31393084: Pulling fs layer 18:17:58 eb21ddb83652: Pulling fs layer 18:17:58 345998794f6b: Pulling fs layer 18:17:58 97a711d68925: Pulling fs layer 18:17:58 7c8476c1cb00: Pulling fs layer 18:17:58 eb21ddb83652: Waiting 18:17:58 345998794f6b: Waiting 18:17:58 97a711d68925: Waiting 18:17:58 7c8476c1cb00: Waiting 18:17:58 7d08f2745646: Waiting 18:17:58 4c9f31393084: Waiting 18:17:58 0f37312ad70f: Verifying Checksum 18:17:58 0f37312ad70f: Download complete 18:17:58 2848faf0eed1: Verifying Checksum 18:17:58 2848faf0eed1: Download complete 18:17:58 4c9f31393084: Verifying Checksum 18:17:58 4c9f31393084: Download complete 18:17:58 eb21ddb83652: Verifying Checksum 18:17:58 eb21ddb83652: Download complete 18:17:58 e6b0cf9c0882: Verifying Checksum 18:17:58 e6b0cf9c0882: Download complete 18:17:59 345998794f6b: Verifying Checksum 18:17:59 345998794f6b: Download complete 18:17:59 e6b0cf9c0882: Pull complete 18:17:59 97a711d68925: Download complete 18:17:59 2848faf0eed1: Pull complete 18:18:00 7c8476c1cb00: Verifying Checksum 18:18:00 7c8476c1cb00: Download complete 18:18:00 0f37312ad70f: Pull complete 18:18:00 7d08f2745646: Verifying Checksum 18:18:00 7d08f2745646: Download complete 18:18:05 7d08f2745646: Pull complete 18:18:05 4c9f31393084: Pull complete 18:18:05 eb21ddb83652: Pull complete 18:18:07 345998794f6b: Pull complete 18:18:12 97a711d68925: Pull complete 18:18:12 7c8476c1cb00: Pull complete 18:18:12 Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 18:18:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer 18:18:12 prd-centos7-docker-4c-2g-4575 does not seem to be running inside a container 18:18:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/_app-service-configurable_master:/ws -w /ws --entrypoint= -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat 18:18:13 $ docker top fd636052b0c0d970a402962d116e7d7172ef664953cd65c601ff9981ad6fc4ab -eo pid,comm [Pipeline] { [Pipeline] sh 18:18:13 + snyk monitor '--org=edgex-jenkins' 18:18:25 18:18:25 Monitoring /w/workspace/_app-service-configurable_master... 18:18:25 18:18:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/78834c31-a9c6-48a0-bc23-2630bc060585/history/06c61941-f960-458e-8b0d-ea3c011febc7 18:18:25 18:18:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:18:25 18:18:25 [Pipeline] } 18:18:25 $ docker stop --time=1 fd636052b0c0d970a402962d116e7d7172ef664953cd65c601ff9981ad6fc4ab 18:18:27 $ docker rm -f fd636052b0c0d970a402962d116e7d7172ef664953cd65c601ff9981ad6fc4ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:18:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 18:18:28 18:18:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 18:18:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 18:18:28 latest: Pulling from edgex-devops/edgex-klar 18:18:28 e7c96db7181b: Pulling fs layer 18:18:28 1868ca2cb446: Pulling fs layer 18:18:28 136be5d0fe8e: Pulling fs layer 18:18:28 894bfe63afcb: Pulling fs layer 18:18:28 894bfe63afcb: Waiting 18:18:28 1868ca2cb446: Download complete 18:18:28 136be5d0fe8e: Download complete 18:18:28 e7c96db7181b: Download complete 18:18:29 894bfe63afcb: Verifying Checksum 18:18:29 894bfe63afcb: Download complete 18:18:29 e7c96db7181b: Pull complete 18:18:29 1868ca2cb446: Pull complete 18:18:29 136be5d0fe8e: Pull complete 18:18:29 894bfe63afcb: Pull complete 18:18:29 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 18:18:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 18:18:29 prd-centos7-docker-4c-2g-4575 does not seem to be running inside a container 18:18:29 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 18:18:30 $ docker top 7a7b6654ed898f0a309e711c42e00fb97839be5f68d01cc8daf6806812737c04 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:30 + /klar nexus3.edgexfoundry.org:10004/docker-app-service-configurable:fb05ca8b1c4594f392a6183491989ca3273ae7c3 18:18:30 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 18:18:35 $ docker stop --time=1 7a7b6654ed898f0a309e711c42e00fb97839be5f68d01cc8daf6806812737c04 18:18:36 $ docker rm -f 7a7b6654ed898f0a309e711c42e00fb97839be5f68d01cc8daf6806812737c04 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 18:18:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 18:18:37 . [Pipeline] withDockerContainer 18:18:37 prd-centos7-docker-4c-2g-4575 does not seem to be running inside a container 18:18:37 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 18:18:37 $ docker top 664951b545a7af86b29b2fbc7b06f14bc72b355b56abec90cb00b496df19c7b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:38 + tee 18:18:38 + /klar nexus3.edgexfoundry.org:10004/docker-app-service-configurable:fb05ca8b1c4594f392a6183491989ca3273ae7c3 18:18:38 clair timeout 1m0s 18:18:38 docker timeout: 1m0s 18:18:38 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 18:18:38 $ docker stop --time=1 664951b545a7af86b29b2fbc7b06f14bc72b355b56abec90cb00b496df19c7b0 18:18:40 $ docker rm -f 664951b545a7af86b29b2fbc7b06f14bc72b355b56abec90cb00b496df19c7b0 [Pipeline] // withDockerContainer [Pipeline] sh 18:18:40 + mkdir -p /w/workspace/_app-service-configurable_master/clair-reports [Pipeline] echo 18:18:40 Generated HTML Table Report. Writing to /w/workspace/_app-service-configurable_master/clair-reports/clair_results_docker-app-service-configurable_fb05ca8b1c4594f392a6183491989ca3273ae7c3.html [Pipeline] writeFile [Pipeline] step 18:18:40 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 18:18:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 18:18:41 . [Pipeline] withDockerContainer 18:18:41 prd-centos7-docker-4c-2g-4575 does not seem to be running inside a container 18:18:41 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 18:18:41 $ docker top f8321f4d0fc760642a34224b885d54de19cb20b35eb3a841b7fce7a395aed12a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:42 + tee 18:18:42 + /klar nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:fb05ca8b1c4594f392a6183491989ca3273ae7c3 [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 18:18:46 $ docker stop --time=1 f8321f4d0fc760642a34224b885d54de19cb20b35eb3a841b7fce7a395aed12a 18:18:48 $ docker rm -f f8321f4d0fc760642a34224b885d54de19cb20b35eb3a841b7fce7a395aed12a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 18:18:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 18:18:48 . [Pipeline] withDockerContainer 18:18:48 prd-centos7-docker-4c-2g-4575 does not seem to be running inside a container 18:18:48 $ docker run -t -d -u 1001:1001 --entrypoint= -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat 18:18:49 $ docker top 845fd5dbeb78906cc5fd8b0cc93f9e5a358f15fe71b7acec635d629b423faa7d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:50 + /klar nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:fb05ca8b1c4594f392a6183491989ca3273ae7c3 18:18:50 + tee 18:18:50 clair timeout 1m0s 18:18:50 docker timeout: 1m0s 18:18:50 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 18:18:50 $ docker stop --time=1 845fd5dbeb78906cc5fd8b0cc93f9e5a358f15fe71b7acec635d629b423faa7d 18:18:52 $ docker rm -f 845fd5dbeb78906cc5fd8b0cc93f9e5a358f15fe71b7acec635d629b423faa7d [Pipeline] // withDockerContainer [Pipeline] sh 18:18:52 + mkdir -p /w/workspace/_app-service-configurable_master/clair-reports [Pipeline] echo 18:18:52 Generated HTML Table Report. Writing to /w/workspace/_app-service-configurable_master/clair-reports/clair_results_docker-app-service-configurable-arm64_fb05ca8b1c4594f392a6183491989ca3273ae7c3.html [Pipeline] writeFile [Pipeline] step 18:18:52 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 18:18:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:18:53 . [Pipeline] withDockerContainer 18:18:53 prd-centos7-docker-4c-2g-4575 does not seem to be running inside a container 18:18:53 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:18:54 $ docker top 63c33a614abc1668906b84e67b36df3b6a107c6e4dabad95bfac7abfe20b5689 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:18:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:18:54 [ssh-agent] Looking for ssh-agent implementation... 18:18:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:18:54 $ docker exec 63c33a614abc1668906b84e67b36df3b6a107c6e4dabad95bfac7abfe20b5689 ssh-agent 18:18:54 SSH_AUTH_SOCK=/tmp/ssh-wSmUbMBEgrHs/agent.15 18:18:54 SSH_AGENT_PID=22 18:18:54 Running ssh-add (command line suppressed) 18:18:54 Identity added: /w/workspace/_app-service-configurable_master@tmp/private_key_1448755992683115083.key (/w/workspace/_app-service-configurable_master@tmp/private_key_1448755992683115083.key) 18:18:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:18:55 + git semver tag 18:18:55 # -> Open(): unable to determine branch for HEAD 18:18:55 # $GIT_DIR = /w/workspace/_app-service-configurable_master/.git 18:18:55 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_master 18:18:55 # $SEMVER_REMOTE_NAME = origin 18:18:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:18:55 # $SEMVER_USER_NAME = edgex-jenkins 18:18:55 # $SEMVER_BRANCH = master 18:18:55 # $SEMVER_DIR = /w/workspace/_app-service-configurable_master/.semver 18:18:55 # fb05ca8b1c4594f392a6183491989ca3273ae7c3 HEAD 18:18:55 # -> Force: false 18:18:55 # ff5141f49e68a678d86776bbca459752e0499d37 refs/tags/v1.0.1-dev.12 [Pipeline] } 18:18:55 $ docker exec --env ******** --env ******** 63c33a614abc1668906b84e67b36df3b6a107c6e4dabad95bfac7abfe20b5689 ssh-agent -k 18:18:55 unset SSH_AUTH_SOCK; 18:18:55 unset SSH_AGENT_PID; 18:18:55 echo Agent pid 22 killed; 18:18:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:18:55 + git semver [Pipeline] } 18:18:55 $ docker stop --time=1 63c33a614abc1668906b84e67b36df3b6a107c6e4dabad95bfac7abfe20b5689 18:18:57 $ docker rm -f 63c33a614abc1668906b84e67b36df3b6a107c6e4dabad95bfac7abfe20b5689 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 18:18:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:18:57 18:18:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 18:18:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:18:58 0.23.1-centos7: Pulling from edgex-lftools 18:18:58 ab5ef0e58194: Pulling fs layer 18:18:58 9712f1f96733: Pulling fs layer 18:18:58 63f879dbbcfc: Pulling fs layer 18:18:58 0d9ebad4ef96: Pulling fs layer 18:18:58 e9a5061849ea: Pulling fs layer 18:18:58 d747dcd14b5f: Pulling fs layer 18:18:58 2de7ff778b66: Pulling fs layer 18:18:58 0d9ebad4ef96: Waiting 18:18:58 d747dcd14b5f: Waiting 18:18:58 e9a5061849ea: Waiting 18:18:58 2de7ff778b66: Waiting 18:18:58 9712f1f96733: Verifying Checksum 18:18:58 9712f1f96733: Download complete 18:18:58 63f879dbbcfc: Verifying Checksum 18:18:58 63f879dbbcfc: Download complete 18:18:59 e9a5061849ea: Download complete 18:18:59 d747dcd14b5f: Verifying Checksum 18:18:59 d747dcd14b5f: Download complete 18:18:59 0d9ebad4ef96: Verifying Checksum 18:18:59 0d9ebad4ef96: Download complete 18:18:59 2de7ff778b66: Verifying Checksum 18:18:59 2de7ff778b66: Download complete 18:18:59 ab5ef0e58194: Verifying Checksum 18:18:59 ab5ef0e58194: Download complete 18:19:04 ab5ef0e58194: Pull complete 18:19:04 9712f1f96733: Pull complete 18:19:06 63f879dbbcfc: Pull complete 18:19:13 0d9ebad4ef96: Pull complete 18:19:13 e9a5061849ea: Pull complete 18:19:13 d747dcd14b5f: Pull complete 18:19:16 2de7ff778b66: Pull complete 18:19:16 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:19:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 18:19:16 prd-centos7-docker-4c-2g-4575 does not seem to be running inside a container 18:19:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:19:17 $ docker top 554ebce840e21e3fcc67e49c5cf558033a0d23ff4c28647cb63f9ffc1e02e663 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:19:18 provisioning config files... 18:19:18 copy managed file [sigul-config] to file:/w/workspace/_app-service-configurable_master@tmp/config8391139520335703158tmp 18:19:18 copy managed file [sigul-password] to file:/w/workspace/_app-service-configurable_master@tmp/config4099553959717790707tmp 18:19:18 copy managed file [sigul-pki] to file:/w/workspace/_app-service-configurable_master@tmp/config2515248099469771318tmp [Pipeline] { [Pipeline] echo 18:19:18 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:19:18 ---> sigul-configuration.sh 18:19:18 gpg: directory `/root/.gnupg' created 18:19:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:19:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:19:18 gpg: keyring `/root/.gnupg/secring.gpg' created 18:19:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:19:18 gpg: CAST5 encrypted data 18:19:18 gpg: encrypted with 1 passphrase 18:19:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:19:18 + mkdir /home/jenkins 18:19:18 + mkdir /home/jenkins/sigul [Pipeline] sh 18:19:19 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 18:19:19 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:19:19 ---> sigul-install.sh 18:19:26 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 18:19:26 + git tag --list 18:19:26 v1.0.1-dev.12 [Pipeline] sh 18:19:26 + lftools sign git-tag v1.0.1-dev.12 18:19:27 Signing Git tag with Sigul... 18:19:27 Signing v1.0.1-dev.12 [Pipeline] echo 18:19:29 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:19:29 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:19:29 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:19:29 $ docker stop --time=1 554ebce840e21e3fcc67e49c5cf558033a0d23ff4c28647cb63f9ffc1e02e663 18:19:30 $ docker rm -f 554ebce840e21e3fcc67e49c5cf558033a0d23ff4c28647cb63f9ffc1e02e663 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 18:19:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:19:31 . [Pipeline] withDockerContainer 18:19:31 prd-centos7-docker-4c-2g-4575 does not seem to be running inside a container 18:19:31 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:19:32 $ docker top 05dc3a9a44c278d5f567974848da43f1d8c67bb55e0acc7a1dd0a972fe1a147e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:19:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:19:32 [ssh-agent] Looking for ssh-agent implementation... 18:19:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:19:32 $ docker exec 05dc3a9a44c278d5f567974848da43f1d8c67bb55e0acc7a1dd0a972fe1a147e ssh-agent 18:19:32 SSH_AUTH_SOCK=/tmp/ssh-3BWH4eaHFRpn/agent.13 18:19:32 SSH_AGENT_PID=20 18:19:32 Running ssh-add (command line suppressed) 18:19:32 Identity added: /w/workspace/_app-service-configurable_master@tmp/private_key_9167245173840501284.key (/w/workspace/_app-service-configurable_master@tmp/private_key_9167245173840501284.key) 18:19:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:19:33 + git semver bump pre 18:19:33 # -> Open(): unable to determine branch for HEAD 18:19:33 # $GIT_DIR = /w/workspace/_app-service-configurable_master/.git 18:19:33 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_master 18:19:33 # $SEMVER_REMOTE_NAME = origin 18:19:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:19:33 # $SEMVER_USER_NAME = edgex-jenkins 18:19:33 # $SEMVER_BRANCH = master 18:19:33 # $SEMVER_DIR = /w/workspace/_app-service-configurable_master/.semver 18:19:33 1.0.1-dev.13 [Pipeline] } 18:19:33 $ docker exec --env ******** --env ******** 05dc3a9a44c278d5f567974848da43f1d8c67bb55e0acc7a1dd0a972fe1a147e ssh-agent -k 18:19:33 unset SSH_AUTH_SOCK; 18:19:33 unset SSH_AGENT_PID; 18:19:33 echo Agent pid 20 killed; 18:19:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:19:33 + git semver [Pipeline] } 18:19:33 $ docker stop --time=1 05dc3a9a44c278d5f567974848da43f1d8c67bb55e0acc7a1dd0a972fe1a147e 18:19:35 $ docker rm -f 05dc3a9a44c278d5f567974848da43f1d8c67bb55e0acc7a1dd0a972fe1a147e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 18:19:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:19:35 . [Pipeline] withDockerContainer 18:19:35 prd-centos7-docker-4c-2g-4575 does not seem to be running inside a container 18:19:35 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:19:36 $ docker top cd516ab769211bd3c2c07955172a0284562177c84c64fcd31a609e4d45ffbf1d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:19:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:19:36 [ssh-agent] Looking for ssh-agent implementation... 18:19:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:19:36 $ docker exec cd516ab769211bd3c2c07955172a0284562177c84c64fcd31a609e4d45ffbf1d ssh-agent 18:19:37 SSH_AUTH_SOCK=/tmp/ssh-rmIt1eElldOV/agent.14 18:19:37 SSH_AGENT_PID=20 18:19:37 Running ssh-add (command line suppressed) 18:19:37 Identity added: /w/workspace/_app-service-configurable_master@tmp/private_key_2602793445445408195.key (/w/workspace/_app-service-configurable_master@tmp/private_key_2602793445445408195.key) 18:19:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:19:37 + git semver push 18:19:37 # -> Open(): unable to determine branch for HEAD 18:19:37 # $GIT_DIR = /w/workspace/_app-service-configurable_master/.git 18:19:37 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_master 18:19:37 # $SEMVER_REMOTE_NAME = origin 18:19:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:19:37 # $SEMVER_USER_NAME = edgex-jenkins 18:19:37 # $SEMVER_BRANCH = master 18:19:37 # $SEMVER_DIR = /w/workspace/_app-service-configurable_master/.semver [Pipeline] } 18:19:44 $ docker exec --env ******** --env ******** cd516ab769211bd3c2c07955172a0284562177c84c64fcd31a609e4d45ffbf1d ssh-agent -k 18:19:44 unset SSH_AUTH_SOCK; 18:19:44 unset SSH_AGENT_PID; 18:19:44 echo Agent pid 20 killed; 18:19:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:19:44 + git semver [Pipeline] } 18:19:44 $ docker stop --time=1 cd516ab769211bd3c2c07955172a0284562177c84c64fcd31a609e4d45ffbf1d 18:19:46 $ docker rm -f cd516ab769211bd3c2c07955172a0284562177c84c64fcd31a609e4d45ffbf1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 18:19:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:19:47 ---> package-listing.sh 18:19:47 ++ facter osfamily 18:19:47 ++ tr '[:upper:]' '[:lower:]' 18:19:47 + OS_FAMILY=redhat 18:19:47 + workspace=/w/workspace/_app-service-configurable_master 18:19:47 + START_PACKAGES=/tmp/packages_start.txt 18:19:47 + END_PACKAGES=/tmp/packages_end.txt 18:19:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:19:47 + PACKAGES=/tmp/packages_start.txt 18:19:47 + '[' /w/workspace/_app-service-configurable_master ']' 18:19:47 + PACKAGES=/tmp/packages_end.txt 18:19:47 + case "${OS_FAMILY}" in 18:19:47 + rpm -qa 18:19:47 + sort 18:19:51 + '[' -f /tmp/packages_start.txt ']' 18:19:51 + '[' -f /tmp/packages_end.txt ']' 18:19:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:19:51 + '[' /w/workspace/_app-service-configurable_master ']' 18:19:51 + mkdir -p /w/workspace/_app-service-configurable_master/archives/ 18:19:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_master/archives/ [Pipeline] isUnix [Pipeline] sh 18:19:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:19:52 18:19:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:19:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:19:52 alpine: Pulling from edgex-lftools-log-publisher 18:19:52 c9b1b535fdd9: Pulling fs layer 18:19:52 2cc5ad85d9ab: Pulling fs layer 18:19:52 756a868c4378: Pulling fs layer 18:19:52 444b2fc9a129: Pulling fs layer 18:19:52 ea15f1150254: Pulling fs layer 18:19:52 41b27a9f41bf: Pulling fs layer 18:19:52 28c525ee5125: Pulling fs layer 18:19:52 094b1ea09ed8: Pulling fs layer 18:19:52 138eaada9080: Pulling fs layer 18:19:52 0622d0fa9048: Pulling fs layer 18:19:52 ea15f1150254: Waiting 18:19:52 41b27a9f41bf: Waiting 18:19:52 28c525ee5125: Waiting 18:19:52 094b1ea09ed8: Waiting 18:19:52 138eaada9080: Waiting 18:19:52 0622d0fa9048: Waiting 18:19:52 444b2fc9a129: Waiting 18:19:52 2cc5ad85d9ab: Verifying Checksum 18:19:52 2cc5ad85d9ab: Download complete 18:19:52 444b2fc9a129: Verifying Checksum 18:19:52 444b2fc9a129: Download complete 18:19:52 c9b1b535fdd9: Verifying Checksum 18:19:52 c9b1b535fdd9: Download complete 18:19:52 ea15f1150254: Verifying Checksum 18:19:52 ea15f1150254: Download complete 18:19:52 28c525ee5125: Verifying Checksum 18:19:52 28c525ee5125: Download complete 18:19:53 756a868c4378: Verifying Checksum 18:19:53 756a868c4378: Download complete 18:19:53 094b1ea09ed8: Verifying Checksum 18:19:53 094b1ea09ed8: Download complete 18:19:53 138eaada9080: Verifying Checksum 18:19:53 138eaada9080: Download complete 18:19:53 0622d0fa9048: Verifying Checksum 18:19:53 0622d0fa9048: Download complete 18:19:53 41b27a9f41bf: Verifying Checksum 18:19:53 41b27a9f41bf: Download complete 18:19:54 c9b1b535fdd9: Pull complete 18:19:54 2cc5ad85d9ab: Pull complete 18:19:56 756a868c4378: Pull complete 18:19:56 444b2fc9a129: Pull complete 18:19:56 ea15f1150254: Pull complete 18:20:00 41b27a9f41bf: Pull complete 18:20:00 28c525ee5125: Pull complete 18:20:03 094b1ea09ed8: Pull complete 18:20:03 138eaada9080: Pull complete 18:20:03 0622d0fa9048: Pull complete 18:20:03 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 18:20:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:20:03 prd-centos7-docker-4c-2g-4575 does not seem to be running inside a container 18:20:03 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:20:04 $ docker top 54cc17eea0333065881cce4479be2d05def41db51f348aec62cb98a65325f782 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:20:04 provisioning config files... 18:20:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_master@tmp/config3070415389844085124tmp [Pipeline] { [Pipeline] echo 18:20:04 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:20:05 ---> create-netrc.sh [Pipeline] echo 18:20:05 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:20:05 ---> logs-deploy.sh 18:20:05 + ARCHIVE_ARTIFACTS= 18:20:05 + LOGS_SERVER=https://logs.edgexfoundry.org 18:20:05 + '[' https://logs.edgexfoundry.org == None ']' 18:20:05 + NEXUS_URL=https://nexus.edgexfoundry.org 18:20:05 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/master/16 18:20:05 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/app-service-configurable/job/master/16/ 18:20:05 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/master/16 /w/workspace/_app-service-configurable_master 18:20:06 Archives upload complete. 18:20:06 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/master/16 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/app-service-configurable/job/master/16/