Pull request #467 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 15d928c67439488d75eee6b23eba03610b05b8ef+9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 (ee35d59271797be495a196d360c8bf5653f68471) 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-1051 in /w/workspace/dgexfoundry_device-sdk-go_PR-467 [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_PR-467 # 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 Fetching without tags > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/467/head:refs/remotes/origin/PR-467 # 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/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 15d928c67439488d75eee6b23eba03610b05b8ef Merge succeeded, producing 15d928c67439488d75eee6b23eba03610b05b8ef Checking out Revision 15d928c67439488d75eee6b23eba03610b05b8ef (PR-467) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d928c67439488d75eee6b23eba03610b05b8ef # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 15d928c67439488d75eee6b23eba03610b05b8ef # timeout=10 Commit message: "Add v2 REST API specification" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-27T11:40:12.898Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } > git rev-list --no-walk 4136bf091f9d10d324c1616412b4c0910e784609 # timeout=10 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-27T11:40:16.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-27T11:40:16.363Z] [2020-03-27T11:40:16.363Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-27T11:40:16.879Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-27T11:40:17.217Z] latest: Pulling from edgex-devops/git-semver [2020-03-27T11:40:17.217Z] 9123ac7c32f7: Pulling fs layer [2020-03-27T11:40:17.217Z] b8cc5d1170e3: Pulling fs layer [2020-03-27T11:40:17.217Z] 2924cbbf6a41: Pulling fs layer [2020-03-27T11:40:17.217Z] 93b08a4f1073: Pulling fs layer [2020-03-27T11:40:17.217Z] 93b08a4f1073: Waiting [2020-03-27T11:40:17.217Z] b8cc5d1170e3: Verifying Checksum [2020-03-27T11:40:17.217Z] b8cc5d1170e3: Download complete [2020-03-27T11:40:17.507Z] 9123ac7c32f7: Verifying Checksum [2020-03-27T11:40:17.507Z] 9123ac7c32f7: Download complete [2020-03-27T11:40:17.785Z] 93b08a4f1073: Verifying Checksum [2020-03-27T11:40:17.785Z] 93b08a4f1073: Download complete [2020-03-27T11:40:17.785Z] 2924cbbf6a41: Verifying Checksum [2020-03-27T11:40:17.785Z] 2924cbbf6a41: Download complete [2020-03-27T11:40:18.417Z] 9123ac7c32f7: Pull complete [2020-03-27T11:40:18.680Z] b8cc5d1170e3: Pull complete [2020-03-27T11:40:20.139Z] 2924cbbf6a41: Pull complete [2020-03-27T11:40:20.139Z] 93b08a4f1073: Pull complete [2020-03-27T11:40:20.139Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-27T11:40:20.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-27T11:40:20.398Z] prd-centos7-docker-4c-2g-1051 does not seem to be running inside a container [2020-03-27T11:40:20.551Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-467 -v /w/workspace/dgexfoundry_device-sdk-go_PR-467:/w/workspace/dgexfoundry_device-sdk-go_PR-467:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-467@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-27T11:40:22.095Z] $ docker top aeef9d08d1fcdf87e9ff4a80a5936fb39c52e729607185460554de82bd9df67e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-27T11:40:22.709Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-27T11:40:22.709Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-27T11:40:23.415Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-27T11:40:23.424Z] $ docker exec aeef9d08d1fcdf87e9ff4a80a5936fb39c52e729607185460554de82bd9df67e ssh-agent [2020-03-27T11:40:24.033Z] SSH_AUTH_SOCK=/tmp/ssh-xe9EHy9Dp1Lp/agent.15 [2020-03-27T11:40:24.033Z] SSH_AGENT_PID=22 [2020-03-27T11:40:24.050Z] Running ssh-add (command line suppressed) [2020-03-27T11:40:24.307Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_5058980863524992153.key (/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_5058980863524992153.key) [2020-03-27T11:40:24.381Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-27T11:40:24.753Z] + git describe --exact-match --tags HEAD [2020-03-27T11:40:24.753Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-27T11:40:24.845Z] $ docker exec --env ******** --env ******** aeef9d08d1fcdf87e9ff4a80a5936fb39c52e729607185460554de82bd9df67e ssh-agent -k [2020-03-27T11:40:25.106Z] unset SSH_AUTH_SOCK; [2020-03-27T11:40:25.107Z] unset SSH_AGENT_PID; [2020-03-27T11:40:25.107Z] echo Agent pid 22 killed; [2020-03-27T11:40:25.153Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-27T11:40:25.554Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-27T11:40:25.554Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-27T11:40:25.633Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-27T11:40:25.633Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-27T11:40:25.884Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-27T11:40:25.894Z] $ docker exec aeef9d08d1fcdf87e9ff4a80a5936fb39c52e729607185460554de82bd9df67e ssh-agent [2020-03-27T11:40:26.155Z] SSH_AUTH_SOCK=/tmp/ssh-PA1fM8lTlHmf/agent.58 [2020-03-27T11:40:26.155Z] SSH_AGENT_PID=65 [2020-03-27T11:40:26.172Z] Running ssh-add (command line suppressed) [2020-03-27T11:40:26.406Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_1219545032663369100.key (/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_1219545032663369100.key) [2020-03-27T11:40:26.522Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-27T11:40:26.937Z] + git semver init [2020-03-27T11:40:26.937Z] # -> Open(): unable to determine branch for HEAD [2020-03-27T11:40:26.937Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-467/.git [2020-03-27T11:40:26.937Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-467 [2020-03-27T11:40:26.937Z] # $SEMVER_REMOTE_NAME = origin [2020-03-27T11:40:26.937Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-27T11:40:26.937Z] # $SEMVER_USER_NAME = jenkins [2020-03-27T11:40:26.937Z] # $SEMVER_BRANCH = PR-467 [2020-03-27T11:40:26.937Z] # $SEMVER_TEMP = /tmp/semver-400144227 [2020-03-27T11:40:26.937Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-27T11:40:28.431Z] # '/tmp/semver-400144227' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-467/.semver' [2020-03-27T11:40:28.431Z] # -> Force: false [2020-03-27T11:40:28.431Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-467/.semver [Pipeline] } [2020-03-27T11:40:28.551Z] $ docker exec --env ******** --env ******** aeef9d08d1fcdf87e9ff4a80a5936fb39c52e729607185460554de82bd9df67e ssh-agent -k [2020-03-27T11:40:29.048Z] unset SSH_AUTH_SOCK; [2020-03-27T11:40:29.049Z] unset SSH_AGENT_PID; [2020-03-27T11:40:29.049Z] echo Agent pid 65 killed; [2020-03-27T11:40:29.244Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-27T11:40:29.993Z] + git semver [Pipeline] } [2020-03-27T11:40:30.065Z] $ docker stop --time=1 aeef9d08d1fcdf87e9ff4a80a5936fb39c52e729607185460554de82bd9df67e [2020-03-27T11:40:31.845Z] $ docker rm -f aeef9d08d1fcdf87e9ff4a80a5936fb39c52e729607185460554de82bd9df67e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-27T11:40:33.318Z] Stashed 32 file(s) [Pipeline] echo [2020-03-27T11:40:33.320Z] [edgeXSemver] initialized semver on version 0.0.0 [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-27T11:40:48.580Z] Still waiting to schedule task [2020-03-27T11:40:48.580Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1051’ [2020-03-27T11:40:48.581Z] Still waiting to schedule task [2020-03-27T11:40:48.581Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-03-27T11:42:37.454Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1052 in /w/workspace/dgexfoundry_device-sdk-go_PR-467 [Pipeline] { [Pipeline] ws [2020-03-27T11:42:37.491Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-03-27T11:42:42.394Z] using credential edgex-jenkins-ssh [2020-03-27T11:42:42.443Z] Cloning the remote Git repository [2020-03-27T11:42:42.443Z] Cloning with configured refspecs honoured and without tags [2020-03-27T11:42:43.717Z] Fetching without tags [2020-03-27T11:42:42.628Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-27T11:42:42.756Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-03-27T11:42:42.819Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-27T11:42:42.820Z] > git --version # timeout=10 [2020-03-27T11:42:42.844Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-27T11:42:42.895Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-27T11:42:43.660Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-27T11:42:43.674Z] > git config --add remote.origin.fetch +refs/pull/467/head:refs/remotes/origin/PR-467 # timeout=10 [2020-03-27T11:42:43.693Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-27T11:42:43.715Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-27T11:42:43.740Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-27T11:42:43.741Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-27T11:42:43.753Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-27T11:42:44.215Z] Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 15d928c67439488d75eee6b23eba03610b05b8ef [2020-03-27T11:42:44.469Z] Merge succeeded, producing 15d928c67439488d75eee6b23eba03610b05b8ef [2020-03-27T11:42:44.469Z] Checking out Revision 15d928c67439488d75eee6b23eba03610b05b8ef (PR-467) [2020-03-27T11:42:44.249Z] > git config core.sparsecheckout # timeout=10 [2020-03-27T11:42:44.268Z] > git checkout -f 15d928c67439488d75eee6b23eba03610b05b8ef # timeout=10 [2020-03-27T11:42:44.388Z] > git remote # timeout=10 [2020-03-27T11:42:44.408Z] > git config --get remote.origin.url # timeout=10 [2020-03-27T11:42:44.436Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-27T11:42:44.447Z] > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 [2020-03-27T11:42:44.468Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-27T11:42:44.487Z] > git config core.sparsecheckout # timeout=10 [2020-03-27T11:42:44.499Z] > git checkout -f 15d928c67439488d75eee6b23eba03610b05b8ef # timeout=10 [2020-03-27T11:42:48.880Z] Commit message: "Add v2 REST API specification" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-27T11:42:50.223Z] ========================================================= [2020-03-27T11:42:50.223Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-27T11:42:50.223Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-27T11:42:51.414Z] + 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-27T11:42:52.383Z] Sending build context to Docker daemon 2.73MB [2020-03-27T11:42:52.383Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-27T11:42:52.383Z] Step 2/8 : FROM ${BASE} [2020-03-27T11:42:52.653Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-27T11:42:52.653Z] cde5963f3b93: Pulling fs layer [2020-03-27T11:42:52.653Z] 2a23fa8c16f7: Pulling fs layer [2020-03-27T11:42:52.653Z] 777b28850792: Pulling fs layer [2020-03-27T11:42:52.653Z] 8a11ddd9e578: Pulling fs layer [2020-03-27T11:42:52.653Z] 4cf88f913ddb: Pulling fs layer [2020-03-27T11:42:52.653Z] 1df406cf5192: Pulling fs layer [2020-03-27T11:42:52.653Z] cd6300453558: Pulling fs layer [2020-03-27T11:42:52.653Z] b9c365052c96: Pulling fs layer [2020-03-27T11:42:52.653Z] a2d8cc88f415: Pulling fs layer [2020-03-27T11:42:52.653Z] ea1d1ca13537: Pulling fs layer [2020-03-27T11:42:52.653Z] 3750a50a1c5e: Pulling fs layer [2020-03-27T11:42:52.653Z] 8a11ddd9e578: Waiting [2020-03-27T11:42:52.653Z] 4cf88f913ddb: Waiting [2020-03-27T11:42:52.653Z] 1df406cf5192: Waiting [2020-03-27T11:42:52.653Z] cd6300453558: Waiting [2020-03-27T11:42:52.653Z] b9c365052c96: Waiting [2020-03-27T11:42:52.653Z] a2d8cc88f415: Waiting [2020-03-27T11:42:52.653Z] ea1d1ca13537: Waiting [2020-03-27T11:42:52.653Z] 3750a50a1c5e: Waiting [2020-03-27T11:42:52.923Z] 777b28850792: Verifying Checksum [2020-03-27T11:42:52.923Z] 777b28850792: Download complete [2020-03-27T11:42:52.923Z] 2a23fa8c16f7: Verifying Checksum [2020-03-27T11:42:52.923Z] 2a23fa8c16f7: Download complete [2020-03-27T11:42:52.923Z] 4cf88f913ddb: Verifying Checksum [2020-03-27T11:42:52.923Z] 4cf88f913ddb: Download complete [2020-03-27T11:42:52.923Z] 1df406cf5192: Verifying Checksum [2020-03-27T11:42:52.923Z] 1df406cf5192: Download complete [2020-03-27T11:42:53.192Z] cde5963f3b93: Verifying Checksum [2020-03-27T11:42:53.192Z] cde5963f3b93: Download complete [2020-03-27T11:42:54.161Z] cde5963f3b93: Pull complete [2020-03-27T11:42:55.136Z] 2a23fa8c16f7: Pull complete [2020-03-27T11:42:55.740Z] 777b28850792: Pull complete [2020-03-27T11:42:58.354Z] cd6300453558: Download complete [2020-03-27T11:42:58.354Z] a2d8cc88f415: Verifying Checksum [2020-03-27T11:42:58.354Z] a2d8cc88f415: Download complete [2020-03-27T11:43:00.971Z] ea1d1ca13537: Verifying Checksum [2020-03-27T11:43:00.971Z] ea1d1ca13537: Download complete [2020-03-27T11:43:01.244Z] 3750a50a1c5e: Verifying Checksum [2020-03-27T11:43:01.244Z] 3750a50a1c5e: Download complete [2020-03-27T11:43:03.852Z] b9c365052c96: Verifying Checksum [2020-03-27T11:43:03.852Z] b9c365052c96: Download complete [2020-03-27T11:43:04.822Z] 8a11ddd9e578: Download complete [2020-03-27T11:43:17.192Z] 8a11ddd9e578: Pull complete [2020-03-27T11:43:17.192Z] 4cf88f913ddb: Pull complete [2020-03-27T11:43:17.192Z] 1df406cf5192: Pull complete [2020-03-27T11:43:22.561Z] cd6300453558: Pull complete [2020-03-27T11:43:26.861Z] b9c365052c96: Pull complete [2020-03-27T11:43:26.861Z] a2d8cc88f415: Pull complete [2020-03-27T11:43:28.812Z] ea1d1ca13537: Pull complete [2020-03-27T11:43:29.403Z] 3750a50a1c5e: Pull complete [2020-03-27T11:43:29.403Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-27T11:43:29.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-27T11:43:29.403Z] ---> 78745c68409d [2020-03-27T11:43:29.403Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-27T11:43:34.760Z] ---> Running in b5b8dcb21c14 [2020-03-27T11:43:34.760Z] Removing intermediate container b5b8dcb21c14 [2020-03-27T11:43:34.760Z] ---> f13338983dbf [2020-03-27T11:43:34.760Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-27T11:43:34.760Z] ---> Running in afe30e34d286 [2020-03-27T11:43:36.715Z] Removing intermediate container afe30e34d286 [2020-03-27T11:43:36.715Z] ---> 3a7f9472d838 [2020-03-27T11:43:36.715Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-27T11:43:36.984Z] ---> Running in a8f88cd7bbab [2020-03-27T11:43:37.957Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-27T11:43:38.540Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-27T11:43:39.123Z] OK: 125 MiB in 39 packages [2020-03-27T11:43:40.534Z] Removing intermediate container a8f88cd7bbab [2020-03-27T11:43:40.534Z] ---> ba84bdec1e2f [2020-03-27T11:43:40.534Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-27T11:43:40.534Z] ---> Running in 1191c2e44b10 [2020-03-27T11:43:40.803Z] Removing intermediate container 1191c2e44b10 [2020-03-27T11:43:40.803Z] ---> f9c92fab3f1a [2020-03-27T11:43:40.803Z] Step 7/8 : COPY . . [2020-03-27T11:43:41.769Z] ---> 76d3ae6bfaca [2020-03-27T11:43:41.769Z] Step 8/8 : RUN go mod download [2020-03-27T11:43:42.037Z] ---> Running in 5924f00dc46c [2020-03-27T11:43:46.317Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-27T11:43:46.317Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-27T11:43:46.317Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-27T11:43:46.317Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-27T11:43:46.317Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-27T11:43:46.317Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-27T11:43:46.317Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-27T11:43:46.317Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-27T11:43:46.317Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-27T11:43:46.317Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-27T11:43:46.317Z] go: finding github.com/fatih/color v1.7.0 [2020-03-27T11:43:46.317Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-27T11:43:46.317Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-27T11:43:46.317Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-27T11:43:46.317Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-27T11:43:46.317Z] go: finding github.com/google/uuid v1.1.0 [2020-03-27T11:43:46.317Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-27T11:43:46.317Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-27T11:43:46.317Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-27T11:43:46.317Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-27T11:43:46.317Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-27T11:43:46.317Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-27T11:43:46.586Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-27T11:43:46.586Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-27T11:43:46.586Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-27T11:43:46.586Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-27T11:43:46.586Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-27T11:43:46.586Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-27T11:43:46.586Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-27T11:43:46.586Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-27T11:43:46.586Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-27T11:43:46.586Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-27T11:43:46.586Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-27T11:43:46.586Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-27T11:43:46.586Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-27T11:43:46.853Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-27T11:43:46.853Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-27T11:43:46.853Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-27T11:43:46.853Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-27T11:43:46.853Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-27T11:43:46.853Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-27T11:43:46.853Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-27T11:43:46.853Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-27T11:43:47.122Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-27T11:43:47.122Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-27T11:43:47.122Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-27T11:43:47.122Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-27T11:43:47.122Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-27T11:43:47.122Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-27T11:43:47.122Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-27T11:43:47.122Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-27T11:43:47.390Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-27T11:43:47.390Z] go: finding github.com/posener/complete v1.1.1 [2020-03-27T11:43:47.390Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-27T11:43:47.390Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-27T11:43:47.390Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-27T11:43:47.390Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-27T11:43:47.390Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-27T11:43:47.390Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-27T11:43:47.390Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-27T11:43:47.659Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-27T11:43:47.659Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-27T11:43:47.659Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-27T11:43:47.659Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-27T11:44:05.915Z] Removing intermediate container 5924f00dc46c [2020-03-27T11:44:05.915Z] ---> 795553fe2702 [2020-03-27T11:44:05.915Z] Successfully built 795553fe2702 [2020-03-27T11:44:05.916Z] 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-27T11:44:06.539Z] + docker inspect -f . ci-base-image-arm64 [2020-03-27T11:44:06.807Z] . [Pipeline] withDockerContainer [2020-03-27T11:44:07.136Z] prd-ubuntu18.04-docker-arm64-4c-16g-1052 does not seem to be running inside a container [2020-03-27T11:44:07.219Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-03-27T11:44:08.624Z] $ docker top f954cff441c6960cada51560353db9b19505974d238ffeb227bae2065d601953 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-27T11:44:09.719Z] + go version [2020-03-27T11:44:09.719Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-27T11:44:10.385Z] + make test [2020-03-27T11:44:10.385Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-27T11:44:57.318Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-27T11:44:57.318Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-27T11:44:57.318Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-27T11:44:57.318Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.022s coverage: 23.1% of statements [2020-03-27T11:44:57.318Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.203s coverage: 95.8% of statements [2020-03-27T11:44:57.318Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.111s coverage: 12.7% of statements [2020-03-27T11:44:57.318Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.025s coverage: 25.6% of statements [2020-03-27T11:45:10.631Z] Running on prd-centos7-docker-4c-2g-1053 in /w/workspace/dgexfoundry_device-sdk-go_PR-467 [Pipeline] { [Pipeline] ws [2020-03-27T11:45:10.697Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-03-27T11:45:29.438Z] using credential edgex-jenkins-ssh [2020-03-27T11:45:29.532Z] Cloning the remote Git repository [2020-03-27T11:45:29.532Z] Cloning with configured refspecs honoured and without tags [2020-03-27T11:45:29.625Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.042s coverage: 30.0% of statements [2020-03-27T11:45:29.625Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.325s coverage: 42.3% of statements [2020-03-27T11:45:29.625Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-27T11:45:29.625Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-27T11:45:29.625Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.583s coverage: 79.5% of statements [2020-03-27T11:45:29.625Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-27T11:45:29.625Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-27T11:45:29.625Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-27T11:45:29.625Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.052s coverage: 52.6% of statements [2020-03-27T11:45:29.625Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.375s coverage: 76.1% of statements [2020-03-27T11:45:29.625Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-27T11:45:29.625Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-27T11:45:30.305Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-27T11:45:30.936Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-03-27T11:45:31.226Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-27T11:45:31.229Z] > git --version # timeout=10 [2020-03-27T11:45:31.297Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-27T11:45:31.465Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-27T11:45:34.045Z] Fetching without tags [2020-03-27T11:45:34.702Z] Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 15d928c67439488d75eee6b23eba03610b05b8ef [2020-03-27T11:45:33.689Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-27T11:45:33.782Z] > git config --add remote.origin.fetch +refs/pull/467/head:refs/remotes/origin/PR-467 # timeout=10 [2020-03-27T11:45:33.835Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-27T11:45:33.997Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-27T11:45:34.069Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-27T11:45:34.070Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-27T11:45:34.139Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-27T11:45:34.752Z] > git config core.sparsecheckout # timeout=10 [2020-03-27T11:45:34.802Z] > git checkout -f 15d928c67439488d75eee6b23eba03610b05b8ef # timeout=10 [2020-03-27T11:45:35.002Z] gofmt -l . [2020-03-27T11:45:35.002Z] [ "`gofmt -l .`" = "" ] [2020-03-27T11:45:35.002Z] ./bin/test-attribution-txt.sh [2020-03-27T11:45:35.327Z] Merge succeeded, producing 15d928c67439488d75eee6b23eba03610b05b8ef [2020-03-27T11:45:35.327Z] Checking out Revision 15d928c67439488d75eee6b23eba03610b05b8ef (PR-467) [2020-03-27T11:45:35.965Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-27T11:45:36.749Z] Stashed 1 file(s) [Pipeline] } [2020-03-27T11:45:36.753Z] $ docker stop --time=1 f954cff441c6960cada51560353db9b19505974d238ffeb227bae2065d601953 [2020-03-27T11:45:35.069Z] > git remote # timeout=10 [2020-03-27T11:45:35.111Z] > git config --get remote.origin.url # timeout=10 [2020-03-27T11:45:35.149Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-27T11:45:35.161Z] > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 [2020-03-27T11:45:35.248Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-27T11:45:35.351Z] > git config core.sparsecheckout # timeout=10 [2020-03-27T11:45:35.391Z] > git checkout -f 15d928c67439488d75eee6b23eba03610b05b8ef # timeout=10 [2020-03-27T11:45:38.959Z] $ docker rm -f f954cff441c6960cada51560353db9b19505974d238ffeb227bae2065d601953 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-27T11:45:40.645Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-27T11:45:40.970Z] + ls -al . [2020-03-27T11:45:40.970Z] total 240 [2020-03-27T11:45:40.970Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 27 11:45 . [2020-03-27T11:45:40.970Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 11:42 .. [2020-03-27T11:45:40.970Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 27 11:42 .dockerignore [2020-03-27T11:45:40.970Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 27 11:42 .git [2020-03-27T11:45:40.970Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 11:42 .github [2020-03-27T11:45:40.970Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 27 11:42 .gitignore [2020-03-27T11:45:40.970Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 11:42 .semver [2020-03-27T11:45:40.970Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 27 11:42 Dockerfile.build [2020-03-27T11:45:40.970Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 27 11:42 Jenkinsfile [2020-03-27T11:45:40.970Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 27 11:42 LICENSE [2020-03-27T11:45:40.970Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 27 11:42 Makefile [2020-03-27T11:45:40.970Z] -rw-rw-r-- 1 jenkins jenkins 761 Mar 27 11:42 README.md [2020-03-27T11:45:40.970Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 27 11:40 VERSION [2020-03-27T11:45:40.970Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 11:42 api [2020-03-27T11:45:40.970Z] -rw-rw-r-- 1 jenkins jenkins 3321 Mar 27 11:42 async.go [2020-03-27T11:45:40.970Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 11:42 bin [2020-03-27T11:45:40.970Z] -rw-r--r-- 1 jenkins jenkins 100201 Mar 27 11:45 coverage.out [2020-03-27T11:45:40.970Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 11:42 example [2020-03-27T11:45:40.970Z] -rw-r--r-- 1 jenkins jenkins 536 Mar 27 11:45 go.mod [2020-03-27T11:45:40.970Z] -rw-r--r-- 1 jenkins jenkins 11140 Mar 27 11:45 go.sum [2020-03-27T11:45:40.970Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 27 11:42 internal [2020-03-27T11:45:40.970Z] -rw-rw-r-- 1 jenkins jenkins 4352 Mar 27 11:42 manageddevices.go [2020-03-27T11:45:40.970Z] -rw-rw-r-- 1 jenkins jenkins 5473 Mar 27 11:42 managedprofiles.go [2020-03-27T11:45:40.970Z] -rw-rw-r-- 1 jenkins jenkins 3878 Mar 27 11:42 managedwatchers.go [2020-03-27T11:45:40.970Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 11:42 pkg [2020-03-27T11:45:40.970Z] -rw-rw-r-- 1 jenkins jenkins 9817 Mar 27 11:42 service.go [2020-03-27T11:45:40.970Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 11:42 snap [2020-03-27T11:45:40.970Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 27 11:42 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-27T11:45:41.306Z] + 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=15d928c67439488d75eee6b23eba03610b05b8ef --label arch=arm64 --label version=0.0.0 . [2020-03-27T11:45:41.894Z] Sending build context to Docker daemon 2.856MB [2020-03-27T11:45:41.894Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-27T11:45:41.894Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-27T11:45:41.894Z] ---> 795553fe2702 [2020-03-27T11:45:41.894Z] Step 3/20 : ARG MAKE='make build' [2020-03-27T11:45:41.894Z] ---> Running in 6042be283983 [2020-03-27T11:45:42.483Z] Removing intermediate container 6042be283983 [2020-03-27T11:45:42.483Z] ---> bb6a1e12c003 [2020-03-27T11:45:42.483Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-27T11:45:42.483Z] ---> Running in 3844b2b3577c [2020-03-27T11:45:42.751Z] Removing intermediate container 3844b2b3577c [2020-03-27T11:45:42.751Z] ---> 516b8111a13b [2020-03-27T11:45:42.751Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-27T11:45:43.021Z] ---> Running in dbafd4ad5eae [2020-03-27T11:45:43.291Z] Removing intermediate container dbafd4ad5eae [2020-03-27T11:45:43.291Z] ---> fd0b2495efca [2020-03-27T11:45:43.291Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-27T11:45:43.563Z] ---> Running in 76a1627c5d2f [2020-03-27T11:45:45.513Z] Removing intermediate container 76a1627c5d2f [2020-03-27T11:45:45.513Z] ---> ce7f8203cd37 [2020-03-27T11:45:45.513Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-27T11:45:45.513Z] ---> Running in 5d845104c7c1 [2020-03-27T11:45:46.098Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-27T11:45:47.058Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-27T11:45:47.325Z] OK: 125 MiB in 39 packages [2020-03-27T11:45:48.340Z] Commit message: "Add v2 REST API specification" [2020-03-27T11:45:48.737Z] Removing intermediate container 5d845104c7c1 [2020-03-27T11:45:48.737Z] ---> eb722e60e166 [2020-03-27T11:45:48.737Z] Step 8/20 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-03-27T11:45:49.704Z] ---> 6b33a1cbc6d7 [2020-03-27T11:45:49.704Z] Step 9/20 : RUN ${MAKE} [2020-03-27T11:45:49.704Z] ---> Running in b38ffe01cf07 [Pipeline] echo [2020-03-27T11:45:50.634Z] ========================================================= [2020-03-27T11:45:50.634Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-27T11:45:50.634Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-27T11:45:50.674Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-03-27T11:45:53.407Z] + 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-27T11:45:54.167Z] Sending build context to Docker daemon 2.728MB [2020-03-27T11:45:54.540Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-27T11:45:54.540Z] Step 2/8 : FROM ${BASE} [2020-03-27T11:45:54.974Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-27T11:45:54.974Z] e6b0cf9c0882: Pulling fs layer [2020-03-27T11:45:54.974Z] 2848faf0eed1: Pulling fs layer [2020-03-27T11:45:54.974Z] 0f37312ad70f: Pulling fs layer [2020-03-27T11:45:54.974Z] 5788d62ee057: Pulling fs layer [2020-03-27T11:45:54.974Z] 0e6b1d234666: Pulling fs layer [2020-03-27T11:45:54.974Z] bf5d7aec512f: Pulling fs layer [2020-03-27T11:45:54.974Z] 34c802a77dc8: Pulling fs layer [2020-03-27T11:45:54.974Z] 9eb99e56ec68: Pulling fs layer [2020-03-27T11:45:54.974Z] 27c7a5d97fbd: Pulling fs layer [2020-03-27T11:45:54.974Z] 5c102a31e300: Pulling fs layer [2020-03-27T11:45:54.974Z] dcfb455df0a1: Pulling fs layer [2020-03-27T11:45:54.974Z] 27c7a5d97fbd: Waiting [2020-03-27T11:45:54.974Z] 5c102a31e300: Waiting [2020-03-27T11:45:54.974Z] 5788d62ee057: Waiting [2020-03-27T11:45:54.974Z] 0e6b1d234666: Waiting [2020-03-27T11:45:54.974Z] bf5d7aec512f: Waiting [2020-03-27T11:45:54.974Z] 34c802a77dc8: Waiting [2020-03-27T11:45:54.974Z] 9eb99e56ec68: Waiting [2020-03-27T11:45:54.974Z] dcfb455df0a1: Waiting [2020-03-27T11:45:55.626Z] 0f37312ad70f: Verifying Checksum [2020-03-27T11:45:55.626Z] 0f37312ad70f: Download complete [2020-03-27T11:45:55.626Z] 2848faf0eed1: Verifying Checksum [2020-03-27T11:45:55.626Z] 2848faf0eed1: Download complete [2020-03-27T11:45:55.626Z] e6b0cf9c0882: Verifying Checksum [2020-03-27T11:45:55.626Z] e6b0cf9c0882: Download complete [2020-03-27T11:45:56.305Z] 0e6b1d234666: Verifying Checksum [2020-03-27T11:45:56.305Z] 0e6b1d234666: Download complete [2020-03-27T11:45:56.305Z] bf5d7aec512f: Verifying Checksum [2020-03-27T11:45:56.305Z] bf5d7aec512f: Download complete [2020-03-27T11:46:00.286Z] e6b0cf9c0882: Pull complete [2020-03-27T11:46:03.772Z] 2848faf0eed1: Pull complete [2020-03-27T11:46:04.228Z] 34c802a77dc8: Verifying Checksum [2020-03-27T11:46:04.228Z] 34c802a77dc8: Download complete [2020-03-27T11:46:04.228Z] 27c7a5d97fbd: Verifying Checksum [2020-03-27T11:46:04.228Z] 27c7a5d97fbd: Download complete [2020-03-27T11:46:04.893Z] 0f37312ad70f: Pull complete [2020-03-27T11:46:06.110Z] 5788d62ee057: Verifying Checksum [2020-03-27T11:46:06.110Z] 5788d62ee057: Download complete [2020-03-27T11:46:06.480Z] dcfb455df0a1: Verifying Checksum [2020-03-27T11:46:06.480Z] dcfb455df0a1: Download complete [2020-03-27T11:46:07.201Z] 5c102a31e300: Verifying Checksum [2020-03-27T11:46:07.201Z] 5c102a31e300: Download complete [2020-03-27T11:46:07.897Z] 9eb99e56ec68: Verifying Checksum [2020-03-27T11:46:07.897Z] 9eb99e56ec68: Download complete [2020-03-27T11:46:29.686Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-27T11:46:35.854Z] 5788d62ee057: Pull complete [2020-03-27T11:46:35.854Z] 0e6b1d234666: Pull complete [2020-03-27T11:46:35.854Z] bf5d7aec512f: Pull complete [2020-03-27T11:46:41.888Z] 34c802a77dc8: Pull complete [2020-03-27T11:46:42.031Z] Removing intermediate container b38ffe01cf07 [2020-03-27T11:46:42.031Z] ---> 938226233184 [2020-03-27T11:46:42.031Z] Step 10/20 : FROM scratch [2020-03-27T11:46:42.031Z] ---> [2020-03-27T11:46:42.031Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-27T11:46:42.031Z] ---> Running in dfda95a84bbd [2020-03-27T11:46:42.031Z] Removing intermediate container dfda95a84bbd [2020-03-27T11:46:42.031Z] ---> 577dda29932d [2020-03-27T11:46:42.031Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-27T11:46:42.031Z] ---> Running in d2b4ab908037 [2020-03-27T11:46:42.031Z] Removing intermediate container d2b4ab908037 [2020-03-27T11:46:42.031Z] ---> 58459ae47601 [2020-03-27T11:46:42.031Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-27T11:46:42.031Z] ---> Running in 56a74816deda [2020-03-27T11:46:42.031Z] Removing intermediate container 56a74816deda [2020-03-27T11:46:42.031Z] ---> 00f3cfcf3ace [2020-03-27T11:46:42.031Z] Step 14/20 : WORKDIR / [2020-03-27T11:46:42.031Z] ---> Running in ba83f813db93 [2020-03-27T11:46:42.031Z] Removing intermediate container ba83f813db93 [2020-03-27T11:46:42.031Z] ---> 1ea0a89cb14a [2020-03-27T11:46:42.031Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-27T11:46:42.995Z] ---> 25324846a6cc [2020-03-27T11:46:42.995Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-27T11:46:43.582Z] ---> 30b40f60e63c [2020-03-27T11:46:43.582Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-27T11:46:43.848Z] ---> Running in 19d16b69cfd8 [2020-03-27T11:46:44.116Z] Removing intermediate container 19d16b69cfd8 [2020-03-27T11:46:44.116Z] ---> a89f49433a27 [2020-03-27T11:46:44.116Z] Step 18/20 : LABEL arch=arm64 [2020-03-27T11:46:44.116Z] ---> Running in 80d26608d13b [2020-03-27T11:46:44.383Z] Removing intermediate container 80d26608d13b [2020-03-27T11:46:44.383Z] ---> a3a216107f4a [2020-03-27T11:46:44.383Z] Step 19/20 : LABEL git_sha=15d928c67439488d75eee6b23eba03610b05b8ef [2020-03-27T11:46:44.651Z] ---> Running in 173103b05364 [2020-03-27T11:46:44.918Z] Removing intermediate container 173103b05364 [2020-03-27T11:46:44.918Z] ---> 180702c75a57 [2020-03-27T11:46:44.918Z] Step 20/20 : LABEL version=0.0.0 [2020-03-27T11:46:45.185Z] ---> Running in a82d6585665a [2020-03-27T11:46:45.451Z] Removing intermediate container a82d6585665a [2020-03-27T11:46:45.451Z] ---> 7750dff13ba1 [2020-03-27T11:46:45.451Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-27T11:46:45.451Z] Successfully built 7750dff13ba1 [2020-03-27T11:46:45.451Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-27T11:46:50.480Z] 9eb99e56ec68: Pull complete [2020-03-27T11:46:50.481Z] 27c7a5d97fbd: Pull complete [2020-03-27T11:46:52.483Z] 5c102a31e300: Pull complete [2020-03-27T11:46:52.483Z] dcfb455df0a1: Pull complete [2020-03-27T11:46:52.483Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-27T11:46:52.483Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-27T11:46:52.483Z] ---> 7c70fe431013 [2020-03-27T11:46:52.483Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-27T11:46:52.483Z] ---> Running in 0f16335aadc5 [2020-03-27T11:46:53.100Z] Removing intermediate container 0f16335aadc5 [2020-03-27T11:46:53.100Z] ---> 094a1bb16e21 [2020-03-27T11:46:53.100Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-27T11:46:53.100Z] ---> Running in 184f2a104c66 [2020-03-27T11:46:55.120Z] Removing intermediate container 184f2a104c66 [2020-03-27T11:46:55.120Z] ---> 8277b6c74829 [2020-03-27T11:46:55.120Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-27T11:46:55.120Z] ---> Running in f512c2d051c5 [2020-03-27T11:46:57.558Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-27T11:46:58.973Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-27T11:47:00.229Z] OK: 143 MiB in 39 packages [2020-03-27T11:47:01.504Z] Removing intermediate container f512c2d051c5 [2020-03-27T11:47:01.504Z] ---> 9338d58b898e [2020-03-27T11:47:01.504Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-27T11:47:01.504Z] ---> Running in 419263bcb463 [2020-03-27T11:47:01.876Z] Removing intermediate container 419263bcb463 [2020-03-27T11:47:01.877Z] ---> c7d9515c49b6 [2020-03-27T11:47:01.877Z] Step 7/8 : COPY . . [2020-03-27T11:47:03.488Z] ---> d745ededd1f7 [2020-03-27T11:47:03.488Z] Step 8/8 : RUN go mod download [2020-03-27T11:47:03.488Z] ---> Running in 32baac89375e [2020-03-27T11:47:05.500Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-27T11:47:05.500Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-27T11:47:05.500Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-27T11:47:05.500Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-27T11:47:05.500Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-27T11:47:05.500Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-27T11:47:05.500Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-27T11:47:05.500Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-27T11:47:05.770Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-27T11:47:05.770Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-27T11:47:05.770Z] go: finding github.com/fatih/color v1.7.0 [2020-03-27T11:47:05.770Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-27T11:47:05.770Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-27T11:47:05.770Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-27T11:47:05.770Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-27T11:47:05.770Z] go: finding github.com/google/uuid v1.1.0 [2020-03-27T11:47:05.770Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-27T11:47:05.770Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-27T11:47:05.770Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-27T11:47:05.770Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-27T11:47:05.770Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-27T11:47:05.770Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-27T11:47:05.770Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-27T11:47:05.770Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-27T11:47:05.770Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-27T11:47:05.770Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-27T11:47:05.770Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-27T11:47:05.770Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-27T11:47:06.037Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-27T11:47:06.037Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-27T11:47:06.037Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-27T11:47:06.037Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-27T11:47:06.037Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-27T11:47:06.037Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-27T11:47:06.037Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-27T11:47:06.037Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-27T11:47:06.037Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-27T11:47:06.037Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-27T11:47:06.037Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-27T11:47:06.037Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-27T11:47:06.037Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-27T11:47:06.037Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-27T11:47:06.037Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-27T11:47:06.037Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-27T11:47:06.037Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-27T11:47:06.037Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-27T11:47:06.037Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-27T11:47:06.037Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-27T11:47:06.037Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-27T11:47:06.037Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-27T11:47:06.037Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-27T11:47:06.037Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-27T11:47:06.037Z] go: finding github.com/posener/complete v1.1.1 [2020-03-27T11:47:06.037Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-27T11:47:06.037Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-27T11:47:06.037Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-27T11:47:06.348Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-27T11:47:06.348Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-27T11:47:06.348Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-27T11:47:06.348Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-27T11:47:06.348Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-27T11:47:06.348Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-27T11:47:06.348Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-27T11:47:06.348Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-27T11:47:18.856Z] Removing intermediate container 32baac89375e [2020-03-27T11:47:18.856Z] ---> ede10e7fae7d [2020-03-27T11:47:18.856Z] Successfully built ede10e7fae7d [2020-03-27T11:47:18.856Z] 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-27T11:47:20.119Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-27T11:47:20.487Z] . [Pipeline] withDockerContainer [2020-03-27T11:47:21.234Z] prd-centos7-docker-4c-2g-1053 does not seem to be running inside a container [2020-03-27T11:47:21.477Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-03-27T11:47:22.577Z] $ docker top 8d4adfea6c7ccd0e1cc75d1af5ea06960628d6a44a1011ac312a33419538ecb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-27T11:47:23.460Z] + go version [2020-03-27T11:47:23.460Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-27T11:47:24.168Z] + make test [2020-03-27T11:47:24.168Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-27T11:47:51.030Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-27T11:47:51.030Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-27T11:47:51.030Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-27T11:47:51.030Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.043s coverage: 23.1% of statements [2020-03-27T11:47:51.030Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.063s coverage: 95.8% of statements [2020-03-27T11:47:52.993Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.073s coverage: 12.7% of statements [2020-03-27T11:47:52.993Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.021s coverage: 25.6% of statements [2020-03-27T11:48:25.500Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.018s coverage: 30.0% of statements [2020-03-27T11:48:25.500Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.350s coverage: 42.3% of statements [2020-03-27T11:48:25.500Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-27T11:48:25.500Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-27T11:48:25.500Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.387s coverage: 79.5% of statements [2020-03-27T11:48:25.500Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-27T11:48:25.500Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-27T11:48:25.500Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-27T11:48:25.500Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements [2020-03-27T11:48:25.500Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.122s coverage: 76.1% of statements [2020-03-27T11:48:25.500Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-27T11:48:25.500Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-27T11:48:28.347Z] gofmt -l . [2020-03-27T11:48:28.347Z] [ "`gofmt -l .`" = "" ] [2020-03-27T11:48:28.619Z] ./bin/test-attribution-txt.sh [2020-03-27T11:48:30.191Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-27T11:48:30.825Z] Warning: overwriting stash ‘coverage-report’ [2020-03-27T11:48:32.775Z] Stashed 1 file(s) [Pipeline] } [2020-03-27T11:48:32.792Z] $ docker stop --time=1 8d4adfea6c7ccd0e1cc75d1af5ea06960628d6a44a1011ac312a33419538ecb2 [2020-03-27T11:48:35.433Z] $ docker rm -f 8d4adfea6c7ccd0e1cc75d1af5ea06960628d6a44a1011ac312a33419538ecb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-27T11:48:36.705Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-27T11:48:37.088Z] + ls -al . [2020-03-27T11:48:37.088Z] total 200 [2020-03-27T11:48:37.088Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 27 11:48 . [2020-03-27T11:48:37.088Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 27 11:45 .. [2020-03-27T11:48:37.088Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 27 11:45 api [2020-03-27T11:48:37.088Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 27 11:45 async.go [2020-03-27T11:48:37.088Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 27 11:45 bin [2020-03-27T11:48:37.088Z] -rw-r--r--. 1 jenkins jenkins 100201 Mar 27 11:48 coverage.out [2020-03-27T11:48:37.088Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 27 11:45 Dockerfile.build [2020-03-27T11:48:37.088Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 27 11:45 .dockerignore [2020-03-27T11:48:37.088Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 27 11:45 example [2020-03-27T11:48:37.088Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 27 11:45 .git [2020-03-27T11:48:37.088Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 27 11:45 .github [2020-03-27T11:48:37.088Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 27 11:45 .gitignore [2020-03-27T11:48:37.088Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 27 11:48 go.mod [2020-03-27T11:48:37.088Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 27 11:48 go.sum [2020-03-27T11:48:37.088Z] drwxrwxr-x. 13 jenkins jenkins 176 Mar 27 11:45 internal [2020-03-27T11:48:37.088Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 27 11:45 Jenkinsfile [2020-03-27T11:48:37.088Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 27 11:45 LICENSE [2020-03-27T11:48:37.088Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 27 11:45 Makefile [2020-03-27T11:48:37.088Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 27 11:45 manageddevices.go [2020-03-27T11:48:37.088Z] -rw-rw-r--. 1 jenkins jenkins 5473 Mar 27 11:45 managedprofiles.go [2020-03-27T11:48:37.088Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 27 11:45 managedwatchers.go [2020-03-27T11:48:37.088Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 27 11:45 pkg [2020-03-27T11:48:37.088Z] -rw-rw-r--. 1 jenkins jenkins 761 Mar 27 11:45 README.md [2020-03-27T11:48:37.088Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 27 11:45 .semver [2020-03-27T11:48:37.088Z] -rw-rw-r--. 1 jenkins jenkins 9817 Mar 27 11:45 service.go [2020-03-27T11:48:37.088Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 27 11:45 snap [2020-03-27T11:48:37.088Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 27 11:40 VERSION [2020-03-27T11:48:37.088Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 27 11:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-27T11:48:37.475Z] + 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=15d928c67439488d75eee6b23eba03610b05b8ef --label arch=amd64 --label version=0.0.0 . [2020-03-27T11:48:37.737Z] Sending build context to Docker daemon 2.854MB [2020-03-27T11:48:37.738Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-27T11:48:37.738Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-27T11:48:37.738Z] ---> ede10e7fae7d [2020-03-27T11:48:37.738Z] Step 3/20 : ARG MAKE='make build' [2020-03-27T11:48:37.738Z] ---> Running in 66c47ab0ff12 [2020-03-27T11:48:38.018Z] Removing intermediate container 66c47ab0ff12 [2020-03-27T11:48:38.018Z] ---> f705d602f6f1 [2020-03-27T11:48:38.018Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-27T11:48:38.018Z] ---> Running in 48296e205ca8 [2020-03-27T11:48:38.280Z] Removing intermediate container 48296e205ca8 [2020-03-27T11:48:38.280Z] ---> b4a80ada066f [2020-03-27T11:48:38.280Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-27T11:48:38.280Z] ---> Running in 60dd2a3e274a [2020-03-27T11:48:38.543Z] Removing intermediate container 60dd2a3e274a [2020-03-27T11:48:38.543Z] ---> fe1cbfe596f8 [2020-03-27T11:48:38.543Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-27T11:48:38.543Z] ---> Running in abd3fce873d7 [2020-03-27T11:48:40.544Z] Removing intermediate container abd3fce873d7 [2020-03-27T11:48:40.544Z] ---> cd782085fc5c [2020-03-27T11:48:40.544Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-27T11:48:40.544Z] ---> Running in 6627ebd78141 [2020-03-27T11:48:40.806Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-27T11:48:41.793Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-27T11:48:42.733Z] OK: 143 MiB in 39 packages [2020-03-27T11:48:43.312Z] Removing intermediate container 6627ebd78141 [2020-03-27T11:48:43.313Z] ---> 22a373adf8c8 [2020-03-27T11:48:43.313Z] Step 8/20 : COPY . . [2020-03-27T11:48:43.573Z] ---> 089de85582f7 [2020-03-27T11:48:43.573Z] Step 9/20 : RUN ${MAKE} [2020-03-27T11:48:43.842Z] ---> Running in c32c00081d78 [2020-03-27T11:48:44.109Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-03-27T11:49:06.477Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-27T11:49:11.907Z] Removing intermediate container c32c00081d78 [2020-03-27T11:49:11.907Z] ---> 60c7e6645f95 [2020-03-27T11:49:11.907Z] Step 10/20 : FROM scratch [2020-03-27T11:49:11.907Z] ---> [2020-03-27T11:49:11.907Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-27T11:49:11.907Z] ---> Running in ba1985a3260e [2020-03-27T11:49:11.907Z] Removing intermediate container ba1985a3260e [2020-03-27T11:49:11.907Z] ---> d6cf4af8e275 [2020-03-27T11:49:11.907Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-27T11:49:11.907Z] ---> Running in a076139e7b1f [2020-03-27T11:49:11.907Z] Removing intermediate container a076139e7b1f [2020-03-27T11:49:11.907Z] ---> ed87e642f4cd [2020-03-27T11:49:11.907Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-27T11:49:11.907Z] ---> Running in e4fe59c1fdde [2020-03-27T11:49:11.907Z] Removing intermediate container e4fe59c1fdde [2020-03-27T11:49:11.907Z] ---> ef180f4e6b2e [2020-03-27T11:49:11.907Z] Step 14/20 : WORKDIR / [2020-03-27T11:49:11.907Z] ---> Running in 6fa4c6aa0ccb [2020-03-27T11:49:11.907Z] Removing intermediate container 6fa4c6aa0ccb [2020-03-27T11:49:11.907Z] ---> bb82ff0277c0 [2020-03-27T11:49:11.907Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-27T11:49:12.169Z] ---> 1e8ddad49e88 [2020-03-27T11:49:12.169Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-27T11:49:12.434Z] ---> 1e6612bf954b [2020-03-27T11:49:12.434Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-27T11:49:12.434Z] ---> Running in 7c36f7c96885 [2020-03-27T11:49:12.713Z] Removing intermediate container 7c36f7c96885 [2020-03-27T11:49:12.713Z] ---> 37b7f120589b [2020-03-27T11:49:12.713Z] Step 18/20 : LABEL arch=amd64 [2020-03-27T11:49:12.713Z] ---> Running in ef6687ff23a4 [2020-03-27T11:49:12.982Z] Removing intermediate container ef6687ff23a4 [2020-03-27T11:49:12.982Z] ---> 5fd2dc534a0f [2020-03-27T11:49:12.982Z] Step 19/20 : LABEL git_sha=15d928c67439488d75eee6b23eba03610b05b8ef [2020-03-27T11:49:12.982Z] ---> Running in e60515c7d482 [2020-03-27T11:49:13.256Z] Removing intermediate container e60515c7d482 [2020-03-27T11:49:13.256Z] ---> 523996ac61b1 [2020-03-27T11:49:13.256Z] Step 20/20 : LABEL version=0.0.0 [2020-03-27T11:49:13.256Z] ---> Running in e4a4eaf2fb6f [2020-03-27T11:49:13.519Z] Removing intermediate container e4a4eaf2fb6f [2020-03-27T11:49:13.519Z] ---> 7b68f32ba36a [2020-03-27T11:49:13.519Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-27T11:49:13.519Z] Successfully built 7b68f32ba36a [2020-03-27T11:49:13.519Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-03-27T11:49:14.615Z] provisioning config files... [2020-03-27T11:49:14.633Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/config7031885548269724719tmp [Pipeline] { [Pipeline] sh [2020-03-27T11:49:15.018Z] + curl -s https://codecov.io/bash [2020-03-27T11:49:15.018Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/config7031885548269724719tmp [2020-03-27T11:49:15.283Z] [2020-03-27T11:49:15.283Z] _____ _ [2020-03-27T11:49:15.283Z] / ____| | | [2020-03-27T11:49:15.283Z] | | ___ __| | ___ ___ _____ __ [2020-03-27T11:49:15.283Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-27T11:49:15.283Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-27T11:49:15.283Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-27T11:49:15.283Z] Bash-tbd [2020-03-27T11:49:15.283Z] [2020-03-27T11:49:15.283Z] [2020-03-27T11:49:15.283Z] ==> Jenkins CI detected. [2020-03-27T11:49:15.283Z] project root: . [2020-03-27T11:49:15.283Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-27T11:49:15.283Z] ==> Running gcov in . (disable via -X gcov) [2020-03-27T11:49:15.283Z] ==> Python coveragepy not found [2020-03-27T11:49:15.283Z] ==> Searching for coverage reports in: [2020-03-27T11:49:15.283Z] + . [2020-03-27T11:49:15.555Z] -> Found 1 reports [2020-03-27T11:49:15.555Z] ==> Detecting git/mercurial file structure [2020-03-27T11:49:15.555Z] ==> Reading reports [2020-03-27T11:49:15.555Z] + ./coverage.out bytes=100201 [2020-03-27T11:49:15.555Z] ==> Appending adjustments [2020-03-27T11:49:15.555Z] http://docs.codecov.io/docs/fixing-reports [2020-03-27T11:49:16.199Z] + Found adjustments [2020-03-27T11:49:16.199Z] ==> Gzipping contents [2020-03-27T11:49:16.199Z] ==> Uploading reports [2020-03-27T11:49:16.199Z] url: https://codecov.io [2020-03-27T11:49:16.199Z] query: branch=PR-467&commit=15d928c67439488d75eee6b23eba03610b05b8ef&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-467%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=467&job= [2020-03-27T11:49:16.505Z] -> Pinging Codecov [2020-03-27T11:49:16.505Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-467&commit=15d928c67439488d75eee6b23eba03610b05b8ef&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-467%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=467&job= [2020-03-27T11:49:16.809Z] -> Uploading [2020-03-27T11:49:17.400Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/15d928c67439488d75eee6b23eba03610b05b8ef [Pipeline] } [2020-03-27T11:49:17.417Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [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-27T11:49:18.644Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-27T11:49:19.411Z] ---> package-listing.sh [2020-03-27T11:49:19.411Z] ++ facter osfamily [2020-03-27T11:49:19.411Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-27T11:49:19.411Z] + OS_FAMILY=redhat [2020-03-27T11:49:19.411Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-467 [2020-03-27T11:49:19.411Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-27T11:49:19.411Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-27T11:49:19.411Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-27T11:49:19.411Z] + PACKAGES=/tmp/packages_start.txt [2020-03-27T11:49:19.411Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-467 ']' [2020-03-27T11:49:19.411Z] + PACKAGES=/tmp/packages_end.txt [2020-03-27T11:49:19.411Z] + case "${OS_FAMILY}" in [2020-03-27T11:49:19.411Z] + sort [2020-03-27T11:49:19.411Z] + rpm -qa [2020-03-27T11:49:26.332Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-27T11:49:26.332Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-27T11:49:26.332Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-27T11:49:26.332Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-467 ']' [2020-03-27T11:49:26.332Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-467/archives/ [2020-03-27T11:49:26.332Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-467/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-27T11:49:26.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-27T11:49:27.177Z] [2020-03-27T11:49:27.177Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-27T11:49:27.559Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-27T11:49:27.856Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-27T11:49:27.856Z] c9b1b535fdd9: Pulling fs layer [2020-03-27T11:49:27.856Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-27T11:49:27.856Z] 756a868c4378: Pulling fs layer [2020-03-27T11:49:27.856Z] 444b2fc9a129: Pulling fs layer [2020-03-27T11:49:27.856Z] ea15f1150254: Pulling fs layer [2020-03-27T11:49:27.856Z] 41b27a9f41bf: Pulling fs layer [2020-03-27T11:49:27.856Z] 28c525ee5125: Pulling fs layer [2020-03-27T11:49:27.856Z] 094b1ea09ed8: Pulling fs layer [2020-03-27T11:49:27.856Z] 138eaada9080: Pulling fs layer [2020-03-27T11:49:27.856Z] 0622d0fa9048: Pulling fs layer [2020-03-27T11:49:27.856Z] 41b27a9f41bf: Waiting [2020-03-27T11:49:27.856Z] 28c525ee5125: Waiting [2020-03-27T11:49:27.856Z] 094b1ea09ed8: Waiting [2020-03-27T11:49:27.856Z] 138eaada9080: Waiting [2020-03-27T11:49:27.856Z] 0622d0fa9048: Waiting [2020-03-27T11:49:27.856Z] ea15f1150254: Waiting [2020-03-27T11:49:27.856Z] 444b2fc9a129: Waiting [2020-03-27T11:49:27.856Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-27T11:49:27.856Z] 2cc5ad85d9ab: Download complete [2020-03-27T11:49:27.856Z] 444b2fc9a129: Verifying Checksum [2020-03-27T11:49:27.856Z] 444b2fc9a129: Download complete [2020-03-27T11:49:28.154Z] ea15f1150254: Verifying Checksum [2020-03-27T11:49:28.154Z] ea15f1150254: Download complete [2020-03-27T11:49:28.154Z] c9b1b535fdd9: Download complete [2020-03-27T11:49:28.154Z] 28c525ee5125: Verifying Checksum [2020-03-27T11:49:28.154Z] 28c525ee5125: Download complete [2020-03-27T11:49:29.310Z] 756a868c4378: Verifying Checksum [2020-03-27T11:49:29.310Z] 756a868c4378: Download complete [2020-03-27T11:49:29.650Z] 138eaada9080: Verifying Checksum [2020-03-27T11:49:29.650Z] 138eaada9080: Download complete [2020-03-27T11:49:29.650Z] 0622d0fa9048: Verifying Checksum [2020-03-27T11:49:29.650Z] 0622d0fa9048: Download complete [2020-03-27T11:49:29.650Z] c9b1b535fdd9: Pull complete [2020-03-27T11:49:29.994Z] 094b1ea09ed8: Verifying Checksum [2020-03-27T11:49:29.994Z] 094b1ea09ed8: Download complete [2020-03-27T11:49:30.276Z] 2cc5ad85d9ab: Pull complete [2020-03-27T11:49:30.905Z] 41b27a9f41bf: Verifying Checksum [2020-03-27T11:49:30.905Z] 41b27a9f41bf: Download complete [2020-03-27T11:49:34.510Z] 756a868c4378: Pull complete [2020-03-27T11:49:34.510Z] 444b2fc9a129: Pull complete [2020-03-27T11:49:35.692Z] ea15f1150254: Pull complete [2020-03-27T11:49:42.614Z] 41b27a9f41bf: Pull complete [2020-03-27T11:49:42.614Z] 28c525ee5125: Pull complete [2020-03-27T11:49:46.990Z] 094b1ea09ed8: Pull complete [2020-03-27T11:49:46.990Z] 138eaada9080: Pull complete [2020-03-27T11:49:47.306Z] 0622d0fa9048: Pull complete [2020-03-27T11:49:47.306Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-27T11:49:47.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-27T11:49:47.655Z] prd-centos7-docker-4c-2g-1051 does not seem to be running inside a container [2020-03-27T11:49:47.812Z] $ 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_PR-467 -v /w/workspace/dgexfoundry_device-sdk-go_PR-467:/w/workspace/dgexfoundry_device-sdk-go_PR-467:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-467@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-27T11:49:49.064Z] $ docker top bd72cb544dde5852aa6586767552eaf3c23a18ba24d705bf8deb0b0e028540d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-27T11:49:49.372Z] provisioning config files... [2020-03-27T11:49:49.517Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/config7471140878008335212tmp [Pipeline] { [Pipeline] echo [2020-03-27T11:49:49.562Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-27T11:49:49.876Z] ---> create-netrc.sh [Pipeline] echo [2020-03-27T11:49:49.884Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-27T11:49:50.207Z] ---> logs-deploy.sh [2020-03-27T11:49:50.208Z] + ARCHIVE_ARTIFACTS= [2020-03-27T11:49:50.208Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-27T11:49:50.208Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-27T11:49:50.208Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-27T11:49:50.208Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-467/4 [2020-03-27T11:49:50.208Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-467/4/ [2020-03-27T11:49:50.208Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-467/4 /w/workspace/dgexfoundry_device-sdk-go_PR-467 [2020-03-27T11:49:52.144Z] Archives upload complete. [2020-03-27T11:49:52.144Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-467/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-467/4/