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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 3278ca811ebe6eb1386b4929cc47cbb53fd00eee+fc4d8ba2ca6bee1bf2e474e60f47b75130718504 (37efe4e1113bc68220c231161cffb3fa39505da0) 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4301 in /w/workspace/dgexfoundry_device-sdk-go_PR-484 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-484 # 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/484/head:refs/remotes/origin/PR-484 +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/484/head:refs/remotes/origin/PR-484 # 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/484/head:refs/remotes/origin/PR-484 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit fc4d8ba2ca6bee1bf2e474e60f47b75130718504 into PR head commit 3278ca811ebe6eb1386b4929cc47cbb53fd00eee Merge succeeded, producing 430363f90f2f59d9f8086df00b44f95737ce169e Checking out Revision 430363f90f2f59d9f8086df00b44f95737ce169e (PR-484) > git config core.sparsecheckout # timeout=10 > git checkout -f 3278ca811ebe6eb1386b4929cc47cbb53fd00eee # 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 fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 430363f90f2f59d9f8086df00b44f95737ce169e # timeout=10 Commit message: "Merge commit 'fc4d8ba2ca6bee1bf2e474e60f47b75130718504' into HEAD" > git rev-list --no-walk 3278ca811ebe6eb1386b4929cc47cbb53fd00eee # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-16T14:42:17.287Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-16T14:42:17.457Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-16T14:42:17.526Z] ========================================================= [2020-04-16T14:42:17.526Z] EdgeX Global Pipelines Version Info [2020-04-16T14:42:17.526Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:42:18.974Z] ------------------- [2020-04-16T14:42:18.974Z] stable info: [2020-04-16T14:42:18.974Z] ------------------- [2020-04-16T14:42:18.974Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-16T14:42:18.974Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-16T14:42:18.974Z] Message: update stable to v1.0.73 [2020-04-16T14:42:19.542Z] ------------------- [2020-04-16T14:42:19.542Z] experimental info: [2020-04-16T14:42:19.542Z] ------------------- [2020-04-16T14:42:19.542Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-16T14:42:19.542Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-16T14:42:19.542Z] Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:42:21.840Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T14:42:21.840Z] [2020-04-16T14:42:21.840Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:42:22.172Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T14:42:22.173Z] latest: Pulling from edgex-devops/git-semver [2020-04-16T14:42:22.173Z] 9123ac7c32f7: Pulling fs layer [2020-04-16T14:42:22.173Z] b8cc5d1170e3: Pulling fs layer [2020-04-16T14:42:22.173Z] 2924cbbf6a41: Pulling fs layer [2020-04-16T14:42:22.173Z] 93b08a4f1073: Pulling fs layer [2020-04-16T14:42:22.173Z] 93b08a4f1073: Waiting [2020-04-16T14:42:22.173Z] b8cc5d1170e3: Download complete [2020-04-16T14:42:22.436Z] 9123ac7c32f7: Verifying Checksum [2020-04-16T14:42:22.436Z] 9123ac7c32f7: Download complete [2020-04-16T14:42:22.436Z] 93b08a4f1073: Verifying Checksum [2020-04-16T14:42:22.436Z] 93b08a4f1073: Download complete [2020-04-16T14:42:22.436Z] 2924cbbf6a41: Verifying Checksum [2020-04-16T14:42:22.436Z] 2924cbbf6a41: Download complete [2020-04-16T14:42:22.700Z] 9123ac7c32f7: Pull complete [2020-04-16T14:42:22.700Z] b8cc5d1170e3: Pull complete [2020-04-16T14:42:23.654Z] 2924cbbf6a41: Pull complete [2020-04-16T14:42:23.654Z] 93b08a4f1073: Pull complete [2020-04-16T14:42:23.654Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-16T14:42:23.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-16T14:42:23.792Z] prd-centos7-docker-4c-2g-4301 does not seem to be running inside a container [2020-04-16T14:42:23.849Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-484 -v /w/workspace/dgexfoundry_device-sdk-go_PR-484:/w/workspace/dgexfoundry_device-sdk-go_PR-484:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-484@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-16T14:42:24.519Z] $ docker top 1ee2a562119e2cea075bd9c8602c0368c888fc91a0d93a8609ab7d051a383d19 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-16T14:42:24.853Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T14:42:24.853Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T14:42:25.060Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T14:42:25.067Z] $ docker exec 1ee2a562119e2cea075bd9c8602c0368c888fc91a0d93a8609ab7d051a383d19 ssh-agent [2020-04-16T14:42:25.248Z] SSH_AUTH_SOCK=/tmp/ssh-d9ljtbCRN1SH/agent.15 [2020-04-16T14:42:25.248Z] SSH_AGENT_PID=22 [2020-04-16T14:42:25.258Z] Running ssh-add (command line suppressed) [2020-04-16T14:42:25.395Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/private_key_5272320362602785930.key (/w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/private_key_5272320362602785930.key) [2020-04-16T14:42:25.445Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T14:42:25.799Z] + git describe --exact-match --tags HEAD [2020-04-16T14:42:25.799Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-16T14:42:25.873Z] $ docker exec --env ******** --env ******** 1ee2a562119e2cea075bd9c8602c0368c888fc91a0d93a8609ab7d051a383d19 ssh-agent -k [2020-04-16T14:42:26.020Z] unset SSH_AUTH_SOCK; [2020-04-16T14:42:26.020Z] unset SSH_AGENT_PID; [2020-04-16T14:42:26.020Z] echo Agent pid 22 killed; [2020-04-16T14:42:26.074Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-16T14:42:26.168Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-16T14:42:26.168Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-16T14:42:26.308Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T14:42:26.308Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T14:42:26.490Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T14:42:26.498Z] $ docker exec 1ee2a562119e2cea075bd9c8602c0368c888fc91a0d93a8609ab7d051a383d19 ssh-agent [2020-04-16T14:42:26.679Z] SSH_AUTH_SOCK=/tmp/ssh-w2RIsuHeApca/agent.55 [2020-04-16T14:42:26.679Z] SSH_AGENT_PID=62 [2020-04-16T14:42:26.690Z] Running ssh-add (command line suppressed) [2020-04-16T14:42:26.841Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/private_key_1682152209352064872.key (/w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/private_key_1682152209352064872.key) [2020-04-16T14:42:26.877Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T14:42:27.202Z] + git semver init [2020-04-16T14:42:27.202Z] # -> Open(): unable to determine branch for HEAD [2020-04-16T14:42:27.202Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-484/.git [2020-04-16T14:42:27.202Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-484 [2020-04-16T14:42:27.202Z] # $SEMVER_REMOTE_NAME = origin [2020-04-16T14:42:27.202Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-16T14:42:27.202Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-16T14:42:27.202Z] # $SEMVER_BRANCH = PR-484 [2020-04-16T14:42:27.202Z] # $SEMVER_TEMP = /tmp/semver-964539616 [2020-04-16T14:42:27.202Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-16T14:42:27.783Z] # '/tmp/semver-964539616' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-484/.semver' [2020-04-16T14:42:27.783Z] # -> Force: false [2020-04-16T14:42:27.783Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-484/.semver [Pipeline] } [2020-04-16T14:42:27.798Z] $ docker exec --env ******** --env ******** 1ee2a562119e2cea075bd9c8602c0368c888fc91a0d93a8609ab7d051a383d19 ssh-agent -k [2020-04-16T14:42:27.954Z] unset SSH_AUTH_SOCK; [2020-04-16T14:42:27.954Z] unset SSH_AGENT_PID; [2020-04-16T14:42:27.954Z] echo Agent pid 62 killed; [2020-04-16T14:42:28.008Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-16T14:42:28.454Z] + git semver [Pipeline] } [2020-04-16T14:42:28.471Z] $ docker stop --time=1 1ee2a562119e2cea075bd9c8602c0368c888fc91a0d93a8609ab7d051a383d19 [2020-04-16T14:42:29.793Z] $ docker rm -f 1ee2a562119e2cea075bd9c8602c0368c888fc91a0d93a8609ab7d051a383d19 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-16T14:42:30.664Z] Stashed 44 file(s) [Pipeline] echo [2020-04-16T14:42:30.666Z] [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-16T14:42:45.961Z] Still waiting to schedule task [2020-04-16T14:42:45.962Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-16T14:42:45.965Z] Still waiting to schedule task [2020-04-16T14:42:45.965Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-16T14:43:28.956Z] Running on prd-centos7-docker-4c-2g-4307 in /w/workspace/dgexfoundry_device-sdk-go_PR-484 [Pipeline] { [Pipeline] ws [2020-04-16T14:43:29.004Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-04-16T14:43:31.546Z] using credential edgex-jenkins-ssh [2020-04-16T14:43:31.616Z] Cloning the remote Git repository [2020-04-16T14:43:31.616Z] Cloning with configured refspecs honoured and without tags [2020-04-16T14:43:31.556Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T14:43:31.600Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-04-16T14:43:31.653Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T14:43:31.653Z] > git --version # timeout=10 [2020-04-16T14:43:31.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:43:31.689Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/484/head:refs/remotes/origin/PR-484 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:43:32.865Z] Fetching without tags [2020-04-16T14:43:33.222Z] Merging remotes/origin/master commit fc4d8ba2ca6bee1bf2e474e60f47b75130718504 into PR head commit 3278ca811ebe6eb1386b4929cc47cbb53fd00eee [2020-04-16T14:43:33.344Z] Merge succeeded, producing 26ecd632a2332dc291ab39b736bc64347628188f [2020-04-16T14:43:33.345Z] Checking out Revision 26ecd632a2332dc291ab39b736bc64347628188f (PR-484) [2020-04-16T14:43:32.839Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T14:43:32.843Z] > git config --add remote.origin.fetch +refs/pull/484/head:refs/remotes/origin/PR-484 # timeout=10 [2020-04-16T14:43:32.848Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:43:32.860Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T14:43:32.869Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T14:43:32.869Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:43:32.875Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/484/head:refs/remotes/origin/PR-484 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:43:33.230Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T14:43:33.239Z] > git checkout -f 3278ca811ebe6eb1386b4929cc47cbb53fd00eee # timeout=10 [2020-04-16T14:43:33.292Z] > git remote # timeout=10 [2020-04-16T14:43:33.299Z] > git config --get remote.origin.url # timeout=10 [2020-04-16T14:43:33.303Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:43:33.307Z] > git merge fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 [2020-04-16T14:43:33.338Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-16T14:43:33.348Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T14:43:33.355Z] > git checkout -f 26ecd632a2332dc291ab39b736bc64347628188f # timeout=10 [2020-04-16T14:43:37.262Z] Commit message: "Merge commit 'fc4d8ba2ca6bee1bf2e474e60f47b75130718504' into HEAD" [2020-04-16T14:43:37.267Z] > git rev-list --no-walk 3278ca811ebe6eb1386b4929cc47cbb53fd00eee # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-16T14:43:38.177Z] ========================================================= [2020-04-16T14:43:38.177Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-16T14:43:38.177Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:43:38.930Z] + 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-16T14:43:39.201Z] Sending build context to Docker daemon 2.925MB [2020-04-16T14:43:39.201Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-16T14:43:39.201Z] Step 2/8 : FROM ${BASE} [2020-04-16T14:43:39.201Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-16T14:43:39.201Z] e6b0cf9c0882: Pulling fs layer [2020-04-16T14:43:39.201Z] 2848faf0eed1: Pulling fs layer [2020-04-16T14:43:39.201Z] 0f37312ad70f: Pulling fs layer [2020-04-16T14:43:39.201Z] 5788d62ee057: Pulling fs layer [2020-04-16T14:43:39.201Z] 0e6b1d234666: Pulling fs layer [2020-04-16T14:43:39.201Z] bf5d7aec512f: Pulling fs layer [2020-04-16T14:43:39.201Z] 34c802a77dc8: Pulling fs layer [2020-04-16T14:43:39.201Z] 9eb99e56ec68: Pulling fs layer [2020-04-16T14:43:39.201Z] 27c7a5d97fbd: Pulling fs layer [2020-04-16T14:43:39.201Z] 5c102a31e300: Pulling fs layer [2020-04-16T14:43:39.201Z] dcfb455df0a1: Pulling fs layer [2020-04-16T14:43:39.201Z] 34c802a77dc8: Waiting [2020-04-16T14:43:39.201Z] 9eb99e56ec68: Waiting [2020-04-16T14:43:39.201Z] 27c7a5d97fbd: Waiting [2020-04-16T14:43:39.201Z] 5788d62ee057: Waiting [2020-04-16T14:43:39.201Z] 0e6b1d234666: Waiting [2020-04-16T14:43:39.201Z] dcfb455df0a1: Waiting [2020-04-16T14:43:39.201Z] 5c102a31e300: Waiting [2020-04-16T14:43:39.201Z] 0f37312ad70f: Verifying Checksum [2020-04-16T14:43:39.201Z] 0f37312ad70f: Download complete [2020-04-16T14:43:39.201Z] 2848faf0eed1: Download complete [2020-04-16T14:43:39.462Z] 0e6b1d234666: Verifying Checksum [2020-04-16T14:43:39.462Z] 0e6b1d234666: Download complete [2020-04-16T14:43:39.462Z] bf5d7aec512f: Verifying Checksum [2020-04-16T14:43:39.462Z] bf5d7aec512f: Download complete [2020-04-16T14:43:39.462Z] e6b0cf9c0882: Verifying Checksum [2020-04-16T14:43:39.729Z] e6b0cf9c0882: Pull complete [2020-04-16T14:43:39.993Z] 2848faf0eed1: Pull complete [2020-04-16T14:43:39.993Z] 0f37312ad70f: Pull complete [2020-04-16T14:43:40.958Z] 34c802a77dc8: Verifying Checksum [2020-04-16T14:43:40.958Z] 34c802a77dc8: Download complete [2020-04-16T14:43:40.958Z] 27c7a5d97fbd: Verifying Checksum [2020-04-16T14:43:40.958Z] 27c7a5d97fbd: Download complete [2020-04-16T14:43:41.548Z] 5c102a31e300: Verifying Checksum [2020-04-16T14:43:41.548Z] 5c102a31e300: Download complete [2020-04-16T14:43:41.548Z] dcfb455df0a1: Verifying Checksum [2020-04-16T14:43:41.548Z] dcfb455df0a1: Download complete [2020-04-16T14:43:41.808Z] 9eb99e56ec68: Verifying Checksum [2020-04-16T14:43:41.808Z] 9eb99e56ec68: Download complete [2020-04-16T14:43:41.808Z] 5788d62ee057: Verifying Checksum [2020-04-16T14:43:41.808Z] 5788d62ee057: Download complete [2020-04-16T14:43:48.579Z] 5788d62ee057: Pull complete [2020-04-16T14:43:48.579Z] 0e6b1d234666: Pull complete [2020-04-16T14:43:48.579Z] bf5d7aec512f: Pull complete [2020-04-16T14:43:52.792Z] 34c802a77dc8: Pull complete [2020-04-16T14:43:56.102Z] 9eb99e56ec68: Pull complete [2020-04-16T14:43:56.103Z] 27c7a5d97fbd: Pull complete [2020-04-16T14:43:56.371Z] 5c102a31e300: Pull complete [2020-04-16T14:43:56.633Z] dcfb455df0a1: Pull complete [2020-04-16T14:43:56.633Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-16T14:43:56.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-16T14:43:56.633Z] ---> 7c70fe431013 [2020-04-16T14:43:56.633Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T14:43:56.892Z] ---> Running in 49b1099dbc23 [2020-04-16T14:43:56.892Z] Removing intermediate container 49b1099dbc23 [2020-04-16T14:43:56.892Z] ---> 0cecbdbfc594 [2020-04-16T14:43:56.892Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T14:43:56.892Z] ---> Running in 6d8140614f00 [2020-04-16T14:43:58.285Z] Removing intermediate container 6d8140614f00 [2020-04-16T14:43:58.285Z] ---> 36dc34ef7818 [2020-04-16T14:43:58.285Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-16T14:43:58.285Z] ---> Running in e4790c87c89b [2020-04-16T14:43:58.864Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-16T14:43:59.802Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-16T14:43:59.802Z] OK: 143 MiB in 39 packages [2020-04-16T14:44:00.375Z] Removing intermediate container e4790c87c89b [2020-04-16T14:44:00.375Z] ---> d2fa4a96bea6 [2020-04-16T14:44:00.375Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-16T14:44:00.375Z] ---> Running in 771333dd5c6a [2020-04-16T14:44:00.639Z] Removing intermediate container 771333dd5c6a [2020-04-16T14:44:00.639Z] ---> b8eaf58a07fc [2020-04-16T14:44:00.639Z] Step 7/8 : COPY . . [2020-04-16T14:44:01.221Z] ---> 489cbe6bc1b3 [2020-04-16T14:44:01.221Z] Step 8/8 : RUN go mod download [2020-04-16T14:44:01.221Z] ---> Running in 9710368385a2 [2020-04-16T14:44:02.632Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-16T14:44:02.633Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-16T14:44:02.633Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-16T14:44:02.633Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T14:44:02.633Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-16T14:44:02.633Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-16T14:44:02.633Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-16T14:44:02.633Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-16T14:44:02.633Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-16T14:44:02.633Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-16T14:44:02.633Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-16T14:44:02.633Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-16T14:44:02.633Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-16T14:44:02.633Z] go: finding github.com/fatih/color v1.7.0 [2020-04-16T14:44:02.633Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-16T14:44:02.633Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-16T14:44:02.633Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T14:44:02.894Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-16T14:44:02.894Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-16T14:44:02.894Z] go: finding github.com/google/uuid v1.1.0 [2020-04-16T14:44:02.894Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-16T14:44:02.894Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-16T14:44:02.894Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-16T14:44:02.894Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-16T14:44:02.894Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-16T14:44:02.894Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T14:44:02.894Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-16T14:44:02.894Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-16T14:44:02.894Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T14:44:02.894Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-16T14:44:02.894Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-16T14:44:02.894Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-16T14:44:02.894Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-16T14:44:02.894Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-16T14:44:02.894Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-16T14:44:02.894Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-16T14:44:02.894Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-16T14:44:02.894Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-16T14:44:02.894Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-16T14:44:02.894Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-16T14:44:02.894Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-16T14:44:02.894Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-16T14:44:02.894Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-16T14:44:02.894Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T14:44:02.894Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-16T14:44:02.894Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-16T14:44:02.894Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-16T14:44:02.894Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-16T14:44:02.894Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-16T14:44:02.894Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T14:44:02.894Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T14:44:03.158Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-16T14:44:03.158Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-16T14:44:03.158Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-16T14:44:03.158Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-16T14:44:03.158Z] go: finding github.com/posener/complete v1.1.1 [2020-04-16T14:44:03.158Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-16T14:44:03.158Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-16T14:44:03.158Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-16T14:44:03.158Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-16T14:44:03.158Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-16T14:44:03.158Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-16T14:44:03.158Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-16T14:44:03.158Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-16T14:44:03.158Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-16T14:44:03.158Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-16T14:44:03.158Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-16T14:44:03.158Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-16T14:44:08.454Z] Removing intermediate container 9710368385a2 [2020-04-16T14:44:08.454Z] ---> 9e5b6ed9d6e7 [2020-04-16T14:44:08.454Z] Successfully built 9e5b6ed9d6e7 [2020-04-16T14:44:08.454Z] 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-16T14:44:09.055Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-16T14:44:09.055Z] . [Pipeline] withDockerContainer [2020-04-16T14:44:09.171Z] prd-centos7-docker-4c-2g-4307 does not seem to be running inside a container [2020-04-16T14:44:09.214Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-16T14:44:11.294Z] $ docker top 9425cc9beaa59011fd892948042e346538dc489ab463d1a1e6e1bee55628ffea -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-16T14:44:11.799Z] + go version [2020-04-16T14:44:11.799Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-16T14:44:12.145Z] + make test [2020-04-16T14:44:12.145Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-16T14:44:12.736Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-16T14:44:22.797Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-16T14:44:22.797Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-16T14:44:22.797Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.043s coverage: 22.1% of statements [2020-04-16T14:44:23.855Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.060s coverage: 95.8% of statements [2020-04-16T14:44:55.978Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.051s coverage: 11.4% of statements [2020-04-16T14:44:55.978Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.014s coverage: 22.1% of statements [2020-04-16T14:44:55.978Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-16T14:44:55.978Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.187s coverage: 38.5% of statements [2020-04-16T14:44:55.978Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-16T14:44:55.978Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-16T14:44:55.978Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.230s coverage: 66.6% of statements [2020-04-16T14:44:55.978Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-16T14:44:55.978Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-16T14:44:55.978Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-16T14:44:55.978Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.014s coverage: 52.6% of statements [2020-04-16T14:44:55.978Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-16T14:44:55.978Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.125s coverage: 68.9% of statements [2020-04-16T14:44:55.978Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-16T14:44:55.978Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-16T14:44:55.978Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-16T14:44:55.978Z] gofmt -l . [2020-04-16T14:44:55.978Z] [ "`gofmt -l .`" = "" ] [2020-04-16T14:44:55.978Z] ./bin/test-attribution-txt.sh [2020-04-16T14:44:56.548Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-16T14:44:57.196Z] Stashed 1 file(s) [Pipeline] } [2020-04-16T14:44:57.201Z] $ docker stop --time=1 9425cc9beaa59011fd892948042e346538dc489ab463d1a1e6e1bee55628ffea [2020-04-16T14:44:58.643Z] $ docker rm -f 9425cc9beaa59011fd892948042e346538dc489ab463d1a1e6e1bee55628ffea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-16T14:44:59.986Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-16T14:45:00.275Z] + ls -al . [2020-04-16T14:45:00.275Z] total 172 [2020-04-16T14:45:00.275Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 16 14:44 . [2020-04-16T14:45:00.275Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 16 14:43 .. [2020-04-16T14:45:00.275Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 16 14:43 api [2020-04-16T14:45:00.275Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 16 14:43 bin [2020-04-16T14:45:00.275Z] -rw-r--r--. 1 jenkins jenkins 107955 Apr 16 14:44 coverage.out [2020-04-16T14:45:00.275Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 16 14:43 Dockerfile.build [2020-04-16T14:45:00.275Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 14:43 .dockerignore [2020-04-16T14:45:00.275Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 16 14:43 example [2020-04-16T14:45:00.275Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 14:43 .git [2020-04-16T14:45:00.275Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 16 14:43 .github [2020-04-16T14:45:00.275Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 16 14:43 .gitignore [2020-04-16T14:45:00.275Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 16 14:44 go.mod [2020-04-16T14:45:00.275Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 16 14:44 go.sum [2020-04-16T14:45:00.276Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 16 14:43 internal [2020-04-16T14:45:00.276Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 16 14:43 Jenkinsfile [2020-04-16T14:45:00.276Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 16 14:43 LICENSE [2020-04-16T14:45:00.276Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 16 14:43 Makefile [2020-04-16T14:45:00.276Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 16 14:43 pkg [2020-04-16T14:45:00.276Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 16 14:43 README.md [2020-04-16T14:45:00.276Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 16 14:43 .semver [2020-04-16T14:45:00.276Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 14:43 snap [2020-04-16T14:45:00.276Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 16 14:42 VERSION [2020-04-16T14:45:00.276Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 16 14:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:45:00.579Z] + 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=430363f90f2f59d9f8086df00b44f95737ce169e --label arch=amd64 --label version=0.0.0 . [2020-04-16T14:45:00.579Z] Sending build context to Docker daemon 3.049MB [2020-04-16T14:45:00.579Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-16T14:45:00.579Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-16T14:45:00.579Z] ---> 9e5b6ed9d6e7 [2020-04-16T14:45:00.579Z] Step 3/21 : ARG MAKE='make build' [2020-04-16T14:45:00.837Z] ---> Running in 99c46a0d1816 [2020-04-16T14:45:00.837Z] Removing intermediate container 99c46a0d1816 [2020-04-16T14:45:00.837Z] ---> 609d1050ea67 [2020-04-16T14:45:00.837Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-16T14:45:00.837Z] ---> Running in 32db6d4df5fe [2020-04-16T14:45:01.095Z] Removing intermediate container 32db6d4df5fe [2020-04-16T14:45:01.095Z] ---> 6c58db32efa6 [2020-04-16T14:45:01.095Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T14:45:01.095Z] ---> Running in 750964e2ba3b [2020-04-16T14:45:01.354Z] Removing intermediate container 750964e2ba3b [2020-04-16T14:45:01.354Z] ---> 522cfe16919c [2020-04-16T14:45:01.354Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T14:45:01.354Z] ---> Running in 0c18bf5e0c95 [2020-04-16T14:45:01.937Z] Removing intermediate container 0c18bf5e0c95 [2020-04-16T14:45:01.937Z] ---> 07513c5fbff5 [2020-04-16T14:45:01.937Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-16T14:45:02.198Z] ---> Running in 557073cde4d8 [2020-04-16T14:45:02.465Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-16T14:45:03.037Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-16T14:45:03.606Z] OK: 143 MiB in 39 packages [2020-04-16T14:45:03.864Z] Removing intermediate container 557073cde4d8 [2020-04-16T14:45:03.864Z] ---> 6d56b7ec5c60 [2020-04-16T14:45:03.864Z] Step 8/21 : COPY . . [2020-04-16T14:45:04.122Z] ---> 302ed287c186 [2020-04-16T14:45:04.122Z] Step 9/21 : RUN ${MAKE} [2020-04-16T14:45:04.388Z] ---> Running in 8f82fd65a9d0 [2020-04-16T14:45:04.652Z] 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-16T14:45:06.211Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4308 in /w/workspace/dgexfoundry_device-sdk-go_PR-484 [Pipeline] { [Pipeline] ws [2020-04-16T14:45:06.248Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-04-16T14:45:11.976Z] using credential edgex-jenkins-ssh [2020-04-16T14:45:12.034Z] Cloning the remote Git repository [2020-04-16T14:45:12.034Z] Cloning with configured refspecs honoured and without tags [2020-04-16T14:45:12.043Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T14:45:12.126Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-04-16T14:45:12.192Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T14:45:12.193Z] > git --version # timeout=10 [2020-04-16T14:45:12.216Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:45:12.281Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/484/head:refs/remotes/origin/PR-484 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:45:12.859Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-16T14:45:13.379Z] Fetching without tags [2020-04-16T14:45:13.434Z] Removing intermediate container 8f82fd65a9d0 [2020-04-16T14:45:13.434Z] ---> f120d43b7824 [2020-04-16T14:45:13.434Z] Step 10/21 : FROM scratch [2020-04-16T14:45:13.434Z] ---> [2020-04-16T14:45:13.434Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T14:45:13.434Z] ---> Running in 04435341cbdf [2020-04-16T14:45:13.434Z] Removing intermediate container 04435341cbdf [2020-04-16T14:45:13.434Z] ---> e84ea930723f [2020-04-16T14:45:13.434Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-16T14:45:13.434Z] ---> Running in f45032e3952a [2020-04-16T14:45:13.694Z] Removing intermediate container f45032e3952a [2020-04-16T14:45:13.694Z] ---> 26d15a122a0f [2020-04-16T14:45:13.694Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-16T14:45:13.694Z] ---> Running in 39b801e321ec [2020-04-16T14:45:13.849Z] Merging remotes/origin/master commit fc4d8ba2ca6bee1bf2e474e60f47b75130718504 into PR head commit 3278ca811ebe6eb1386b4929cc47cbb53fd00eee [2020-04-16T14:45:13.953Z] Removing intermediate container 39b801e321ec [2020-04-16T14:45:13.953Z] ---> 90ef9aaee105 [2020-04-16T14:45:13.953Z] Step 14/21 : WORKDIR / [2020-04-16T14:45:13.953Z] ---> Running in c0e9275a47fc [2020-04-16T14:45:13.953Z] Removing intermediate container c0e9275a47fc [2020-04-16T14:45:13.953Z] ---> b655d42ed518 [2020-04-16T14:45:13.953Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-16T14:45:13.228Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T14:45:13.264Z] > git config --add remote.origin.fetch +refs/pull/484/head:refs/remotes/origin/PR-484 # timeout=10 [2020-04-16T14:45:13.288Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:45:13.316Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-16T14:45:13.350Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-16T14:45:13.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:45:13.384Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/484/head:refs/remotes/origin/PR-484 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:45:13.832Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T14:45:13.855Z] > git checkout -f 3278ca811ebe6eb1386b4929cc47cbb53fd00eee # timeout=10 [2020-04-16T14:45:13.962Z] > git remote # timeout=10 [2020-04-16T14:45:13.988Z] > git config --get remote.origin.url # timeout=10 [2020-04-16T14:45:14.212Z] Merge succeeded, producing f07b05e414555fe7e39316ab81db59165d7b3afb [2020-04-16T14:45:14.212Z] Checking out Revision f07b05e414555fe7e39316ab81db59165d7b3afb (PR-484) [2020-04-16T14:45:14.522Z] ---> 5d582d785eab [2020-04-16T14:45:14.522Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-16T14:45:14.522Z] ---> 98416670f85f [2020-04-16T14:45:14.522Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-16T14:45:14.781Z] ---> 64dc85efb050 [2020-04-16T14:45:14.781Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-16T14:45:14.781Z] ---> Running in aba4bd307ef6 [2020-04-16T14:45:14.781Z] Removing intermediate container aba4bd307ef6 [2020-04-16T14:45:14.781Z] ---> 49e4613e6408 [2020-04-16T14:45:14.781Z] Step 19/21 : LABEL arch=amd64 [2020-04-16T14:45:15.040Z] ---> Running in fca1fc75bf9f [2020-04-16T14:45:15.040Z] Removing intermediate container fca1fc75bf9f [2020-04-16T14:45:15.040Z] ---> 2dc00e421024 [2020-04-16T14:45:15.040Z] Step 20/21 : LABEL git_sha=430363f90f2f59d9f8086df00b44f95737ce169e [2020-04-16T14:45:15.040Z] ---> Running in 70f02ac5ed88 [2020-04-16T14:45:15.302Z] Removing intermediate container 70f02ac5ed88 [2020-04-16T14:45:15.302Z] ---> 6f41ee74a05a [2020-04-16T14:45:15.302Z] Step 21/21 : LABEL version=0.0.0 [2020-04-16T14:45:15.302Z] ---> Running in b528a46df47b [2020-04-16T14:45:15.302Z] Removing intermediate container b528a46df47b [2020-04-16T14:45:15.302Z] ---> 0c5c5ba28f38 [2020-04-16T14:45:15.302Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-16T14:45:14.014Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:45:14.024Z] > git merge fc4d8ba2ca6bee1bf2e474e60f47b75130718504 # timeout=10 [2020-04-16T14:45:14.097Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-16T14:45:14.184Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T14:45:14.220Z] > git checkout -f f07b05e414555fe7e39316ab81db59165d7b3afb # timeout=10 [2020-04-16T14:45:15.561Z] Successfully built 0c5c5ba28f38 [2020-04-16T14:45:15.561Z] 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] stage [Pipeline] { (Snap) Stage "Snap" 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-16T14:45:19.001Z] Commit message: "Merge commit 'fc4d8ba2ca6bee1bf2e474e60f47b75130718504' into HEAD" [2020-04-16T14:45:18.990Z] > git rev-list --no-walk 3278ca811ebe6eb1386b4929cc47cbb53fd00eee # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-16T14:45:20.359Z] ========================================================= [2020-04-16T14:45:20.359Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-16T14:45:20.359Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:45:21.433Z] + 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-16T14:45:22.408Z] Sending build context to Docker daemon 2.922MB [2020-04-16T14:45:22.408Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-16T14:45:22.408Z] Step 2/8 : FROM ${BASE} [2020-04-16T14:45:22.995Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-16T14:45:22.995Z] cde5963f3b93: Pulling fs layer [2020-04-16T14:45:22.995Z] 2a23fa8c16f7: Pulling fs layer [2020-04-16T14:45:22.995Z] 777b28850792: Pulling fs layer [2020-04-16T14:45:22.995Z] 8a11ddd9e578: Pulling fs layer [2020-04-16T14:45:22.995Z] 4cf88f913ddb: Pulling fs layer [2020-04-16T14:45:22.995Z] 1df406cf5192: Pulling fs layer [2020-04-16T14:45:22.995Z] cd6300453558: Pulling fs layer [2020-04-16T14:45:22.995Z] b9c365052c96: Pulling fs layer [2020-04-16T14:45:22.995Z] a2d8cc88f415: Pulling fs layer [2020-04-16T14:45:22.995Z] ea1d1ca13537: Pulling fs layer [2020-04-16T14:45:22.995Z] 8a11ddd9e578: Waiting [2020-04-16T14:45:22.995Z] 3750a50a1c5e: Pulling fs layer [2020-04-16T14:45:22.995Z] 4cf88f913ddb: Waiting [2020-04-16T14:45:22.995Z] 1df406cf5192: Waiting [2020-04-16T14:45:22.995Z] cd6300453558: Waiting [2020-04-16T14:45:22.995Z] b9c365052c96: Waiting [2020-04-16T14:45:22.995Z] a2d8cc88f415: Waiting [2020-04-16T14:45:22.995Z] ea1d1ca13537: Waiting [2020-04-16T14:45:22.995Z] 3750a50a1c5e: Waiting [2020-04-16T14:45:22.995Z] 777b28850792: Verifying Checksum [2020-04-16T14:45:22.995Z] 777b28850792: Download complete [2020-04-16T14:45:22.995Z] 2a23fa8c16f7: Download complete [2020-04-16T14:45:22.995Z] 4cf88f913ddb: Verifying Checksum [2020-04-16T14:45:22.995Z] 4cf88f913ddb: Download complete [2020-04-16T14:45:22.995Z] 1df406cf5192: Download complete [2020-04-16T14:45:23.267Z] cde5963f3b93: Download complete [2020-04-16T14:45:23.864Z] cde5963f3b93: Pull complete [2020-04-16T14:45:24.838Z] 2a23fa8c16f7: Pull complete [2020-04-16T14:45:25.108Z] 777b28850792: Pull complete [2020-04-16T14:45:27.715Z] cd6300453558: Verifying Checksum [2020-04-16T14:45:27.715Z] cd6300453558: Download complete [2020-04-16T14:45:27.715Z] a2d8cc88f415: Verifying Checksum [2020-04-16T14:45:27.715Z] a2d8cc88f415: Download complete [2020-04-16T14:45:29.681Z] ea1d1ca13537: Download complete [2020-04-16T14:45:29.949Z] 3750a50a1c5e: Verifying Checksum [2020-04-16T14:45:29.949Z] 3750a50a1c5e: Download complete [2020-04-16T14:45:33.308Z] b9c365052c96: Verifying Checksum [2020-04-16T14:45:34.267Z] 8a11ddd9e578: Download complete [2020-04-16T14:45:46.618Z] 8a11ddd9e578: Pull complete [2020-04-16T14:45:46.618Z] 4cf88f913ddb: Pull complete [2020-04-16T14:45:46.618Z] 1df406cf5192: Pull complete [2020-04-16T14:45:50.914Z] cd6300453558: Pull complete [2020-04-16T14:45:56.293Z] b9c365052c96: Pull complete [2020-04-16T14:45:56.293Z] a2d8cc88f415: Pull complete [2020-04-16T14:45:58.245Z] ea1d1ca13537: Pull complete [2020-04-16T14:45:58.515Z] 3750a50a1c5e: Pull complete [2020-04-16T14:45:58.515Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-16T14:45:58.515Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-16T14:45:58.515Z] ---> 78745c68409d [2020-04-16T14:45:58.515Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T14:46:02.827Z] ---> Running in 825105919b05 [2020-04-16T14:46:03.418Z] Removing intermediate container 825105919b05 [2020-04-16T14:46:03.418Z] ---> d23d6d0cbd57 [2020-04-16T14:46:03.418Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T14:46:03.418Z] ---> Running in 37f7995d16f4 [2020-04-16T14:46:05.369Z] Removing intermediate container 37f7995d16f4 [2020-04-16T14:46:05.369Z] ---> 1c0203540910 [2020-04-16T14:46:05.369Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-16T14:46:05.637Z] ---> Running in 0529b03538e5 [2020-04-16T14:46:06.604Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-16T14:46:07.579Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-16T14:46:08.569Z] OK: 125 MiB in 39 packages [2020-04-16T14:46:09.993Z] Removing intermediate container 0529b03538e5 [2020-04-16T14:46:09.993Z] ---> a71581b58e01 [2020-04-16T14:46:09.993Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-16T14:46:09.993Z] ---> Running in 289fa7195a5d [2020-04-16T14:46:10.263Z] Removing intermediate container 289fa7195a5d [2020-04-16T14:46:10.263Z] ---> 3510065e7109 [2020-04-16T14:46:10.263Z] Step 7/8 : COPY . . [2020-04-16T14:46:11.693Z] ---> a9a2a0610df0 [2020-04-16T14:46:11.693Z] Step 8/8 : RUN go mod download [2020-04-16T14:46:11.693Z] ---> Running in 55f416d0b675 [2020-04-16T14:46:13.655Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-16T14:46:13.655Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-16T14:46:13.655Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-16T14:46:13.655Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T14:46:13.655Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-16T14:46:13.655Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-16T14:46:13.655Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-16T14:46:13.655Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-16T14:46:13.655Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-16T14:46:13.655Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-16T14:46:13.655Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-16T14:46:13.655Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-16T14:46:13.655Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-16T14:46:13.655Z] go: finding github.com/fatih/color v1.7.0 [2020-04-16T14:46:13.655Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-16T14:46:13.655Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-16T14:46:13.655Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T14:46:13.655Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-16T14:46:13.923Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-16T14:46:13.923Z] go: finding github.com/google/uuid v1.1.0 [2020-04-16T14:46:13.923Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-16T14:46:13.923Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-16T14:46:13.923Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-16T14:46:13.923Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-16T14:46:13.923Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-16T14:46:13.923Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T14:46:13.923Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-16T14:46:13.923Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-16T14:46:13.923Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T14:46:13.923Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-16T14:46:13.923Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-16T14:46:13.923Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-16T14:46:13.923Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-16T14:46:13.923Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-16T14:46:13.923Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-16T14:46:13.923Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-16T14:46:13.923Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-16T14:46:13.923Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-16T14:46:13.923Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-16T14:46:13.923Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-16T14:46:13.923Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-16T14:46:13.923Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-16T14:46:13.923Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-16T14:46:13.923Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T14:46:13.923Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-16T14:46:13.923Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-16T14:46:14.197Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-16T14:46:14.197Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-16T14:46:14.197Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-16T14:46:14.197Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T14:46:14.197Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T14:46:14.197Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-16T14:46:14.197Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-16T14:46:14.197Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-16T14:46:14.197Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-16T14:46:14.197Z] go: finding github.com/posener/complete v1.1.1 [2020-04-16T14:46:14.197Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-16T14:46:14.197Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-16T14:46:14.197Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-16T14:46:14.198Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-16T14:46:14.198Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-16T14:46:14.198Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-16T14:46:14.198Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-16T14:46:14.198Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-16T14:46:14.198Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-16T14:46:14.198Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-16T14:46:14.198Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-16T14:46:14.198Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-16T14:46:24.322Z] Removing intermediate container 55f416d0b675 [2020-04-16T14:46:24.322Z] ---> 2ce7af0af9ac [2020-04-16T14:46:24.322Z] Successfully built 2ce7af0af9ac [2020-04-16T14:46:24.322Z] 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-16T14:46:25.177Z] + docker inspect -f . ci-base-image-arm64 [2020-04-16T14:46:25.444Z] . [Pipeline] withDockerContainer [2020-04-16T14:46:25.788Z] prd-ubuntu18.04-docker-arm64-4c-16g-4308 does not seem to be running inside a container [2020-04-16T14:46:25.887Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-16T14:46:27.385Z] $ docker top 85b49a5324ac7848bdcb8adbbaca593f82df1cf7c59e003e570fb9c88deb8666 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-16T14:46:28.567Z] + go version [2020-04-16T14:46:28.567Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-16T14:46:29.264Z] + make test [2020-04-16T14:46:29.264Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-16T14:46:30.685Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-16T14:46:57.445Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-16T14:46:57.445Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-16T14:46:59.406Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.052s coverage: 22.1% of statements [2020-04-16T14:47:02.012Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.150s coverage: 95.8% of statements [2020-04-16T14:47:34.275Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 11.4% of statements [2020-04-16T14:47:34.275Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.032s coverage: 22.1% of statements [2020-04-16T14:47:34.275Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-16T14:47:34.275Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.157s coverage: 38.5% of statements [2020-04-16T14:47:34.275Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-16T14:47:34.275Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-16T14:47:34.275Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.429s coverage: 66.6% of statements [2020-04-16T14:47:34.275Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-16T14:47:34.275Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-16T14:47:34.275Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-16T14:47:34.275Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.043s coverage: 52.6% of statements [2020-04-16T14:47:34.275Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-16T14:47:34.275Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.368s coverage: 68.9% of statements [2020-04-16T14:47:34.275Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-16T14:47:34.275Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-16T14:47:34.275Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-16T14:47:37.668Z] gofmt -l . [2020-04-16T14:47:37.935Z] [ "`gofmt -l .`" = "" ] [2020-04-16T14:47:38.204Z] ./bin/test-attribution-txt.sh [2020-04-16T14:47:39.180Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-16T14:47:39.478Z] Warning: overwriting stash ‘coverage-report’ [2020-04-16T14:47:40.171Z] Stashed 1 file(s) [Pipeline] } [2020-04-16T14:47:40.178Z] $ docker stop --time=1 85b49a5324ac7848bdcb8adbbaca593f82df1cf7c59e003e570fb9c88deb8666 [2020-04-16T14:47:42.539Z] $ docker rm -f 85b49a5324ac7848bdcb8adbbaca593f82df1cf7c59e003e570fb9c88deb8666 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-16T14:47:43.965Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-16T14:47:44.314Z] + ls -al . [2020-04-16T14:47:44.314Z] total 212 [2020-04-16T14:47:44.314Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 16 14:47 . [2020-04-16T14:47:44.314Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:45 .. [2020-04-16T14:47:44.314Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 14:45 .dockerignore [2020-04-16T14:47:44.314Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 14:45 .git [2020-04-16T14:47:44.314Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 14:45 .github [2020-04-16T14:47:44.314Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 16 14:45 .gitignore [2020-04-16T14:47:44.314Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 14:45 .semver [2020-04-16T14:47:44.314Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 16 14:45 Dockerfile.build [2020-04-16T14:47:44.314Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 16 14:45 Jenkinsfile [2020-04-16T14:47:44.314Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 16 14:45 LICENSE [2020-04-16T14:47:44.314Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 16 14:45 Makefile [2020-04-16T14:47:44.314Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 16 14:45 README.md [2020-04-16T14:47:44.314Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 14:42 VERSION [2020-04-16T14:47:44.314Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 14:45 api [2020-04-16T14:47:44.314Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 14:45 bin [2020-04-16T14:47:44.314Z] -rw-r--r-- 1 jenkins jenkins 107955 Apr 16 14:47 coverage.out [2020-04-16T14:47:44.314Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:45 example [2020-04-16T14:47:44.314Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 16 14:47 go.mod [2020-04-16T14:47:44.314Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 16 14:47 go.sum [2020-04-16T14:47:44.314Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 16 14:45 internal [2020-04-16T14:47:44.314Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 14:45 pkg [2020-04-16T14:47:44.314Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:45 snap [2020-04-16T14:47:44.314Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 16 14:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:47:44.655Z] + 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=430363f90f2f59d9f8086df00b44f95737ce169e --label arch=arm64 --label version=0.0.0 . [2020-04-16T14:47:45.242Z] Sending build context to Docker daemon 3.046MB [2020-04-16T14:47:45.242Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-16T14:47:45.242Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-16T14:47:45.242Z] ---> 2ce7af0af9ac [2020-04-16T14:47:45.242Z] Step 3/21 : ARG MAKE='make build' [2020-04-16T14:47:45.511Z] ---> Running in 6b585fae9ecd [2020-04-16T14:47:45.778Z] Removing intermediate container 6b585fae9ecd [2020-04-16T14:47:45.778Z] ---> 36d9286b6b59 [2020-04-16T14:47:45.778Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-16T14:47:46.046Z] ---> Running in 06ee9a63e176 [2020-04-16T14:47:46.316Z] Removing intermediate container 06ee9a63e176 [2020-04-16T14:47:46.316Z] ---> a7c9399f7987 [2020-04-16T14:47:46.316Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T14:47:46.583Z] ---> Running in 94d843ba5817 [2020-04-16T14:47:46.851Z] Removing intermediate container 94d843ba5817 [2020-04-16T14:47:46.851Z] ---> 0268dc904cdd [2020-04-16T14:47:46.851Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T14:47:47.123Z] ---> Running in dc3b60ac4504 [2020-04-16T14:47:49.078Z] Removing intermediate container dc3b60ac4504 [2020-04-16T14:47:49.078Z] ---> 61d04bc04490 [2020-04-16T14:47:49.078Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-16T14:47:49.078Z] ---> Running in d80420809483 [2020-04-16T14:47:50.041Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-16T14:47:51.003Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-16T14:47:51.964Z] OK: 125 MiB in 39 packages [2020-04-16T14:47:53.377Z] Removing intermediate container d80420809483 [2020-04-16T14:47:53.377Z] ---> 2ec08c914201 [2020-04-16T14:47:53.377Z] Step 8/21 : COPY . . [2020-04-16T14:47:54.344Z] ---> 44bf8afea83b [2020-04-16T14:47:54.344Z] Step 9/21 : RUN ${MAKE} [2020-04-16T14:47:54.344Z] ---> Running in 54a4b5f124bd [2020-04-16T14:47:55.307Z] 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-16T14:48:22.445Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-16T14:48:22.445Z] Removing intermediate container 54a4b5f124bd [2020-04-16T14:48:22.445Z] ---> 027bf9a1da84 [2020-04-16T14:48:22.445Z] Step 10/21 : FROM scratch [2020-04-16T14:48:22.445Z] ---> [2020-04-16T14:48:22.445Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-16T14:48:22.445Z] ---> Running in 83c120cdd731 [2020-04-16T14:48:22.445Z] Removing intermediate container 83c120cdd731 [2020-04-16T14:48:22.445Z] ---> ba242a652115 [2020-04-16T14:48:22.445Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-16T14:48:22.445Z] ---> Running in e651deaa8930 [2020-04-16T14:48:22.445Z] Removing intermediate container e651deaa8930 [2020-04-16T14:48:22.445Z] ---> 6b51f1d02f99 [2020-04-16T14:48:22.445Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-16T14:48:22.445Z] ---> Running in c1f6c8b232d1 [2020-04-16T14:48:22.714Z] Removing intermediate container c1f6c8b232d1 [2020-04-16T14:48:22.714Z] ---> ca1de9a1e7b4 [2020-04-16T14:48:22.714Z] Step 14/21 : WORKDIR / [2020-04-16T14:48:22.714Z] ---> Running in 3df9610866d6 [2020-04-16T14:48:22.982Z] Removing intermediate container 3df9610866d6 [2020-04-16T14:48:22.982Z] ---> 66829056285e [2020-04-16T14:48:22.982Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-16T14:48:24.405Z] ---> ea6c7e1d6fa6 [2020-04-16T14:48:24.405Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-16T14:48:24.675Z] ---> 2da9e88070f0 [2020-04-16T14:48:24.675Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-16T14:48:25.262Z] ---> 6c79c8f6a451 [2020-04-16T14:48:25.262Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-16T14:48:25.530Z] ---> Running in 187d5c87d79d [2020-04-16T14:48:25.799Z] Removing intermediate container 187d5c87d79d [2020-04-16T14:48:25.799Z] ---> 4c67970e10da [2020-04-16T14:48:25.799Z] Step 19/21 : LABEL arch=arm64 [2020-04-16T14:48:26.068Z] ---> Running in c590fdc636d3 [2020-04-16T14:48:26.337Z] Removing intermediate container c590fdc636d3 [2020-04-16T14:48:26.337Z] ---> ba77a85498af [2020-04-16T14:48:26.337Z] Step 20/21 : LABEL git_sha=430363f90f2f59d9f8086df00b44f95737ce169e [2020-04-16T14:48:26.606Z] ---> Running in 815d40e62982 [2020-04-16T14:48:26.874Z] Removing intermediate container 815d40e62982 [2020-04-16T14:48:26.874Z] ---> dbbc397cd466 [2020-04-16T14:48:26.874Z] Step 21/21 : LABEL version=0.0.0 [2020-04-16T14:48:27.143Z] ---> Running in b6351b360bea [2020-04-16T14:48:27.411Z] Removing intermediate container b6351b360bea [2020-04-16T14:48:27.411Z] ---> e6730aa1d6f4 [2020-04-16T14:48:27.411Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-16T14:48:27.411Z] Successfully built e6730aa1d6f4 [2020-04-16T14:48:27.411Z] 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] stage [Pipeline] { (Snap) Stage "Snap" 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-16T14:48:28.454Z] provisioning config files... [2020-04-16T14:48:28.464Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/config5577544870879347050tmp [Pipeline] { [Pipeline] sh [2020-04-16T14:48:28.841Z] + curl -s https://codecov.io/bash [2020-04-16T14:48:28.841Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/config5577544870879347050tmp [2020-04-16T14:48:29.100Z] [2020-04-16T14:48:29.100Z] _____ _ [2020-04-16T14:48:29.100Z] / ____| | | [2020-04-16T14:48:29.100Z] | | ___ __| | ___ ___ _____ __ [2020-04-16T14:48:29.100Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-16T14:48:29.100Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-16T14:48:29.100Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-16T14:48:29.100Z] Bash-tbd [2020-04-16T14:48:29.100Z] [2020-04-16T14:48:29.100Z] [2020-04-16T14:48:29.100Z] ==> Jenkins CI detected. [2020-04-16T14:48:29.100Z] project root: . [2020-04-16T14:48:29.100Z] Fixing merge commit SHA [2020-04-16T14:48:29.100Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-16T14:48:29.100Z] ==> Running gcov in . (disable via -X gcov) [2020-04-16T14:48:29.100Z] ==> Python coveragepy not found [2020-04-16T14:48:29.100Z] ==> Searching for coverage reports in: [2020-04-16T14:48:29.100Z] + . [2020-04-16T14:48:29.100Z] -> Found 1 reports [2020-04-16T14:48:29.100Z] ==> Detecting git/mercurial file structure [2020-04-16T14:48:29.100Z] ==> Reading reports [2020-04-16T14:48:29.100Z] + ./coverage.out bytes=107955 [2020-04-16T14:48:29.100Z] ==> Appending adjustments [2020-04-16T14:48:29.100Z] http://docs.codecov.io/docs/fixing-reports [2020-04-16T14:48:29.360Z] + Found adjustments [2020-04-16T14:48:29.360Z] ==> Gzipping contents [2020-04-16T14:48:29.360Z] ==> Uploading reports [2020-04-16T14:48:29.360Z] url: https://codecov.io [2020-04-16T14:48:29.360Z] query: branch=PR-484&commit=fc4d8ba2ca6bee1bf2e474e60f47b75130718504&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-484%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=484&job= [2020-04-16T14:48:29.360Z] -> Pinging Codecov [2020-04-16T14:48:29.360Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-484&commit=fc4d8ba2ca6bee1bf2e474e60f47b75130718504&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-484%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=484&job= [2020-04-16T14:48:29.929Z] -> Uploading [2020-04-16T14:48:30.508Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fc4d8ba2ca6bee1bf2e474e60f47b75130718504 [Pipeline] } [2020-04-16T14:48:30.514Z] 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-16T14:48:31.640Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:48:31.940Z] ---> package-listing.sh [2020-04-16T14:48:31.940Z] ++ facter osfamily [2020-04-16T14:48:31.940Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-16T14:48:31.940Z] + OS_FAMILY=redhat [2020-04-16T14:48:31.940Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-484 [2020-04-16T14:48:31.940Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-16T14:48:31.940Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-16T14:48:31.940Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-16T14:48:31.940Z] + PACKAGES=/tmp/packages_start.txt [2020-04-16T14:48:31.940Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-484 ']' [2020-04-16T14:48:31.940Z] + PACKAGES=/tmp/packages_end.txt [2020-04-16T14:48:31.940Z] + case "${OS_FAMILY}" in [2020-04-16T14:48:31.940Z] + rpm -qa [2020-04-16T14:48:31.940Z] + sort [2020-04-16T14:48:36.138Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-16T14:48:36.138Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-16T14:48:36.138Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-16T14:48:36.138Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-484 ']' [2020-04-16T14:48:36.138Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-484/archives/ [2020-04-16T14:48:36.138Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-484/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:48:36.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-16T14:48:36.536Z] [2020-04-16T14:48:36.536Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:48:36.866Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-16T14:48:36.866Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-16T14:48:36.866Z] c9b1b535fdd9: Pulling fs layer [2020-04-16T14:48:36.866Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-16T14:48:36.866Z] 756a868c4378: Pulling fs layer [2020-04-16T14:48:36.866Z] 444b2fc9a129: Pulling fs layer [2020-04-16T14:48:36.866Z] ea15f1150254: Pulling fs layer [2020-04-16T14:48:36.866Z] 41b27a9f41bf: Pulling fs layer [2020-04-16T14:48:36.866Z] 28c525ee5125: Pulling fs layer [2020-04-16T14:48:36.866Z] 094b1ea09ed8: Pulling fs layer [2020-04-16T14:48:36.866Z] 138eaada9080: Pulling fs layer [2020-04-16T14:48:36.866Z] 0622d0fa9048: Pulling fs layer [2020-04-16T14:48:36.866Z] 444b2fc9a129: Waiting [2020-04-16T14:48:36.866Z] ea15f1150254: Waiting [2020-04-16T14:48:36.866Z] 41b27a9f41bf: Waiting [2020-04-16T14:48:36.866Z] 28c525ee5125: Waiting [2020-04-16T14:48:36.866Z] 094b1ea09ed8: Waiting [2020-04-16T14:48:36.866Z] 138eaada9080: Waiting [2020-04-16T14:48:36.866Z] 0622d0fa9048: Waiting [2020-04-16T14:48:36.866Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-16T14:48:36.866Z] 2cc5ad85d9ab: Download complete [2020-04-16T14:48:36.866Z] 444b2fc9a129: Verifying Checksum [2020-04-16T14:48:36.866Z] 444b2fc9a129: Download complete [2020-04-16T14:48:36.866Z] c9b1b535fdd9: Verifying Checksum [2020-04-16T14:48:36.866Z] c9b1b535fdd9: Download complete [2020-04-16T14:48:36.866Z] ea15f1150254: Verifying Checksum [2020-04-16T14:48:36.866Z] ea15f1150254: Download complete [2020-04-16T14:48:37.149Z] 28c525ee5125: Verifying Checksum [2020-04-16T14:48:37.149Z] 28c525ee5125: Download complete [2020-04-16T14:48:37.420Z] c9b1b535fdd9: Pull complete [2020-04-16T14:48:37.420Z] 756a868c4378: Verifying Checksum [2020-04-16T14:48:37.421Z] 756a868c4378: Download complete [2020-04-16T14:48:37.421Z] 2cc5ad85d9ab: Pull complete [2020-04-16T14:48:37.421Z] 138eaada9080: Verifying Checksum [2020-04-16T14:48:37.421Z] 138eaada9080: Download complete [2020-04-16T14:48:37.689Z] 0622d0fa9048: Verifying Checksum [2020-04-16T14:48:37.689Z] 0622d0fa9048: Download complete [2020-04-16T14:48:37.689Z] 094b1ea09ed8: Verifying Checksum [2020-04-16T14:48:37.689Z] 094b1ea09ed8: Download complete [2020-04-16T14:48:37.951Z] 41b27a9f41bf: Verifying Checksum [2020-04-16T14:48:37.951Z] 41b27a9f41bf: Download complete [2020-04-16T14:48:39.329Z] 756a868c4378: Pull complete [2020-04-16T14:48:39.329Z] 444b2fc9a129: Pull complete [2020-04-16T14:48:39.588Z] ea15f1150254: Pull complete [2020-04-16T14:48:42.878Z] 41b27a9f41bf: Pull complete [2020-04-16T14:48:42.878Z] 28c525ee5125: Pull complete [2020-04-16T14:48:44.799Z] 094b1ea09ed8: Pull complete [2020-04-16T14:48:44.799Z] 138eaada9080: Pull complete [2020-04-16T14:48:45.057Z] 0622d0fa9048: Pull complete [2020-04-16T14:48:45.057Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-16T14:48:45.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-16T14:48:45.200Z] prd-centos7-docker-4c-2g-4301 does not seem to be running inside a container [2020-04-16T14:48:45.240Z] $ 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-484 -v /w/workspace/dgexfoundry_device-sdk-go_PR-484:/w/workspace/dgexfoundry_device-sdk-go_PR-484:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-484@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-16T14:48:45.835Z] $ docker top 7126d291cd66483607dcdad1e12652429d038079ba08964dcd01666066290c21 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-16T14:48:46.056Z] provisioning config files... [2020-04-16T14:48:46.074Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/config8534691929662921470tmp [Pipeline] { [Pipeline] echo [2020-04-16T14:48:46.118Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:48:46.413Z] ---> create-netrc.sh [Pipeline] echo [2020-04-16T14:48:46.420Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:48:46.715Z] ---> logs-deploy.sh [2020-04-16T14:48:46.715Z] + ARCHIVE_ARTIFACTS= [2020-04-16T14:48:46.715Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-16T14:48:46.715Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-16T14:48:46.715Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-16T14:48:46.715Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-484/3 [2020-04-16T14:48:46.715Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-484/3/ [2020-04-16T14:48:46.715Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-484/3 /w/workspace/dgexfoundry_device-sdk-go_PR-484 [2020-04-16T14:48:48.095Z] Archives upload complete. [2020-04-16T14:48:48.095Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-484/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-484/3/