Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b92b1a498a210f23e11ab247bf48f6be566a37ca 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-2784 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision b92b1a498a210f23e11ab247bf48f6be566a37ca (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 Commit message: "Merge pull request #473 from hahattan/issue-471" > git rev-list --no-walk 44a3efcab02ed32588a403b99094af06f0793c80 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-08T07:04:51.911Z] 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-04-08T07:04:54.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T07:04:54.369Z] [2020-04-08T07:04:54.369Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-08T07:04:54.725Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T07:04:54.725Z] latest: Pulling from edgex-devops/git-semver [2020-04-08T07:04:54.725Z] 9123ac7c32f7: Pulling fs layer [2020-04-08T07:04:54.725Z] b8cc5d1170e3: Pulling fs layer [2020-04-08T07:04:54.725Z] 2924cbbf6a41: Pulling fs layer [2020-04-08T07:04:54.725Z] 93b08a4f1073: Pulling fs layer [2020-04-08T07:04:54.725Z] 93b08a4f1073: Waiting [2020-04-08T07:04:54.725Z] b8cc5d1170e3: Verifying Checksum [2020-04-08T07:04:54.725Z] b8cc5d1170e3: Download complete [2020-04-08T07:04:54.985Z] 9123ac7c32f7: Verifying Checksum [2020-04-08T07:04:54.985Z] 9123ac7c32f7: Download complete [2020-04-08T07:04:54.985Z] 2924cbbf6a41: Verifying Checksum [2020-04-08T07:04:54.985Z] 2924cbbf6a41: Download complete [2020-04-08T07:04:54.985Z] 93b08a4f1073: Verifying Checksum [2020-04-08T07:04:54.985Z] 93b08a4f1073: Download complete [2020-04-08T07:04:55.244Z] 9123ac7c32f7: Pull complete [2020-04-08T07:04:55.244Z] b8cc5d1170e3: Pull complete [2020-04-08T07:04:55.814Z] 2924cbbf6a41: Pull complete [2020-04-08T07:04:56.075Z] 93b08a4f1073: Pull complete [2020-04-08T07:04:56.075Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-08T07:04:56.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-08T07:04:56.206Z] prd-centos7-docker-4c-2g-2784 does not seem to be running inside a container [2020-04-08T07:04:56.248Z] $ 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-04-08T07:04:56.816Z] $ docker top b0dde8e7fa4cbfeaa85300470349d6be798ca99e817b60fa1b49ff56f827b6cf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-08T07:04:57.073Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T07:04:57.073Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T07:04:57.270Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T07:04:57.271Z] $ docker exec b0dde8e7fa4cbfeaa85300470349d6be798ca99e817b60fa1b49ff56f827b6cf ssh-agent [2020-04-08T07:04:57.451Z] SSH_AUTH_SOCK=/tmp/ssh-EXVfW9EQp3Jg/agent.15 [2020-04-08T07:04:57.451Z] SSH_AGENT_PID=21 [2020-04-08T07:04:57.461Z] Running ssh-add (command line suppressed) [2020-04-08T07:04:57.594Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9149299884364872943.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9149299884364872943.key) [2020-04-08T07:04:57.639Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T07:04:57.965Z] + git describe --exact-match --tags HEAD [2020-04-08T07:04:57.965Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-08T07:04:58.026Z] $ docker exec --env ******** --env ******** b0dde8e7fa4cbfeaa85300470349d6be798ca99e817b60fa1b49ff56f827b6cf ssh-agent -k [2020-04-08T07:04:58.170Z] unset SSH_AUTH_SOCK; [2020-04-08T07:04:58.170Z] unset SSH_AGENT_PID; [2020-04-08T07:04:58.170Z] echo Agent pid 21 killed; [2020-04-08T07:04:58.203Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-08T07:04:58.271Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-08T07:04:58.271Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-08T07:04:58.354Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T07:04:58.354Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T07:04:58.513Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T07:04:58.514Z] $ docker exec b0dde8e7fa4cbfeaa85300470349d6be798ca99e817b60fa1b49ff56f827b6cf ssh-agent [2020-04-08T07:04:58.692Z] SSH_AUTH_SOCK=/tmp/ssh-Nlwj4y7hNgug/agent.56 [2020-04-08T07:04:58.692Z] SSH_AGENT_PID=62 [2020-04-08T07:04:58.698Z] Running ssh-add (command line suppressed) [2020-04-08T07:04:58.839Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1791997297302545392.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1791997297302545392.key) [2020-04-08T07:04:58.888Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T07:04:59.230Z] + git semver init [2020-04-08T07:04:59.230Z] # -> Open(): unable to determine branch for HEAD [2020-04-08T07:04:59.230Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-08T07:04:59.230Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-08T07:04:59.230Z] # $SEMVER_REMOTE_NAME = origin [2020-04-08T07:04:59.230Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-08T07:04:59.230Z] # $SEMVER_USER_NAME = jenkins [2020-04-08T07:04:59.230Z] # $SEMVER_BRANCH = master [2020-04-08T07:04:59.230Z] # $SEMVER_TEMP = /tmp/semver-459938337 [2020-04-08T07:04:59.230Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-08T07:04:59.817Z] # '/tmp/semver-459938337' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-04-08T07:04:59.817Z] # -> Force: false [2020-04-08T07:04:59.817Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-08T07:04:59.823Z] $ docker exec --env ******** --env ******** b0dde8e7fa4cbfeaa85300470349d6be798ca99e817b60fa1b49ff56f827b6cf ssh-agent -k [2020-04-08T07:04:59.955Z] unset SSH_AUTH_SOCK; [2020-04-08T07:04:59.955Z] unset SSH_AGENT_PID; [2020-04-08T07:04:59.955Z] echo Agent pid 62 killed; [2020-04-08T07:04:59.998Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-08T07:05:00.436Z] + git semver [Pipeline] } [2020-04-08T07:05:00.450Z] $ docker stop --time=1 b0dde8e7fa4cbfeaa85300470349d6be798ca99e817b60fa1b49ff56f827b6cf [2020-04-08T07:05:01.783Z] $ docker rm -f b0dde8e7fa4cbfeaa85300470349d6be798ca99e817b60fa1b49ff56f827b6cf [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-08T07:05:02.646Z] Stashed 33 file(s) [Pipeline] echo [2020-04-08T07:05:02.648Z] [edgeXSemver] initialized semver on version 1.2.0-dev.16 [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-04-08T07:05:17.939Z] Still waiting to schedule task [2020-04-08T07:05:17.939Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2784’ [2020-04-08T07:05:17.942Z] Still waiting to schedule task [2020-04-08T07:05:17.942Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-08T07:06:52.452Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2785 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-08T07:06:52.494Z] Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout [2020-04-08T07:06:58.935Z] using credential edgex-jenkins-ssh [2020-04-08T07:06:59.020Z] Cloning the remote Git repository [2020-04-08T07:06:59.020Z] Cloning with configured refspecs honoured and without tags [2020-04-08T07:06:59.040Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-08T07:06:59.093Z] > git init /w/workspace/device-sdk-go/16 # timeout=10 [2020-04-08T07:06:59.195Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-08T07:06:59.197Z] > git --version # timeout=10 [2020-04-08T07:06:59.290Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T07:06:59.398Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T07:07:00.549Z] Fetching without tags [2020-04-08T07:07:01.001Z] Checking out Revision b92b1a498a210f23e11ab247bf48f6be566a37ca (master) [2020-04-08T07:07:00.432Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-08T07:07:00.462Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T07:07:00.496Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-08T07:07:00.527Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-08T07:07:00.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T07:07:00.541Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T07:07:00.995Z] > git config core.sparsecheckout # timeout=10 [2020-04-08T07:07:01.030Z] > git checkout -f b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 [2020-04-08T07:07:05.194Z] Commit message: "Merge pull request #473 from hahattan/issue-471" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-08T07:07:06.348Z] ========================================================= [2020-04-08T07:07:06.348Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-08T07:07:06.348Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-08T07:07:07.385Z] + 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-04-08T07:07:08.370Z] Sending build context to Docker daemon 2.84MB [2020-04-08T07:07:08.370Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-08T07:07:08.370Z] Step 2/8 : FROM ${BASE} [2020-04-08T07:07:08.638Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-08T07:07:08.638Z] cde5963f3b93: Pulling fs layer [2020-04-08T07:07:08.638Z] 2a23fa8c16f7: Pulling fs layer [2020-04-08T07:07:08.638Z] 777b28850792: Pulling fs layer [2020-04-08T07:07:08.638Z] 8a11ddd9e578: Pulling fs layer [2020-04-08T07:07:08.638Z] 4cf88f913ddb: Pulling fs layer [2020-04-08T07:07:08.638Z] 1df406cf5192: Pulling fs layer [2020-04-08T07:07:08.638Z] cd6300453558: Pulling fs layer [2020-04-08T07:07:08.638Z] b9c365052c96: Pulling fs layer [2020-04-08T07:07:08.638Z] a2d8cc88f415: Pulling fs layer [2020-04-08T07:07:08.638Z] ea1d1ca13537: Pulling fs layer [2020-04-08T07:07:08.638Z] 3750a50a1c5e: Pulling fs layer [2020-04-08T07:07:08.638Z] 1df406cf5192: Waiting [2020-04-08T07:07:08.638Z] cd6300453558: Waiting [2020-04-08T07:07:08.638Z] b9c365052c96: Waiting [2020-04-08T07:07:08.638Z] a2d8cc88f415: Waiting [2020-04-08T07:07:08.638Z] ea1d1ca13537: Waiting [2020-04-08T07:07:08.638Z] 3750a50a1c5e: Waiting [2020-04-08T07:07:08.638Z] 8a11ddd9e578: Waiting [2020-04-08T07:07:08.638Z] 4cf88f913ddb: Waiting [2020-04-08T07:07:08.638Z] 777b28850792: Verifying Checksum [2020-04-08T07:07:08.638Z] 777b28850792: Download complete [2020-04-08T07:07:08.638Z] 2a23fa8c16f7: Download complete [2020-04-08T07:07:08.638Z] 4cf88f913ddb: Verifying Checksum [2020-04-08T07:07:08.638Z] 4cf88f913ddb: Download complete [2020-04-08T07:07:08.906Z] cde5963f3b93: Download complete [2020-04-08T07:07:08.906Z] 1df406cf5192: Verifying Checksum [2020-04-08T07:07:08.906Z] 1df406cf5192: Download complete [2020-04-08T07:07:09.887Z] cde5963f3b93: Pull complete [2020-04-08T07:07:10.161Z] 2a23fa8c16f7: Pull complete [2020-04-08T07:07:10.759Z] 777b28850792: Pull complete [2020-04-08T07:07:13.363Z] cd6300453558: Verifying Checksum [2020-04-08T07:07:13.363Z] cd6300453558: Download complete [2020-04-08T07:07:13.363Z] a2d8cc88f415: Verifying Checksum [2020-04-08T07:07:13.363Z] a2d8cc88f415: Download complete [2020-04-08T07:07:15.982Z] ea1d1ca13537: Verifying Checksum [2020-04-08T07:07:15.982Z] ea1d1ca13537: Download complete [2020-04-08T07:07:15.982Z] 3750a50a1c5e: Verifying Checksum [2020-04-08T07:07:15.982Z] 3750a50a1c5e: Download complete [2020-04-08T07:07:18.592Z] b9c365052c96: Verifying Checksum [2020-04-08T07:07:18.593Z] b9c365052c96: Download complete [2020-04-08T07:07:20.019Z] 8a11ddd9e578: Verifying Checksum [2020-04-08T07:07:20.019Z] 8a11ddd9e578: Download complete [2020-04-08T07:07:32.357Z] 8a11ddd9e578: Pull complete [2020-04-08T07:07:32.357Z] 4cf88f913ddb: Pull complete [2020-04-08T07:07:32.357Z] 1df406cf5192: Pull complete [2020-04-08T07:07:37.728Z] cd6300453558: Pull complete [2020-04-08T07:07:42.006Z] b9c365052c96: Pull complete [2020-04-08T07:07:42.006Z] a2d8cc88f415: Pull complete [2020-04-08T07:07:43.963Z] ea1d1ca13537: Pull complete [2020-04-08T07:07:44.552Z] 3750a50a1c5e: Pull complete [2020-04-08T07:07:44.552Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-08T07:07:44.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-08T07:07:44.552Z] ---> 78745c68409d [2020-04-08T07:07:44.552Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-08T07:07:47.918Z] ---> Running in 1d188b564f44 [2020-04-08T07:07:47.918Z] Removing intermediate container 1d188b564f44 [2020-04-08T07:07:47.918Z] ---> d833266feb93 [2020-04-08T07:07:47.918Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-08T07:07:48.188Z] ---> Running in 21e9897237a2 [2020-04-08T07:07:50.143Z] Removing intermediate container 21e9897237a2 [2020-04-08T07:07:50.143Z] ---> 162f630ae42d [2020-04-08T07:07:50.143Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-08T07:07:50.412Z] ---> Running in 33da7b863fd9 [2020-04-08T07:07:51.376Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-08T07:07:52.337Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-08T07:07:52.603Z] OK: 125 MiB in 39 packages [2020-04-08T07:07:54.014Z] Removing intermediate container 33da7b863fd9 [2020-04-08T07:07:54.014Z] ---> 6ab4ef400256 [2020-04-08T07:07:54.014Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-08T07:07:54.014Z] ---> Running in ec26d8b5050c [2020-04-08T07:07:54.281Z] Removing intermediate container ec26d8b5050c [2020-04-08T07:07:54.281Z] ---> cbdad2b08b78 [2020-04-08T07:07:54.281Z] Step 7/8 : COPY . . [2020-04-08T07:07:55.243Z] ---> 72bf93765d35 [2020-04-08T07:07:55.243Z] Step 8/8 : RUN go mod download [2020-04-08T07:07:55.515Z] ---> Running in 4161892553e5 [2020-04-08T07:07:57.468Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-08T07:07:57.468Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-08T07:07:57.468Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-08T07:07:57.468Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-08T07:07:57.468Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-08T07:07:57.468Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-08T07:07:57.468Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-08T07:07:57.468Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-08T07:07:57.468Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-08T07:07:57.468Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-08T07:07:57.468Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-08T07:07:57.468Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-08T07:07:57.468Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-08T07:07:57.468Z] go: finding github.com/fatih/color v1.7.0 [2020-04-08T07:07:57.468Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-08T07:07:57.468Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-08T07:07:57.468Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-08T07:07:57.468Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-08T07:07:57.468Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-08T07:07:57.468Z] go: finding github.com/google/uuid v1.1.0 [2020-04-08T07:07:57.468Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-08T07:07:57.468Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-08T07:07:57.468Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-08T07:07:57.468Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-08T07:07:57.468Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-08T07:07:57.468Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-08T07:07:57.468Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-08T07:07:57.468Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-08T07:07:57.468Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-08T07:07:57.468Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-08T07:07:57.468Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-08T07:07:57.468Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-08T07:07:57.468Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-08T07:07:57.468Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-08T07:07:57.468Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-08T07:07:57.468Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-08T07:07:57.468Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-08T07:07:57.468Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-08T07:07:57.468Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-08T07:07:57.468Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-08T07:07:57.468Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-08T07:07:57.736Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-08T07:07:57.736Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-08T07:07:57.736Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-08T07:07:57.736Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-08T07:07:57.736Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-08T07:07:57.736Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-08T07:07:57.736Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-08T07:07:57.736Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-08T07:07:57.736Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-08T07:07:57.736Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-08T07:07:57.736Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-08T07:07:57.736Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-08T07:07:57.736Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-08T07:07:57.736Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-08T07:07:57.736Z] go: finding github.com/posener/complete v1.1.1 [2020-04-08T07:07:57.736Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-08T07:07:57.736Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-08T07:07:57.736Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-08T07:07:57.736Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-08T07:07:57.736Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-08T07:07:57.736Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-08T07:07:58.007Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-08T07:07:58.007Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-08T07:07:58.007Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-08T07:07:58.007Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-08T07:07:58.007Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-08T07:07:58.007Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-08T07:08:08.106Z] Removing intermediate container 4161892553e5 [2020-04-08T07:08:08.106Z] ---> dfc80d66eeef [2020-04-08T07:08:08.107Z] Successfully built dfc80d66eeef [2020-04-08T07:08:08.107Z] 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-04-08T07:08:08.765Z] + docker inspect -f . ci-base-image-arm64 [2020-04-08T07:08:09.033Z] . [Pipeline] withDockerContainer [2020-04-08T07:08:09.374Z] prd-ubuntu18.04-docker-arm64-4c-16g-2785 does not seem to be running inside a container [2020-04-08T07:08:09.460Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-08T07:08:10.906Z] $ docker top abf437f20dde060f19dd05f20aa5b66d1b6a4f105a6be3bb991002adf134c265 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-08T07:08:11.974Z] + go version [2020-04-08T07:08:11.974Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-08T07:08:12.641Z] + make test [2020-04-08T07:08:12.641Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-08T07:08:14.067Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-08T07:08:22.528Z] Running on prd-centos7-docker-4c-2g-2787 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-08T07:08:22.569Z] Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout [2020-04-08T07:08:35.443Z] using credential edgex-jenkins-ssh [2020-04-08T07:08:35.550Z] Cloning the remote Git repository [2020-04-08T07:08:35.550Z] Cloning with configured refspecs honoured and without tags [2020-04-08T07:08:35.850Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-08T07:08:36.015Z] > git init /w/workspace/device-sdk-go/16 # timeout=10 [2020-04-08T07:08:36.634Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-08T07:08:36.636Z] > git --version # timeout=10 [2020-04-08T07:08:36.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T07:08:37.132Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T07:08:39.189Z] Fetching without tags [2020-04-08T07:08:39.910Z] Checking out Revision b92b1a498a210f23e11ab247bf48f6be566a37ca (master) [2020-04-08T07:08:38.960Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-08T07:08:39.013Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T07:08:39.138Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-08T07:08:39.221Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-08T07:08:39.223Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-08T07:08:39.277Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-08T07:08:39.977Z] > git config core.sparsecheckout # timeout=10 [2020-04-08T07:08:40.072Z] > git checkout -f b92b1a498a210f23e11ab247bf48f6be566a37ca # timeout=10 [2020-04-08T07:08:40.838Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-08T07:08:40.838Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-08T07:08:42.278Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.034s coverage: 22.6% of statements [2020-04-08T07:08:45.662Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.155s coverage: 95.8% of statements [2020-04-08T07:08:50.304Z] Commit message: "Merge pull request #473 from hahattan/issue-471" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-08T07:08:54.261Z] ========================================================= [2020-04-08T07:08:54.262Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-08T07:08:54.262Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-08T07:08:57.312Z] + 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-04-08T07:09:00.532Z] Sending build context to Docker daemon 2.843MB [2020-04-08T07:09:00.532Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-08T07:09:00.532Z] Step 2/8 : FROM ${BASE} [2020-04-08T07:09:01.017Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-08T07:09:01.017Z] e6b0cf9c0882: Pulling fs layer [2020-04-08T07:09:01.017Z] 2848faf0eed1: Pulling fs layer [2020-04-08T07:09:01.017Z] 0f37312ad70f: Pulling fs layer [2020-04-08T07:09:01.017Z] 5788d62ee057: Pulling fs layer [2020-04-08T07:09:01.017Z] 0e6b1d234666: Pulling fs layer [2020-04-08T07:09:01.017Z] 5788d62ee057: Waiting [2020-04-08T07:09:01.017Z] bf5d7aec512f: Pulling fs layer [2020-04-08T07:09:01.017Z] 34c802a77dc8: Pulling fs layer [2020-04-08T07:09:01.017Z] 9eb99e56ec68: Pulling fs layer [2020-04-08T07:09:01.017Z] 27c7a5d97fbd: Pulling fs layer [2020-04-08T07:09:01.017Z] 5c102a31e300: Pulling fs layer [2020-04-08T07:09:01.017Z] dcfb455df0a1: Pulling fs layer [2020-04-08T07:09:01.017Z] bf5d7aec512f: Waiting [2020-04-08T07:09:01.017Z] 34c802a77dc8: Waiting [2020-04-08T07:09:01.017Z] 9eb99e56ec68: Waiting [2020-04-08T07:09:01.017Z] 27c7a5d97fbd: Waiting [2020-04-08T07:09:01.017Z] 5c102a31e300: Waiting [2020-04-08T07:09:01.017Z] dcfb455df0a1: Waiting [2020-04-08T07:09:01.017Z] 0e6b1d234666: Waiting [2020-04-08T07:09:01.017Z] 0f37312ad70f: Verifying Checksum [2020-04-08T07:09:01.017Z] 0f37312ad70f: Download complete [2020-04-08T07:09:01.017Z] 2848faf0eed1: Verifying Checksum [2020-04-08T07:09:01.017Z] 2848faf0eed1: Download complete [2020-04-08T07:09:01.361Z] 0e6b1d234666: Verifying Checksum [2020-04-08T07:09:01.361Z] 0e6b1d234666: Download complete [2020-04-08T07:09:01.361Z] bf5d7aec512f: Verifying Checksum [2020-04-08T07:09:01.361Z] bf5d7aec512f: Download complete [2020-04-08T07:09:01.754Z] e6b0cf9c0882: Verifying Checksum [2020-04-08T07:09:01.754Z] e6b0cf9c0882: Download complete [2020-04-08T07:09:05.169Z] e6b0cf9c0882: Pull complete [2020-04-08T07:09:09.734Z] 34c802a77dc8: Verifying Checksum [2020-04-08T07:09:09.734Z] 34c802a77dc8: Download complete [2020-04-08T07:09:09.734Z] 2848faf0eed1: Pull complete [2020-04-08T07:09:09.734Z] 27c7a5d97fbd: Verifying Checksum [2020-04-08T07:09:09.734Z] 27c7a5d97fbd: Download complete [2020-04-08T07:09:11.759Z] 0f37312ad70f: Pull complete [2020-04-08T07:09:12.900Z] 5c102a31e300: Verifying Checksum [2020-04-08T07:09:12.900Z] 5c102a31e300: Download complete [2020-04-08T07:09:13.305Z] dcfb455df0a1: Download complete [2020-04-08T07:09:15.270Z] 5788d62ee057: Verifying Checksum [2020-04-08T07:09:15.270Z] 5788d62ee057: Download complete [2020-04-08T07:09:16.176Z] 9eb99e56ec68: Verifying Checksum [2020-04-08T07:09:16.176Z] 9eb99e56ec68: Download complete [2020-04-08T07:09:17.933Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.072s coverage: 11.4% of statements [2020-04-08T07:09:17.933Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 22.7% of statements [2020-04-08T07:09:17.933Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-08T07:09:17.933Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.126s coverage: 38.5% of statements [2020-04-08T07:09:17.933Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-08T07:09:17.933Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-08T07:09:17.933Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.738s coverage: 79.9% of statements [2020-04-08T07:09:17.933Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-08T07:09:17.933Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-08T07:09:17.933Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-08T07:09:17.933Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.041s coverage: 52.6% of statements [2020-04-08T07:09:17.933Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-08T07:09:17.933Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.327s coverage: 76.1% of statements [2020-04-08T07:09:17.933Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-08T07:09:17.933Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-08T07:09:17.933Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-08T07:09:20.533Z] gofmt -l . [2020-04-08T07:09:20.820Z] [ "`gofmt -l .`" = "" ] [2020-04-08T07:09:21.090Z] ./bin/test-attribution-txt.sh [2020-04-08T07:09:22.054Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-08T07:09:22.817Z] Stashed 1 file(s) [Pipeline] } [2020-04-08T07:09:22.834Z] $ docker stop --time=1 abf437f20dde060f19dd05f20aa5b66d1b6a4f105a6be3bb991002adf134c265 [2020-04-08T07:09:25.304Z] $ docker rm -f abf437f20dde060f19dd05f20aa5b66d1b6a4f105a6be3bb991002adf134c265 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-08T07:09:27.133Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-08T07:09:27.468Z] + ls -al . [2020-04-08T07:09:27.468Z] total 200 [2020-04-08T07:09:27.468Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 8 07:09 . [2020-04-08T07:09:27.468Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 07:06 .. [2020-04-08T07:09:27.468Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 8 07:07 .dockerignore [2020-04-08T07:09:27.468Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 07:07 .git [2020-04-08T07:09:27.468Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 07:07 .github [2020-04-08T07:09:27.468Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 8 07:07 .gitignore [2020-04-08T07:09:27.468Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 07:07 .semver [2020-04-08T07:09:27.468Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 8 07:07 Dockerfile.build [2020-04-08T07:09:27.468Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 8 07:07 Jenkinsfile [2020-04-08T07:09:27.468Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 8 07:07 LICENSE [2020-04-08T07:09:27.468Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 8 07:07 Makefile [2020-04-08T07:09:27.468Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 8 07:07 README.md [2020-04-08T07:09:27.468Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 8 07:05 VERSION [2020-04-08T07:09:27.468Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 07:07 api [2020-04-08T07:09:27.468Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 07:07 bin [2020-04-08T07:09:27.468Z] -rw-r--r-- 1 jenkins jenkins 94579 Apr 8 07:09 coverage.out [2020-04-08T07:09:27.468Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 07:07 example [2020-04-08T07:09:27.468Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 8 07:09 go.mod [2020-04-08T07:09:27.468Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 8 07:09 go.sum [2020-04-08T07:09:27.468Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 8 07:07 internal [2020-04-08T07:09:27.468Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 07:07 pkg [2020-04-08T07:09:27.468Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 07:07 snap [2020-04-08T07:09:27.468Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 8 07:07 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-08T07:09:27.814Z] + 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=b92b1a498a210f23e11ab247bf48f6be566a37ca --label arch=arm64 --label version=1.2.0-dev.16 . [2020-04-08T07:09:28.407Z] Sending build context to Docker daemon 2.955MB [2020-04-08T07:09:28.407Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-04-08T07:09:28.407Z] Step 2/20 : FROM ${BASE} AS builder [2020-04-08T07:09:28.407Z] ---> dfc80d66eeef [2020-04-08T07:09:28.407Z] Step 3/20 : ARG MAKE='make build' [2020-04-08T07:09:28.675Z] ---> Running in 403e1601e027 [2020-04-08T07:09:28.944Z] Removing intermediate container 403e1601e027 [2020-04-08T07:09:28.944Z] ---> e0ac12d920d8 [2020-04-08T07:09:28.944Z] Step 4/20 : WORKDIR /device-sdk-go [2020-04-08T07:09:29.211Z] ---> Running in 25f0f0a443db [2020-04-08T07:09:29.478Z] Removing intermediate container 25f0f0a443db [2020-04-08T07:09:29.478Z] ---> 2e6363854488 [2020-04-08T07:09:29.478Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-08T07:09:29.747Z] ---> Running in 98e966b599f3 [2020-04-08T07:09:30.346Z] Removing intermediate container 98e966b599f3 [2020-04-08T07:09:30.346Z] ---> 4714da073f7a [2020-04-08T07:09:30.346Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-08T07:09:30.346Z] ---> Running in bf3f2984e8bc [2020-04-08T07:09:32.305Z] Removing intermediate container bf3f2984e8bc [2020-04-08T07:09:32.305Z] ---> 9a5e1711c0b0 [2020-04-08T07:09:32.305Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-04-08T07:09:32.305Z] ---> Running in 9eb04c62e4ca [2020-04-08T07:09:33.269Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-08T07:09:34.244Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-08T07:09:34.832Z] OK: 125 MiB in 39 packages [2020-04-08T07:09:35.805Z] Removing intermediate container 9eb04c62e4ca [2020-04-08T07:09:35.805Z] ---> 597b741abc0a [2020-04-08T07:09:35.805Z] Step 8/20 : COPY . . [2020-04-08T07:09:36.771Z] ---> dccab08f7f1c [2020-04-08T07:09:36.771Z] Step 9/20 : RUN ${MAKE} [2020-04-08T07:09:37.039Z] ---> Running in 1e532dbd0895 [2020-04-08T07:09:38.006Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.16" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-08T07:09:39.763Z] 5788d62ee057: Pull complete [2020-04-08T07:09:40.064Z] 0e6b1d234666: Pull complete [2020-04-08T07:09:41.093Z] bf5d7aec512f: Pull complete [2020-04-08T07:09:55.126Z] 34c802a77dc8: Pull complete [2020-04-08T07:10:04.752Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-08T07:10:04.752Z] Removing intermediate container 1e532dbd0895 [2020-04-08T07:10:04.752Z] ---> 6d1c06dbea16 [2020-04-08T07:10:04.752Z] Step 10/20 : FROM scratch [2020-04-08T07:10:04.752Z] ---> [2020-04-08T07:10:04.752Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-08T07:10:04.752Z] ---> Running in 06d45c21c5af [2020-04-08T07:10:04.752Z] Removing intermediate container 06d45c21c5af [2020-04-08T07:10:04.752Z] ---> 8d9565f24588 [2020-04-08T07:10:04.752Z] Step 12/20 : ENV APP_PORT=49990 [2020-04-08T07:10:04.752Z] ---> Running in f5a2cf27947a [2020-04-08T07:10:04.752Z] Removing intermediate container f5a2cf27947a [2020-04-08T07:10:04.752Z] ---> abeef6bbf742 [2020-04-08T07:10:04.752Z] Step 13/20 : EXPOSE $APP_PORT [2020-04-08T07:10:04.752Z] ---> Running in 1edfab5506ee [2020-04-08T07:10:04.752Z] Removing intermediate container 1edfab5506ee [2020-04-08T07:10:04.752Z] ---> 09a38bb4c892 [2020-04-08T07:10:04.752Z] Step 14/20 : WORKDIR / [2020-04-08T07:10:05.019Z] ---> Running in 4b2757de6425 [2020-04-08T07:10:05.288Z] Removing intermediate container 4b2757de6425 [2020-04-08T07:10:05.288Z] ---> 4d296075974b [2020-04-08T07:10:05.288Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-08T07:10:06.252Z] ---> b9d357e6bfeb [2020-04-08T07:10:06.252Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-04-08T07:10:06.842Z] ---> 9306899caa6e [2020-04-08T07:10:06.842Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-04-08T07:10:07.112Z] ---> Running in 321ae7b4b672 [2020-04-08T07:10:07.383Z] Removing intermediate container 321ae7b4b672 [2020-04-08T07:10:07.383Z] ---> 35dea85d973f [2020-04-08T07:10:07.383Z] Step 18/20 : LABEL arch=arm64 [2020-04-08T07:10:07.655Z] ---> Running in 324fd4d87589 [2020-04-08T07:10:07.926Z] Removing intermediate container 324fd4d87589 [2020-04-08T07:10:07.926Z] ---> f5b7125f47a0 [2020-04-08T07:10:07.926Z] Step 19/20 : LABEL git_sha=b92b1a498a210f23e11ab247bf48f6be566a37ca [2020-04-08T07:10:07.926Z] ---> Running in 51300fb3a6f6 [2020-04-08T07:10:08.551Z] Removing intermediate container 51300fb3a6f6 [2020-04-08T07:10:08.551Z] ---> 2dea67b24374 [2020-04-08T07:10:08.551Z] Step 20/20 : LABEL version=1.2.0-dev.16 [2020-04-08T07:10:08.551Z] ---> Running in 4b19d68e77cb [2020-04-08T07:10:08.820Z] Removing intermediate container 4b19d68e77cb [2020-04-08T07:10:08.820Z] ---> 85c5d1059828 [2020-04-08T07:10:08.820Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-08T07:10:08.820Z] Successfully built 85c5d1059828 [2020-04-08T07:10:08.820Z] 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] } [2020-04-08T07:10:11.445Z] 9eb99e56ec68: Pull complete [2020-04-08T07:10:11.445Z] 27c7a5d97fbd: Pull complete [2020-04-08T07:10:17.957Z] 5c102a31e300: Pull complete [2020-04-08T07:10:18.755Z] dcfb455df0a1: Pull complete [2020-04-08T07:10:18.755Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-08T07:10:18.755Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-08T07:10:18.755Z] ---> 7c70fe431013 [2020-04-08T07:10:18.755Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-08T07:10:19.219Z] ---> Running in 28566d07c704 [2020-04-08T07:10:20.216Z] Removing intermediate container 28566d07c704 [2020-04-08T07:10:20.216Z] ---> a29dd5a9028f [2020-04-08T07:10:20.216Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-08T07:10:20.216Z] ---> Running in b72e847a9c00 [2020-04-08T07:10:26.289Z] Removing intermediate container b72e847a9c00 [2020-04-08T07:10:26.289Z] ---> d5edfc6f1fef [2020-04-08T07:10:26.289Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-08T07:10:26.289Z] ---> Running in cd668fa2ef2e [2020-04-08T07:10:28.055Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-08T07:10:29.302Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-08T07:10:29.769Z] OK: 143 MiB in 39 packages [2020-04-08T07:10:31.914Z] Removing intermediate container cd668fa2ef2e [2020-04-08T07:10:31.915Z] ---> d58c1c62f1b7 [2020-04-08T07:10:31.915Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-08T07:10:31.915Z] ---> Running in 1e2cf4c6f90d [2020-04-08T07:10:32.551Z] Removing intermediate container 1e2cf4c6f90d [2020-04-08T07:10:32.551Z] ---> 0df5294caf40 [2020-04-08T07:10:32.551Z] Step 7/8 : COPY . . [2020-04-08T07:10:35.288Z] ---> 529504f663ea [2020-04-08T07:10:35.288Z] Step 8/8 : RUN go mod download [2020-04-08T07:10:35.969Z] ---> Running in 76a119e9abe8 [2020-04-08T07:10:43.462Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-08T07:10:43.462Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-08T07:10:43.462Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-08T07:10:43.462Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-08T07:10:43.462Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-08T07:10:43.462Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-08T07:10:43.462Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-08T07:10:43.863Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-08T07:10:43.863Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-08T07:10:43.863Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-08T07:10:43.863Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-08T07:10:43.863Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-08T07:10:44.203Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-08T07:10:44.203Z] go: finding github.com/fatih/color v1.7.0 [2020-04-08T07:10:44.203Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-08T07:10:44.203Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-08T07:10:44.203Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-08T07:10:44.203Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-08T07:10:44.203Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-08T07:10:44.203Z] go: finding github.com/google/uuid v1.1.0 [2020-04-08T07:10:44.203Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-08T07:10:44.717Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-08T07:10:44.717Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-08T07:10:44.717Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-08T07:10:44.717Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-08T07:10:44.717Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-08T07:10:44.717Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-08T07:10:44.717Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-08T07:10:44.717Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-08T07:10:44.717Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-08T07:10:44.717Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-08T07:10:44.717Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-08T07:10:44.717Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-08T07:10:44.717Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-08T07:10:44.717Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-08T07:10:44.717Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-08T07:10:44.717Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-08T07:10:44.717Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-08T07:10:44.717Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-08T07:10:44.717Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-08T07:10:44.717Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-08T07:10:45.077Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-08T07:10:45.077Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-08T07:10:45.077Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-08T07:10:45.077Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-08T07:10:45.077Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-08T07:10:45.077Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-08T07:10:45.077Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-08T07:10:45.077Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-08T07:10:45.077Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-08T07:10:45.077Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-08T07:10:45.077Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-08T07:10:45.077Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-08T07:10:45.077Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-08T07:10:45.077Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-08T07:10:45.077Z] go: finding github.com/posener/complete v1.1.1 [2020-04-08T07:10:45.515Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-08T07:10:45.515Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-08T07:10:45.515Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-08T07:10:45.515Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-08T07:10:45.515Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-08T07:10:45.515Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-08T07:10:45.515Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-08T07:10:45.515Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-08T07:10:45.515Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-08T07:10:45.515Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-08T07:10:45.515Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-08T07:10:45.857Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-08T07:10:57.741Z] Removing intermediate container 76a119e9abe8 [2020-04-08T07:10:57.741Z] ---> 565bc42655e6 [2020-04-08T07:10:58.079Z] Successfully built 565bc42655e6 [2020-04-08T07:10:58.079Z] 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-04-08T07:10:58.967Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-08T07:10:59.611Z] . [Pipeline] withDockerContainer [2020-04-08T07:11:00.324Z] prd-centos7-docker-4c-2g-2787 does not seem to be running inside a container [2020-04-08T07:11:00.630Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-08T07:11:03.351Z] $ docker top 92605ec8b4085f14290f462f90f217884bbf70ecb9ab9298123b9ea21d0b5794 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-08T07:11:05.334Z] + go version [2020-04-08T07:11:05.374Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-08T07:11:07.091Z] + make test [2020-04-08T07:11:07.091Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-08T07:11:10.876Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-08T07:11:59.737Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-08T07:11:59.738Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-08T07:12:04.233Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.402s coverage: 22.6% of statements [2020-04-08T07:12:05.335Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.114s coverage: 95.8% of statements [2020-04-08T07:12:39.045Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.318s coverage: 11.4% of statements [2020-04-08T07:12:39.045Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.017s coverage: 22.7% of statements [2020-04-08T07:12:39.045Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-08T07:12:39.045Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.304s coverage: 38.5% of statements [2020-04-08T07:12:39.045Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-08T07:12:39.045Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-08T07:12:39.045Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 3.237s coverage: 79.9% of statements [2020-04-08T07:12:39.045Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-08T07:12:39.045Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-08T07:12:39.045Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-08T07:12:39.045Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.127s coverage: 52.6% of statements [2020-04-08T07:12:39.045Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-08T07:12:39.045Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.286s coverage: 76.1% of statements [2020-04-08T07:12:39.045Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-08T07:12:39.045Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-08T07:12:39.045Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-08T07:12:53.247Z] gofmt -l . [2020-04-08T07:12:53.596Z] [ "`gofmt -l .`" = "" ] [2020-04-08T07:12:54.401Z] ./bin/test-attribution-txt.sh [2020-04-08T07:12:58.532Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-08T07:13:00.528Z] Warning: overwriting stash ‘coverage-report’ [2020-04-08T07:13:04.656Z] Stashed 1 file(s) [Pipeline] } [2020-04-08T07:13:04.690Z] $ docker stop --time=1 92605ec8b4085f14290f462f90f217884bbf70ecb9ab9298123b9ea21d0b5794 [2020-04-08T07:13:08.304Z] $ docker rm -f 92605ec8b4085f14290f462f90f217884bbf70ecb9ab9298123b9ea21d0b5794 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-08T07:13:09.731Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-08T07:13:10.145Z] + ls -al . [2020-04-08T07:13:10.145Z] total 160 [2020-04-08T07:13:10.145Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 8 07:13 . [2020-04-08T07:13:10.145Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 8 07:08 .. [2020-04-08T07:13:10.145Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 8 07:08 api [2020-04-08T07:13:10.145Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 8 07:08 bin [2020-04-08T07:13:10.145Z] -rw-r--r--. 1 jenkins jenkins 94579 Apr 8 07:12 coverage.out [2020-04-08T07:13:10.145Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 8 07:08 Dockerfile.build [2020-04-08T07:13:10.145Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 8 07:08 .dockerignore [2020-04-08T07:13:10.145Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 8 07:08 example [2020-04-08T07:13:10.145Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 8 07:08 .git [2020-04-08T07:13:10.145Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 8 07:08 .github [2020-04-08T07:13:10.145Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 8 07:08 .gitignore [2020-04-08T07:13:10.145Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 8 07:12 go.mod [2020-04-08T07:13:10.145Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 8 07:12 go.sum [2020-04-08T07:13:10.145Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 8 07:08 internal [2020-04-08T07:13:10.145Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 8 07:08 Jenkinsfile [2020-04-08T07:13:10.145Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 8 07:08 LICENSE [2020-04-08T07:13:10.145Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 8 07:08 Makefile [2020-04-08T07:13:10.145Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 8 07:08 pkg [2020-04-08T07:13:10.145Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 8 07:08 README.md [2020-04-08T07:13:10.145Z] drwxrwxr-x. 3 jenkins jenkins 44 Apr 8 07:08 .semver [2020-04-08T07:13:10.145Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 8 07:08 snap [2020-04-08T07:13:10.145Z] -rw-rw-r--. 1 jenkins jenkins 12 Apr 8 07:05 VERSION [2020-04-08T07:13:10.145Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 8 07:08 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-08T07:13:10.670Z] + 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=b92b1a498a210f23e11ab247bf48f6be566a37ca --label arch=amd64 --label version=1.2.0-dev.16 . [2020-04-08T07:13:11.820Z] Sending build context to Docker daemon 2.958MB [2020-04-08T07:13:11.820Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-04-08T07:13:11.820Z] Step 2/20 : FROM ${BASE} AS builder [2020-04-08T07:13:11.820Z] ---> 565bc42655e6 [2020-04-08T07:13:11.820Z] Step 3/20 : ARG MAKE='make build' [2020-04-08T07:13:11.820Z] ---> Running in ca56089dff11 [2020-04-08T07:13:12.519Z] Removing intermediate container ca56089dff11 [2020-04-08T07:13:12.519Z] ---> cf658dbd9fee [2020-04-08T07:13:12.519Z] Step 4/20 : WORKDIR /device-sdk-go [2020-04-08T07:13:12.519Z] ---> Running in 1558af6bcdc4 [2020-04-08T07:13:13.168Z] Removing intermediate container 1558af6bcdc4 [2020-04-08T07:13:13.169Z] ---> 6fa915c2424c [2020-04-08T07:13:13.169Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-08T07:13:13.482Z] ---> Running in 7583051e877d [2020-04-08T07:13:14.176Z] Removing intermediate container 7583051e877d [2020-04-08T07:13:14.176Z] ---> ed4a05987b58 [2020-04-08T07:13:14.176Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-08T07:13:14.176Z] ---> Running in 3c000ef23884 [2020-04-08T07:13:18.727Z] Removing intermediate container 3c000ef23884 [2020-04-08T07:13:18.727Z] ---> 3f17176186fc [2020-04-08T07:13:18.727Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-04-08T07:13:18.727Z] ---> Running in 1af493f83062 [2020-04-08T07:13:22.920Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-08T07:13:23.390Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-08T07:13:24.074Z] OK: 143 MiB in 39 packages [2020-04-08T07:13:25.766Z] Removing intermediate container 1af493f83062 [2020-04-08T07:13:25.766Z] ---> 15facb7ffe90 [2020-04-08T07:13:25.766Z] Step 8/20 : COPY . . [2020-04-08T07:13:28.133Z] ---> e013030597d6 [2020-04-08T07:13:28.133Z] Step 9/20 : RUN ${MAKE} [2020-04-08T07:13:28.133Z] ---> Running in cfde2a0deb20 [2020-04-08T07:13:30.931Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.16" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-08T07:13:46.220Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-08T07:13:49.024Z] Removing intermediate container cfde2a0deb20 [2020-04-08T07:13:49.024Z] ---> 3ca6f2a5cd54 [2020-04-08T07:13:49.024Z] Step 10/20 : FROM scratch [2020-04-08T07:13:49.024Z] ---> [2020-04-08T07:13:49.024Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-08T07:13:49.024Z] ---> Running in 6cebd6ef1255 [2020-04-08T07:13:49.024Z] Removing intermediate container 6cebd6ef1255 [2020-04-08T07:13:49.024Z] ---> 6cc687034ec8 [2020-04-08T07:13:49.024Z] Step 12/20 : ENV APP_PORT=49990 [2020-04-08T07:13:49.024Z] ---> Running in a7f14b277f33 [2020-04-08T07:13:49.342Z] Removing intermediate container a7f14b277f33 [2020-04-08T07:13:49.342Z] ---> 1d990f905718 [2020-04-08T07:13:49.342Z] Step 13/20 : EXPOSE $APP_PORT [2020-04-08T07:13:49.342Z] ---> Running in 2d3004460eef [2020-04-08T07:13:49.342Z] Removing intermediate container 2d3004460eef [2020-04-08T07:13:49.342Z] ---> ff481455162d [2020-04-08T07:13:49.342Z] Step 14/20 : WORKDIR / [2020-04-08T07:13:49.682Z] ---> Running in 7836cd56e398 [2020-04-08T07:13:49.682Z] Removing intermediate container 7836cd56e398 [2020-04-08T07:13:49.682Z] ---> c278595f9863 [2020-04-08T07:13:49.682Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-08T07:13:50.396Z] ---> 689581c52a3b [2020-04-08T07:13:50.396Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-04-08T07:13:50.659Z] ---> 4c2064a6a943 [2020-04-08T07:13:50.659Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-04-08T07:13:50.660Z] ---> Running in 8ec127dd1eb5 [2020-04-08T07:13:50.660Z] Removing intermediate container 8ec127dd1eb5 [2020-04-08T07:13:50.660Z] ---> 0da7e020e8d6 [2020-04-08T07:13:50.660Z] Step 18/20 : LABEL arch=amd64 [2020-04-08T07:13:50.928Z] ---> Running in f000cbc9125c [2020-04-08T07:13:50.928Z] Removing intermediate container f000cbc9125c [2020-04-08T07:13:50.928Z] ---> 87eabc9f68e6 [2020-04-08T07:13:50.928Z] Step 19/20 : LABEL git_sha=b92b1a498a210f23e11ab247bf48f6be566a37ca [2020-04-08T07:13:51.232Z] ---> Running in bd7888088aea [2020-04-08T07:13:51.232Z] Removing intermediate container bd7888088aea [2020-04-08T07:13:51.232Z] ---> abdbfa1a367d [2020-04-08T07:13:51.232Z] Step 20/20 : LABEL version=1.2.0-dev.16 [2020-04-08T07:13:51.590Z] ---> Running in 6b3cc54cd19f [2020-04-08T07:13:51.590Z] Removing intermediate container 6b3cc54cd19f [2020-04-08T07:13:51.590Z] ---> 1648fa9bc8c2 [2020-04-08T07:13:51.590Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-08T07:13:51.590Z] Successfully built 1648fa9bc8c2 [2020-04-08T07:13:51.590Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-04-08T07:13:52.674Z] provisioning config files... [2020-04-08T07:13:52.685Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8292363813574741970tmp [Pipeline] { [Pipeline] sh [2020-04-08T07:13:53.026Z] + curl -s https://codecov.io/bash [2020-04-08T07:13:53.026Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8292363813574741970tmp [2020-04-08T07:13:53.286Z] [2020-04-08T07:13:53.286Z] _____ _ [2020-04-08T07:13:53.286Z] / ____| | | [2020-04-08T07:13:53.286Z] | | ___ __| | ___ ___ _____ __ [2020-04-08T07:13:53.286Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-08T07:13:53.286Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-08T07:13:53.286Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-08T07:13:53.286Z] Bash-tbd [2020-04-08T07:13:53.286Z] [2020-04-08T07:13:53.286Z] [2020-04-08T07:13:53.286Z] ==> Jenkins CI detected. [2020-04-08T07:13:53.286Z] project root: . [2020-04-08T07:13:53.286Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-08T07:13:53.286Z] ==> Running gcov in . (disable via -X gcov) [2020-04-08T07:13:53.286Z] ==> Python coveragepy not found [2020-04-08T07:13:53.286Z] ==> Searching for coverage reports in: [2020-04-08T07:13:53.286Z] + . [2020-04-08T07:13:53.286Z] -> Found 1 reports [2020-04-08T07:13:53.286Z] ==> Detecting git/mercurial file structure [2020-04-08T07:13:53.286Z] ==> Reading reports [2020-04-08T07:13:53.286Z] + ./coverage.out bytes=94579 [2020-04-08T07:13:53.286Z] ==> Appending adjustments [2020-04-08T07:13:53.286Z] http://docs.codecov.io/docs/fixing-reports [2020-04-08T07:13:53.547Z] + Found adjustments [2020-04-08T07:13:53.547Z] ==> Gzipping contents [2020-04-08T07:13:53.547Z] ==> Uploading reports [2020-04-08T07:13:53.547Z] url: https://codecov.io [2020-04-08T07:13:53.547Z] query: branch=master&commit=b92b1a498a210f23e11ab247bf48f6be566a37ca&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-08T07:13:53.547Z] -> Pinging Codecov [2020-04-08T07:13:53.547Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=b92b1a498a210f23e11ab247bf48f6be566a37ca&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-08T07:13:53.807Z] -> Uploading [2020-04-08T07:13:54.386Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b92b1a498a210f23e11ab247bf48f6be566a37ca [Pipeline] } [2020-04-08T07:13:54.393Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-04-08T07:13:54.654Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-04-08T07:13:54.655Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-04-08T07:13:54.690Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-08T07:13:55.075Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-08T07:13:55.075Z] [2020-04-08T07:13:55.075Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-04-08T07:13:55.413Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-08T07:13:55.413Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-04-08T07:13:55.413Z] e6b0cf9c0882: Pulling fs layer [2020-04-08T07:13:55.413Z] 2848faf0eed1: Pulling fs layer [2020-04-08T07:13:55.413Z] 0f37312ad70f: Pulling fs layer [2020-04-08T07:13:55.413Z] 7d08f2745646: Pulling fs layer [2020-04-08T07:13:55.413Z] 4c9f31393084: Pulling fs layer [2020-04-08T07:13:55.413Z] eb21ddb83652: Pulling fs layer [2020-04-08T07:13:55.413Z] 345998794f6b: Pulling fs layer [2020-04-08T07:13:55.413Z] 97a711d68925: Pulling fs layer [2020-04-08T07:13:55.413Z] 7c8476c1cb00: Pulling fs layer [2020-04-08T07:13:55.413Z] eb21ddb83652: Waiting [2020-04-08T07:13:55.413Z] 345998794f6b: Waiting [2020-04-08T07:13:55.413Z] 97a711d68925: Waiting [2020-04-08T07:13:55.413Z] 7c8476c1cb00: Waiting [2020-04-08T07:13:55.413Z] 4c9f31393084: Waiting [2020-04-08T07:13:55.413Z] 7d08f2745646: Waiting [2020-04-08T07:13:55.413Z] 0f37312ad70f: Verifying Checksum [2020-04-08T07:13:55.413Z] 0f37312ad70f: Download complete [2020-04-08T07:13:55.413Z] 2848faf0eed1: Verifying Checksum [2020-04-08T07:13:55.413Z] 2848faf0eed1: Download complete [2020-04-08T07:13:55.413Z] 4c9f31393084: Verifying Checksum [2020-04-08T07:13:55.413Z] 4c9f31393084: Download complete [2020-04-08T07:13:55.413Z] eb21ddb83652: Verifying Checksum [2020-04-08T07:13:55.413Z] eb21ddb83652: Download complete [2020-04-08T07:13:55.413Z] e6b0cf9c0882: Verifying Checksum [2020-04-08T07:13:55.413Z] e6b0cf9c0882: Download complete [2020-04-08T07:13:55.687Z] 345998794f6b: Verifying Checksum [2020-04-08T07:13:55.687Z] 345998794f6b: Download complete [2020-04-08T07:13:55.965Z] e6b0cf9c0882: Pull complete [2020-04-08T07:13:56.229Z] 2848faf0eed1: Pull complete [2020-04-08T07:13:56.229Z] 97a711d68925: Verifying Checksum [2020-04-08T07:13:56.229Z] 97a711d68925: Download complete [2020-04-08T07:13:56.229Z] 7c8476c1cb00: Verifying Checksum [2020-04-08T07:13:56.229Z] 7c8476c1cb00: Download complete [2020-04-08T07:13:56.488Z] 0f37312ad70f: Pull complete [2020-04-08T07:13:57.058Z] 7d08f2745646: Verifying Checksum [2020-04-08T07:13:57.058Z] 7d08f2745646: Download complete [2020-04-08T07:14:02.363Z] 7d08f2745646: Pull complete [2020-04-08T07:14:02.363Z] 4c9f31393084: Pull complete [2020-04-08T07:14:02.363Z] eb21ddb83652: Pull complete [2020-04-08T07:14:03.750Z] 345998794f6b: Pull complete [2020-04-08T07:14:07.043Z] 97a711d68925: Pull complete [2020-04-08T07:14:07.301Z] 7c8476c1cb00: Pull complete [2020-04-08T07:14:07.301Z] Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 [2020-04-08T07:14:07.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-04-08T07:14:07.438Z] prd-centos7-docker-4c-2g-2784 does not seem to be running inside a container [2020-04-08T07:14:07.474Z] $ 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-04-08T07:14:08.138Z] $ docker top f35104226db549d1923467a3634cb4fec78eb70cc9c52828e617c196e623649c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-08T07:14:08.641Z] + snyk monitor '--org=edgex-jenkins' [2020-04-08T07:14:15.200Z] [2020-04-08T07:14:15.200Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... [2020-04-08T07:14:15.200Z] [2020-04-08T07:14:15.200Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/4730f004-df88-44ac-8341-391aa6ba1b9d [2020-04-08T07:14:15.200Z] [2020-04-08T07:14:15.200Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-04-08T07:14:15.200Z] [2020-04-08T07:14:15.200Z] [Pipeline] } [2020-04-08T07:14:15.210Z] $ docker stop --time=1 f35104226db549d1923467a3634cb4fec78eb70cc9c52828e617c196e623649c [2020-04-08T07:14:16.598Z] $ docker rm -f f35104226db549d1923467a3634cb4fec78eb70cc9c52828e617c196e623649c [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-04-08T07:14:17.724Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T07:14:17.724Z] . [Pipeline] withDockerContainer [2020-04-08T07:14:17.828Z] prd-centos7-docker-4c-2g-2784 does not seem to be running inside a container [2020-04-08T07:14:17.865Z] $ 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-04-08T07:14:18.401Z] $ docker top edab472fa78cdfc46d2d891bb6e79308fdaf7cd0913eac560167b6ebd013188e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-08T07:14:18.678Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T07:14:18.678Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T07:14:18.878Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T07:14:18.880Z] $ docker exec edab472fa78cdfc46d2d891bb6e79308fdaf7cd0913eac560167b6ebd013188e ssh-agent [2020-04-08T07:14:19.059Z] SSH_AUTH_SOCK=/tmp/ssh-CmLyzdy6mw6C/agent.14 [2020-04-08T07:14:19.059Z] SSH_AGENT_PID=20 [2020-04-08T07:14:19.067Z] Running ssh-add (command line suppressed) [2020-04-08T07:14:19.211Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7089466325814371161.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7089466325814371161.key) [2020-04-08T07:14:19.255Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T07:14:19.584Z] + git semver tag [2020-04-08T07:14:19.584Z] # -> Open(): unable to determine branch for HEAD [2020-04-08T07:14:19.584Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-08T07:14:19.584Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-08T07:14:19.584Z] # $SEMVER_REMOTE_NAME = origin [2020-04-08T07:14:19.584Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-08T07:14:19.584Z] # $SEMVER_USER_NAME = jenkins [2020-04-08T07:14:19.584Z] # $SEMVER_BRANCH = master [2020-04-08T07:14:19.584Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-08T07:14:19.584Z] # b92b1a498a210f23e11ab247bf48f6be566a37ca HEAD [2020-04-08T07:14:19.584Z] # -> Force: false [2020-04-08T07:14:19.584Z] # e790513f6cad66d6df32eacc5b50f91d8feeb499 refs/tags/v1.2.0-dev.16 [Pipeline] } [2020-04-08T07:14:19.605Z] $ docker exec --env ******** --env ******** edab472fa78cdfc46d2d891bb6e79308fdaf7cd0913eac560167b6ebd013188e ssh-agent -k [2020-04-08T07:14:19.730Z] unset SSH_AUTH_SOCK; [2020-04-08T07:14:19.730Z] unset SSH_AGENT_PID; [2020-04-08T07:14:19.730Z] echo Agent pid 20 killed; [2020-04-08T07:14:19.774Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-08T07:14:20.198Z] + git semver [Pipeline] } [2020-04-08T07:14:20.209Z] $ docker stop --time=1 edab472fa78cdfc46d2d891bb6e79308fdaf7cd0913eac560167b6ebd013188e [2020-04-08T07:14:21.540Z] $ docker rm -f edab472fa78cdfc46d2d891bb6e79308fdaf7cd0913eac560167b6ebd013188e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-04-08T07:14:22.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-08T07:14:22.105Z] [2020-04-08T07:14:22.105Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-04-08T07:14:22.432Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-08T07:14:22.432Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-04-08T07:14:22.432Z] ab5ef0e58194: Pulling fs layer [2020-04-08T07:14:22.432Z] 9712f1f96733: Pulling fs layer [2020-04-08T07:14:22.432Z] 63f879dbbcfc: Pulling fs layer [2020-04-08T07:14:22.432Z] 0d9ebad4ef96: Pulling fs layer [2020-04-08T07:14:22.432Z] e9a5061849ea: Pulling fs layer [2020-04-08T07:14:22.432Z] d747dcd14b5f: Pulling fs layer [2020-04-08T07:14:22.432Z] 2de7ff778b66: Pulling fs layer [2020-04-08T07:14:22.432Z] 0d9ebad4ef96: Waiting [2020-04-08T07:14:22.432Z] e9a5061849ea: Waiting [2020-04-08T07:14:22.432Z] d747dcd14b5f: Waiting [2020-04-08T07:14:22.432Z] 2de7ff778b66: Waiting [2020-04-08T07:14:22.432Z] 9712f1f96733: Verifying Checksum [2020-04-08T07:14:22.432Z] 9712f1f96733: Download complete [2020-04-08T07:14:23.022Z] 63f879dbbcfc: Verifying Checksum [2020-04-08T07:14:23.022Z] 63f879dbbcfc: Download complete [2020-04-08T07:14:23.284Z] e9a5061849ea: Verifying Checksum [2020-04-08T07:14:23.284Z] e9a5061849ea: Download complete [2020-04-08T07:14:23.284Z] d747dcd14b5f: Verifying Checksum [2020-04-08T07:14:23.284Z] d747dcd14b5f: Download complete [2020-04-08T07:14:23.284Z] 2de7ff778b66: Verifying Checksum [2020-04-08T07:14:23.284Z] 2de7ff778b66: Download complete [2020-04-08T07:14:23.542Z] 0d9ebad4ef96: Verifying Checksum [2020-04-08T07:14:23.542Z] 0d9ebad4ef96: Download complete [2020-04-08T07:14:23.542Z] ab5ef0e58194: Verifying Checksum [2020-04-08T07:14:23.542Z] ab5ef0e58194: Download complete [2020-04-08T07:14:28.815Z] ab5ef0e58194: Pull complete [2020-04-08T07:14:28.815Z] 9712f1f96733: Pull complete [2020-04-08T07:14:30.720Z] 63f879dbbcfc: Pull complete [2020-04-08T07:14:36.019Z] 0d9ebad4ef96: Pull complete [2020-04-08T07:14:37.925Z] e9a5061849ea: Pull complete [2020-04-08T07:14:37.925Z] d747dcd14b5f: Pull complete [2020-04-08T07:14:41.212Z] 2de7ff778b66: Pull complete [2020-04-08T07:14:41.212Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-04-08T07:14:41.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-04-08T07:14:41.340Z] prd-centos7-docker-4c-2g-2784 does not seem to be running inside a container [2020-04-08T07:14:41.377Z] $ 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-04-08T07:14:42.825Z] $ docker top 25c5c8bd20bc7f6dc6f55bf60483c671446e71f5ab31f870715d4817f1f96fbb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-04-08T07:14:42.999Z] provisioning config files... [2020-04-08T07:14:43.008Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4647035748686138893tmp [2020-04-08T07:14:43.021Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3784236137177236264tmp [2020-04-08T07:14:43.033Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2938208926892099653tmp [Pipeline] { [Pipeline] echo [2020-04-08T07:14:43.085Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T07:14:43.374Z] ---> sigul-configuration.sh [2020-04-08T07:14:43.374Z] gpg: directory `/root/.gnupg' created [2020-04-08T07:14:43.375Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-04-08T07:14:43.375Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-04-08T07:14:43.375Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-04-08T07:14:43.375Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-04-08T07:14:43.375Z] gpg: CAST5 encrypted data [2020-04-08T07:14:43.928Z] gpg: encrypted with 1 passphrase [2020-04-08T07:14:43.928Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-04-08T07:14:44.225Z] + mkdir /home/jenkins [2020-04-08T07:14:44.225Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-04-08T07:14:44.510Z] + 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-04-08T07:14:44.517Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T07:14:44.810Z] ---> sigul-install.sh [2020-04-08T07:14:51.688Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-04-08T07:14:52.240Z] + git tag --list [2020-04-08T07:14:52.240Z] v1.2.0-dev.16 [Pipeline] sh [2020-04-08T07:14:52.534Z] + lftools sign git-tag v1.2.0-dev.16 [2020-04-08T07:14:53.468Z] Signing Git tag with Sigul... [2020-04-08T07:14:53.468Z] Signing v1.2.0-dev.16 [Pipeline] echo [2020-04-08T07:14:54.853Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T07:14:55.145Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-04-08T07:14:55.152Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-04-08T07:14:55.219Z] $ docker stop --time=1 25c5c8bd20bc7f6dc6f55bf60483c671446e71f5ab31f870715d4817f1f96fbb [2020-04-08T07:14:56.578Z] $ docker rm -f 25c5c8bd20bc7f6dc6f55bf60483c671446e71f5ab31f870715d4817f1f96fbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-04-08T07:14:57.219Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T07:14:57.220Z] . [Pipeline] withDockerContainer [2020-04-08T07:14:57.326Z] prd-centos7-docker-4c-2g-2784 does not seem to be running inside a container [2020-04-08T07:14:57.366Z] $ 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-04-08T07:14:57.896Z] $ docker top 88582cbedb4245f1779de8a04e0014a7f7677ef652dfac1097891523dff98766 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-08T07:14:58.142Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T07:14:58.142Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T07:14:58.329Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T07:14:58.330Z] $ docker exec 88582cbedb4245f1779de8a04e0014a7f7677ef652dfac1097891523dff98766 ssh-agent [2020-04-08T07:14:58.508Z] SSH_AUTH_SOCK=/tmp/ssh-3ZYb6suMrmNm/agent.15 [2020-04-08T07:14:58.508Z] SSH_AGENT_PID=21 [2020-04-08T07:14:58.514Z] Running ssh-add (command line suppressed) [2020-04-08T07:14:58.646Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7097339511926119434.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7097339511926119434.key) [2020-04-08T07:14:58.689Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T07:14:59.006Z] + git semver bump pre [2020-04-08T07:14:59.006Z] # -> Open(): unable to determine branch for HEAD [2020-04-08T07:14:59.006Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-08T07:14:59.006Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-08T07:14:59.006Z] # $SEMVER_REMOTE_NAME = origin [2020-04-08T07:14:59.006Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-08T07:14:59.006Z] # $SEMVER_USER_NAME = jenkins [2020-04-08T07:14:59.006Z] # $SEMVER_BRANCH = master [2020-04-08T07:14:59.006Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-08T07:14:59.006Z] 1.2.0-dev.17 [Pipeline] } [2020-04-08T07:14:59.012Z] $ docker exec --env ******** --env ******** 88582cbedb4245f1779de8a04e0014a7f7677ef652dfac1097891523dff98766 ssh-agent -k [2020-04-08T07:14:59.143Z] unset SSH_AUTH_SOCK; [2020-04-08T07:14:59.143Z] unset SSH_AGENT_PID; [2020-04-08T07:14:59.143Z] echo Agent pid 21 killed; [2020-04-08T07:14:59.189Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-08T07:14:59.593Z] + git semver [Pipeline] } [2020-04-08T07:14:59.603Z] $ docker stop --time=1 88582cbedb4245f1779de8a04e0014a7f7677ef652dfac1097891523dff98766 [2020-04-08T07:15:00.921Z] $ docker rm -f 88582cbedb4245f1779de8a04e0014a7f7677ef652dfac1097891523dff98766 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-04-08T07:15:01.412Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-08T07:15:01.412Z] . [Pipeline] withDockerContainer [2020-04-08T07:15:01.520Z] prd-centos7-docker-4c-2g-2784 does not seem to be running inside a container [2020-04-08T07:15:01.557Z] $ 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-04-08T07:15:02.065Z] $ docker top 440558b3431dc437a2644b9e9bcf41af02eabc7bfdb84aaedc68acd83d597a4a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-08T07:15:02.341Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-08T07:15:02.341Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-08T07:15:02.518Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-08T07:15:02.519Z] $ docker exec 440558b3431dc437a2644b9e9bcf41af02eabc7bfdb84aaedc68acd83d597a4a ssh-agent [2020-04-08T07:15:02.698Z] SSH_AUTH_SOCK=/tmp/ssh-WZurLdwdFd0x/agent.15 [2020-04-08T07:15:02.698Z] SSH_AGENT_PID=22 [2020-04-08T07:15:02.705Z] Running ssh-add (command line suppressed) [2020-04-08T07:15:02.838Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8147831153470165651.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8147831153470165651.key) [2020-04-08T07:15:02.885Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-08T07:15:03.204Z] + git semver push [2020-04-08T07:15:03.204Z] # -> Open(): unable to determine branch for HEAD [2020-04-08T07:15:03.204Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-08T07:15:03.204Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-08T07:15:03.204Z] # $SEMVER_REMOTE_NAME = origin [2020-04-08T07:15:03.204Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-08T07:15:03.204Z] # $SEMVER_USER_NAME = jenkins [2020-04-08T07:15:03.204Z] # $SEMVER_BRANCH = master [2020-04-08T07:15:03.204Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-08T07:15:09.790Z] $ docker exec --env ******** --env ******** 440558b3431dc437a2644b9e9bcf41af02eabc7bfdb84aaedc68acd83d597a4a ssh-agent -k [2020-04-08T07:15:09.921Z] unset SSH_AUTH_SOCK; [2020-04-08T07:15:09.921Z] unset SSH_AGENT_PID; [2020-04-08T07:15:09.921Z] echo Agent pid 22 killed; [2020-04-08T07:15:09.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-08T07:15:10.391Z] + git semver [Pipeline] } [2020-04-08T07:15:10.403Z] $ docker stop --time=1 440558b3431dc437a2644b9e9bcf41af02eabc7bfdb84aaedc68acd83d597a4a [2020-04-08T07:15:11.738Z] $ docker rm -f 440558b3431dc437a2644b9e9bcf41af02eabc7bfdb84aaedc68acd83d597a4a [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-04-08T07:15:12.571Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T07:15:13.126Z] ---> package-listing.sh [2020-04-08T07:15:13.126Z] ++ facter osfamily [2020-04-08T07:15:13.126Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-08T07:15:13.126Z] + OS_FAMILY=redhat [2020-04-08T07:15:13.126Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-04-08T07:15:13.126Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-08T07:15:13.126Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-08T07:15:13.126Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-08T07:15:13.126Z] + PACKAGES=/tmp/packages_start.txt [2020-04-08T07:15:13.126Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-08T07:15:13.126Z] + PACKAGES=/tmp/packages_end.txt [2020-04-08T07:15:13.126Z] + case "${OS_FAMILY}" in [2020-04-08T07:15:13.126Z] + rpm -qa [2020-04-08T07:15:13.126Z] + sort [2020-04-08T07:15:17.332Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-08T07:15:17.333Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-08T07:15:17.333Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-08T07:15:17.333Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-08T07:15:17.333Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-04-08T07:15:17.333Z] + 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-04-08T07:15:17.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-08T07:15:17.803Z] [2020-04-08T07:15:17.803Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-08T07:15:18.128Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-08T07:15:18.128Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-08T07:15:18.128Z] c9b1b535fdd9: Pulling fs layer [2020-04-08T07:15:18.128Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-08T07:15:18.128Z] 756a868c4378: Pulling fs layer [2020-04-08T07:15:18.128Z] 444b2fc9a129: Pulling fs layer [2020-04-08T07:15:18.128Z] ea15f1150254: Pulling fs layer [2020-04-08T07:15:18.128Z] 41b27a9f41bf: Pulling fs layer [2020-04-08T07:15:18.128Z] 28c525ee5125: Pulling fs layer [2020-04-08T07:15:18.128Z] 094b1ea09ed8: Pulling fs layer [2020-04-08T07:15:18.128Z] 138eaada9080: Pulling fs layer [2020-04-08T07:15:18.128Z] 0622d0fa9048: Pulling fs layer [2020-04-08T07:15:18.128Z] 444b2fc9a129: Waiting [2020-04-08T07:15:18.128Z] ea15f1150254: Waiting [2020-04-08T07:15:18.128Z] 41b27a9f41bf: Waiting [2020-04-08T07:15:18.128Z] 28c525ee5125: Waiting [2020-04-08T07:15:18.128Z] 094b1ea09ed8: Waiting [2020-04-08T07:15:18.128Z] 138eaada9080: Waiting [2020-04-08T07:15:18.128Z] 0622d0fa9048: Waiting [2020-04-08T07:15:18.128Z] 2cc5ad85d9ab: Download complete [2020-04-08T07:15:18.128Z] 444b2fc9a129: Verifying Checksum [2020-04-08T07:15:18.128Z] 444b2fc9a129: Download complete [2020-04-08T07:15:18.128Z] c9b1b535fdd9: Download complete [2020-04-08T07:15:18.128Z] ea15f1150254: Download complete [2020-04-08T07:15:18.389Z] 28c525ee5125: Verifying Checksum [2020-04-08T07:15:18.389Z] 28c525ee5125: Download complete [2020-04-08T07:15:18.389Z] c9b1b535fdd9: Pull complete [2020-04-08T07:15:18.389Z] 756a868c4378: Verifying Checksum [2020-04-08T07:15:18.389Z] 756a868c4378: Download complete [2020-04-08T07:15:18.649Z] 138eaada9080: Verifying Checksum [2020-04-08T07:15:18.649Z] 138eaada9080: Download complete [2020-04-08T07:15:18.649Z] 0622d0fa9048: Download complete [2020-04-08T07:15:18.649Z] 094b1ea09ed8: Verifying Checksum [2020-04-08T07:15:19.218Z] 41b27a9f41bf: Verifying Checksum [2020-04-08T07:15:19.218Z] 41b27a9f41bf: Download complete [2020-04-08T07:15:19.785Z] 2cc5ad85d9ab: Pull complete [2020-04-08T07:15:21.687Z] 756a868c4378: Pull complete [2020-04-08T07:15:21.687Z] 444b2fc9a129: Pull complete [2020-04-08T07:15:21.945Z] ea15f1150254: Pull complete [2020-04-08T07:15:26.131Z] 41b27a9f41bf: Pull complete [2020-04-08T07:15:26.131Z] 28c525ee5125: Pull complete [2020-04-08T07:15:28.036Z] 094b1ea09ed8: Pull complete [2020-04-08T07:15:28.036Z] 138eaada9080: Pull complete [2020-04-08T07:15:28.294Z] 0622d0fa9048: Pull complete [2020-04-08T07:15:28.294Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-08T07:15:28.294Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-08T07:15:28.404Z] prd-centos7-docker-4c-2g-2784 does not seem to be running inside a container [2020-04-08T07:15:28.439Z] $ 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-04-08T07:15:29.424Z] $ docker top 35be541972bc6d2607c742837b278f855ae8b6afd6e98123f3c8f04d6e4b1a31 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-04-08T07:15:29.624Z] provisioning config files... [2020-04-08T07:15:29.637Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3718675732515242906tmp [Pipeline] { [Pipeline] echo [2020-04-08T07:15:29.692Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T07:15:29.982Z] ---> create-netrc.sh [Pipeline] echo [2020-04-08T07:15:29.989Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-08T07:15:30.280Z] ---> logs-deploy.sh [2020-04-08T07:15:30.280Z] + ARCHIVE_ARTIFACTS= [2020-04-08T07:15:30.280Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-08T07:15:30.280Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-08T07:15:30.280Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-08T07:15:30.280Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/16 [2020-04-08T07:15:30.280Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/16/ [2020-04-08T07:15:30.280Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/16 /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-08T07:15:31.215Z] Archives upload complete. [2020-04-08T07:15:31.215Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/16 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/16/