Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2059383c0ce7ecc5e89f6707ab815f97db38a92e 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 on ‘prd-centos7-docker-4c-2g-3292’ Running on prd-centos7-docker-4c-2g-3300 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 2059383c0ce7ecc5e89f6707ab815f97db38a92e (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2059383c0ce7ecc5e89f6707ab815f97db38a92e # timeout=10 Commit message: "Merge pull request #481 from hahattan/issue-466" > git rev-list --no-walk 1bb097ad4365b735bfef0648a55752ad7a9b68a1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-10T16:33:47.412Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:33:49.535Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-10T16:33:49.535Z] [2020-04-10T16:33:49.535Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:33:49.889Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-10T16:33:49.889Z] latest: Pulling from edgex-devops/git-semver [2020-04-10T16:33:49.889Z] 9123ac7c32f7: Pulling fs layer [2020-04-10T16:33:49.889Z] b8cc5d1170e3: Pulling fs layer [2020-04-10T16:33:49.889Z] 2924cbbf6a41: Pulling fs layer [2020-04-10T16:33:49.889Z] 93b08a4f1073: Pulling fs layer [2020-04-10T16:33:49.889Z] 93b08a4f1073: Waiting [2020-04-10T16:33:49.889Z] b8cc5d1170e3: Verifying Checksum [2020-04-10T16:33:49.889Z] b8cc5d1170e3: Download complete [2020-04-10T16:33:50.151Z] 9123ac7c32f7: Verifying Checksum [2020-04-10T16:33:50.151Z] 9123ac7c32f7: Download complete [2020-04-10T16:33:50.151Z] 93b08a4f1073: Verifying Checksum [2020-04-10T16:33:50.151Z] 93b08a4f1073: Download complete [2020-04-10T16:33:50.151Z] 2924cbbf6a41: Verifying Checksum [2020-04-10T16:33:50.151Z] 2924cbbf6a41: Download complete [2020-04-10T16:33:50.409Z] 9123ac7c32f7: Pull complete [2020-04-10T16:33:50.409Z] b8cc5d1170e3: Pull complete [2020-04-10T16:33:51.357Z] 2924cbbf6a41: Pull complete [2020-04-10T16:33:51.616Z] 93b08a4f1073: Pull complete [2020-04-10T16:33:51.616Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-10T16:33:51.616Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-10T16:33:51.775Z] prd-centos7-docker-4c-2g-3300 does not seem to be running inside a container [2020-04-10T16:33:51.819Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-10T16:33:52.428Z] $ docker top a800fd72a63d69cba697360892caa6388f3eb716c4cc070b7089ee122b0c6745 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-10T16:33:52.697Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-10T16:33:52.697Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-10T16:33:52.938Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-10T16:33:52.942Z] $ docker exec a800fd72a63d69cba697360892caa6388f3eb716c4cc070b7089ee122b0c6745 ssh-agent [2020-04-10T16:33:53.146Z] SSH_AUTH_SOCK=/tmp/ssh-WA6G3jjo0wCZ/agent.14 [2020-04-10T16:33:53.146Z] SSH_AGENT_PID=21 [2020-04-10T16:33:53.159Z] Running ssh-add (command line suppressed) [2020-04-10T16:33:53.306Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1711421983403896711.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1711421983403896711.key) [2020-04-10T16:33:53.365Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-10T16:33:53.685Z] + git describe --exact-match --tags HEAD [2020-04-10T16:33:53.685Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-10T16:33:53.756Z] $ docker exec --env ******** --env ******** a800fd72a63d69cba697360892caa6388f3eb716c4cc070b7089ee122b0c6745 ssh-agent -k [2020-04-10T16:33:53.903Z] unset SSH_AUTH_SOCK; [2020-04-10T16:33:53.904Z] unset SSH_AGENT_PID; [2020-04-10T16:33:53.904Z] echo Agent pid 21 killed; [2020-04-10T16:33:53.957Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-10T16:33:54.017Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-10T16:33:54.017Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-10T16:33:54.084Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-10T16:33:54.084Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-10T16:33:54.294Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-10T16:33:54.300Z] $ docker exec a800fd72a63d69cba697360892caa6388f3eb716c4cc070b7089ee122b0c6745 ssh-agent [2020-04-10T16:33:54.529Z] SSH_AUTH_SOCK=/tmp/ssh-fPbzFOdL3B0h/agent.57 [2020-04-10T16:33:54.529Z] SSH_AGENT_PID=64 [2020-04-10T16:33:54.534Z] Running ssh-add (command line suppressed) [2020-04-10T16:33:54.724Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7493333642194024626.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7493333642194024626.key) [2020-04-10T16:33:54.815Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-10T16:33:55.258Z] + git semver init [2020-04-10T16:33:55.526Z] # -> Open(): unable to determine branch for HEAD [2020-04-10T16:33:55.526Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-10T16:33:55.526Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-10T16:33:55.526Z] # $SEMVER_REMOTE_NAME = origin [2020-04-10T16:33:55.526Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-10T16:33:55.526Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-10T16:33:55.526Z] # $SEMVER_BRANCH = master [2020-04-10T16:33:55.526Z] # $SEMVER_TEMP = /tmp/semver-774189669 [2020-04-10T16:33:55.526Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-10T16:33:56.101Z] # '/tmp/semver-774189669' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-04-10T16:33:56.101Z] # -> Force: false [2020-04-10T16:33:56.101Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-10T16:33:56.112Z] $ docker exec --env ******** --env ******** a800fd72a63d69cba697360892caa6388f3eb716c4cc070b7089ee122b0c6745 ssh-agent -k [2020-04-10T16:33:56.298Z] unset SSH_AUTH_SOCK; [2020-04-10T16:33:56.299Z] unset SSH_AGENT_PID; [2020-04-10T16:33:56.299Z] echo Agent pid 64 killed; [2020-04-10T16:33:56.372Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-10T16:33:56.792Z] + git semver [Pipeline] } [2020-04-10T16:33:56.809Z] $ docker stop --time=1 a800fd72a63d69cba697360892caa6388f3eb716c4cc070b7089ee122b0c6745 [2020-04-10T16:33:58.305Z] $ docker rm -f a800fd72a63d69cba697360892caa6388f3eb716c4cc070b7089ee122b0c6745 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-10T16:33:59.249Z] Stashed 36 file(s) [Pipeline] echo [2020-04-10T16:33:59.251Z] [edgeXSemver] initialized semver on version 1.2.0-dev.19 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-04-10T16:34:14.477Z] Still waiting to schedule task [2020-04-10T16:34:14.477Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-10T16:34:14.480Z] Still waiting to schedule task [2020-04-10T16:34:14.480Z] ‘prd-centos7-docker-4c-2g-3302’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3299’ is offline [2020-04-10T16:35:02.965Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3301 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-10T16:35:03.046Z] Running in /w/workspace/device-sdk-go/19 [Pipeline] { [Pipeline] checkout [2020-04-10T16:35:09.049Z] using credential edgex-jenkins-ssh [2020-04-10T16:35:09.104Z] Cloning the remote Git repository [2020-04-10T16:35:09.104Z] Cloning with configured refspecs honoured and without tags [2020-04-10T16:35:09.173Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:35:09.273Z] > git init /w/workspace/device-sdk-go/19 # timeout=10 [2020-04-10T16:35:09.367Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:35:09.368Z] > git --version # timeout=10 [2020-04-10T16:35:09.401Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:35:09.470Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T16:35:10.645Z] Fetching without tags [2020-04-10T16:35:10.518Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T16:35:10.569Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T16:35:10.601Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T16:35:10.652Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:35:10.653Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:35:10.664Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T16:35:11.089Z] Checking out Revision 2059383c0ce7ecc5e89f6707ab815f97db38a92e (master) [2020-04-10T16:35:11.104Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T16:35:11.128Z] > git checkout -f 2059383c0ce7ecc5e89f6707ab815f97db38a92e # timeout=10 [2020-04-10T16:35:15.798Z] Commit message: "Merge pull request #481 from hahattan/issue-466" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-10T16:35:16.892Z] ========================================================= [2020-04-10T16:35:16.892Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-10T16:35:16.892Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:35:17.852Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-04-10T16:35:18.819Z] Sending build context to Docker daemon 2.848MB [2020-04-10T16:35:18.819Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-10T16:35:18.819Z] Step 2/8 : FROM ${BASE} [2020-04-10T16:35:19.088Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-10T16:35:19.088Z] cde5963f3b93: Pulling fs layer [2020-04-10T16:35:19.088Z] 2a23fa8c16f7: Pulling fs layer [2020-04-10T16:35:19.088Z] 777b28850792: Pulling fs layer [2020-04-10T16:35:19.088Z] 8a11ddd9e578: Pulling fs layer [2020-04-10T16:35:19.088Z] 4cf88f913ddb: Pulling fs layer [2020-04-10T16:35:19.088Z] 1df406cf5192: Pulling fs layer [2020-04-10T16:35:19.088Z] cd6300453558: Pulling fs layer [2020-04-10T16:35:19.088Z] b9c365052c96: Pulling fs layer [2020-04-10T16:35:19.088Z] a2d8cc88f415: Pulling fs layer [2020-04-10T16:35:19.088Z] ea1d1ca13537: Pulling fs layer [2020-04-10T16:35:19.088Z] 3750a50a1c5e: Pulling fs layer [2020-04-10T16:35:19.088Z] 8a11ddd9e578: Waiting [2020-04-10T16:35:19.088Z] 4cf88f913ddb: Waiting [2020-04-10T16:35:19.088Z] 1df406cf5192: Waiting [2020-04-10T16:35:19.088Z] ea1d1ca13537: Waiting [2020-04-10T16:35:19.088Z] cd6300453558: Waiting [2020-04-10T16:35:19.088Z] b9c365052c96: Waiting [2020-04-10T16:35:19.088Z] a2d8cc88f415: Waiting [2020-04-10T16:35:19.088Z] 3750a50a1c5e: Waiting [2020-04-10T16:35:19.088Z] 777b28850792: Verifying Checksum [2020-04-10T16:35:19.088Z] 777b28850792: Download complete [2020-04-10T16:35:19.088Z] 2a23fa8c16f7: Verifying Checksum [2020-04-10T16:35:19.088Z] 2a23fa8c16f7: Download complete [2020-04-10T16:35:19.088Z] 4cf88f913ddb: Verifying Checksum [2020-04-10T16:35:19.088Z] 4cf88f913ddb: Download complete [2020-04-10T16:35:19.363Z] 1df406cf5192: Verifying Checksum [2020-04-10T16:35:19.363Z] 1df406cf5192: Download complete [2020-04-10T16:35:19.635Z] cde5963f3b93: Verifying Checksum [2020-04-10T16:35:20.611Z] cde5963f3b93: Pull complete [2020-04-10T16:35:21.204Z] 2a23fa8c16f7: Pull complete [2020-04-10T16:35:21.204Z] 777b28850792: Pull complete [2020-04-10T16:35:23.804Z] cd6300453558: Verifying Checksum [2020-04-10T16:35:23.804Z] cd6300453558: Download complete [2020-04-10T16:35:23.804Z] a2d8cc88f415: Verifying Checksum [2020-04-10T16:35:23.804Z] a2d8cc88f415: Download complete [2020-04-10T16:35:26.403Z] ea1d1ca13537: Verifying Checksum [2020-04-10T16:35:26.403Z] ea1d1ca13537: Download complete [2020-04-10T16:35:26.403Z] 3750a50a1c5e: Verifying Checksum [2020-04-10T16:35:26.403Z] 3750a50a1c5e: Download complete [2020-04-10T16:35:29.767Z] b9c365052c96: Verifying Checksum [2020-04-10T16:35:29.767Z] b9c365052c96: Download complete [2020-04-10T16:35:30.733Z] 8a11ddd9e578: Verifying Checksum [2020-04-10T16:35:30.733Z] 8a11ddd9e578: Download complete [2020-04-10T16:35:34.943Z] Running on prd-centos7-docker-4c-2g-3308 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-04-10T16:35:34.980Z] Running in /w/workspace/device-sdk-go/19 [Pipeline] { [Pipeline] checkout [2020-04-10T16:35:37.592Z] using credential edgex-jenkins-ssh [2020-04-10T16:35:37.644Z] Cloning the remote Git repository [2020-04-10T16:35:37.644Z] Cloning with configured refspecs honoured and without tags [2020-04-10T16:35:38.411Z] Fetching without tags [2020-04-10T16:35:37.645Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:35:37.687Z] > git init /w/workspace/device-sdk-go/19 # timeout=10 [2020-04-10T16:35:37.733Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:35:37.734Z] > git --version # timeout=10 [2020-04-10T16:35:37.741Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:35:37.766Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T16:35:38.380Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T16:35:38.388Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T16:35:38.404Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T16:35:38.416Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:35:38.417Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:35:38.422Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T16:35:38.843Z] Checking out Revision 2059383c0ce7ecc5e89f6707ab815f97db38a92e (master) [2020-04-10T16:35:38.856Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T16:35:38.865Z] > git checkout -f 2059383c0ce7ecc5e89f6707ab815f97db38a92e # timeout=10 [2020-04-10T16:35:42.720Z] Commit message: "Merge pull request #481 from hahattan/issue-466" [2020-04-10T16:35:43.089Z] 8a11ddd9e578: Pull complete [2020-04-10T16:35:43.089Z] 4cf88f913ddb: Pull complete [2020-04-10T16:35:43.089Z] 1df406cf5192: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-10T16:35:43.627Z] ========================================================= [2020-04-10T16:35:43.627Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-10T16:35:43.627Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:35:44.363Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-04-10T16:35:44.625Z] Sending build context to Docker daemon 2.846MB [2020-04-10T16:35:44.625Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-10T16:35:44.625Z] Step 2/8 : FROM ${BASE} [2020-04-10T16:35:44.625Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-10T16:35:44.625Z] e6b0cf9c0882: Pulling fs layer [2020-04-10T16:35:44.625Z] 2848faf0eed1: Pulling fs layer [2020-04-10T16:35:44.625Z] 0f37312ad70f: Pulling fs layer [2020-04-10T16:35:44.625Z] 5788d62ee057: Pulling fs layer [2020-04-10T16:35:44.625Z] 0e6b1d234666: Pulling fs layer [2020-04-10T16:35:44.625Z] bf5d7aec512f: Pulling fs layer [2020-04-10T16:35:44.625Z] 34c802a77dc8: Pulling fs layer [2020-04-10T16:35:44.625Z] 9eb99e56ec68: Pulling fs layer [2020-04-10T16:35:44.625Z] 27c7a5d97fbd: Pulling fs layer [2020-04-10T16:35:44.625Z] 5c102a31e300: Pulling fs layer [2020-04-10T16:35:44.625Z] dcfb455df0a1: Pulling fs layer [2020-04-10T16:35:44.625Z] 34c802a77dc8: Waiting [2020-04-10T16:35:44.625Z] 9eb99e56ec68: Waiting [2020-04-10T16:35:44.625Z] 27c7a5d97fbd: Waiting [2020-04-10T16:35:44.625Z] 5c102a31e300: Waiting [2020-04-10T16:35:44.625Z] 5788d62ee057: Waiting [2020-04-10T16:35:44.625Z] dcfb455df0a1: Waiting [2020-04-10T16:35:44.625Z] bf5d7aec512f: Waiting [2020-04-10T16:35:44.625Z] 0f37312ad70f: Download complete [2020-04-10T16:35:44.625Z] 2848faf0eed1: Download complete [2020-04-10T16:35:44.625Z] 0e6b1d234666: Download complete [2020-04-10T16:35:44.886Z] bf5d7aec512f: Download complete [2020-04-10T16:35:44.886Z] e6b0cf9c0882: Verifying Checksum [2020-04-10T16:35:44.886Z] e6b0cf9c0882: Download complete [2020-04-10T16:35:45.144Z] e6b0cf9c0882: Pull complete [2020-04-10T16:35:45.144Z] 2848faf0eed1: Pull complete [2020-04-10T16:35:45.406Z] 0f37312ad70f: Pull complete [2020-04-10T16:35:45.670Z] 34c802a77dc8: Verifying Checksum [2020-04-10T16:35:45.670Z] 34c802a77dc8: Download complete [2020-04-10T16:35:45.939Z] 27c7a5d97fbd: Verifying Checksum [2020-04-10T16:35:45.939Z] 27c7a5d97fbd: Download complete [2020-04-10T16:35:46.209Z] 5c102a31e300: Verifying Checksum [2020-04-10T16:35:46.209Z] 5c102a31e300: Download complete [2020-04-10T16:35:46.477Z] dcfb455df0a1: Verifying Checksum [2020-04-10T16:35:46.477Z] dcfb455df0a1: Download complete [2020-04-10T16:35:46.744Z] 5788d62ee057: Verifying Checksum [2020-04-10T16:35:46.744Z] 5788d62ee057: Download complete [2020-04-10T16:35:46.744Z] 9eb99e56ec68: Verifying Checksum [2020-04-10T16:35:46.744Z] 9eb99e56ec68: Download complete [2020-04-10T16:35:47.348Z] cd6300453558: Pull complete [2020-04-10T16:35:51.605Z] b9c365052c96: Pull complete [2020-04-10T16:35:51.871Z] a2d8cc88f415: Pull complete [2020-04-10T16:35:53.322Z] 5788d62ee057: Pull complete [2020-04-10T16:35:53.322Z] 0e6b1d234666: Pull complete [2020-04-10T16:35:53.322Z] bf5d7aec512f: Pull complete [2020-04-10T16:35:54.454Z] ea1d1ca13537: Pull complete [2020-04-10T16:35:54.454Z] 3750a50a1c5e: Pull complete [2020-04-10T16:35:54.454Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-10T16:35:54.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-10T16:35:54.454Z] ---> 78745c68409d [2020-04-10T16:35:54.454Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:35:57.524Z] 34c802a77dc8: Pull complete [2020-04-10T16:35:59.791Z] ---> Running in f5b5e79ce4e4 [2020-04-10T16:35:59.791Z] Removing intermediate container f5b5e79ce4e4 [2020-04-10T16:35:59.791Z] ---> ab4cd8aa38bb [2020-04-10T16:35:59.791Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T16:35:59.791Z] ---> Running in 23a338874684 [2020-04-10T16:36:00.828Z] 9eb99e56ec68: Pull complete [2020-04-10T16:36:00.829Z] 27c7a5d97fbd: Pull complete [2020-04-10T16:36:01.426Z] 5c102a31e300: Pull complete [2020-04-10T16:36:01.691Z] dcfb455df0a1: Pull complete [2020-04-10T16:36:01.691Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-10T16:36:01.691Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-10T16:36:01.691Z] ---> 7c70fe431013 [2020-04-10T16:36:01.691Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:36:01.691Z] ---> Running in 1604157e2ca3 [2020-04-10T16:36:01.739Z] Removing intermediate container 23a338874684 [2020-04-10T16:36:01.739Z] ---> c73cf97e9569 [2020-04-10T16:36:01.739Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-10T16:36:01.739Z] ---> Running in 7c803a971642 [2020-04-10T16:36:01.950Z] Removing intermediate container 1604157e2ca3 [2020-04-10T16:36:01.950Z] ---> 423ae6639456 [2020-04-10T16:36:01.950Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T16:36:01.950Z] ---> Running in f03a7cc5b8ff [2020-04-10T16:36:02.329Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-10T16:36:03.292Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-10T16:36:03.328Z] Removing intermediate container f03a7cc5b8ff [2020-04-10T16:36:03.328Z] ---> 83c7efffaf93 [2020-04-10T16:36:03.328Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-10T16:36:03.328Z] ---> Running in d5d7be85ae46 [2020-04-10T16:36:03.880Z] OK: 125 MiB in 39 packages [2020-04-10T16:36:03.895Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-10T16:36:04.462Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-10T16:36:04.722Z] OK: 143 MiB in 39 packages [2020-04-10T16:36:04.847Z] Removing intermediate container 7c803a971642 [2020-04-10T16:36:04.847Z] ---> 3baf10dd25e9 [2020-04-10T16:36:04.847Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-10T16:36:05.121Z] ---> Running in f45aa29242e0 [2020-04-10T16:36:05.292Z] Removing intermediate container d5d7be85ae46 [2020-04-10T16:36:05.292Z] ---> 46d24eb7b413 [2020-04-10T16:36:05.292Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-10T16:36:05.292Z] ---> Running in 3deae18c9689 [2020-04-10T16:36:05.292Z] Removing intermediate container 3deae18c9689 [2020-04-10T16:36:05.292Z] ---> 5a78df33f8d7 [2020-04-10T16:36:05.292Z] Step 7/8 : COPY . . [2020-04-10T16:36:05.392Z] Removing intermediate container f45aa29242e0 [2020-04-10T16:36:05.392Z] ---> b9cdbf04f422 [2020-04-10T16:36:05.392Z] Step 7/8 : COPY . . [2020-04-10T16:36:05.860Z] ---> 1a926c4adb9b [2020-04-10T16:36:05.860Z] Step 8/8 : RUN go mod download [2020-04-10T16:36:05.860Z] ---> Running in 6dc134a1054f [2020-04-10T16:36:06.840Z] ---> e6b05085e62f [2020-04-10T16:36:06.840Z] Step 8/8 : RUN go mod download [2020-04-10T16:36:06.840Z] ---> Running in 5e4bac97108a [2020-04-10T16:36:07.773Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-10T16:36:07.773Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-10T16:36:07.773Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-10T16:36:07.773Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-10T16:36:07.773Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-10T16:36:07.773Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-10T16:36:07.773Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-10T16:36:07.773Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-10T16:36:07.773Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-10T16:36:08.033Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-10T16:36:08.033Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-10T16:36:08.033Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-10T16:36:08.033Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-10T16:36:08.033Z] go: finding github.com/fatih/color v1.7.0 [2020-04-10T16:36:08.033Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-10T16:36:08.033Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-10T16:36:08.033Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-10T16:36:08.033Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-10T16:36:08.033Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-10T16:36:08.033Z] go: finding github.com/google/uuid v1.1.0 [2020-04-10T16:36:08.033Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-10T16:36:08.033Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-10T16:36:08.033Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-10T16:36:08.033Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-10T16:36:08.033Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-10T16:36:08.033Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-10T16:36:08.033Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-10T16:36:08.033Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-10T16:36:08.033Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-10T16:36:08.033Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-10T16:36:08.033Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-10T16:36:08.033Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-10T16:36:08.033Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-10T16:36:08.033Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-10T16:36:08.033Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-10T16:36:08.033Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-10T16:36:08.033Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-10T16:36:08.033Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-10T16:36:08.033Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-10T16:36:08.033Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-10T16:36:08.033Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-10T16:36:08.294Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-10T16:36:08.294Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-10T16:36:08.294Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-10T16:36:08.294Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-10T16:36:08.294Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-10T16:36:08.294Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-10T16:36:08.294Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-10T16:36:08.294Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-10T16:36:08.294Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-10T16:36:08.294Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-10T16:36:08.294Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-10T16:36:08.294Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-10T16:36:08.294Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-10T16:36:08.294Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-10T16:36:08.294Z] go: finding github.com/posener/complete v1.1.1 [2020-04-10T16:36:08.294Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-10T16:36:08.294Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-10T16:36:08.294Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-10T16:36:08.294Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-10T16:36:08.294Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-10T16:36:08.294Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-10T16:36:08.294Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-10T16:36:08.294Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-10T16:36:08.294Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-10T16:36:08.294Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-10T16:36:08.294Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-10T16:36:08.294Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-10T16:36:08.789Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-10T16:36:08.789Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-10T16:36:08.789Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-10T16:36:08.789Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-10T16:36:08.789Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-10T16:36:08.789Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-10T16:36:08.789Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-10T16:36:08.789Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-10T16:36:08.789Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-10T16:36:08.789Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-10T16:36:08.789Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-10T16:36:08.789Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-10T16:36:08.789Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-10T16:36:08.789Z] go: finding github.com/fatih/color v1.7.0 [2020-04-10T16:36:08.789Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-10T16:36:08.789Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-10T16:36:08.789Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-10T16:36:08.789Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-10T16:36:08.789Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-10T16:36:08.789Z] go: finding github.com/google/uuid v1.1.0 [2020-04-10T16:36:08.789Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-10T16:36:08.789Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-10T16:36:08.789Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-10T16:36:08.789Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-10T16:36:08.789Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-10T16:36:08.789Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-10T16:36:08.789Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-10T16:36:08.789Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-10T16:36:08.789Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-10T16:36:09.056Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-10T16:36:09.057Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-10T16:36:09.057Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-10T16:36:09.057Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-10T16:36:09.057Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-10T16:36:09.057Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-10T16:36:09.057Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-10T16:36:09.057Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-10T16:36:09.057Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-10T16:36:09.057Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-10T16:36:09.057Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-10T16:36:09.057Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-10T16:36:09.057Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-10T16:36:09.057Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-10T16:36:09.057Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-10T16:36:09.057Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-10T16:36:09.057Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-10T16:36:09.057Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-10T16:36:09.057Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-10T16:36:09.057Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-10T16:36:09.057Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-10T16:36:09.057Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-10T16:36:09.057Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-10T16:36:09.057Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-10T16:36:09.057Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-10T16:36:09.057Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-10T16:36:09.057Z] go: finding github.com/posener/complete v1.1.1 [2020-04-10T16:36:09.057Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-10T16:36:09.323Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-10T16:36:09.323Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-10T16:36:09.323Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-10T16:36:09.323Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-10T16:36:09.323Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-10T16:36:09.323Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-10T16:36:09.324Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-10T16:36:09.324Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-10T16:36:09.324Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-10T16:36:09.324Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-10T16:36:09.324Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-10T16:36:13.612Z] Removing intermediate container 6dc134a1054f [2020-04-10T16:36:13.612Z] ---> e173e4c66c64 [2020-04-10T16:36:13.612Z] Successfully built e173e4c66c64 [2020-04-10T16:36:13.612Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:36:14.184Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-10T16:36:14.184Z] . [Pipeline] withDockerContainer [2020-04-10T16:36:14.309Z] prd-centos7-docker-4c-2g-3308 does not seem to be running inside a container [2020-04-10T16:36:14.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@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-04-10T16:36:14.994Z] $ docker top bae860ccdffb2e3f3dba79efc5c947e7114b07e9401c7f622f4f6cc936ff70b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-10T16:36:15.472Z] + go version [2020-04-10T16:36:15.472Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-10T16:36:15.775Z] + make test [2020-04-10T16:36:15.775Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-10T16:36:16.361Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-10T16:36:19.420Z] Removing intermediate container 5e4bac97108a [2020-04-10T16:36:19.420Z] ---> ed7e50d05b87 [2020-04-10T16:36:19.420Z] Successfully built ed7e50d05b87 [2020-04-10T16:36:19.421Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:36:20.014Z] + docker inspect -f . ci-base-image-arm64 [2020-04-10T16:36:20.283Z] . [Pipeline] withDockerContainer [2020-04-10T16:36:20.653Z] prd-ubuntu18.04-docker-arm64-4c-16g-3301 does not seem to be running inside a container [2020-04-10T16:36:20.738Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-10T16:36:22.127Z] $ docker top 68893b60362716324c8b560612a3e3a00e5ab3dc29a6137887b54887170f8589 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-10T16:36:23.234Z] + go version [2020-04-10T16:36:23.234Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-10T16:36:23.899Z] + make test [2020-04-10T16:36:23.899Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-10T16:36:25.322Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-10T16:36:26.405Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-10T16:36:26.405Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-10T16:36:27.787Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.005s coverage: 22.1% of statements [2020-04-10T16:36:33.084Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.041s coverage: 95.8% of statements [2020-04-10T16:36:52.065Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-10T16:36:52.065Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-10T16:36:54.674Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.017s coverage: 22.1% of statements [2020-04-10T16:36:58.037Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.172s coverage: 95.8% of statements [2020-04-10T16:36:59.639Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.073s coverage: 11.4% of statements [2020-04-10T16:36:59.639Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 22.7% of statements [2020-04-10T16:36:59.639Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-10T16:36:59.639Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.061s coverage: 38.5% of statements [2020-04-10T16:36:59.639Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-10T16:36:59.639Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-10T16:36:59.639Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.255s coverage: 79.8% of statements [2020-04-10T16:36:59.639Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-10T16:36:59.639Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-10T16:36:59.639Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-10T16:36:59.639Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.017s coverage: 52.6% of statements [2020-04-10T16:36:59.639Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-10T16:36:59.639Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.099s coverage: 76.1% of statements [2020-04-10T16:36:59.639Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-10T16:36:59.639Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-10T16:36:59.639Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-10T16:37:01.552Z] gofmt -l . [2020-04-10T16:37:01.812Z] [ "`gofmt -l .`" = "" ] [2020-04-10T16:37:01.812Z] ./bin/test-attribution-txt.sh [2020-04-10T16:37:02.382Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-10T16:37:03.029Z] Stashed 1 file(s) [Pipeline] } [2020-04-10T16:37:03.034Z] $ docker stop --time=1 bae860ccdffb2e3f3dba79efc5c947e7114b07e9401c7f622f4f6cc936ff70b7 [2020-04-10T16:37:04.475Z] $ docker rm -f bae860ccdffb2e3f3dba79efc5c947e7114b07e9401c7f622f4f6cc936ff70b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-10T16:37:05.747Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-10T16:37:06.037Z] + ls -al . [2020-04-10T16:37:06.037Z] total 160 [2020-04-10T16:37:06.037Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 10 16:37 . [2020-04-10T16:37:06.037Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 10 16:35 .. [2020-04-10T16:37:06.037Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 10 16:35 api [2020-04-10T16:37:06.037Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 10 16:35 bin [2020-04-10T16:37:06.037Z] -rw-r--r--. 1 jenkins jenkins 94997 Apr 10 16:36 coverage.out [2020-04-10T16:37:06.037Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 10 16:35 Dockerfile.build [2020-04-10T16:37:06.037Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 10 16:35 .dockerignore [2020-04-10T16:37:06.037Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 10 16:35 example [2020-04-10T16:37:06.037Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 10 16:35 .git [2020-04-10T16:37:06.037Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 10 16:35 .github [2020-04-10T16:37:06.037Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 10 16:35 .gitignore [2020-04-10T16:37:06.037Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 10 16:37 go.mod [2020-04-10T16:37:06.037Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 10 16:37 go.sum [2020-04-10T16:37:06.037Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 10 16:35 internal [2020-04-10T16:37:06.037Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 10 16:35 Jenkinsfile [2020-04-10T16:37:06.037Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 10 16:35 LICENSE [2020-04-10T16:37:06.037Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 10 16:35 Makefile [2020-04-10T16:37:06.037Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 10 16:35 pkg [2020-04-10T16:37:06.037Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 10 16:35 README.md [2020-04-10T16:37:06.037Z] drwxrwxr-x. 3 jenkins jenkins 44 Apr 10 16:35 .semver [2020-04-10T16:37:06.037Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 10 16:35 snap [2020-04-10T16:37:06.037Z] -rw-rw-r--. 1 jenkins jenkins 12 Apr 10 16:33 VERSION [2020-04-10T16:37:06.037Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 10 16:35 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:37:06.330Z] + 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=2059383c0ce7ecc5e89f6707ab815f97db38a92e --label arch=amd64 --label version=1.2.0-dev.19 . [2020-04-10T16:37:06.590Z] Sending build context to Docker daemon 2.962MB [2020-04-10T16:37:06.590Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-10T16:37:06.590Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-10T16:37:06.590Z] ---> e173e4c66c64 [2020-04-10T16:37:06.590Z] Step 3/21 : ARG MAKE='make build' [2020-04-10T16:37:06.590Z] ---> Running in c838b8caa8ba [2020-04-10T16:37:06.590Z] Removing intermediate container c838b8caa8ba [2020-04-10T16:37:06.590Z] ---> 81048f9b5c16 [2020-04-10T16:37:06.590Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-10T16:37:06.848Z] ---> Running in 070f4fb5626b [2020-04-10T16:37:06.848Z] Removing intermediate container 070f4fb5626b [2020-04-10T16:37:06.848Z] ---> c71707418e2c [2020-04-10T16:37:06.848Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:37:06.848Z] ---> Running in 918a9611a735 [2020-04-10T16:37:07.108Z] Removing intermediate container 918a9611a735 [2020-04-10T16:37:07.108Z] ---> 539d5d40d127 [2020-04-10T16:37:07.108Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T16:37:07.108Z] ---> Running in 6705cb581b0a [2020-04-10T16:37:08.045Z] Removing intermediate container 6705cb581b0a [2020-04-10T16:37:08.045Z] ---> 69fa9fb0d4b3 [2020-04-10T16:37:08.045Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-10T16:37:08.045Z] ---> Running in 32904ce6113b [2020-04-10T16:37:08.304Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-10T16:37:08.871Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-10T16:37:09.437Z] OK: 143 MiB in 39 packages [2020-04-10T16:37:09.696Z] Removing intermediate container 32904ce6113b [2020-04-10T16:37:09.696Z] ---> 617666678fc2 [2020-04-10T16:37:09.696Z] Step 8/21 : COPY . . [2020-04-10T16:37:09.954Z] ---> c5042351dad6 [2020-04-10T16:37:09.954Z] Step 9/21 : RUN ${MAKE} [2020-04-10T16:37:09.954Z] ---> Running in c65cba7ad1ab [2020-04-10T16:37:10.212Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.19" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-10T16:37:18.368Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-10T16:37:18.939Z] Removing intermediate container c65cba7ad1ab [2020-04-10T16:37:18.939Z] ---> d03c9d3a0eb4 [2020-04-10T16:37:18.939Z] Step 10/21 : FROM scratch [2020-04-10T16:37:18.939Z] ---> [2020-04-10T16:37:18.939Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:37:18.939Z] ---> Running in 0198376e6e53 [2020-04-10T16:37:19.200Z] Removing intermediate container 0198376e6e53 [2020-04-10T16:37:19.200Z] ---> dcf714b2d12e [2020-04-10T16:37:19.200Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-10T16:37:19.200Z] ---> Running in 2fb976c395cb [2020-04-10T16:37:19.200Z] Removing intermediate container 2fb976c395cb [2020-04-10T16:37:19.200Z] ---> 8882569696f1 [2020-04-10T16:37:19.200Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-10T16:37:19.458Z] ---> Running in f07141085dc5 [2020-04-10T16:37:19.459Z] Removing intermediate container f07141085dc5 [2020-04-10T16:37:19.459Z] ---> 39585660d4ce [2020-04-10T16:37:19.459Z] Step 14/21 : WORKDIR / [2020-04-10T16:37:19.459Z] ---> Running in 5585db7cf1a6 [2020-04-10T16:37:19.717Z] Removing intermediate container 5585db7cf1a6 [2020-04-10T16:37:19.717Z] ---> e7b7b18c8d0e [2020-04-10T16:37:19.717Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-10T16:37:19.975Z] ---> 1e4e62d1b79c [2020-04-10T16:37:19.975Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-10T16:37:20.234Z] ---> 6f4feef0df80 [2020-04-10T16:37:20.234Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-10T16:37:20.234Z] ---> 556b6f795f67 [2020-04-10T16:37:20.234Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-10T16:37:20.234Z] ---> Running in 724aaeec878c [2020-04-10T16:37:20.493Z] Removing intermediate container 724aaeec878c [2020-04-10T16:37:20.493Z] ---> 98c78b329e7a [2020-04-10T16:37:20.493Z] Step 19/21 : LABEL arch=amd64 [2020-04-10T16:37:20.493Z] ---> Running in e207561942b6 [2020-04-10T16:37:20.751Z] Removing intermediate container e207561942b6 [2020-04-10T16:37:20.751Z] ---> 67f5a2b09e94 [2020-04-10T16:37:20.751Z] Step 20/21 : LABEL git_sha=2059383c0ce7ecc5e89f6707ab815f97db38a92e [2020-04-10T16:37:20.751Z] ---> Running in dfea979c452a [2020-04-10T16:37:20.751Z] Removing intermediate container dfea979c452a [2020-04-10T16:37:20.751Z] ---> e34646217812 [2020-04-10T16:37:20.751Z] Step 21/21 : LABEL version=1.2.0-dev.19 [2020-04-10T16:37:20.751Z] ---> Running in 41c0bd2c962c [2020-04-10T16:37:21.009Z] Removing intermediate container 41c0bd2c962c [2020-04-10T16:37:21.009Z] ---> 2f5a7d366a49 [2020-04-10T16:37:21.009Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-10T16:37:21.009Z] Successfully built 2f5a7d366a49 [2020-04-10T16:37:21.009Z] 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-04-10T16:37:30.271Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.117s coverage: 11.4% of statements [2020-04-10T16:37:30.271Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.037s coverage: 22.7% of statements [2020-04-10T16:37:30.271Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-10T16:37:30.271Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.157s coverage: 38.5% of statements [2020-04-10T16:37:30.271Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-10T16:37:30.271Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-10T16:37:30.271Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.603s coverage: 79.8% of statements [2020-04-10T16:37:30.271Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-10T16:37:30.271Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-10T16:37:30.271Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-10T16:37:30.271Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.041s coverage: 52.6% of statements [2020-04-10T16:37:30.271Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-10T16:37:30.271Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.356s coverage: 76.1% of statements [2020-04-10T16:37:30.271Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-10T16:37:30.271Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-10T16:37:30.271Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-10T16:37:32.868Z] gofmt -l . [2020-04-10T16:37:32.868Z] [ "`gofmt -l .`" = "" ] [2020-04-10T16:37:33.136Z] ./bin/test-attribution-txt.sh [2020-04-10T16:37:34.103Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-10T16:37:34.388Z] Warning: overwriting stash ‘coverage-report’ [2020-04-10T16:37:34.876Z] Stashed 1 file(s) [Pipeline] } [2020-04-10T16:37:34.877Z] $ docker stop --time=1 68893b60362716324c8b560612a3e3a00e5ab3dc29a6137887b54887170f8589 [2020-04-10T16:37:37.226Z] $ docker rm -f 68893b60362716324c8b560612a3e3a00e5ab3dc29a6137887b54887170f8589 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-10T16:37:38.440Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-10T16:37:38.762Z] + ls -al . [2020-04-10T16:37:38.762Z] total 200 [2020-04-10T16:37:38.762Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 16:37 . [2020-04-10T16:37:38.762Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 16:35 .. [2020-04-10T16:37:38.762Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 16:35 .dockerignore [2020-04-10T16:37:38.762Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 16:35 .git [2020-04-10T16:37:38.762Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 16:35 .github [2020-04-10T16:37:38.762Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 10 16:35 .gitignore [2020-04-10T16:37:38.763Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 16:35 .semver [2020-04-10T16:37:38.763Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 10 16:35 Dockerfile.build [2020-04-10T16:37:38.763Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 10 16:35 Jenkinsfile [2020-04-10T16:37:38.763Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 16:35 LICENSE [2020-04-10T16:37:38.763Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 10 16:35 Makefile [2020-04-10T16:37:38.763Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 10 16:35 README.md [2020-04-10T16:37:38.763Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 16:33 VERSION [2020-04-10T16:37:38.763Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 16:35 api [2020-04-10T16:37:38.763Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 16:35 bin [2020-04-10T16:37:38.763Z] -rw-r--r-- 1 jenkins jenkins 94997 Apr 10 16:37 coverage.out [2020-04-10T16:37:38.763Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 16:35 example [2020-04-10T16:37:38.763Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 10 16:37 go.mod [2020-04-10T16:37:38.763Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 10 16:37 go.sum [2020-04-10T16:37:38.763Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 10 16:35 internal [2020-04-10T16:37:38.763Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 16:35 pkg [2020-04-10T16:37:38.763Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 16:35 snap [2020-04-10T16:37:38.763Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 16:35 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:37:39.097Z] + 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=2059383c0ce7ecc5e89f6707ab815f97db38a92e --label arch=arm64 --label version=1.2.0-dev.19 . [2020-04-10T16:37:39.688Z] Sending build context to Docker daemon 2.964MB [2020-04-10T16:37:39.688Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-10T16:37:39.688Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-10T16:37:39.688Z] ---> ed7e50d05b87 [2020-04-10T16:37:39.688Z] Step 3/21 : ARG MAKE='make build' [2020-04-10T16:37:39.688Z] ---> Running in 62fa3d862feb [2020-04-10T16:37:40.272Z] Removing intermediate container 62fa3d862feb [2020-04-10T16:37:40.273Z] ---> ec116b34e5b6 [2020-04-10T16:37:40.273Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-10T16:37:40.273Z] ---> Running in a2183d21cc82 [2020-04-10T16:37:40.859Z] Removing intermediate container a2183d21cc82 [2020-04-10T16:37:40.859Z] ---> 57a753aede44 [2020-04-10T16:37:40.859Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:37:40.859Z] ---> Running in 539e3a3a8251 [2020-04-10T16:37:41.127Z] Removing intermediate container 539e3a3a8251 [2020-04-10T16:37:41.127Z] ---> d686bb627ced [2020-04-10T16:37:41.127Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T16:37:41.394Z] ---> Running in 088e0f71a14d [2020-04-10T16:37:43.345Z] Removing intermediate container 088e0f71a14d [2020-04-10T16:37:43.345Z] ---> ac8697347180 [2020-04-10T16:37:43.345Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-10T16:37:43.345Z] ---> Running in 33373054cf0b [2020-04-10T16:37:44.309Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-10T16:37:44.893Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-10T16:37:45.860Z] OK: 125 MiB in 39 packages [2020-04-10T16:37:46.820Z] Removing intermediate container 33373054cf0b [2020-04-10T16:37:46.820Z] ---> 0af99b01103a [2020-04-10T16:37:46.820Z] Step 8/21 : COPY . . [2020-04-10T16:37:47.792Z] ---> 7eeb76e1d989 [2020-04-10T16:37:47.792Z] Step 9/21 : RUN ${MAKE} [2020-04-10T16:37:47.792Z] ---> Running in 49609e1febbd [2020-04-10T16:37:48.759Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.19" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-10T16:38:15.476Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-10T16:38:15.476Z] Removing intermediate container 49609e1febbd [2020-04-10T16:38:15.476Z] ---> 26a0ad4f2655 [2020-04-10T16:38:15.476Z] Step 10/21 : FROM scratch [2020-04-10T16:38:15.476Z] ---> [2020-04-10T16:38:15.476Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:38:15.476Z] ---> Running in 7ca895b305bd [2020-04-10T16:38:15.476Z] Removing intermediate container 7ca895b305bd [2020-04-10T16:38:15.476Z] ---> f060f132a8fc [2020-04-10T16:38:15.476Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-10T16:38:15.476Z] ---> Running in b1b45609e7f5 [2020-04-10T16:38:15.476Z] Removing intermediate container b1b45609e7f5 [2020-04-10T16:38:15.476Z] ---> e403418a5207 [2020-04-10T16:38:15.476Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-10T16:38:15.476Z] ---> Running in 0c0b9240dd7a [2020-04-10T16:38:15.744Z] Removing intermediate container 0c0b9240dd7a [2020-04-10T16:38:15.744Z] ---> 0eb9a75b3112 [2020-04-10T16:38:15.744Z] Step 14/21 : WORKDIR / [2020-04-10T16:38:15.744Z] ---> Running in 62b4fe636166 [2020-04-10T16:38:16.013Z] Removing intermediate container 62b4fe636166 [2020-04-10T16:38:16.013Z] ---> 659d21a8d627 [2020-04-10T16:38:16.013Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-10T16:38:16.977Z] ---> c47a57d9052e [2020-04-10T16:38:16.977Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-10T16:38:17.566Z] ---> 84f815179117 [2020-04-10T16:38:17.566Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-10T16:38:18.154Z] ---> f9adc10b2587 [2020-04-10T16:38:18.154Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-10T16:38:18.154Z] ---> Running in 228ebc9f10be [2020-04-10T16:38:18.421Z] Removing intermediate container 228ebc9f10be [2020-04-10T16:38:18.421Z] ---> a432cde5287d [2020-04-10T16:38:18.421Z] Step 19/21 : LABEL arch=arm64 [2020-04-10T16:38:18.689Z] ---> Running in 32ed47eaca44 [2020-04-10T16:38:18.958Z] Removing intermediate container 32ed47eaca44 [2020-04-10T16:38:18.958Z] ---> 2006d66eed67 [2020-04-10T16:38:18.958Z] Step 20/21 : LABEL git_sha=2059383c0ce7ecc5e89f6707ab815f97db38a92e [2020-04-10T16:38:19.225Z] ---> Running in b4e8f11a329c [2020-04-10T16:38:19.492Z] Removing intermediate container b4e8f11a329c [2020-04-10T16:38:19.492Z] ---> d9f6c085a4ec [2020-04-10T16:38:19.492Z] Step 21/21 : LABEL version=1.2.0-dev.19 [2020-04-10T16:38:19.492Z] ---> Running in a9877a4d429e [2020-04-10T16:38:19.759Z] Removing intermediate container a9877a4d429e [2020-04-10T16:38:19.759Z] ---> 75ab4f89a67b [2020-04-10T16:38:19.759Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-10T16:38:19.759Z] Successfully built 75ab4f89a67b [2020-04-10T16:38:20.027Z] 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-04-10T16:38:21.184Z] provisioning config files... [2020-04-10T16:38:21.195Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config856620547052935216tmp [Pipeline] { [Pipeline] sh [2020-04-10T16:38:21.549Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config856620547052935216tmp [2020-04-10T16:38:21.549Z] + curl -s https://codecov.io/bash [2020-04-10T16:38:21.808Z] [2020-04-10T16:38:21.808Z] _____ _ [2020-04-10T16:38:21.808Z] / ____| | | [2020-04-10T16:38:21.808Z] | | ___ __| | ___ ___ _____ __ [2020-04-10T16:38:21.808Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-10T16:38:21.808Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-10T16:38:21.808Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-10T16:38:21.808Z] Bash-20200410-0786dee [2020-04-10T16:38:21.808Z] [2020-04-10T16:38:21.808Z] [2020-04-10T16:38:21.808Z] ==> Jenkins CI detected. [2020-04-10T16:38:21.808Z] project root: . [2020-04-10T16:38:21.808Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-10T16:38:21.808Z] ==> Running gcov in . (disable via -X gcov) [2020-04-10T16:38:21.808Z] ==> Python coveragepy not found [2020-04-10T16:38:21.808Z] ==> Searching for coverage reports in: [2020-04-10T16:38:21.808Z] + . [2020-04-10T16:38:21.808Z] -> Found 1 reports [2020-04-10T16:38:21.808Z] ==> Detecting git/mercurial file structure [2020-04-10T16:38:21.808Z] ==> Reading reports [2020-04-10T16:38:21.808Z] + ./coverage.out bytes=94997 [2020-04-10T16:38:21.808Z] ==> Appending adjustments [2020-04-10T16:38:21.808Z] http://docs.codecov.io/docs/fixing-reports [2020-04-10T16:38:22.067Z] + Found adjustments [2020-04-10T16:38:22.067Z] ==> Gzipping contents [2020-04-10T16:38:22.326Z] ==> Uploading reports [2020-04-10T16:38:22.326Z] url: https://codecov.io [2020-04-10T16:38:22.326Z] query: branch=master&commit=2059383c0ce7ecc5e89f6707ab815f97db38a92e&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-10T16:38:22.326Z] -> Pinging Codecov [2020-04-10T16:38:22.326Z] https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=master&commit=2059383c0ce7ecc5e89f6707ab815f97db38a92e&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-04-10T16:38:22.584Z] -> Uploading [2020-04-10T16:38:23.152Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2059383c0ce7ecc5e89f6707ab815f97db38a92e [Pipeline] } [2020-04-10T16:38:23.158Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-04-10T16:38:23.490Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-04-10T16:38:23.491Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-04-10T16:38:23.536Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:38:23.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-10T16:38:23.921Z] [2020-04-10T16:38:23.921Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:38:24.283Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-04-10T16:38:24.283Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-04-10T16:38:24.283Z] e6b0cf9c0882: Pulling fs layer [2020-04-10T16:38:24.283Z] 2848faf0eed1: Pulling fs layer [2020-04-10T16:38:24.283Z] 0f37312ad70f: Pulling fs layer [2020-04-10T16:38:24.283Z] 7d08f2745646: Pulling fs layer [2020-04-10T16:38:24.283Z] 4c9f31393084: Pulling fs layer [2020-04-10T16:38:24.283Z] eb21ddb83652: Pulling fs layer [2020-04-10T16:38:24.283Z] 345998794f6b: Pulling fs layer [2020-04-10T16:38:24.283Z] 97a711d68925: Pulling fs layer [2020-04-10T16:38:24.283Z] 7c8476c1cb00: Pulling fs layer [2020-04-10T16:38:24.283Z] 4c9f31393084: Waiting [2020-04-10T16:38:24.283Z] eb21ddb83652: Waiting [2020-04-10T16:38:24.283Z] 345998794f6b: Waiting [2020-04-10T16:38:24.283Z] 7c8476c1cb00: Waiting [2020-04-10T16:38:24.283Z] 7d08f2745646: Waiting [2020-04-10T16:38:24.283Z] 0f37312ad70f: Download complete [2020-04-10T16:38:24.283Z] 2848faf0eed1: Verifying Checksum [2020-04-10T16:38:24.283Z] 2848faf0eed1: Download complete [2020-04-10T16:38:24.283Z] 4c9f31393084: Verifying Checksum [2020-04-10T16:38:24.283Z] 4c9f31393084: Download complete [2020-04-10T16:38:24.283Z] eb21ddb83652: Verifying Checksum [2020-04-10T16:38:24.283Z] eb21ddb83652: Download complete [2020-04-10T16:38:24.283Z] e6b0cf9c0882: Download complete [2020-04-10T16:38:24.547Z] 345998794f6b: Verifying Checksum [2020-04-10T16:38:24.547Z] 345998794f6b: Download complete [2020-04-10T16:38:24.819Z] e6b0cf9c0882: Pull complete [2020-04-10T16:38:25.089Z] 2848faf0eed1: Pull complete [2020-04-10T16:38:25.089Z] 7c8476c1cb00: Verifying Checksum [2020-04-10T16:38:25.089Z] 7c8476c1cb00: Download complete [2020-04-10T16:38:25.350Z] 97a711d68925: Verifying Checksum [2020-04-10T16:38:25.350Z] 97a711d68925: Download complete [2020-04-10T16:38:25.350Z] 0f37312ad70f: Pull complete [2020-04-10T16:38:26.291Z] 7d08f2745646: Verifying Checksum [2020-04-10T16:38:26.291Z] 7d08f2745646: Download complete [2020-04-10T16:38:32.866Z] 7d08f2745646: Pull complete [2020-04-10T16:38:32.866Z] 4c9f31393084: Pull complete [2020-04-10T16:38:32.866Z] eb21ddb83652: Pull complete [2020-04-10T16:38:34.243Z] 345998794f6b: Pull complete [2020-04-10T16:38:38.453Z] 97a711d68925: Pull complete [2020-04-10T16:38:38.453Z] 7c8476c1cb00: Pull complete [2020-04-10T16:38:38.453Z] Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 [2020-04-10T16:38:38.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-04-10T16:38:38.597Z] prd-centos7-docker-4c-2g-3300 does not seem to be running inside a container [2020-04-10T16:38:38.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/dgexfoundry_device-sdk-go_master:/ws -w /ws --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat [2020-04-10T16:38:39.209Z] $ docker top ef97ca07b05eca8df031a4ab05dba4f88ebbea7d4149da2ee2e1c0737d6929fd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-10T16:38:39.759Z] + snyk monitor '--org=edgex-jenkins' [2020-04-10T16:38:45.040Z] [2020-04-10T16:38:45.040Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... [2020-04-10T16:38:45.040Z] [2020-04-10T16:38:45.040Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/771ea2d0-3a40-4e37-8e82-a2d4b7b3698b [2020-04-10T16:38:45.040Z] [2020-04-10T16:38:45.040Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-04-10T16:38:45.040Z] [2020-04-10T16:38:45.040Z] [Pipeline] } [2020-04-10T16:38:45.051Z] $ docker stop --time=1 ef97ca07b05eca8df031a4ab05dba4f88ebbea7d4149da2ee2e1c0737d6929fd [2020-04-10T16:38:46.469Z] $ docker rm -f ef97ca07b05eca8df031a4ab05dba4f88ebbea7d4149da2ee2e1c0737d6929fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:38:47.628Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-10T16:38:47.629Z] . [Pipeline] withDockerContainer [2020-04-10T16:38:47.745Z] prd-centos7-docker-4c-2g-3300 does not seem to be running inside a container [2020-04-10T16:38:47.786Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-10T16:38:48.398Z] $ docker top 1b9064967bdb87b05b39f9e7d02c62a515256e33bccf88ae43ac82f868cd9f1e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-10T16:38:48.659Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-10T16:38:48.659Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-10T16:38:48.910Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-10T16:38:48.913Z] $ docker exec 1b9064967bdb87b05b39f9e7d02c62a515256e33bccf88ae43ac82f868cd9f1e ssh-agent [2020-04-10T16:38:49.095Z] SSH_AUTH_SOCK=/tmp/ssh-cqjwUwyIsU4N/agent.15 [2020-04-10T16:38:49.095Z] SSH_AGENT_PID=21 [2020-04-10T16:38:49.101Z] Running ssh-add (command line suppressed) [2020-04-10T16:38:49.244Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2304350994928172304.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2304350994928172304.key) [2020-04-10T16:38:49.302Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-10T16:38:49.656Z] + git semver tag [2020-04-10T16:38:49.656Z] # -> Open(): unable to determine branch for HEAD [2020-04-10T16:38:49.656Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-10T16:38:49.656Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-10T16:38:49.656Z] # $SEMVER_REMOTE_NAME = origin [2020-04-10T16:38:49.656Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-10T16:38:49.656Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-10T16:38:49.656Z] # $SEMVER_BRANCH = master [2020-04-10T16:38:49.656Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-10T16:38:49.656Z] # 2059383c0ce7ecc5e89f6707ab815f97db38a92e HEAD [2020-04-10T16:38:49.917Z] # -> Force: false [2020-04-10T16:38:49.917Z] # 96fd52075f58942033454b74a9142617e3bd5d65 refs/tags/v1.2.0-dev.19 [Pipeline] } [2020-04-10T16:38:49.926Z] $ docker exec --env ******** --env ******** 1b9064967bdb87b05b39f9e7d02c62a515256e33bccf88ae43ac82f868cd9f1e ssh-agent -k [2020-04-10T16:38:50.078Z] unset SSH_AUTH_SOCK; [2020-04-10T16:38:50.078Z] unset SSH_AGENT_PID; [2020-04-10T16:38:50.078Z] echo Agent pid 21 killed; [2020-04-10T16:38:50.118Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-10T16:38:50.558Z] + git semver [Pipeline] } [2020-04-10T16:38:50.572Z] $ docker stop --time=1 1b9064967bdb87b05b39f9e7d02c62a515256e33bccf88ae43ac82f868cd9f1e [2020-04-10T16:38:51.941Z] $ docker rm -f 1b9064967bdb87b05b39f9e7d02c62a515256e33bccf88ae43ac82f868cd9f1e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:38:52.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-10T16:38:52.552Z] [2020-04-10T16:38:52.552Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:38:52.888Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-04-10T16:38:52.888Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-04-10T16:38:52.888Z] ab5ef0e58194: Pulling fs layer [2020-04-10T16:38:52.888Z] 9712f1f96733: Pulling fs layer [2020-04-10T16:38:52.888Z] 63f879dbbcfc: Pulling fs layer [2020-04-10T16:38:52.888Z] 0d9ebad4ef96: Pulling fs layer [2020-04-10T16:38:52.888Z] e9a5061849ea: Pulling fs layer [2020-04-10T16:38:52.888Z] d747dcd14b5f: Pulling fs layer [2020-04-10T16:38:52.888Z] 2de7ff778b66: Pulling fs layer [2020-04-10T16:38:52.888Z] e9a5061849ea: Waiting [2020-04-10T16:38:52.888Z] 2de7ff778b66: Waiting [2020-04-10T16:38:52.888Z] d747dcd14b5f: Waiting [2020-04-10T16:38:52.888Z] 0d9ebad4ef96: Waiting [2020-04-10T16:38:52.888Z] 9712f1f96733: Verifying Checksum [2020-04-10T16:38:52.888Z] 9712f1f96733: Download complete [2020-04-10T16:38:53.469Z] 63f879dbbcfc: Verifying Checksum [2020-04-10T16:38:53.469Z] 63f879dbbcfc: Download complete [2020-04-10T16:38:53.730Z] e9a5061849ea: Verifying Checksum [2020-04-10T16:38:53.730Z] e9a5061849ea: Download complete [2020-04-10T16:38:53.730Z] d747dcd14b5f: Verifying Checksum [2020-04-10T16:38:53.730Z] d747dcd14b5f: Download complete [2020-04-10T16:38:53.730Z] 2de7ff778b66: Verifying Checksum [2020-04-10T16:38:53.730Z] 2de7ff778b66: Download complete [2020-04-10T16:38:53.990Z] 0d9ebad4ef96: Verifying Checksum [2020-04-10T16:38:53.990Z] 0d9ebad4ef96: Download complete [2020-04-10T16:38:54.249Z] ab5ef0e58194: Verifying Checksum [2020-04-10T16:38:54.249Z] ab5ef0e58194: Download complete [2020-04-10T16:38:59.537Z] ab5ef0e58194: Pull complete [2020-04-10T16:38:59.537Z] 9712f1f96733: Pull complete [2020-04-10T16:39:01.441Z] 63f879dbbcfc: Pull complete [2020-04-10T16:39:08.059Z] 0d9ebad4ef96: Pull complete [2020-04-10T16:39:08.317Z] e9a5061849ea: Pull complete [2020-04-10T16:39:08.317Z] d747dcd14b5f: Pull complete [2020-04-10T16:39:11.614Z] 2de7ff778b66: Pull complete [2020-04-10T16:39:11.614Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-04-10T16:39:11.614Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-04-10T16:39:11.747Z] prd-centos7-docker-4c-2g-3300 does not seem to be running inside a container [2020-04-10T16:39:11.794Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-04-10T16:39:13.412Z] $ docker top 85b62f1c5d61f87b2ee98f77b56c3cca9f82ea2a7d66c700898fe8c7a19bd12b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-04-10T16:39:13.659Z] provisioning config files... [2020-04-10T16:39:13.672Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6331874629862033492tmp [2020-04-10T16:39:13.701Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5738997366171980628tmp [2020-04-10T16:39:13.718Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config9117220707315036792tmp [Pipeline] { [Pipeline] echo [2020-04-10T16:39:13.765Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T16:39:14.059Z] ---> sigul-configuration.sh [2020-04-10T16:39:14.059Z] gpg: directory `/root/.gnupg' created [2020-04-10T16:39:14.059Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-04-10T16:39:14.059Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-04-10T16:39:14.059Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-04-10T16:39:14.059Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-04-10T16:39:14.059Z] gpg: CAST5 encrypted data [2020-04-10T16:39:14.318Z] gpg: encrypted with 1 passphrase [2020-04-10T16:39:14.318Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-04-10T16:39:14.607Z] + mkdir /home/jenkins [2020-04-10T16:39:14.608Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-04-10T16:39:14.902Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo [2020-04-10T16:39:14.910Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T16:39:15.201Z] ---> sigul-install.sh [2020-04-10T16:39:23.323Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-04-10T16:39:23.639Z] + git tag --list [2020-04-10T16:39:23.639Z] v1.2.0-dev.19 [Pipeline] sh [2020-04-10T16:39:23.974Z] + lftools sign git-tag v1.2.0-dev.19 [2020-04-10T16:39:24.917Z] Signing Git tag with Sigul... [2020-04-10T16:39:24.917Z] Signing v1.2.0-dev.19 [Pipeline] echo [2020-04-10T16:39:26.303Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T16:39:26.598Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-04-10T16:39:26.605Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-04-10T16:39:26.693Z] $ docker stop --time=1 85b62f1c5d61f87b2ee98f77b56c3cca9f82ea2a7d66c700898fe8c7a19bd12b [2020-04-10T16:39:28.138Z] $ docker rm -f 85b62f1c5d61f87b2ee98f77b56c3cca9f82ea2a7d66c700898fe8c7a19bd12b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:39:28.881Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-10T16:39:28.881Z] . [Pipeline] withDockerContainer [2020-04-10T16:39:29.004Z] prd-centos7-docker-4c-2g-3300 does not seem to be running inside a container [2020-04-10T16:39:29.047Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-10T16:39:29.636Z] $ docker top 10089dee51ad4dc5d0be0eb0cc0dc9d9f6c18f5fb7af6bb173cb17c2c85d05d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-10T16:39:29.901Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-10T16:39:29.901Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-10T16:39:30.110Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-10T16:39:30.113Z] $ docker exec 10089dee51ad4dc5d0be0eb0cc0dc9d9f6c18f5fb7af6bb173cb17c2c85d05d4 ssh-agent [2020-04-10T16:39:30.285Z] SSH_AUTH_SOCK=/tmp/ssh-bqo2FhCVGB1x/agent.15 [2020-04-10T16:39:30.285Z] SSH_AGENT_PID=22 [2020-04-10T16:39:30.292Z] Running ssh-add (command line suppressed) [2020-04-10T16:39:30.435Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6829161512506161693.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6829161512506161693.key) [2020-04-10T16:39:30.484Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-10T16:39:30.822Z] + git semver bump pre [2020-04-10T16:39:30.822Z] # -> Open(): unable to determine branch for HEAD [2020-04-10T16:39:30.822Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-10T16:39:30.822Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-10T16:39:30.822Z] # $SEMVER_REMOTE_NAME = origin [2020-04-10T16:39:30.822Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-10T16:39:30.822Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-10T16:39:30.822Z] # $SEMVER_BRANCH = master [2020-04-10T16:39:30.822Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-04-10T16:39:30.822Z] 1.2.0-dev.20 [Pipeline] } [2020-04-10T16:39:30.830Z] $ docker exec --env ******** --env ******** 10089dee51ad4dc5d0be0eb0cc0dc9d9f6c18f5fb7af6bb173cb17c2c85d05d4 ssh-agent -k [2020-04-10T16:39:30.979Z] unset SSH_AUTH_SOCK; [2020-04-10T16:39:30.979Z] unset SSH_AGENT_PID; [2020-04-10T16:39:30.979Z] echo Agent pid 22 killed; [2020-04-10T16:39:31.033Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-10T16:39:31.540Z] + git semver [Pipeline] } [2020-04-10T16:39:31.553Z] $ docker stop --time=1 10089dee51ad4dc5d0be0eb0cc0dc9d9f6c18f5fb7af6bb173cb17c2c85d05d4 [2020-04-10T16:39:32.925Z] $ docker rm -f 10089dee51ad4dc5d0be0eb0cc0dc9d9f6c18f5fb7af6bb173cb17c2c85d05d4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:39:34.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-10T16:39:34.057Z] . [Pipeline] withDockerContainer [2020-04-10T16:39:34.171Z] prd-centos7-docker-4c-2g-3300 does not seem to be running inside a container [2020-04-10T16:39:34.210Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-10T16:39:34.835Z] $ docker top 5d1d8cf9e756a9360b3d93d3965ceb33a19089e72e24bd7eaec484a53334c689 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-10T16:39:35.157Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-10T16:39:35.157Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-10T16:39:35.387Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-10T16:39:35.390Z] $ docker exec 5d1d8cf9e756a9360b3d93d3965ceb33a19089e72e24bd7eaec484a53334c689 ssh-agent [2020-04-10T16:39:35.596Z] SSH_AUTH_SOCK=/tmp/ssh-Fdrv0zZ5mZsx/agent.15 [2020-04-10T16:39:35.596Z] SSH_AGENT_PID=22 [2020-04-10T16:39:35.603Z] Running ssh-add (command line suppressed) [2020-04-10T16:39:35.778Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8979972204413335457.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8979972204413335457.key) [2020-04-10T16:39:35.835Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-10T16:39:36.157Z] + git semver push [2020-04-10T16:39:36.157Z] # -> Open(): unable to determine branch for HEAD [2020-04-10T16:39:36.157Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-04-10T16:39:36.157Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-10T16:39:36.157Z] # $SEMVER_REMOTE_NAME = origin [2020-04-10T16:39:36.157Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-10T16:39:36.157Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-10T16:39:36.157Z] # $SEMVER_BRANCH = master [2020-04-10T16:39:36.157Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-04-10T16:39:42.728Z] $ docker exec --env ******** --env ******** 5d1d8cf9e756a9360b3d93d3965ceb33a19089e72e24bd7eaec484a53334c689 ssh-agent -k [2020-04-10T16:39:42.876Z] unset SSH_AUTH_SOCK; [2020-04-10T16:39:42.876Z] unset SSH_AGENT_PID; [2020-04-10T16:39:42.877Z] echo Agent pid 22 killed; [2020-04-10T16:39:42.916Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-10T16:39:43.405Z] + git semver [Pipeline] } [2020-04-10T16:39:43.418Z] $ docker stop --time=1 5d1d8cf9e756a9360b3d93d3965ceb33a19089e72e24bd7eaec484a53334c689 [2020-04-10T16:39:44.818Z] $ docker rm -f 5d1d8cf9e756a9360b3d93d3965ceb33a19089e72e24bd7eaec484a53334c689 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-04-10T16:39:45.663Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T16:39:46.219Z] ---> package-listing.sh [2020-04-10T16:39:46.219Z] ++ facter osfamily [2020-04-10T16:39:46.219Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-10T16:39:46.219Z] + OS_FAMILY=redhat [2020-04-10T16:39:46.219Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-04-10T16:39:46.219Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-10T16:39:46.219Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-10T16:39:46.219Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-10T16:39:46.219Z] + PACKAGES=/tmp/packages_start.txt [2020-04-10T16:39:46.219Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-10T16:39:46.219Z] + PACKAGES=/tmp/packages_end.txt [2020-04-10T16:39:46.219Z] + case "${OS_FAMILY}" in [2020-04-10T16:39:46.219Z] + rpm -qa [2020-04-10T16:39:46.219Z] + sort [2020-04-10T16:39:50.428Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-10T16:39:50.428Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-10T16:39:50.428Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-10T16:39:50.428Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-04-10T16:39:50.428Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-04-10T16:39:50.428Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:39:50.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-10T16:39:50.893Z] [2020-04-10T16:39:50.893Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:39:51.221Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-10T16:39:51.221Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-10T16:39:51.221Z] c9b1b535fdd9: Pulling fs layer [2020-04-10T16:39:51.221Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-10T16:39:51.221Z] 756a868c4378: Pulling fs layer [2020-04-10T16:39:51.221Z] 444b2fc9a129: Pulling fs layer [2020-04-10T16:39:51.221Z] ea15f1150254: Pulling fs layer [2020-04-10T16:39:51.221Z] 41b27a9f41bf: Pulling fs layer [2020-04-10T16:39:51.221Z] 28c525ee5125: Pulling fs layer [2020-04-10T16:39:51.221Z] 094b1ea09ed8: Pulling fs layer [2020-04-10T16:39:51.221Z] 138eaada9080: Pulling fs layer [2020-04-10T16:39:51.221Z] 0622d0fa9048: Pulling fs layer [2020-04-10T16:39:51.221Z] 28c525ee5125: Waiting [2020-04-10T16:39:51.221Z] 094b1ea09ed8: Waiting [2020-04-10T16:39:51.221Z] 138eaada9080: Waiting [2020-04-10T16:39:51.221Z] ea15f1150254: Waiting [2020-04-10T16:39:51.221Z] 0622d0fa9048: Waiting [2020-04-10T16:39:51.221Z] 41b27a9f41bf: Waiting [2020-04-10T16:39:51.221Z] 444b2fc9a129: Waiting [2020-04-10T16:39:51.221Z] 2cc5ad85d9ab: Download complete [2020-04-10T16:39:51.221Z] 444b2fc9a129: Verifying Checksum [2020-04-10T16:39:51.221Z] 444b2fc9a129: Download complete [2020-04-10T16:39:51.221Z] c9b1b535fdd9: Download complete [2020-04-10T16:39:51.485Z] ea15f1150254: Verifying Checksum [2020-04-10T16:39:51.485Z] ea15f1150254: Download complete [2020-04-10T16:39:51.485Z] 28c525ee5125: Verifying Checksum [2020-04-10T16:39:51.485Z] 28c525ee5125: Download complete [2020-04-10T16:39:51.752Z] c9b1b535fdd9: Pull complete [2020-04-10T16:39:52.012Z] 756a868c4378: Verifying Checksum [2020-04-10T16:39:52.012Z] 756a868c4378: Download complete [2020-04-10T16:39:52.012Z] 094b1ea09ed8: Verifying Checksum [2020-04-10T16:39:52.012Z] 094b1ea09ed8: Download complete [2020-04-10T16:39:52.012Z] 0622d0fa9048: Verifying Checksum [2020-04-10T16:39:52.012Z] 0622d0fa9048: Download complete [2020-04-10T16:39:52.273Z] 138eaada9080: Verifying Checksum [2020-04-10T16:39:52.273Z] 138eaada9080: Download complete [2020-04-10T16:39:52.536Z] 41b27a9f41bf: Verifying Checksum [2020-04-10T16:39:52.536Z] 41b27a9f41bf: Download complete [2020-04-10T16:39:53.103Z] 2cc5ad85d9ab: Pull complete [2020-04-10T16:39:55.020Z] 756a868c4378: Pull complete [2020-04-10T16:39:55.020Z] 444b2fc9a129: Pull complete [2020-04-10T16:39:55.956Z] ea15f1150254: Pull complete [2020-04-10T16:40:00.155Z] 41b27a9f41bf: Pull complete [2020-04-10T16:40:00.155Z] 28c525ee5125: Pull complete [2020-04-10T16:40:02.711Z] 094b1ea09ed8: Pull complete [2020-04-10T16:40:02.978Z] 138eaada9080: Pull complete [2020-04-10T16:40:02.978Z] 0622d0fa9048: Pull complete [2020-04-10T16:40:02.978Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-10T16:40:02.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-10T16:40:03.113Z] prd-centos7-docker-4c-2g-3300 does not seem to be running inside a container [2020-04-10T16:40:03.160Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-10T16:40:03.725Z] $ docker top 3a3bcb590a027157e8bd2100a245ce222c77c7a7d088d2282a6e99dfab314ba6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-10T16:40:03.974Z] provisioning config files... [2020-04-10T16:40:04.115Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8592933687677676981tmp [Pipeline] { [Pipeline] echo [2020-04-10T16:40:04.160Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T16:40:04.453Z] ---> create-netrc.sh [Pipeline] echo [2020-04-10T16:40:04.460Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T16:40:04.753Z] ---> logs-deploy.sh [2020-04-10T16:40:04.753Z] + ARCHIVE_ARTIFACTS= [2020-04-10T16:40:04.753Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-10T16:40:04.753Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-10T16:40:04.753Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-10T16:40:04.753Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/19 [2020-04-10T16:40:04.753Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/19/ [2020-04-10T16:40:04.753Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/19 /w/workspace/dgexfoundry_device-sdk-go_master [2020-04-10T16:40:06.134Z] Archives upload complete. [2020-04-10T16:40:06.134Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/19 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/19/