Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [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: device-sdk-go-settings PROJECT: device-sdk-go 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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false 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 ‘prd-centos7-docker-4c-2g-4761’ Running on prd-centos7-docker-4c-2g-4763 in /w/workspace/dgexfoundry_device-sdk-go_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/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.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/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 # timeout=10 Commit message: "Merge pull request #545 from lenny-intel/monitoring" > git rev-list --no-walk 237059a1cc6afe5d06dcb2973311674b604926bf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:20:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:20:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:20:32 ========================================================= 05:20:32 EdgeX Global Pipelines Version Info 05:20:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:20:33 ------------------- 05:20:33 stable info: 05:20:33 ------------------- 05:20:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:20:33 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 05:20:33 Message: update stable to v1.0.89 05:20:34 ------------------- 05:20:34 experimental info: 05:20:34 ------------------- 05:20:34 Commited By: **** collab-it+edgex@linuxfoundation.org 05:20:34 Commit SHA: aa323fb5dfebb31640c35badf05a5a9beff52318 05:20:34 Message: update experimental to v1.0.90 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 05:20:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:20:36 05:20:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:20:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:20:37 latest: Pulling from edgex-devops/git-semver 05:20:37 9123ac7c32f7: Pulling fs layer 05:20:37 b8cc5d1170e3: Pulling fs layer 05:20:37 2924cbbf6a41: Pulling fs layer 05:20:37 93b08a4f1073: Pulling fs layer 05:20:37 93b08a4f1073: Waiting 05:20:37 b8cc5d1170e3: Verifying Checksum 05:20:37 b8cc5d1170e3: Download complete 05:20:37 9123ac7c32f7: Download complete 05:20:37 93b08a4f1073: Verifying Checksum 05:20:37 93b08a4f1073: Download complete 05:20:37 2924cbbf6a41: Verifying Checksum 05:20:37 2924cbbf6a41: Download complete 05:20:37 9123ac7c32f7: Pull complete 05:20:37 b8cc5d1170e3: Pull complete 05:20:38 2924cbbf6a41: Pull complete 05:20:38 93b08a4f1073: Pull complete 05:20:38 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 05:20:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:20:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:20:38 prd-centos7-docker-4c-2g-4763 does not seem to be running inside a container 05:20:38 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_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 05:20:40 $ docker top 535d80f18ea708dd23681fc26e41962710002664ea0432760844f626157cce04 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:20:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:20:40 [ssh-agent] Looking for ssh-agent implementation... 05:20:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:20:41 $ docker exec 535d80f18ea708dd23681fc26e41962710002664ea0432760844f626157cce04 ssh-agent 05:20:41 SSH_AUTH_SOCK=/tmp/ssh-qAqXeIEQB0Z3/agent.11 05:20:41 SSH_AGENT_PID=16 05:20:41 Running ssh-add (command line suppressed) 05:20:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8861807857180655094.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8861807857180655094.key) 05:20:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:20:41 + git describe --exact-match --tags HEAD 05:20:41 fatal: No names found, cannot describe anything. [Pipeline] } 05:20:41 $ docker exec --env ******** --env ******** 535d80f18ea708dd23681fc26e41962710002664ea0432760844f626157cce04 ssh-agent -k 05:20:42 unset SSH_AUTH_SOCK; 05:20:42 unset SSH_AGENT_PID; 05:20:42 echo Agent pid 16 killed; 05:20:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:20:42 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:20:42 This usually means this commit has not been tagged. [Pipeline] sshagent 05:20:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:20:42 [ssh-agent] Looking for ssh-agent implementation... 05:20:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:20:42 $ docker exec 535d80f18ea708dd23681fc26e41962710002664ea0432760844f626157cce04 ssh-agent 05:20:42 SSH_AUTH_SOCK=/tmp/ssh-f0aufo84Oo8K/agent.45 05:20:42 SSH_AGENT_PID=50 05:20:42 Running ssh-add (command line suppressed) 05:20:42 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6307796426640465686.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6307796426640465686.key) 05:20:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:20:42 + git semver init 05:20:42 # -> Open(): unable to determine branch for HEAD 05:20:42 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 05:20:42 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 05:20:42 # $SEMVER_REMOTE_NAME = origin 05:20:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:20:42 # $SEMVER_USER_NAME = edgex-jenkins 05:20:42 # $SEMVER_BRANCH = master 05:20:42 # $SEMVER_TEMP = /tmp/semver-868282951 05:20:42 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:20:43 # '/tmp/semver-868282951' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 05:20:43 # -> Force: false 05:20:43 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 05:20:43 $ docker exec --env ******** --env ******** 535d80f18ea708dd23681fc26e41962710002664ea0432760844f626157cce04 ssh-agent -k 05:20:43 unset SSH_AUTH_SOCK; 05:20:43 unset SSH_AGENT_PID; 05:20:43 echo Agent pid 50 killed; 05:20:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:20:44 + git semver [Pipeline] } 05:20:44 $ docker stop --time=1 535d80f18ea708dd23681fc26e41962710002664ea0432760844f626157cce04 05:20:45 $ docker rm -f 535d80f18ea708dd23681fc26e41962710002664ea0432760844f626157cce04 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:20:46 Stashed 67 file(s) [Pipeline] echo 05:20:46 [edgeXSemver] initialized semver on version 1.2.3-dev.3 [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 05:21:01 Still waiting to schedule task 05:21:01 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:21:01 Still waiting to schedule task 05:21:01 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-4756’ 05:24:10 Running on prd-centos7-docker-4c-2g-4764 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 05:24:10 Running in /w/workspace/device-sdk-go/47 [Pipeline] { [Pipeline] checkout 05:24:12 using credential edgex-jenkins-ssh 05:24:12 Cloning the remote Git repository 05:24:12 Cloning with configured refspecs honoured and without tags 05:24:12 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:24:12 > git init /w/workspace/device-sdk-go/47 # timeout=10 05:24:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:24:12 > git --version # timeout=10 05:24:12 using GIT_SSH to set credentials SSH Credentials for GitHub 05:24:12 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:24:13 Fetching without tags 05:24:13 Checking out Revision 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 (master) 05:24:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:24:13 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:24:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:24:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:24:13 using GIT_SSH to set credentials SSH Credentials for GitHub 05:24:13 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:24:13 > git config core.sparsecheckout # timeout=10 05:24:13 > git checkout -f 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 # timeout=10 05:24:17 Commit message: "Merge pull request #545 from lenny-intel/monitoring" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:24:18 ========================================================= 05:24:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 05:24:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:24:18 + 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 . 05:24:19 Sending build context to Docker daemon 3.073MB 05:24:19 Step 1/8 : ARG BASE=golang:1.13-alpine 05:24:19 Step 2/8 : FROM ${BASE} 05:24:19 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 05:24:19 e6b0cf9c0882: Pulling fs layer 05:24:19 2848faf0eed1: Pulling fs layer 05:24:19 0f37312ad70f: Pulling fs layer 05:24:19 5788d62ee057: Pulling fs layer 05:24:19 0e6b1d234666: Pulling fs layer 05:24:19 bf5d7aec512f: Pulling fs layer 05:24:19 34c802a77dc8: Pulling fs layer 05:24:19 9eb99e56ec68: Pulling fs layer 05:24:19 27c7a5d97fbd: Pulling fs layer 05:24:19 5c102a31e300: Pulling fs layer 05:24:19 dcfb455df0a1: Pulling fs layer 05:24:19 bf5d7aec512f: Waiting 05:24:19 34c802a77dc8: Waiting 05:24:19 9eb99e56ec68: Waiting 05:24:19 27c7a5d97fbd: Waiting 05:24:19 5c102a31e300: Waiting 05:24:19 dcfb455df0a1: Waiting 05:24:19 0e6b1d234666: Waiting 05:24:19 5788d62ee057: Waiting 05:24:19 0f37312ad70f: Download complete 05:24:19 2848faf0eed1: Verifying Checksum 05:24:19 2848faf0eed1: Download complete 05:24:19 0e6b1d234666: Verifying Checksum 05:24:19 0e6b1d234666: Download complete 05:24:19 bf5d7aec512f: Verifying Checksum 05:24:19 bf5d7aec512f: Download complete 05:24:19 e6b0cf9c0882: Verifying Checksum 05:24:19 e6b0cf9c0882: Download complete 05:24:19 e6b0cf9c0882: Pull complete 05:24:20 34c802a77dc8: Download complete 05:24:20 27c7a5d97fbd: Verifying Checksum 05:24:20 27c7a5d97fbd: Download complete 05:24:20 9eb99e56ec68: Verifying Checksum 05:24:20 9eb99e56ec68: Download complete 05:24:20 5c102a31e300: Verifying Checksum 05:24:20 5c102a31e300: Download complete 05:24:20 5788d62ee057: Verifying Checksum 05:24:20 5788d62ee057: Download complete 05:24:20 dcfb455df0a1: Download complete 05:24:21 2848faf0eed1: Pull complete 05:24:21 0f37312ad70f: Pull complete 05:24:27 5788d62ee057: Pull complete 05:24:27 0e6b1d234666: Pull complete 05:24:27 bf5d7aec512f: Pull complete 05:24:32 34c802a77dc8: Pull complete 05:24:35 9eb99e56ec68: Pull complete 05:24:35 27c7a5d97fbd: Pull complete 05:24:36 5c102a31e300: Pull complete 05:24:36 dcfb455df0a1: Pull complete 05:24:36 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 05:24:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 05:24:36 ---> 7c70fe431013 05:24:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:24:37 ---> Running in 450b17d2ae0d 05:24:37 Removing intermediate container 450b17d2ae0d 05:24:37 ---> a9d7f89670d3 05:24:37 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:24:37 ---> Running in 81aef0dace6a 05:24:38 Removing intermediate container 81aef0dace6a 05:24:38 ---> 7a09a571c241 05:24:38 Step 5/8 : RUN apk add --no-cache make git 05:24:38 ---> Running in b050db03dee1 05:24:39 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:24:40 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:24:40 OK: 143 MiB in 39 packages 05:24:40 Removing intermediate container b050db03dee1 05:24:40 ---> cc4014b6c4e7 05:24:40 Step 6/8 : WORKDIR /device-sdk-go 05:24:40 ---> Running in c6952f680c72 05:24:41 Removing intermediate container c6952f680c72 05:24:41 ---> 63fc83e4b8fe 05:24:41 Step 7/8 : COPY . . 05:24:42 ---> 5201cebb8a94 05:24:42 Step 8/8 : RUN go mod download 05:24:42 ---> Running in c38d2dd7c8e4 05:24:44 go: finding github.com/BurntSushi/toml v0.3.1 05:24:44 go: finding github.com/OneOfOne/xxhash v1.2.6 05:24:44 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:24:44 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:24:44 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:24:44 go: finding github.com/bgentry/speakeasy v0.1.0 05:24:44 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:24:44 go: finding github.com/davecgh/go-spew v1.1.1 05:24:44 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 05:24:44 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:24:44 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:24:44 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 05:24:44 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:24:44 go: finding github.com/fatih/color v1.7.0 05:24:44 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:24:44 go: finding github.com/go-kit/kit v0.8.0 05:24:44 go: finding github.com/go-logfmt/logfmt v0.4.0 05:24:44 go: finding github.com/go-stack/stack v1.8.0 05:24:44 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:24:44 go: finding github.com/google/uuid v1.1.0 05:24:44 go: finding github.com/gorilla/mux v1.7.1 05:24:44 go: finding github.com/hashicorp/consul/api v1.1.0 05:24:44 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:24:44 go: finding github.com/hashicorp/errwrap v1.0.0 05:24:44 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:24:44 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:24:44 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:24:44 go: finding github.com/hashicorp/go-multierror v1.0.0 05:24:44 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:24:44 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:24:44 go: finding github.com/hashicorp/go-syslog v1.0.0 05:24:44 go: finding github.com/hashicorp/go-uuid v1.0.1 05:24:44 go: finding github.com/hashicorp/go.net v0.0.1 05:24:45 go: finding github.com/hashicorp/golang-lru v0.5.0 05:24:45 go: finding github.com/hashicorp/logutils v1.0.0 05:24:45 go: finding github.com/hashicorp/mdns v1.0.0 05:24:45 go: finding github.com/hashicorp/memberlist v0.1.3 05:24:45 go: finding github.com/hashicorp/serf v0.8.2 05:24:45 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:24:45 go: finding github.com/mattn/go-colorable v0.0.9 05:24:45 go: finding github.com/mattn/go-isatty v0.0.3 05:24:45 go: finding github.com/miekg/dns v1.0.14 05:24:45 go: finding github.com/mitchellh/cli v1.0.0 05:24:45 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:24:45 go: finding github.com/mitchellh/copystructure v1.0.0 05:24:45 go: finding github.com/mitchellh/go-homedir v1.0.0 05:24:45 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:24:45 go: finding github.com/mitchellh/gox v0.4.0 05:24:45 go: finding github.com/mitchellh/iochan v1.0.0 05:24:45 go: finding github.com/mitchellh/mapstructure v1.1.2 05:24:45 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:24:45 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:24:45 go: finding github.com/pelletier/go-toml v1.2.0 05:24:45 go: finding github.com/pkg/errors v0.8.1 05:24:45 go: finding github.com/pmezard/go-difflib v1.0.0 05:24:45 go: finding github.com/posener/complete v1.1.1 05:24:45 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:24:45 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:24:45 go: finding github.com/stretchr/objx v0.1.0 05:24:45 go: finding github.com/stretchr/testify v1.5.1 05:24:45 go: finding github.com/ugorji/go v1.1.4 05:24:45 go: finding github.com/x448/float16 v0.8.4 05:24:45 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:24:45 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:24:45 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:24:45 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 05:24:45 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:24:45 go: finding gopkg.in/yaml.v2 v2.2.8 05:24:53 Removing intermediate container c38d2dd7c8e4 05:24:53 ---> 9865a8e98286 05:24:53 Successfully built 9865a8e98286 05:24:53 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 05:24:54 + docker inspect -f . ci-base-image-x86_64 05:24:54 . [Pipeline] withDockerContainer 05:24:54 prd-centos7-docker-4c-2g-4764 does not seem to be running inside a container 05:24:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/47 -v /w/workspace/device-sdk-go/47:/w/workspace/device-sdk-go/47:rw,z -v /w/workspace/device-sdk-go/47@tmp:/w/workspace/device-sdk-go/47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:24:55 $ docker top dd10d6568176386346ce6bb4921894123811d122efa2e8b9ae398b2711a31893 -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:56 + go version 05:24:56 go version go1.13.5 linux/amd64 [Pipeline] sh 05:24:56 + make test 05:24:56 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:24:57 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:25:07 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:25:07 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:25:07 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:25:07 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.008s coverage: 22.1% of statements 05:25:09 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.036s coverage: 95.8% of statements 05:25:41 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.074s coverage: 11.4% of statements 05:25:41 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 21.7% of statements 05:25:41 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:25:41 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.094s coverage: 36.9% of statements 05:25:41 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:25:41 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.429s coverage: 65.2% of statements 05:25:41 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:25:41 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:25:41 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:25:41 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.022s coverage: 52.6% of statements 05:25:41 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.094s coverage: 68.9% of statements 05:25:41 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:25:41 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:25:41 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:25:41 gofmt -l . 05:25:41 [ "`gofmt -l .`" = "" ] 05:25:41 ./bin/test-attribution-txt.sh 05:25:41 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:25:41 Stashed 1 file(s) [Pipeline] } 05:25:41 $ docker stop --time=1 dd10d6568176386346ce6bb4921894123811d122efa2e8b9ae398b2711a31893 05:25:43 $ docker rm -f dd10d6568176386346ce6bb4921894123811d122efa2e8b9ae398b2711a31893 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:25:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:25:45 + ls -al . 05:25:45 total 184 05:25:45 drwxrwxr-x. 11 jenkins jenkins 4096 Jun 29 05:25 . 05:25:45 drwxrwxr-x. 4 jenkins jenkins 30 Jun 29 05:24 .. 05:25:45 drwxrwxr-x. 3 jenkins jenkins 20 Jun 29 05:24 api 05:25:45 drwxrwxr-x. 2 jenkins jenkins 64 Jun 29 05:24 bin 05:25:45 -rw-r--r--. 1 jenkins jenkins 110877 Jun 29 05:25 coverage.out 05:25:45 -rw-rw-r--. 1 jenkins jenkins 936 Jun 29 05:24 Dockerfile.build 05:25:45 -rw-rw-r--. 1 jenkins jenkins 140 Jun 29 05:24 .dockerignore 05:25:45 drwxrwxr-x. 4 jenkins jenkins 48 Jun 29 05:24 example 05:25:45 drwxrwxr-x. 8 jenkins jenkins 162 Jun 29 05:24 .git 05:25:45 drwxrwxr-x. 2 jenkins jenkins 38 Jun 29 05:24 .github 05:25:45 -rw-rw-r--. 1 jenkins jenkins 138 Jun 29 05:24 .gitignore 05:25:45 -rw-r--r--. 1 jenkins jenkins 446 Jun 29 05:25 go.mod 05:25:45 -rw-r--r--. 1 jenkins jenkins 12179 Jun 29 05:25 go.sum 05:25:45 drwxrwxr-x. 13 jenkins jenkins 184 Jun 29 05:24 internal 05:25:45 -rw-rw-r--. 1 jenkins jenkins 808 Jun 29 05:24 Jenkinsfile 05:25:45 -rw-rw-r--. 1 jenkins jenkins 11341 Jun 29 05:24 LICENSE 05:25:45 -rw-rw-r--. 1 jenkins jenkins 892 Jun 29 05:24 Makefile 05:25:45 drwxrwxr-x. 5 jenkins jenkins 50 Jun 29 05:24 pkg 05:25:45 -rw-rw-r--. 1 jenkins jenkins 5101 Jun 29 05:24 README.md 05:25:45 -rw-rw-r--. 1 jenkins jenkins 3997 Jun 29 05:24 RELEASE-NOTES.txt 05:25:45 drwxrwxr-x. 3 jenkins jenkins 44 Jun 29 05:24 .semver 05:25:45 drwxrwxr-x. 4 jenkins jenkins 54 Jun 29 05:24 snap 05:25:45 -rw-rw-r--. 1 jenkins jenkins 11 Jun 29 05:20 VERSION 05:25:45 -rw-rw-r--. 1 jenkins jenkins 222 Jun 29 05:24 version.go [Pipeline] isUnix [Pipeline] sh 05:25:45 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 --label arch=amd64 --label version=1.2.3-dev.3 . 05:25:46 Sending build context to Docker daemon 3.201MB 05:25:46 Step 1/23 : ARG BASE=golang:1.13-alpine 05:25:46 Step 2/23 : FROM ${BASE} AS builder 05:25:46 ---> 9865a8e98286 05:25:46 Step 3/23 : ARG MAKE='make build' 05:25:46 ---> Running in 4b2dab5e2c5e 05:25:46 Removing intermediate container 4b2dab5e2c5e 05:25:46 ---> 60f60e49f09f 05:25:46 Step 4/23 : WORKDIR /device-sdk-go 05:25:46 ---> Running in fd385016de6e 05:25:46 Removing intermediate container fd385016de6e 05:25:46 ---> ef8513022f14 05:25:46 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:25:46 ---> Running in 402ae931cde8 05:25:47 Removing intermediate container 402ae931cde8 05:25:47 ---> 3040e7cc12ab 05:25:47 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:25:47 ---> Running in 4df928dd2a54 05:25:48 Removing intermediate container 4df928dd2a54 05:25:48 ---> dcca8fc0b60d 05:25:48 Step 7/23 : RUN apk add --update --no-cache make git 05:25:48 ---> Running in 544e5a4b11b1 05:25:48 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:25:49 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:25:49 OK: 143 MiB in 39 packages 05:25:49 Removing intermediate container 544e5a4b11b1 05:25:49 ---> d2008cc8c4cc 05:25:49 Step 8/23 : COPY . . 05:25:51 ---> 7d44085fa704 05:25:51 Step 9/23 : RUN ${MAKE} 05:25:51 ---> Running in 86b64806bd1e 05:25:51 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.3-dev.3" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:25:59 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:26:00 Removing intermediate container 86b64806bd1e 05:26:00 ---> 464f9a794a15 05:26:00 Step 10/23 : FROM scratch 05:26:00 ---> 05:26:00 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:26:00 ---> Running in 68dd59526a95 05:26:00 Removing intermediate container 68dd59526a95 05:26:00 ---> 6d7e426f885a 05:26:00 Step 12/23 : ENV APP_PORT=49990 05:26:00 ---> Running in 4b22c3d1019e 05:26:00 Removing intermediate container 4b22c3d1019e 05:26:00 ---> 7855dcf7478d 05:26:00 Step 13/23 : EXPOSE $APP_PORT 05:26:00 ---> Running in cfee0a2c4244 05:26:01 Removing intermediate container cfee0a2c4244 05:26:01 ---> 669bdde67e5c 05:26:01 Step 14/23 : WORKDIR / 05:26:01 ---> Running in 4ad8b5578483 05:26:01 Removing intermediate container 4ad8b5578483 05:26:01 ---> 24688a7c89b9 05:26:01 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:26:01 ---> 7bf9bc626666 05:26:01 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:26:01 ---> de81860ccc54 05:26:01 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:26:01 ---> 632bc04e1498 05:26:01 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:26:02 ---> d20ea3a20be3 05:26:02 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:26:02 ---> d00751505bbe 05:26:02 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:26:02 ---> Running in f2a42f024d17 05:26:02 Removing intermediate container f2a42f024d17 05:26:02 ---> 617f9cac0ea2 05:26:02 Step 21/23 : LABEL arch=amd64 05:26:02 ---> Running in 4e582a02bc4a 05:26:02 Removing intermediate container 4e582a02bc4a 05:26:02 ---> 2aec95b9ea51 05:26:02 Step 22/23 : LABEL git_sha=75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 05:26:02 ---> Running in 7aef7e215886 05:26:03 Removing intermediate container 7aef7e215886 05:26:03 ---> 2563c0df17c3 05:26:03 Step 23/23 : LABEL version=1.2.3-dev.3 05:26:03 ---> Running in e60256d81601 05:26:03 Removing intermediate container e60256d81601 05:26:03 ---> 7e2d559bde19 05:26:03 [Warning] One or more build-args [ARCH] were not consumed 05:26:03 Successfully built 7e2d559bde19 05:26:03 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:27:45 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4768 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 05:27:45 Running in /w/workspace/device-sdk-go/47 [Pipeline] { [Pipeline] checkout 05:27:50 using credential edgex-jenkins-ssh 05:27:50 Cloning the remote Git repository 05:27:50 Cloning with configured refspecs honoured and without tags 05:27:50 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:27:50 > git init /w/workspace/device-sdk-go/47 # timeout=10 05:27:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:27:50 > git --version # timeout=10 05:27:50 using GIT_SSH to set credentials SSH Credentials for GitHub 05:27:50 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:27:51 Fetching without tags 05:27:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:27:51 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:27:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:27:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:27:51 using GIT_SSH to set credentials SSH Credentials for GitHub 05:27:51 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:27:52 Checking out Revision 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 (master) 05:27:52 > git config core.sparsecheckout # timeout=10 05:27:52 > git checkout -f 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 # timeout=10 05:27:56 Commit message: "Merge pull request #545 from lenny-intel/monitoring" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:27:57 ========================================================= 05:27:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 05:27:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:27:59 + 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 . 05:28:00 Sending build context to Docker daemon 3.073MB 05:28:00 Step 1/8 : ARG BASE=golang:1.13-alpine 05:28:00 Step 2/8 : FROM ${BASE} 05:28:00 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:28:00 cde5963f3b93: Pulling fs layer 05:28:00 2a23fa8c16f7: Pulling fs layer 05:28:00 777b28850792: Pulling fs layer 05:28:00 8a11ddd9e578: Pulling fs layer 05:28:00 4cf88f913ddb: Pulling fs layer 05:28:00 1df406cf5192: Pulling fs layer 05:28:00 cd6300453558: Pulling fs layer 05:28:00 b9c365052c96: Pulling fs layer 05:28:00 a2d8cc88f415: Pulling fs layer 05:28:00 ea1d1ca13537: Pulling fs layer 05:28:00 3750a50a1c5e: Pulling fs layer 05:28:00 4cf88f913ddb: Waiting 05:28:00 1df406cf5192: Waiting 05:28:00 cd6300453558: Waiting 05:28:00 b9c365052c96: Waiting 05:28:00 a2d8cc88f415: Waiting 05:28:00 ea1d1ca13537: Waiting 05:28:00 3750a50a1c5e: Waiting 05:28:00 8a11ddd9e578: Waiting 05:28:00 777b28850792: Verifying Checksum 05:28:00 777b28850792: Download complete 05:28:00 2a23fa8c16f7: Verifying Checksum 05:28:00 2a23fa8c16f7: Download complete 05:28:00 4cf88f913ddb: Verifying Checksum 05:28:00 4cf88f913ddb: Download complete 05:28:00 1df406cf5192: Verifying Checksum 05:28:00 1df406cf5192: Download complete 05:28:00 cde5963f3b93: Download complete 05:28:01 cde5963f3b93: Pull complete 05:28:01 2a23fa8c16f7: Pull complete 05:28:02 777b28850792: Pull complete 05:28:03 cd6300453558: Download complete 05:28:03 a2d8cc88f415: Verifying Checksum 05:28:03 a2d8cc88f415: Download complete 05:28:04 ea1d1ca13537: Verifying Checksum 05:28:04 ea1d1ca13537: Download complete 05:28:04 3750a50a1c5e: Verifying Checksum 05:28:04 3750a50a1c5e: Download complete 05:28:05 b9c365052c96: Verifying Checksum 05:28:05 b9c365052c96: Download complete 05:28:06 8a11ddd9e578: Verifying Checksum 05:28:06 8a11ddd9e578: Download complete 05:28:18 8a11ddd9e578: Pull complete 05:28:18 4cf88f913ddb: Pull complete 05:28:18 1df406cf5192: Pull complete 05:28:22 cd6300453558: Pull complete 05:28:28 b9c365052c96: Pull complete 05:28:28 a2d8cc88f415: Pull complete 05:28:30 ea1d1ca13537: Pull complete 05:28:30 3750a50a1c5e: Pull complete 05:28:30 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 05:28:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 05:28:30 ---> 78745c68409d 05:28:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:28:35 ---> Running in 76fbf9721951 05:28:35 Removing intermediate container 76fbf9721951 05:28:35 ---> 926d2d486bd4 05:28:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:28:35 ---> Running in a8a3bdafe1de 05:28:38 Removing intermediate container a8a3bdafe1de 05:28:38 ---> 5200d54ef74e 05:28:38 Step 5/8 : RUN apk add --no-cache make git 05:28:38 ---> Running in 84b368b97dec 05:28:39 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:28:40 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:28:41 OK: 125 MiB in 39 packages 05:28:42 Removing intermediate container 84b368b97dec 05:28:42 ---> b24fe307a3a1 05:28:42 Step 6/8 : WORKDIR /device-sdk-go 05:28:42 ---> Running in fda3d4d2b660 05:28:42 Removing intermediate container fda3d4d2b660 05:28:42 ---> 78370e85e885 05:28:42 Step 7/8 : COPY . . 05:28:44 ---> ae0896d1d079 05:28:44 Step 8/8 : RUN go mod download 05:28:44 ---> Running in 4fa361a09cbb 05:28:46 go: finding github.com/BurntSushi/toml v0.3.1 05:28:47 go: finding github.com/OneOfOne/xxhash v1.2.6 05:28:47 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:28:47 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:28:47 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:28:47 go: finding github.com/bgentry/speakeasy v0.1.0 05:28:47 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:28:47 go: finding github.com/davecgh/go-spew v1.1.1 05:28:47 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 05:28:47 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:28:47 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:28:47 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 05:28:47 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:28:47 go: finding github.com/fatih/color v1.7.0 05:28:47 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:28:47 go: finding github.com/go-kit/kit v0.8.0 05:28:47 go: finding github.com/go-logfmt/logfmt v0.4.0 05:28:47 go: finding github.com/go-stack/stack v1.8.0 05:28:47 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:28:47 go: finding github.com/google/uuid v1.1.0 05:28:47 go: finding github.com/gorilla/mux v1.7.1 05:28:47 go: finding github.com/hashicorp/consul/api v1.1.0 05:28:47 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:28:47 go: finding github.com/hashicorp/errwrap v1.0.0 05:28:47 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:28:47 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:28:47 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:28:47 go: finding github.com/hashicorp/go-multierror v1.0.0 05:28:47 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:28:47 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:28:47 go: finding github.com/hashicorp/go-syslog v1.0.0 05:28:47 go: finding github.com/hashicorp/go-uuid v1.0.1 05:28:47 go: finding github.com/hashicorp/go.net v0.0.1 05:28:47 go: finding github.com/hashicorp/golang-lru v0.5.0 05:28:47 go: finding github.com/hashicorp/logutils v1.0.0 05:28:47 go: finding github.com/hashicorp/mdns v1.0.0 05:28:47 go: finding github.com/hashicorp/memberlist v0.1.3 05:28:47 go: finding github.com/hashicorp/serf v0.8.2 05:28:47 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:28:47 go: finding github.com/mattn/go-colorable v0.0.9 05:28:47 go: finding github.com/mattn/go-isatty v0.0.3 05:28:47 go: finding github.com/miekg/dns v1.0.14 05:28:48 go: finding github.com/mitchellh/cli v1.0.0 05:28:48 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:28:48 go: finding github.com/mitchellh/copystructure v1.0.0 05:28:48 go: finding github.com/mitchellh/go-homedir v1.0.0 05:28:48 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:28:48 go: finding github.com/mitchellh/gox v0.4.0 05:28:48 go: finding github.com/mitchellh/iochan v1.0.0 05:28:48 go: finding github.com/mitchellh/mapstructure v1.1.2 05:28:48 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:28:48 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:28:48 go: finding github.com/pelletier/go-toml v1.2.0 05:28:48 go: finding github.com/pkg/errors v0.8.1 05:28:48 go: finding github.com/pmezard/go-difflib v1.0.0 05:28:48 go: finding github.com/posener/complete v1.1.1 05:28:48 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:28:48 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:28:48 go: finding github.com/stretchr/objx v0.1.0 05:28:48 go: finding github.com/stretchr/testify v1.5.1 05:28:48 go: finding github.com/ugorji/go v1.1.4 05:28:48 go: finding github.com/x448/float16 v0.8.4 05:28:48 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:28:48 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:28:48 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:28:48 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 05:28:48 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:28:48 go: finding gopkg.in/yaml.v2 v2.2.8 05:28:58 Removing intermediate container 4fa361a09cbb 05:28:58 ---> fdaa4b5e1724 05:28:58 Successfully built fdaa4b5e1724 05:28:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:28:59 + docker inspect -f . ci-base-image-arm64 05:28:59 . [Pipeline] withDockerContainer 05:28:59 prd-ubuntu18.04-docker-arm64-4c-16g-4768 does not seem to be running inside a container 05:28:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/47 -v /w/workspace/device-sdk-go/47:/w/workspace/device-sdk-go/47:rw,z -v /w/workspace/device-sdk-go/47@tmp:/w/workspace/device-sdk-go/47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:29:01 $ docker top e2a5179665913f6c8f03d2295bd65eba733c1cb9b0e986a2d23d706eeb0cee7f -eo pid,comm [Pipeline] { [Pipeline] sh 05:29:03 + go version 05:29:03 go version go1.13.5 linux/arm64 [Pipeline] sh 05:29:04 + make test 05:29:04 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:29:05 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:29:37 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:29:37 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:29:37 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:29:37 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.044s coverage: 22.1% of statements 05:29:37 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.169s coverage: 95.8% of statements 05:30:09 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.075s coverage: 11.4% of statements 05:30:09 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.021s coverage: 21.7% of statements 05:30:09 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:30:09 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.158s coverage: 36.9% of statements 05:30:09 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:30:09 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.545s coverage: 65.2% of statements 05:30:09 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:30:09 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:30:09 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:30:09 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.138s coverage: 52.6% of statements 05:30:09 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.335s coverage: 68.9% of statements 05:30:09 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:30:09 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:30:09 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:30:11 gofmt -l . 05:30:12 [ "`gofmt -l .`" = "" ] 05:30:12 ./bin/test-attribution-txt.sh 05:30:13 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:30:13 Warning: overwriting stash ‘coverage-report’ 05:30:14 Stashed 1 file(s) [Pipeline] } 05:30:14 $ docker stop --time=1 e2a5179665913f6c8f03d2295bd65eba733c1cb9b0e986a2d23d706eeb0cee7f 05:30:16 $ docker rm -f e2a5179665913f6c8f03d2295bd65eba733c1cb9b0e986a2d23d706eeb0cee7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:30:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:30:17 + ls -al . 05:30:17 total 224 05:30:17 drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 05:30 . 05:30:17 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 05:27 .. 05:30:17 -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 05:27 .dockerignore 05:30:17 drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 05:27 .git 05:30:17 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 05:27 .github 05:30:17 -rw-rw-r-- 1 jenkins jenkins 138 Jun 29 05:27 .gitignore 05:30:17 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 05:27 .semver 05:30:17 -rw-rw-r-- 1 jenkins jenkins 936 Jun 29 05:27 Dockerfile.build 05:30:17 -rw-rw-r-- 1 jenkins jenkins 808 Jun 29 05:27 Jenkinsfile 05:30:17 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 29 05:27 LICENSE 05:30:17 -rw-rw-r-- 1 jenkins jenkins 892 Jun 29 05:27 Makefile 05:30:17 -rw-rw-r-- 1 jenkins jenkins 5101 Jun 29 05:27 README.md 05:30:17 -rw-rw-r-- 1 jenkins jenkins 3997 Jun 29 05:27 RELEASE-NOTES.txt 05:30:17 -rw-rw-r-- 1 jenkins jenkins 11 Jun 29 05:20 VERSION 05:30:17 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 05:27 api 05:30:17 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 05:27 bin 05:30:17 -rw-r--r-- 1 jenkins jenkins 110877 Jun 29 05:30 coverage.out 05:30:17 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 05:27 example 05:30:17 -rw-r--r-- 1 jenkins jenkins 446 Jun 29 05:30 go.mod 05:30:17 -rw-r--r-- 1 jenkins jenkins 12179 Jun 29 05:30 go.sum 05:30:17 drwxrwxr-x 13 jenkins jenkins 4096 Jun 29 05:27 internal 05:30:17 drwxrwxr-x 5 jenkins jenkins 4096 Jun 29 05:27 pkg 05:30:17 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 05:27 snap 05:30:17 -rw-rw-r-- 1 jenkins jenkins 222 Jun 29 05:27 version.go [Pipeline] isUnix [Pipeline] sh 05:30:17 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 --label arch=arm64 --label version=1.2.3-dev.3 . 05:30:18 Sending build context to Docker daemon 3.201MB 05:30:18 Step 1/23 : ARG BASE=golang:1.13-alpine 05:30:18 Step 2/23 : FROM ${BASE} AS builder 05:30:18 ---> fdaa4b5e1724 05:30:18 Step 3/23 : ARG MAKE='make build' 05:30:18 ---> Running in abcb2f51d547 05:30:19 Removing intermediate container abcb2f51d547 05:30:19 ---> 6487c6b8e27c 05:30:19 Step 4/23 : WORKDIR /device-sdk-go 05:30:19 ---> Running in dbfa05cccb5b 05:30:19 Removing intermediate container dbfa05cccb5b 05:30:19 ---> 68909713e667 05:30:19 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:30:19 ---> Running in f393199d6061 05:30:20 Removing intermediate container f393199d6061 05:30:20 ---> 9dac62218ee9 05:30:20 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:30:20 ---> Running in 197f166452fa 05:30:23 Removing intermediate container 197f166452fa 05:30:23 ---> 2a55fbf5e97d 05:30:23 Step 7/23 : RUN apk add --update --no-cache make git 05:30:23 ---> Running in 74a88555d411 05:30:24 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:30:25 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:30:26 OK: 125 MiB in 39 packages 05:30:27 Removing intermediate container 74a88555d411 05:30:27 ---> bef4c3739fe1 05:30:27 Step 8/23 : COPY . . 05:30:28 ---> 0ae74dda53cd 05:30:28 Step 9/23 : RUN ${MAKE} 05:30:28 ---> Running in 8c1eee9b1c87 05:30:30 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.3-dev.3" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:30:52 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:30:55 Removing intermediate container 8c1eee9b1c87 05:30:55 ---> 4b8b2ab5e15a 05:30:55 Step 10/23 : FROM scratch 05:30:55 ---> 05:30:55 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:30:55 ---> Running in 2e70d69044a7 05:30:55 Removing intermediate container 2e70d69044a7 05:30:55 ---> bd60e4301c18 05:30:55 Step 12/23 : ENV APP_PORT=49990 05:30:55 ---> Running in 6f33aeaf8979 05:30:56 Removing intermediate container 6f33aeaf8979 05:30:56 ---> 62e3015ae581 05:30:56 Step 13/23 : EXPOSE $APP_PORT 05:30:56 ---> Running in 798aad1ca1af 05:30:56 Removing intermediate container 798aad1ca1af 05:30:56 ---> 7d2ec21ef48f 05:30:56 Step 14/23 : WORKDIR / 05:30:56 ---> Running in 3d17c98c2726 05:30:57 Removing intermediate container 3d17c98c2726 05:30:57 ---> 76431de56abd 05:30:57 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:30:58 ---> ddbf67367829 05:30:58 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:30:59 ---> e5c351e4867e 05:30:59 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:30:59 ---> 953831173af7 05:30:59 Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:31:00 ---> 8e94659a20a5 05:31:00 Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:31:01 ---> f03dc1b30c2c 05:31:01 Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:31:01 ---> Running in 41fcfba3abb3 05:31:02 Removing intermediate container 41fcfba3abb3 05:31:02 ---> cdf732129be1 05:31:02 Step 21/23 : LABEL arch=arm64 05:31:02 ---> Running in bc44ff6799de 05:31:02 Removing intermediate container bc44ff6799de 05:31:02 ---> 807eff6ae167 05:31:02 Step 22/23 : LABEL git_sha=75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 05:31:02 ---> Running in bfae72d4b223 05:31:02 Removing intermediate container bfae72d4b223 05:31:02 ---> 01f3fba5a426 05:31:02 Step 23/23 : LABEL version=1.2.3-dev.3 05:31:03 ---> Running in e26a7287a6cb 05:31:03 Removing intermediate container e26a7287a6cb 05:31:03 ---> cbb94994ebc8 05:31:03 [Warning] One or more build-args [ARCH] were not consumed 05:31:03 Successfully built cbb94994ebc8 05:31:03 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 05:31:04 provisioning config files... 05:31:04 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7641596715105491975tmp [Pipeline] { [Pipeline] sh 05:31:04 + curl -s https://codecov.io/bash 05:31:04 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7641596715105491975tmp [Pipeline] } 05:31:04 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 05:31:05 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 05:31:05 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 05:31:05 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:31:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 05:31:05 05:31:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 05:31:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 05:31:06 1.317.0: Pulling from edgex-devops/edgex-snyk-go 05:31:06 cbdbe7a5bc2a: Pulling fs layer 05:31:06 408f87550127: Pulling fs layer 05:31:06 fe522b08c979: Pulling fs layer 05:31:06 221eaa008020: Pulling fs layer 05:31:06 2a4607e5d6b9: Pulling fs layer 05:31:06 8f79b27c4fd2: Pulling fs layer 05:31:06 e5c8dbe1645b: Pulling fs layer 05:31:06 23e8b3b47431: Pulling fs layer 05:31:06 5c568d65a230: Pulling fs layer 05:31:06 23e8b3b47431: Waiting 05:31:06 2a4607e5d6b9: Waiting 05:31:06 5c568d65a230: Waiting 05:31:06 8f79b27c4fd2: Waiting 05:31:06 e5c8dbe1645b: Waiting 05:31:06 221eaa008020: Waiting 05:31:06 fe522b08c979: Verifying Checksum 05:31:06 408f87550127: Download complete 05:31:06 2a4607e5d6b9: Verifying Checksum 05:31:06 2a4607e5d6b9: Download complete 05:31:06 8f79b27c4fd2: Verifying Checksum 05:31:06 8f79b27c4fd2: Download complete 05:31:06 cbdbe7a5bc2a: Verifying Checksum 05:31:06 cbdbe7a5bc2a: Download complete 05:31:06 e5c8dbe1645b: Verifying Checksum 05:31:06 e5c8dbe1645b: Download complete 05:31:06 cbdbe7a5bc2a: Pull complete 05:31:06 23e8b3b47431: Verifying Checksum 05:31:06 23e8b3b47431: Download complete 05:31:06 408f87550127: Pull complete 05:31:07 5c568d65a230: Verifying Checksum 05:31:07 5c568d65a230: Download complete 05:31:07 fe522b08c979: Pull complete 05:31:07 221eaa008020: Verifying Checksum 05:31:07 221eaa008020: Download complete 05:31:13 221eaa008020: Pull complete 05:31:13 2a4607e5d6b9: Pull complete 05:31:13 8f79b27c4fd2: Pull complete 05:31:14 e5c8dbe1645b: Pull complete 05:31:18 23e8b3b47431: Pull complete 05:31:19 5c568d65a230: Pull complete 05:31:19 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 05:31:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 05:31:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 05:31:19 prd-centos7-docker-4c-2g-4763 does not seem to be running inside a container 05:31:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/dgexfoundry_device-sdk-go_master:/ws -w /ws --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_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.317.0 cat 05:31:20 $ docker top 1ac235faa027871465ff7b818134fc28d096fa7fe7138d5d668c5cf12632b801 -eo pid,comm [Pipeline] { [Pipeline] sh 05:31:20 + snyk monitor '--org=edgex-jenkins' 05:31:27 05:31:27 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... 05:31:27 05:31:27 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/d9a41887-cfb1-403d-ac9d-6e5b2d48c3c3 05:31:27 05:31:27 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:31:27 05:31:27 [Pipeline] } 05:31:27 $ docker stop --time=1 1ac235faa027871465ff7b818134fc28d096fa7fe7138d5d668c5cf12632b801 05:31:29 $ docker rm -f 1ac235faa027871465ff7b818134fc28d096fa7fe7138d5d668c5cf12632b801 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 05:31:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:31:30 . [Pipeline] withDockerContainer 05:31:30 prd-centos7-docker-4c-2g-4763 does not seem to be running inside a container 05:31:30 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_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 05:31:31 $ docker top e3aca8f29e76bbaa204fdfbe7bacfbd60980158595e1a5353d62e694fa3b5e73 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:31:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:31:31 [ssh-agent] Looking for ssh-agent implementation... 05:31:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:31:31 $ docker exec e3aca8f29e76bbaa204fdfbe7bacfbd60980158595e1a5353d62e694fa3b5e73 ssh-agent 05:31:31 SSH_AUTH_SOCK=/tmp/ssh-gsC9iP2z18RI/agent.12 05:31:31 SSH_AGENT_PID=18 05:31:31 Running ssh-add (command line suppressed) 05:31:31 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_163661695034846290.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_163661695034846290.key) 05:31:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:31:32 + git semver tag 05:31:32 # -> Open(): unable to determine branch for HEAD 05:31:32 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 05:31:32 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 05:31:32 # $SEMVER_REMOTE_NAME = origin 05:31:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:31:32 # $SEMVER_USER_NAME = edgex-jenkins 05:31:32 # $SEMVER_BRANCH = master 05:31:32 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 05:31:32 # 75f39e7bd78dbb9f7cd3fcfb58a1a1da9d378ef0 HEAD 05:31:32 # -> Force: false 05:31:32 # d2adae2d447cf5707f3db0774f6a848911b883dd refs/tags/v1.2.3-dev.3 [Pipeline] } 05:31:32 $ docker exec --env ******** --env ******** e3aca8f29e76bbaa204fdfbe7bacfbd60980158595e1a5353d62e694fa3b5e73 ssh-agent -k 05:31:32 unset SSH_AUTH_SOCK; 05:31:32 unset SSH_AGENT_PID; 05:31:32 echo Agent pid 18 killed; 05:31:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:31:32 + git semver [Pipeline] } 05:31:32 $ docker stop --time=1 e3aca8f29e76bbaa204fdfbe7bacfbd60980158595e1a5353d62e694fa3b5e73 05:31:34 $ docker rm -f e3aca8f29e76bbaa204fdfbe7bacfbd60980158595e1a5353d62e694fa3b5e73 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 05:31:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:31:34 05:31:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 05:31:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:31:35 0.23.1-centos7: Pulling from edgex-lftools 05:31:35 ab5ef0e58194: Pulling fs layer 05:31:35 9712f1f96733: Pulling fs layer 05:31:35 63f879dbbcfc: Pulling fs layer 05:31:35 0d9ebad4ef96: Pulling fs layer 05:31:35 e9a5061849ea: Pulling fs layer 05:31:35 d747dcd14b5f: Pulling fs layer 05:31:35 2de7ff778b66: Pulling fs layer 05:31:35 e9a5061849ea: Waiting 05:31:35 d747dcd14b5f: Waiting 05:31:35 2de7ff778b66: Waiting 05:31:35 0d9ebad4ef96: Waiting 05:31:35 9712f1f96733: Verifying Checksum 05:31:35 9712f1f96733: Download complete 05:31:35 63f879dbbcfc: Verifying Checksum 05:31:35 63f879dbbcfc: Download complete 05:31:35 e9a5061849ea: Verifying Checksum 05:31:35 e9a5061849ea: Download complete 05:31:35 d747dcd14b5f: Download complete 05:31:35 0d9ebad4ef96: Verifying Checksum 05:31:35 0d9ebad4ef96: Download complete 05:31:36 2de7ff778b66: Verifying Checksum 05:31:36 2de7ff778b66: Download complete 05:31:36 ab5ef0e58194: Verifying Checksum 05:31:36 ab5ef0e58194: Download complete 05:31:40 ab5ef0e58194: Pull complete 05:31:40 9712f1f96733: Pull complete 05:31:42 63f879dbbcfc: Pull complete 05:31:52 0d9ebad4ef96: Pull complete 05:31:52 e9a5061849ea: Pull complete 05:31:52 d747dcd14b5f: Pull complete 05:32:01 2de7ff778b66: Pull complete 05:32:01 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:32:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:32:01 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 05:32:01 prd-centos7-docker-4c-2g-4763 does not seem to be running inside a container 05:32:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_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 05:32:04 $ docker top 9641db493c894fb1ceb921a85c6d077f0b40fde9796dbc563034a75002d11079 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:32:04 provisioning config files... 05:32:04 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8751371478513705935tmp 05:32:04 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8569402510039925842tmp 05:32:04 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3190012347951301069tmp [Pipeline] { [Pipeline] echo 05:32:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:32:04 ---> sigul-configuration.sh 05:32:04 gpg: directory `/root/.gnupg' created 05:32:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:32:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:32:04 gpg: keyring `/root/.gnupg/secring.gpg' created 05:32:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:32:04 gpg: CAST5 encrypted data 05:32:05 gpg: encrypted with 1 passphrase 05:32:05 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:32:05 + mkdir /home/jenkins 05:32:05 + mkdir /home/jenkins/sigul [Pipeline] sh 05:32:05 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 05:32:05 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:32:05 ---> sigul-install.sh 05:32:11 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 05:32:11 + git tag --list 05:32:11 v1.2.3-dev.3 [Pipeline] sh 05:32:11 + lftools sign git-tag v1.2.3-dev.3 05:32:13 Signing Git tag with Sigul... 05:32:13 Signing v1.2.3-dev.3 [Pipeline] echo 05:32:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:32:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:32:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:32:14 $ docker stop --time=1 9641db493c894fb1ceb921a85c6d077f0b40fde9796dbc563034a75002d11079 05:32:16 $ docker rm -f 9641db493c894fb1ceb921a85c6d077f0b40fde9796dbc563034a75002d11079 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 05:32:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:32:16 . [Pipeline] withDockerContainer 05:32:17 prd-centos7-docker-4c-2g-4763 does not seem to be running inside a container 05:32:17 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_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 05:32:17 $ docker top 7abf35bb69c460737c834e8cf5e99c3a5d7c4300473041067c4b61d1e7fd8027 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:32:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:32:17 [ssh-agent] Looking for ssh-agent implementation... 05:32:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:32:18 $ docker exec 7abf35bb69c460737c834e8cf5e99c3a5d7c4300473041067c4b61d1e7fd8027 ssh-agent 05:32:18 SSH_AUTH_SOCK=/tmp/ssh-PFF5mS3OToC9/agent.13 05:32:18 SSH_AGENT_PID=19 05:32:18 Running ssh-add (command line suppressed) 05:32:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3761857945155777689.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3761857945155777689.key) 05:32:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:32:18 + git semver bump pre 05:32:18 # -> Open(): unable to determine branch for HEAD 05:32:18 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 05:32:18 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 05:32:18 # $SEMVER_REMOTE_NAME = origin 05:32:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:32:18 # $SEMVER_USER_NAME = edgex-jenkins 05:32:18 # $SEMVER_BRANCH = master 05:32:18 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 05:32:18 1.2.3-dev.4 [Pipeline] } 05:32:18 $ docker exec --env ******** --env ******** 7abf35bb69c460737c834e8cf5e99c3a5d7c4300473041067c4b61d1e7fd8027 ssh-agent -k 05:32:18 unset SSH_AUTH_SOCK; 05:32:18 unset SSH_AGENT_PID; 05:32:18 echo Agent pid 19 killed; 05:32:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:32:19 + git semver [Pipeline] } 05:32:19 $ docker stop --time=1 7abf35bb69c460737c834e8cf5e99c3a5d7c4300473041067c4b61d1e7fd8027 05:32:20 $ docker rm -f 7abf35bb69c460737c834e8cf5e99c3a5d7c4300473041067c4b61d1e7fd8027 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:32:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:32:21 . [Pipeline] withDockerContainer 05:32:21 prd-centos7-docker-4c-2g-4763 does not seem to be running inside a container 05:32:21 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_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 05:32:21 $ docker top 662a09a92fa22777b362af18ec6da553dbf459799f2e2c794b0d0c7355f9eefb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:32:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:32:21 [ssh-agent] Looking for ssh-agent implementation... 05:32:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:32:22 $ docker exec 662a09a92fa22777b362af18ec6da553dbf459799f2e2c794b0d0c7355f9eefb ssh-agent 05:32:22 SSH_AUTH_SOCK=/tmp/ssh-2U90ZflJqJok/agent.11 05:32:22 SSH_AGENT_PID=16 05:32:22 Running ssh-add (command line suppressed) 05:32:22 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2374588735075291683.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2374588735075291683.key) 05:32:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:32:22 + git semver push 05:32:22 # -> Open(): unable to determine branch for HEAD 05:32:22 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 05:32:22 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 05:32:22 # $SEMVER_REMOTE_NAME = origin 05:32:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:32:22 # $SEMVER_USER_NAME = edgex-jenkins 05:32:22 # $SEMVER_BRANCH = master 05:32:22 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 05:32:30 $ docker exec --env ******** --env ******** 662a09a92fa22777b362af18ec6da553dbf459799f2e2c794b0d0c7355f9eefb ssh-agent -k 05:32:31 unset SSH_AUTH_SOCK; 05:32:31 unset SSH_AGENT_PID; 05:32:31 echo Agent pid 16 killed; 05:32:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:32:31 + git semver [Pipeline] } 05:32:31 $ docker stop --time=1 662a09a92fa22777b362af18ec6da553dbf459799f2e2c794b0d0c7355f9eefb 05:32:32 $ docker rm -f 662a09a92fa22777b362af18ec6da553dbf459799f2e2c794b0d0c7355f9eefb [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 05:32:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:32:34 ---> package-listing.sh 05:32:34 ++ facter osfamily 05:32:34 ++ tr '[:upper:]' '[:lower:]' 05:32:34 + OS_FAMILY=redhat 05:32:34 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 05:32:34 + START_PACKAGES=/tmp/packages_start.txt 05:32:34 + END_PACKAGES=/tmp/packages_end.txt 05:32:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:32:34 + PACKAGES=/tmp/packages_start.txt 05:32:34 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 05:32:34 + PACKAGES=/tmp/packages_end.txt 05:32:34 + case "${OS_FAMILY}" in 05:32:34 + rpm -qa 05:32:34 + sort 05:32:38 + '[' -f /tmp/packages_start.txt ']' 05:32:38 + '[' -f /tmp/packages_end.txt ']' 05:32:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:32:38 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 05:32:38 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 05:32:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] isUnix [Pipeline] sh 05:32:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:32:39 05:32:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:32:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:32:39 alpine: Pulling from edgex-lftools-log-publisher 05:32:39 c9b1b535fdd9: Pulling fs layer 05:32:39 2cc5ad85d9ab: Pulling fs layer 05:32:39 756a868c4378: Pulling fs layer 05:32:39 444b2fc9a129: Pulling fs layer 05:32:39 ea15f1150254: Pulling fs layer 05:32:39 41b27a9f41bf: Pulling fs layer 05:32:39 28c525ee5125: Pulling fs layer 05:32:39 094b1ea09ed8: Pulling fs layer 05:32:39 138eaada9080: Pulling fs layer 05:32:39 0622d0fa9048: Pulling fs layer 05:32:39 444b2fc9a129: Waiting 05:32:39 ea15f1150254: Waiting 05:32:39 41b27a9f41bf: Waiting 05:32:39 28c525ee5125: Waiting 05:32:39 138eaada9080: Waiting 05:32:39 0622d0fa9048: Waiting 05:32:39 094b1ea09ed8: Waiting 05:32:39 2cc5ad85d9ab: Verifying Checksum 05:32:39 2cc5ad85d9ab: Download complete 05:32:39 444b2fc9a129: Verifying Checksum 05:32:39 444b2fc9a129: Download complete 05:32:39 c9b1b535fdd9: Verifying Checksum 05:32:39 c9b1b535fdd9: Download complete 05:32:39 ea15f1150254: Verifying Checksum 05:32:39 ea15f1150254: Download complete 05:32:39 28c525ee5125: Verifying Checksum 05:32:39 28c525ee5125: Download complete 05:32:39 756a868c4378: Download complete 05:32:39 138eaada9080: Verifying Checksum 05:32:39 138eaada9080: Download complete 05:32:39 094b1ea09ed8: Verifying Checksum 05:32:39 094b1ea09ed8: Download complete 05:32:39 0622d0fa9048: Verifying Checksum 05:32:39 0622d0fa9048: Download complete 05:32:40 41b27a9f41bf: Verifying Checksum 05:32:40 41b27a9f41bf: Download complete 05:32:40 c9b1b535fdd9: Pull complete 05:32:40 2cc5ad85d9ab: Pull complete 05:32:42 756a868c4378: Pull complete 05:32:42 444b2fc9a129: Pull complete 05:32:43 ea15f1150254: Pull complete 05:32:47 41b27a9f41bf: Pull complete 05:32:47 28c525ee5125: Pull complete 05:32:49 094b1ea09ed8: Pull complete 05:32:49 138eaada9080: Pull complete 05:32:49 0622d0fa9048: Pull complete 05:32:49 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 05:32:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:32:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:32:49 prd-centos7-docker-4c-2g-4763 does not seem to be running inside a container 05:32:49 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_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 05:32:52 $ docker top 7a6f0b02401ef4fbcb58ba94e9db64db05095262e9403d9f9d57db761435158e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:32:53 provisioning config files... 05:32:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5857660797515651558tmp [Pipeline] { [Pipeline] echo 05:32:53 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:32:53 ---> create-netrc.sh [Pipeline] echo 05:32:53 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:32:53 ---> logs-deploy.sh 05:32:53 + ARCHIVE_ARTIFACTS= 05:32:53 + LOGS_SERVER=https://logs.edgexfoundry.org 05:32:53 + '[' https://logs.edgexfoundry.org == None ']' 05:32:53 + NEXUS_URL=https://nexus.edgexfoundry.org 05:32:53 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/47 05:32:53 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/47/ 05:32:53 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/47 /w/workspace/dgexfoundry_device-sdk-go_master 05:32:54 Archives upload complete. 05:32:54 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/47 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/47/