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+48688a4bd0b1e0580b86c0f4f944ad389879dbd8 (2c7bf1c92aeb357ec95c5bc05cb69c8169aedcf8) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4516 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 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 Fetching without tags Merging remotes/origin/master commit 48688a4bd0b1e0580b86c0f4f944ad389879dbd8 into PR head commit 3278ca811ebe6eb1386b4929cc47cbb53fd00eee > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 3278ca811ebe6eb1386b4929cc47cbb53fd00eee # timeout=10 Merge succeeded, producing 711038ab7bfb9639052de0acdb9fd8313a599fd5 Checking out Revision 711038ab7bfb9639052de0acdb9fd8313a599fd5 (PR-484) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 48688a4bd0b1e0580b86c0f4f944ad389879dbd8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 711038ab7bfb9639052de0acdb9fd8313a599fd5 # timeout=10 Commit message: "Merge commit '48688a4bd0b1e0580b86c0f4f944ad389879dbd8' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 430363f90f2f59d9f8086df00b44f95737ce169e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-17T14:42:01.073Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-17T14:42:01.281Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-17T14:42:01.362Z] ========================================================= [2020-04-17T14:42:01.363Z] EdgeX Global Pipelines Version Info [2020-04-17T14:42:01.363Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-17T14:42:02.851Z] ------------------- [2020-04-17T14:42:02.851Z] stable info: [2020-04-17T14:42:02.851Z] ------------------- [2020-04-17T14:42:02.851Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-17T14:42:02.851Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-17T14:42:02.851Z] Message: update stable to v1.0.73 [2020-04-17T14:42:03.111Z] ------------------- [2020-04-17T14:42:03.111Z] experimental info: [2020-04-17T14:42:03.111Z] ------------------- [2020-04-17T14:42:03.111Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-17T14:42:03.111Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-17T14:42:03.111Z] 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-17T14:42:05.080Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-17T14:42:05.080Z] [2020-04-17T14:42:05.080Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-17T14:42:05.408Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-17T14:42:05.408Z] latest: Pulling from edgex-devops/git-semver [2020-04-17T14:42:05.408Z] 9123ac7c32f7: Pulling fs layer [2020-04-17T14:42:05.408Z] b8cc5d1170e3: Pulling fs layer [2020-04-17T14:42:05.408Z] 2924cbbf6a41: Pulling fs layer [2020-04-17T14:42:05.408Z] 93b08a4f1073: Pulling fs layer [2020-04-17T14:42:05.408Z] b8cc5d1170e3: Download complete [2020-04-17T14:42:05.408Z] 9123ac7c32f7: Verifying Checksum [2020-04-17T14:42:05.408Z] 9123ac7c32f7: Download complete [2020-04-17T14:42:05.670Z] 2924cbbf6a41: Verifying Checksum [2020-04-17T14:42:05.670Z] 2924cbbf6a41: Download complete [2020-04-17T14:42:05.670Z] 93b08a4f1073: Verifying Checksum [2020-04-17T14:42:05.670Z] 93b08a4f1073: Download complete [2020-04-17T14:42:05.670Z] 9123ac7c32f7: Pull complete [2020-04-17T14:42:05.929Z] b8cc5d1170e3: Pull complete [2020-04-17T14:42:06.506Z] 2924cbbf6a41: Pull complete [2020-04-17T14:42:06.765Z] 93b08a4f1073: Pull complete [2020-04-17T14:42:06.765Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-17T14:42:06.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-17T14:42:06.891Z] prd-centos7-docker-4c-2g-4516 does not seem to be running inside a container [2020-04-17T14:42:06.936Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-17T14:42:07.534Z] $ docker top 41de9450ad8a4817c20efd55818b606161179b53b97bb1baf6b70d6fd7cfde4e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-17T14:42:07.817Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-17T14:42:07.818Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-17T14:42:08.036Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-17T14:42:08.044Z] $ docker exec 41de9450ad8a4817c20efd55818b606161179b53b97bb1baf6b70d6fd7cfde4e ssh-agent [2020-04-17T14:42:08.208Z] SSH_AUTH_SOCK=/tmp/ssh-hk9LMlbgaSQ2/agent.15 [2020-04-17T14:42:08.208Z] SSH_AGENT_PID=22 [2020-04-17T14:42:08.218Z] Running ssh-add (command line suppressed) [2020-04-17T14:42:08.358Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/private_key_5816462962488028756.key (/w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/private_key_5816462962488028756.key) [2020-04-17T14:42:08.409Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-17T14:42:08.731Z] + git describe --exact-match --tags HEAD [2020-04-17T14:42:08.731Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-17T14:42:08.790Z] $ docker exec --env ******** --env ******** 41de9450ad8a4817c20efd55818b606161179b53b97bb1baf6b70d6fd7cfde4e ssh-agent -k [2020-04-17T14:42:08.933Z] unset SSH_AUTH_SOCK; [2020-04-17T14:42:08.933Z] unset SSH_AGENT_PID; [2020-04-17T14:42:08.934Z] echo Agent pid 22 killed; [2020-04-17T14:42:08.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-17T14:42:09.046Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-17T14:42:09.046Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-17T14:42:09.140Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-17T14:42:09.140Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-17T14:42:09.313Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-17T14:42:09.321Z] $ docker exec 41de9450ad8a4817c20efd55818b606161179b53b97bb1baf6b70d6fd7cfde4e ssh-agent [2020-04-17T14:42:09.493Z] SSH_AUTH_SOCK=/tmp/ssh-f9flM7576ZsI/agent.56 [2020-04-17T14:42:09.493Z] SSH_AGENT_PID=63 [2020-04-17T14:42:09.500Z] Running ssh-add (command line suppressed) [2020-04-17T14:42:09.641Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/private_key_5215958117813969853.key (/w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/private_key_5215958117813969853.key) [2020-04-17T14:42:09.689Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-17T14:42:10.032Z] + git semver init [2020-04-17T14:42:10.032Z] # -> Open(): unable to determine branch for HEAD [2020-04-17T14:42:10.032Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-484/.git [2020-04-17T14:42:10.032Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-484 [2020-04-17T14:42:10.032Z] # $SEMVER_REMOTE_NAME = origin [2020-04-17T14:42:10.032Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-17T14:42:10.032Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-17T14:42:10.032Z] # $SEMVER_BRANCH = PR-484 [2020-04-17T14:42:10.032Z] # $SEMVER_TEMP = /tmp/semver-992208859 [2020-04-17T14:42:10.032Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-17T14:42:10.604Z] # '/tmp/semver-992208859' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-484/.semver' [2020-04-17T14:42:10.604Z] # -> Force: false [2020-04-17T14:42:10.604Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-484/.semver [Pipeline] } [2020-04-17T14:42:10.619Z] $ docker exec --env ******** --env ******** 41de9450ad8a4817c20efd55818b606161179b53b97bb1baf6b70d6fd7cfde4e ssh-agent -k [2020-04-17T14:42:10.745Z] unset SSH_AUTH_SOCK; [2020-04-17T14:42:10.746Z] unset SSH_AGENT_PID; [2020-04-17T14:42:10.746Z] echo Agent pid 63 killed; [2020-04-17T14:42:10.782Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-17T14:42:11.193Z] + git semver [Pipeline] } [2020-04-17T14:42:11.210Z] $ docker stop --time=1 41de9450ad8a4817c20efd55818b606161179b53b97bb1baf6b70d6fd7cfde4e [2020-04-17T14:42:12.526Z] $ docker rm -f 41de9450ad8a4817c20efd55818b606161179b53b97bb1baf6b70d6fd7cfde4e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-17T14:42:13.323Z] Stashed 47 file(s) [Pipeline] echo [2020-04-17T14:42:13.325Z] [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-17T14:42:28.573Z] Still waiting to schedule task [2020-04-17T14:42:28.573Z] ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4517’ is offline [2020-04-17T14:42:28.575Z] Still waiting to schedule task [2020-04-17T14:42:28.575Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-17T14:43:37.479Z] Running on prd-centos7-docker-4c-2g-4520 in /w/workspace/dgexfoundry_device-sdk-go_PR-484 [Pipeline] { [Pipeline] ws [2020-04-17T14:43:37.537Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-04-17T14:43:41.535Z] using credential edgex-jenkins-ssh [2020-04-17T14:43:41.583Z] Cloning the remote Git repository [2020-04-17T14:43:41.583Z] Cloning with configured refspecs honoured and without tags [2020-04-17T14:43:41.617Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T14:43:41.659Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-04-17T14:43:41.723Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T14:43:41.723Z] > git --version # timeout=10 [2020-04-17T14:43:41.733Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T14:43:41.771Z] > 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-17T14:43:42.650Z] Fetching without tags [2020-04-17T14:43:43.047Z] Merging remotes/origin/master commit 48688a4bd0b1e0580b86c0f4f944ad389879dbd8 into PR head commit 3278ca811ebe6eb1386b4929cc47cbb53fd00eee [2020-04-17T14:43:43.177Z] Merge succeeded, producing 33dc5d54c868cc2deb436ce799a47e731b6cf312 [2020-04-17T14:43:43.177Z] Checking out Revision 33dc5d54c868cc2deb436ce799a47e731b6cf312 (PR-484) [2020-04-17T14:43:42.599Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-17T14:43:42.613Z] > git config --add remote.origin.fetch +refs/pull/484/head:refs/remotes/origin/PR-484 # timeout=10 [2020-04-17T14:43:42.621Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T14:43:42.635Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-17T14:43:42.655Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T14:43:42.656Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T14:43:42.666Z] > 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-17T14:43:43.056Z] > git config core.sparsecheckout # timeout=10 [2020-04-17T14:43:43.062Z] > git checkout -f 3278ca811ebe6eb1386b4929cc47cbb53fd00eee # timeout=10 [2020-04-17T14:43:43.111Z] > git remote # timeout=10 [2020-04-17T14:43:43.117Z] > git config --get remote.origin.url # timeout=10 [2020-04-17T14:43:43.131Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T14:43:43.136Z] > git merge 48688a4bd0b1e0580b86c0f4f944ad389879dbd8 # timeout=10 [2020-04-17T14:43:43.169Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-17T14:43:43.180Z] > git config core.sparsecheckout # timeout=10 [2020-04-17T14:43:43.184Z] > git checkout -f 33dc5d54c868cc2deb436ce799a47e731b6cf312 # timeout=10 [2020-04-17T14:43:47.018Z] Commit message: "Merge commit '48688a4bd0b1e0580b86c0f4f944ad389879dbd8' into HEAD" [2020-04-17T14:43:47.031Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-04-17T14:43:47.021Z] > git rev-list --no-walk 430363f90f2f59d9f8086df00b44f95737ce169e # timeout=10 [Pipeline] echo [2020-04-17T14:43:47.934Z] ========================================================= [2020-04-17T14:43:47.934Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-17T14:43:47.934Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-17T14:43:48.831Z] + 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-17T14:43:49.106Z] Sending build context to Docker daemon 2.954MB [2020-04-17T14:43:49.106Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-17T14:43:49.107Z] Step 2/8 : FROM ${BASE} [2020-04-17T14:43:49.107Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-17T14:43:49.107Z] e6b0cf9c0882: Pulling fs layer [2020-04-17T14:43:49.107Z] 2848faf0eed1: Pulling fs layer [2020-04-17T14:43:49.107Z] 0f37312ad70f: Pulling fs layer [2020-04-17T14:43:49.107Z] 5788d62ee057: Pulling fs layer [2020-04-17T14:43:49.107Z] 0e6b1d234666: Pulling fs layer [2020-04-17T14:43:49.107Z] bf5d7aec512f: Pulling fs layer [2020-04-17T14:43:49.107Z] 34c802a77dc8: Pulling fs layer [2020-04-17T14:43:49.107Z] 9eb99e56ec68: Pulling fs layer [2020-04-17T14:43:49.107Z] 27c7a5d97fbd: Pulling fs layer [2020-04-17T14:43:49.107Z] 5c102a31e300: Pulling fs layer [2020-04-17T14:43:49.107Z] dcfb455df0a1: Pulling fs layer [2020-04-17T14:43:49.107Z] 5788d62ee057: Waiting [2020-04-17T14:43:49.107Z] 0e6b1d234666: Waiting [2020-04-17T14:43:49.107Z] bf5d7aec512f: Waiting [2020-04-17T14:43:49.107Z] 34c802a77dc8: Waiting [2020-04-17T14:43:49.107Z] 9eb99e56ec68: Waiting [2020-04-17T14:43:49.107Z] dcfb455df0a1: Waiting [2020-04-17T14:43:49.107Z] 27c7a5d97fbd: Waiting [2020-04-17T14:43:49.107Z] 0f37312ad70f: Verifying Checksum [2020-04-17T14:43:49.107Z] 0f37312ad70f: Download complete [2020-04-17T14:43:49.107Z] 2848faf0eed1: Verifying Checksum [2020-04-17T14:43:49.107Z] 2848faf0eed1: Download complete [2020-04-17T14:43:49.107Z] 0e6b1d234666: Verifying Checksum [2020-04-17T14:43:49.107Z] 0e6b1d234666: Download complete [2020-04-17T14:43:49.107Z] bf5d7aec512f: Verifying Checksum [2020-04-17T14:43:49.107Z] bf5d7aec512f: Download complete [2020-04-17T14:43:49.107Z] e6b0cf9c0882: Verifying Checksum [2020-04-17T14:43:49.107Z] e6b0cf9c0882: Download complete [2020-04-17T14:43:49.687Z] e6b0cf9c0882: Pull complete [2020-04-17T14:43:49.952Z] 2848faf0eed1: Pull complete [2020-04-17T14:43:50.221Z] 34c802a77dc8: Verifying Checksum [2020-04-17T14:43:50.221Z] 34c802a77dc8: Download complete [2020-04-17T14:43:50.222Z] 27c7a5d97fbd: Verifying Checksum [2020-04-17T14:43:50.222Z] 27c7a5d97fbd: Download complete [2020-04-17T14:43:50.839Z] 5c102a31e300: Verifying Checksum [2020-04-17T14:43:50.839Z] 5c102a31e300: Download complete [2020-04-17T14:43:51.124Z] dcfb455df0a1: Verifying Checksum [2020-04-17T14:43:51.124Z] dcfb455df0a1: Download complete [2020-04-17T14:43:51.124Z] 0f37312ad70f: Pull complete [2020-04-17T14:43:51.124Z] 9eb99e56ec68: Verifying Checksum [2020-04-17T14:43:51.124Z] 9eb99e56ec68: Download complete [2020-04-17T14:43:51.124Z] 5788d62ee057: Verifying Checksum [2020-04-17T14:43:51.124Z] 5788d62ee057: Download complete [2020-04-17T14:43:57.706Z] 5788d62ee057: Pull complete [2020-04-17T14:43:57.706Z] 0e6b1d234666: Pull complete [2020-04-17T14:43:57.706Z] bf5d7aec512f: Pull complete [2020-04-17T14:44:03.009Z] 34c802a77dc8: Pull complete [2020-04-17T14:44:05.560Z] 9eb99e56ec68: Pull complete [2020-04-17T14:44:05.854Z] 27c7a5d97fbd: Pull complete [2020-04-17T14:44:06.817Z] 5c102a31e300: Pull complete [2020-04-17T14:44:06.817Z] dcfb455df0a1: Pull complete [2020-04-17T14:44:06.817Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-17T14:44:06.817Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-17T14:44:06.817Z] ---> 7c70fe431013 [2020-04-17T14:44:06.817Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T14:44:06.817Z] ---> Running in 926f90e24a11 [2020-04-17T14:44:07.081Z] Removing intermediate container 926f90e24a11 [2020-04-17T14:44:07.081Z] ---> 69cff146e950 [2020-04-17T14:44:07.081Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-17T14:44:07.081Z] ---> Running in bdf34e08f08b [2020-04-17T14:44:08.033Z] Removing intermediate container bdf34e08f08b [2020-04-17T14:44:08.033Z] ---> 64ceaf7e31f6 [2020-04-17T14:44:08.033Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-17T14:44:08.033Z] ---> Running in 6a6c84286a36 [2020-04-17T14:44:08.604Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-17T14:44:09.548Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-17T14:44:10.120Z] OK: 143 MiB in 39 packages [2020-04-17T14:44:10.692Z] Removing intermediate container 6a6c84286a36 [2020-04-17T14:44:10.692Z] ---> 2e789e595256 [2020-04-17T14:44:10.692Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-17T14:44:10.692Z] ---> Running in 7e8363dfcf62 [2020-04-17T14:44:10.692Z] Removing intermediate container 7e8363dfcf62 [2020-04-17T14:44:10.692Z] ---> 44e3494cf7c2 [2020-04-17T14:44:10.692Z] Step 7/8 : COPY . . [2020-04-17T14:44:11.268Z] ---> 8e798c8edb34 [2020-04-17T14:44:11.268Z] Step 8/8 : RUN go mod download [2020-04-17T14:44:11.268Z] ---> Running in 15fe5fbbabf2 [2020-04-17T14:44:13.837Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-17T14:44:13.837Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-17T14:44:13.837Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-17T14:44:13.837Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-17T14:44:13.837Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-17T14:44:13.837Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-17T14:44:13.837Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-17T14:44:13.837Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-17T14:44:13.837Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-17T14:44:13.837Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-17T14:44:13.837Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-17T14:44:13.837Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-17T14:44:13.837Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-17T14:44:13.837Z] go: finding github.com/fatih/color v1.7.0 [2020-04-17T14:44:13.837Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-17T14:44:13.837Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-17T14:44:13.837Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-17T14:44:13.837Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-17T14:44:13.837Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-17T14:44:13.837Z] go: finding github.com/google/uuid v1.1.0 [2020-04-17T14:44:13.837Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-17T14:44:13.837Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-17T14:44:13.837Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-17T14:44:13.837Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-17T14:44:13.837Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-17T14:44:13.837Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-17T14:44:13.837Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-17T14:44:13.837Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-17T14:44:13.837Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-17T14:44:13.837Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-17T14:44:13.837Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-17T14:44:13.837Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-17T14:44:13.837Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-17T14:44:13.837Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-17T14:44:13.837Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-17T14:44:13.837Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-17T14:44:13.837Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-17T14:44:13.837Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-17T14:44:13.837Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-17T14:44:13.837Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-17T14:44:13.837Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-17T14:44:13.837Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-17T14:44:13.837Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-17T14:44:13.837Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-17T14:44:13.837Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-17T14:44:13.837Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-17T14:44:13.837Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-17T14:44:13.837Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-17T14:44:13.837Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-17T14:44:13.837Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-17T14:44:13.837Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-17T14:44:13.837Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-17T14:44:13.837Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-17T14:44:13.837Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-17T14:44:13.837Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-17T14:44:13.837Z] go: finding github.com/posener/complete v1.1.1 [2020-04-17T14:44:13.837Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-17T14:44:13.837Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-17T14:44:13.837Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-17T14:44:13.837Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-17T14:44:13.837Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-17T14:44:13.837Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-17T14:44:13.837Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-17T14:44:13.837Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-17T14:44:13.837Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-17T14:44:13.837Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-17T14:44:13.837Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-17T14:44:13.837Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-17T14:44:18.081Z] Removing intermediate container 15fe5fbbabf2 [2020-04-17T14:44:18.082Z] ---> 96d411941529 [2020-04-17T14:44:18.082Z] Successfully built 96d411941529 [2020-04-17T14:44:18.082Z] 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-17T14:44:18.659Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-17T14:44:18.659Z] . [Pipeline] withDockerContainer [2020-04-17T14:44:18.787Z] prd-centos7-docker-4c-2g-4520 does not seem to be running inside a container [2020-04-17T14:44:18.833Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-17T14:44:19.537Z] $ docker top bf1c660ff6ec324d2eff952951286e4604f1dd60d719550879df87e11406fd4a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-17T14:44:20.112Z] + go version [2020-04-17T14:44:20.112Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-17T14:44:20.415Z] + make test [2020-04-17T14:44:20.415Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-17T14:44:21.364Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-17T14:44:33.686Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-17T14:44:33.686Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-17T14:44:33.686Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.005s coverage: 22.1% of statements [2020-04-17T14:44:37.888Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.054s coverage: 95.8% of statements [2020-04-17T14:45:09.044Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4522 in /w/workspace/dgexfoundry_device-sdk-go_PR-484 [Pipeline] { [Pipeline] ws [2020-04-17T14:45:09.087Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-04-17T14:45:10.054Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.022s coverage: 11.4% of statements [2020-04-17T14:45:10.054Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 22.1% of statements [2020-04-17T14:45:10.054Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-17T14:45:10.054Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.139s coverage: 38.5% of statements [2020-04-17T14:45:10.054Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-17T14:45:10.054Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-17T14:45:10.054Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 1.098s coverage: 66.6% of statements [2020-04-17T14:45:10.054Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-17T14:45:10.054Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-17T14:45:10.054Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-17T14:45:10.054Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.110s coverage: 52.6% of statements [2020-04-17T14:45:10.054Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-17T14:45:10.054Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.140s coverage: 68.9% of statements [2020-04-17T14:45:10.054Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-17T14:45:10.054Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-17T14:45:10.054Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-17T14:45:10.054Z] gofmt -l . [2020-04-17T14:45:10.054Z] [ "`gofmt -l .`" = "" ] [2020-04-17T14:45:10.054Z] ./bin/test-attribution-txt.sh [2020-04-17T14:45:10.054Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-17T14:45:10.597Z] Stashed 1 file(s) [Pipeline] } [2020-04-17T14:45:10.609Z] $ docker stop --time=1 bf1c660ff6ec324d2eff952951286e4604f1dd60d719550879df87e11406fd4a [2020-04-17T14:45:12.107Z] $ docker rm -f bf1c660ff6ec324d2eff952951286e4604f1dd60d719550879df87e11406fd4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-17T14:45:13.561Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-17T14:45:13.858Z] + ls -al . [2020-04-17T14:45:13.858Z] total 172 [2020-04-17T14:45:13.858Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 17 14:45 . [2020-04-17T14:45:13.858Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 17 14:43 .. [2020-04-17T14:45:13.858Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 17 14:43 api [2020-04-17T14:45:13.858Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 17 14:43 bin [2020-04-17T14:45:13.858Z] -rw-r--r--. 1 jenkins jenkins 107955 Apr 17 14:45 coverage.out [2020-04-17T14:45:13.858Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 17 14:43 Dockerfile.build [2020-04-17T14:45:13.858Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 17 14:43 .dockerignore [2020-04-17T14:45:13.858Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 17 14:43 example [2020-04-17T14:45:13.858Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 17 14:43 .git [2020-04-17T14:45:13.858Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 17 14:43 .github [2020-04-17T14:45:13.858Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 17 14:43 .gitignore [2020-04-17T14:45:13.858Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 17 14:45 go.mod [2020-04-17T14:45:13.858Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 17 14:45 go.sum [2020-04-17T14:45:13.858Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 17 14:43 internal [2020-04-17T14:45:13.858Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 17 14:43 Jenkinsfile [2020-04-17T14:45:13.858Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 17 14:43 LICENSE [2020-04-17T14:45:13.858Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 17 14:43 Makefile [2020-04-17T14:45:13.858Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 17 14:43 pkg [2020-04-17T14:45:13.858Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 17 14:43 README.md [2020-04-17T14:45:13.858Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 17 14:43 .semver [2020-04-17T14:45:13.858Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 17 14:43 snap [2020-04-17T14:45:13.858Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 17 14:42 VERSION [2020-04-17T14:45:13.858Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 17 14:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-17T14:45:14.197Z] + 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=711038ab7bfb9639052de0acdb9fd8313a599fd5 --label arch=amd64 --label version=0.0.0 . [2020-04-17T14:45:14.458Z] Sending build context to Docker daemon 3.078MB [2020-04-17T14:45:14.458Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-17T14:45:14.458Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-17T14:45:14.458Z] ---> 96d411941529 [2020-04-17T14:45:14.458Z] Step 3/21 : ARG MAKE='make build' [2020-04-17T14:45:14.727Z] ---> Running in 2140dc1c989e [2020-04-17T14:45:14.727Z] Removing intermediate container 2140dc1c989e [2020-04-17T14:45:14.727Z] ---> 2dffb9b1237b [2020-04-17T14:45:14.727Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-17T14:45:14.727Z] ---> Running in ae0f3d539ff0 [2020-04-17T14:45:14.988Z] Removing intermediate container ae0f3d539ff0 [2020-04-17T14:45:14.988Z] ---> 9686cb65c4d7 [2020-04-17T14:45:14.988Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T14:45:14.988Z] ---> Running in aaf78c6e631f [2020-04-17T14:45:15.106Z] using credential edgex-jenkins-ssh [2020-04-17T14:45:15.157Z] Cloning the remote Git repository [2020-04-17T14:45:15.157Z] Cloning with configured refspecs honoured and without tags [2020-04-17T14:45:15.247Z] Removing intermediate container aaf78c6e631f [2020-04-17T14:45:15.247Z] ---> f2b765a04852 [2020-04-17T14:45:15.247Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-17T14:45:15.247Z] ---> Running in 66f1bf20168d [2020-04-17T14:45:15.259Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T14:45:15.354Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-04-17T14:45:15.465Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T14:45:15.467Z] > git --version # timeout=10 [2020-04-17T14:45:15.495Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T14:45:15.604Z] > 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-17T14:45:16.216Z] Removing intermediate container 66f1bf20168d [2020-04-17T14:45:16.216Z] ---> 784c0fa6fca5 [2020-04-17T14:45:16.216Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-17T14:45:16.216Z] ---> Running in 88be387e1c74 [2020-04-17T14:45:16.484Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-17T14:45:16.727Z] Fetching without tags [2020-04-17T14:45:16.595Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-17T14:45:16.644Z] > git config --add remote.origin.fetch +refs/pull/484/head:refs/remotes/origin/PR-484 # timeout=10 [2020-04-17T14:45:16.667Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-17T14:45:16.692Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-17T14:45:16.741Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-17T14:45:16.742Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T14:45:16.776Z] > 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-17T14:45:17.263Z] Merging remotes/origin/master commit 48688a4bd0b1e0580b86c0f4f944ad389879dbd8 into PR head commit 3278ca811ebe6eb1386b4929cc47cbb53fd00eee [2020-04-17T14:45:17.423Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-17T14:45:17.605Z] Merge succeeded, producing 28cc830d609ca433a8d13b4276ae8205935d288e [2020-04-17T14:45:17.606Z] Checking out Revision 28cc830d609ca433a8d13b4276ae8205935d288e (PR-484) [2020-04-17T14:45:17.995Z] OK: 143 MiB in 39 packages [2020-04-17T14:45:18.259Z] Removing intermediate container 88be387e1c74 [2020-04-17T14:45:18.259Z] ---> c8327486237e [2020-04-17T14:45:18.259Z] Step 8/21 : COPY . . [2020-04-17T14:45:17.284Z] > git config core.sparsecheckout # timeout=10 [2020-04-17T14:45:17.312Z] > git checkout -f 3278ca811ebe6eb1386b4929cc47cbb53fd00eee # timeout=10 [2020-04-17T14:45:17.426Z] > git remote # timeout=10 [2020-04-17T14:45:17.445Z] > git config --get remote.origin.url # timeout=10 [2020-04-17T14:45:17.468Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-17T14:45:17.480Z] > git merge 48688a4bd0b1e0580b86c0f4f944ad389879dbd8 # timeout=10 [2020-04-17T14:45:17.582Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-17T14:45:17.614Z] > git config core.sparsecheckout # timeout=10 [2020-04-17T14:45:17.638Z] > git checkout -f 28cc830d609ca433a8d13b4276ae8205935d288e # timeout=10 [2020-04-17T14:45:18.835Z] ---> cc2b916d0313 [2020-04-17T14:45:18.836Z] Step 9/21 : RUN ${MAKE} [2020-04-17T14:45:18.836Z] ---> Running in 899e367297b2 [2020-04-17T14:45:19.109Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-17T14:45:22.412Z] Commit message: "Merge commit '48688a4bd0b1e0580b86c0f4f944ad389879dbd8' into HEAD" [2020-04-17T14:45:22.446Z] First time build. Skipping changelog. [2020-04-17T14:45:22.422Z] > git rev-list --no-walk 430363f90f2f59d9f8086df00b44f95737ce169e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-17T14:45:23.817Z] ========================================================= [2020-04-17T14:45:23.817Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-17T14:45:23.817Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-17T14:45:24.950Z] + 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-17T14:45:25.928Z] Sending build context to Docker daemon 2.954MB [2020-04-17T14:45:25.928Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-17T14:45:25.928Z] Step 2/8 : FROM ${BASE} [2020-04-17T14:45:26.199Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-17T14:45:26.199Z] cde5963f3b93: Pulling fs layer [2020-04-17T14:45:26.199Z] 2a23fa8c16f7: Pulling fs layer [2020-04-17T14:45:26.199Z] 777b28850792: Pulling fs layer [2020-04-17T14:45:26.199Z] 8a11ddd9e578: Pulling fs layer [2020-04-17T14:45:26.199Z] 4cf88f913ddb: Pulling fs layer [2020-04-17T14:45:26.199Z] 1df406cf5192: Pulling fs layer [2020-04-17T14:45:26.199Z] cd6300453558: Pulling fs layer [2020-04-17T14:45:26.199Z] b9c365052c96: Pulling fs layer [2020-04-17T14:45:26.199Z] a2d8cc88f415: Pulling fs layer [2020-04-17T14:45:26.199Z] ea1d1ca13537: Pulling fs layer [2020-04-17T14:45:26.199Z] 3750a50a1c5e: Pulling fs layer [2020-04-17T14:45:26.199Z] 8a11ddd9e578: Waiting [2020-04-17T14:45:26.472Z] 4cf88f913ddb: Waiting [2020-04-17T14:45:26.472Z] 1df406cf5192: Waiting [2020-04-17T14:45:26.472Z] cd6300453558: Waiting [2020-04-17T14:45:26.472Z] b9c365052c96: Waiting [2020-04-17T14:45:26.472Z] a2d8cc88f415: Waiting [2020-04-17T14:45:26.472Z] ea1d1ca13537: Waiting [2020-04-17T14:45:26.472Z] 3750a50a1c5e: Waiting [2020-04-17T14:45:26.472Z] 777b28850792: Verifying Checksum [2020-04-17T14:45:26.472Z] 777b28850792: Download complete [2020-04-17T14:45:26.472Z] 2a23fa8c16f7: Download complete [2020-04-17T14:45:26.472Z] 4cf88f913ddb: Verifying Checksum [2020-04-17T14:45:26.472Z] 4cf88f913ddb: Download complete [2020-04-17T14:45:26.472Z] 1df406cf5192: Verifying Checksum [2020-04-17T14:45:26.472Z] 1df406cf5192: Download complete [2020-04-17T14:45:26.745Z] cde5963f3b93: Verifying Checksum [2020-04-17T14:45:26.745Z] cde5963f3b93: Download complete [2020-04-17T14:45:27.341Z] cde5963f3b93: Pull complete [2020-04-17T14:45:28.316Z] 2a23fa8c16f7: Pull complete [2020-04-17T14:45:28.592Z] 777b28850792: Pull complete [2020-04-17T14:45:29.242Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-17T14:45:29.818Z] Removing intermediate container 899e367297b2 [2020-04-17T14:45:29.818Z] ---> 4502823af353 [2020-04-17T14:45:29.818Z] Step 10/21 : FROM scratch [2020-04-17T14:45:29.818Z] ---> [2020-04-17T14:45:29.818Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T14:45:29.818Z] ---> Running in 2bc2a1381d15 [2020-04-17T14:45:29.818Z] Removing intermediate container 2bc2a1381d15 [2020-04-17T14:45:29.818Z] ---> cd136e40b17f [2020-04-17T14:45:29.818Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-17T14:45:29.818Z] ---> Running in d341eb451c0c [2020-04-17T14:45:30.077Z] Removing intermediate container d341eb451c0c [2020-04-17T14:45:30.077Z] ---> 0fedb7ce67c4 [2020-04-17T14:45:30.077Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-17T14:45:30.077Z] ---> Running in bb055196f795 [2020-04-17T14:45:30.077Z] Removing intermediate container bb055196f795 [2020-04-17T14:45:30.077Z] ---> b982dee9ba1f [2020-04-17T14:45:30.077Z] Step 14/21 : WORKDIR / [2020-04-17T14:45:30.337Z] ---> Running in ee2406291087 [2020-04-17T14:45:30.337Z] Removing intermediate container ee2406291087 [2020-04-17T14:45:30.337Z] ---> f770b3482fdc [2020-04-17T14:45:30.337Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-17T14:45:30.912Z] ---> e3e92ee2194e [2020-04-17T14:45:30.912Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-17T14:45:30.912Z] ---> 218d7facd1ea [2020-04-17T14:45:30.912Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-17T14:45:31.173Z] ---> b66cda9c4c47 [2020-04-17T14:45:31.173Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-17T14:45:31.173Z] ---> Running in 75c0e75260bb [2020-04-17T14:45:31.173Z] Removing intermediate container 75c0e75260bb [2020-04-17T14:45:31.173Z] ---> e87a7fee8c03 [2020-04-17T14:45:31.173Z] Step 19/21 : LABEL arch=amd64 [2020-04-17T14:45:31.195Z] cd6300453558: Verifying Checksum [2020-04-17T14:45:31.195Z] cd6300453558: Download complete [2020-04-17T14:45:31.195Z] a2d8cc88f415: Verifying Checksum [2020-04-17T14:45:31.195Z] a2d8cc88f415: Download complete [2020-04-17T14:45:31.435Z] ---> Running in 79bb7b424485 [2020-04-17T14:45:31.435Z] Removing intermediate container 79bb7b424485 [2020-04-17T14:45:31.435Z] ---> 3655cbde0485 [2020-04-17T14:45:31.435Z] Step 20/21 : LABEL git_sha=711038ab7bfb9639052de0acdb9fd8313a599fd5 [2020-04-17T14:45:31.435Z] ---> Running in 039f3f0d8c2a [2020-04-17T14:45:31.695Z] Removing intermediate container 039f3f0d8c2a [2020-04-17T14:45:31.695Z] ---> 5fd34d46bb3c [2020-04-17T14:45:31.695Z] Step 21/21 : LABEL version=0.0.0 [2020-04-17T14:45:31.960Z] ---> Running in 74476b06400d [2020-04-17T14:45:31.960Z] Removing intermediate container 74476b06400d [2020-04-17T14:45:31.960Z] ---> 46761ac64f83 [2020-04-17T14:45:31.960Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-17T14:45:31.960Z] Successfully built 46761ac64f83 [2020-04-17T14:45:32.233Z] 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-17T14:45:33.813Z] ea1d1ca13537: Verifying Checksum [2020-04-17T14:45:33.813Z] ea1d1ca13537: Download complete [2020-04-17T14:45:33.813Z] 3750a50a1c5e: Verifying Checksum [2020-04-17T14:45:33.813Z] 3750a50a1c5e: Download complete [2020-04-17T14:45:36.404Z] b9c365052c96: Verifying Checksum [2020-04-17T14:45:36.404Z] b9c365052c96: Download complete [2020-04-17T14:45:38.360Z] 8a11ddd9e578: Verifying Checksum [2020-04-17T14:45:38.360Z] 8a11ddd9e578: Download complete [2020-04-17T14:45:50.734Z] 8a11ddd9e578: Pull complete [2020-04-17T14:45:50.734Z] 4cf88f913ddb: Pull complete [2020-04-17T14:45:50.734Z] 1df406cf5192: Pull complete [2020-04-17T14:45:55.004Z] cd6300453558: Pull complete [2020-04-17T14:45:59.292Z] b9c365052c96: Pull complete [2020-04-17T14:45:59.562Z] a2d8cc88f415: Pull complete [2020-04-17T14:46:02.156Z] ea1d1ca13537: Pull complete [2020-04-17T14:46:02.156Z] 3750a50a1c5e: Pull complete [2020-04-17T14:46:02.156Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-17T14:46:02.424Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-17T14:46:02.424Z] ---> 78745c68409d [2020-04-17T14:46:02.424Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T14:46:06.705Z] ---> Running in 60f47c279a73 [2020-04-17T14:46:07.296Z] Removing intermediate container 60f47c279a73 [2020-04-17T14:46:07.296Z] ---> 9bd818c1397e [2020-04-17T14:46:07.296Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-17T14:46:07.296Z] ---> Running in 8a6b76bc32cb [2020-04-17T14:46:09.906Z] Removing intermediate container 8a6b76bc32cb [2020-04-17T14:46:09.906Z] ---> f8182ea9599b [2020-04-17T14:46:09.906Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-17T14:46:09.906Z] ---> Running in 0a3098327f9f [2020-04-17T14:46:10.501Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-17T14:46:11.921Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-17T14:46:12.882Z] OK: 125 MiB in 39 packages [2020-04-17T14:46:14.307Z] Removing intermediate container 0a3098327f9f [2020-04-17T14:46:14.307Z] ---> f733e4d89c24 [2020-04-17T14:46:14.307Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-17T14:46:14.307Z] ---> Running in 90770a1364a4 [2020-04-17T14:46:14.587Z] Removing intermediate container 90770a1364a4 [2020-04-17T14:46:14.587Z] ---> 494335ea5416 [2020-04-17T14:46:14.587Z] Step 7/8 : COPY . . [2020-04-17T14:46:15.558Z] ---> a7d7b20b19d6 [2020-04-17T14:46:15.558Z] Step 8/8 : RUN go mod download [2020-04-17T14:46:15.831Z] ---> Running in a5b39b80853f [2020-04-17T14:46:17.778Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-17T14:46:17.778Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-17T14:46:17.778Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-17T14:46:17.778Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-17T14:46:17.778Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-17T14:46:17.778Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-17T14:46:17.778Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-17T14:46:17.778Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-17T14:46:17.778Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-17T14:46:17.778Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-17T14:46:17.778Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-17T14:46:17.778Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-17T14:46:17.778Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-17T14:46:17.778Z] go: finding github.com/fatih/color v1.7.0 [2020-04-17T14:46:17.778Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-17T14:46:17.778Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-17T14:46:17.778Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-17T14:46:17.778Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-17T14:46:17.778Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-17T14:46:18.045Z] go: finding github.com/google/uuid v1.1.0 [2020-04-17T14:46:18.045Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-17T14:46:18.045Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-17T14:46:18.046Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-17T14:46:18.046Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-17T14:46:18.046Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-17T14:46:18.046Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-17T14:46:18.046Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-17T14:46:18.046Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-17T14:46:18.046Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-17T14:46:18.046Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-17T14:46:18.046Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-17T14:46:18.046Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-17T14:46:18.046Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-17T14:46:18.046Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-17T14:46:18.046Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-17T14:46:18.046Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-17T14:46:18.046Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-17T14:46:18.046Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-17T14:46:18.046Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-17T14:46:18.046Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-17T14:46:18.046Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-17T14:46:18.046Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-17T14:46:18.046Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-17T14:46:18.046Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-17T14:46:18.046Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-17T14:46:18.046Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-17T14:46:18.046Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-17T14:46:18.046Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-17T14:46:18.046Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-17T14:46:18.316Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-17T14:46:18.316Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-17T14:46:18.316Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-17T14:46:18.316Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-17T14:46:18.316Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-17T14:46:18.316Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-17T14:46:18.316Z] go: finding github.com/posener/complete v1.1.1 [2020-04-17T14:46:18.316Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-17T14:46:18.316Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-17T14:46:18.316Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-17T14:46:18.316Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-17T14:46:18.316Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-17T14:46:18.316Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-17T14:46:18.316Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-17T14:46:18.316Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-17T14:46:18.316Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-17T14:46:18.316Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-17T14:46:18.316Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-17T14:46:18.316Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-17T14:46:28.440Z] Removing intermediate container a5b39b80853f [2020-04-17T14:46:28.440Z] ---> 9759025ebf25 [2020-04-17T14:46:28.440Z] Successfully built 9759025ebf25 [2020-04-17T14:46:28.440Z] 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-17T14:46:29.095Z] + docker inspect -f . ci-base-image-arm64 [2020-04-17T14:46:29.095Z] . [Pipeline] withDockerContainer [2020-04-17T14:46:29.440Z] prd-ubuntu18.04-docker-arm64-4c-16g-4522 does not seem to be running inside a container [2020-04-17T14:46:29.518Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-17T14:46:30.950Z] $ docker top 8cb366895edb8e3456c15242ee081eb19d74566924ecea13a121ae4e28f14528 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-17T14:46:32.100Z] + go version [2020-04-17T14:46:32.101Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-17T14:46:32.754Z] + make test [2020-04-17T14:46:32.754Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-17T14:46:34.183Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-17T14:47:00.941Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-17T14:47:00.941Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-17T14:47:03.572Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.114s coverage: 22.1% of statements [2020-04-17T14:47:05.535Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.215s coverage: 95.8% of statements [2020-04-17T14:47:37.809Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.076s coverage: 11.4% of statements [2020-04-17T14:47:37.809Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 22.1% of statements [2020-04-17T14:47:37.809Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-17T14:47:37.809Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.132s coverage: 38.5% of statements [2020-04-17T14:47:37.809Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-17T14:47:37.809Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-17T14:47:37.809Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.483s coverage: 66.6% of statements [2020-04-17T14:47:37.809Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-17T14:47:37.809Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-17T14:47:37.809Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-17T14:47:37.809Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements [2020-04-17T14:47:37.809Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-17T14:47:37.809Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.359s coverage: 68.9% of statements [2020-04-17T14:47:37.809Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-17T14:47:37.809Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-17T14:47:37.809Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-17T14:47:41.176Z] gofmt -l . [2020-04-17T14:47:41.176Z] [ "`gofmt -l .`" = "" ] [2020-04-17T14:47:41.444Z] ./bin/test-attribution-txt.sh [2020-04-17T14:47:42.042Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-17T14:47:42.334Z] Warning: overwriting stash ‘coverage-report’ [2020-04-17T14:47:42.832Z] Stashed 1 file(s) [Pipeline] } [2020-04-17T14:47:42.836Z] $ docker stop --time=1 8cb366895edb8e3456c15242ee081eb19d74566924ecea13a121ae4e28f14528 [2020-04-17T14:47:44.990Z] $ docker rm -f 8cb366895edb8e3456c15242ee081eb19d74566924ecea13a121ae4e28f14528 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-17T14:47:46.213Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-17T14:47:46.540Z] + ls -al . [2020-04-17T14:47:46.540Z] total 212 [2020-04-17T14:47:46.540Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 14:47 . [2020-04-17T14:47:46.540Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 14:45 .. [2020-04-17T14:47:46.540Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 14:45 .dockerignore [2020-04-17T14:47:46.540Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 14:45 .git [2020-04-17T14:47:46.540Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 14:45 .github [2020-04-17T14:47:46.540Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 17 14:45 .gitignore [2020-04-17T14:47:46.540Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 14:45 .semver [2020-04-17T14:47:46.540Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 17 14:45 Dockerfile.build [2020-04-17T14:47:46.540Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 17 14:45 Jenkinsfile [2020-04-17T14:47:46.540Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 17 14:45 LICENSE [2020-04-17T14:47:46.540Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 17 14:45 Makefile [2020-04-17T14:47:46.540Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 17 14:45 README.md [2020-04-17T14:47:46.540Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 14:42 VERSION [2020-04-17T14:47:46.540Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 14:45 api [2020-04-17T14:47:46.540Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 14:45 bin [2020-04-17T14:47:46.540Z] -rw-r--r-- 1 jenkins jenkins 107955 Apr 17 14:47 coverage.out [2020-04-17T14:47:46.540Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 14:45 example [2020-04-17T14:47:46.540Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 17 14:47 go.mod [2020-04-17T14:47:46.540Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 17 14:47 go.sum [2020-04-17T14:47:46.540Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 17 14:45 internal [2020-04-17T14:47:46.540Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 14:45 pkg [2020-04-17T14:47:46.540Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 14:45 snap [2020-04-17T14:47:46.540Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 17 14:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-17T14:47:46.877Z] + 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=711038ab7bfb9639052de0acdb9fd8313a599fd5 --label arch=arm64 --label version=0.0.0 . [2020-04-17T14:47:47.463Z] Sending build context to Docker daemon 3.078MB [2020-04-17T14:47:47.463Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-17T14:47:47.463Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-17T14:47:47.463Z] ---> 9759025ebf25 [2020-04-17T14:47:47.463Z] Step 3/21 : ARG MAKE='make build' [2020-04-17T14:47:47.463Z] ---> Running in 17fad19429dd [2020-04-17T14:47:48.048Z] Removing intermediate container 17fad19429dd [2020-04-17T14:47:48.048Z] ---> dc9a1138ec45 [2020-04-17T14:47:48.048Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-17T14:47:48.048Z] ---> Running in e372317695dc [2020-04-17T14:47:48.634Z] Removing intermediate container e372317695dc [2020-04-17T14:47:48.634Z] ---> a95fcfc0e739 [2020-04-17T14:47:48.634Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T14:47:48.634Z] ---> Running in 89581b929477 [2020-04-17T14:47:48.914Z] Removing intermediate container 89581b929477 [2020-04-17T14:47:48.914Z] ---> feefafa7cd66 [2020-04-17T14:47:48.914Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-17T14:47:48.914Z] ---> Running in 2dad5e81eea5 [2020-04-17T14:47:50.864Z] Removing intermediate container 2dad5e81eea5 [2020-04-17T14:47:50.864Z] ---> d856b407aa64 [2020-04-17T14:47:50.864Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-17T14:47:50.864Z] ---> Running in 4c004354c52b [2020-04-17T14:47:51.837Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-17T14:47:52.793Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-17T14:47:53.383Z] OK: 125 MiB in 39 packages [2020-04-17T14:47:54.355Z] Removing intermediate container 4c004354c52b [2020-04-17T14:47:54.355Z] ---> cadd3cbdf008 [2020-04-17T14:47:54.355Z] Step 8/21 : COPY . . [2020-04-17T14:47:55.769Z] ---> 49d219069b7e [2020-04-17T14:47:55.769Z] Step 9/21 : RUN ${MAKE} [2020-04-17T14:47:55.769Z] ---> Running in ba1ffd4ad735 [2020-04-17T14:47:56.351Z] 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-17T14:48:23.085Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-17T14:48:23.085Z] Removing intermediate container ba1ffd4ad735 [2020-04-17T14:48:23.085Z] ---> 306950fa146e [2020-04-17T14:48:23.085Z] Step 10/21 : FROM scratch [2020-04-17T14:48:23.085Z] ---> [2020-04-17T14:48:23.085Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-17T14:48:23.085Z] ---> Running in 94dcdf009953 [2020-04-17T14:48:23.359Z] Removing intermediate container 94dcdf009953 [2020-04-17T14:48:23.359Z] ---> c228ed3f1671 [2020-04-17T14:48:23.359Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-17T14:48:23.359Z] ---> Running in 66f7f0cd4208 [2020-04-17T14:48:23.623Z] Removing intermediate container 66f7f0cd4208 [2020-04-17T14:48:23.623Z] ---> b5ba7db33ce3 [2020-04-17T14:48:23.623Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-17T14:48:23.889Z] ---> Running in 6f7dd15b3c30 [2020-04-17T14:48:24.156Z] Removing intermediate container 6f7dd15b3c30 [2020-04-17T14:48:24.156Z] ---> 0b4bcc342c13 [2020-04-17T14:48:24.156Z] Step 14/21 : WORKDIR / [2020-04-17T14:48:24.156Z] ---> Running in 1596db958154 [2020-04-17T14:48:24.424Z] Removing intermediate container 1596db958154 [2020-04-17T14:48:24.424Z] ---> bfa40a9a8727 [2020-04-17T14:48:24.424Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-17T14:48:25.384Z] ---> 611cdaf64050 [2020-04-17T14:48:25.384Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-17T14:48:25.971Z] ---> 1bce0f24051d [2020-04-17T14:48:25.971Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-17T14:48:26.560Z] ---> 352bc38046fe [2020-04-17T14:48:26.560Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-17T14:48:26.560Z] ---> Running in a2f851969543 [2020-04-17T14:48:27.145Z] Removing intermediate container a2f851969543 [2020-04-17T14:48:27.145Z] ---> f942d5cfa5ae [2020-04-17T14:48:27.145Z] Step 19/21 : LABEL arch=arm64 [2020-04-17T14:48:27.145Z] ---> Running in 46039c88af35 [2020-04-17T14:48:27.412Z] Removing intermediate container 46039c88af35 [2020-04-17T14:48:27.412Z] ---> 39cc0fce0e8b [2020-04-17T14:48:27.412Z] Step 20/21 : LABEL git_sha=711038ab7bfb9639052de0acdb9fd8313a599fd5 [2020-04-17T14:48:27.680Z] ---> Running in afdc6be6f5ca [2020-04-17T14:48:27.952Z] Removing intermediate container afdc6be6f5ca [2020-04-17T14:48:27.952Z] ---> eaf4dd526062 [2020-04-17T14:48:27.952Z] Step 21/21 : LABEL version=0.0.0 [2020-04-17T14:48:27.952Z] ---> Running in b8c27281a884 [2020-04-17T14:48:28.539Z] Removing intermediate container b8c27281a884 [2020-04-17T14:48:28.539Z] ---> c03edb6fafe7 [2020-04-17T14:48:28.539Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-17T14:48:28.539Z] Successfully built c03edb6fafe7 [2020-04-17T14:48:28.539Z] 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-17T14:48:29.704Z] provisioning config files... [2020-04-17T14:48:29.720Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/config4321490557066694182tmp [Pipeline] { [Pipeline] sh [2020-04-17T14:48:30.079Z] + curl -s https://codecov.io/bash [2020-04-17T14:48:30.079Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/config4321490557066694182tmp [2020-04-17T14:48:30.339Z] [2020-04-17T14:48:30.339Z] _____ _ [2020-04-17T14:48:30.339Z] / ____| | | [2020-04-17T14:48:30.339Z] | | ___ __| | ___ ___ _____ __ [2020-04-17T14:48:30.339Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-17T14:48:30.339Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-17T14:48:30.339Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-17T14:48:30.339Z] Bash-tbd [2020-04-17T14:48:30.339Z] [2020-04-17T14:48:30.339Z] [2020-04-17T14:48:30.339Z] ==> Jenkins CI detected. [2020-04-17T14:48:30.339Z] project root: . [2020-04-17T14:48:30.339Z] Fixing merge commit SHA [2020-04-17T14:48:30.339Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-17T14:48:30.339Z] ==> Running gcov in . (disable via -X gcov) [2020-04-17T14:48:30.339Z] ==> Python coveragepy not found [2020-04-17T14:48:30.339Z] ==> Searching for coverage reports in: [2020-04-17T14:48:30.339Z] + . [2020-04-17T14:48:30.339Z] -> Found 1 reports [2020-04-17T14:48:30.339Z] ==> Detecting git/mercurial file structure [2020-04-17T14:48:30.339Z] ==> Reading reports [2020-04-17T14:48:30.339Z] + ./coverage.out bytes=107955 [2020-04-17T14:48:30.339Z] ==> Appending adjustments [2020-04-17T14:48:30.339Z] http://docs.codecov.io/docs/fixing-reports [2020-04-17T14:48:30.600Z] + Found adjustments [2020-04-17T14:48:30.600Z] ==> Gzipping contents [2020-04-17T14:48:30.600Z] ==> Uploading reports [2020-04-17T14:48:30.600Z] url: https://codecov.io [2020-04-17T14:48:30.600Z] query: branch=PR-484&commit=48688a4bd0b1e0580b86c0f4f944ad389879dbd8&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-484%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=484&job= [2020-04-17T14:48:30.600Z] -> Pinging Codecov [2020-04-17T14:48:30.600Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-484&commit=48688a4bd0b1e0580b86c0f4f944ad389879dbd8&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-484%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=484&job= [2020-04-17T14:48:31.172Z] -> Uploading [2020-04-17T14:48:31.431Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/48688a4bd0b1e0580b86c0f4f944ad389879dbd8 [Pipeline] } [2020-04-17T14:48:31.438Z] 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-17T14:48:32.598Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-17T14:48:32.889Z] ---> package-listing.sh [2020-04-17T14:48:32.889Z] ++ facter osfamily [2020-04-17T14:48:32.889Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-17T14:48:32.889Z] + OS_FAMILY=redhat [2020-04-17T14:48:32.889Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-484 [2020-04-17T14:48:32.889Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-17T14:48:32.889Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-17T14:48:32.889Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-17T14:48:32.889Z] + PACKAGES=/tmp/packages_start.txt [2020-04-17T14:48:32.889Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-484 ']' [2020-04-17T14:48:32.889Z] + PACKAGES=/tmp/packages_end.txt [2020-04-17T14:48:32.889Z] + case "${OS_FAMILY}" in [2020-04-17T14:48:32.889Z] + rpm -qa [2020-04-17T14:48:32.889Z] + sort [2020-04-17T14:48:37.080Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-17T14:48:37.080Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-17T14:48:37.080Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-17T14:48:37.080Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-484 ']' [2020-04-17T14:48:37.080Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-484/archives/ [2020-04-17T14:48:37.080Z] + 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-17T14:48:37.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-17T14:48:37.432Z] [2020-04-17T14:48:37.432Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-17T14:48:37.776Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-17T14:48:37.776Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-17T14:48:37.776Z] c9b1b535fdd9: Pulling fs layer [2020-04-17T14:48:37.776Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-17T14:48:37.776Z] 756a868c4378: Pulling fs layer [2020-04-17T14:48:37.776Z] 444b2fc9a129: Pulling fs layer [2020-04-17T14:48:37.776Z] ea15f1150254: Pulling fs layer [2020-04-17T14:48:37.776Z] 41b27a9f41bf: Pulling fs layer [2020-04-17T14:48:37.776Z] 28c525ee5125: Pulling fs layer [2020-04-17T14:48:37.776Z] 094b1ea09ed8: Pulling fs layer [2020-04-17T14:48:37.776Z] 138eaada9080: Pulling fs layer [2020-04-17T14:48:37.776Z] 0622d0fa9048: Pulling fs layer [2020-04-17T14:48:37.776Z] 41b27a9f41bf: Waiting [2020-04-17T14:48:37.776Z] 28c525ee5125: Waiting [2020-04-17T14:48:37.776Z] 094b1ea09ed8: Waiting [2020-04-17T14:48:37.776Z] 138eaada9080: Waiting [2020-04-17T14:48:37.776Z] 0622d0fa9048: Waiting [2020-04-17T14:48:37.776Z] 444b2fc9a129: Waiting [2020-04-17T14:48:37.776Z] ea15f1150254: Waiting [2020-04-17T14:48:37.776Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-17T14:48:37.776Z] 2cc5ad85d9ab: Download complete [2020-04-17T14:48:37.776Z] 444b2fc9a129: Download complete [2020-04-17T14:48:37.776Z] c9b1b535fdd9: Verifying Checksum [2020-04-17T14:48:38.037Z] ea15f1150254: Verifying Checksum [2020-04-17T14:48:38.037Z] ea15f1150254: Download complete [2020-04-17T14:48:38.037Z] 28c525ee5125: Verifying Checksum [2020-04-17T14:48:38.037Z] 28c525ee5125: Download complete [2020-04-17T14:48:38.306Z] c9b1b535fdd9: Pull complete [2020-04-17T14:48:38.306Z] 2cc5ad85d9ab: Pull complete [2020-04-17T14:48:38.569Z] 756a868c4378: Verifying Checksum [2020-04-17T14:48:38.569Z] 756a868c4378: Download complete [2020-04-17T14:48:38.569Z] 138eaada9080: Verifying Checksum [2020-04-17T14:48:38.569Z] 138eaada9080: Download complete [2020-04-17T14:48:38.569Z] 0622d0fa9048: Verifying Checksum [2020-04-17T14:48:38.569Z] 0622d0fa9048: Download complete [2020-04-17T14:48:38.569Z] 094b1ea09ed8: Verifying Checksum [2020-04-17T14:48:38.569Z] 094b1ea09ed8: Download complete [2020-04-17T14:48:39.144Z] 41b27a9f41bf: Verifying Checksum [2020-04-17T14:48:39.144Z] 41b27a9f41bf: Download complete [2020-04-17T14:48:40.084Z] 756a868c4378: Pull complete [2020-04-17T14:48:40.084Z] 444b2fc9a129: Pull complete [2020-04-17T14:48:40.347Z] ea15f1150254: Pull complete [2020-04-17T14:48:43.647Z] 41b27a9f41bf: Pull complete [2020-04-17T14:48:43.647Z] 28c525ee5125: Pull complete [2020-04-17T14:48:45.559Z] 094b1ea09ed8: Pull complete [2020-04-17T14:48:45.559Z] 138eaada9080: Pull complete [2020-04-17T14:48:45.818Z] 0622d0fa9048: Pull complete [2020-04-17T14:48:45.818Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-17T14:48:45.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-17T14:48:45.991Z] prd-centos7-docker-4c-2g-4516 does not seem to be running inside a container [2020-04-17T14:48:46.038Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-17T14:48:47.064Z] $ docker top b80fbc6493c8ca1ec02110cdffc1fb1c0f634c65e65219d2a0869ad1b52ba7ed -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-17T14:48:47.308Z] provisioning config files... [2020-04-17T14:48:47.324Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/config5001929674323182764tmp [Pipeline] { [Pipeline] echo [2020-04-17T14:48:47.410Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-17T14:48:47.706Z] ---> create-netrc.sh [Pipeline] echo [2020-04-17T14:48:47.713Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-17T14:48:48.011Z] ---> logs-deploy.sh [2020-04-17T14:48:48.011Z] + ARCHIVE_ARTIFACTS= [2020-04-17T14:48:48.011Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-17T14:48:48.011Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-17T14:48:48.011Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-17T14:48:48.011Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-484/4 [2020-04-17T14:48:48.011Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-484/4/ [2020-04-17T14:48:48.011Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-484/4 /w/workspace/dgexfoundry_device-sdk-go_PR-484 [2020-04-17T14:48:49.388Z] Archives upload complete. [2020-04-17T14:48:49.388Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-484/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-484/4/