Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0605716f3fd271273ac872c46dcfc3221fe9ce3f 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-1581 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 Fetching 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 > 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 Checking out Revision 0605716f3fd271273ac872c46dcfc3221fe9ce3f (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 Commit message: "Merge pull request #467 from iain-anderson/apiv2-branch" > git rev-list --no-walk 216cade7f2e553cd85bebefedf8dad939aae0897 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-31T13:44:26.689Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-31T13:44:28.830Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-31T13:44:28.830Z] [2020-03-31T13:44:28.830Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-31T13:44:29.204Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-31T13:44:29.204Z] latest: Pulling from edgex-devops/git-semver [2020-03-31T13:44:29.204Z] 9123ac7c32f7: Pulling fs layer [2020-03-31T13:44:29.204Z] b8cc5d1170e3: Pulling fs layer [2020-03-31T13:44:29.204Z] 2924cbbf6a41: Pulling fs layer [2020-03-31T13:44:29.204Z] 93b08a4f1073: Pulling fs layer [2020-03-31T13:44:29.204Z] 93b08a4f1073: Waiting [2020-03-31T13:44:29.204Z] b8cc5d1170e3: Verifying Checksum [2020-03-31T13:44:29.204Z] b8cc5d1170e3: Download complete [2020-03-31T13:44:29.483Z] 9123ac7c32f7: Verifying Checksum [2020-03-31T13:44:29.483Z] 9123ac7c32f7: Download complete [2020-03-31T13:44:29.483Z] 93b08a4f1073: Verifying Checksum [2020-03-31T13:44:29.483Z] 93b08a4f1073: Download complete [2020-03-31T13:44:29.483Z] 2924cbbf6a41: Verifying Checksum [2020-03-31T13:44:29.483Z] 2924cbbf6a41: Download complete [2020-03-31T13:44:29.742Z] 9123ac7c32f7: Pull complete [2020-03-31T13:44:29.742Z] b8cc5d1170e3: Pull complete [2020-03-31T13:44:30.700Z] 2924cbbf6a41: Pull complete [2020-03-31T13:44:30.962Z] 93b08a4f1073: Pull complete [2020-03-31T13:44:30.962Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-31T13:44:30.962Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-31T13:44:31.104Z] prd-centos7-docker-4c-2g-1581 does not seem to be running inside a container [2020-03-31T13:44:31.155Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-31T13:44:31.915Z] $ docker top e90996c14b137d77e6f54a8252f30eb5769df83ec62d32003ae7114ec80cd6d5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-31T13:44:32.231Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-31T13:44:32.231Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-31T13:44:32.466Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-31T13:44:32.470Z] $ docker exec e90996c14b137d77e6f54a8252f30eb5769df83ec62d32003ae7114ec80cd6d5 ssh-agent [2020-03-31T13:44:32.671Z] SSH_AUTH_SOCK=/tmp/ssh-vjyht8quba5j/agent.15 [2020-03-31T13:44:32.671Z] SSH_AGENT_PID=22 [2020-03-31T13:44:32.687Z] Running ssh-add (command line suppressed) [2020-03-31T13:44:32.842Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2411913361896764415.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2411913361896764415.key) [2020-03-31T13:44:32.890Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-31T13:44:33.214Z] + git describe --exact-match --tags HEAD [2020-03-31T13:44:33.214Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-31T13:44:33.275Z] $ docker exec --env ******** --env ******** e90996c14b137d77e6f54a8252f30eb5769df83ec62d32003ae7114ec80cd6d5 ssh-agent -k [2020-03-31T13:44:33.424Z] unset SSH_AUTH_SOCK; [2020-03-31T13:44:33.425Z] unset SSH_AGENT_PID; [2020-03-31T13:44:33.425Z] echo Agent pid 22 killed; [2020-03-31T13:44:33.463Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-31T13:44:33.527Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-31T13:44:33.528Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-31T13:44:33.604Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-31T13:44:33.604Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-31T13:44:33.799Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-31T13:44:33.804Z] $ docker exec e90996c14b137d77e6f54a8252f30eb5769df83ec62d32003ae7114ec80cd6d5 ssh-agent [2020-03-31T13:44:33.995Z] SSH_AUTH_SOCK=/tmp/ssh-KXwgWmGNRouf/agent.57 [2020-03-31T13:44:33.995Z] SSH_AGENT_PID=64 [2020-03-31T13:44:34.002Z] Running ssh-add (command line suppressed) [2020-03-31T13:44:34.165Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8902786706961585726.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8902786706961585726.key) [2020-03-31T13:44:34.218Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-31T13:44:34.539Z] + git semver init [2020-03-31T13:44:34.539Z] # -> Open(): unable to determine branch for HEAD [2020-03-31T13:44:34.539Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-03-31T13:44:34.539Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-03-31T13:44:34.539Z] # $SEMVER_REMOTE_NAME = origin [2020-03-31T13:44:34.539Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-31T13:44:34.539Z] # $SEMVER_USER_NAME = jenkins [2020-03-31T13:44:34.539Z] # $SEMVER_BRANCH = master [2020-03-31T13:44:34.539Z] # $SEMVER_TEMP = /tmp/semver-042195567 [2020-03-31T13:44:34.539Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-31T13:44:35.530Z] # '/tmp/semver-042195567' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-03-31T13:44:35.530Z] # -> Force: false [2020-03-31T13:44:35.530Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-03-31T13:44:35.540Z] $ docker exec --env ******** --env ******** e90996c14b137d77e6f54a8252f30eb5769df83ec62d32003ae7114ec80cd6d5 ssh-agent -k [2020-03-31T13:44:35.679Z] unset SSH_AUTH_SOCK; [2020-03-31T13:44:35.680Z] unset SSH_AGENT_PID; [2020-03-31T13:44:35.680Z] echo Agent pid 64 killed; [2020-03-31T13:44:35.728Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-31T13:44:36.141Z] + git semver [Pipeline] } [2020-03-31T13:44:36.156Z] $ docker stop --time=1 e90996c14b137d77e6f54a8252f30eb5769df83ec62d32003ae7114ec80cd6d5 [2020-03-31T13:44:37.503Z] $ docker rm -f e90996c14b137d77e6f54a8252f30eb5769df83ec62d32003ae7114ec80cd6d5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-31T13:44:38.359Z] Stashed 30 file(s) [Pipeline] echo [2020-03-31T13:44:38.361Z] [edgeXSemver] initialized semver on version 1.2.0-dev.13 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-03-31T13:44:53.620Z] Still waiting to schedule task [2020-03-31T13:44:53.621Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1581’ [2020-03-31T13:44:53.622Z] Still waiting to schedule task [2020-03-31T13:44:53.622Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-03-31T13:46:38.001Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1582 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-03-31T13:46:38.039Z] Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout [2020-03-31T13:46:43.799Z] using credential edgex-jenkins-ssh [2020-03-31T13:46:43.850Z] Cloning the remote Git repository [2020-03-31T13:46:43.850Z] Cloning with configured refspecs honoured and without tags [2020-03-31T13:46:43.864Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-31T13:46:43.958Z] > git init /w/workspace/device-sdk-go/13 # timeout=10 [2020-03-31T13:46:44.048Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-31T13:46:44.048Z] > git --version # timeout=10 [2020-03-31T13:46:44.065Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-31T13:46:44.145Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-31T13:46:45.224Z] Fetching without tags [2020-03-31T13:46:45.744Z] Checking out Revision 0605716f3fd271273ac872c46dcfc3221fe9ce3f (master) [2020-03-31T13:46:45.065Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-31T13:46:45.100Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-31T13:46:45.136Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-31T13:46:45.185Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-31T13:46:45.186Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-31T13:46:45.220Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-31T13:46:45.715Z] > git config core.sparsecheckout # timeout=10 [2020-03-31T13:46:45.739Z] > git checkout -f 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 [2020-03-31T13:46:50.815Z] Commit message: "Merge pull request #467 from iain-anderson/apiv2-branch" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-31T13:46:52.103Z] ========================================================= [2020-03-31T13:46:52.103Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-31T13:46:52.103Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-31T13:46:53.201Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-03-31T13:46:54.171Z] Sending build context to Docker daemon 2.746MB [2020-03-31T13:46:54.171Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-31T13:46:54.171Z] Step 2/8 : FROM ${BASE} [2020-03-31T13:46:54.440Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-31T13:46:54.440Z] cde5963f3b93: Pulling fs layer [2020-03-31T13:46:54.440Z] 2a23fa8c16f7: Pulling fs layer [2020-03-31T13:46:54.440Z] 777b28850792: Pulling fs layer [2020-03-31T13:46:54.440Z] 8a11ddd9e578: Pulling fs layer [2020-03-31T13:46:54.440Z] 4cf88f913ddb: Pulling fs layer [2020-03-31T13:46:54.440Z] 1df406cf5192: Pulling fs layer [2020-03-31T13:46:54.440Z] cd6300453558: Pulling fs layer [2020-03-31T13:46:54.440Z] b9c365052c96: Pulling fs layer [2020-03-31T13:46:54.440Z] a2d8cc88f415: Pulling fs layer [2020-03-31T13:46:54.440Z] ea1d1ca13537: Pulling fs layer [2020-03-31T13:46:54.440Z] 3750a50a1c5e: Pulling fs layer [2020-03-31T13:46:54.440Z] 8a11ddd9e578: Waiting [2020-03-31T13:46:54.440Z] 4cf88f913ddb: Waiting [2020-03-31T13:46:54.440Z] a2d8cc88f415: Waiting [2020-03-31T13:46:54.440Z] ea1d1ca13537: Waiting [2020-03-31T13:46:54.440Z] 1df406cf5192: Waiting [2020-03-31T13:46:54.440Z] cd6300453558: Waiting [2020-03-31T13:46:54.440Z] 3750a50a1c5e: Waiting [2020-03-31T13:46:54.440Z] b9c365052c96: Waiting [2020-03-31T13:46:54.440Z] 777b28850792: Verifying Checksum [2020-03-31T13:46:54.440Z] 777b28850792: Download complete [2020-03-31T13:46:54.440Z] 2a23fa8c16f7: Verifying Checksum [2020-03-31T13:46:54.440Z] 2a23fa8c16f7: Download complete [2020-03-31T13:46:54.440Z] 4cf88f913ddb: Verifying Checksum [2020-03-31T13:46:54.440Z] 4cf88f913ddb: Download complete [2020-03-31T13:46:54.440Z] 1df406cf5192: Verifying Checksum [2020-03-31T13:46:54.440Z] 1df406cf5192: Download complete [2020-03-31T13:46:54.710Z] cde5963f3b93: Verifying Checksum [2020-03-31T13:46:54.710Z] cde5963f3b93: Download complete [2020-03-31T13:46:55.689Z] cde5963f3b93: Pull complete [2020-03-31T13:46:55.978Z] Running on prd-centos7-docker-4c-2g-1584 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-03-31T13:46:56.024Z] Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout [2020-03-31T13:46:56.294Z] 2a23fa8c16f7: Pull complete [2020-03-31T13:46:56.570Z] 777b28850792: Pull complete [2020-03-31T13:46:58.168Z] using credential edgex-jenkins-ssh [2020-03-31T13:46:58.210Z] Cloning the remote Git repository [2020-03-31T13:46:58.210Z] Cloning with configured refspecs honoured and without tags [2020-03-31T13:46:57.851Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-31T13:46:57.886Z] > git init /w/workspace/device-sdk-go/13 # timeout=10 [2020-03-31T13:46:57.936Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-31T13:46:57.937Z] > git --version # timeout=10 [2020-03-31T13:46:57.944Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-31T13:46:57.972Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-31T13:46:58.998Z] Fetching without tags [2020-03-31T13:46:59.172Z] cd6300453558: Download complete [2020-03-31T13:46:59.172Z] a2d8cc88f415: Verifying Checksum [2020-03-31T13:46:59.172Z] a2d8cc88f415: Download complete [2020-03-31T13:46:58.655Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-31T13:46:58.661Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-31T13:46:58.674Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-31T13:46:58.686Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-31T13:46:58.686Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-31T13:46:58.691Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-31T13:46:59.372Z] Checking out Revision 0605716f3fd271273ac872c46dcfc3221fe9ce3f (master) [2020-03-31T13:46:59.095Z] > git config core.sparsecheckout # timeout=10 [2020-03-31T13:46:59.100Z] > git checkout -f 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 [2020-03-31T13:47:01.773Z] ea1d1ca13537: Verifying Checksum [2020-03-31T13:47:01.773Z] ea1d1ca13537: Download complete [2020-03-31T13:47:01.773Z] 3750a50a1c5e: Verifying Checksum [2020-03-31T13:47:01.773Z] 3750a50a1c5e: Download complete [2020-03-31T13:47:02.932Z] Commit message: "Merge pull request #467 from iain-anderson/apiv2-branch" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-31T13:47:03.718Z] ========================================================= [2020-03-31T13:47:03.718Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-31T13:47:03.718Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-31T13:47:04.374Z] b9c365052c96: Verifying Checksum [2020-03-31T13:47:04.374Z] b9c365052c96: Download complete [2020-03-31T13:47:04.396Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-03-31T13:47:04.663Z] Sending build context to Docker daemon 2.746MB [2020-03-31T13:47:04.663Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-31T13:47:04.663Z] Step 2/8 : FROM ${BASE} [2020-03-31T13:47:04.663Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-31T13:47:04.663Z] e6b0cf9c0882: Pulling fs layer [2020-03-31T13:47:04.663Z] 2848faf0eed1: Pulling fs layer [2020-03-31T13:47:04.663Z] 0f37312ad70f: Pulling fs layer [2020-03-31T13:47:04.663Z] 5788d62ee057: Pulling fs layer [2020-03-31T13:47:04.663Z] 0e6b1d234666: Pulling fs layer [2020-03-31T13:47:04.663Z] bf5d7aec512f: Pulling fs layer [2020-03-31T13:47:04.663Z] 34c802a77dc8: Pulling fs layer [2020-03-31T13:47:04.663Z] 9eb99e56ec68: Pulling fs layer [2020-03-31T13:47:04.663Z] 27c7a5d97fbd: Pulling fs layer [2020-03-31T13:47:04.663Z] 5c102a31e300: Pulling fs layer [2020-03-31T13:47:04.663Z] dcfb455df0a1: Pulling fs layer [2020-03-31T13:47:04.663Z] 5788d62ee057: Waiting [2020-03-31T13:47:04.663Z] 0e6b1d234666: Waiting [2020-03-31T13:47:04.663Z] bf5d7aec512f: Waiting [2020-03-31T13:47:04.663Z] 34c802a77dc8: Waiting [2020-03-31T13:47:04.663Z] 9eb99e56ec68: Waiting [2020-03-31T13:47:04.663Z] 27c7a5d97fbd: Waiting [2020-03-31T13:47:04.663Z] 5c102a31e300: Waiting [2020-03-31T13:47:04.663Z] dcfb455df0a1: Waiting [2020-03-31T13:47:04.663Z] 0f37312ad70f: Verifying Checksum [2020-03-31T13:47:04.663Z] 0f37312ad70f: Download complete [2020-03-31T13:47:04.663Z] 2848faf0eed1: Download complete [2020-03-31T13:47:04.663Z] 0e6b1d234666: Verifying Checksum [2020-03-31T13:47:04.663Z] 0e6b1d234666: Download complete [2020-03-31T13:47:04.663Z] bf5d7aec512f: Verifying Checksum [2020-03-31T13:47:04.663Z] bf5d7aec512f: Download complete [2020-03-31T13:47:04.663Z] e6b0cf9c0882: Verifying Checksum [2020-03-31T13:47:04.663Z] e6b0cf9c0882: Download complete [2020-03-31T13:47:04.925Z] e6b0cf9c0882: Pull complete [2020-03-31T13:47:05.195Z] 2848faf0eed1: Pull complete [2020-03-31T13:47:05.770Z] 0f37312ad70f: Pull complete [2020-03-31T13:47:05.792Z] 8a11ddd9e578: Verifying Checksum [2020-03-31T13:47:05.792Z] 8a11ddd9e578: Download complete [2020-03-31T13:47:06.035Z] 34c802a77dc8: Verifying Checksum [2020-03-31T13:47:06.036Z] 34c802a77dc8: Download complete [2020-03-31T13:47:06.036Z] 27c7a5d97fbd: Verifying Checksum [2020-03-31T13:47:06.036Z] 27c7a5d97fbd: Download complete [2020-03-31T13:47:06.304Z] 5788d62ee057: Verifying Checksum [2020-03-31T13:47:06.304Z] 5788d62ee057: Download complete [2020-03-31T13:47:06.304Z] 5c102a31e300: Verifying Checksum [2020-03-31T13:47:06.304Z] 5c102a31e300: Download complete [2020-03-31T13:47:06.573Z] dcfb455df0a1: Verifying Checksum [2020-03-31T13:47:06.573Z] dcfb455df0a1: Download complete [2020-03-31T13:47:06.573Z] 9eb99e56ec68: Verifying Checksum [2020-03-31T13:47:06.573Z] 9eb99e56ec68: Download complete [2020-03-31T13:47:13.155Z] 5788d62ee057: Pull complete [2020-03-31T13:47:13.155Z] 0e6b1d234666: Pull complete [2020-03-31T13:47:13.155Z] bf5d7aec512f: Pull complete [2020-03-31T13:47:15.931Z] 8a11ddd9e578: Pull complete [2020-03-31T13:47:16.200Z] 4cf88f913ddb: Pull complete [2020-03-31T13:47:16.468Z] 1df406cf5192: Pull complete [2020-03-31T13:47:17.350Z] 34c802a77dc8: Pull complete [2020-03-31T13:47:20.648Z] 9eb99e56ec68: Pull complete [2020-03-31T13:47:20.648Z] 27c7a5d97fbd: Pull complete [2020-03-31T13:47:20.908Z] 5c102a31e300: Pull complete [2020-03-31T13:47:21.167Z] dcfb455df0a1: Pull complete [2020-03-31T13:47:21.167Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-31T13:47:21.167Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-31T13:47:21.167Z] ---> 7c70fe431013 [2020-03-31T13:47:21.167Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-31T13:47:21.167Z] ---> Running in 4af708e74fbd [2020-03-31T13:47:21.339Z] cd6300453558: Pull complete [2020-03-31T13:47:21.441Z] Removing intermediate container 4af708e74fbd [2020-03-31T13:47:21.442Z] ---> 45e3a9236e19 [2020-03-31T13:47:21.442Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-31T13:47:21.442Z] ---> Running in f92e4c9ddb63 [2020-03-31T13:47:22.822Z] Removing intermediate container f92e4c9ddb63 [2020-03-31T13:47:22.822Z] ---> a8d238762732 [2020-03-31T13:47:22.822Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-31T13:47:22.822Z] ---> Running in 626946d61683 [2020-03-31T13:47:23.082Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-31T13:47:24.018Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-31T13:47:24.588Z] OK: 143 MiB in 39 packages [2020-03-31T13:47:24.847Z] Removing intermediate container 626946d61683 [2020-03-31T13:47:24.847Z] ---> c6409c79464d [2020-03-31T13:47:24.847Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-31T13:47:24.847Z] ---> Running in 028d084eff9d [2020-03-31T13:47:25.109Z] Removing intermediate container 028d084eff9d [2020-03-31T13:47:25.109Z] ---> 4aab623cce1b [2020-03-31T13:47:25.109Z] Step 7/8 : COPY . . [2020-03-31T13:47:25.629Z] b9c365052c96: Pull complete [2020-03-31T13:47:25.630Z] a2d8cc88f415: Pull complete [2020-03-31T13:47:25.679Z] ---> d44355ca64ff [2020-03-31T13:47:25.679Z] Step 8/8 : RUN go mod download [2020-03-31T13:47:25.679Z] ---> Running in f1f92c7f941c [2020-03-31T13:47:27.367Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-31T13:47:27.367Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-31T13:47:27.367Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-31T13:47:27.367Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-31T13:47:27.367Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-31T13:47:27.367Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-31T13:47:27.367Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-31T13:47:27.367Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-31T13:47:27.367Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-31T13:47:27.367Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-31T13:47:27.367Z] go: finding github.com/fatih/color v1.7.0 [2020-03-31T13:47:27.367Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-31T13:47:27.626Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-31T13:47:27.626Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-31T13:47:27.626Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-31T13:47:27.626Z] go: finding github.com/google/uuid v1.1.0 [2020-03-31T13:47:27.626Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-31T13:47:27.626Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-31T13:47:27.626Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-31T13:47:27.626Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-31T13:47:27.626Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-31T13:47:27.626Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-31T13:47:27.626Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-31T13:47:27.626Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-31T13:47:27.626Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-31T13:47:27.626Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-31T13:47:27.626Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-31T13:47:27.626Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-31T13:47:27.626Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-31T13:47:27.626Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-31T13:47:27.626Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-31T13:47:27.626Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-31T13:47:27.626Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-31T13:47:27.626Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-31T13:47:27.626Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-31T13:47:27.626Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-31T13:47:27.626Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-31T13:47:27.626Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-31T13:47:27.626Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-31T13:47:27.626Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-31T13:47:27.626Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-31T13:47:27.626Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-31T13:47:27.626Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-31T13:47:27.626Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-31T13:47:27.626Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-31T13:47:27.626Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-31T13:47:27.627Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-31T13:47:27.627Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-31T13:47:27.891Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-31T13:47:27.891Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-31T13:47:27.891Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-31T13:47:27.891Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-31T13:47:27.891Z] go: finding github.com/posener/complete v1.1.1 [2020-03-31T13:47:27.891Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-31T13:47:27.891Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-31T13:47:27.891Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-31T13:47:27.891Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-31T13:47:27.891Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-31T13:47:27.891Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-31T13:47:27.891Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-31T13:47:27.891Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-31T13:47:27.891Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-31T13:47:27.891Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-31T13:47:27.891Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-31T13:47:27.935Z] ea1d1ca13537: Pull complete [2020-03-31T13:47:28.202Z] 3750a50a1c5e: Pull complete [2020-03-31T13:47:28.202Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-31T13:47:28.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-31T13:47:28.202Z] ---> 78745c68409d [2020-03-31T13:47:28.202Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-31T13:47:33.568Z] ---> Running in be5c855060fd [2020-03-31T13:47:33.568Z] Removing intermediate container be5c855060fd [2020-03-31T13:47:33.568Z] ---> e25af32f50e7 [2020-03-31T13:47:33.568Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-31T13:47:33.568Z] ---> Running in 4c6a379446fd [2020-03-31T13:47:34.983Z] Removing intermediate container 4c6a379446fd [2020-03-31T13:47:34.983Z] ---> b1c8c22ab6b4 [2020-03-31T13:47:34.983Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-31T13:47:35.251Z] ---> Running in 89c76b5d4450 [2020-03-31T13:47:36.034Z] Removing intermediate container f1f92c7f941c [2020-03-31T13:47:36.034Z] ---> 0fadc30dd4e7 [2020-03-31T13:47:36.034Z] Successfully built 0fadc30dd4e7 [2020-03-31T13:47:36.034Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2020-03-31T13:47:36.214Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-31T13:47:36.584Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-31T13:47:36.584Z] . [Pipeline] withDockerContainer [2020-03-31T13:47:36.710Z] prd-centos7-docker-4c-2g-1584 does not seem to be running inside a container [2020-03-31T13:47:36.754Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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 ******** ci-base-image-x86_64 cat [2020-03-31T13:47:37.172Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-31T13:47:37.272Z] $ docker top ea71faacfcb5ee91a5e7c442b96a3a7b3e3fc5319f5261c148f547bf43b027c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-31T13:47:37.754Z] + go version [2020-03-31T13:47:37.754Z] go version go1.13.5 linux/amd64 [2020-03-31T13:47:37.763Z] OK: 125 MiB in 39 packages [Pipeline] sh [2020-03-31T13:47:38.049Z] + make test [2020-03-31T13:47:38.049Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-31T13:47:38.736Z] Removing intermediate container 89c76b5d4450 [2020-03-31T13:47:38.736Z] ---> b51d827ea146 [2020-03-31T13:47:38.736Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-31T13:47:39.014Z] ---> Running in 576f1ea527e7 [2020-03-31T13:47:39.283Z] Removing intermediate container 576f1ea527e7 [2020-03-31T13:47:39.283Z] ---> abfab5f7a1db [2020-03-31T13:47:39.283Z] Step 7/8 : COPY . . [2020-03-31T13:47:40.719Z] ---> f688e45564f7 [2020-03-31T13:47:40.719Z] Step 8/8 : RUN go mod download [2020-03-31T13:47:40.719Z] ---> Running in 42a6018c0f93 [2020-03-31T13:47:42.671Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-31T13:47:42.671Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-31T13:47:42.671Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-31T13:47:42.671Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-31T13:47:42.671Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-31T13:47:42.671Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-31T13:47:42.671Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-31T13:47:42.671Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-31T13:47:42.671Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-31T13:47:42.671Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-31T13:47:42.671Z] go: finding github.com/fatih/color v1.7.0 [2020-03-31T13:47:42.671Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-31T13:47:42.671Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-31T13:47:42.671Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-31T13:47:42.671Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-31T13:47:42.671Z] go: finding github.com/google/uuid v1.1.0 [2020-03-31T13:47:42.671Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-31T13:47:42.671Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-31T13:47:42.671Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-31T13:47:42.671Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-31T13:47:42.671Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-31T13:47:42.671Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-31T13:47:42.671Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-31T13:47:42.671Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-31T13:47:42.671Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-31T13:47:42.671Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-31T13:47:42.671Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-31T13:47:42.671Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-31T13:47:42.671Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-31T13:47:42.671Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-31T13:47:42.671Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-31T13:47:42.671Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-31T13:47:42.671Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-31T13:47:42.671Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-31T13:47:42.938Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-31T13:47:42.938Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-31T13:47:42.938Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-31T13:47:42.938Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-31T13:47:42.938Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-31T13:47:42.938Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-31T13:47:42.938Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-31T13:47:42.938Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-31T13:47:42.938Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-31T13:47:42.938Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-31T13:47:42.938Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-31T13:47:42.938Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-31T13:47:42.938Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-31T13:47:42.938Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-31T13:47:42.938Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-31T13:47:42.938Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-31T13:47:42.938Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-31T13:47:42.938Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-31T13:47:42.938Z] go: finding github.com/posener/complete v1.1.1 [2020-03-31T13:47:42.938Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-31T13:47:42.938Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-31T13:47:42.938Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-31T13:47:42.938Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-31T13:47:43.207Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-31T13:47:43.207Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-31T13:47:43.207Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-31T13:47:43.207Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-31T13:47:43.207Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-31T13:47:43.207Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-31T13:47:43.207Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-31T13:47:56.217Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-31T13:47:56.217Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-31T13:47:56.217Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-31T13:47:58.129Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.013s coverage: 23.1% of statements [2020-03-31T13:47:58.129Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.060s coverage: 95.8% of statements [2020-03-31T13:48:01.445Z] Removing intermediate container 42a6018c0f93 [2020-03-31T13:48:01.445Z] ---> 16d41e9e4fb4 [2020-03-31T13:48:01.445Z] Successfully built 16d41e9e4fb4 [2020-03-31T13:48:01.445Z] Successfully tagged ci-base-image-arm64:latest [2020-03-31T13:48:01.451Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.085s coverage: 12.7% of statements [2020-03-31T13:48:01.451Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 25.2% of statements [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-31T13:48:02.111Z] + docker inspect -f . ci-base-image-arm64 [2020-03-31T13:48:02.382Z] . [Pipeline] withDockerContainer [2020-03-31T13:48:02.723Z] prd-ubuntu18.04-docker-arm64-4c-16g-1582 does not seem to be running inside a container [2020-03-31T13:48:02.832Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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 ******** ci-base-image-arm64 cat [2020-03-31T13:48:04.293Z] $ docker top 571fcb2e605f31f0973d83e4d725b12f21aa049dc2489d2d90b2018ed511318f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-31T13:48:05.327Z] + go version [2020-03-31T13:48:05.327Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-31T13:48:05.980Z] + make test [2020-03-31T13:48:05.980Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-31T13:48:33.537Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.021s coverage: 30.0% of statements [2020-03-31T13:48:33.537Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.496s coverage: 42.3% of statements [2020-03-31T13:48:33.537Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-31T13:48:33.537Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-31T13:48:33.537Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.504s coverage: 79.9% of statements [2020-03-31T13:48:33.537Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-31T13:48:33.537Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-31T13:48:33.537Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-31T13:48:33.537Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.020s coverage: 52.6% of statements [2020-03-31T13:48:33.537Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.105s coverage: 76.1% of statements [2020-03-31T13:48:33.537Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-31T13:48:33.537Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-31T13:48:33.537Z] gofmt -l . [2020-03-31T13:48:33.537Z] [ "`gofmt -l .`" = "" ] [2020-03-31T13:48:33.537Z] ./bin/test-attribution-txt.sh [2020-03-31T13:48:33.796Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-31T13:48:34.511Z] Stashed 1 file(s) [Pipeline] } [2020-03-31T13:48:34.520Z] $ docker stop --time=1 ea71faacfcb5ee91a5e7c442b96a3a7b3e3fc5319f5261c148f547bf43b027c2 [2020-03-31T13:48:35.968Z] $ docker rm -f ea71faacfcb5ee91a5e7c442b96a3a7b3e3fc5319f5261c148f547bf43b027c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-31T13:48:37.238Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-31T13:48:37.526Z] + ls -al . [2020-03-31T13:48:37.526Z] total 200 [2020-03-31T13:48:37.526Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 31 13:48 . [2020-03-31T13:48:37.526Z] drwxrwxr-x. 4 jenkins jenkins 30 Mar 31 13:46 .. [2020-03-31T13:48:37.526Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 31 13:46 api [2020-03-31T13:48:37.526Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 31 13:46 async.go [2020-03-31T13:48:37.526Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 31 13:46 bin [2020-03-31T13:48:37.526Z] -rw-r--r--. 1 jenkins jenkins 100361 Mar 31 13:48 coverage.out [2020-03-31T13:48:37.526Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 31 13:46 Dockerfile.build [2020-03-31T13:48:37.526Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 31 13:46 .dockerignore [2020-03-31T13:48:37.526Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 31 13:46 example [2020-03-31T13:48:37.526Z] drwxrwxr-x. 8 jenkins jenkins 162 Mar 31 13:47 .git [2020-03-31T13:48:37.526Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 31 13:46 .github [2020-03-31T13:48:37.526Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 31 13:46 .gitignore [2020-03-31T13:48:37.526Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 31 13:48 go.mod [2020-03-31T13:48:37.526Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 31 13:48 go.sum [2020-03-31T13:48:37.526Z] drwxrwxr-x. 13 jenkins jenkins 176 Mar 31 13:46 internal [2020-03-31T13:48:37.526Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 31 13:46 Jenkinsfile [2020-03-31T13:48:37.526Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 31 13:46 LICENSE [2020-03-31T13:48:37.526Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 31 13:46 Makefile [2020-03-31T13:48:37.526Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 31 13:46 manageddevices.go [2020-03-31T13:48:37.526Z] -rw-rw-r--. 1 jenkins jenkins 5473 Mar 31 13:46 managedprofiles.go [2020-03-31T13:48:37.526Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 31 13:46 managedwatchers.go [2020-03-31T13:48:37.526Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 31 13:46 pkg [2020-03-31T13:48:37.526Z] -rw-rw-r--. 1 jenkins jenkins 2249 Mar 31 13:46 README.md [2020-03-31T13:48:37.526Z] drwxrwxr-x. 3 jenkins jenkins 44 Mar 31 13:47 .semver [2020-03-31T13:48:37.526Z] -rw-rw-r--. 1 jenkins jenkins 9817 Mar 31 13:46 service.go [2020-03-31T13:48:37.526Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 31 13:46 snap [2020-03-31T13:48:37.526Z] -rw-rw-r--. 1 jenkins jenkins 12 Mar 31 13:44 VERSION [2020-03-31T13:48:37.527Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 31 13:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-31T13:48:37.821Z] + 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=0605716f3fd271273ac872c46dcfc3221fe9ce3f --label arch=amd64 --label version=1.2.0-dev.13 . [2020-03-31T13:48:37.821Z] Sending build context to Docker daemon 2.873MB [2020-03-31T13:48:37.821Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-31T13:48:37.821Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-31T13:48:37.821Z] ---> 0fadc30dd4e7 [2020-03-31T13:48:37.821Z] Step 3/20 : ARG MAKE='make build' [2020-03-31T13:48:38.081Z] ---> Running in d82bc65bc922 [2020-03-31T13:48:38.081Z] Removing intermediate container d82bc65bc922 [2020-03-31T13:48:38.081Z] ---> c4ddab29815a [2020-03-31T13:48:38.081Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-31T13:48:38.081Z] ---> Running in e0661ef69a98 [2020-03-31T13:48:38.341Z] Removing intermediate container e0661ef69a98 [2020-03-31T13:48:38.341Z] ---> 9a81adf40370 [2020-03-31T13:48:38.341Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-31T13:48:38.341Z] ---> Running in 4e90a83878e8 [2020-03-31T13:48:38.600Z] Removing intermediate container 4e90a83878e8 [2020-03-31T13:48:38.600Z] ---> 66007ee29e7a [2020-03-31T13:48:38.600Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-31T13:48:38.600Z] ---> Running in 89b6b6420023 [2020-03-31T13:48:39.168Z] Removing intermediate container 89b6b6420023 [2020-03-31T13:48:39.168Z] ---> c54d0714d0ee [2020-03-31T13:48:39.168Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-31T13:48:39.427Z] ---> Running in 95300e9c6799 [2020-03-31T13:48:39.686Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-31T13:48:40.626Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-31T13:48:40.888Z] OK: 143 MiB in 39 packages [2020-03-31T13:48:41.458Z] Removing intermediate container 95300e9c6799 [2020-03-31T13:48:41.458Z] ---> 8c6943f72149 [2020-03-31T13:48:41.458Z] Step 8/20 : COPY . . [2020-03-31T13:48:41.720Z] ---> a6c6ea59c8da [2020-03-31T13:48:41.720Z] Step 9/20 : RUN ${MAKE} [2020-03-31T13:48:41.720Z] ---> Running in b4cd3cefe694 [2020-03-31T13:48:42.297Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.13" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-03-31T13:48:52.891Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-31T13:48:52.891Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-31T13:48:52.891Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-31T13:48:52.891Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.039s coverage: 23.1% of statements [2020-03-31T13:48:52.891Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.212s coverage: 95.8% of statements [2020-03-31T13:48:52.891Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.108s coverage: 12.7% of statements [2020-03-31T13:48:52.891Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.021s coverage: 25.2% of statements [2020-03-31T13:48:54.600Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-31T13:48:58.833Z] Removing intermediate container b4cd3cefe694 [2020-03-31T13:48:58.833Z] ---> 4ea66f623be6 [2020-03-31T13:48:58.833Z] Step 10/20 : FROM scratch [2020-03-31T13:48:58.833Z] ---> [2020-03-31T13:48:58.833Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-31T13:48:58.833Z] ---> Running in 8bb985d03223 [2020-03-31T13:48:58.833Z] Removing intermediate container 8bb985d03223 [2020-03-31T13:48:58.833Z] ---> 4fbf98cd843f [2020-03-31T13:48:58.833Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-31T13:48:58.833Z] ---> Running in 35c6d90a9da6 [2020-03-31T13:48:58.833Z] Removing intermediate container 35c6d90a9da6 [2020-03-31T13:48:58.833Z] ---> d21cd43cd3e7 [2020-03-31T13:48:58.833Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-31T13:48:58.833Z] ---> Running in 3ab0b1952dca [2020-03-31T13:48:59.092Z] Removing intermediate container 3ab0b1952dca [2020-03-31T13:48:59.092Z] ---> b2f4790d471b [2020-03-31T13:48:59.092Z] Step 14/20 : WORKDIR / [2020-03-31T13:48:59.092Z] ---> Running in 7375a8681d5f [2020-03-31T13:48:59.092Z] Removing intermediate container 7375a8681d5f [2020-03-31T13:48:59.092Z] ---> bb5f2bf271b6 [2020-03-31T13:48:59.092Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-31T13:48:59.662Z] ---> 81ffc7bf89f1 [2020-03-31T13:48:59.662Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-31T13:48:59.921Z] ---> 172defd0b6d1 [2020-03-31T13:48:59.921Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-31T13:48:59.921Z] ---> Running in f62ee8a2601c [2020-03-31T13:48:59.921Z] Removing intermediate container f62ee8a2601c [2020-03-31T13:48:59.921Z] ---> 269ea7093360 [2020-03-31T13:48:59.921Z] Step 18/20 : LABEL arch=amd64 [2020-03-31T13:48:59.921Z] ---> Running in d5d8ffdf9c00 [2020-03-31T13:49:00.180Z] Removing intermediate container d5d8ffdf9c00 [2020-03-31T13:49:00.180Z] ---> 474e6072d334 [2020-03-31T13:49:00.180Z] Step 19/20 : LABEL git_sha=0605716f3fd271273ac872c46dcfc3221fe9ce3f [2020-03-31T13:49:00.180Z] ---> Running in a85a68347977 [2020-03-31T13:49:00.439Z] Removing intermediate container a85a68347977 [2020-03-31T13:49:00.439Z] ---> a0f82588ce99 [2020-03-31T13:49:00.439Z] Step 20/20 : LABEL version=1.2.0-dev.13 [2020-03-31T13:49:00.439Z] ---> Running in f89489613613 [2020-03-31T13:49:00.439Z] Removing intermediate container f89489613613 [2020-03-31T13:49:00.439Z] ---> 5091985d77db [2020-03-31T13:49:00.439Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-31T13:49:00.439Z] Successfully built 5091985d77db [2020-03-31T13:49:00.439Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-31T13:49:25.147Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.062s coverage: 30.0% of statements [2020-03-31T13:49:25.147Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.383s coverage: 42.3% of statements [2020-03-31T13:49:25.147Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-31T13:49:25.147Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-31T13:49:25.147Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.886s coverage: 79.9% of statements [2020-03-31T13:49:25.147Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-31T13:49:25.147Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-31T13:49:25.147Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-31T13:49:25.147Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.070s coverage: 52.6% of statements [2020-03-31T13:49:25.147Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.338s coverage: 76.1% of statements [2020-03-31T13:49:25.147Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-31T13:49:25.147Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-31T13:49:31.825Z] gofmt -l . [2020-03-31T13:49:32.092Z] [ "`gofmt -l .`" = "" ] [2020-03-31T13:49:32.358Z] ./bin/test-attribution-txt.sh [2020-03-31T13:49:33.319Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-31T13:49:33.600Z] Warning: overwriting stash ‘coverage-report’ [2020-03-31T13:49:34.065Z] Stashed 1 file(s) [Pipeline] } [2020-03-31T13:49:34.125Z] $ docker stop --time=1 571fcb2e605f31f0973d83e4d725b12f21aa049dc2489d2d90b2018ed511318f [2020-03-31T13:49:36.332Z] $ docker rm -f 571fcb2e605f31f0973d83e4d725b12f21aa049dc2489d2d90b2018ed511318f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-31T13:49:37.511Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-31T13:49:37.834Z] + ls -al . [2020-03-31T13:49:37.834Z] total 240 [2020-03-31T13:49:37.834Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 31 13:49 . [2020-03-31T13:49:37.834Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 13:46 .. [2020-03-31T13:49:37.834Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 13:46 .dockerignore [2020-03-31T13:49:37.834Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 13:46 .git [2020-03-31T13:49:37.834Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 13:46 .github [2020-03-31T13:49:37.834Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 31 13:46 .gitignore [2020-03-31T13:49:37.834Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 13:46 .semver [2020-03-31T13:49:37.834Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 31 13:46 Dockerfile.build [2020-03-31T13:49:37.834Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 31 13:46 Jenkinsfile [2020-03-31T13:49:37.834Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 31 13:46 LICENSE [2020-03-31T13:49:37.834Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 31 13:46 Makefile [2020-03-31T13:49:37.834Z] -rw-rw-r-- 1 jenkins jenkins 2249 Mar 31 13:46 README.md [2020-03-31T13:49:37.834Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 31 13:44 VERSION [2020-03-31T13:49:37.834Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 13:46 api [2020-03-31T13:49:37.834Z] -rw-rw-r-- 1 jenkins jenkins 3321 Mar 31 13:46 async.go [2020-03-31T13:49:37.834Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 13:46 bin [2020-03-31T13:49:37.834Z] -rw-r--r-- 1 jenkins jenkins 100361 Mar 31 13:49 coverage.out [2020-03-31T13:49:37.834Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 13:46 example [2020-03-31T13:49:37.834Z] -rw-r--r-- 1 jenkins jenkins 536 Mar 31 13:49 go.mod [2020-03-31T13:49:37.834Z] -rw-r--r-- 1 jenkins jenkins 11140 Mar 31 13:49 go.sum [2020-03-31T13:49:37.834Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 31 13:46 internal [2020-03-31T13:49:37.834Z] -rw-rw-r-- 1 jenkins jenkins 4352 Mar 31 13:46 manageddevices.go [2020-03-31T13:49:37.834Z] -rw-rw-r-- 1 jenkins jenkins 5473 Mar 31 13:46 managedprofiles.go [2020-03-31T13:49:37.834Z] -rw-rw-r-- 1 jenkins jenkins 3878 Mar 31 13:46 managedwatchers.go [2020-03-31T13:49:37.834Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 13:46 pkg [2020-03-31T13:49:37.834Z] -rw-rw-r-- 1 jenkins jenkins 9817 Mar 31 13:46 service.go [2020-03-31T13:49:37.834Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 13:46 snap [2020-03-31T13:49:37.834Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 31 13:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-31T13:49:38.166Z] + 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=0605716f3fd271273ac872c46dcfc3221fe9ce3f --label arch=arm64 --label version=1.2.0-dev.13 . [2020-03-31T13:49:38.754Z] Sending build context to Docker daemon 2.873MB [2020-03-31T13:49:38.754Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-31T13:49:38.754Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-31T13:49:38.754Z] ---> 16d41e9e4fb4 [2020-03-31T13:49:38.754Z] Step 3/20 : ARG MAKE='make build' [2020-03-31T13:49:38.754Z] ---> Running in 22300e5d3424 [2020-03-31T13:49:39.338Z] Removing intermediate container 22300e5d3424 [2020-03-31T13:49:39.338Z] ---> 49a3bab8e970 [2020-03-31T13:49:39.338Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-31T13:49:39.339Z] ---> Running in 53663643ec04 [2020-03-31T13:49:39.607Z] Removing intermediate container 53663643ec04 [2020-03-31T13:49:39.607Z] ---> 2037927495f9 [2020-03-31T13:49:39.607Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-31T13:49:39.876Z] ---> Running in 27ca6eb00a98 [2020-03-31T13:49:40.144Z] Removing intermediate container 27ca6eb00a98 [2020-03-31T13:49:40.144Z] ---> 6c323b76e19c [2020-03-31T13:49:40.144Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-31T13:49:40.411Z] ---> Running in 02b3dd25da2b [2020-03-31T13:49:42.363Z] Removing intermediate container 02b3dd25da2b [2020-03-31T13:49:42.363Z] ---> 81ae996b6f1a [2020-03-31T13:49:42.363Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-31T13:49:42.363Z] ---> Running in a33634de9b67 [2020-03-31T13:49:42.946Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-31T13:49:43.904Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-31T13:49:44.866Z] OK: 125 MiB in 39 packages [2020-03-31T13:49:45.839Z] Removing intermediate container a33634de9b67 [2020-03-31T13:49:45.839Z] ---> 1e21261ebe8d [2020-03-31T13:49:45.839Z] Step 8/20 : COPY . . [2020-03-31T13:49:47.250Z] ---> 4473807e56ed [2020-03-31T13:49:47.250Z] Step 9/20 : RUN ${MAKE} [2020-03-31T13:49:47.250Z] ---> Running in a38fc4ca8b53 [2020-03-31T13:49:47.838Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.13" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-03-31T13:50:26.753Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-31T13:50:36.865Z] Removing intermediate container a38fc4ca8b53 [2020-03-31T13:50:36.865Z] ---> 3121f740c712 [2020-03-31T13:50:36.865Z] Step 10/20 : FROM scratch [2020-03-31T13:50:36.865Z] ---> [2020-03-31T13:50:36.865Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-31T13:50:36.865Z] ---> Running in af40d1b70366 [2020-03-31T13:50:37.133Z] Removing intermediate container af40d1b70366 [2020-03-31T13:50:37.133Z] ---> 0a2eb0539dc1 [2020-03-31T13:50:37.133Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-31T13:50:37.399Z] ---> Running in a5013529054c [2020-03-31T13:50:37.667Z] Removing intermediate container a5013529054c [2020-03-31T13:50:37.667Z] ---> b6ab82a8992b [2020-03-31T13:50:37.667Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-31T13:50:37.937Z] ---> Running in f6b727df8b6f [2020-03-31T13:50:38.565Z] Removing intermediate container f6b727df8b6f [2020-03-31T13:50:38.565Z] ---> e9a795badc62 [2020-03-31T13:50:38.565Z] Step 14/20 : WORKDIR / [2020-03-31T13:50:38.565Z] ---> Running in d6e44d64ed44 [2020-03-31T13:50:39.151Z] Removing intermediate container d6e44d64ed44 [2020-03-31T13:50:39.151Z] ---> 960e9f019ef7 [2020-03-31T13:50:39.151Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-31T13:50:40.117Z] ---> b6040db799f3 [2020-03-31T13:50:40.117Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-31T13:50:40.705Z] ---> 0a9d81ed9efb [2020-03-31T13:50:40.705Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-31T13:50:40.983Z] ---> Running in 4e919f6629e6 [2020-03-31T13:50:41.565Z] Removing intermediate container 4e919f6629e6 [2020-03-31T13:50:41.565Z] ---> a34a459cd011 [2020-03-31T13:50:41.565Z] Step 18/20 : LABEL arch=arm64 [2020-03-31T13:50:41.833Z] ---> Running in 937dd3ee10ed [2020-03-31T13:50:42.101Z] Removing intermediate container 937dd3ee10ed [2020-03-31T13:50:42.101Z] ---> 466b738f231c [2020-03-31T13:50:42.101Z] Step 19/20 : LABEL git_sha=0605716f3fd271273ac872c46dcfc3221fe9ce3f [2020-03-31T13:50:42.371Z] ---> Running in e98ed946c7d5 [2020-03-31T13:50:42.642Z] Removing intermediate container e98ed946c7d5 [2020-03-31T13:50:42.642Z] ---> e816f2a2c6cf [2020-03-31T13:50:42.642Z] Step 20/20 : LABEL version=1.2.0-dev.13 [2020-03-31T13:50:42.909Z] ---> Running in f149e7540c76 [2020-03-31T13:50:43.176Z] Removing intermediate container f149e7540c76 [2020-03-31T13:50:43.176Z] ---> f1fa0a3c91f0 [2020-03-31T13:50:43.176Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-31T13:50:43.176Z] Successfully built f1fa0a3c91f0 [2020-03-31T13:50:43.176Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-03-31T13:50:44.083Z] provisioning config files... [2020-03-31T13:50:44.094Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6309392748285389189tmp [Pipeline] { [Pipeline] sh [2020-03-31T13:50:44.447Z] + curl -s https://codecov.io/bash [2020-03-31T13:50:44.447Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6309392748285389189tmp [2020-03-31T13:50:44.708Z] [2020-03-31T13:50:44.708Z] _____ _ [2020-03-31T13:50:44.708Z] / ____| | | [2020-03-31T13:50:44.708Z] | | ___ __| | ___ ___ _____ __ [2020-03-31T13:50:44.708Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-31T13:50:44.708Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-31T13:50:44.708Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-31T13:50:44.708Z] Bash-tbd [2020-03-31T13:50:44.708Z] [2020-03-31T13:50:44.708Z] [2020-03-31T13:50:44.708Z] ==> Jenkins CI detected. [2020-03-31T13:50:44.708Z] project root: . [2020-03-31T13:50:44.708Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-31T13:50:44.708Z] ==> Running gcov in . (disable via -X gcov) [2020-03-31T13:50:44.708Z] ==> Python coveragepy not found [2020-03-31T13:50:44.708Z] ==> Searching for coverage reports in: [2020-03-31T13:50:44.708Z] + . [2020-03-31T13:50:44.708Z] -> Found 1 reports [2020-03-31T13:50:44.708Z] ==> Detecting git/mercurial file structure [2020-03-31T13:50:44.708Z] ==> Reading reports [2020-03-31T13:50:44.708Z] + ./coverage.out bytes=100361 [2020-03-31T13:50:44.708Z] ==> Appending adjustments [2020-03-31T13:50:44.708Z] http://docs.codecov.io/docs/fixing-reports [2020-03-31T13:50:45.278Z] + Found adjustments [2020-03-31T13:50:45.278Z] ==> Gzipping contents [2020-03-31T13:50:45.278Z] ==> Uploading reports [2020-03-31T13:50:45.278Z] url: https://codecov.io [2020-03-31T13:50:45.278Z] query: branch=master&commit=0605716f3fd271273ac872c46dcfc3221fe9ce3f&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-03-31T13:50:45.278Z] -> Pinging Codecov [2020-03-31T13:50:45.278Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=0605716f3fd271273ac872c46dcfc3221fe9ce3f&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-03-31T13:50:45.536Z] -> Uploading [2020-03-31T13:50:46.107Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0605716f3fd271273ac872c46dcfc3221fe9ce3f [Pipeline] } [2020-03-31T13:50:46.115Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-03-31T13:50:46.396Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-03-31T13:50:46.397Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-03-31T13:50:46.434Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-31T13:50:46.835Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-03-31T13:50:46.835Z] [2020-03-31T13:50:46.835Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-03-31T13:50:47.166Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-03-31T13:50:47.166Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-03-31T13:50:47.166Z] e6b0cf9c0882: Pulling fs layer [2020-03-31T13:50:47.166Z] 2848faf0eed1: Pulling fs layer [2020-03-31T13:50:47.166Z] 0f37312ad70f: Pulling fs layer [2020-03-31T13:50:47.166Z] 7d08f2745646: Pulling fs layer [2020-03-31T13:50:47.166Z] 4c9f31393084: Pulling fs layer [2020-03-31T13:50:47.166Z] eb21ddb83652: Pulling fs layer [2020-03-31T13:50:47.166Z] 345998794f6b: Pulling fs layer [2020-03-31T13:50:47.166Z] 97a711d68925: Pulling fs layer [2020-03-31T13:50:47.166Z] 7c8476c1cb00: Pulling fs layer [2020-03-31T13:50:47.166Z] eb21ddb83652: Waiting [2020-03-31T13:50:47.166Z] 345998794f6b: Waiting [2020-03-31T13:50:47.166Z] 97a711d68925: Waiting [2020-03-31T13:50:47.166Z] 7c8476c1cb00: Waiting [2020-03-31T13:50:47.166Z] 7d08f2745646: Waiting [2020-03-31T13:50:47.166Z] 4c9f31393084: Waiting [2020-03-31T13:50:47.166Z] 0f37312ad70f: Verifying Checksum [2020-03-31T13:50:47.166Z] 0f37312ad70f: Download complete [2020-03-31T13:50:47.166Z] 2848faf0eed1: Download complete [2020-03-31T13:50:47.166Z] 4c9f31393084: Verifying Checksum [2020-03-31T13:50:47.166Z] 4c9f31393084: Download complete [2020-03-31T13:50:47.166Z] eb21ddb83652: Verifying Checksum [2020-03-31T13:50:47.166Z] eb21ddb83652: Download complete [2020-03-31T13:50:47.455Z] e6b0cf9c0882: Verifying Checksum [2020-03-31T13:50:47.455Z] e6b0cf9c0882: Download complete [2020-03-31T13:50:47.734Z] 345998794f6b: Verifying Checksum [2020-03-31T13:50:47.734Z] 345998794f6b: Download complete [2020-03-31T13:50:47.734Z] e6b0cf9c0882: Pull complete [2020-03-31T13:50:48.358Z] 97a711d68925: Download complete [2020-03-31T13:50:48.358Z] 7c8476c1cb00: Verifying Checksum [2020-03-31T13:50:48.358Z] 7c8476c1cb00: Download complete [2020-03-31T13:50:48.358Z] 2848faf0eed1: Pull complete [2020-03-31T13:50:48.358Z] 0f37312ad70f: Pull complete [2020-03-31T13:50:48.928Z] 7d08f2745646: Verifying Checksum [2020-03-31T13:50:48.928Z] 7d08f2745646: Download complete [2020-03-31T13:50:55.523Z] 7d08f2745646: Pull complete [2020-03-31T13:50:55.523Z] 4c9f31393084: Pull complete [2020-03-31T13:50:55.523Z] eb21ddb83652: Pull complete [2020-03-31T13:50:56.903Z] 345998794f6b: Pull complete [2020-03-31T13:51:01.102Z] 97a711d68925: Pull complete [2020-03-31T13:51:01.102Z] 7c8476c1cb00: Pull complete [2020-03-31T13:51:01.363Z] Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 [2020-03-31T13:51:01.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-03-31T13:51:01.519Z] prd-centos7-docker-4c-2g-1581 does not seem to be running inside a container [2020-03-31T13:51:01.565Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/dgexfoundry_device-sdk-go_master:/ws -w /ws --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat [2020-03-31T13:51:02.446Z] $ docker top 7b2b4545d9986e056c1be1afbfded4e8520c68ccf8cd0f6cb294496c9a6f626b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-31T13:51:02.970Z] + snyk monitor '--org=edgex-jenkins' [2020-03-31T13:51:09.552Z] [2020-03-31T13:51:09.552Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... [2020-03-31T13:51:09.552Z] [2020-03-31T13:51:09.552Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/84980990-bcf5-4346-9601-7670f4161056 [2020-03-31T13:51:09.552Z] [2020-03-31T13:51:09.552Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-03-31T13:51:09.552Z] [2020-03-31T13:51:09.552Z] [Pipeline] } [2020-03-31T13:51:09.563Z] $ docker stop --time=1 7b2b4545d9986e056c1be1afbfded4e8520c68ccf8cd0f6cb294496c9a6f626b [2020-03-31T13:51:10.969Z] $ docker rm -f 7b2b4545d9986e056c1be1afbfded4e8520c68ccf8cd0f6cb294496c9a6f626b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2020-03-31T13:51:12.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-31T13:51:12.268Z] . [Pipeline] withDockerContainer [2020-03-31T13:51:12.382Z] prd-centos7-docker-4c-2g-1581 does not seem to be running inside a container [2020-03-31T13:51:12.419Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-31T13:51:13.006Z] $ docker top ee6264fc5edf7a4609e42178396fc4951487e00f1e84414b700190dc8ccd301d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-31T13:51:13.285Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-31T13:51:13.285Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-31T13:51:13.518Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-31T13:51:13.520Z] $ docker exec ee6264fc5edf7a4609e42178396fc4951487e00f1e84414b700190dc8ccd301d ssh-agent [2020-03-31T13:51:13.725Z] SSH_AUTH_SOCK=/tmp/ssh-Yi6uI48eqiq5/agent.15 [2020-03-31T13:51:13.725Z] SSH_AGENT_PID=22 [2020-03-31T13:51:13.731Z] Running ssh-add (command line suppressed) [2020-03-31T13:51:13.879Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5375481520737919349.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5375481520737919349.key) [2020-03-31T13:51:13.932Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-31T13:51:14.253Z] + git semver tag [2020-03-31T13:51:14.253Z] # -> Open(): unable to determine branch for HEAD [2020-03-31T13:51:14.253Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-03-31T13:51:14.253Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-03-31T13:51:14.253Z] # $SEMVER_REMOTE_NAME = origin [2020-03-31T13:51:14.253Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-31T13:51:14.253Z] # $SEMVER_USER_NAME = jenkins [2020-03-31T13:51:14.253Z] # $SEMVER_BRANCH = master [2020-03-31T13:51:14.253Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-03-31T13:51:14.253Z] # 0605716f3fd271273ac872c46dcfc3221fe9ce3f HEAD [2020-03-31T13:51:14.512Z] # -> Force: false [2020-03-31T13:51:14.512Z] # 204ed4a91d9f273ccaa7549a7ffef2e5cc7f8f39 refs/tags/v1.2.0-dev.13 [Pipeline] } [2020-03-31T13:51:14.522Z] $ docker exec --env ******** --env ******** ee6264fc5edf7a4609e42178396fc4951487e00f1e84414b700190dc8ccd301d ssh-agent -k [2020-03-31T13:51:14.667Z] unset SSH_AUTH_SOCK; [2020-03-31T13:51:14.667Z] unset SSH_AGENT_PID; [2020-03-31T13:51:14.668Z] echo Agent pid 22 killed; [2020-03-31T13:51:14.724Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-31T13:51:15.148Z] + git semver [Pipeline] } [2020-03-31T13:51:15.160Z] $ docker stop --time=1 ee6264fc5edf7a4609e42178396fc4951487e00f1e84414b700190dc8ccd301d [2020-03-31T13:51:16.509Z] $ docker rm -f ee6264fc5edf7a4609e42178396fc4951487e00f1e84414b700190dc8ccd301d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-03-31T13:51:17.102Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-03-31T13:51:17.102Z] [2020-03-31T13:51:17.102Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-03-31T13:51:17.435Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-03-31T13:51:17.435Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-03-31T13:51:17.435Z] ab5ef0e58194: Pulling fs layer [2020-03-31T13:51:17.435Z] 9712f1f96733: Pulling fs layer [2020-03-31T13:51:17.435Z] 63f879dbbcfc: Pulling fs layer [2020-03-31T13:51:17.435Z] 0d9ebad4ef96: Pulling fs layer [2020-03-31T13:51:17.435Z] e9a5061849ea: Pulling fs layer [2020-03-31T13:51:17.435Z] d747dcd14b5f: Pulling fs layer [2020-03-31T13:51:17.435Z] 2de7ff778b66: Pulling fs layer [2020-03-31T13:51:17.435Z] e9a5061849ea: Waiting [2020-03-31T13:51:17.435Z] 2de7ff778b66: Waiting [2020-03-31T13:51:17.435Z] d747dcd14b5f: Waiting [2020-03-31T13:51:17.435Z] 0d9ebad4ef96: Waiting [2020-03-31T13:51:17.435Z] 9712f1f96733: Verifying Checksum [2020-03-31T13:51:17.435Z] 9712f1f96733: Download complete [2020-03-31T13:51:18.389Z] 63f879dbbcfc: Verifying Checksum [2020-03-31T13:51:18.389Z] 63f879dbbcfc: Download complete [2020-03-31T13:51:18.651Z] e9a5061849ea: Verifying Checksum [2020-03-31T13:51:18.651Z] e9a5061849ea: Download complete [2020-03-31T13:51:18.651Z] d747dcd14b5f: Verifying Checksum [2020-03-31T13:51:18.651Z] d747dcd14b5f: Download complete [2020-03-31T13:51:18.651Z] 0d9ebad4ef96: Verifying Checksum [2020-03-31T13:51:18.651Z] 0d9ebad4ef96: Download complete [2020-03-31T13:51:18.908Z] ab5ef0e58194: Verifying Checksum [2020-03-31T13:51:18.909Z] ab5ef0e58194: Download complete [2020-03-31T13:51:18.909Z] 2de7ff778b66: Verifying Checksum [2020-03-31T13:51:18.909Z] 2de7ff778b66: Download complete [2020-03-31T13:51:24.188Z] ab5ef0e58194: Pull complete [2020-03-31T13:51:24.188Z] 9712f1f96733: Pull complete [2020-03-31T13:51:26.727Z] 63f879dbbcfc: Pull complete [2020-03-31T13:51:32.018Z] 0d9ebad4ef96: Pull complete [2020-03-31T13:51:33.926Z] e9a5061849ea: Pull complete [2020-03-31T13:51:33.926Z] d747dcd14b5f: Pull complete [2020-03-31T13:51:37.235Z] 2de7ff778b66: Pull complete [2020-03-31T13:51:37.235Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-03-31T13:51:37.235Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-03-31T13:51:37.368Z] prd-centos7-docker-4c-2g-1581 does not seem to be running inside a container [2020-03-31T13:51:37.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-03-31T13:51:39.094Z] $ docker top e2a838f91e2086ff8ed839e74d3f8805ea0099b24d552fbb12306d0809b16cbd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-03-31T13:51:39.606Z] provisioning config files... [2020-03-31T13:51:39.615Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7389329912569804214tmp [2020-03-31T13:51:39.631Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config266431313040886521tmp [2020-03-31T13:51:39.643Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8597934281863591783tmp [Pipeline] { [Pipeline] echo [2020-03-31T13:51:39.690Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-31T13:51:39.982Z] ---> sigul-configuration.sh [2020-03-31T13:51:39.983Z] gpg: directory `/root/.gnupg' created [2020-03-31T13:51:39.983Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-03-31T13:51:39.983Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-03-31T13:51:39.983Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-03-31T13:51:39.983Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-03-31T13:51:39.983Z] gpg: CAST5 encrypted data [2020-03-31T13:51:40.241Z] gpg: encrypted with 1 passphrase [2020-03-31T13:51:40.241Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-03-31T13:51:40.537Z] + mkdir /home/jenkins [2020-03-31T13:51:40.537Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-03-31T13:51:40.828Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo [2020-03-31T13:51:40.839Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-31T13:51:41.130Z] ---> sigul-install.sh [2020-03-31T13:51:49.512Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-03-31T13:51:50.269Z] + git tag --list [2020-03-31T13:51:50.269Z] v1.2.0-dev.13 [Pipeline] sh [2020-03-31T13:51:50.565Z] + lftools sign git-tag v1.2.0-dev.13 [2020-03-31T13:51:51.508Z] Signing Git tag with Sigul... [2020-03-31T13:51:51.508Z] Signing v1.2.0-dev.13 [Pipeline] echo [2020-03-31T13:51:52.892Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-31T13:51:53.181Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-03-31T13:51:53.187Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-03-31T13:51:53.253Z] $ docker stop --time=1 e2a838f91e2086ff8ed839e74d3f8805ea0099b24d552fbb12306d0809b16cbd [2020-03-31T13:51:54.667Z] $ docker rm -f e2a838f91e2086ff8ed839e74d3f8805ea0099b24d552fbb12306d0809b16cbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-03-31T13:51:55.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-31T13:51:55.335Z] . [Pipeline] withDockerContainer [2020-03-31T13:51:55.457Z] prd-centos7-docker-4c-2g-1581 does not seem to be running inside a container [2020-03-31T13:51:55.499Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-31T13:51:56.164Z] $ docker top 73c9d2cbb8af16e521240c151a33433fdd79445479a1641699cad49373e8b4a5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-31T13:51:56.433Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-31T13:51:56.434Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-31T13:51:56.653Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-31T13:51:56.655Z] $ docker exec 73c9d2cbb8af16e521240c151a33433fdd79445479a1641699cad49373e8b4a5 ssh-agent [2020-03-31T13:51:56.848Z] SSH_AUTH_SOCK=/tmp/ssh-z6M9bT65w7KV/agent.14 [2020-03-31T13:51:56.848Z] SSH_AGENT_PID=21 [2020-03-31T13:51:56.855Z] Running ssh-add (command line suppressed) [2020-03-31T13:51:57.001Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_473197191352815044.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_473197191352815044.key) [2020-03-31T13:51:57.052Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-31T13:51:57.367Z] + git semver bump pre [2020-03-31T13:51:57.367Z] # -> Open(): unable to determine branch for HEAD [2020-03-31T13:51:57.367Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-03-31T13:51:57.367Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-03-31T13:51:57.367Z] # $SEMVER_REMOTE_NAME = origin [2020-03-31T13:51:57.367Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-31T13:51:57.367Z] # $SEMVER_USER_NAME = jenkins [2020-03-31T13:51:57.367Z] # $SEMVER_BRANCH = master [2020-03-31T13:51:57.367Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-03-31T13:51:57.367Z] 1.2.0-dev.14 [Pipeline] } [2020-03-31T13:51:57.375Z] $ docker exec --env ******** --env ******** 73c9d2cbb8af16e521240c151a33433fdd79445479a1641699cad49373e8b4a5 ssh-agent -k [2020-03-31T13:51:57.536Z] unset SSH_AUTH_SOCK; [2020-03-31T13:51:57.537Z] unset SSH_AGENT_PID; [2020-03-31T13:51:57.537Z] echo Agent pid 21 killed; [2020-03-31T13:51:57.576Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-31T13:51:57.982Z] + git semver [Pipeline] } [2020-03-31T13:51:57.995Z] $ docker stop --time=1 73c9d2cbb8af16e521240c151a33433fdd79445479a1641699cad49373e8b4a5 [2020-03-31T13:51:59.346Z] $ docker rm -f 73c9d2cbb8af16e521240c151a33433fdd79445479a1641699cad49373e8b4a5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-03-31T13:51:59.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-31T13:51:59.869Z] . [Pipeline] withDockerContainer [2020-03-31T13:51:59.982Z] prd-centos7-docker-4c-2g-1581 does not seem to be running inside a container [2020-03-31T13:52:00.023Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-31T13:52:00.621Z] $ docker top 9e6b8989bb385aaf2f365b74f631dcfa7d141e40e85d7f9e6a3168c0d624d4de -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-31T13:52:00.868Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-31T13:52:00.868Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-31T13:52:01.070Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-31T13:52:01.073Z] $ docker exec 9e6b8989bb385aaf2f365b74f631dcfa7d141e40e85d7f9e6a3168c0d624d4de ssh-agent [2020-03-31T13:52:01.294Z] SSH_AUTH_SOCK=/tmp/ssh-Hajfcdjl7wNc/agent.14 [2020-03-31T13:52:01.294Z] SSH_AGENT_PID=21 [2020-03-31T13:52:01.301Z] Running ssh-add (command line suppressed) [2020-03-31T13:52:01.446Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4617252860754172222.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4617252860754172222.key) [2020-03-31T13:52:01.497Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-31T13:52:01.819Z] + git semver push [2020-03-31T13:52:01.819Z] # -> Open(): unable to determine branch for HEAD [2020-03-31T13:52:01.819Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-03-31T13:52:01.819Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-03-31T13:52:01.819Z] # $SEMVER_REMOTE_NAME = origin [2020-03-31T13:52:01.819Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-31T13:52:01.819Z] # $SEMVER_USER_NAME = jenkins [2020-03-31T13:52:01.819Z] # $SEMVER_BRANCH = master [2020-03-31T13:52:01.819Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-03-31T13:52:09.951Z] $ docker exec --env ******** --env ******** 9e6b8989bb385aaf2f365b74f631dcfa7d141e40e85d7f9e6a3168c0d624d4de ssh-agent -k [2020-03-31T13:52:10.099Z] unset SSH_AUTH_SOCK; [2020-03-31T13:52:10.101Z] unset SSH_AGENT_PID; [2020-03-31T13:52:10.101Z] echo Agent pid 21 killed; [2020-03-31T13:52:10.152Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-31T13:52:10.561Z] + git semver [Pipeline] } [2020-03-31T13:52:10.575Z] $ docker stop --time=1 9e6b8989bb385aaf2f365b74f631dcfa7d141e40e85d7f9e6a3168c0d624d4de [2020-03-31T13:52:11.957Z] $ docker rm -f 9e6b8989bb385aaf2f365b74f631dcfa7d141e40e85d7f9e6a3168c0d624d4de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-03-31T13:52:12.677Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-31T13:52:13.241Z] ---> package-listing.sh [2020-03-31T13:52:13.241Z] ++ facter osfamily [2020-03-31T13:52:13.241Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-31T13:52:13.241Z] + OS_FAMILY=redhat [2020-03-31T13:52:13.241Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-03-31T13:52:13.241Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-31T13:52:13.241Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-31T13:52:13.241Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-31T13:52:13.241Z] + PACKAGES=/tmp/packages_start.txt [2020-03-31T13:52:13.241Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-03-31T13:52:13.241Z] + PACKAGES=/tmp/packages_end.txt [2020-03-31T13:52:13.241Z] + case "${OS_FAMILY}" in [2020-03-31T13:52:13.241Z] + rpm -qa [2020-03-31T13:52:13.241Z] + sort [2020-03-31T13:52:17.445Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-31T13:52:17.445Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-31T13:52:17.445Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-31T13:52:17.445Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-03-31T13:52:17.445Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-03-31T13:52:17.445Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-31T13:52:17.913Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-31T13:52:17.913Z] [2020-03-31T13:52:17.913Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-31T13:52:18.240Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-31T13:52:18.240Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-31T13:52:18.240Z] c9b1b535fdd9: Pulling fs layer [2020-03-31T13:52:18.240Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-31T13:52:18.240Z] 756a868c4378: Pulling fs layer [2020-03-31T13:52:18.240Z] 444b2fc9a129: Pulling fs layer [2020-03-31T13:52:18.240Z] ea15f1150254: Pulling fs layer [2020-03-31T13:52:18.240Z] 41b27a9f41bf: Pulling fs layer [2020-03-31T13:52:18.240Z] 28c525ee5125: Pulling fs layer [2020-03-31T13:52:18.240Z] 094b1ea09ed8: Pulling fs layer [2020-03-31T13:52:18.240Z] 138eaada9080: Pulling fs layer [2020-03-31T13:52:18.240Z] 0622d0fa9048: Pulling fs layer [2020-03-31T13:52:18.240Z] 41b27a9f41bf: Waiting [2020-03-31T13:52:18.240Z] 28c525ee5125: Waiting [2020-03-31T13:52:18.240Z] 094b1ea09ed8: Waiting [2020-03-31T13:52:18.240Z] 138eaada9080: Waiting [2020-03-31T13:52:18.240Z] 444b2fc9a129: Waiting [2020-03-31T13:52:18.240Z] ea15f1150254: Waiting [2020-03-31T13:52:18.240Z] 0622d0fa9048: Waiting [2020-03-31T13:52:18.240Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-31T13:52:18.240Z] 2cc5ad85d9ab: Download complete [2020-03-31T13:52:18.240Z] 444b2fc9a129: Verifying Checksum [2020-03-31T13:52:18.240Z] 444b2fc9a129: Download complete [2020-03-31T13:52:18.509Z] c9b1b535fdd9: Download complete [2020-03-31T13:52:18.509Z] ea15f1150254: Verifying Checksum [2020-03-31T13:52:18.509Z] ea15f1150254: Download complete [2020-03-31T13:52:18.509Z] 28c525ee5125: Verifying Checksum [2020-03-31T13:52:18.509Z] 28c525ee5125: Download complete [2020-03-31T13:52:18.780Z] c9b1b535fdd9: Pull complete [2020-03-31T13:52:18.780Z] 756a868c4378: Verifying Checksum [2020-03-31T13:52:18.780Z] 756a868c4378: Download complete [2020-03-31T13:52:19.041Z] 138eaada9080: Verifying Checksum [2020-03-31T13:52:19.041Z] 138eaada9080: Download complete [2020-03-31T13:52:19.041Z] 094b1ea09ed8: Verifying Checksum [2020-03-31T13:52:19.041Z] 094b1ea09ed8: Download complete [2020-03-31T13:52:19.041Z] 0622d0fa9048: Verifying Checksum [2020-03-31T13:52:19.041Z] 0622d0fa9048: Download complete [2020-03-31T13:52:19.300Z] 2cc5ad85d9ab: Pull complete [2020-03-31T13:52:19.868Z] 41b27a9f41bf: Verifying Checksum [2020-03-31T13:52:19.868Z] 41b27a9f41bf: Download complete [2020-03-31T13:52:21.785Z] 756a868c4378: Pull complete [2020-03-31T13:52:21.785Z] 444b2fc9a129: Pull complete [2020-03-31T13:52:22.045Z] ea15f1150254: Pull complete [2020-03-31T13:52:26.257Z] 41b27a9f41bf: Pull complete [2020-03-31T13:52:26.257Z] 28c525ee5125: Pull complete [2020-03-31T13:52:28.806Z] 094b1ea09ed8: Pull complete [2020-03-31T13:52:28.806Z] 138eaada9080: Pull complete [2020-03-31T13:52:28.806Z] 0622d0fa9048: Pull complete [2020-03-31T13:52:28.806Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-31T13:52:28.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-31T13:52:28.924Z] prd-centos7-docker-4c-2g-1581 does not seem to be running inside a container [2020-03-31T13:52:28.966Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-31T13:52:30.167Z] $ docker top 8e1032c9cb42aa4eb2c0a515acf6a17c026723fd31df9c506edc1012f1a1820d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-31T13:52:30.433Z] provisioning config files... [2020-03-31T13:52:30.446Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2462288082191306901tmp [Pipeline] { [Pipeline] echo [2020-03-31T13:52:30.585Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-31T13:52:30.898Z] ---> create-netrc.sh [Pipeline] echo [2020-03-31T13:52:30.906Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-31T13:52:31.206Z] ---> logs-deploy.sh [2020-03-31T13:52:31.206Z] + ARCHIVE_ARTIFACTS= [2020-03-31T13:52:31.206Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-31T13:52:31.206Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-31T13:52:31.206Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-31T13:52:31.206Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/13 [2020-03-31T13:52:31.206Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/13/ [2020-03-31T13:52:31.206Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/13 /w/workspace/dgexfoundry_device-sdk-go_master [2020-03-31T13:52:32.586Z] Archives upload complete. [2020-03-31T13:52:32.586Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/13 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/13/