Branch indexing 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 akramtexas for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c9979804ccd04a40c7aa62bb85d5611f1e38dae2+cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 (168b32a6a4808959a4b1389bd1bf6686aad6ac59) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3432 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [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-464 # 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/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # 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/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 into PR head commit c9979804ccd04a40c7aa62bb85d5611f1e38dae2 Merge succeeded, producing c310ccc9c1d202c7eb1745c99718d16ffe6f6ec0 Checking out Revision c310ccc9c1d202c7eb1745c99718d16ffe6f6ec0 (PR-464) > git config core.sparsecheckout # timeout=10 > git checkout -f c9979804ccd04a40c7aa62bb85d5611f1e38dae2 # 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 cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c310ccc9c1d202c7eb1745c99718d16ffe6f6ec0 # timeout=10 Commit message: "Merge commit 'cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8' into HEAD" > git rev-list --no-walk d79618ee95b0f1bb9e8c991ef47751f8294e739c # timeout=10 First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-11T14:42:46.973Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-11T14:42:49.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-11T14:42:49.737Z] [2020-04-11T14:42:49.737Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-11T14:42:50.286Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-11T14:42:50.596Z] latest: Pulling from edgex-devops/git-semver [2020-04-11T14:42:50.596Z] 9123ac7c32f7: Pulling fs layer [2020-04-11T14:42:50.596Z] b8cc5d1170e3: Pulling fs layer [2020-04-11T14:42:50.596Z] 2924cbbf6a41: Pulling fs layer [2020-04-11T14:42:50.596Z] 93b08a4f1073: Pulling fs layer [2020-04-11T14:42:50.596Z] 93b08a4f1073: Waiting [2020-04-11T14:42:50.596Z] b8cc5d1170e3: Verifying Checksum [2020-04-11T14:42:50.596Z] b8cc5d1170e3: Download complete [2020-04-11T14:42:50.911Z] 9123ac7c32f7: Verifying Checksum [2020-04-11T14:42:50.911Z] 9123ac7c32f7: Download complete [2020-04-11T14:42:51.604Z] 9123ac7c32f7: Pull complete [2020-04-11T14:42:51.604Z] b8cc5d1170e3: Pull complete [2020-04-11T14:42:51.604Z] 93b08a4f1073: Verifying Checksum [2020-04-11T14:42:51.604Z] 93b08a4f1073: Download complete [2020-04-11T14:42:51.604Z] 2924cbbf6a41: Verifying Checksum [2020-04-11T14:42:51.604Z] 2924cbbf6a41: Download complete [2020-04-11T14:42:53.713Z] 2924cbbf6a41: Pull complete [2020-04-11T14:42:53.713Z] 93b08a4f1073: Pull complete [2020-04-11T14:42:53.713Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-11T14:42:53.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-11T14:42:54.010Z] prd-centos7-docker-4c-2g-3432 does not seem to be running inside a container [2020-04-11T14:42:54.120Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@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:10004/edgex-devops/git-semver:latest cat [2020-04-11T14:42:55.064Z] $ docker top 8ec4a895905a61f2281f6d98151a7b12c6ba0c299535dffc070347299156d2c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-11T14:42:55.432Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-11T14:42:55.432Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-11T14:42:55.908Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-11T14:42:55.933Z] $ docker exec 8ec4a895905a61f2281f6d98151a7b12c6ba0c299535dffc070347299156d2c4 ssh-agent [2020-04-11T14:42:56.484Z] SSH_AUTH_SOCK=/tmp/ssh-vwtmg4rwMU4H/agent.15 [2020-04-11T14:42:56.484Z] SSH_AGENT_PID=22 [2020-04-11T14:42:56.538Z] Running ssh-add (command line suppressed) [2020-04-11T14:42:57.185Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_8396475129159871509.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_8396475129159871509.key) [2020-04-11T14:42:57.480Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-11T14:42:58.285Z] + git describe --exact-match --tags HEAD [2020-04-11T14:42:58.285Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-11T14:42:58.634Z] $ docker exec --env ******** --env ******** 8ec4a895905a61f2281f6d98151a7b12c6ba0c299535dffc070347299156d2c4 ssh-agent -k [2020-04-11T14:42:59.104Z] unset SSH_AUTH_SOCK; [2020-04-11T14:42:59.107Z] unset SSH_AGENT_PID; [2020-04-11T14:42:59.107Z] echo Agent pid 22 killed; [2020-04-11T14:42:59.266Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-11T14:42:59.325Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-11T14:42:59.325Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-11T14:42:59.397Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-11T14:42:59.398Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-11T14:43:00.213Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-11T14:43:00.220Z] $ docker exec 8ec4a895905a61f2281f6d98151a7b12c6ba0c299535dffc070347299156d2c4 ssh-agent [2020-04-11T14:43:00.763Z] SSH_AUTH_SOCK=/tmp/ssh-Beq8yz9a1eAv/agent.56 [2020-04-11T14:43:00.763Z] SSH_AGENT_PID=63 [2020-04-11T14:43:00.805Z] Running ssh-add (command line suppressed) [2020-04-11T14:43:01.293Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_4148805211131288088.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_4148805211131288088.key) [2020-04-11T14:43:01.427Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-11T14:43:01.780Z] + git semver init [2020-04-11T14:43:01.780Z] # -> Open(): unable to determine branch for HEAD [2020-04-11T14:43:01.780Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.git [2020-04-11T14:43:01.780Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-464 [2020-04-11T14:43:01.780Z] # $SEMVER_REMOTE_NAME = origin [2020-04-11T14:43:01.780Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-11T14:43:01.780Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-11T14:43:01.780Z] # $SEMVER_BRANCH = PR-464 [2020-04-11T14:43:01.780Z] # $SEMVER_TEMP = /tmp/semver-101697588 [2020-04-11T14:43:01.780Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-11T14:43:02.727Z] # '/tmp/semver-101697588' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver' [2020-04-11T14:43:02.727Z] # -> Force: false [2020-04-11T14:43:02.727Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver [Pipeline] } [2020-04-11T14:43:02.794Z] $ docker exec --env ******** --env ******** 8ec4a895905a61f2281f6d98151a7b12c6ba0c299535dffc070347299156d2c4 ssh-agent -k [2020-04-11T14:43:03.153Z] unset SSH_AUTH_SOCK; [2020-04-11T14:43:03.154Z] unset SSH_AGENT_PID; [2020-04-11T14:43:03.155Z] echo Agent pid 63 killed; [2020-04-11T14:43:03.227Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-11T14:43:04.238Z] + git semver [Pipeline] } [2020-04-11T14:43:04.287Z] $ docker stop --time=1 8ec4a895905a61f2281f6d98151a7b12c6ba0c299535dffc070347299156d2c4 [2020-04-11T14:43:06.010Z] $ docker rm -f 8ec4a895905a61f2281f6d98151a7b12c6ba0c299535dffc070347299156d2c4 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-11T14:43:08.367Z] Stashed 42 file(s) [Pipeline] echo [2020-04-11T14:43:08.369Z] [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-04-11T14:43:23.597Z] Still waiting to schedule task [2020-04-11T14:43:23.597Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-11T14:43:23.599Z] Still waiting to schedule task [2020-04-11T14:43:23.599Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-11T14:44:43.609Z] Running on prd-centos7-docker-4c-2g-3435 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws [2020-04-11T14:44:43.645Z] Running in /w/workspace/device-sdk-go/17 [Pipeline] { [Pipeline] checkout [2020-04-11T14:44:46.751Z] using credential edgex-jenkins-ssh [2020-04-11T14:44:46.798Z] Cloning the remote Git repository [2020-04-11T14:44:46.798Z] Cloning with configured refspecs honoured and without tags [2020-04-11T14:44:46.420Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-11T14:44:46.467Z] > git init /w/workspace/device-sdk-go/17 # timeout=10 [2020-04-11T14:44:46.518Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-11T14:44:46.518Z] > git --version # timeout=10 [2020-04-11T14:44:46.527Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-11T14:44:46.591Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-11T14:44:47.617Z] Fetching without tags [2020-04-11T14:44:48.025Z] Merging remotes/origin/master commit cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 into PR head commit c9979804ccd04a40c7aa62bb85d5611f1e38dae2 [2020-04-11T14:44:48.170Z] Merge succeeded, producing d2e5ca6db9e332a8b5307a47bd6c9b6d07a1ae10 [2020-04-11T14:44:48.170Z] Checking out Revision d2e5ca6db9e332a8b5307a47bd6c9b6d07a1ae10 (PR-464) [2020-04-11T14:44:47.236Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-11T14:44:47.243Z] > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 [2020-04-11T14:44:47.250Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-11T14:44:47.267Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-11T14:44:47.281Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-11T14:44:47.282Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-11T14:44:47.289Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-11T14:44:47.727Z] > git config core.sparsecheckout # timeout=10 [2020-04-11T14:44:47.733Z] > git checkout -f c9979804ccd04a40c7aa62bb85d5611f1e38dae2 # timeout=10 [2020-04-11T14:44:47.794Z] > git remote # timeout=10 [2020-04-11T14:44:47.800Z] > git config --get remote.origin.url # timeout=10 [2020-04-11T14:44:47.807Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-11T14:44:47.811Z] > git merge cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 [2020-04-11T14:44:47.866Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-11T14:44:47.877Z] > git config core.sparsecheckout # timeout=10 [2020-04-11T14:44:47.887Z] > git checkout -f d2e5ca6db9e332a8b5307a47bd6c9b6d07a1ae10 # timeout=10 [2020-04-11T14:44:51.788Z] Commit message: "Merge commit 'cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8' into HEAD" [2020-04-11T14:44:51.800Z] First time build. Skipping changelog. [2020-04-11T14:44:51.792Z] > git rev-list --no-walk d79618ee95b0f1bb9e8c991ef47751f8294e739c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-11T14:44:52.629Z] ========================================================= [2020-04-11T14:44:52.629Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-11T14:44:52.629Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-11T14:44:53.286Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-04-11T14:44:53.874Z] Sending build context to Docker daemon 2.919MB [2020-04-11T14:44:53.874Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-11T14:44:53.874Z] Step 2/8 : FROM ${BASE} [2020-04-11T14:44:53.874Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-11T14:44:53.874Z] e6b0cf9c0882: Pulling fs layer [2020-04-11T14:44:53.874Z] 2848faf0eed1: Pulling fs layer [2020-04-11T14:44:53.874Z] 0f37312ad70f: Pulling fs layer [2020-04-11T14:44:53.874Z] 5788d62ee057: Pulling fs layer [2020-04-11T14:44:53.874Z] 0e6b1d234666: Pulling fs layer [2020-04-11T14:44:53.874Z] bf5d7aec512f: Pulling fs layer [2020-04-11T14:44:53.874Z] 34c802a77dc8: Pulling fs layer [2020-04-11T14:44:53.874Z] 9eb99e56ec68: Pulling fs layer [2020-04-11T14:44:53.874Z] 27c7a5d97fbd: Pulling fs layer [2020-04-11T14:44:53.874Z] 5c102a31e300: Pulling fs layer [2020-04-11T14:44:53.874Z] dcfb455df0a1: Pulling fs layer [2020-04-11T14:44:53.874Z] 34c802a77dc8: Waiting [2020-04-11T14:44:53.874Z] 9eb99e56ec68: Waiting [2020-04-11T14:44:53.874Z] 27c7a5d97fbd: Waiting [2020-04-11T14:44:53.874Z] dcfb455df0a1: Waiting [2020-04-11T14:44:53.874Z] 5c102a31e300: Waiting [2020-04-11T14:44:53.874Z] 0e6b1d234666: Waiting [2020-04-11T14:44:53.874Z] bf5d7aec512f: Waiting [2020-04-11T14:44:53.874Z] 5788d62ee057: Waiting [2020-04-11T14:44:53.874Z] 0f37312ad70f: Verifying Checksum [2020-04-11T14:44:53.874Z] 0f37312ad70f: Download complete [2020-04-11T14:44:53.874Z] 2848faf0eed1: Verifying Checksum [2020-04-11T14:44:53.874Z] 2848faf0eed1: Download complete [2020-04-11T14:44:53.874Z] 0e6b1d234666: Verifying Checksum [2020-04-11T14:44:53.874Z] 0e6b1d234666: Download complete [2020-04-11T14:44:53.874Z] bf5d7aec512f: Download complete [2020-04-11T14:44:53.874Z] e6b0cf9c0882: Verifying Checksum [2020-04-11T14:44:53.874Z] e6b0cf9c0882: Download complete [2020-04-11T14:44:54.460Z] e6b0cf9c0882: Pull complete [2020-04-11T14:44:55.052Z] 34c802a77dc8: Verifying Checksum [2020-04-11T14:44:55.052Z] 34c802a77dc8: Download complete [2020-04-11T14:44:55.052Z] 27c7a5d97fbd: Verifying Checksum [2020-04-11T14:44:55.052Z] 27c7a5d97fbd: Download complete [2020-04-11T14:44:55.641Z] 5c102a31e300: Download complete [2020-04-11T14:44:55.641Z] dcfb455df0a1: Verifying Checksum [2020-04-11T14:44:55.641Z] dcfb455df0a1: Download complete [2020-04-11T14:44:55.902Z] 5788d62ee057: Verifying Checksum [2020-04-11T14:44:55.902Z] 5788d62ee057: Download complete [2020-04-11T14:44:55.902Z] 9eb99e56ec68: Verifying Checksum [2020-04-11T14:44:55.902Z] 9eb99e56ec68: Download complete [2020-04-11T14:44:56.845Z] 2848faf0eed1: Pull complete [2020-04-11T14:44:56.845Z] 0f37312ad70f: Pull complete [2020-04-11T14:45:03.448Z] 5788d62ee057: Pull complete [2020-04-11T14:45:03.448Z] 0e6b1d234666: Pull complete [2020-04-11T14:45:03.448Z] bf5d7aec512f: Pull complete [2020-04-11T14:45:08.737Z] 34c802a77dc8: Pull complete [2020-04-11T14:45:11.284Z] 9eb99e56ec68: Pull complete [2020-04-11T14:45:11.284Z] 27c7a5d97fbd: Pull complete [2020-04-11T14:45:12.229Z] 5c102a31e300: Pull complete [2020-04-11T14:45:12.229Z] dcfb455df0a1: Pull complete [2020-04-11T14:45:12.229Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-11T14:45:12.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-11T14:45:12.489Z] ---> 7c70fe431013 [2020-04-11T14:45:12.489Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-11T14:45:12.489Z] ---> Running in b65480c3207d [2020-04-11T14:45:12.489Z] Removing intermediate container b65480c3207d [2020-04-11T14:45:12.489Z] ---> 9a3e12bf2174 [2020-04-11T14:45:12.490Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-11T14:45:12.490Z] ---> Running in 94870772fa86 [2020-04-11T14:45:13.430Z] Removing intermediate container 94870772fa86 [2020-04-11T14:45:13.430Z] ---> 37c3b07f9881 [2020-04-11T14:45:13.430Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-11T14:45:13.430Z] ---> Running in 54b0f753a32f [2020-04-11T14:45:14.000Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-11T14:45:14.570Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-11T14:45:14.831Z] OK: 143 MiB in 39 packages [2020-04-11T14:45:15.090Z] Removing intermediate container 54b0f753a32f [2020-04-11T14:45:15.090Z] ---> f0678e597250 [2020-04-11T14:45:15.090Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-11T14:45:15.090Z] ---> Running in ded1b1a5c985 [2020-04-11T14:45:15.365Z] Removing intermediate container ded1b1a5c985 [2020-04-11T14:45:15.365Z] ---> 266ea9db6a5a [2020-04-11T14:45:15.365Z] Step 7/8 : COPY . . [2020-04-11T14:45:15.937Z] ---> 49f5d80296b9 [2020-04-11T14:45:15.937Z] Step 8/8 : RUN go mod download [2020-04-11T14:45:15.937Z] ---> Running in 26634b2938c8 [2020-04-11T14:45:17.852Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-11T14:45:17.852Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-11T14:45:17.852Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-11T14:45:17.852Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-11T14:45:17.852Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-11T14:45:17.852Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-11T14:45:17.852Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-11T14:45:17.852Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-11T14:45:17.852Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-11T14:45:17.852Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-11T14:45:17.852Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-11T14:45:17.852Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-11T14:45:17.852Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-11T14:45:17.852Z] go: finding github.com/fatih/color v1.7.0 [2020-04-11T14:45:17.852Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-11T14:45:17.852Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-11T14:45:17.852Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-11T14:45:17.852Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-11T14:45:17.852Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-11T14:45:17.852Z] go: finding github.com/google/uuid v1.1.0 [2020-04-11T14:45:17.852Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-11T14:45:17.852Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-11T14:45:17.852Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-11T14:45:17.852Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-11T14:45:17.852Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-11T14:45:18.112Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-11T14:45:18.112Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-11T14:45:18.112Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-11T14:45:18.112Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-11T14:45:18.112Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-11T14:45:18.112Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-11T14:45:18.112Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-11T14:45:18.112Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-11T14:45:18.112Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-11T14:45:18.112Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-11T14:45:18.112Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-11T14:45:18.112Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-11T14:45:18.112Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-11T14:45:18.112Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-11T14:45:18.112Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-11T14:45:18.112Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-11T14:45:18.112Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-11T14:45:18.112Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-11T14:45:18.112Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-11T14:45:18.112Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-11T14:45:18.112Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-11T14:45:18.112Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-11T14:45:18.112Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-11T14:45:18.112Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-11T14:45:18.112Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-11T14:45:18.112Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-11T14:45:18.112Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-11T14:45:18.112Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-11T14:45:18.112Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-11T14:45:18.112Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-11T14:45:18.112Z] go: finding github.com/posener/complete v1.1.1 [2020-04-11T14:45:18.112Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-11T14:45:18.112Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-11T14:45:18.374Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-11T14:45:18.374Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-11T14:45:18.375Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-11T14:45:18.375Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-11T14:45:18.375Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-11T14:45:18.375Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-11T14:45:18.375Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-11T14:45:18.375Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-11T14:45:18.375Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-11T14:45:18.375Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-11T14:45:22.587Z] Removing intermediate container 26634b2938c8 [2020-04-11T14:45:22.587Z] ---> 04d46272962b [2020-04-11T14:45:22.587Z] Successfully built 04d46272962b [2020-04-11T14:45:22.587Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-11T14:45:23.203Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-11T14:45:23.203Z] . [Pipeline] withDockerContainer [2020-04-11T14:45:23.339Z] prd-centos7-docker-4c-2g-3435 does not seem to be running inside a container [2020-04-11T14:45:23.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@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 ******** -e ******** ci-base-image-x86_64 cat [2020-04-11T14:45:24.010Z] $ docker top 5da9b35dbd8c5d083320469b6c59d92156029834f0809646108a7076d3ac2375 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-11T14:45:24.506Z] + go version [2020-04-11T14:45:24.506Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-11T14:45:24.814Z] + make test [2020-04-11T14:45:24.814Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-11T14:45:25.396Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-11T14:45:43.708Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-11T14:45:43.708Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-11T14:45:43.708Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.008s coverage: 22.1% of statements [2020-04-11T14:45:43.708Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.042s coverage: 95.8% of statements [2020-04-11T14:46:03.305Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3436 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws [2020-04-11T14:46:03.345Z] Running in /w/workspace/device-sdk-go/17 [Pipeline] { [Pipeline] checkout [2020-04-11T14:46:09.752Z] using credential edgex-jenkins-ssh [2020-04-11T14:46:09.802Z] Cloning the remote Git repository [2020-04-11T14:46:09.802Z] Cloning with configured refspecs honoured and without tags [2020-04-11T14:46:09.875Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-11T14:46:09.968Z] > git init /w/workspace/device-sdk-go/17 # timeout=10 [2020-04-11T14:46:10.105Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-11T14:46:10.106Z] > git --version # timeout=10 [2020-04-11T14:46:10.136Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-11T14:46:10.187Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-11T14:46:11.150Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-11T14:46:11.181Z] > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 [2020-04-11T14:46:11.210Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-11T14:46:11.248Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-11T14:46:11.294Z] Fetching without tags [2020-04-11T14:46:11.754Z] Merging remotes/origin/master commit cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 into PR head commit c9979804ccd04a40c7aa62bb85d5611f1e38dae2 [2020-04-11T14:46:12.136Z] Merge succeeded, producing 3f865719e385b8532a9af189d557d878dcced6d7 [2020-04-11T14:46:12.136Z] Checking out Revision 3f865719e385b8532a9af189d557d878dcced6d7 (PR-464) [2020-04-11T14:46:11.315Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-11T14:46:11.316Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-11T14:46:11.330Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-11T14:46:11.784Z] > git config core.sparsecheckout # timeout=10 [2020-04-11T14:46:11.827Z] > git checkout -f c9979804ccd04a40c7aa62bb85d5611f1e38dae2 # timeout=10 [2020-04-11T14:46:11.938Z] > git remote # timeout=10 [2020-04-11T14:46:11.966Z] > git config --get remote.origin.url # timeout=10 [2020-04-11T14:46:11.998Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-11T14:46:12.026Z] > git merge cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 # timeout=10 [2020-04-11T14:46:12.113Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-11T14:46:12.145Z] > git config core.sparsecheckout # timeout=10 [2020-04-11T14:46:12.158Z] > git checkout -f 3f865719e385b8532a9af189d557d878dcced6d7 # timeout=10 [2020-04-11T14:46:15.833Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.021s coverage: 11.4% of statements [2020-04-11T14:46:15.833Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.004s coverage: 22.1% of statements [2020-04-11T14:46:15.833Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-11T14:46:15.833Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.188s coverage: 38.5% of statements [2020-04-11T14:46:15.833Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-11T14:46:15.833Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-11T14:46:15.833Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.441s coverage: 76.5% of statements [2020-04-11T14:46:15.833Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-11T14:46:15.833Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-11T14:46:15.833Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-11T14:46:15.833Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.017s coverage: 52.6% of statements [2020-04-11T14:46:15.833Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-11T14:46:15.833Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.104s coverage: 71.4% of statements [2020-04-11T14:46:15.833Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-11T14:46:15.833Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-11T14:46:15.833Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-11T14:46:15.833Z] gofmt -l . [2020-04-11T14:46:15.833Z] [ "`gofmt -l .`" = "" ] [2020-04-11T14:46:15.833Z] ./bin/test-attribution-txt.sh [2020-04-11T14:46:15.833Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-11T14:46:16.549Z] Stashed 1 file(s) [Pipeline] } [2020-04-11T14:46:16.553Z] $ docker stop --time=1 5da9b35dbd8c5d083320469b6c59d92156029834f0809646108a7076d3ac2375 [2020-04-11T14:46:16.852Z] Commit message: "Merge commit 'cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8' into HEAD" [2020-04-11T14:46:16.879Z] First time build. Skipping changelog. [2020-04-11T14:46:16.862Z] > git rev-list --no-walk d79618ee95b0f1bb9e8c991ef47751f8294e739c # timeout=10 [2020-04-11T14:46:18.022Z] $ docker rm -f 5da9b35dbd8c5d083320469b6c59d92156029834f0809646108a7076d3ac2375 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-04-11T14:46:19.357Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-11T14:46:19.657Z] + ls -al . [2020-04-11T14:46:19.658Z] total 160 [2020-04-11T14:46:19.658Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 11 14:46 . [2020-04-11T14:46:19.658Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 11 14:44 .. [2020-04-11T14:46:19.658Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 11 14:44 api [2020-04-11T14:46:19.658Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 11 14:44 bin [2020-04-11T14:46:19.658Z] -rw-r--r--. 1 jenkins jenkins 97490 Apr 11 14:46 coverage.out [2020-04-11T14:46:19.658Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 11 14:44 Dockerfile.build [2020-04-11T14:46:19.658Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 11 14:44 .dockerignore [2020-04-11T14:46:19.658Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 11 14:44 example [2020-04-11T14:46:19.658Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 11 14:44 .git [2020-04-11T14:46:19.658Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 11 14:44 .github [2020-04-11T14:46:19.658Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 11 14:44 .gitignore [2020-04-11T14:46:19.658Z] -rw-r--r--. 1 jenkins jenkins 475 Apr 11 14:46 go.mod [2020-04-11T14:46:19.658Z] -rw-r--r--. 1 jenkins jenkins 12152 Apr 11 14:46 go.sum [2020-04-11T14:46:19.658Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 11 14:44 internal [2020-04-11T14:46:19.658Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 11 14:44 Jenkinsfile [2020-04-11T14:46:19.658Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 11 14:44 LICENSE [2020-04-11T14:46:19.658Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 11 14:44 Makefile [2020-04-11T14:46:19.658Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 11 14:44 pkg [2020-04-11T14:46:19.658Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 11 14:44 README.md [2020-04-11T14:46:19.658Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 11 14:44 .semver [2020-04-11T14:46:19.658Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 11 14:44 snap [2020-04-11T14:46:19.658Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 11 14:43 VERSION [2020-04-11T14:46:19.658Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 11 14:44 version.go [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2020-04-11T14:46:19.763Z] ========================================================= [2020-04-11T14:46:19.763Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-11T14:46:19.763Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-11T14:46:19.959Z] + 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=c310ccc9c1d202c7eb1745c99718d16ffe6f6ec0 --label arch=amd64 --label version=0.0.0 . [2020-04-11T14:46:19.959Z] Sending build context to Docker daemon 3.037MB [2020-04-11T14:46:20.219Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-11T14:46:20.219Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-11T14:46:20.219Z] ---> 04d46272962b [2020-04-11T14:46:20.219Z] Step 3/21 : ARG MAKE='make build' [2020-04-11T14:46:20.219Z] ---> Running in 58b3aead6f30 [2020-04-11T14:46:20.219Z] Removing intermediate container 58b3aead6f30 [2020-04-11T14:46:20.219Z] ---> 948384684148 [2020-04-11T14:46:20.219Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-11T14:46:20.489Z] ---> Running in 8d2965707822 [2020-04-11T14:46:20.510Z] Removing intermediate container 8d2965707822 [2020-04-11T14:46:20.510Z] ---> 1cbda411fd43 [2020-04-11T14:46:20.510Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-11T14:46:20.510Z] ---> Running in b88248faf365 [2020-04-11T14:46:20.779Z] Removing intermediate container b88248faf365 [2020-04-11T14:46:20.779Z] ---> d2c4f73283ed [2020-04-11T14:46:20.779Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-11T14:46:20.779Z] ---> Running in 97e9b987bd12 [2020-04-11T14:46:20.966Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-04-11T14:46:21.738Z] Removing intermediate container 97e9b987bd12 [2020-04-11T14:46:21.738Z] ---> 4d5dfd8d012e [2020-04-11T14:46:21.738Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-11T14:46:21.738Z] ---> Running in 711ebe79893b [2020-04-11T14:46:21.957Z] Sending build context to Docker daemon 2.919MB [2020-04-11T14:46:21.958Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-11T14:46:21.958Z] Step 2/8 : FROM ${BASE} [2020-04-11T14:46:22.007Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-11T14:46:22.230Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-11T14:46:22.230Z] cde5963f3b93: Pulling fs layer [2020-04-11T14:46:22.230Z] 2a23fa8c16f7: Pulling fs layer [2020-04-11T14:46:22.230Z] 777b28850792: Pulling fs layer [2020-04-11T14:46:22.230Z] 8a11ddd9e578: Pulling fs layer [2020-04-11T14:46:22.230Z] 4cf88f913ddb: Pulling fs layer [2020-04-11T14:46:22.230Z] 1df406cf5192: Pulling fs layer [2020-04-11T14:46:22.230Z] cd6300453558: Pulling fs layer [2020-04-11T14:46:22.230Z] b9c365052c96: Pulling fs layer [2020-04-11T14:46:22.230Z] a2d8cc88f415: Pulling fs layer [2020-04-11T14:46:22.230Z] ea1d1ca13537: Pulling fs layer [2020-04-11T14:46:22.230Z] 3750a50a1c5e: Pulling fs layer [2020-04-11T14:46:22.230Z] 8a11ddd9e578: Waiting [2020-04-11T14:46:22.230Z] 4cf88f913ddb: Waiting [2020-04-11T14:46:22.230Z] 1df406cf5192: Waiting [2020-04-11T14:46:22.230Z] cd6300453558: Waiting [2020-04-11T14:46:22.230Z] b9c365052c96: Waiting [2020-04-11T14:46:22.230Z] a2d8cc88f415: Waiting [2020-04-11T14:46:22.230Z] ea1d1ca13537: Waiting [2020-04-11T14:46:22.230Z] 3750a50a1c5e: Waiting [2020-04-11T14:46:22.230Z] 777b28850792: Verifying Checksum [2020-04-11T14:46:22.230Z] 777b28850792: Download complete [2020-04-11T14:46:22.230Z] 2a23fa8c16f7: Download complete [2020-04-11T14:46:22.230Z] 4cf88f913ddb: Verifying Checksum [2020-04-11T14:46:22.230Z] 4cf88f913ddb: Download complete [2020-04-11T14:46:22.230Z] 1df406cf5192: Verifying Checksum [2020-04-11T14:46:22.230Z] 1df406cf5192: Download complete [2020-04-11T14:46:22.826Z] cde5963f3b93: Verifying Checksum [2020-04-11T14:46:22.826Z] cde5963f3b93: Download complete [2020-04-11T14:46:22.951Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-11T14:46:23.521Z] OK: 143 MiB in 39 packages [2020-04-11T14:46:23.783Z] Removing intermediate container 711ebe79893b [2020-04-11T14:46:23.783Z] ---> ae41a0a58f96 [2020-04-11T14:46:23.783Z] Step 8/21 : COPY . . [2020-04-11T14:46:23.805Z] cde5963f3b93: Pull complete [2020-04-11T14:46:24.056Z] ---> 1f604e410f04 [2020-04-11T14:46:24.056Z] Step 9/21 : RUN ${MAKE} [2020-04-11T14:46:24.056Z] ---> Running in 95fb54f02914 [2020-04-11T14:46:24.400Z] 2a23fa8c16f7: Pull complete [2020-04-11T14:46:24.646Z] 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-04-11T14:46:24.671Z] 777b28850792: Pull complete [2020-04-11T14:46:26.674Z] cd6300453558: Verifying Checksum [2020-04-11T14:46:26.674Z] cd6300453558: Download complete [2020-04-11T14:46:26.674Z] a2d8cc88f415: Download complete [2020-04-11T14:46:29.276Z] ea1d1ca13537: Verifying Checksum [2020-04-11T14:46:29.276Z] ea1d1ca13537: Download complete [2020-04-11T14:46:29.276Z] 3750a50a1c5e: Verifying Checksum [2020-04-11T14:46:29.276Z] 3750a50a1c5e: Download complete [2020-04-11T14:46:32.646Z] b9c365052c96: Verifying Checksum [2020-04-11T14:46:32.646Z] b9c365052c96: Download complete [2020-04-11T14:46:33.607Z] 8a11ddd9e578: Verifying Checksum [2020-04-11T14:46:33.607Z] 8a11ddd9e578: Download complete [2020-04-11T14:46:36.971Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-11T14:46:37.541Z] Removing intermediate container 95fb54f02914 [2020-04-11T14:46:37.541Z] ---> dc458560ebc3 [2020-04-11T14:46:37.541Z] Step 10/21 : FROM scratch [2020-04-11T14:46:37.541Z] ---> [2020-04-11T14:46:37.541Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-11T14:46:37.541Z] ---> Running in a68a65302d7a [2020-04-11T14:46:37.801Z] Removing intermediate container a68a65302d7a [2020-04-11T14:46:37.801Z] ---> 9ffd63d5902d [2020-04-11T14:46:37.801Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-11T14:46:37.801Z] ---> Running in 7ccc090db330 [2020-04-11T14:46:38.063Z] Removing intermediate container 7ccc090db330 [2020-04-11T14:46:38.063Z] ---> 8fe6b1429d53 [2020-04-11T14:46:38.063Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-11T14:46:38.063Z] ---> Running in d9d88fe8d7ef [2020-04-11T14:46:38.063Z] Removing intermediate container d9d88fe8d7ef [2020-04-11T14:46:38.063Z] ---> 5dbbcd82ca7b [2020-04-11T14:46:38.063Z] Step 14/21 : WORKDIR / [2020-04-11T14:46:38.063Z] ---> Running in 94fbc9c51bf2 [2020-04-11T14:46:38.323Z] Removing intermediate container 94fbc9c51bf2 [2020-04-11T14:46:38.323Z] ---> b41c176e4568 [2020-04-11T14:46:38.323Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-11T14:46:38.897Z] ---> e74c70ff565d [2020-04-11T14:46:38.897Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-11T14:46:38.897Z] ---> e6be43bad4de [2020-04-11T14:46:38.897Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-11T14:46:39.157Z] ---> 8bfd2fd6dcd4 [2020-04-11T14:46:39.157Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-11T14:46:39.157Z] ---> Running in 7f628c2c9031 [2020-04-11T14:46:39.416Z] Removing intermediate container 7f628c2c9031 [2020-04-11T14:46:39.416Z] ---> afe36f5870b6 [2020-04-11T14:46:39.416Z] Step 19/21 : LABEL arch=amd64 [2020-04-11T14:46:39.416Z] ---> Running in 4e9e740fa7cc [2020-04-11T14:46:39.678Z] Removing intermediate container 4e9e740fa7cc [2020-04-11T14:46:39.678Z] ---> 915f1511e6a3 [2020-04-11T14:46:39.678Z] Step 20/21 : LABEL git_sha=c310ccc9c1d202c7eb1745c99718d16ffe6f6ec0 [2020-04-11T14:46:39.678Z] ---> Running in 68d4dafbeeb2 [2020-04-11T14:46:39.940Z] Removing intermediate container 68d4dafbeeb2 [2020-04-11T14:46:39.940Z] ---> 905913e3c9ad [2020-04-11T14:46:39.940Z] Step 21/21 : LABEL version=0.0.0 [2020-04-11T14:46:39.940Z] ---> Running in 0b071dffd72b [2020-04-11T14:46:39.940Z] Removing intermediate container 0b071dffd72b [2020-04-11T14:46:39.940Z] ---> 49d7f9d87ac3 [2020-04-11T14:46:39.940Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-11T14:46:39.940Z] Successfully built 49d7f9d87ac3 [2020-04-11T14:46:39.940Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-11T14:46:45.956Z] 8a11ddd9e578: Pull complete [2020-04-11T14:46:45.956Z] 4cf88f913ddb: Pull complete [2020-04-11T14:46:45.957Z] 1df406cf5192: Pull complete [2020-04-11T14:46:51.351Z] cd6300453558: Pull complete [2020-04-11T14:46:55.632Z] b9c365052c96: Pull complete [2020-04-11T14:46:55.901Z] a2d8cc88f415: Pull complete [2020-04-11T14:46:57.857Z] ea1d1ca13537: Pull complete [2020-04-11T14:46:58.447Z] 3750a50a1c5e: Pull complete [2020-04-11T14:46:58.447Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-11T14:46:58.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-11T14:46:58.447Z] ---> 78745c68409d [2020-04-11T14:46:58.447Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-11T14:47:01.806Z] ---> Running in 2dcb69fe86cf [2020-04-11T14:47:02.074Z] Removing intermediate container 2dcb69fe86cf [2020-04-11T14:47:02.074Z] ---> a37d8487e197 [2020-04-11T14:47:02.074Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-11T14:47:02.074Z] ---> Running in 02ee54753fb9 [2020-04-11T14:47:04.674Z] Removing intermediate container 02ee54753fb9 [2020-04-11T14:47:04.674Z] ---> cc25133b3f7e [2020-04-11T14:47:04.674Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-11T14:47:04.674Z] ---> Running in 6aeef54c2eb6 [2020-04-11T14:47:05.260Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-11T14:47:06.220Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-11T14:47:06.799Z] OK: 125 MiB in 39 packages [2020-04-11T14:47:08.213Z] Removing intermediate container 6aeef54c2eb6 [2020-04-11T14:47:08.213Z] ---> 1066c48eb44a [2020-04-11T14:47:08.213Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-11T14:47:08.213Z] ---> Running in dd41f248f698 [2020-04-11T14:47:08.482Z] Removing intermediate container dd41f248f698 [2020-04-11T14:47:08.482Z] ---> 2de758ec59d1 [2020-04-11T14:47:08.482Z] Step 7/8 : COPY . . [2020-04-11T14:47:09.445Z] ---> eb4d9e8ae387 [2020-04-11T14:47:09.445Z] Step 8/8 : RUN go mod download [2020-04-11T14:47:09.713Z] ---> Running in d743a2a7b26b [2020-04-11T14:47:11.657Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-11T14:47:11.657Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-11T14:47:11.657Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-11T14:47:11.657Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-11T14:47:11.657Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-11T14:47:11.657Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-11T14:47:11.657Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-11T14:47:11.657Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-11T14:47:11.657Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-11T14:47:11.657Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-11T14:47:11.657Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-11T14:47:11.657Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-11T14:47:11.657Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-11T14:47:11.657Z] go: finding github.com/fatih/color v1.7.0 [2020-04-11T14:47:11.657Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-11T14:47:11.657Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-11T14:47:11.657Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-11T14:47:11.657Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-11T14:47:11.657Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-11T14:47:11.657Z] go: finding github.com/google/uuid v1.1.0 [2020-04-11T14:47:11.923Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-11T14:47:11.923Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-11T14:47:11.923Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-11T14:47:11.923Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-11T14:47:11.923Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-11T14:47:11.923Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-11T14:47:11.923Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-11T14:47:11.923Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-11T14:47:11.923Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-11T14:47:11.923Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-11T14:47:11.923Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-11T14:47:11.923Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-11T14:47:11.923Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-11T14:47:11.923Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-11T14:47:11.923Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-11T14:47:11.923Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-11T14:47:11.923Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-11T14:47:11.923Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-11T14:47:11.923Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-11T14:47:11.923Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-11T14:47:11.923Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-11T14:47:11.923Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-11T14:47:11.923Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-11T14:47:11.923Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-11T14:47:11.923Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-11T14:47:12.188Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-11T14:47:12.188Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-11T14:47:12.188Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-11T14:47:12.188Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-11T14:47:12.188Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-11T14:47:12.188Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-11T14:47:12.188Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-11T14:47:12.188Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-11T14:47:12.188Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-11T14:47:12.188Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-11T14:47:12.188Z] go: finding github.com/posener/complete v1.1.1 [2020-04-11T14:47:12.188Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-11T14:47:12.188Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-11T14:47:12.188Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-11T14:47:12.188Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-11T14:47:12.188Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-11T14:47:12.188Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-11T14:47:12.188Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-11T14:47:12.188Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-11T14:47:12.188Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-11T14:47:12.188Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-11T14:47:12.188Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-11T14:47:12.188Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-11T14:47:22.278Z] Removing intermediate container d743a2a7b26b [2020-04-11T14:47:22.278Z] ---> d094ac54ce8e [2020-04-11T14:47:22.278Z] Successfully built d094ac54ce8e [2020-04-11T14:47:22.278Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-11T14:47:22.874Z] + docker inspect -f . ci-base-image-arm64 [2020-04-11T14:47:22.874Z] . [Pipeline] withDockerContainer [2020-04-11T14:47:23.217Z] prd-ubuntu18.04-docker-arm64-4c-16g-3436 does not seem to be running inside a container [2020-04-11T14:47:23.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@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 ******** -e ******** ci-base-image-arm64 cat [2020-04-11T14:47:24.744Z] $ docker top 197891d265f9b456fdb3d23f7f61c80e519b1c505a88203d3fbac1060240f605 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-11T14:47:25.780Z] + go version [2020-04-11T14:47:25.780Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-11T14:47:26.447Z] + make test [2020-04-11T14:47:26.447Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-11T14:47:27.871Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-11T14:48:14.841Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-11T14:48:14.841Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-11T14:48:14.841Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.024s coverage: 22.1% of statements [2020-04-11T14:48:14.841Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.166s coverage: 95.8% of statements [2020-04-11T14:48:33.059Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.110s coverage: 11.4% of statements [2020-04-11T14:48:33.059Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.030s coverage: 22.1% of statements [2020-04-11T14:48:33.059Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-11T14:48:33.059Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.156s coverage: 38.5% of statements [2020-04-11T14:48:33.059Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-11T14:48:33.059Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-11T14:48:33.059Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.568s coverage: 76.5% of statements [2020-04-11T14:48:33.059Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-11T14:48:33.059Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-11T14:48:33.059Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-11T14:48:33.059Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.137s coverage: 52.6% of statements [2020-04-11T14:48:33.059Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-11T14:48:33.059Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.368s coverage: 71.4% of statements [2020-04-11T14:48:33.059Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-11T14:48:33.059Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-11T14:48:33.059Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-11T14:48:38.441Z] gofmt -l . [2020-04-11T14:48:38.708Z] [ "`gofmt -l .`" = "" ] [2020-04-11T14:48:39.295Z] ./bin/test-attribution-txt.sh [2020-04-11T14:48:39.884Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-11T14:48:40.207Z] Warning: overwriting stash ‘coverage-report’ [2020-04-11T14:48:40.661Z] Stashed 1 file(s) [Pipeline] } [2020-04-11T14:48:40.671Z] $ docker stop --time=1 197891d265f9b456fdb3d23f7f61c80e519b1c505a88203d3fbac1060240f605 [2020-04-11T14:48:42.867Z] $ docker rm -f 197891d265f9b456fdb3d23f7f61c80e519b1c505a88203d3fbac1060240f605 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-11T14:48:44.086Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-11T14:48:44.412Z] + ls -al . [2020-04-11T14:48:44.412Z] total 200 [2020-04-11T14:48:44.412Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 11 14:48 . [2020-04-11T14:48:44.412Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 14:46 .. [2020-04-11T14:48:44.412Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 11 14:46 .dockerignore [2020-04-11T14:48:44.412Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 14:46 .git [2020-04-11T14:48:44.412Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 14:46 .github [2020-04-11T14:48:44.412Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 11 14:46 .gitignore [2020-04-11T14:48:44.412Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 14:46 .semver [2020-04-11T14:48:44.412Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 11 14:46 Dockerfile.build [2020-04-11T14:48:44.412Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 11 14:46 Jenkinsfile [2020-04-11T14:48:44.412Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 11 14:46 LICENSE [2020-04-11T14:48:44.412Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 11 14:46 Makefile [2020-04-11T14:48:44.412Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 11 14:46 README.md [2020-04-11T14:48:44.412Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 14:43 VERSION [2020-04-11T14:48:44.412Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 14:46 api [2020-04-11T14:48:44.412Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 14:46 bin [2020-04-11T14:48:44.412Z] -rw-r--r-- 1 jenkins jenkins 97490 Apr 11 14:48 coverage.out [2020-04-11T14:48:44.412Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 14:46 example [2020-04-11T14:48:44.412Z] -rw-r--r-- 1 jenkins jenkins 475 Apr 11 14:48 go.mod [2020-04-11T14:48:44.412Z] -rw-r--r-- 1 jenkins jenkins 12152 Apr 11 14:48 go.sum [2020-04-11T14:48:44.412Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 11 14:46 internal [2020-04-11T14:48:44.412Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 11 14:46 pkg [2020-04-11T14:48:44.412Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 14:46 snap [2020-04-11T14:48:44.412Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 11 14:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-11T14:48:44.743Z] + 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=c310ccc9c1d202c7eb1745c99718d16ffe6f6ec0 --label arch=arm64 --label version=0.0.0 . [2020-04-11T14:48:45.329Z] Sending build context to Docker daemon 3.037MB [2020-04-11T14:48:45.329Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-11T14:48:45.329Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-11T14:48:45.329Z] ---> d094ac54ce8e [2020-04-11T14:48:45.329Z] Step 3/21 : ARG MAKE='make build' [2020-04-11T14:48:45.329Z] ---> Running in 23a3cb5bd0ff [2020-04-11T14:48:45.916Z] Removing intermediate container 23a3cb5bd0ff [2020-04-11T14:48:45.916Z] ---> 35c934e1e84e [2020-04-11T14:48:45.916Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-11T14:48:45.916Z] ---> Running in b8820ee49f2b [2020-04-11T14:48:46.183Z] Removing intermediate container b8820ee49f2b [2020-04-11T14:48:46.183Z] ---> 1fa9a7d59a1c [2020-04-11T14:48:46.183Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-11T14:48:46.451Z] ---> Running in 44608c4ff89a [2020-04-11T14:48:46.718Z] Removing intermediate container 44608c4ff89a [2020-04-11T14:48:46.718Z] ---> 657f8cb620cb [2020-04-11T14:48:46.718Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-11T14:48:46.988Z] ---> Running in a3f09c456056 [2020-04-11T14:48:48.938Z] Removing intermediate container a3f09c456056 [2020-04-11T14:48:48.938Z] ---> 0c0052ea5eba [2020-04-11T14:48:48.938Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-11T14:48:48.938Z] ---> Running in 09f3f19d62d6 [2020-04-11T14:48:49.524Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-11T14:48:50.486Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-11T14:48:51.072Z] OK: 125 MiB in 39 packages [2020-04-11T14:48:52.063Z] Removing intermediate container 09f3f19d62d6 [2020-04-11T14:48:52.063Z] ---> 3ae0bc178458 [2020-04-11T14:48:52.063Z] Step 8/21 : COPY . . [2020-04-11T14:48:53.087Z] ---> d80980b04e8b [2020-04-11T14:48:53.087Z] Step 9/21 : RUN ${MAKE} [2020-04-11T14:48:53.375Z] ---> Running in f06016485ec3 [2020-04-11T14:48:54.370Z] 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-04-11T14:49:33.312Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-11T14:49:33.312Z] Removing intermediate container f06016485ec3 [2020-04-11T14:49:33.312Z] ---> 0cad65a7c24d [2020-04-11T14:49:33.312Z] Step 10/21 : FROM scratch [2020-04-11T14:49:33.312Z] ---> [2020-04-11T14:49:33.312Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-11T14:49:33.312Z] ---> Running in 15e4887f27b3 [2020-04-11T14:49:33.312Z] Removing intermediate container 15e4887f27b3 [2020-04-11T14:49:33.312Z] ---> 97cc11bb6194 [2020-04-11T14:49:33.312Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-11T14:49:33.312Z] ---> Running in 9eead548d6dd [2020-04-11T14:49:33.312Z] Removing intermediate container 9eead548d6dd [2020-04-11T14:49:33.312Z] ---> 68a3244685e8 [2020-04-11T14:49:33.312Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-11T14:49:33.312Z] ---> Running in c3b6caf578d7 [2020-04-11T14:49:33.312Z] Removing intermediate container c3b6caf578d7 [2020-04-11T14:49:33.312Z] ---> b91ab8d97c65 [2020-04-11T14:49:33.312Z] Step 14/21 : WORKDIR / [2020-04-11T14:49:33.312Z] ---> Running in 425c70f938c5 [2020-04-11T14:49:33.312Z] Removing intermediate container 425c70f938c5 [2020-04-11T14:49:33.312Z] ---> 50caffa761cc [2020-04-11T14:49:33.312Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-11T14:49:34.729Z] ---> 559a0d47e6c9 [2020-04-11T14:49:34.729Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-11T14:49:34.997Z] ---> 30819d42a7f0 [2020-04-11T14:49:34.997Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-11T14:49:35.587Z] ---> a3891b7504d3 [2020-04-11T14:49:35.587Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-11T14:49:35.855Z] ---> Running in 913f07a57386 [2020-04-11T14:49:36.123Z] Removing intermediate container 913f07a57386 [2020-04-11T14:49:36.123Z] ---> 27b625376367 [2020-04-11T14:49:36.123Z] Step 19/21 : LABEL arch=arm64 [2020-04-11T14:49:36.123Z] ---> Running in 51fcc01f158a [2020-04-11T14:49:36.706Z] Removing intermediate container 51fcc01f158a [2020-04-11T14:49:36.706Z] ---> 80ff8e9f4df7 [2020-04-11T14:49:36.706Z] Step 20/21 : LABEL git_sha=c310ccc9c1d202c7eb1745c99718d16ffe6f6ec0 [2020-04-11T14:49:36.706Z] ---> Running in 38b4a1dea9fb [2020-04-11T14:49:36.975Z] Removing intermediate container 38b4a1dea9fb [2020-04-11T14:49:36.975Z] ---> 2d9bbe53ad50 [2020-04-11T14:49:36.975Z] Step 21/21 : LABEL version=0.0.0 [2020-04-11T14:49:37.242Z] ---> Running in 24db7749c61b [2020-04-11T14:49:37.508Z] Removing intermediate container 24db7749c61b [2020-04-11T14:49:37.508Z] ---> 0dcd44c681e7 [2020-04-11T14:49:37.508Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-11T14:49:37.508Z] Successfully built 0dcd44c681e7 [2020-04-11T14:49:37.508Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-04-11T14:49:38.518Z] provisioning config files... [2020-04-11T14:49:38.534Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config7377097868805972201tmp [Pipeline] { [Pipeline] sh [2020-04-11T14:49:38.935Z] + curl -s https://codecov.io/bash [2020-04-11T14:49:38.935Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config7377097868805972201tmp [2020-04-11T14:49:39.202Z] [2020-04-11T14:49:39.202Z] _____ _ [2020-04-11T14:49:39.202Z] / ____| | | [2020-04-11T14:49:39.202Z] | | ___ __| | ___ ___ _____ __ [2020-04-11T14:49:39.202Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-11T14:49:39.202Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-11T14:49:39.202Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-11T14:49:39.202Z] Bash-20200410-0786dee [2020-04-11T14:49:39.202Z] [2020-04-11T14:49:39.202Z] [2020-04-11T14:49:39.202Z] ==> Jenkins CI detected. [2020-04-11T14:49:39.202Z] project root: . [2020-04-11T14:49:39.202Z] Fixing merge commit SHA [2020-04-11T14:49:39.202Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-11T14:49:39.202Z] ==> Running gcov in . (disable via -X gcov) [2020-04-11T14:49:39.202Z] ==> Python coveragepy not found [2020-04-11T14:49:39.202Z] ==> Searching for coverage reports in: [2020-04-11T14:49:39.202Z] + . [2020-04-11T14:49:39.202Z] -> Found 1 reports [2020-04-11T14:49:39.202Z] ==> Detecting git/mercurial file structure [2020-04-11T14:49:39.202Z] ==> Reading reports [2020-04-11T14:49:39.470Z] + ./coverage.out bytes=97490 [2020-04-11T14:49:39.470Z] ==> Appending adjustments [2020-04-11T14:49:39.470Z] http://docs.codecov.io/docs/fixing-reports [2020-04-11T14:49:39.735Z] + Found adjustments [2020-04-11T14:49:39.735Z] ==> Gzipping contents [2020-04-11T14:49:39.735Z] ==> Uploading reports [2020-04-11T14:49:39.735Z] url: https://codecov.io [2020-04-11T14:49:39.735Z] query: branch=PR-464&commit=cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= [2020-04-11T14:49:39.735Z] -> Pinging Codecov [2020-04-11T14:49:39.735Z] https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=PR-464&commit=cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= [2020-04-11T14:49:40.315Z] -> Uploading [2020-04-11T14:49:40.887Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cc1019dbdfe33c060ccf9676c8b4a7bca0c3d1d8 [Pipeline] } [2020-04-11T14:49:40.894Z] 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-04-11T14:49:42.135Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-11T14:49:42.443Z] ---> package-listing.sh [2020-04-11T14:49:42.443Z] ++ facter osfamily [2020-04-11T14:49:42.443Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-11T14:49:42.443Z] + OS_FAMILY=redhat [2020-04-11T14:49:42.443Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-464 [2020-04-11T14:49:42.443Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-11T14:49:42.443Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-11T14:49:42.443Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-11T14:49:42.443Z] + PACKAGES=/tmp/packages_start.txt [2020-04-11T14:49:42.443Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' [2020-04-11T14:49:42.443Z] + PACKAGES=/tmp/packages_end.txt [2020-04-11T14:49:42.443Z] + case "${OS_FAMILY}" in [2020-04-11T14:49:42.443Z] + rpm -qa [2020-04-11T14:49:42.443Z] + sort [2020-04-11T14:49:47.781Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-11T14:49:47.781Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-11T14:49:47.781Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-11T14:49:47.781Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' [2020-04-11T14:49:47.781Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ [2020-04-11T14:49:47.781Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-11T14:49:48.220Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-11T14:49:48.220Z] [2020-04-11T14:49:48.220Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-11T14:49:48.859Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-11T14:49:49.233Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-11T14:49:49.233Z] c9b1b535fdd9: Pulling fs layer [2020-04-11T14:49:49.233Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-11T14:49:49.233Z] 756a868c4378: Pulling fs layer [2020-04-11T14:49:49.233Z] 444b2fc9a129: Pulling fs layer [2020-04-11T14:49:49.233Z] ea15f1150254: Pulling fs layer [2020-04-11T14:49:49.233Z] 41b27a9f41bf: Pulling fs layer [2020-04-11T14:49:49.233Z] 28c525ee5125: Pulling fs layer [2020-04-11T14:49:49.233Z] 094b1ea09ed8: Pulling fs layer [2020-04-11T14:49:49.233Z] 138eaada9080: Pulling fs layer [2020-04-11T14:49:49.233Z] 0622d0fa9048: Pulling fs layer [2020-04-11T14:49:49.233Z] 41b27a9f41bf: Waiting [2020-04-11T14:49:49.233Z] 28c525ee5125: Waiting [2020-04-11T14:49:49.234Z] 094b1ea09ed8: Waiting [2020-04-11T14:49:49.234Z] 138eaada9080: Waiting [2020-04-11T14:49:49.234Z] 0622d0fa9048: Waiting [2020-04-11T14:49:49.234Z] 444b2fc9a129: Waiting [2020-04-11T14:49:49.234Z] ea15f1150254: Waiting [2020-04-11T14:49:49.556Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-11T14:49:49.556Z] 2cc5ad85d9ab: Download complete [2020-04-11T14:49:49.556Z] 444b2fc9a129: Verifying Checksum [2020-04-11T14:49:49.556Z] 444b2fc9a129: Download complete [2020-04-11T14:49:49.556Z] c9b1b535fdd9: Verifying Checksum [2020-04-11T14:49:49.557Z] c9b1b535fdd9: Download complete [2020-04-11T14:49:49.557Z] ea15f1150254: Verifying Checksum [2020-04-11T14:49:49.557Z] ea15f1150254: Download complete [2020-04-11T14:49:49.886Z] 28c525ee5125: Verifying Checksum [2020-04-11T14:49:49.886Z] 28c525ee5125: Download complete [2020-04-11T14:49:50.244Z] c9b1b535fdd9: Pull complete [2020-04-11T14:49:50.557Z] 2cc5ad85d9ab: Pull complete [2020-04-11T14:49:50.909Z] 756a868c4378: Verifying Checksum [2020-04-11T14:49:50.909Z] 756a868c4378: Download complete [2020-04-11T14:49:51.866Z] 138eaada9080: Verifying Checksum [2020-04-11T14:49:51.866Z] 138eaada9080: Download complete [2020-04-11T14:49:51.866Z] 0622d0fa9048: Verifying Checksum [2020-04-11T14:49:51.866Z] 0622d0fa9048: Download complete [2020-04-11T14:49:52.975Z] 094b1ea09ed8: Verifying Checksum [2020-04-11T14:49:52.976Z] 094b1ea09ed8: Download complete [2020-04-11T14:49:53.841Z] 41b27a9f41bf: Verifying Checksum [2020-04-11T14:49:53.841Z] 41b27a9f41bf: Download complete [2020-04-11T14:49:55.303Z] 756a868c4378: Pull complete [2020-04-11T14:49:55.303Z] 444b2fc9a129: Pull complete [2020-04-11T14:49:55.908Z] ea15f1150254: Pull complete [2020-04-11T14:50:01.320Z] 41b27a9f41bf: Pull complete [2020-04-11T14:50:01.320Z] 28c525ee5125: Pull complete [2020-04-11T14:50:04.711Z] 094b1ea09ed8: Pull complete [2020-04-11T14:50:04.980Z] 138eaada9080: Pull complete [2020-04-11T14:50:05.242Z] 0622d0fa9048: Pull complete [2020-04-11T14:50:05.242Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-11T14:50:05.242Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-11T14:50:05.496Z] prd-centos7-docker-4c-2g-3432 does not seem to be running inside a container [2020-04-11T14:50:05.611Z] $ 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-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-11T14:50:07.224Z] $ docker top f09b635131fa8f4c2bbd8716e35800322e8642497460df2e8eea456566352fed -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-11T14:50:07.545Z] provisioning config files... [2020-04-11T14:50:07.573Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config1378863368921152217tmp [Pipeline] { [Pipeline] echo [2020-04-11T14:50:07.635Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-11T14:50:08.434Z] ---> create-netrc.sh [Pipeline] echo [2020-04-11T14:50:08.465Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-11T14:50:09.142Z] ---> logs-deploy.sh [2020-04-11T14:50:09.143Z] + ARCHIVE_ARTIFACTS= [2020-04-11T14:50:09.143Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-11T14:50:09.143Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-11T14:50:09.143Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-11T14:50:09.143Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/17 [2020-04-11T14:50:09.143Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/17/ [2020-04-11T14:50:09.143Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/17 /w/workspace/dgexfoundry_device-sdk-go_PR-464 [2020-04-11T14:50:10.971Z] Archives upload complete. [2020-04-11T14:50:10.971Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/17 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/17/