Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 216cade7f2e553cd85bebefedf8dad939aae0897 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-1362 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision 216cade7f2e553cd85bebefedf8dad939aae0897 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 216cade7f2e553cd85bebefedf8dad939aae0897 # timeout=10 Commit message: "Merge pull request #429 from IOTechSystems/issue-371" > git rev-list --no-walk 5e086035fd190758fe582ba093e57a486efc0f6b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-30T14:33:48.813Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:33:50.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-30T14:33:50.927Z] [2020-03-30T14:33:50.927Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:33:51.277Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-30T14:33:51.277Z] latest: Pulling from edgex-devops/git-semver [2020-03-30T14:33:51.277Z] 9123ac7c32f7: Pulling fs layer [2020-03-30T14:33:51.277Z] b8cc5d1170e3: Pulling fs layer [2020-03-30T14:33:51.277Z] 2924cbbf6a41: Pulling fs layer [2020-03-30T14:33:51.277Z] 93b08a4f1073: Pulling fs layer [2020-03-30T14:33:51.277Z] 93b08a4f1073: Waiting [2020-03-30T14:33:51.277Z] b8cc5d1170e3: Download complete [2020-03-30T14:33:51.537Z] 9123ac7c32f7: Verifying Checksum [2020-03-30T14:33:51.537Z] 9123ac7c32f7: Download complete [2020-03-30T14:33:51.538Z] 93b08a4f1073: Verifying Checksum [2020-03-30T14:33:51.538Z] 93b08a4f1073: Download complete [2020-03-30T14:33:51.538Z] 2924cbbf6a41: Verifying Checksum [2020-03-30T14:33:51.538Z] 2924cbbf6a41: Download complete [2020-03-30T14:33:51.796Z] 9123ac7c32f7: Pull complete [2020-03-30T14:33:52.054Z] b8cc5d1170e3: Pull complete [2020-03-30T14:33:52.623Z] 2924cbbf6a41: Pull complete [2020-03-30T14:33:52.881Z] 93b08a4f1073: Pull complete [2020-03-30T14:33:52.881Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-30T14:33:52.881Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-30T14:33:53.005Z] prd-centos7-docker-4c-2g-1362 does not seem to be running inside a container [2020-03-30T14:33:53.049Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-30T14:33:53.689Z] $ docker top 64cf49f36ceb1f4a3fa9efb04c6e272419992133b3054b94c8796f3798e10f98 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-30T14:33:53.957Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-30T14:33:53.957Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-30T14:33:54.172Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-30T14:33:54.176Z] $ docker exec 64cf49f36ceb1f4a3fa9efb04c6e272419992133b3054b94c8796f3798e10f98 ssh-agent [2020-03-30T14:33:54.359Z] SSH_AUTH_SOCK=/tmp/ssh-jEbP70gK7KBK/agent.15 [2020-03-30T14:33:54.359Z] SSH_AGENT_PID=21 [2020-03-30T14:33:54.369Z] Running ssh-add (command line suppressed) [2020-03-30T14:33:54.508Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6371281506125424451.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6371281506125424451.key) [2020-03-30T14:33:54.550Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-30T14:33:54.871Z] + git describe --exact-match --tags HEAD [2020-03-30T14:33:54.871Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-30T14:33:54.927Z] $ docker exec --env ******** --env ******** 64cf49f36ceb1f4a3fa9efb04c6e272419992133b3054b94c8796f3798e10f98 ssh-agent -k [2020-03-30T14:33:55.070Z] unset SSH_AUTH_SOCK; [2020-03-30T14:33:55.071Z] unset SSH_AGENT_PID; [2020-03-30T14:33:55.071Z] echo Agent pid 21 killed; [2020-03-30T14:33:55.113Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-30T14:33:55.188Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-30T14:33:55.188Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-30T14:33:55.262Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-30T14:33:55.262Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-30T14:33:55.445Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-30T14:33:55.450Z] $ docker exec 64cf49f36ceb1f4a3fa9efb04c6e272419992133b3054b94c8796f3798e10f98 ssh-agent [2020-03-30T14:33:55.622Z] SSH_AUTH_SOCK=/tmp/ssh-SB4Kt5COgQUU/agent.56 [2020-03-30T14:33:55.622Z] SSH_AGENT_PID=63 [2020-03-30T14:33:55.630Z] Running ssh-add (command line suppressed) [2020-03-30T14:33:55.767Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3582176977870712424.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3582176977870712424.key) [2020-03-30T14:33:55.807Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-30T14:33:56.139Z] + git semver init [2020-03-30T14:33:56.140Z] # -> Open(): unable to determine branch for HEAD [2020-03-30T14:33:56.140Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-03-30T14:33:56.140Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-03-30T14:33:56.140Z] # $SEMVER_REMOTE_NAME = origin [2020-03-30T14:33:56.140Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-30T14:33:56.140Z] # $SEMVER_USER_NAME = jenkins [2020-03-30T14:33:56.140Z] # $SEMVER_BRANCH = master [2020-03-30T14:33:56.140Z] # $SEMVER_TEMP = /tmp/semver-405360974 [2020-03-30T14:33:56.140Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-30T14:33:56.708Z] # '/tmp/semver-405360974' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-03-30T14:33:56.708Z] # -> Force: false [2020-03-30T14:33:56.708Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-03-30T14:33:56.718Z] $ docker exec --env ******** --env ******** 64cf49f36ceb1f4a3fa9efb04c6e272419992133b3054b94c8796f3798e10f98 ssh-agent -k [2020-03-30T14:33:56.883Z] unset SSH_AUTH_SOCK; [2020-03-30T14:33:56.884Z] unset SSH_AGENT_PID; [2020-03-30T14:33:56.884Z] echo Agent pid 63 killed; [2020-03-30T14:33:56.919Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-30T14:33:57.347Z] + git semver [Pipeline] } [2020-03-30T14:33:57.362Z] $ docker stop --time=1 64cf49f36ceb1f4a3fa9efb04c6e272419992133b3054b94c8796f3798e10f98 [2020-03-30T14:33:58.691Z] $ docker rm -f 64cf49f36ceb1f4a3fa9efb04c6e272419992133b3054b94c8796f3798e10f98 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-30T14:33:59.452Z] Stashed 29 file(s) [Pipeline] echo [2020-03-30T14:33:59.453Z] [edgeXSemver] initialized semver on version 1.2.0-dev.12 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-03-30T14:34:14.686Z] Still waiting to schedule task [2020-03-30T14:34:14.686Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1362’ [2020-03-30T14:34:14.688Z] Still waiting to schedule task [2020-03-30T14:34:14.688Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-03-30T14:36:11.337Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1363 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-03-30T14:36:11.439Z] Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout [2020-03-30T14:36:18.008Z] using credential edgex-jenkins-ssh [2020-03-30T14:36:18.060Z] Cloning the remote Git repository [2020-03-30T14:36:18.060Z] Cloning with configured refspecs honoured and without tags [2020-03-30T14:36:18.163Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-30T14:36:18.257Z] > git init /w/workspace/device-sdk-go/12 # timeout=10 [2020-03-30T14:36:18.378Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-30T14:36:18.387Z] > git --version # timeout=10 [2020-03-30T14:36:18.414Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-30T14:36:18.495Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-30T14:36:19.517Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-30T14:36:19.560Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-30T14:36:19.651Z] Fetching without tags [2020-03-30T14:36:20.181Z] Checking out Revision 216cade7f2e553cd85bebefedf8dad939aae0897 (master) [2020-03-30T14:36:19.612Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-30T14:36:19.667Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-30T14:36:19.668Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-30T14:36:19.680Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-30T14:36:20.206Z] > git config core.sparsecheckout # timeout=10 [2020-03-30T14:36:20.248Z] > git checkout -f 216cade7f2e553cd85bebefedf8dad939aae0897 # timeout=10 [2020-03-30T14:36:25.132Z] Commit message: "Merge pull request #429 from IOTechSystems/issue-371" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-30T14:36:26.264Z] ========================================================= [2020-03-30T14:36:26.264Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-30T14:36:26.264Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:36:27.537Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-03-30T14:36:28.520Z] Sending build context to Docker daemon 2.693MB [2020-03-30T14:36:28.520Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-30T14:36:28.520Z] Step 2/8 : FROM ${BASE} [2020-03-30T14:36:28.787Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-30T14:36:28.787Z] cde5963f3b93: Pulling fs layer [2020-03-30T14:36:28.787Z] 2a23fa8c16f7: Pulling fs layer [2020-03-30T14:36:28.787Z] 777b28850792: Pulling fs layer [2020-03-30T14:36:28.787Z] 8a11ddd9e578: Pulling fs layer [2020-03-30T14:36:28.787Z] 4cf88f913ddb: Pulling fs layer [2020-03-30T14:36:28.787Z] 1df406cf5192: Pulling fs layer [2020-03-30T14:36:28.787Z] cd6300453558: Pulling fs layer [2020-03-30T14:36:28.787Z] b9c365052c96: Pulling fs layer [2020-03-30T14:36:28.787Z] a2d8cc88f415: Pulling fs layer [2020-03-30T14:36:28.787Z] ea1d1ca13537: Pulling fs layer [2020-03-30T14:36:28.787Z] 3750a50a1c5e: Pulling fs layer [2020-03-30T14:36:28.787Z] cd6300453558: Waiting [2020-03-30T14:36:28.788Z] b9c365052c96: Waiting [2020-03-30T14:36:28.788Z] a2d8cc88f415: Waiting [2020-03-30T14:36:28.788Z] ea1d1ca13537: Waiting [2020-03-30T14:36:28.788Z] 3750a50a1c5e: Waiting [2020-03-30T14:36:28.788Z] 8a11ddd9e578: Waiting [2020-03-30T14:36:28.788Z] 1df406cf5192: Waiting [2020-03-30T14:36:28.788Z] 4cf88f913ddb: Waiting [2020-03-30T14:36:28.788Z] 777b28850792: Download complete [2020-03-30T14:36:29.057Z] 2a23fa8c16f7: Verifying Checksum [2020-03-30T14:36:29.057Z] 2a23fa8c16f7: Download complete [2020-03-30T14:36:29.057Z] 4cf88f913ddb: Verifying Checksum [2020-03-30T14:36:29.057Z] 4cf88f913ddb: Download complete [2020-03-30T14:36:29.057Z] 1df406cf5192: Download complete [2020-03-30T14:36:29.057Z] cde5963f3b93: Verifying Checksum [2020-03-30T14:36:29.057Z] cde5963f3b93: Download complete [2020-03-30T14:36:30.032Z] cde5963f3b93: Pull complete [2020-03-30T14:36:30.649Z] 2a23fa8c16f7: Pull complete [2020-03-30T14:36:30.919Z] 777b28850792: Pull complete [2020-03-30T14:36:33.519Z] cd6300453558: Verifying Checksum [2020-03-30T14:36:33.519Z] cd6300453558: Download complete [2020-03-30T14:36:33.519Z] a2d8cc88f415: Verifying Checksum [2020-03-30T14:36:33.519Z] a2d8cc88f415: Download complete [2020-03-30T14:36:36.124Z] ea1d1ca13537: Verifying Checksum [2020-03-30T14:36:36.124Z] ea1d1ca13537: Download complete [2020-03-30T14:36:36.124Z] 3750a50a1c5e: Verifying Checksum [2020-03-30T14:36:36.124Z] 3750a50a1c5e: Download complete [2020-03-30T14:36:38.719Z] b9c365052c96: Verifying Checksum [2020-03-30T14:36:38.719Z] b9c365052c96: Download complete [2020-03-30T14:36:39.263Z] Running on prd-centos7-docker-4c-2g-1364 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-03-30T14:36:39.302Z] Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout [2020-03-30T14:36:40.151Z] 8a11ddd9e578: Verifying Checksum [2020-03-30T14:36:40.151Z] 8a11ddd9e578: Download complete [2020-03-30T14:36:42.103Z] using credential edgex-jenkins-ssh [2020-03-30T14:36:42.145Z] Cloning the remote Git repository [2020-03-30T14:36:42.145Z] Cloning with configured refspecs honoured and without tags [2020-03-30T14:36:42.886Z] Fetching without tags [2020-03-30T14:36:42.175Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-30T14:36:42.212Z] > git init /w/workspace/device-sdk-go/12 # timeout=10 [2020-03-30T14:36:42.262Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-30T14:36:42.263Z] > git --version # timeout=10 [2020-03-30T14:36:42.270Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-30T14:36:42.295Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-30T14:36:42.860Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-30T14:36:42.869Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-30T14:36:42.878Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-30T14:36:43.274Z] Checking out Revision 216cade7f2e553cd85bebefedf8dad939aae0897 (master) [2020-03-30T14:36:42.891Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-30T14:36:42.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-30T14:36:42.896Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-30T14:36:43.283Z] > git config core.sparsecheckout # timeout=10 [2020-03-30T14:36:43.287Z] > git checkout -f 216cade7f2e553cd85bebefedf8dad939aae0897 # timeout=10 [2020-03-30T14:36:47.182Z] Commit message: "Merge pull request #429 from IOTechSystems/issue-371" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-30T14:36:47.933Z] ========================================================= [2020-03-30T14:36:47.933Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-30T14:36:47.933Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:36:48.625Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-03-30T14:36:48.895Z] Sending build context to Docker daemon 2.693MB [2020-03-30T14:36:48.895Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-30T14:36:48.895Z] Step 2/8 : FROM ${BASE} [2020-03-30T14:36:48.895Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-30T14:36:48.895Z] e6b0cf9c0882: Pulling fs layer [2020-03-30T14:36:48.895Z] 2848faf0eed1: Pulling fs layer [2020-03-30T14:36:48.895Z] 0f37312ad70f: Pulling fs layer [2020-03-30T14:36:48.895Z] 5788d62ee057: Pulling fs layer [2020-03-30T14:36:48.895Z] 0e6b1d234666: Pulling fs layer [2020-03-30T14:36:48.895Z] bf5d7aec512f: Pulling fs layer [2020-03-30T14:36:48.895Z] 34c802a77dc8: Pulling fs layer [2020-03-30T14:36:48.895Z] 9eb99e56ec68: Pulling fs layer [2020-03-30T14:36:48.895Z] 27c7a5d97fbd: Pulling fs layer [2020-03-30T14:36:48.895Z] 5c102a31e300: Pulling fs layer [2020-03-30T14:36:48.895Z] dcfb455df0a1: Pulling fs layer [2020-03-30T14:36:48.895Z] 34c802a77dc8: Waiting [2020-03-30T14:36:48.896Z] 9eb99e56ec68: Waiting [2020-03-30T14:36:48.896Z] 27c7a5d97fbd: Waiting [2020-03-30T14:36:48.896Z] 5c102a31e300: Waiting [2020-03-30T14:36:48.896Z] dcfb455df0a1: Waiting [2020-03-30T14:36:48.896Z] 5788d62ee057: Waiting [2020-03-30T14:36:48.896Z] 0e6b1d234666: Waiting [2020-03-30T14:36:48.896Z] 0f37312ad70f: Verifying Checksum [2020-03-30T14:36:48.896Z] 0f37312ad70f: Download complete [2020-03-30T14:36:48.896Z] 2848faf0eed1: Verifying Checksum [2020-03-30T14:36:48.896Z] 0e6b1d234666: Verifying Checksum [2020-03-30T14:36:48.896Z] 0e6b1d234666: Download complete [2020-03-30T14:36:48.896Z] bf5d7aec512f: Verifying Checksum [2020-03-30T14:36:48.896Z] bf5d7aec512f: Download complete [2020-03-30T14:36:48.896Z] e6b0cf9c0882: Verifying Checksum [2020-03-30T14:36:48.896Z] e6b0cf9c0882: Download complete [2020-03-30T14:36:49.478Z] e6b0cf9c0882: Pull complete [2020-03-30T14:36:49.747Z] 34c802a77dc8: Verifying Checksum [2020-03-30T14:36:49.747Z] 34c802a77dc8: Download complete [2020-03-30T14:36:49.747Z] 27c7a5d97fbd: Verifying Checksum [2020-03-30T14:36:49.747Z] 27c7a5d97fbd: Download complete [2020-03-30T14:36:50.321Z] 5c102a31e300: Download complete [2020-03-30T14:36:50.321Z] dcfb455df0a1: Verifying Checksum [2020-03-30T14:36:50.321Z] dcfb455df0a1: Download complete [2020-03-30T14:36:50.585Z] 9eb99e56ec68: Verifying Checksum [2020-03-30T14:36:50.586Z] 9eb99e56ec68: Download complete [2020-03-30T14:36:50.586Z] 5788d62ee057: Download complete [2020-03-30T14:36:51.153Z] 2848faf0eed1: Pull complete [2020-03-30T14:36:51.153Z] 0f37312ad70f: Pull complete [2020-03-30T14:36:52.500Z] 8a11ddd9e578: Pull complete [2020-03-30T14:36:52.500Z] 4cf88f913ddb: Pull complete [2020-03-30T14:36:52.500Z] 1df406cf5192: Pull complete [2020-03-30T14:36:56.442Z] 5788d62ee057: Pull complete [2020-03-30T14:36:56.442Z] 0e6b1d234666: Pull complete [2020-03-30T14:36:56.702Z] bf5d7aec512f: Pull complete [2020-03-30T14:36:56.773Z] cd6300453558: Pull complete [2020-03-30T14:37:01.063Z] b9c365052c96: Pull complete [2020-03-30T14:37:01.337Z] a2d8cc88f415: Pull complete [2020-03-30T14:37:03.293Z] 34c802a77dc8: Pull complete [2020-03-30T14:37:03.931Z] ea1d1ca13537: Pull complete [2020-03-30T14:37:03.931Z] 3750a50a1c5e: Pull complete [2020-03-30T14:37:03.931Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-30T14:37:03.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-30T14:37:03.931Z] ---> 78745c68409d [2020-03-30T14:37:03.931Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-30T14:37:07.537Z] 9eb99e56ec68: Pull complete [2020-03-30T14:37:07.537Z] 27c7a5d97fbd: Pull complete [2020-03-30T14:37:07.537Z] 5c102a31e300: Pull complete [2020-03-30T14:37:07.798Z] dcfb455df0a1: Pull complete [2020-03-30T14:37:07.798Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-30T14:37:07.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-30T14:37:07.798Z] ---> 7c70fe431013 [2020-03-30T14:37:07.798Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-30T14:37:07.798Z] ---> Running in 0d3076a3e689 [2020-03-30T14:37:08.058Z] Removing intermediate container 0d3076a3e689 [2020-03-30T14:37:08.058Z] ---> 02c7ec374667 [2020-03-30T14:37:08.058Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-30T14:37:08.058Z] ---> Running in 9780f2333443 [2020-03-30T14:37:08.185Z] ---> Running in a9cae768ca8b [2020-03-30T14:37:08.772Z] Removing intermediate container a9cae768ca8b [2020-03-30T14:37:08.772Z] ---> af7a171fb087 [2020-03-30T14:37:08.772Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-30T14:37:08.772Z] ---> Running in 4ea2d2b7cc9c [2020-03-30T14:37:08.999Z] Removing intermediate container 9780f2333443 [2020-03-30T14:37:08.999Z] ---> 5a3652f66b9e [2020-03-30T14:37:08.999Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-30T14:37:08.999Z] ---> Running in 18259b726ec0 [2020-03-30T14:37:09.941Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-30T14:37:10.509Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-30T14:37:10.732Z] Removing intermediate container 4ea2d2b7cc9c [2020-03-30T14:37:10.732Z] ---> e8a51b9cb965 [2020-03-30T14:37:10.732Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-30T14:37:10.767Z] OK: 143 MiB in 39 packages [2020-03-30T14:37:11.006Z] ---> Running in 9633e09221c5 [2020-03-30T14:37:11.336Z] Removing intermediate container 18259b726ec0 [2020-03-30T14:37:11.337Z] ---> 39b1aa3080ec [2020-03-30T14:37:11.337Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-30T14:37:11.337Z] ---> Running in a7d3bb0d53db [2020-03-30T14:37:11.337Z] Removing intermediate container a7d3bb0d53db [2020-03-30T14:37:11.337Z] ---> fe596a1e5102 [2020-03-30T14:37:11.337Z] Step 7/8 : COPY . . [2020-03-30T14:37:11.908Z] ---> 92b5f46078d3 [2020-03-30T14:37:11.908Z] Step 8/8 : RUN go mod download [2020-03-30T14:37:11.908Z] ---> Running in 1160aeac8a6a [2020-03-30T14:37:11.977Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-30T14:37:12.562Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-30T14:37:13.149Z] OK: 125 MiB in 39 packages [2020-03-30T14:37:14.447Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-30T14:37:14.447Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-30T14:37:14.447Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-30T14:37:14.447Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-30T14:37:14.447Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-30T14:37:14.447Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-30T14:37:14.447Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-30T14:37:14.447Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-30T14:37:14.447Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-30T14:37:14.447Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-30T14:37:14.447Z] go: finding github.com/fatih/color v1.7.0 [2020-03-30T14:37:14.447Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-30T14:37:14.447Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-30T14:37:14.447Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-30T14:37:14.447Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-30T14:37:14.447Z] go: finding github.com/google/uuid v1.1.0 [2020-03-30T14:37:14.447Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-30T14:37:14.566Z] Removing intermediate container 9633e09221c5 [2020-03-30T14:37:14.566Z] ---> 81fbbd060d95 [2020-03-30T14:37:14.566Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-30T14:37:14.566Z] ---> Running in b4ff9c7e64d6 [2020-03-30T14:37:14.706Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-30T14:37:14.706Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-30T14:37:14.706Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-30T14:37:14.706Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-30T14:37:14.706Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-30T14:37:14.706Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-30T14:37:14.835Z] Removing intermediate container b4ff9c7e64d6 [2020-03-30T14:37:14.835Z] ---> aea918d4876c [2020-03-30T14:37:14.835Z] Step 7/8 : COPY . . [2020-03-30T14:37:14.966Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-30T14:37:14.966Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-30T14:37:14.966Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-30T14:37:14.966Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-30T14:37:14.966Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-30T14:37:14.966Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-30T14:37:14.966Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-30T14:37:14.966Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-30T14:37:15.225Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-30T14:37:15.225Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-30T14:37:15.225Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-30T14:37:15.225Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-30T14:37:15.225Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-30T14:37:15.225Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-30T14:37:15.225Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-30T14:37:15.225Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-30T14:37:15.225Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-30T14:37:15.484Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-30T14:37:15.484Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-30T14:37:15.484Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-30T14:37:15.484Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-30T14:37:15.484Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-30T14:37:15.484Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-30T14:37:15.743Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-30T14:37:15.743Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-30T14:37:15.743Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-30T14:37:15.743Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-30T14:37:15.743Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-30T14:37:15.743Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-30T14:37:15.743Z] go: finding github.com/posener/complete v1.1.1 [2020-03-30T14:37:15.743Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-30T14:37:15.743Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-30T14:37:15.743Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-30T14:37:15.797Z] ---> 60b2072d014b [2020-03-30T14:37:15.797Z] Step 8/8 : RUN go mod download [2020-03-30T14:37:16.004Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-30T14:37:16.004Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-30T14:37:16.004Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-30T14:37:16.004Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-30T14:37:16.004Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-30T14:37:16.004Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-30T14:37:16.004Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-30T14:37:16.004Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-30T14:37:16.067Z] ---> Running in f5de82ec315f [2020-03-30T14:37:18.018Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-30T14:37:18.018Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-30T14:37:18.018Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-30T14:37:18.018Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-30T14:37:18.018Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-30T14:37:18.018Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-30T14:37:18.018Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-30T14:37:18.018Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-30T14:37:18.018Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-30T14:37:18.018Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-30T14:37:18.018Z] go: finding github.com/fatih/color v1.7.0 [2020-03-30T14:37:18.018Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-30T14:37:18.018Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-30T14:37:18.018Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-30T14:37:18.018Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-30T14:37:18.018Z] go: finding github.com/google/uuid v1.1.0 [2020-03-30T14:37:18.018Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-30T14:37:18.018Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-30T14:37:18.018Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-30T14:37:18.018Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-30T14:37:18.018Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-30T14:37:18.018Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-30T14:37:18.018Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-30T14:37:18.018Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-30T14:37:18.018Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-30T14:37:18.018Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-30T14:37:18.018Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-30T14:37:18.018Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-30T14:37:18.018Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-30T14:37:18.018Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-30T14:37:18.018Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-30T14:37:18.018Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-30T14:37:18.018Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-30T14:37:18.018Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-30T14:37:18.018Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-30T14:37:18.018Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-30T14:37:18.018Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-30T14:37:18.018Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-30T14:37:18.284Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-30T14:37:18.284Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-30T14:37:18.284Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-30T14:37:18.284Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-30T14:37:18.284Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-30T14:37:18.284Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-30T14:37:18.284Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-30T14:37:18.284Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-30T14:37:18.284Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-30T14:37:18.284Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-30T14:37:18.284Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-30T14:37:18.284Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-30T14:37:18.284Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-30T14:37:18.284Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-30T14:37:18.284Z] go: finding github.com/posener/complete v1.1.1 [2020-03-30T14:37:18.284Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-30T14:37:18.284Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-30T14:37:18.284Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-30T14:37:18.284Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-30T14:37:18.284Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-30T14:37:18.284Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-30T14:37:18.284Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-30T14:37:18.284Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-30T14:37:18.284Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-30T14:37:18.284Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-30T14:37:18.284Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-30T14:37:26.005Z] Removing intermediate container 1160aeac8a6a [2020-03-30T14:37:26.005Z] ---> 41528c7b8ace [2020-03-30T14:37:26.005Z] Successfully built 41528c7b8ace [2020-03-30T14:37:26.005Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:37:26.577Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-30T14:37:26.577Z] . [Pipeline] withDockerContainer [2020-03-30T14:37:26.708Z] prd-centos7-docker-4c-2g-1364 does not seem to be running inside a container [2020-03-30T14:37:26.763Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-03-30T14:37:27.314Z] $ docker top 685d9a5de2a606dc4aa8d623e4665c47ae5be14cd359b36b54e46a7fe95564be -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-30T14:37:27.785Z] + go version [2020-03-30T14:37:27.785Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-30T14:37:28.081Z] + make test [2020-03-30T14:37:28.081Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-30T14:37:33.307Z] Removing intermediate container f5de82ec315f [2020-03-30T14:37:33.307Z] ---> 3bb5f9785483 [2020-03-30T14:37:33.307Z] Successfully built 3bb5f9785483 [2020-03-30T14:37:33.307Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:37:33.949Z] + docker inspect -f . ci-base-image-arm64 [2020-03-30T14:37:34.218Z] . [Pipeline] withDockerContainer [2020-03-30T14:37:34.546Z] prd-ubuntu18.04-docker-arm64-4c-16g-1363 does not seem to be running inside a container [2020-03-30T14:37:34.634Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-03-30T14:37:36.142Z] $ docker top 6690111d8bb95250246c90bff6dfa87a21aceb3c261ba3f78688fe9869bd9fc9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-30T14:37:37.222Z] + go version [2020-03-30T14:37:37.222Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-30T14:37:37.880Z] + make test [2020-03-30T14:37:37.880Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-30T14:37:46.240Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-30T14:37:46.240Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-30T14:37:46.240Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-30T14:37:48.170Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.035s coverage: 23.1% of statements [2020-03-30T14:37:48.745Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.057s coverage: 95.8% of statements [2020-03-30T14:37:52.045Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.158s coverage: 12.7% of statements [2020-03-30T14:37:52.045Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.014s coverage: 25.2% of statements [2020-03-30T14:38:16.806Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-30T14:38:16.806Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-30T14:38:16.806Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-30T14:38:16.806Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.026s coverage: 23.1% of statements [2020-03-30T14:38:17.402Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.235s coverage: 95.8% of statements [2020-03-30T14:38:22.790Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.048s coverage: 12.7% of statements [2020-03-30T14:38:22.790Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.026s coverage: 25.2% of statements [2020-03-30T14:38:24.159Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.016s coverage: 30.0% of statements [2020-03-30T14:38:24.159Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 1.313s coverage: 42.3% of statements [2020-03-30T14:38:24.159Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-30T14:38:24.159Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-30T14:38:24.159Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.558s coverage: 79.9% of statements [2020-03-30T14:38:24.159Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-30T14:38:24.159Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-30T14:38:24.159Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-30T14:38:24.159Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.125s coverage: 52.6% of statements [2020-03-30T14:38:24.159Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.097s coverage: 76.1% of statements [2020-03-30T14:38:24.159Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-30T14:38:24.159Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-30T14:38:24.159Z] gofmt -l . [2020-03-30T14:38:24.159Z] [ "`gofmt -l .`" = "" ] [2020-03-30T14:38:24.159Z] ./bin/test-attribution-txt.sh [2020-03-30T14:38:24.735Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-30T14:38:25.478Z] Stashed 1 file(s) [Pipeline] } [2020-03-30T14:38:25.484Z] $ docker stop --time=1 685d9a5de2a606dc4aa8d623e4665c47ae5be14cd359b36b54e46a7fe95564be [2020-03-30T14:38:26.975Z] $ docker rm -f 685d9a5de2a606dc4aa8d623e4665c47ae5be14cd359b36b54e46a7fe95564be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-30T14:38:28.272Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-30T14:38:28.576Z] + ls -al . [2020-03-30T14:38:28.576Z] total 200 [2020-03-30T14:38:28.576Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 30 14:38 . [2020-03-30T14:38:28.576Z] drwxrwxr-x. 4 jenkins jenkins 30 Mar 30 14:36 .. [2020-03-30T14:38:28.576Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 30 14:36 api [2020-03-30T14:38:28.576Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 30 14:36 async.go [2020-03-30T14:38:28.576Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 30 14:36 bin [2020-03-30T14:38:28.576Z] -rw-r--r--. 1 jenkins jenkins 100361 Mar 30 14:38 coverage.out [2020-03-30T14:38:28.576Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 30 14:36 Dockerfile.build [2020-03-30T14:38:28.576Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 30 14:36 .dockerignore [2020-03-30T14:38:28.576Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 30 14:36 example [2020-03-30T14:38:28.576Z] drwxrwxr-x. 8 jenkins jenkins 162 Mar 30 14:36 .git [2020-03-30T14:38:28.576Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 30 14:36 .github [2020-03-30T14:38:28.576Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 30 14:36 .gitignore [2020-03-30T14:38:28.576Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 30 14:38 go.mod [2020-03-30T14:38:28.576Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 30 14:38 go.sum [2020-03-30T14:38:28.576Z] drwxrwxr-x. 13 jenkins jenkins 176 Mar 30 14:36 internal [2020-03-30T14:38:28.576Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 30 14:36 Jenkinsfile [2020-03-30T14:38:28.576Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 30 14:36 LICENSE [2020-03-30T14:38:28.576Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 30 14:36 Makefile [2020-03-30T14:38:28.576Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 30 14:36 manageddevices.go [2020-03-30T14:38:28.576Z] -rw-rw-r--. 1 jenkins jenkins 5473 Mar 30 14:36 managedprofiles.go [2020-03-30T14:38:28.576Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 30 14:36 managedwatchers.go [2020-03-30T14:38:28.576Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 30 14:36 pkg [2020-03-30T14:38:28.576Z] -rw-rw-r--. 1 jenkins jenkins 2249 Mar 30 14:36 README.md [2020-03-30T14:38:28.576Z] drwxrwxr-x. 3 jenkins jenkins 44 Mar 30 14:36 .semver [2020-03-30T14:38:28.576Z] -rw-rw-r--. 1 jenkins jenkins 9817 Mar 30 14:36 service.go [2020-03-30T14:38:28.576Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 30 14:36 snap [2020-03-30T14:38:28.576Z] -rw-rw-r--. 1 jenkins jenkins 12 Mar 30 14:33 VERSION [2020-03-30T14:38:28.576Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 30 14:36 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:38:28.873Z] + 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=216cade7f2e553cd85bebefedf8dad939aae0897 --label arch=amd64 --label version=1.2.0-dev.12 . [2020-03-30T14:38:29.136Z] Sending build context to Docker daemon 2.82MB [2020-03-30T14:38:29.136Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-30T14:38:29.136Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-30T14:38:29.136Z] ---> 41528c7b8ace [2020-03-30T14:38:29.136Z] Step 3/20 : ARG MAKE='make build' [2020-03-30T14:38:29.136Z] ---> Running in 5fd02f85929e [2020-03-30T14:38:29.136Z] Removing intermediate container 5fd02f85929e [2020-03-30T14:38:29.136Z] ---> e2f07d681391 [2020-03-30T14:38:29.136Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-30T14:38:29.136Z] ---> Running in c67c6178b46c [2020-03-30T14:38:29.395Z] Removing intermediate container c67c6178b46c [2020-03-30T14:38:29.395Z] ---> a1b40ab3c69d [2020-03-30T14:38:29.395Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-30T14:38:29.395Z] ---> Running in f162e0a4a49e [2020-03-30T14:38:29.657Z] Removing intermediate container f162e0a4a49e [2020-03-30T14:38:29.657Z] ---> 0d774ef096b6 [2020-03-30T14:38:29.657Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-30T14:38:29.657Z] ---> Running in 8a78906daa49 [2020-03-30T14:38:30.232Z] Removing intermediate container 8a78906daa49 [2020-03-30T14:38:30.232Z] ---> d6fc04eb4f96 [2020-03-30T14:38:30.232Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-30T14:38:30.232Z] ---> Running in 525ebdf8eb2a [2020-03-30T14:38:30.803Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-30T14:38:31.372Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-30T14:38:31.632Z] OK: 143 MiB in 39 packages [2020-03-30T14:38:32.572Z] Removing intermediate container 525ebdf8eb2a [2020-03-30T14:38:32.572Z] ---> 2c51577ecd6d [2020-03-30T14:38:32.572Z] Step 8/20 : COPY . . [2020-03-30T14:38:32.832Z] ---> 0b9aae7ea585 [2020-03-30T14:38:32.832Z] Step 9/20 : RUN ${MAKE} [2020-03-30T14:38:33.096Z] ---> Running in 2a9ee66e4dee [2020-03-30T14:38:33.355Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.12" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-03-30T14:38:45.651Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-30T14:38:50.989Z] Removing intermediate container 2a9ee66e4dee [2020-03-30T14:38:50.989Z] ---> de4b9f5cdb04 [2020-03-30T14:38:50.989Z] Step 10/20 : FROM scratch [2020-03-30T14:38:50.989Z] ---> [2020-03-30T14:38:50.989Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-30T14:38:50.989Z] ---> Running in 05fdba77c4ce [2020-03-30T14:38:50.989Z] Removing intermediate container 05fdba77c4ce [2020-03-30T14:38:50.990Z] ---> f4b4d5b08df5 [2020-03-30T14:38:50.990Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-30T14:38:50.990Z] ---> Running in 61c4cb24fbe4 [2020-03-30T14:38:50.990Z] Removing intermediate container 61c4cb24fbe4 [2020-03-30T14:38:50.990Z] ---> dcd648d7b1c3 [2020-03-30T14:38:50.990Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-30T14:38:50.990Z] ---> Running in c640109f2089 [2020-03-30T14:38:50.990Z] Removing intermediate container c640109f2089 [2020-03-30T14:38:50.990Z] ---> d5c6090b6a99 [2020-03-30T14:38:50.990Z] Step 14/20 : WORKDIR / [2020-03-30T14:38:50.990Z] ---> Running in 1fc608881bbf [2020-03-30T14:38:50.990Z] Removing intermediate container 1fc608881bbf [2020-03-30T14:38:50.990Z] ---> e9763395faa7 [2020-03-30T14:38:50.990Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-30T14:38:51.249Z] ---> bbb81e863eb5 [2020-03-30T14:38:51.249Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-30T14:38:51.508Z] ---> 4ddabd58e7ad [2020-03-30T14:38:51.508Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-30T14:38:51.508Z] ---> Running in 34340f701715 [2020-03-30T14:38:51.508Z] Removing intermediate container 34340f701715 [2020-03-30T14:38:51.508Z] ---> 0badc1ff5e10 [2020-03-30T14:38:51.508Z] Step 18/20 : LABEL arch=amd64 [2020-03-30T14:38:51.508Z] ---> Running in 6e6aa4c99a36 [2020-03-30T14:38:51.769Z] Removing intermediate container 6e6aa4c99a36 [2020-03-30T14:38:51.769Z] ---> 10a50ea04242 [2020-03-30T14:38:51.769Z] Step 19/20 : LABEL git_sha=216cade7f2e553cd85bebefedf8dad939aae0897 [2020-03-30T14:38:51.769Z] ---> Running in a95126ef5104 [2020-03-30T14:38:52.029Z] Removing intermediate container a95126ef5104 [2020-03-30T14:38:52.029Z] ---> c3eb527b63eb [2020-03-30T14:38:52.029Z] Step 20/20 : LABEL version=1.2.0-dev.12 [2020-03-30T14:38:52.029Z] ---> Running in 054e6684e466 [2020-03-30T14:38:52.029Z] Removing intermediate container 054e6684e466 [2020-03-30T14:38:52.029Z] ---> f85e5e0c2188 [2020-03-30T14:38:52.029Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-30T14:38:52.029Z] Successfully built f85e5e0c2188 [2020-03-30T14:38:52.029Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-30T14:38:55.077Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.060s coverage: 30.0% of statements [2020-03-30T14:38:55.077Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.340s coverage: 42.3% of statements [2020-03-30T14:38:55.077Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-30T14:38:55.077Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-30T14:38:55.077Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.676s coverage: 79.9% of statements [2020-03-30T14:38:55.077Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-30T14:38:55.077Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-30T14:38:55.077Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-30T14:38:55.077Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.049s coverage: 52.6% of statements [2020-03-30T14:38:55.077Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.348s coverage: 76.1% of statements [2020-03-30T14:38:55.077Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-30T14:38:55.077Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-30T14:39:00.460Z] gofmt -l . [2020-03-30T14:39:00.460Z] [ "`gofmt -l .`" = "" ] [2020-03-30T14:39:01.049Z] ./bin/test-attribution-txt.sh [2020-03-30T14:39:01.639Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-30T14:39:01.919Z] Warning: overwriting stash ‘coverage-report’ [2020-03-30T14:39:02.381Z] Stashed 1 file(s) [Pipeline] } [2020-03-30T14:39:02.384Z] $ docker stop --time=1 6690111d8bb95250246c90bff6dfa87a21aceb3c261ba3f78688fe9869bd9fc9 [2020-03-30T14:39:04.595Z] $ docker rm -f 6690111d8bb95250246c90bff6dfa87a21aceb3c261ba3f78688fe9869bd9fc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-30T14:39:05.834Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-30T14:39:06.158Z] + ls -al . [2020-03-30T14:39:06.158Z] total 240 [2020-03-30T14:39:06.158Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 30 14:39 . [2020-03-30T14:39:06.158Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 14:36 .. [2020-03-30T14:39:06.158Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 30 14:36 .dockerignore [2020-03-30T14:39:06.158Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 14:36 .git [2020-03-30T14:39:06.158Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 14:36 .github [2020-03-30T14:39:06.158Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 30 14:36 .gitignore [2020-03-30T14:39:06.158Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 14:36 .semver [2020-03-30T14:39:06.158Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 30 14:36 Dockerfile.build [2020-03-30T14:39:06.158Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 30 14:36 Jenkinsfile [2020-03-30T14:39:06.158Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 30 14:36 LICENSE [2020-03-30T14:39:06.158Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 30 14:36 Makefile [2020-03-30T14:39:06.158Z] -rw-rw-r-- 1 jenkins jenkins 2249 Mar 30 14:36 README.md [2020-03-30T14:39:06.158Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 30 14:33 VERSION [2020-03-30T14:39:06.159Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 14:36 api [2020-03-30T14:39:06.159Z] -rw-rw-r-- 1 jenkins jenkins 3321 Mar 30 14:36 async.go [2020-03-30T14:39:06.159Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 14:36 bin [2020-03-30T14:39:06.159Z] -rw-r--r-- 1 jenkins jenkins 100361 Mar 30 14:38 coverage.out [2020-03-30T14:39:06.159Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 14:36 example [2020-03-30T14:39:06.159Z] -rw-r--r-- 1 jenkins jenkins 536 Mar 30 14:39 go.mod [2020-03-30T14:39:06.159Z] -rw-r--r-- 1 jenkins jenkins 11140 Mar 30 14:39 go.sum [2020-03-30T14:39:06.159Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 30 14:36 internal [2020-03-30T14:39:06.159Z] -rw-rw-r-- 1 jenkins jenkins 4352 Mar 30 14:36 manageddevices.go [2020-03-30T14:39:06.159Z] -rw-rw-r-- 1 jenkins jenkins 5473 Mar 30 14:36 managedprofiles.go [2020-03-30T14:39:06.159Z] -rw-rw-r-- 1 jenkins jenkins 3878 Mar 30 14:36 managedwatchers.go [2020-03-30T14:39:06.159Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 14:36 pkg [2020-03-30T14:39:06.159Z] -rw-rw-r-- 1 jenkins jenkins 9817 Mar 30 14:36 service.go [2020-03-30T14:39:06.159Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 14:36 snap [2020-03-30T14:39:06.159Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 30 14:36 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:39:06.493Z] + 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=216cade7f2e553cd85bebefedf8dad939aae0897 --label arch=arm64 --label version=1.2.0-dev.12 . [2020-03-30T14:39:07.082Z] Sending build context to Docker daemon 2.82MB [2020-03-30T14:39:07.082Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-30T14:39:07.082Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-30T14:39:07.082Z] ---> 3bb5f9785483 [2020-03-30T14:39:07.082Z] Step 3/20 : ARG MAKE='make build' [2020-03-30T14:39:07.082Z] ---> Running in 71b745c3bc2d [2020-03-30T14:39:07.351Z] Removing intermediate container 71b745c3bc2d [2020-03-30T14:39:07.351Z] ---> 5e82cfc21b50 [2020-03-30T14:39:07.351Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-30T14:39:07.619Z] ---> Running in ee317f0d3a23 [2020-03-30T14:39:07.886Z] Removing intermediate container ee317f0d3a23 [2020-03-30T14:39:07.886Z] ---> 6fc3c8329726 [2020-03-30T14:39:07.886Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-30T14:39:08.152Z] ---> Running in 8a5a80206242 [2020-03-30T14:39:08.426Z] Removing intermediate container 8a5a80206242 [2020-03-30T14:39:08.426Z] ---> fdb8cf87b4e6 [2020-03-30T14:39:08.426Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-30T14:39:08.426Z] ---> Running in e0c7169b7119 [2020-03-30T14:39:10.373Z] Removing intermediate container e0c7169b7119 [2020-03-30T14:39:10.373Z] ---> fffb48db90ed [2020-03-30T14:39:10.373Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-30T14:39:10.373Z] ---> Running in c31a5cbbf480 [2020-03-30T14:39:11.335Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-30T14:39:11.915Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-30T14:39:12.499Z] OK: 125 MiB in 39 packages [2020-03-30T14:39:13.474Z] Removing intermediate container c31a5cbbf480 [2020-03-30T14:39:13.474Z] ---> da712e5ac5ac [2020-03-30T14:39:13.474Z] Step 8/20 : COPY . . [2020-03-30T14:39:14.434Z] ---> 32fa0a2d9f1d [2020-03-30T14:39:14.434Z] Step 9/20 : RUN ${MAKE} [2020-03-30T14:39:14.701Z] ---> Running in 9d4e8ec9485a [2020-03-30T14:39:15.670Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.0-dev.12" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-03-30T14:39:54.600Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-30T14:40:06.984Z] Removing intermediate container 9d4e8ec9485a [2020-03-30T14:40:06.984Z] ---> ff8364a82cc7 [2020-03-30T14:40:06.984Z] Step 10/20 : FROM scratch [2020-03-30T14:40:06.984Z] ---> [2020-03-30T14:40:06.984Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-30T14:40:06.984Z] ---> Running in 81787a9ced5b [2020-03-30T14:40:06.984Z] Removing intermediate container 81787a9ced5b [2020-03-30T14:40:06.984Z] ---> ef78b8937ccc [2020-03-30T14:40:06.984Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-30T14:40:06.984Z] ---> Running in 1a4233f661ef [2020-03-30T14:40:06.984Z] Removing intermediate container 1a4233f661ef [2020-03-30T14:40:06.984Z] ---> 00dc2c7d5b6d [2020-03-30T14:40:06.984Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-30T14:40:06.984Z] ---> Running in 4bae7bb27cb7 [2020-03-30T14:40:06.984Z] Removing intermediate container 4bae7bb27cb7 [2020-03-30T14:40:06.984Z] ---> 1b8425facb76 [2020-03-30T14:40:06.984Z] Step 14/20 : WORKDIR / [2020-03-30T14:40:06.984Z] ---> Running in 118c2decb909 [2020-03-30T14:40:06.984Z] Removing intermediate container 118c2decb909 [2020-03-30T14:40:06.984Z] ---> f93ffa71ee66 [2020-03-30T14:40:06.984Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-30T14:40:08.399Z] ---> 39b80593f431 [2020-03-30T14:40:08.399Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-30T14:40:08.667Z] ---> ace8b18eacb5 [2020-03-30T14:40:08.667Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-30T14:40:08.934Z] ---> Running in 9311c635fabb [2020-03-30T14:40:09.200Z] Removing intermediate container 9311c635fabb [2020-03-30T14:40:09.200Z] ---> 32b6d14ac149 [2020-03-30T14:40:09.200Z] Step 18/20 : LABEL arch=arm64 [2020-03-30T14:40:09.468Z] ---> Running in d596867dc1dc [2020-03-30T14:40:09.737Z] Removing intermediate container d596867dc1dc [2020-03-30T14:40:09.737Z] ---> 7050ccd2481b [2020-03-30T14:40:09.737Z] Step 19/20 : LABEL git_sha=216cade7f2e553cd85bebefedf8dad939aae0897 [2020-03-30T14:40:09.737Z] ---> Running in 8c87dd0c1f76 [2020-03-30T14:40:10.005Z] Removing intermediate container 8c87dd0c1f76 [2020-03-30T14:40:10.005Z] ---> 82ec97463633 [2020-03-30T14:40:10.005Z] Step 20/20 : LABEL version=1.2.0-dev.12 [2020-03-30T14:40:10.271Z] ---> Running in d7dbf01cab42 [2020-03-30T14:40:10.538Z] Removing intermediate container d7dbf01cab42 [2020-03-30T14:40:10.538Z] ---> f3d6f8c29f4c [2020-03-30T14:40:10.538Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-30T14:40:10.538Z] Successfully built f3d6f8c29f4c [2020-03-30T14:40:10.538Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-03-30T14:40:11.587Z] provisioning config files... [2020-03-30T14:40:11.599Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3754933270580509617tmp [Pipeline] { [Pipeline] sh [2020-03-30T14:40:11.950Z] + curl -s https://codecov.io/bash [2020-03-30T14:40:11.950Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3754933270580509617tmp [2020-03-30T14:40:12.209Z] [2020-03-30T14:40:12.209Z] _____ _ [2020-03-30T14:40:12.209Z] / ____| | | [2020-03-30T14:40:12.209Z] | | ___ __| | ___ ___ _____ __ [2020-03-30T14:40:12.209Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-30T14:40:12.209Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-30T14:40:12.209Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-30T14:40:12.209Z] Bash-tbd [2020-03-30T14:40:12.209Z] [2020-03-30T14:40:12.209Z] [2020-03-30T14:40:12.209Z] ==> Jenkins CI detected. [2020-03-30T14:40:12.209Z] project root: . [2020-03-30T14:40:12.209Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-30T14:40:12.209Z] ==> Running gcov in . (disable via -X gcov) [2020-03-30T14:40:12.209Z] ==> Python coveragepy not found [2020-03-30T14:40:12.209Z] ==> Searching for coverage reports in: [2020-03-30T14:40:12.209Z] + . [2020-03-30T14:40:12.209Z] -> Found 1 reports [2020-03-30T14:40:12.209Z] ==> Detecting git/mercurial file structure [2020-03-30T14:40:12.209Z] ==> Reading reports [2020-03-30T14:40:12.209Z] + ./coverage.out bytes=100361 [2020-03-30T14:40:12.209Z] ==> Appending adjustments [2020-03-30T14:40:12.209Z] http://docs.codecov.io/docs/fixing-reports [2020-03-30T14:40:12.470Z] + Found adjustments [2020-03-30T14:40:12.470Z] ==> Gzipping contents [2020-03-30T14:40:12.470Z] ==> Uploading reports [2020-03-30T14:40:12.470Z] url: https://codecov.io [2020-03-30T14:40:12.470Z] query: branch=master&commit=216cade7f2e553cd85bebefedf8dad939aae0897&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-03-30T14:40:12.470Z] -> Pinging Codecov [2020-03-30T14:40:12.470Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=216cade7f2e553cd85bebefedf8dad939aae0897&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job= [2020-03-30T14:40:13.037Z] -> Uploading [2020-03-30T14:40:13.605Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/216cade7f2e553cd85bebefedf8dad939aae0897 [Pipeline] } [2020-03-30T14:40:13.612Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-03-30T14:40:13.928Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-03-30T14:40:13.929Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-03-30T14:40:13.974Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:40:14.371Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-03-30T14:40:14.371Z] [2020-03-30T14:40:14.371Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:40:14.705Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [2020-03-30T14:40:14.705Z] 1.217.3: Pulling from edgex-devops/edgex-snyk-go [2020-03-30T14:40:14.705Z] e6b0cf9c0882: Pulling fs layer [2020-03-30T14:40:14.705Z] 2848faf0eed1: Pulling fs layer [2020-03-30T14:40:14.705Z] 0f37312ad70f: Pulling fs layer [2020-03-30T14:40:14.705Z] 7d08f2745646: Pulling fs layer [2020-03-30T14:40:14.705Z] 4c9f31393084: Pulling fs layer [2020-03-30T14:40:14.705Z] eb21ddb83652: Pulling fs layer [2020-03-30T14:40:14.705Z] 345998794f6b: Pulling fs layer [2020-03-30T14:40:14.705Z] 97a711d68925: Pulling fs layer [2020-03-30T14:40:14.705Z] 7c8476c1cb00: Pulling fs layer [2020-03-30T14:40:14.705Z] 7d08f2745646: Waiting [2020-03-30T14:40:14.705Z] eb21ddb83652: Waiting [2020-03-30T14:40:14.705Z] 345998794f6b: Waiting [2020-03-30T14:40:14.705Z] 97a711d68925: Waiting [2020-03-30T14:40:14.705Z] 4c9f31393084: Waiting [2020-03-30T14:40:14.705Z] 7c8476c1cb00: Waiting [2020-03-30T14:40:14.705Z] 0f37312ad70f: Verifying Checksum [2020-03-30T14:40:14.705Z] 0f37312ad70f: Download complete [2020-03-30T14:40:14.705Z] 2848faf0eed1: Download complete [2020-03-30T14:40:14.705Z] 4c9f31393084: Download complete [2020-03-30T14:40:14.705Z] eb21ddb83652: Verifying Checksum [2020-03-30T14:40:14.705Z] eb21ddb83652: Download complete [2020-03-30T14:40:14.986Z] e6b0cf9c0882: Verifying Checksum [2020-03-30T14:40:14.986Z] e6b0cf9c0882: Download complete [2020-03-30T14:40:15.283Z] e6b0cf9c0882: Pull complete [2020-03-30T14:40:15.581Z] 345998794f6b: Verifying Checksum [2020-03-30T14:40:15.581Z] 345998794f6b: Download complete [2020-03-30T14:40:15.581Z] 2848faf0eed1: Pull complete [2020-03-30T14:40:15.868Z] 7c8476c1cb00: Verifying Checksum [2020-03-30T14:40:15.868Z] 7c8476c1cb00: Download complete [2020-03-30T14:40:15.868Z] 97a711d68925: Download complete [2020-03-30T14:40:15.868Z] 0f37312ad70f: Pull complete [2020-03-30T14:40:16.811Z] 7d08f2745646: Verifying Checksum [2020-03-30T14:40:16.811Z] 7d08f2745646: Download complete [2020-03-30T14:40:22.087Z] 7d08f2745646: Pull complete [2020-03-30T14:40:22.087Z] 4c9f31393084: Pull complete [2020-03-30T14:40:22.087Z] eb21ddb83652: Pull complete [2020-03-30T14:40:24.005Z] 345998794f6b: Pull complete [2020-03-30T14:40:27.317Z] 97a711d68925: Pull complete [2020-03-30T14:40:27.915Z] 7c8476c1cb00: Pull complete [2020-03-30T14:40:27.915Z] Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 [2020-03-30T14:40:27.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer [2020-03-30T14:40:28.086Z] prd-centos7-docker-4c-2g-1362 does not seem to be running inside a container [2020-03-30T14:40:28.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/dgexfoundry_device-sdk-go_master:/ws -w /ws --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat [2020-03-30T14:40:29.059Z] $ docker top 6afc06eb3eb3759c0f2cb09b7819e030f169efdf9e3950ed9b7fb29c7d4447ce -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-30T14:40:29.526Z] + snyk monitor '--org=edgex-jenkins' [2020-03-30T14:40:37.965Z] [2020-03-30T14:40:37.965Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master... [2020-03-30T14:40:37.965Z] [2020-03-30T14:40:37.965Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/83b8ee23-537d-4d5e-a717-b6e7b24f502c [2020-03-30T14:40:37.965Z] [2020-03-30T14:40:37.965Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-03-30T14:40:37.965Z] [2020-03-30T14:40:37.965Z] [Pipeline] } [2020-03-30T14:40:37.983Z] $ docker stop --time=1 6afc06eb3eb3759c0f2cb09b7819e030f169efdf9e3950ed9b7fb29c7d4447ce [2020-03-30T14:40:39.454Z] $ docker rm -f 6afc06eb3eb3759c0f2cb09b7819e030f169efdf9e3950ed9b7fb29c7d4447ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:40:41.754Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-30T14:40:41.754Z] . [Pipeline] withDockerContainer [2020-03-30T14:40:41.882Z] prd-centos7-docker-4c-2g-1362 does not seem to be running inside a container [2020-03-30T14:40:41.973Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-30T14:40:42.537Z] $ docker top 994a262f89de3145bb5ff0bedc1153faa5536b32b99329b9700538123ad4de5d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-30T14:40:42.804Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-30T14:40:42.804Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-30T14:40:43.028Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-30T14:40:43.033Z] $ docker exec 994a262f89de3145bb5ff0bedc1153faa5536b32b99329b9700538123ad4de5d ssh-agent [2020-03-30T14:40:43.224Z] SSH_AUTH_SOCK=/tmp/ssh-SkiohQwSKFxD/agent.14 [2020-03-30T14:40:43.224Z] SSH_AGENT_PID=21 [2020-03-30T14:40:43.233Z] Running ssh-add (command line suppressed) [2020-03-30T14:40:43.389Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_776518607323649929.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_776518607323649929.key) [2020-03-30T14:40:43.441Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-30T14:40:43.788Z] + git semver tag [2020-03-30T14:40:43.788Z] # -> Open(): unable to determine branch for HEAD [2020-03-30T14:40:43.788Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-03-30T14:40:43.788Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-03-30T14:40:43.788Z] # $SEMVER_REMOTE_NAME = origin [2020-03-30T14:40:43.788Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-30T14:40:43.788Z] # $SEMVER_USER_NAME = jenkins [2020-03-30T14:40:43.788Z] # $SEMVER_BRANCH = master [2020-03-30T14:40:43.788Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-03-30T14:40:43.788Z] # 216cade7f2e553cd85bebefedf8dad939aae0897 HEAD [2020-03-30T14:40:43.788Z] # -> Force: false [2020-03-30T14:40:43.788Z] # 6c8d8bc6589fc793cb51001b381d0af763e6e15c refs/tags/v1.2.0-dev.12 [Pipeline] } [2020-03-30T14:40:43.802Z] $ docker exec --env ******** --env ******** 994a262f89de3145bb5ff0bedc1153faa5536b32b99329b9700538123ad4de5d ssh-agent -k [2020-03-30T14:40:43.946Z] unset SSH_AUTH_SOCK; [2020-03-30T14:40:43.946Z] unset SSH_AGENT_PID; [2020-03-30T14:40:43.946Z] echo Agent pid 21 killed; [2020-03-30T14:40:43.986Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-30T14:40:44.428Z] + git semver [Pipeline] } [2020-03-30T14:40:44.463Z] $ docker stop --time=1 994a262f89de3145bb5ff0bedc1153faa5536b32b99329b9700538123ad4de5d [2020-03-30T14:40:45.823Z] $ docker rm -f 994a262f89de3145bb5ff0bedc1153faa5536b32b99329b9700538123ad4de5d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:40:46.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-03-30T14:40:46.418Z] [2020-03-30T14:40:46.418Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:40:46.759Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-03-30T14:40:46.759Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-03-30T14:40:46.759Z] ab5ef0e58194: Pulling fs layer [2020-03-30T14:40:46.759Z] 9712f1f96733: Pulling fs layer [2020-03-30T14:40:46.759Z] 63f879dbbcfc: Pulling fs layer [2020-03-30T14:40:46.759Z] 0d9ebad4ef96: Pulling fs layer [2020-03-30T14:40:46.759Z] e9a5061849ea: Pulling fs layer [2020-03-30T14:40:46.759Z] d747dcd14b5f: Pulling fs layer [2020-03-30T14:40:46.759Z] 2de7ff778b66: Pulling fs layer [2020-03-30T14:40:46.759Z] e9a5061849ea: Waiting [2020-03-30T14:40:46.759Z] d747dcd14b5f: Waiting [2020-03-30T14:40:46.759Z] 2de7ff778b66: Waiting [2020-03-30T14:40:46.759Z] 0d9ebad4ef96: Waiting [2020-03-30T14:40:46.759Z] 9712f1f96733: Verifying Checksum [2020-03-30T14:40:46.759Z] 9712f1f96733: Download complete [2020-03-30T14:40:47.741Z] 63f879dbbcfc: Verifying Checksum [2020-03-30T14:40:47.741Z] 63f879dbbcfc: Download complete [2020-03-30T14:40:48.003Z] e9a5061849ea: Verifying Checksum [2020-03-30T14:40:48.003Z] e9a5061849ea: Download complete [2020-03-30T14:40:48.003Z] d747dcd14b5f: Verifying Checksum [2020-03-30T14:40:48.003Z] d747dcd14b5f: Download complete [2020-03-30T14:40:48.003Z] ab5ef0e58194: Verifying Checksum [2020-03-30T14:40:48.003Z] ab5ef0e58194: Download complete [2020-03-30T14:40:48.003Z] 0d9ebad4ef96: Verifying Checksum [2020-03-30T14:40:48.003Z] 0d9ebad4ef96: Download complete [2020-03-30T14:40:48.270Z] 2de7ff778b66: Verifying Checksum [2020-03-30T14:40:48.270Z] 2de7ff778b66: Download complete [2020-03-30T14:40:52.486Z] ab5ef0e58194: Pull complete [2020-03-30T14:40:52.486Z] 9712f1f96733: Pull complete [2020-03-30T14:40:55.777Z] 63f879dbbcfc: Pull complete [2020-03-30T14:41:01.083Z] 0d9ebad4ef96: Pull complete [2020-03-30T14:41:01.083Z] e9a5061849ea: Pull complete [2020-03-30T14:41:01.083Z] d747dcd14b5f: Pull complete [2020-03-30T14:41:05.301Z] 2de7ff778b66: Pull complete [2020-03-30T14:41:05.301Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-03-30T14:41:05.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-03-30T14:41:05.441Z] prd-centos7-docker-4c-2g-1362 does not seem to be running inside a container [2020-03-30T14:41:05.494Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-03-30T14:41:06.976Z] $ docker top 028c6999188098472508dacaaaef1f2cf5e21e44aa9b129d59344fe14ab0d988 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-03-30T14:41:07.163Z] provisioning config files... [2020-03-30T14:41:07.177Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5033295142320031172tmp [2020-03-30T14:41:07.195Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3472234718880397539tmp [2020-03-30T14:41:07.218Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4083571575489677300tmp [Pipeline] { [Pipeline] echo [2020-03-30T14:41:07.278Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-30T14:41:07.576Z] ---> sigul-configuration.sh [2020-03-30T14:41:07.576Z] gpg: directory `/root/.gnupg' created [2020-03-30T14:41:07.576Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-03-30T14:41:07.576Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-03-30T14:41:07.576Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-03-30T14:41:07.576Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-03-30T14:41:07.576Z] gpg: CAST5 encrypted data [2020-03-30T14:41:07.836Z] gpg: encrypted with 1 passphrase [2020-03-30T14:41:07.836Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-03-30T14:41:08.135Z] + mkdir /home/jenkins [2020-03-30T14:41:08.135Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-03-30T14:41:08.439Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo [2020-03-30T14:41:08.447Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-30T14:41:08.741Z] ---> sigul-install.sh [2020-03-30T14:41:15.389Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-03-30T14:41:15.697Z] + git tag --list [2020-03-30T14:41:15.697Z] v1.2.0-dev.12 [Pipeline] sh [2020-03-30T14:41:15.997Z] + lftools sign git-tag v1.2.0-dev.12 [2020-03-30T14:41:16.934Z] Signing Git tag with Sigul... [2020-03-30T14:41:16.934Z] Signing v1.2.0-dev.12 [Pipeline] echo [2020-03-30T14:41:18.342Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-30T14:41:18.632Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-03-30T14:41:18.637Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-03-30T14:41:18.710Z] $ docker stop --time=1 028c6999188098472508dacaaaef1f2cf5e21e44aa9b129d59344fe14ab0d988 [2020-03-30T14:41:20.111Z] $ docker rm -f 028c6999188098472508dacaaaef1f2cf5e21e44aa9b129d59344fe14ab0d988 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:41:20.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-30T14:41:20.779Z] . [Pipeline] withDockerContainer [2020-03-30T14:41:20.906Z] prd-centos7-docker-4c-2g-1362 does not seem to be running inside a container [2020-03-30T14:41:20.960Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-30T14:41:21.573Z] $ docker top 99884d451248c4b02957fbe13ab364d66e40e4ec18ad5165f57b7912706a7c8d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-30T14:41:21.854Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-30T14:41:21.854Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-30T14:41:22.059Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-30T14:41:22.064Z] $ docker exec 99884d451248c4b02957fbe13ab364d66e40e4ec18ad5165f57b7912706a7c8d ssh-agent [2020-03-30T14:41:22.257Z] SSH_AUTH_SOCK=/tmp/ssh-6VvEi2raU3mw/agent.14 [2020-03-30T14:41:22.257Z] SSH_AGENT_PID=21 [2020-03-30T14:41:22.265Z] Running ssh-add (command line suppressed) [2020-03-30T14:41:22.408Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6862708135004964866.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6862708135004964866.key) [2020-03-30T14:41:22.459Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-30T14:41:22.789Z] + git semver bump pre [2020-03-30T14:41:22.789Z] # -> Open(): unable to determine branch for HEAD [2020-03-30T14:41:22.789Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-03-30T14:41:22.789Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-03-30T14:41:22.789Z] # $SEMVER_REMOTE_NAME = origin [2020-03-30T14:41:22.789Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-30T14:41:22.789Z] # $SEMVER_USER_NAME = jenkins [2020-03-30T14:41:22.789Z] # $SEMVER_BRANCH = master [2020-03-30T14:41:22.789Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-03-30T14:41:22.789Z] 1.2.0-dev.13 [Pipeline] } [2020-03-30T14:41:22.799Z] $ docker exec --env ******** --env ******** 99884d451248c4b02957fbe13ab364d66e40e4ec18ad5165f57b7912706a7c8d ssh-agent -k [2020-03-30T14:41:22.939Z] unset SSH_AUTH_SOCK; [2020-03-30T14:41:22.939Z] unset SSH_AGENT_PID; [2020-03-30T14:41:22.939Z] echo Agent pid 21 killed; [2020-03-30T14:41:22.986Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-30T14:41:23.440Z] + git semver [Pipeline] } [2020-03-30T14:41:23.455Z] $ docker stop --time=1 99884d451248c4b02957fbe13ab364d66e40e4ec18ad5165f57b7912706a7c8d [2020-03-30T14:41:24.828Z] $ docker rm -f 99884d451248c4b02957fbe13ab364d66e40e4ec18ad5165f57b7912706a7c8d [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:41:25.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-30T14:41:25.386Z] . [Pipeline] withDockerContainer [2020-03-30T14:41:25.502Z] prd-centos7-docker-4c-2g-1362 does not seem to be running inside a container [2020-03-30T14:41:25.564Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-30T14:41:26.221Z] $ docker top 3654a44cd084b4cb10ea864e1a4dcaa039f57b46a2fac31759b46c21beb8eada -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-30T14:41:26.501Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-30T14:41:26.501Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-30T14:41:26.715Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-30T14:41:26.719Z] $ docker exec 3654a44cd084b4cb10ea864e1a4dcaa039f57b46a2fac31759b46c21beb8eada ssh-agent [2020-03-30T14:41:26.914Z] SSH_AUTH_SOCK=/tmp/ssh-MO95NUvHswt1/agent.15 [2020-03-30T14:41:26.914Z] SSH_AGENT_PID=22 [2020-03-30T14:41:26.920Z] Running ssh-add (command line suppressed) [2020-03-30T14:41:27.062Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4067282511449300176.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4067282511449300176.key) [2020-03-30T14:41:27.108Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-30T14:41:27.471Z] + git semver push [2020-03-30T14:41:27.471Z] # -> Open(): unable to determine branch for HEAD [2020-03-30T14:41:27.471Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-03-30T14:41:27.471Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-03-30T14:41:27.471Z] # $SEMVER_REMOTE_NAME = origin [2020-03-30T14:41:27.471Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-30T14:41:27.471Z] # $SEMVER_USER_NAME = jenkins [2020-03-30T14:41:27.471Z] # $SEMVER_BRANCH = master [2020-03-30T14:41:27.471Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-03-30T14:41:35.604Z] $ docker exec --env ******** --env ******** 3654a44cd084b4cb10ea864e1a4dcaa039f57b46a2fac31759b46c21beb8eada ssh-agent -k [2020-03-30T14:41:35.755Z] unset SSH_AUTH_SOCK; [2020-03-30T14:41:35.755Z] unset SSH_AGENT_PID; [2020-03-30T14:41:35.755Z] echo Agent pid 22 killed; [2020-03-30T14:41:35.792Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-30T14:41:36.206Z] + git semver [Pipeline] } [2020-03-30T14:41:36.219Z] $ docker stop --time=1 3654a44cd084b4cb10ea864e1a4dcaa039f57b46a2fac31759b46c21beb8eada [2020-03-30T14:41:37.567Z] $ docker rm -f 3654a44cd084b4cb10ea864e1a4dcaa039f57b46a2fac31759b46c21beb8eada [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-03-30T14:41:38.308Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-30T14:41:38.885Z] ---> package-listing.sh [2020-03-30T14:41:38.885Z] ++ facter osfamily [2020-03-30T14:41:38.885Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-30T14:41:38.885Z] + OS_FAMILY=redhat [2020-03-30T14:41:38.885Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-03-30T14:41:38.885Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-30T14:41:38.885Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-30T14:41:38.885Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-30T14:41:38.885Z] + PACKAGES=/tmp/packages_start.txt [2020-03-30T14:41:38.885Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-03-30T14:41:38.885Z] + PACKAGES=/tmp/packages_end.txt [2020-03-30T14:41:38.885Z] + case "${OS_FAMILY}" in [2020-03-30T14:41:38.885Z] + rpm -qa [2020-03-30T14:41:38.885Z] + sort [2020-03-30T14:41:43.081Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-30T14:41:43.081Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-30T14:41:43.081Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-30T14:41:43.081Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-03-30T14:41:43.081Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-03-30T14:41:43.081Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:41:43.558Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-30T14:41:43.558Z] [2020-03-30T14:41:43.558Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-30T14:41:43.886Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-30T14:41:43.886Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-30T14:41:43.886Z] c9b1b535fdd9: Pulling fs layer [2020-03-30T14:41:43.886Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-30T14:41:43.887Z] 756a868c4378: Pulling fs layer [2020-03-30T14:41:43.887Z] 444b2fc9a129: Pulling fs layer [2020-03-30T14:41:43.887Z] ea15f1150254: Pulling fs layer [2020-03-30T14:41:43.887Z] 41b27a9f41bf: Pulling fs layer [2020-03-30T14:41:43.887Z] 28c525ee5125: Pulling fs layer [2020-03-30T14:41:43.887Z] 094b1ea09ed8: Pulling fs layer [2020-03-30T14:41:43.887Z] 138eaada9080: Pulling fs layer [2020-03-30T14:41:43.887Z] 0622d0fa9048: Pulling fs layer [2020-03-30T14:41:43.887Z] 41b27a9f41bf: Waiting [2020-03-30T14:41:43.887Z] 28c525ee5125: Waiting [2020-03-30T14:41:43.887Z] 094b1ea09ed8: Waiting [2020-03-30T14:41:43.887Z] 138eaada9080: Waiting [2020-03-30T14:41:43.887Z] 0622d0fa9048: Waiting [2020-03-30T14:41:43.887Z] 444b2fc9a129: Waiting [2020-03-30T14:41:43.887Z] ea15f1150254: Waiting [2020-03-30T14:41:43.887Z] 2cc5ad85d9ab: Download complete [2020-03-30T14:41:43.887Z] 444b2fc9a129: Verifying Checksum [2020-03-30T14:41:43.887Z] 444b2fc9a129: Download complete [2020-03-30T14:41:43.887Z] c9b1b535fdd9: Verifying Checksum [2020-03-30T14:41:43.887Z] c9b1b535fdd9: Download complete [2020-03-30T14:41:43.887Z] ea15f1150254: Verifying Checksum [2020-03-30T14:41:43.887Z] ea15f1150254: Download complete [2020-03-30T14:41:44.147Z] 28c525ee5125: Verifying Checksum [2020-03-30T14:41:44.147Z] 28c525ee5125: Download complete [2020-03-30T14:41:44.412Z] c9b1b535fdd9: Pull complete [2020-03-30T14:41:44.412Z] 756a868c4378: Verifying Checksum [2020-03-30T14:41:44.412Z] 756a868c4378: Download complete [2020-03-30T14:41:44.675Z] 138eaada9080: Verifying Checksum [2020-03-30T14:41:44.675Z] 138eaada9080: Download complete [2020-03-30T14:41:44.675Z] 0622d0fa9048: Verifying Checksum [2020-03-30T14:41:44.675Z] 0622d0fa9048: Download complete [2020-03-30T14:41:44.675Z] 094b1ea09ed8: Verifying Checksum [2020-03-30T14:41:44.675Z] 094b1ea09ed8: Download complete [2020-03-30T14:41:45.244Z] 41b27a9f41bf: Verifying Checksum [2020-03-30T14:41:45.244Z] 41b27a9f41bf: Download complete [2020-03-30T14:41:45.810Z] 2cc5ad85d9ab: Pull complete [2020-03-30T14:41:47.187Z] 756a868c4378: Pull complete [2020-03-30T14:41:47.187Z] 444b2fc9a129: Pull complete [2020-03-30T14:41:47.447Z] ea15f1150254: Pull complete [2020-03-30T14:41:50.741Z] 41b27a9f41bf: Pull complete [2020-03-30T14:41:50.999Z] 28c525ee5125: Pull complete [2020-03-30T14:41:53.545Z] 094b1ea09ed8: Pull complete [2020-03-30T14:41:53.545Z] 138eaada9080: Pull complete [2020-03-30T14:41:53.545Z] 0622d0fa9048: Pull complete [2020-03-30T14:41:53.545Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-30T14:41:53.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-30T14:41:53.676Z] prd-centos7-docker-4c-2g-1362 does not seem to be running inside a container [2020-03-30T14:41:53.731Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-30T14:41:54.827Z] $ docker top 2afee13a0341b8730cc993e8b573230cfa739707581b84d55897e79b89004507 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-30T14:41:55.049Z] provisioning config files... [2020-03-30T14:41:55.067Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3762521049779661778tmp [Pipeline] { [Pipeline] echo [2020-03-30T14:41:55.125Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-30T14:41:55.509Z] ---> create-netrc.sh [Pipeline] echo [2020-03-30T14:41:55.540Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-30T14:41:55.860Z] ---> logs-deploy.sh [2020-03-30T14:41:55.860Z] + ARCHIVE_ARTIFACTS= [2020-03-30T14:41:55.860Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-30T14:41:55.860Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-30T14:41:55.860Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-30T14:41:55.860Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/12 [2020-03-30T14:41:55.860Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/12/ [2020-03-30T14:41:55.860Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/12 /w/workspace/dgexfoundry_device-sdk-go_master [2020-03-30T14:41:56.796Z] Archives upload complete. [2020-03-30T14:41:57.054Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/12 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/master/12/