Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5e086035fd190758fe582ba093e57a486efc0f6b 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > 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: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/ [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1331 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 Fetching without tags Checking out Revision 5e086035fd190758fe582ba093e57a486efc0f6b (master) 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 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 5e086035fd190758fe582ba093e57a486efc0f6b # timeout=10 Commit message: "Merge pull request #462 from weichou1229/issue-460" > git rev-list --no-walk 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-30T05:49:36.237Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-30T05:49:38.793Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-30T05:49:39.057Z] [2020-03-30T05:49:39.057Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-30T05:49:39.450Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-30T05:49:39.809Z] latest: Pulling from edgex-devops/git-semver [2020-03-30T05:49:39.809Z] 9123ac7c32f7: Pulling fs layer [2020-03-30T05:49:39.809Z] b8cc5d1170e3: Pulling fs layer [2020-03-30T05:49:39.809Z] 2924cbbf6a41: Pulling fs layer [2020-03-30T05:49:39.809Z] 93b08a4f1073: Pulling fs layer [2020-03-30T05:49:39.809Z] 93b08a4f1073: Waiting [2020-03-30T05:49:39.809Z] b8cc5d1170e3: Verifying Checksum [2020-03-30T05:49:39.809Z] b8cc5d1170e3: Download complete [2020-03-30T05:49:40.180Z] 9123ac7c32f7: Verifying Checksum [2020-03-30T05:49:40.180Z] 9123ac7c32f7: Download complete [2020-03-30T05:49:40.180Z] 2924cbbf6a41: Verifying Checksum [2020-03-30T05:49:40.180Z] 2924cbbf6a41: Download complete [2020-03-30T05:49:40.520Z] 93b08a4f1073: Verifying Checksum [2020-03-30T05:49:40.520Z] 93b08a4f1073: Download complete [2020-03-30T05:49:40.520Z] 9123ac7c32f7: Pull complete [2020-03-30T05:49:40.980Z] b8cc5d1170e3: Pull complete [2020-03-30T05:49:41.586Z] 2924cbbf6a41: Pull complete [2020-03-30T05:49:42.248Z] 93b08a4f1073: Pull complete [2020-03-30T05:49:42.248Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-30T05:49:42.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-30T05:49:42.970Z] prd-centos7-docker-4c-2g-1331 does not seem to be running inside a container [2020-03-30T05:49:43.144Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-30T05:49:44.181Z] $ docker top 490f9084df34f23c3b1dde20eb775c28c119fa2a148416d13ca28f009e55765a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-30T05:49:44.720Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-30T05:49:44.720Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-30T05:49:45.017Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-30T05:49:45.025Z] $ docker exec 490f9084df34f23c3b1dde20eb775c28c119fa2a148416d13ca28f009e55765a ssh-agent [2020-03-30T05:49:45.287Z] SSH_AUTH_SOCK=/tmp/ssh-Go5MlddPV6qd/agent.14 [2020-03-30T05:49:45.287Z] SSH_AGENT_PID=21 [2020-03-30T05:49:45.306Z] Running ssh-add (command line suppressed) [2020-03-30T05:49:45.491Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_183491248880819174.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_183491248880819174.key) [2020-03-30T05:49:45.564Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-30T05:49:45.888Z] + git describe --exact-match --tags HEAD [2020-03-30T05:49:45.888Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-30T05:49:45.951Z] $ docker exec --env ******** --env ******** 490f9084df34f23c3b1dde20eb775c28c119fa2a148416d13ca28f009e55765a ssh-agent -k [2020-03-30T05:49:46.420Z] unset SSH_AUTH_SOCK; [2020-03-30T05:49:46.429Z] unset SSH_AGENT_PID; [2020-03-30T05:49:46.430Z] echo Agent pid 21 killed; [2020-03-30T05:49:46.545Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-30T05:49:46.603Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-30T05:49:46.603Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-30T05:49:46.670Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-30T05:49:46.670Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-30T05:49:47.214Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-30T05:49:47.220Z] $ docker exec 490f9084df34f23c3b1dde20eb775c28c119fa2a148416d13ca28f009e55765a ssh-agent [2020-03-30T05:49:47.870Z] SSH_AUTH_SOCK=/tmp/ssh-10rGmeNE6HPR/agent.57 [2020-03-30T05:49:47.870Z] SSH_AGENT_PID=64 [2020-03-30T05:49:47.890Z] Running ssh-add (command line suppressed) [2020-03-30T05:49:48.535Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4910402019400101053.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4910402019400101053.key) [2020-03-30T05:49:48.801Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-30T05:49:49.195Z] + git semver init [2020-03-30T05:49:49.195Z] # -> Open(): unable to determine branch for HEAD [2020-03-30T05:49:49.195Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-03-30T05:49:49.195Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-03-30T05:49:49.195Z] # $SEMVER_REMOTE_NAME = origin [2020-03-30T05:49:49.195Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-30T05:49:49.195Z] # $SEMVER_USER_NAME = jenkins [2020-03-30T05:49:49.195Z] # $SEMVER_BRANCH = master [2020-03-30T05:49:49.195Z] # $SEMVER_TEMP = /tmp/semver-318332200 [2020-03-30T05:49:49.195Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-30T05:49:49.808Z] # '/tmp/semver-318332200' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-03-30T05:49:49.808Z] # -> Force: false [2020-03-30T05:49:49.808Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-03-30T05:49:49.832Z] $ docker exec --env ******** --env ******** 490f9084df34f23c3b1dde20eb775c28c119fa2a148416d13ca28f009e55765a ssh-agent -k [2020-03-30T05:49:50.200Z] unset SSH_AUTH_SOCK; [2020-03-30T05:49:50.200Z] unset SSH_AGENT_PID; [2020-03-30T05:49:50.200Z] echo Agent pid 64 killed; [2020-03-30T05:49:50.247Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-30T05:49:50.700Z] + git semver [Pipeline] } [2020-03-30T05:49:50.765Z] $ docker stop --time=1 490f9084df34f23c3b1dde20eb775c28c119fa2a148416d13ca28f009e55765a [2020-03-30T05:49:52.325Z] $ docker rm -f 490f9084df34f23c3b1dde20eb775c28c119fa2a148416d13ca28f009e55765a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-30T05:49:53.786Z] Stashed 28 file(s) [Pipeline] echo [2020-03-30T05:49:53.788Z] [edgeXSemver] initialized semver on version 1.2.0-dev.11 [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 [2020-03-30T05:50:08.990Z] Still waiting to schedule task [2020-03-30T05:50:08.990Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1331’ [2020-03-30T05:50:08.992Z] Still waiting to schedule task [2020-03-30T05:50:08.992Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-03-30T05:52:49.061Z] Running on prd-centos7-docker-4c-2g-1332 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-03-30T05:52:49.098Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2020-03-30T05:52:54.729Z] using credential edgex-jenkins-ssh [2020-03-30T05:52:54.780Z] Cloning the remote Git repository [2020-03-30T05:52:54.780Z] Cloning with configured refspecs honoured and without tags [2020-03-30T05:52:54.839Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-30T05:52:55.725Z] Fetching without tags [2020-03-30T05:52:54.948Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2020-03-30T05:52:55.016Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-30T05:52:55.017Z] > git --version # timeout=10 [2020-03-30T05:52:55.026Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-30T05:52:55.071Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-30T05:52:55.668Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-30T05:52:55.679Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-30T05:52:55.703Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-30T05:52:55.728Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-30T05:52:55.728Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-30T05:52:55.734Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-30T05:52:56.130Z] Checking out Revision 5e086035fd190758fe582ba093e57a486efc0f6b (master) [2020-03-30T05:52:56.138Z] > git config core.sparsecheckout # timeout=10 [2020-03-30T05:52:56.159Z] > git checkout -f 5e086035fd190758fe582ba093e57a486efc0f6b # timeout=10 [2020-03-30T05:53:00.522Z] Commit message: "Merge pull request #462 from weichou1229/issue-460" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-30T05:53:01.974Z] ========================================================= [2020-03-30T05:53:01.974Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-30T05:53:01.974Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-30T05:53:03.277Z] + 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 . [2020-03-30T05:53:03.552Z] Sending build context to Docker daemon 2.672MB [2020-03-30T05:53:03.840Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-30T05:53:03.840Z] Step 2/8 : FROM ${BASE} [2020-03-30T05:53:03.840Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-30T05:53:03.840Z] e6b0cf9c0882: Pulling fs layer [2020-03-30T05:53:03.840Z] 2848faf0eed1: Pulling fs layer [2020-03-30T05:53:03.840Z] 0f37312ad70f: Pulling fs layer [2020-03-30T05:53:03.840Z] 5788d62ee057: Pulling fs layer [2020-03-30T05:53:03.840Z] 0e6b1d234666: Pulling fs layer [2020-03-30T05:53:03.840Z] bf5d7aec512f: Pulling fs layer [2020-03-30T05:53:03.840Z] 34c802a77dc8: Pulling fs layer [2020-03-30T05:53:03.840Z] 9eb99e56ec68: Pulling fs layer [2020-03-30T05:53:03.840Z] 27c7a5d97fbd: Pulling fs layer [2020-03-30T05:53:03.840Z] 5c102a31e300: Pulling fs layer [2020-03-30T05:53:03.840Z] dcfb455df0a1: Pulling fs layer [2020-03-30T05:53:03.840Z] 5788d62ee057: Waiting [2020-03-30T05:53:03.840Z] 0e6b1d234666: Waiting [2020-03-30T05:53:03.840Z] bf5d7aec512f: Waiting [2020-03-30T05:53:03.840Z] 34c802a77dc8: Waiting [2020-03-30T05:53:03.840Z] 9eb99e56ec68: Waiting [2020-03-30T05:53:03.840Z] 27c7a5d97fbd: Waiting [2020-03-30T05:53:03.840Z] 5c102a31e300: Waiting [2020-03-30T05:53:03.840Z] dcfb455df0a1: Waiting [2020-03-30T05:53:03.840Z] 0f37312ad70f: Verifying Checksum [2020-03-30T05:53:03.840Z] 0f37312ad70f: Download complete [2020-03-30T05:53:03.840Z] 2848faf0eed1: Verifying Checksum [2020-03-30T05:53:03.840Z] 2848faf0eed1: Download complete [2020-03-30T05:53:04.149Z] 0e6b1d234666: Verifying Checksum [2020-03-30T05:53:04.149Z] 0e6b1d234666: Download complete [2020-03-30T05:53:04.149Z] bf5d7aec512f: Verifying Checksum [2020-03-30T05:53:04.149Z] bf5d7aec512f: Download complete [2020-03-30T05:53:04.149Z] e6b0cf9c0882: Verifying Checksum [2020-03-30T05:53:04.149Z] e6b0cf9c0882: Download complete [2020-03-30T05:53:04.426Z] e6b0cf9c0882: Pull complete [2020-03-30T05:53:05.961Z] 34c802a77dc8: Verifying Checksum [2020-03-30T05:53:05.961Z] 34c802a77dc8: Download complete [2020-03-30T05:53:05.961Z] 27c7a5d97fbd: Download complete [2020-03-30T05:53:06.264Z] 2848faf0eed1: Pull complete [2020-03-30T05:53:06.537Z] 0f37312ad70f: Pull complete [2020-03-30T05:53:07.143Z] 9eb99e56ec68: Verifying Checksum [2020-03-30T05:53:07.143Z] 9eb99e56ec68: Download complete [2020-03-30T05:53:07.143Z] 5788d62ee057: Verifying Checksum [2020-03-30T05:53:07.143Z] 5788d62ee057: Download complete [2020-03-30T05:53:07.143Z] dcfb455df0a1: Verifying Checksum [2020-03-30T05:53:07.143Z] dcfb455df0a1: Download complete [2020-03-30T05:53:07.445Z] 5c102a31e300: Verifying Checksum [2020-03-30T05:53:07.445Z] 5c102a31e300: Download complete [2020-03-30T05:53:17.679Z] 5788d62ee057: Pull complete [2020-03-30T05:53:17.679Z] 0e6b1d234666: Pull complete [2020-03-30T05:53:17.679Z] bf5d7aec512f: Pull complete [2020-03-30T05:53:21.101Z] 34c802a77dc8: Pull complete [2020-03-30T05:53:25.475Z] 9eb99e56ec68: Pull complete [2020-03-30T05:53:25.738Z] 27c7a5d97fbd: Pull complete [2020-03-30T05:53:27.129Z] 5c102a31e300: Pull complete [2020-03-30T05:53:27.129Z] dcfb455df0a1: Pull complete [2020-03-30T05:53:27.392Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-30T05:53:27.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-30T05:53:27.393Z] ---> 7c70fe431013 [2020-03-30T05:53:27.393Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-30T05:53:27.393Z] ---> Running in bb23a26b8b06 [2020-03-30T05:53:27.660Z] Removing intermediate container bb23a26b8b06 [2020-03-30T05:53:27.660Z] ---> 78277442eb78 [2020-03-30T05:53:27.660Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-30T05:53:27.660Z] ---> Running in 6da52dcef194 [2020-03-30T05:53:29.084Z] Removing intermediate container 6da52dcef194 [2020-03-30T05:53:29.084Z] ---> 9c0318528dd2 [2020-03-30T05:53:29.084Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-30T05:53:29.084Z] ---> Running in 9e417240d74d [2020-03-30T05:53:30.042Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-30T05:53:30.994Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-30T05:53:31.257Z] OK: 143 MiB in 39 packages [2020-03-30T05:53:31.837Z] Removing intermediate container 9e417240d74d [2020-03-30T05:53:31.837Z] ---> 377e2673d38a [2020-03-30T05:53:31.837Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-30T05:53:31.837Z] ---> Running in adc2740d5e30 [2020-03-30T05:53:32.107Z] Removing intermediate container adc2740d5e30 [2020-03-30T05:53:32.107Z] ---> 2ab14f37e085 [2020-03-30T05:53:32.107Z] Step 7/8 : COPY . . [2020-03-30T05:53:32.690Z] ---> 8d9e3c9c0bff [2020-03-30T05:53:32.690Z] Step 8/8 : RUN go mod download [2020-03-30T05:53:32.690Z] ---> Running in 884c3f631744 [2020-03-30T05:53:35.271Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-30T05:53:35.271Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-30T05:53:35.271Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-30T05:53:35.271Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-30T05:53:35.271Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-30T05:53:35.271Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-30T05:53:35.271Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-30T05:53:35.271Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-30T05:53:35.271Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-30T05:53:35.271Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-30T05:53:35.271Z] go: finding github.com/fatih/color v1.7.0 [2020-03-30T05:53:35.271Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-30T05:53:35.542Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-30T05:53:35.542Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-30T05:53:35.542Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-30T05:53:35.542Z] go: finding github.com/google/uuid v1.1.0 [2020-03-30T05:53:35.542Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-30T05:53:35.542Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-30T05:53:35.542Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-30T05:53:35.827Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-30T05:53:35.827Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-30T05:53:35.827Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-30T05:53:35.827Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-30T05:53:35.827Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-30T05:53:35.827Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-30T05:53:36.087Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-30T05:53:36.087Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-30T05:53:36.087Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-30T05:53:36.087Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-30T05:53:36.087Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-30T05:53:36.087Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-30T05:53:36.359Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-30T05:53:36.359Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-30T05:53:36.359Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-30T05:53:36.359Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-30T05:53:36.359Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-30T05:53:36.359Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-30T05:53:36.627Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-30T05:53:36.627Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-30T05:53:36.627Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-30T05:53:36.627Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-30T05:53:36.627Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-30T05:53:36.627Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-30T05:53:36.627Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-30T05:53:36.931Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-30T05:53:36.931Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-30T05:53:36.931Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-30T05:53:36.931Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-30T05:53:36.931Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-30T05:53:36.931Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-30T05:53:37.228Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-30T05:53:37.228Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-30T05:53:37.228Z] go: finding github.com/posener/complete v1.1.1 [2020-03-30T05:53:37.228Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-30T05:53:37.228Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-30T05:53:37.228Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-30T05:53:37.228Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-30T05:53:37.496Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-30T05:53:37.496Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-30T05:53:37.496Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-30T05:53:37.496Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-30T05:53:37.496Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-30T05:53:37.496Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-30T05:53:37.785Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-30T05:53:46.452Z] Removing intermediate container 884c3f631744 [2020-03-30T05:53:46.452Z] ---> f77af38f70d2 [2020-03-30T05:53:46.452Z] Successfully built f77af38f70d2 [2020-03-30T05:53:46.452Z] 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 [2020-03-30T05:53:47.105Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-30T05:53:47.106Z] . [Pipeline] withDockerContainer [2020-03-30T05:53:47.447Z] prd-centos7-docker-4c-2g-1332 does not seem to be running inside a container [2020-03-30T05:53:47.959Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 ******** ci-base-image-x86_64 cat [2020-03-30T05:53:48.749Z] $ docker top 5ad38048f0f824449205fa99b1a9285ec1a98aaf9a2042d6ea71ff3e76ac3244 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-30T05:53:49.986Z] + go version [2020-03-30T05:53:49.986Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-30T05:53:50.993Z] + make test [2020-03-30T05:53:50.993Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-30T05:53:59.143Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1333 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-03-30T05:53:59.182Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2020-03-30T05:54:05.044Z] using credential edgex-jenkins-ssh [2020-03-30T05:54:05.091Z] Cloning the remote Git repository [2020-03-30T05:54:05.091Z] Cloning with configured refspecs honoured and without tags [2020-03-30T05:54:05.158Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-30T05:54:05.243Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2020-03-30T05:54:05.326Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-30T05:54:05.327Z] > git --version # timeout=10 [2020-03-30T05:54:05.374Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-30T05:54:05.458Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-30T05:54:06.421Z] Fetching without tags [2020-03-30T05:54:06.894Z] Checking out Revision 5e086035fd190758fe582ba093e57a486efc0f6b (master) [2020-03-30T05:54:06.320Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-30T05:54:06.348Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-30T05:54:06.380Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-30T05:54:06.433Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-30T05:54:06.434Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-30T05:54:06.472Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-30T05:54:06.915Z] > git config core.sparsecheckout # timeout=10 [2020-03-30T05:54:06.959Z] > git checkout -f 5e086035fd190758fe582ba093e57a486efc0f6b # timeout=10 [2020-03-30T05:54:11.476Z] Commit message: "Merge pull request #462 from weichou1229/issue-460" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-30T05:54:12.594Z] ========================================================= [2020-03-30T05:54:12.594Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-30T05:54:12.594Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-30T05:54:13.632Z] + 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 . [2020-03-30T05:54:14.610Z] Sending build context to Docker daemon 2.675MB [2020-03-30T05:54:14.610Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-30T05:54:14.610Z] Step 2/8 : FROM ${BASE} [2020-03-30T05:54:14.885Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-30T05:54:14.885Z] cde5963f3b93: Pulling fs layer [2020-03-30T05:54:14.885Z] 2a23fa8c16f7: Pulling fs layer [2020-03-30T05:54:14.885Z] 777b28850792: Pulling fs layer [2020-03-30T05:54:14.885Z] 8a11ddd9e578: Pulling fs layer [2020-03-30T05:54:14.885Z] 4cf88f913ddb: Pulling fs layer [2020-03-30T05:54:14.885Z] 1df406cf5192: Pulling fs layer [2020-03-30T05:54:14.885Z] cd6300453558: Pulling fs layer [2020-03-30T05:54:14.885Z] b9c365052c96: Pulling fs layer [2020-03-30T05:54:14.885Z] 8a11ddd9e578: Waiting [2020-03-30T05:54:14.885Z] a2d8cc88f415: Pulling fs layer [2020-03-30T05:54:14.885Z] ea1d1ca13537: Pulling fs layer [2020-03-30T05:54:14.885Z] 3750a50a1c5e: Pulling fs layer [2020-03-30T05:54:14.885Z] 4cf88f913ddb: Waiting [2020-03-30T05:54:14.885Z] 1df406cf5192: Waiting [2020-03-30T05:54:14.885Z] cd6300453558: Waiting [2020-03-30T05:54:14.885Z] b9c365052c96: Waiting [2020-03-30T05:54:14.885Z] a2d8cc88f415: Waiting [2020-03-30T05:54:14.885Z] ea1d1ca13537: Waiting [2020-03-30T05:54:14.885Z] 3750a50a1c5e: Waiting [2020-03-30T05:54:14.885Z] 777b28850792: Verifying Checksum [2020-03-30T05:54:14.885Z] 777b28850792: Download complete [2020-03-30T05:54:14.885Z] 2a23fa8c16f7: Verifying Checksum [2020-03-30T05:54:14.885Z] 2a23fa8c16f7: Download complete [2020-03-30T05:54:14.885Z] 4cf88f913ddb: Download complete [2020-03-30T05:54:14.885Z] 1df406cf5192: Verifying Checksum [2020-03-30T05:54:14.885Z] 1df406cf5192: Download complete [2020-03-30T05:54:15.155Z] cde5963f3b93: Verifying Checksum [2020-03-30T05:54:15.155Z] cde5963f3b93: Download complete [2020-03-30T05:54:16.238Z] cde5963f3b93: Pull complete [2020-03-30T05:54:16.512Z] 2a23fa8c16f7: Pull complete [2020-03-30T05:54:17.118Z] 777b28850792: Pull complete [2020-03-30T05:54:17.920Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-30T05:54:17.920Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-30T05:54:17.920Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-30T05:54:17.920Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.056s coverage: 23.1% of statements [2020-03-30T05:54:17.920Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.060s coverage: 95.8% of statements [2020-03-30T05:54:19.084Z] cd6300453558: Verifying Checksum [2020-03-30T05:54:19.084Z] cd6300453558: Download complete [2020-03-30T05:54:19.084Z] a2d8cc88f415: Verifying Checksum [2020-03-30T05:54:19.084Z] a2d8cc88f415: Download complete [2020-03-30T05:54:21.315Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.033s coverage: 12.7% of statements [2020-03-30T05:54:21.315Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.021s coverage: 25.6% of statements [2020-03-30T05:54:21.686Z] ea1d1ca13537: Verifying Checksum [2020-03-30T05:54:21.686Z] ea1d1ca13537: Download complete [2020-03-30T05:54:21.958Z] 3750a50a1c5e: Download complete [2020-03-30T05:54:24.550Z] b9c365052c96: Download complete [2020-03-30T05:54:26.496Z] 8a11ddd9e578: Verifying Checksum [2020-03-30T05:54:26.496Z] 8a11ddd9e578: Download complete [2020-03-30T05:54:38.855Z] 8a11ddd9e578: Pull complete [2020-03-30T05:54:38.855Z] 4cf88f913ddb: Pull complete [2020-03-30T05:54:38.855Z] 1df406cf5192: Pull complete [2020-03-30T05:54:43.126Z] cd6300453558: Pull complete [2020-03-30T05:54:46.479Z] b9c365052c96: Pull complete [2020-03-30T05:54:46.748Z] a2d8cc88f415: Pull complete [2020-03-30T05:54:49.365Z] ea1d1ca13537: Pull complete [2020-03-30T05:54:49.365Z] 3750a50a1c5e: Pull complete [2020-03-30T05:54:49.365Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-30T05:54:49.365Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-30T05:54:49.365Z] ---> 78745c68409d [2020-03-30T05:54:49.365Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-30T05:54:53.634Z] ---> Running in 9ca203a3446f [2020-03-30T05:54:53.634Z] Removing intermediate container 9ca203a3446f [2020-03-30T05:54:53.634Z] ---> 9d03e7882998 [2020-03-30T05:54:53.634Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-30T05:54:53.714Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.043s coverage: 30.0% of statements [2020-03-30T05:54:53.714Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.316s coverage: 42.3% of statements [2020-03-30T05:54:53.714Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-30T05:54:53.714Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-30T05:54:53.714Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 1.616s coverage: 79.5% of statements [2020-03-30T05:54:53.714Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-30T05:54:53.714Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-30T05:54:53.714Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-30T05:54:53.714Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.060s coverage: 52.6% of statements [2020-03-30T05:54:53.714Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.134s coverage: 76.1% of statements [2020-03-30T05:54:53.714Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-30T05:54:53.714Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-30T05:54:53.902Z] ---> Running in 2ca700573156 [2020-03-30T05:54:54.664Z] gofmt -l . [2020-03-30T05:54:54.664Z] [ "`gofmt -l .`" = "" ] [2020-03-30T05:54:54.664Z] ./bin/test-attribution-txt.sh [2020-03-30T05:54:55.632Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-30T05:54:56.510Z] Removing intermediate container 2ca700573156 [2020-03-30T05:54:56.510Z] ---> 39b3a3056ef0 [2020-03-30T05:54:56.510Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-30T05:54:56.510Z] ---> Running in 444ea546390c [2020-03-30T05:54:57.095Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-30T05:54:57.906Z] Stashed 1 file(s) [Pipeline] } [2020-03-30T05:54:57.913Z] $ docker stop --time=1 5ad38048f0f824449205fa99b1a9285ec1a98aaf9a2042d6ea71ff3e76ac3244 [2020-03-30T05:54:58.060Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-30T05:54:58.328Z] OK: 125 MiB in 39 packages [2020-03-30T05:54:59.294Z] Removing intermediate container 444ea546390c [2020-03-30T05:54:59.294Z] ---> 71c1ca4708c9 [2020-03-30T05:54:59.294Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-30T05:54:59.562Z] ---> Running in dfa83283cbfc [2020-03-30T05:54:59.715Z] $ docker rm -f 5ad38048f0f824449205fa99b1a9285ec1a98aaf9a2042d6ea71ff3e76ac3244 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-03-30T05:55:00.149Z] Removing intermediate container dfa83283cbfc [2020-03-30T05:55:00.149Z] ---> 63e0fd2f5524 [2020-03-30T05:55:00.149Z] Step 7/8 : COPY . . [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-30T05:55:01.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-30T05:55:01.125Z] ---> 8d3ca491ac7c [2020-03-30T05:55:01.125Z] Step 8/8 : RUN go mod download [2020-03-30T05:55:01.125Z] ---> Running in 3f1c4ae910fb [2020-03-30T05:55:01.479Z] + ls -al . [2020-03-30T05:55:01.479Z] total 200 [2020-03-30T05:55:01.479Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 30 05:54 . [2020-03-30T05:55:01.479Z] drwxrwxr-x. 4 jenkins jenkins 30 Mar 30 05:52 .. [2020-03-30T05:55:01.479Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 30 05:52 api [2020-03-30T05:55:01.479Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 30 05:52 async.go [2020-03-30T05:55:01.479Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 30 05:52 bin [2020-03-30T05:55:01.479Z] -rw-r--r--. 1 jenkins jenkins 100201 Mar 30 05:54 coverage.out [2020-03-30T05:55:01.479Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 30 05:52 Dockerfile.build [2020-03-30T05:55:01.479Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 30 05:52 .dockerignore [2020-03-30T05:55:01.479Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 30 05:52 example [2020-03-30T05:55:01.479Z] drwxrwxr-x. 8 jenkins jenkins 162 Mar 30 05:53 .git [2020-03-30T05:55:01.479Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 30 05:52 .github [2020-03-30T05:55:01.479Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 30 05:52 .gitignore [2020-03-30T05:55:01.479Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 30 05:54 go.mod [2020-03-30T05:55:01.479Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 30 05:54 go.sum [2020-03-30T05:55:01.479Z] drwxrwxr-x. 13 jenkins jenkins 176 Mar 30 05:52 internal [2020-03-30T05:55:01.479Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 30 05:52 Jenkinsfile [2020-03-30T05:55:01.479Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 30 05:52 LICENSE [2020-03-30T05:55:01.479Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 30 05:52 Makefile [2020-03-30T05:55:01.479Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 30 05:52 manageddevices.go [2020-03-30T05:55:01.479Z] -rw-rw-r--. 1 jenkins jenkins 5473 Mar 30 05:52 managedprofiles.go [2020-03-30T05:55:01.479Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 30 05:52 managedwatchers.go [2020-03-30T05:55:01.479Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 30 05:52 pkg [2020-03-30T05:55:01.479Z] -rw-rw-r--. 1 jenkins jenkins 2249 Mar 30 05:52 README.md [2020-03-30T05:55:01.479Z] drwxrwxr-x. 3 jenkins jenkins 44 Mar 30 05:53 .semver [2020-03-30T05:55:01.479Z] -rw-rw-r--. 1 jenkins jenkins 9817 Mar 30 05:52 service.go [2020-03-30T05:55:01.479Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 30 05:52 snap [2020-03-30T05:55:01.479Z] -rw-rw-r--. 1 jenkins jenkins 12 Mar 30 05:49 VERSION [2020-03-30T05:55:01.479Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 30 05:52 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-30T05:55:01.899Z] + 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=5e086035fd190758fe582ba093e57a486efc0f6b --label arch=amd64 --label version=1.2.0-dev.11 . [2020-03-30T05:55:02.201Z] Sending build context to Docker daemon 2.798MB [2020-03-30T05:55:02.201Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-30T05:55:02.201Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-30T05:55:02.201Z] ---> f77af38f70d2 [2020-03-30T05:55:02.201Z] Step 3/20 : ARG MAKE='make build' [2020-03-30T05:55:02.519Z] ---> Running in ca4e77fc464c [2020-03-30T05:55:02.519Z] Removing intermediate container ca4e77fc464c [2020-03-30T05:55:02.519Z] ---> 1de257d6f114 [2020-03-30T05:55:02.519Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-30T05:55:02.519Z] ---> Running in eed0f887191a [2020-03-30T05:55:02.782Z] Removing intermediate container eed0f887191a [2020-03-30T05:55:02.782Z] ---> 74aae61e9513 [2020-03-30T05:55:02.782Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-30T05:55:02.782Z] ---> Running in bcddde0939cd [2020-03-30T05:55:02.782Z] Removing intermediate container bcddde0939cd [2020-03-30T05:55:02.782Z] ---> c18ef7918306 [2020-03-30T05:55:02.782Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-30T05:55:03.043Z] ---> Running in f7105680ebdf [2020-03-30T05:55:03.097Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-30T05:55:03.097Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-30T05:55:03.097Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-30T05:55:03.097Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-30T05:55:03.097Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-30T05:55:03.097Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-30T05:55:03.097Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-30T05:55:03.097Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-30T05:55:03.097Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-30T05:55:03.097Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-30T05:55:03.097Z] go: finding github.com/fatih/color v1.7.0 [2020-03-30T05:55:03.097Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-30T05:55:03.097Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-30T05:55:03.097Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-30T05:55:03.097Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-30T05:55:03.097Z] go: finding github.com/google/uuid v1.1.0 [2020-03-30T05:55:03.097Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-30T05:55:03.097Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-30T05:55:03.097Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-30T05:55:03.097Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-30T05:55:03.369Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-30T05:55:03.369Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-30T05:55:03.369Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-30T05:55:03.369Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-30T05:55:03.369Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-30T05:55:03.635Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-30T05:55:03.635Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-30T05:55:03.635Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-30T05:55:03.635Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-30T05:55:03.635Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-30T05:55:03.635Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-30T05:55:03.636Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-30T05:55:03.901Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-30T05:55:03.901Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-30T05:55:03.901Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-30T05:55:03.901Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-30T05:55:03.901Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-30T05:55:03.901Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-30T05:55:03.901Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-30T05:55:03.901Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-30T05:55:04.067Z] Removing intermediate container f7105680ebdf [2020-03-30T05:55:04.067Z] ---> 6a142d89e6f5 [2020-03-30T05:55:04.067Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-30T05:55:04.067Z] ---> Running in 9c875664d7b7 [2020-03-30T05:55:04.168Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-30T05:55:04.168Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-30T05:55:04.168Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-30T05:55:04.168Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-30T05:55:04.435Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-30T05:55:04.435Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-30T05:55:04.435Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-30T05:55:04.435Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-30T05:55:04.435Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-30T05:55:04.435Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-30T05:55:04.435Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-30T05:55:04.435Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-30T05:55:04.435Z] go: finding github.com/posener/complete v1.1.1 [2020-03-30T05:55:04.435Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-30T05:55:04.666Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-30T05:55:04.703Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-30T05:55:04.703Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-30T05:55:04.703Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-30T05:55:04.703Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-30T05:55:04.703Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-30T05:55:04.703Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-30T05:55:04.703Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-30T05:55:04.703Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-30T05:55:04.703Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-30T05:55:04.703Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-30T05:55:05.259Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-30T05:55:05.524Z] OK: 143 MiB in 39 packages [2020-03-30T05:55:06.093Z] Removing intermediate container 9c875664d7b7 [2020-03-30T05:55:06.093Z] ---> 6eaf6218da08 [2020-03-30T05:55:06.093Z] Step 8/20 : COPY . . [2020-03-30T05:55:06.666Z] ---> 1fae9b3116e8 [2020-03-30T05:55:06.666Z] Step 9/20 : RUN ${MAKE} [2020-03-30T05:55:06.666Z] ---> Running in 5aa859f392cd [2020-03-30T05:55:06.937Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.11" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-03-30T05:55:22.936Z] Removing intermediate container 3f1c4ae910fb [2020-03-30T05:55:22.936Z] ---> 178a44b38559 [2020-03-30T05:55:22.936Z] Successfully built 178a44b38559 [2020-03-30T05:55:22.936Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-30T05:55:23.645Z] + docker inspect -f . ci-base-image-arm64 [2020-03-30T05:55:23.918Z] . [Pipeline] withDockerContainer [2020-03-30T05:55:24.277Z] prd-ubuntu18.04-docker-arm64-4c-16g-1333 does not seem to be running inside a container [2020-03-30T05:55:24.357Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 ******** ci-base-image-arm64 cat [2020-03-30T05:55:25.534Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-30T05:55:25.860Z] $ docker top afb57adcd1a79b6f24e0e734f0405c68de8ce62895449a03360f8539ce130509 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-30T05:55:26.941Z] + go version [2020-03-30T05:55:26.941Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-30T05:55:27.602Z] + make test [2020-03-30T05:55:27.602Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-30T05:55:35.925Z] Removing intermediate container 5aa859f392cd [2020-03-30T05:55:35.925Z] ---> eb3bc5cb5dc9 [2020-03-30T05:55:35.925Z] Step 10/20 : FROM scratch [2020-03-30T05:55:35.925Z] ---> [2020-03-30T05:55:35.925Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-30T05:55:35.925Z] ---> Running in 843f1b39f694 [2020-03-30T05:55:35.925Z] Removing intermediate container 843f1b39f694 [2020-03-30T05:55:35.925Z] ---> e2cb4643ad45 [2020-03-30T05:55:35.925Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-30T05:55:35.925Z] ---> Running in 82421d2294b9 [2020-03-30T05:55:35.925Z] Removing intermediate container 82421d2294b9 [2020-03-30T05:55:35.925Z] ---> c479320cb058 [2020-03-30T05:55:35.925Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-30T05:55:36.195Z] ---> Running in bee6ae33ebf2 [2020-03-30T05:55:36.195Z] Removing intermediate container bee6ae33ebf2 [2020-03-30T05:55:36.195Z] ---> b3dd3d672087 [2020-03-30T05:55:36.195Z] Step 14/20 : WORKDIR / [2020-03-30T05:55:36.195Z] ---> Running in 406613a76975 [2020-03-30T05:55:36.458Z] Removing intermediate container 406613a76975 [2020-03-30T05:55:36.458Z] ---> 57699edcd99b [2020-03-30T05:55:36.458Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-30T05:55:37.035Z] ---> 5e9d59aaae8d [2020-03-30T05:55:37.035Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-30T05:55:37.035Z] ---> b25173bd7306 [2020-03-30T05:55:37.035Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-30T05:55:37.299Z] ---> Running in 8d7b88d11b02 [2020-03-30T05:55:37.299Z] Removing intermediate container 8d7b88d11b02 [2020-03-30T05:55:37.299Z] ---> 90df26574755 [2020-03-30T05:55:37.299Z] Step 18/20 : LABEL arch=amd64 [2020-03-30T05:55:37.299Z] ---> Running in ab3d55023723 [2020-03-30T05:55:37.563Z] Removing intermediate container ab3d55023723 [2020-03-30T05:55:37.563Z] ---> 25c844f8fa6d [2020-03-30T05:55:37.563Z] Step 19/20 : LABEL git_sha=5e086035fd190758fe582ba093e57a486efc0f6b [2020-03-30T05:55:37.563Z] ---> Running in 4f412378c441 [2020-03-30T05:55:37.825Z] Removing intermediate container 4f412378c441 [2020-03-30T05:55:37.825Z] ---> 0fc53d43d3f5 [2020-03-30T05:55:37.825Z] Step 20/20 : LABEL version=1.2.0-dev.11 [2020-03-30T05:55:37.825Z] ---> Running in 81a0c303b629 [2020-03-30T05:55:37.825Z] Removing intermediate container 81a0c303b629 [2020-03-30T05:55:37.825Z] ---> df3863099777 [2020-03-30T05:55:37.825Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-30T05:55:37.825Z] Successfully built df3863099777 [2020-03-30T05:55:37.825Z] 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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-30T05:56:14.527Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-30T05:56:14.527Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-30T05:56:14.527Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-30T05:56:14.527Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.031s coverage: 23.1% of statements [2020-03-30T05:56:14.527Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.168s coverage: 95.8% of statements [2020-03-30T05:56:14.527Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.096s coverage: 12.7% of statements [2020-03-30T05:56:14.527Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.021s coverage: 25.6% of statements [2020-03-30T05:56:46.786Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.036s coverage: 30.0% of statements [2020-03-30T05:56:46.786Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.388s coverage: 42.3% of statements [2020-03-30T05:56:46.786Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-30T05:56:46.786Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-30T05:56:46.786Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.845s coverage: 79.5% of statements [2020-03-30T05:56:46.786Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-30T05:56:46.786Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-30T05:56:46.786Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-30T05:56:46.786Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.061s coverage: 52.6% of statements [2020-03-30T05:56:46.786Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.336s coverage: 76.1% of statements [2020-03-30T05:56:46.786Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-30T05:56:46.786Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-30T05:56:51.068Z] gofmt -l . [2020-03-30T05:56:51.337Z] [ "`gofmt -l .`" = "" ] [2020-03-30T05:56:51.605Z] ./bin/test-attribution-txt.sh [2020-03-30T05:56:52.193Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-30T05:56:52.796Z] Warning: overwriting stash ‘coverage-report’ [2020-03-30T05:56:53.250Z] Stashed 1 file(s) [Pipeline] } [2020-03-30T05:56:53.257Z] $ docker stop --time=1 afb57adcd1a79b6f24e0e734f0405c68de8ce62895449a03360f8539ce130509 [2020-03-30T05:56:55.336Z] $ docker rm -f afb57adcd1a79b6f24e0e734f0405c68de8ce62895449a03360f8539ce130509 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-30T05:56:56.565Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-30T05:56:56.900Z] + ls -al . [2020-03-30T05:56:56.900Z] total 240 [2020-03-30T05:56:56.900Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 30 05:56 . [2020-03-30T05:56:56.900Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 05:54 .. [2020-03-30T05:56:56.900Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 30 05:54 .dockerignore [2020-03-30T05:56:56.900Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 05:54 .git [2020-03-30T05:56:56.900Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 05:54 .github [2020-03-30T05:56:56.900Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 30 05:54 .gitignore [2020-03-30T05:56:56.900Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 05:54 .semver [2020-03-30T05:56:56.900Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 30 05:54 Dockerfile.build [2020-03-30T05:56:56.900Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 30 05:54 Jenkinsfile [2020-03-30T05:56:56.900Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 30 05:54 LICENSE [2020-03-30T05:56:56.900Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 30 05:54 Makefile [2020-03-30T05:56:56.900Z] -rw-rw-r-- 1 jenkins jenkins 2249 Mar 30 05:54 README.md [2020-03-30T05:56:56.900Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 30 05:49 VERSION [2020-03-30T05:56:56.900Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 05:54 api [2020-03-30T05:56:56.900Z] -rw-rw-r-- 1 jenkins jenkins 3321 Mar 30 05:54 async.go [2020-03-30T05:56:56.900Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 05:54 bin [2020-03-30T05:56:56.900Z] -rw-r--r-- 1 jenkins jenkins 100201 Mar 30 05:56 coverage.out [2020-03-30T05:56:56.900Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 05:54 example [2020-03-30T05:56:56.900Z] -rw-r--r-- 1 jenkins jenkins 536 Mar 30 05:56 go.mod [2020-03-30T05:56:56.900Z] -rw-r--r-- 1 jenkins jenkins 11140 Mar 30 05:56 go.sum [2020-03-30T05:56:56.900Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 30 05:54 internal [2020-03-30T05:56:56.900Z] -rw-rw-r-- 1 jenkins jenkins 4352 Mar 30 05:54 manageddevices.go [2020-03-30T05:56:56.900Z] -rw-rw-r-- 1 jenkins jenkins 5473 Mar 30 05:54 managedprofiles.go [2020-03-30T05:56:56.900Z] -rw-rw-r-- 1 jenkins jenkins 3878 Mar 30 05:54 managedwatchers.go [2020-03-30T05:56:56.900Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 05:54 pkg [2020-03-30T05:56:56.900Z] -rw-rw-r-- 1 jenkins jenkins 9817 Mar 30 05:54 service.go [2020-03-30T05:56:56.900Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 05:54 snap [2020-03-30T05:56:56.900Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 30 05:54 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-30T05:56:57.231Z] + 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=5e086035fd190758fe582ba093e57a486efc0f6b --label arch=arm64 --label version=1.2.0-dev.11 . [2020-03-30T05:56:57.501Z] Sending build context to Docker daemon 2.801MB [2020-03-30T05:56:57.770Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-30T05:56:57.770Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-30T05:56:57.770Z] ---> 178a44b38559 [2020-03-30T05:56:57.770Z] Step 3/20 : ARG MAKE='make build' [2020-03-30T05:56:57.770Z] ---> Running in 44a98c82a6c0 [2020-03-30T05:56:58.357Z] Removing intermediate container 44a98c82a6c0 [2020-03-30T05:56:58.357Z] ---> 19f8398bf294 [2020-03-30T05:56:58.357Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-30T05:56:58.357Z] ---> Running in 0d8429ab9231 [2020-03-30T05:56:58.625Z] Removing intermediate container 0d8429ab9231 [2020-03-30T05:56:58.625Z] ---> 38a5b7b89a78 [2020-03-30T05:56:58.625Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-30T05:56:58.892Z] ---> Running in 7031ed7e8a17 [2020-03-30T05:56:59.163Z] Removing intermediate container 7031ed7e8a17 [2020-03-30T05:56:59.163Z] ---> b9dca6328001 [2020-03-30T05:56:59.163Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-30T05:56:59.163Z] ---> Running in f57b779cba88 [2020-03-30T05:57:01.108Z] Removing intermediate container f57b779cba88 [2020-03-30T05:57:01.108Z] ---> 29cb07a58f2e [2020-03-30T05:57:01.108Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-30T05:57:01.108Z] ---> Running in 13b5f16647a7 [2020-03-30T05:57:02.074Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-30T05:57:02.656Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-30T05:57:03.240Z] OK: 125 MiB in 39 packages [2020-03-30T05:57:04.202Z] Removing intermediate container 13b5f16647a7 [2020-03-30T05:57:04.202Z] ---> 3ce0c381f9c6 [2020-03-30T05:57:04.202Z] Step 8/20 : COPY . . [2020-03-30T05:57:05.165Z] ---> 7838115fe4af [2020-03-30T05:57:05.165Z] Step 9/20 : RUN ${MAKE} [2020-03-30T05:57:05.440Z] ---> Running in ac064835c422 [2020-03-30T05:57:06.411Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.11" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-03-30T05:57:45.331Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-30T05:57:55.425Z] Removing intermediate container ac064835c422 [2020-03-30T05:57:55.425Z] ---> 2320efc854a8 [2020-03-30T05:57:55.425Z] Step 10/20 : FROM scratch [2020-03-30T05:57:55.425Z] ---> [2020-03-30T05:57:55.425Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-30T05:57:55.425Z] ---> Running in f8a65ceb88a2 [2020-03-30T05:57:55.425Z] Removing intermediate container f8a65ceb88a2 [2020-03-30T05:57:55.425Z] ---> 1717703b1083 [2020-03-30T05:57:55.425Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-30T05:57:55.425Z] ---> Running in d76517103c4b [2020-03-30T05:57:55.425Z] Removing intermediate container d76517103c4b [2020-03-30T05:57:55.425Z] ---> 0c2a9fba8687 [2020-03-30T05:57:55.425Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-30T05:57:55.425Z] ---> Running in 14418889f954 [2020-03-30T05:57:55.692Z] Removing intermediate container 14418889f954 [2020-03-30T05:57:55.692Z] ---> b60486c9a1f6 [2020-03-30T05:57:55.692Z] Step 14/20 : WORKDIR / [2020-03-30T05:57:55.692Z] ---> Running in 1770b0203346 [2020-03-30T05:57:55.959Z] Removing intermediate container 1770b0203346 [2020-03-30T05:57:55.959Z] ---> 88c763d6fcb4 [2020-03-30T05:57:55.959Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-30T05:57:57.554Z] ---> 3b64bf853e2c [2020-03-30T05:57:57.554Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-30T05:57:57.822Z] ---> e56c37e5313b [2020-03-30T05:57:57.822Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-30T05:57:58.090Z] ---> Running in 62f4196fb30b [2020-03-30T05:57:58.357Z] Removing intermediate container 62f4196fb30b [2020-03-30T05:57:58.357Z] ---> 3f6fe34de023 [2020-03-30T05:57:58.357Z] Step 18/20 : LABEL arch=arm64 [2020-03-30T05:57:58.357Z] ---> Running in a739d234763a [2020-03-30T05:57:58.625Z] Removing intermediate container a739d234763a [2020-03-30T05:57:58.625Z] ---> 82639e4732b9 [2020-03-30T05:57:58.625Z] Step 19/20 : LABEL git_sha=5e086035fd190758fe582ba093e57a486efc0f6b [2020-03-30T05:57:58.892Z] ---> Running in bc5d1361ce72 [2020-03-30T05:57:59.161Z] Removing intermediate container bc5d1361ce72 [2020-03-30T05:57:59.161Z] ---> 471546c47e88 [2020-03-30T05:57:59.161Z] Step 20/20 : LABEL version=1.2.0-dev.11 [2020-03-30T05:57:59.161Z] ---> Running in 9bc85d2e641f [2020-03-30T05:57:59.428Z] Removing intermediate container 9bc85d2e641f [2020-03-30T05:57:59.428Z] ---> 9e908e057cba [2020-03-30T05:57:59.428Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-30T05:57:59.697Z] Successfully built 9e908e057cba [2020-03-30T05:57:59.697Z] 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] } [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 [2020-03-30T05:58:00.780Z] provisioning config files... [2020-03-30T05:58:00.796Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7836472790564845653tmp [Pipeline] { [Pipeline] sh [2020-03-30T05:58:01.199Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7836472790564845653tmp [2020-03-30T05:58:01.199Z] + curl -s https://codecov.io/bash [2020-03-30T05:58:01.485Z] [2020-03-30T05:58:01.485Z] _____ _ [2020-03-30T05:58:01.485Z] / ____| | | [2020-03-30T05:58:01.485Z] | | ___ __| | ___ ___ _____ __ [2020-03-30T05:58:01.485Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-30T05:58:01.485Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-30T05:58:01.485Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-30T05:58:01.485Z] Bash-tbd [2020-03-30T05:58:01.485Z] [2020-03-30T05:58:01.485Z] [2020-03-30T05:58:01.485Z] ==> Jenkins CI detected. [2020-03-30T05:58:01.485Z] project root: . [2020-03-30T05:58:01.485Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-30T05:58:01.768Z] ==> Running gcov in . (disable via -X gcov) [2020-03-30T05:58:01.768Z] ==> Python coveragepy not found [2020-03-30T05:58:01.768Z] ==> Searching for coverage reports in: [2020-03-30T05:58:01.768Z] + . [2020-03-30T05:58:01.768Z] -> Found 1 reports [2020-03-30T05:58:01.768Z] ==> Detecting git/mercurial file structure [2020-03-30T05:58:01.768Z] ==> Reading reports [2020-03-30T05:58:01.768Z] + ./coverage.out bytes=100201 [2020-03-30T05:58:01.768Z] ==> Appending adjustments [2020-03-30T05:58:01.768Z] http://docs.codecov.io/docs/fixing-reports [2020-03-30T05:58:02.359Z] + Found adjustments [2020-03-30T05:58:02.359Z] ==> Gzipping contents [2020-03-30T05:58:02.359Z] ==> Uploading reports [2020-03-30T05:58:02.359Z] url: https://codecov.io [2020-03-30T05:58:02.359Z] query: branch=master&commit=5e086035fd190758fe582ba093e57a486efc0f6b&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-03-30T05:58:02.359Z] -> Pinging Codecov [2020-03-30T05:58:02.359Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=5e086035fd190758fe582ba093e57a486efc0f6b&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-03-30T05:58:02.946Z] -> Uploading [2020-03-30T05:58:03.517Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5e086035fd190758fe582ba093e57a486efc0f6b [Pipeline] } [2020-03-30T05:58:03.527Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-03-30T05:58:03.812Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-03-30T05:58:03.813Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-03-30T05:58:03.848Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-30T05:58:04.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-03-30T05:58:04.740Z] [2020-03-30T05:58:04.740Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-03-30T05:58:05.092Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-03-30T05:58:05.092Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-03-30T05:58:05.092Z] e6b0cf9c0882: Pulling fs layer [2020-03-30T05:58:05.092Z] 2848faf0eed1: Pulling fs layer [2020-03-30T05:58:05.092Z] 0f37312ad70f: Pulling fs layer [2020-03-30T05:58:05.092Z] 7d08f2745646: Pulling fs layer [2020-03-30T05:58:05.092Z] 4c9f31393084: Pulling fs layer [2020-03-30T05:58:05.092Z] eb21ddb83652: Pulling fs layer [2020-03-30T05:58:05.092Z] 345998794f6b: Pulling fs layer [2020-03-30T05:58:05.092Z] 97a711d68925: Pulling fs layer [2020-03-30T05:58:05.092Z] 7c8476c1cb00: Pulling fs layer [2020-03-30T05:58:05.092Z] 7d08f2745646: Waiting [2020-03-30T05:58:05.092Z] 4c9f31393084: Waiting [2020-03-30T05:58:05.092Z] eb21ddb83652: Waiting [2020-03-30T05:58:05.092Z] 345998794f6b: Waiting [2020-03-30T05:58:05.092Z] 97a711d68925: Waiting [2020-03-30T05:58:05.092Z] 7c8476c1cb00: Waiting [2020-03-30T05:58:05.092Z] 0f37312ad70f: Verifying Checksum [2020-03-30T05:58:05.092Z] 0f37312ad70f: Download complete [2020-03-30T05:58:05.092Z] 2848faf0eed1: Verifying Checksum [2020-03-30T05:58:05.092Z] 2848faf0eed1: Download complete [2020-03-30T05:58:05.395Z] 4c9f31393084: Verifying Checksum [2020-03-30T05:58:05.395Z] 4c9f31393084: Download complete [2020-03-30T05:58:05.395Z] eb21ddb83652: Verifying Checksum [2020-03-30T05:58:05.395Z] eb21ddb83652: Download complete [2020-03-30T05:58:05.395Z] e6b0cf9c0882: Verifying Checksum [2020-03-30T05:58:05.395Z] e6b0cf9c0882: Download complete [2020-03-30T05:58:06.407Z] e6b0cf9c0882: Pull complete [2020-03-30T05:58:06.407Z] 345998794f6b: Verifying Checksum [2020-03-30T05:58:06.407Z] 345998794f6b: Download complete [2020-03-30T05:58:07.066Z] 2848faf0eed1: Pull complete [2020-03-30T05:58:07.066Z] 97a711d68925: Verifying Checksum [2020-03-30T05:58:07.066Z] 97a711d68925: Download complete [2020-03-30T05:58:07.728Z] 7c8476c1cb00: Verifying Checksum [2020-03-30T05:58:07.728Z] 7c8476c1cb00: Download complete [2020-03-30T05:58:07.728Z] 0f37312ad70f: Pull complete [2020-03-30T05:58:08.691Z] 7d08f2745646: Verifying Checksum [2020-03-30T05:58:08.691Z] 7d08f2745646: Download complete [2020-03-30T05:58:16.912Z] 7d08f2745646: Pull complete [2020-03-30T05:58:16.912Z] 4c9f31393084: Pull complete [2020-03-30T05:58:16.912Z] eb21ddb83652: Pull complete [2020-03-30T05:58:18.312Z] 345998794f6b: Pull complete [2020-03-30T05:58:21.861Z] 97a711d68925: Pull complete [2020-03-30T05:58:22.446Z] 7c8476c1cb00: Pull complete [2020-03-30T05:58:22.446Z] Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 [2020-03-30T05:58:22.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-03-30T05:58:22.805Z] prd-centos7-docker-4c-2g-1331 does not seem to be running inside a container [2020-03-30T05:58:23.102Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat [2020-03-30T05:58:24.236Z] $ docker top e002d84cee4333e29695b198c2092df2c79d94d6181c1b8762bf0e1ff7afb3e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-30T05:58:25.100Z] + snyk monitor '--org=edgex-jenkins' [2020-03-30T05:58:35.267Z] [2020-03-30T05:58:35.267Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... [2020-03-30T05:58:35.267Z] [2020-03-30T05:58:35.267Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/3011fad9-8f77-485c-8813-7eb1ddb7216c [2020-03-30T05:58:35.267Z] [2020-03-30T05:58:35.267Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-03-30T05:58:35.267Z] [2020-03-30T05:58:35.267Z] [Pipeline] } [2020-03-30T05:58:35.316Z] $ docker stop --time=1 e002d84cee4333e29695b198c2092df2c79d94d6181c1b8762bf0e1ff7afb3e4 [2020-03-30T05:58:37.811Z] $ docker rm -f e002d84cee4333e29695b198c2092df2c79d94d6181c1b8762bf0e1ff7afb3e4 [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 [2020-03-30T05:58:39.180Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-30T05:58:39.180Z] . [Pipeline] withDockerContainer [2020-03-30T05:58:39.481Z] prd-centos7-docker-4c-2g-1331 does not seem to be running inside a container [2020-03-30T05:58:39.564Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-30T05:58:40.446Z] $ docker top c86cba0ac2d3f65ad7c267211c4ef13373a913dafc406921ac2204e66ee22fcf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-30T05:58:40.770Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-30T05:58:40.770Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-30T05:58:41.050Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-30T05:58:41.056Z] $ docker exec c86cba0ac2d3f65ad7c267211c4ef13373a913dafc406921ac2204e66ee22fcf ssh-agent [2020-03-30T05:58:41.308Z] SSH_AUTH_SOCK=/tmp/ssh-UBKibpGrYIXv/agent.15 [2020-03-30T05:58:41.308Z] SSH_AGENT_PID=21 [2020-03-30T05:58:41.317Z] Running ssh-add (command line suppressed) [2020-03-30T05:58:41.516Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_418174188309735627.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_418174188309735627.key) [2020-03-30T05:58:41.564Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-30T05:58:41.899Z] + git semver tag [2020-03-30T05:58:41.899Z] # -> Open(): unable to determine branch for HEAD [2020-03-30T05:58:41.899Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-03-30T05:58:41.899Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-03-30T05:58:41.899Z] # $SEMVER_REMOTE_NAME = origin [2020-03-30T05:58:41.899Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-30T05:58:41.899Z] # $SEMVER_USER_NAME = jenkins [2020-03-30T05:58:41.899Z] # $SEMVER_BRANCH = master [2020-03-30T05:58:41.899Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-03-30T05:58:41.899Z] # 5e086035fd190758fe582ba093e57a486efc0f6b HEAD [2020-03-30T05:58:42.167Z] # -> Force: false [2020-03-30T05:58:42.167Z] # 617088cb5a475072bf8c3e706adc4210de884826 refs/tags/v1.2.0-dev.11 [Pipeline] } [2020-03-30T05:58:42.181Z] $ docker exec --env ******** --env ******** c86cba0ac2d3f65ad7c267211c4ef13373a913dafc406921ac2204e66ee22fcf ssh-agent -k [2020-03-30T05:58:42.672Z] unset SSH_AUTH_SOCK; [2020-03-30T05:58:42.673Z] unset SSH_AGENT_PID; [2020-03-30T05:58:42.674Z] echo Agent pid 21 killed; [2020-03-30T05:58:42.810Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-30T05:58:43.279Z] + git semver [Pipeline] } [2020-03-30T05:58:43.303Z] $ docker stop --time=1 c86cba0ac2d3f65ad7c267211c4ef13373a913dafc406921ac2204e66ee22fcf [2020-03-30T05:58:44.991Z] $ docker rm -f c86cba0ac2d3f65ad7c267211c4ef13373a913dafc406921ac2204e66ee22fcf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-03-30T05:58:45.616Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-03-30T05:58:45.616Z] [2020-03-30T05:58:45.616Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-03-30T05:58:45.948Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-03-30T05:58:45.948Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-03-30T05:58:45.948Z] ab5ef0e58194: Pulling fs layer [2020-03-30T05:58:45.948Z] 9712f1f96733: Pulling fs layer [2020-03-30T05:58:45.948Z] 63f879dbbcfc: Pulling fs layer [2020-03-30T05:58:45.948Z] 0d9ebad4ef96: Pulling fs layer [2020-03-30T05:58:45.948Z] e9a5061849ea: Pulling fs layer [2020-03-30T05:58:45.948Z] d747dcd14b5f: Pulling fs layer [2020-03-30T05:58:45.948Z] 2de7ff778b66: Pulling fs layer [2020-03-30T05:58:45.948Z] e9a5061849ea: Waiting [2020-03-30T05:58:45.948Z] d747dcd14b5f: Waiting [2020-03-30T05:58:45.948Z] 2de7ff778b66: Waiting [2020-03-30T05:58:45.948Z] 0d9ebad4ef96: Waiting [2020-03-30T05:58:45.948Z] 9712f1f96733: Download complete [2020-03-30T05:58:46.551Z] 63f879dbbcfc: Verifying Checksum [2020-03-30T05:58:46.551Z] 63f879dbbcfc: Download complete [2020-03-30T05:58:46.843Z] e9a5061849ea: Verifying Checksum [2020-03-30T05:58:46.843Z] e9a5061849ea: Download complete [2020-03-30T05:58:47.131Z] d747dcd14b5f: Verifying Checksum [2020-03-30T05:58:47.131Z] d747dcd14b5f: Download complete [2020-03-30T05:58:47.393Z] 0d9ebad4ef96: Verifying Checksum [2020-03-30T05:58:47.393Z] 0d9ebad4ef96: Download complete [2020-03-30T05:58:47.393Z] 2de7ff778b66: Verifying Checksum [2020-03-30T05:58:47.393Z] 2de7ff778b66: Download complete [2020-03-30T05:58:47.393Z] ab5ef0e58194: Verifying Checksum [2020-03-30T05:58:47.393Z] ab5ef0e58194: Download complete [2020-03-30T05:58:52.820Z] ab5ef0e58194: Pull complete [2020-03-30T05:58:52.821Z] 9712f1f96733: Pull complete [2020-03-30T05:58:55.445Z] 63f879dbbcfc: Pull complete [2020-03-30T05:59:03.686Z] 0d9ebad4ef96: Pull complete [2020-03-30T05:59:03.686Z] e9a5061849ea: Pull complete [2020-03-30T05:59:03.686Z] d747dcd14b5f: Pull complete [2020-03-30T05:59:07.040Z] 2de7ff778b66: Pull complete [2020-03-30T05:59:07.040Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-03-30T05:59:07.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-03-30T05:59:07.189Z] prd-centos7-docker-4c-2g-1331 does not seem to be running inside a container [2020-03-30T05:59:07.257Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-03-30T05:59:09.479Z] $ docker top fa041937a0470ef9f8f6aca2c19d603805492b92638e1c0929253f88794f20c2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-03-30T05:59:09.747Z] provisioning config files... [2020-03-30T05:59:09.757Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6108962027486007024tmp [2020-03-30T05:59:09.773Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3994421170651324080tmp [2020-03-30T05:59:09.787Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7729847263720994979tmp [Pipeline] { [Pipeline] echo [2020-03-30T05:59:09.831Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-30T05:59:10.490Z] ---> sigul-configuration.sh [2020-03-30T05:59:10.490Z] gpg: directory `/root/.gnupg' created [2020-03-30T05:59:10.490Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-03-30T05:59:10.490Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-03-30T05:59:10.490Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-03-30T05:59:10.490Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-03-30T05:59:10.490Z] gpg: CAST5 encrypted data [2020-03-30T05:59:10.490Z] gpg: encrypted with 1 passphrase [2020-03-30T05:59:10.490Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-03-30T05:59:11.098Z] + mkdir /home/jenkins [2020-03-30T05:59:11.098Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-03-30T05:59:11.830Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo [2020-03-30T05:59:11.980Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-30T05:59:12.815Z] ---> sigul-install.sh [2020-03-30T05:59:22.951Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-03-30T05:59:23.620Z] + git tag --list [2020-03-30T05:59:23.620Z] v1.2.0-dev.11 [Pipeline] sh [2020-03-30T05:59:24.095Z] + lftools sign git-tag v1.2.0-dev.11 [2020-03-30T05:59:25.543Z] Signing Git tag with Sigul... [2020-03-30T05:59:25.543Z] Signing v1.2.0-dev.11 [Pipeline] echo [2020-03-30T05:59:26.964Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-30T05:59:27.616Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-03-30T05:59:27.624Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-03-30T05:59:27.699Z] $ docker stop --time=1 fa041937a0470ef9f8f6aca2c19d603805492b92638e1c0929253f88794f20c2 [2020-03-30T05:59:29.604Z] $ docker rm -f fa041937a0470ef9f8f6aca2c19d603805492b92638e1c0929253f88794f20c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-03-30T05:59:30.389Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-30T05:59:30.389Z] . [Pipeline] withDockerContainer [2020-03-30T05:59:30.607Z] prd-centos7-docker-4c-2g-1331 does not seem to be running inside a container [2020-03-30T05:59:30.673Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-30T05:59:31.323Z] $ docker top 1e0ec1d64ad9317c6d09e0e8b28f230d9549d741f2c674a6f33e0ba45e9407e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-30T05:59:31.618Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-30T05:59:31.618Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-30T05:59:31.995Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-30T05:59:32.022Z] $ docker exec 1e0ec1d64ad9317c6d09e0e8b28f230d9549d741f2c674a6f33e0ba45e9407e1 ssh-agent [2020-03-30T05:59:32.371Z] SSH_AUTH_SOCK=/tmp/ssh-vgOEuMRP97Kf/agent.15 [2020-03-30T05:59:32.371Z] SSH_AGENT_PID=22 [2020-03-30T05:59:32.387Z] Running ssh-add (command line suppressed) [2020-03-30T05:59:32.712Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1585744151233354058.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1585744151233354058.key) [2020-03-30T05:59:32.778Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-30T05:59:33.135Z] + git semver bump pre [2020-03-30T05:59:33.396Z] # -> Open(): unable to determine branch for HEAD [2020-03-30T05:59:33.396Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-03-30T05:59:33.396Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-03-30T05:59:33.396Z] # $SEMVER_REMOTE_NAME = origin [2020-03-30T05:59:33.396Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-30T05:59:33.396Z] # $SEMVER_USER_NAME = jenkins [2020-03-30T05:59:33.396Z] # $SEMVER_BRANCH = master [2020-03-30T05:59:33.396Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-03-30T05:59:33.396Z] 1.2.0-dev.12 [Pipeline] } [2020-03-30T05:59:33.410Z] $ docker exec --env ******** --env ******** 1e0ec1d64ad9317c6d09e0e8b28f230d9549d741f2c674a6f33e0ba45e9407e1 ssh-agent -k [2020-03-30T05:59:33.586Z] unset SSH_AUTH_SOCK; [2020-03-30T05:59:33.586Z] unset SSH_AGENT_PID; [2020-03-30T05:59:33.586Z] echo Agent pid 22 killed; [2020-03-30T05:59:33.655Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-30T05:59:34.083Z] + git semver [Pipeline] } [2020-03-30T05:59:34.110Z] $ docker stop --time=1 1e0ec1d64ad9317c6d09e0e8b28f230d9549d741f2c674a6f33e0ba45e9407e1 [2020-03-30T05:59:35.830Z] $ docker rm -f 1e0ec1d64ad9317c6d09e0e8b28f230d9549d741f2c674a6f33e0ba45e9407e1 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-03-30T05:59:36.614Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-30T05:59:36.614Z] . [Pipeline] withDockerContainer [2020-03-30T05:59:36.914Z] prd-centos7-docker-4c-2g-1331 does not seem to be running inside a container [2020-03-30T05:59:37.068Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-30T05:59:38.106Z] $ docker top 96952256d0af92297c46d7e8190033496fa9004ae9bee735497a21578b8c8a85 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-30T05:59:38.370Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-30T05:59:38.370Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-30T05:59:38.758Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-30T05:59:38.765Z] $ docker exec 96952256d0af92297c46d7e8190033496fa9004ae9bee735497a21578b8c8a85 ssh-agent [2020-03-30T05:59:39.374Z] SSH_AUTH_SOCK=/tmp/ssh-VjQ49jgDMD3t/agent.15 [2020-03-30T05:59:39.374Z] SSH_AGENT_PID=22 [2020-03-30T05:59:39.389Z] Running ssh-add (command line suppressed) [2020-03-30T05:59:39.776Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7038123226071008334.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7038123226071008334.key) [2020-03-30T05:59:40.100Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-30T05:59:40.819Z] + git semver push [2020-03-30T05:59:40.819Z] # -> Open(): unable to determine branch for HEAD [2020-03-30T05:59:40.819Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-03-30T05:59:40.819Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-03-30T05:59:40.819Z] # $SEMVER_REMOTE_NAME = origin [2020-03-30T05:59:40.819Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-30T05:59:40.819Z] # $SEMVER_USER_NAME = jenkins [2020-03-30T05:59:40.819Z] # $SEMVER_BRANCH = master [2020-03-30T05:59:40.819Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-03-30T05:59:47.484Z] $ docker exec --env ******** --env ******** 96952256d0af92297c46d7e8190033496fa9004ae9bee735497a21578b8c8a85 ssh-agent -k [2020-03-30T05:59:47.785Z] unset SSH_AUTH_SOCK; [2020-03-30T05:59:47.790Z] unset SSH_AGENT_PID; [2020-03-30T05:59:47.790Z] echo Agent pid 22 killed; [2020-03-30T05:59:47.974Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-30T05:59:48.745Z] + git semver [Pipeline] } [2020-03-30T05:59:48.767Z] $ docker stop --time=1 96952256d0af92297c46d7e8190033496fa9004ae9bee735497a21578b8c8a85 [2020-03-30T05:59:50.717Z] $ docker rm -f 96952256d0af92297c46d7e8190033496fa9004ae9bee735497a21578b8c8a85 [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 [2020-03-30T05:59:51.829Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-30T05:59:52.508Z] ---> package-listing.sh [2020-03-30T05:59:52.508Z] ++ facter osfamily [2020-03-30T05:59:52.508Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-30T05:59:52.508Z] + OS_FAMILY=redhat [2020-03-30T05:59:52.508Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-03-30T05:59:52.508Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-30T05:59:52.508Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-30T05:59:52.508Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-30T05:59:52.508Z] + PACKAGES=/tmp/packages_start.txt [2020-03-30T05:59:52.508Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-03-30T05:59:52.508Z] + PACKAGES=/tmp/packages_end.txt [2020-03-30T05:59:52.508Z] + case "${OS_FAMILY}" in [2020-03-30T05:59:52.508Z] + rpm -qa [2020-03-30T05:59:52.508Z] + sort [2020-03-30T05:59:57.871Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-30T05:59:57.871Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-30T05:59:57.871Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-30T05:59:57.871Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-03-30T05:59:57.871Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-03-30T05:59:57.871Z] + 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 [2020-03-30T05:59:58.346Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-30T05:59:58.346Z] [2020-03-30T05:59:58.346Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-30T05:59:58.684Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-30T05:59:58.684Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-30T05:59:58.684Z] c9b1b535fdd9: Pulling fs layer [2020-03-30T05:59:58.684Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-30T05:59:58.684Z] 756a868c4378: Pulling fs layer [2020-03-30T05:59:58.684Z] 444b2fc9a129: Pulling fs layer [2020-03-30T05:59:58.684Z] ea15f1150254: Pulling fs layer [2020-03-30T05:59:58.684Z] 41b27a9f41bf: Pulling fs layer [2020-03-30T05:59:58.684Z] 28c525ee5125: Pulling fs layer [2020-03-30T05:59:58.684Z] 094b1ea09ed8: Pulling fs layer [2020-03-30T05:59:58.684Z] 138eaada9080: Pulling fs layer [2020-03-30T05:59:58.684Z] 0622d0fa9048: Pulling fs layer [2020-03-30T05:59:58.684Z] ea15f1150254: Waiting [2020-03-30T05:59:58.684Z] 41b27a9f41bf: Waiting [2020-03-30T05:59:58.684Z] 28c525ee5125: Waiting [2020-03-30T05:59:58.684Z] 094b1ea09ed8: Waiting [2020-03-30T05:59:58.684Z] 138eaada9080: Waiting [2020-03-30T05:59:58.684Z] 0622d0fa9048: Waiting [2020-03-30T05:59:58.684Z] 444b2fc9a129: Waiting [2020-03-30T05:59:58.684Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-30T05:59:58.684Z] 2cc5ad85d9ab: Download complete [2020-03-30T05:59:58.684Z] 444b2fc9a129: Verifying Checksum [2020-03-30T05:59:58.684Z] 444b2fc9a129: Download complete [2020-03-30T05:59:58.958Z] c9b1b535fdd9: Verifying Checksum [2020-03-30T05:59:58.958Z] c9b1b535fdd9: Download complete [2020-03-30T05:59:58.958Z] ea15f1150254: Verifying Checksum [2020-03-30T05:59:58.958Z] ea15f1150254: Download complete [2020-03-30T05:59:58.958Z] 28c525ee5125: Verifying Checksum [2020-03-30T05:59:58.958Z] 28c525ee5125: Download complete [2020-03-30T05:59:59.225Z] c9b1b535fdd9: Pull complete [2020-03-30T05:59:59.500Z] 756a868c4378: Verifying Checksum [2020-03-30T05:59:59.500Z] 756a868c4378: Download complete [2020-03-30T05:59:59.769Z] 138eaada9080: Verifying Checksum [2020-03-30T05:59:59.769Z] 138eaada9080: Download complete [2020-03-30T05:59:59.769Z] 0622d0fa9048: Verifying Checksum [2020-03-30T05:59:59.769Z] 0622d0fa9048: Download complete [2020-03-30T05:59:59.769Z] 094b1ea09ed8: Verifying Checksum [2020-03-30T05:59:59.769Z] 094b1ea09ed8: Download complete [2020-03-30T06:00:00.354Z] 2cc5ad85d9ab: Pull complete [2020-03-30T06:00:00.622Z] 41b27a9f41bf: Verifying Checksum [2020-03-30T06:00:00.622Z] 41b27a9f41bf: Download complete [2020-03-30T06:00:04.075Z] 756a868c4378: Pull complete [2020-03-30T06:00:04.075Z] 444b2fc9a129: Pull complete [2020-03-30T06:00:04.669Z] ea15f1150254: Pull complete [2020-03-30T06:00:08.918Z] 41b27a9f41bf: Pull complete [2020-03-30T06:00:08.918Z] 28c525ee5125: Pull complete [2020-03-30T06:00:13.500Z] 094b1ea09ed8: Pull complete [2020-03-30T06:00:13.500Z] 138eaada9080: Pull complete [2020-03-30T06:00:13.774Z] 0622d0fa9048: Pull complete [2020-03-30T06:00:13.774Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-30T06:00:13.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-30T06:00:13.963Z] prd-centos7-docker-4c-2g-1331 does not seem to be running inside a container [2020-03-30T06:00:14.074Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-30T06:00:14.861Z] $ docker top ed65825d2c0006661533a4ba765adc99d6a6c9c6a51d1598c2b554090b45f5bc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-30T06:00:15.177Z] provisioning config files... [2020-03-30T06:00:15.194Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config462756678031245666tmp [Pipeline] { [Pipeline] echo [2020-03-30T06:00:15.264Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-30T06:00:15.692Z] ---> create-netrc.sh [Pipeline] echo [2020-03-30T06:00:15.701Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-30T06:00:16.454Z] ---> logs-deploy.sh [2020-03-30T06:00:16.454Z] + ARCHIVE_ARTIFACTS= [2020-03-30T06:00:16.454Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-30T06:00:16.454Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-30T06:00:16.454Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-30T06:00:16.454Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/11 [2020-03-30T06:00:16.454Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/11/ [2020-03-30T06:00:16.454Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/11 /w/workspace/dgexfoundry_device-sdk-go_master [2020-03-30T06:00:17.880Z] Archives upload complete. [2020-03-30T06:00:18.152Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/11 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/11/