Pull request #484 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from bbece5ebab947e6d623980503cb731de8d7f12fb+cf2f893d3a97df698f83b3d0dbde5549391309c2 (6c34c587a20c72c892d09b8cc2228b6ba9adeeaa) 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-5239 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 cf2f893d3a97df698f83b3d0dbde5549391309c2 into PR head commit bbece5ebab947e6d623980503cb731de8d7f12fb Merge succeeded, producing bbece5ebab947e6d623980503cb731de8d7f12fb Checking out Revision bbece5ebab947e6d623980503cb731de8d7f12fb (PR-484) > 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 bbece5ebab947e6d623980503cb731de8d7f12fb # 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 cf2f893d3a97df698f83b3d0dbde5549391309c2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bbece5ebab947e6d623980503cb731de8d7f12fb # timeout=10 Commit message: "Support array data type in Readings" First time build. Skipping changelog. > git rev-list --no-walk 711038ab7bfb9639052de0acdb9fd8313a599fd5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-21T13:28:53.700Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-21T13:28:53.889Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-21T13:28:53.981Z] ========================================================= [2020-04-21T13:28:53.981Z] EdgeX Global Pipelines Version Info [2020-04-21T13:28:53.981Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-21T13:28:55.391Z] ------------------- [2020-04-21T13:28:55.391Z] stable info: [2020-04-21T13:28:55.391Z] ------------------- [2020-04-21T13:28:55.391Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-21T13:28:55.391Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T13:28:55.391Z] Message: update stable to v1.0.73 [2020-04-21T13:28:55.960Z] ------------------- [2020-04-21T13:28:55.960Z] experimental info: [2020-04-21T13:28:55.960Z] ------------------- [2020-04-21T13:28:55.960Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-21T13:28:55.960Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T13:28:55.960Z] 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-21T13:28:57.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T13:28:57.606Z] [2020-04-21T13:28:57.606Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:28:57.936Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T13:28:57.936Z] latest: Pulling from edgex-devops/git-semver [2020-04-21T13:28:57.936Z] 9123ac7c32f7: Pulling fs layer [2020-04-21T13:28:57.936Z] b8cc5d1170e3: Pulling fs layer [2020-04-21T13:28:57.936Z] 2924cbbf6a41: Pulling fs layer [2020-04-21T13:28:57.936Z] 93b08a4f1073: Pulling fs layer [2020-04-21T13:28:57.936Z] 93b08a4f1073: Waiting [2020-04-21T13:28:57.936Z] b8cc5d1170e3: Verifying Checksum [2020-04-21T13:28:57.936Z] b8cc5d1170e3: Download complete [2020-04-21T13:28:57.936Z] 9123ac7c32f7: Verifying Checksum [2020-04-21T13:28:57.936Z] 9123ac7c32f7: Download complete [2020-04-21T13:28:58.200Z] 93b08a4f1073: Verifying Checksum [2020-04-21T13:28:58.200Z] 93b08a4f1073: Download complete [2020-04-21T13:28:58.200Z] 2924cbbf6a41: Verifying Checksum [2020-04-21T13:28:58.200Z] 2924cbbf6a41: Download complete [2020-04-21T13:28:58.460Z] 9123ac7c32f7: Pull complete [2020-04-21T13:28:58.460Z] b8cc5d1170e3: Pull complete [2020-04-21T13:28:59.400Z] 2924cbbf6a41: Pull complete [2020-04-21T13:28:59.400Z] 93b08a4f1073: Pull complete [2020-04-21T13:28:59.400Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-21T13:28:59.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-21T13:28:59.527Z] prd-centos7-docker-4c-2g-5239 does not seem to be running inside a container [2020-04-21T13:28:59.571Z] $ 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-21T13:29:00.154Z] $ docker top 46166c5a1b172d0a2dcb47c223e41fcb40f572086078116203fe149a6b357a56 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T13:29:00.410Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T13:29:00.410Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T13:29:00.602Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T13:29:00.603Z] $ docker exec 46166c5a1b172d0a2dcb47c223e41fcb40f572086078116203fe149a6b357a56 ssh-agent [2020-04-21T13:29:00.771Z] SSH_AUTH_SOCK=/tmp/ssh-keCwsIhbgcnm/agent.15 [2020-04-21T13:29:00.771Z] SSH_AGENT_PID=22 [2020-04-21T13:29:00.781Z] Running ssh-add (command line suppressed) [2020-04-21T13:29:00.910Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/private_key_2698858842627370768.key (/w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/private_key_2698858842627370768.key) [2020-04-21T13:29:00.957Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T13:29:01.301Z] + git describe --exact-match --tags HEAD [2020-04-21T13:29:01.302Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-21T13:29:01.343Z] $ docker exec --env ******** --env ******** 46166c5a1b172d0a2dcb47c223e41fcb40f572086078116203fe149a6b357a56 ssh-agent -k [2020-04-21T13:29:01.489Z] unset SSH_AUTH_SOCK; [2020-04-21T13:29:01.490Z] unset SSH_AGENT_PID; [2020-04-21T13:29:01.490Z] echo Agent pid 22 killed; [2020-04-21T13:29:01.530Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-21T13:29:01.599Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-21T13:29:01.600Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-21T13:29:01.681Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T13:29:01.682Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T13:29:01.863Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T13:29:01.866Z] $ docker exec 46166c5a1b172d0a2dcb47c223e41fcb40f572086078116203fe149a6b357a56 ssh-agent [2020-04-21T13:29:02.062Z] SSH_AUTH_SOCK=/tmp/ssh-LkHxbzfvgKkH/agent.56 [2020-04-21T13:29:02.062Z] SSH_AGENT_PID=63 [2020-04-21T13:29:02.072Z] Running ssh-add (command line suppressed) [2020-04-21T13:29:02.203Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/private_key_2205407088695873617.key (/w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/private_key_2205407088695873617.key) [2020-04-21T13:29:02.252Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T13:29:02.586Z] + git semver init [2020-04-21T13:29:02.586Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T13:29:02.586Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-484/.git [2020-04-21T13:29:02.586Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-484 [2020-04-21T13:29:02.586Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T13:29:02.586Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T13:29:02.586Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T13:29:02.586Z] # $SEMVER_BRANCH = PR-484 [2020-04-21T13:29:02.586Z] # $SEMVER_TEMP = /tmp/semver-044578001 [2020-04-21T13:29:02.586Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-21T13:29:03.154Z] # '/tmp/semver-044578001' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-484/.semver' [2020-04-21T13:29:03.154Z] # -> Force: false [2020-04-21T13:29:03.154Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-484/.semver [Pipeline] } [2020-04-21T13:29:03.161Z] $ docker exec --env ******** --env ******** 46166c5a1b172d0a2dcb47c223e41fcb40f572086078116203fe149a6b357a56 ssh-agent -k [2020-04-21T13:29:03.303Z] unset SSH_AUTH_SOCK; [2020-04-21T13:29:03.303Z] unset SSH_AGENT_PID; [2020-04-21T13:29:03.303Z] echo Agent pid 63 killed; [2020-04-21T13:29:03.347Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T13:29:03.839Z] + git semver [Pipeline] } [2020-04-21T13:29:03.849Z] $ docker stop --time=1 46166c5a1b172d0a2dcb47c223e41fcb40f572086078116203fe149a6b357a56 [2020-04-21T13:29:05.182Z] $ docker rm -f 46166c5a1b172d0a2dcb47c223e41fcb40f572086078116203fe149a6b357a56 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-21T13:29:06.028Z] Stashed 49 file(s) [Pipeline] echo [2020-04-21T13:29:06.030Z] [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-21T13:29:21.282Z] Still waiting to schedule task [2020-04-21T13:29:21.282Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-21T13:29:21.283Z] Still waiting to schedule task [2020-04-21T13:29:21.283Z] ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4592’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5240’ is offline [2020-04-21T13:31:56.003Z] Running on prd-centos7-docker-4c-2g-5241 in /w/workspace/dgexfoundry_device-sdk-go_PR-484 [Pipeline] { [Pipeline] ws [2020-04-21T13:31:56.045Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2020-04-21T13:31:58.451Z] using credential edgex-jenkins-ssh [2020-04-21T13:31:58.497Z] Cloning the remote Git repository [2020-04-21T13:31:58.497Z] Cloning with configured refspecs honoured and without tags [2020-04-21T13:31:58.545Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T13:31:59.324Z] Fetching without tags [2020-04-21T13:31:58.585Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2020-04-21T13:31:58.632Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T13:31:58.632Z] > git --version # timeout=10 [2020-04-21T13:31:58.641Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T13:31:58.694Z] > 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-21T13:31:59.285Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T13:31:59.293Z] > git config --add remote.origin.fetch +refs/pull/484/head:refs/remotes/origin/PR-484 # timeout=10 [2020-04-21T13:31:59.302Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T13:31:59.314Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T13:31:59.324Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T13:31:59.324Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T13:31:59.329Z] > 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-21T13:31:59.718Z] Merging remotes/origin/master commit cf2f893d3a97df698f83b3d0dbde5549391309c2 into PR head commit bbece5ebab947e6d623980503cb731de8d7f12fb [2020-04-21T13:31:59.810Z] Merge succeeded, producing bbece5ebab947e6d623980503cb731de8d7f12fb [2020-04-21T13:31:59.810Z] Checking out Revision bbece5ebab947e6d623980503cb731de8d7f12fb (PR-484) [2020-04-21T13:31:59.726Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T13:31:59.733Z] > git checkout -f bbece5ebab947e6d623980503cb731de8d7f12fb # timeout=10 [2020-04-21T13:31:59.777Z] > git remote # timeout=10 [2020-04-21T13:31:59.783Z] > git config --get remote.origin.url # timeout=10 [2020-04-21T13:31:59.789Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T13:31:59.792Z] > git merge cf2f893d3a97df698f83b3d0dbde5549391309c2 # timeout=10 [2020-04-21T13:31:59.800Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-21T13:31:59.808Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T13:31:59.814Z] > git checkout -f bbece5ebab947e6d623980503cb731de8d7f12fb # timeout=10 [2020-04-21T13:32:03.610Z] Commit message: "Support array data type in Readings" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T13:32:04.526Z] ========================================================= [2020-04-21T13:32:04.526Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-21T13:32:04.526Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:32:05.185Z] + 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-21T13:32:05.452Z] Sending build context to Docker daemon 2.967MB [2020-04-21T13:32:05.452Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T13:32:05.452Z] Step 2/8 : FROM ${BASE} [2020-04-21T13:32:05.452Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-21T13:32:05.452Z] e6b0cf9c0882: Pulling fs layer [2020-04-21T13:32:05.452Z] 2848faf0eed1: Pulling fs layer [2020-04-21T13:32:05.452Z] 0f37312ad70f: Pulling fs layer [2020-04-21T13:32:05.452Z] 5788d62ee057: Pulling fs layer [2020-04-21T13:32:05.452Z] 0e6b1d234666: Pulling fs layer [2020-04-21T13:32:05.452Z] bf5d7aec512f: Pulling fs layer [2020-04-21T13:32:05.452Z] 34c802a77dc8: Pulling fs layer [2020-04-21T13:32:05.452Z] 9eb99e56ec68: Pulling fs layer [2020-04-21T13:32:05.452Z] 27c7a5d97fbd: Pulling fs layer [2020-04-21T13:32:05.452Z] 5c102a31e300: Pulling fs layer [2020-04-21T13:32:05.452Z] dcfb455df0a1: Pulling fs layer [2020-04-21T13:32:05.452Z] 34c802a77dc8: Waiting [2020-04-21T13:32:05.452Z] 9eb99e56ec68: Waiting [2020-04-21T13:32:05.452Z] 27c7a5d97fbd: Waiting [2020-04-21T13:32:05.452Z] 5788d62ee057: Waiting [2020-04-21T13:32:05.452Z] 5c102a31e300: Waiting [2020-04-21T13:32:05.452Z] 0e6b1d234666: Waiting [2020-04-21T13:32:05.452Z] dcfb455df0a1: Waiting [2020-04-21T13:32:05.452Z] bf5d7aec512f: Waiting [2020-04-21T13:32:05.452Z] 0f37312ad70f: Verifying Checksum [2020-04-21T13:32:05.452Z] 0f37312ad70f: Download complete [2020-04-21T13:32:05.452Z] 2848faf0eed1: Download complete [2020-04-21T13:32:05.452Z] 0e6b1d234666: Verifying Checksum [2020-04-21T13:32:05.452Z] 0e6b1d234666: Download complete [2020-04-21T13:32:05.452Z] bf5d7aec512f: Verifying Checksum [2020-04-21T13:32:05.452Z] bf5d7aec512f: Download complete [2020-04-21T13:32:05.452Z] e6b0cf9c0882: Verifying Checksum [2020-04-21T13:32:05.452Z] e6b0cf9c0882: Download complete [2020-04-21T13:32:05.713Z] e6b0cf9c0882: Pull complete [2020-04-21T13:32:05.975Z] 2848faf0eed1: Pull complete [2020-04-21T13:32:06.241Z] 0f37312ad70f: Pull complete [2020-04-21T13:32:06.505Z] 34c802a77dc8: Verifying Checksum [2020-04-21T13:32:06.505Z] 34c802a77dc8: Download complete [2020-04-21T13:32:06.505Z] 27c7a5d97fbd: Verifying Checksum [2020-04-21T13:32:06.505Z] 27c7a5d97fbd: Download complete [2020-04-21T13:32:07.453Z] 5c102a31e300: Verifying Checksum [2020-04-21T13:32:07.453Z] 5c102a31e300: Download complete [2020-04-21T13:32:07.453Z] 5788d62ee057: Verifying Checksum [2020-04-21T13:32:07.453Z] 5788d62ee057: Download complete [2020-04-21T13:32:07.453Z] dcfb455df0a1: Verifying Checksum [2020-04-21T13:32:07.453Z] dcfb455df0a1: Download complete [2020-04-21T13:32:07.453Z] 9eb99e56ec68: Verifying Checksum [2020-04-21T13:32:07.453Z] 9eb99e56ec68: Download complete [2020-04-21T13:32:14.042Z] 5788d62ee057: Pull complete [2020-04-21T13:32:14.042Z] 0e6b1d234666: Pull complete [2020-04-21T13:32:14.042Z] bf5d7aec512f: Pull complete [2020-04-21T13:32:22.201Z] 34c802a77dc8: Pull complete [2020-04-21T13:32:24.741Z] 9eb99e56ec68: Pull complete [2020-04-21T13:32:24.741Z] 27c7a5d97fbd: Pull complete [2020-04-21T13:32:25.318Z] 5c102a31e300: Pull complete [2020-04-21T13:32:25.318Z] dcfb455df0a1: Pull complete [2020-04-21T13:32:25.318Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-21T13:32:25.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-21T13:32:25.318Z] ---> 7c70fe431013 [2020-04-21T13:32:25.318Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T13:32:25.318Z] ---> Running in dddcb17f5f1f [2020-04-21T13:32:25.579Z] Removing intermediate container dddcb17f5f1f [2020-04-21T13:32:25.579Z] ---> 6413a2f574f5 [2020-04-21T13:32:25.579Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T13:32:25.579Z] ---> Running in 06159e856e70 [2020-04-21T13:32:26.515Z] Removing intermediate container 06159e856e70 [2020-04-21T13:32:26.515Z] ---> a4541965f192 [2020-04-21T13:32:26.515Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-21T13:32:26.515Z] ---> Running in 84a8fd428e5d [2020-04-21T13:32:27.084Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T13:32:27.652Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T13:32:27.912Z] OK: 143 MiB in 39 packages [2020-04-21T13:32:28.175Z] Removing intermediate container 84a8fd428e5d [2020-04-21T13:32:28.175Z] ---> d65eef8b14af [2020-04-21T13:32:28.175Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-21T13:32:28.436Z] ---> Running in 6c0f6bd54a02 [2020-04-21T13:32:28.436Z] Removing intermediate container 6c0f6bd54a02 [2020-04-21T13:32:28.436Z] ---> 7c3c871c52f2 [2020-04-21T13:32:28.436Z] Step 7/8 : COPY . . [2020-04-21T13:32:29.010Z] ---> f37b33c90104 [2020-04-21T13:32:29.010Z] Step 8/8 : RUN go mod download [2020-04-21T13:32:29.010Z] ---> Running in 8d392700027d [2020-04-21T13:32:31.559Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T13:32:31.559Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T13:32:31.559Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T13:32:31.559Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T13:32:31.559Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T13:32:31.559Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T13:32:31.559Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T13:32:31.559Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T13:32:31.559Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T13:32:31.559Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T13:32:31.559Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T13:32:31.559Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T13:32:31.559Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T13:32:31.559Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T13:32:31.559Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T13:32:31.559Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T13:32:31.559Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T13:32:31.559Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T13:32:31.559Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T13:32:31.559Z] go: finding github.com/google/uuid v1.1.0 [2020-04-21T13:32:31.559Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T13:32:31.559Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T13:32:31.559Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T13:32:31.559Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T13:32:31.559Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T13:32:31.559Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T13:32:31.559Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T13:32:31.559Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T13:32:31.559Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T13:32:31.559Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-21T13:32:31.559Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T13:32:31.559Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T13:32:31.559Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T13:32:31.559Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-21T13:32:31.559Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T13:32:31.559Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T13:32:31.559Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T13:32:31.559Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T13:32:31.559Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T13:32:31.559Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T13:32:31.559Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T13:32:31.559Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-21T13:32:31.559Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T13:32:31.559Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T13:32:31.559Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T13:32:31.559Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-21T13:32:31.559Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T13:32:31.559Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T13:32:31.559Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T13:32:31.559Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T13:32:31.559Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T13:32:31.559Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T13:32:31.559Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T13:32:31.559Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T13:32:31.559Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T13:32:31.559Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T13:32:31.559Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-21T13:32:31.559Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T13:32:31.821Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T13:32:31.821Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T13:32:31.821Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T13:32:31.821Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T13:32:31.821Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T13:32:31.821Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-21T13:32:31.821Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T13:32:31.821Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T13:32:31.821Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T13:32:31.821Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T13:32:36.021Z] Removing intermediate container 8d392700027d [2020-04-21T13:32:36.021Z] ---> b5a00c45f3c0 [2020-04-21T13:32:36.021Z] Successfully built b5a00c45f3c0 [2020-04-21T13:32:36.021Z] 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-21T13:32:37.131Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-21T13:32:37.131Z] . [Pipeline] withDockerContainer [2020-04-21T13:32:37.249Z] prd-centos7-docker-4c-2g-5241 does not seem to be running inside a container [2020-04-21T13:32:37.291Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-21T13:32:37.844Z] $ docker top a61ff81f9fa2200bd509bc0f64e5438f3167199b94304dca403af16e5e163387 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T13:32:38.326Z] + go version [2020-04-21T13:32:38.327Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-21T13:32:38.625Z] + make test [2020-04-21T13:32:38.625Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-21T13:32:40.538Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-21T13:32:50.569Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-21T13:32:50.569Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-21T13:32:50.569Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-21T13:32:50.569Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.038s coverage: 21.9% of statements [2020-04-21T13:32:54.774Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.038s coverage: 95.8% of statements [2020-04-21T13:33:09.120Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5242 in /w/workspace/dgexfoundry_device-sdk-go_PR-484 [Pipeline] { [Pipeline] ws [2020-04-21T13:33:09.218Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2020-04-21T13:33:15.268Z] using credential edgex-jenkins-ssh [2020-04-21T13:33:15.331Z] Cloning the remote Git repository [2020-04-21T13:33:15.331Z] Cloning with configured refspecs honoured and without tags [2020-04-21T13:33:15.394Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T13:33:15.486Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2020-04-21T13:33:15.572Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T13:33:15.575Z] > git --version # timeout=10 [2020-04-21T13:33:15.609Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T13:33:15.695Z] > 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-21T13:33:16.911Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T13:33:16.936Z] > git config --add remote.origin.fetch +refs/pull/484/head:refs/remotes/origin/PR-484 # timeout=10 [2020-04-21T13:33:16.961Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T13:33:16.999Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T13:33:17.032Z] Fetching without tags [2020-04-21T13:33:17.606Z] Merging remotes/origin/master commit cf2f893d3a97df698f83b3d0dbde5549391309c2 into PR head commit bbece5ebab947e6d623980503cb731de8d7f12fb [2020-04-21T13:33:18.007Z] Merge succeeded, producing bbece5ebab947e6d623980503cb731de8d7f12fb [2020-04-21T13:33:18.007Z] Checking out Revision bbece5ebab947e6d623980503cb731de8d7f12fb (PR-484) [2020-04-21T13:33:17.046Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T13:33:17.047Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T13:33:17.060Z] > 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-21T13:33:17.639Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T13:33:17.681Z] > git checkout -f bbece5ebab947e6d623980503cb731de8d7f12fb # timeout=10 [2020-04-21T13:33:17.860Z] > git remote # timeout=10 [2020-04-21T13:33:17.890Z] > git config --get remote.origin.url # timeout=10 [2020-04-21T13:33:17.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T13:33:17.943Z] > git merge cf2f893d3a97df698f83b3d0dbde5549391309c2 # timeout=10 [2020-04-21T13:33:17.983Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-21T13:33:18.015Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T13:33:18.040Z] > git checkout -f bbece5ebab947e6d623980503cb731de8d7f12fb # timeout=10 [2020-04-21T13:33:22.857Z] Commit message: "Support array data type in Readings" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T13:33:24.105Z] ========================================================= [2020-04-21T13:33:24.105Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-21T13:33:24.105Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:33:25.241Z] + 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-21T13:33:26.211Z] Sending build context to Docker daemon 2.967MB [2020-04-21T13:33:26.211Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T13:33:26.211Z] Step 2/8 : FROM ${BASE} [2020-04-21T13:33:26.480Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-21T13:33:26.480Z] cde5963f3b93: Pulling fs layer [2020-04-21T13:33:26.480Z] 2a23fa8c16f7: Pulling fs layer [2020-04-21T13:33:26.480Z] 777b28850792: Pulling fs layer [2020-04-21T13:33:26.480Z] 8a11ddd9e578: Pulling fs layer [2020-04-21T13:33:26.480Z] 4cf88f913ddb: Pulling fs layer [2020-04-21T13:33:26.480Z] 8a11ddd9e578: Waiting [2020-04-21T13:33:26.480Z] 1df406cf5192: Pulling fs layer [2020-04-21T13:33:26.480Z] cd6300453558: Pulling fs layer [2020-04-21T13:33:26.480Z] b9c365052c96: Pulling fs layer [2020-04-21T13:33:26.480Z] a2d8cc88f415: Pulling fs layer [2020-04-21T13:33:26.480Z] ea1d1ca13537: Pulling fs layer [2020-04-21T13:33:26.480Z] 4cf88f913ddb: Waiting [2020-04-21T13:33:26.480Z] 3750a50a1c5e: Pulling fs layer [2020-04-21T13:33:26.480Z] 1df406cf5192: Waiting [2020-04-21T13:33:26.480Z] a2d8cc88f415: Waiting [2020-04-21T13:33:26.480Z] cd6300453558: Waiting [2020-04-21T13:33:26.480Z] ea1d1ca13537: Waiting [2020-04-21T13:33:26.480Z] b9c365052c96: Waiting [2020-04-21T13:33:26.480Z] 3750a50a1c5e: Waiting [2020-04-21T13:33:26.480Z] 777b28850792: Verifying Checksum [2020-04-21T13:33:26.480Z] 777b28850792: Download complete [2020-04-21T13:33:26.752Z] 2a23fa8c16f7: Verifying Checksum [2020-04-21T13:33:26.752Z] 2a23fa8c16f7: Download complete [2020-04-21T13:33:26.752Z] 4cf88f913ddb: Verifying Checksum [2020-04-21T13:33:26.752Z] 4cf88f913ddb: Download complete [2020-04-21T13:33:26.752Z] 1df406cf5192: Verifying Checksum [2020-04-21T13:33:26.752Z] 1df406cf5192: Download complete [2020-04-21T13:33:26.752Z] cde5963f3b93: Verifying Checksum [2020-04-21T13:33:26.752Z] cde5963f3b93: Download complete [2020-04-21T13:33:26.894Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.047s coverage: 11.4% of statements [2020-04-21T13:33:26.894Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 21.7% of statements [2020-04-21T13:33:26.894Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-21T13:33:26.894Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.076s coverage: 36.9% of statements [2020-04-21T13:33:26.894Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-21T13:33:26.894Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-21T13:33:26.894Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.364s coverage: 63.1% of statements [2020-04-21T13:33:26.894Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-21T13:33:26.894Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-21T13:33:26.894Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-21T13:33:26.894Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.028s coverage: 52.6% of statements [2020-04-21T13:33:26.894Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-21T13:33:26.894Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.108s coverage: 68.9% of statements [2020-04-21T13:33:26.894Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-21T13:33:26.894Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-21T13:33:26.894Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T13:33:26.894Z] gofmt -l . [2020-04-21T13:33:26.894Z] [ "`gofmt -l .`" = "" ] [2020-04-21T13:33:26.894Z] ./bin/test-attribution-txt.sh [2020-04-21T13:33:26.894Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T13:33:27.351Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T13:33:27.353Z] $ docker stop --time=1 a61ff81f9fa2200bd509bc0f64e5438f3167199b94304dca403af16e5e163387 [2020-04-21T13:33:27.726Z] cde5963f3b93: Pull complete [2020-04-21T13:33:28.318Z] 2a23fa8c16f7: Pull complete [2020-04-21T13:33:28.587Z] 777b28850792: Pull complete [2020-04-21T13:33:28.825Z] $ docker rm -f a61ff81f9fa2200bd509bc0f64e5438f3167199b94304dca403af16e5e163387 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T13:33:29.773Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T13:33:30.061Z] + ls -al . [2020-04-21T13:33:30.061Z] total 172 [2020-04-21T13:33:30.061Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 21 13:33 . [2020-04-21T13:33:30.061Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 21 13:31 .. [2020-04-21T13:33:30.061Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 13:31 api [2020-04-21T13:33:30.061Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 21 13:31 bin [2020-04-21T13:33:30.061Z] -rw-r--r--. 1 jenkins jenkins 109296 Apr 21 13:33 coverage.out [2020-04-21T13:33:30.061Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 21 13:31 Dockerfile.build [2020-04-21T13:33:30.061Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 13:31 .dockerignore [2020-04-21T13:33:30.061Z] drwxrwxr-x. 4 jenkins jenkins 48 Apr 21 13:31 example [2020-04-21T13:33:30.061Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 13:32 .git [2020-04-21T13:33:30.061Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 21 13:31 .github [2020-04-21T13:33:30.061Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 21 13:31 .gitignore [2020-04-21T13:33:30.061Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 21 13:33 go.mod [2020-04-21T13:33:30.061Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 21 13:33 go.sum [2020-04-21T13:33:30.061Z] drwxrwxr-x. 15 jenkins jenkins 217 Apr 21 13:31 internal [2020-04-21T13:33:30.061Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 21 13:31 Jenkinsfile [2020-04-21T13:33:30.061Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 21 13:31 LICENSE [2020-04-21T13:33:30.061Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 21 13:31 Makefile [2020-04-21T13:33:30.061Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 21 13:31 pkg [2020-04-21T13:33:30.061Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 21 13:31 README.md [2020-04-21T13:33:30.061Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 21 13:32 .semver [2020-04-21T13:33:30.061Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 13:31 snap [2020-04-21T13:33:30.061Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 13:29 VERSION [2020-04-21T13:33:30.061Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 21 13:31 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:33:30.369Z] + 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=bbece5ebab947e6d623980503cb731de8d7f12fb --label arch=amd64 --label version=0.0.0 . [2020-04-21T13:33:30.627Z] Sending build context to Docker daemon 3.092MB [2020-04-21T13:33:30.627Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-21T13:33:30.627Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-21T13:33:30.627Z] ---> b5a00c45f3c0 [2020-04-21T13:33:30.627Z] Step 3/21 : ARG MAKE='make build' [2020-04-21T13:33:30.627Z] ---> Running in 25b0e9d510c8 [2020-04-21T13:33:30.627Z] Removing intermediate container 25b0e9d510c8 [2020-04-21T13:33:30.627Z] ---> 94032c351a5f [2020-04-21T13:33:30.627Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-21T13:33:30.627Z] ---> Running in 02f958affb46 [2020-04-21T13:33:30.886Z] Removing intermediate container 02f958affb46 [2020-04-21T13:33:30.886Z] ---> 172a0e81228a [2020-04-21T13:33:30.886Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T13:33:30.886Z] ---> Running in 35112c833f34 [2020-04-21T13:33:31.145Z] Removing intermediate container 35112c833f34 [2020-04-21T13:33:31.145Z] ---> 315ce4cd563e [2020-04-21T13:33:31.145Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T13:33:31.145Z] ---> Running in 939ee8faf75c [2020-04-21T13:33:31.195Z] cd6300453558: Verifying Checksum [2020-04-21T13:33:31.195Z] cd6300453558: Download complete [2020-04-21T13:33:31.195Z] a2d8cc88f415: Verifying Checksum [2020-04-21T13:33:31.195Z] a2d8cc88f415: Download complete [2020-04-21T13:33:31.713Z] Removing intermediate container 939ee8faf75c [2020-04-21T13:33:31.713Z] ---> 9964ba5760d6 [2020-04-21T13:33:31.713Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-21T13:33:31.973Z] ---> Running in 7b92546c2389 [2020-04-21T13:33:32.232Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T13:33:32.801Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T13:33:33.168Z] ea1d1ca13537: Verifying Checksum [2020-04-21T13:33:33.168Z] ea1d1ca13537: Download complete [2020-04-21T13:33:33.370Z] OK: 143 MiB in 39 packages [2020-04-21T13:33:33.447Z] 3750a50a1c5e: Verifying Checksum [2020-04-21T13:33:33.447Z] 3750a50a1c5e: Download complete [2020-04-21T13:33:33.629Z] Removing intermediate container 7b92546c2389 [2020-04-21T13:33:33.629Z] ---> fb616c1f5804 [2020-04-21T13:33:33.629Z] Step 8/21 : COPY . . [2020-04-21T13:33:33.906Z] ---> 330df6eb3d87 [2020-04-21T13:33:33.906Z] Step 9/21 : RUN ${MAKE} [2020-04-21T13:33:33.906Z] ---> Running in 93881d55be9f [2020-04-21T13:33:34.486Z] 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-21T13:33:36.050Z] b9c365052c96: Verifying Checksum [2020-04-21T13:33:36.050Z] b9c365052c96: Download complete [2020-04-21T13:33:37.999Z] 8a11ddd9e578: Verifying Checksum [2020-04-21T13:33:37.999Z] 8a11ddd9e578: Download complete [2020-04-21T13:33:42.694Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-21T13:33:43.264Z] Removing intermediate container 93881d55be9f [2020-04-21T13:33:43.264Z] ---> 3db5ded308dc [2020-04-21T13:33:43.264Z] Step 10/21 : FROM scratch [2020-04-21T13:33:43.264Z] ---> [2020-04-21T13:33:43.264Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T13:33:43.264Z] ---> Running in 51935c9790a5 [2020-04-21T13:33:43.264Z] Removing intermediate container 51935c9790a5 [2020-04-21T13:33:43.264Z] ---> d669c711a6d9 [2020-04-21T13:33:43.264Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-21T13:33:43.264Z] ---> Running in 37a420a72738 [2020-04-21T13:33:43.523Z] Removing intermediate container 37a420a72738 [2020-04-21T13:33:43.523Z] ---> ec0013be972c [2020-04-21T13:33:43.523Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-21T13:33:43.523Z] ---> Running in ec4a59d68a53 [2020-04-21T13:33:43.523Z] Removing intermediate container ec4a59d68a53 [2020-04-21T13:33:43.523Z] ---> 6065c7147e87 [2020-04-21T13:33:43.523Z] Step 14/21 : WORKDIR / [2020-04-21T13:33:43.523Z] ---> Running in 93d00974e7aa [2020-04-21T13:33:43.783Z] Removing intermediate container 93d00974e7aa [2020-04-21T13:33:43.783Z] ---> 8b591af52d72 [2020-04-21T13:33:43.783Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-21T13:33:44.042Z] ---> 60b87843aeeb [2020-04-21T13:33:44.042Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-21T13:33:44.301Z] ---> 5e5427a22d20 [2020-04-21T13:33:44.301Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-21T13:33:44.560Z] ---> 4633489f9ccf [2020-04-21T13:33:44.560Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-21T13:33:44.560Z] ---> Running in 587398b50a86 [2020-04-21T13:33:44.560Z] Removing intermediate container 587398b50a86 [2020-04-21T13:33:44.560Z] ---> 2855ec189c1b [2020-04-21T13:33:44.560Z] Step 19/21 : LABEL arch=amd64 [2020-04-21T13:33:44.819Z] ---> Running in f05c9b4594b8 [2020-04-21T13:33:44.819Z] Removing intermediate container f05c9b4594b8 [2020-04-21T13:33:44.819Z] ---> 81cd2b3ac1ca [2020-04-21T13:33:44.819Z] Step 20/21 : LABEL git_sha=bbece5ebab947e6d623980503cb731de8d7f12fb [2020-04-21T13:33:45.078Z] ---> Running in d5c35b81707c [2020-04-21T13:33:45.078Z] Removing intermediate container d5c35b81707c [2020-04-21T13:33:45.078Z] ---> eb0d4575461b [2020-04-21T13:33:45.078Z] Step 21/21 : LABEL version=0.0.0 [2020-04-21T13:33:45.078Z] ---> Running in d0066bd0d69a [2020-04-21T13:33:45.339Z] Removing intermediate container d0066bd0d69a [2020-04-21T13:33:45.339Z] ---> ba5277a95274 [2020-04-21T13:33:45.339Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T13:33:45.339Z] Successfully built ba5277a95274 [2020-04-21T13:33:45.339Z] 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-21T13:33:50.341Z] 8a11ddd9e578: Pull complete [2020-04-21T13:33:50.341Z] 4cf88f913ddb: Pull complete [2020-04-21T13:33:50.341Z] 1df406cf5192: Pull complete [2020-04-21T13:33:53.701Z] cd6300453558: Pull complete [2020-04-21T13:33:59.067Z] b9c365052c96: Pull complete [2020-04-21T13:33:59.067Z] a2d8cc88f415: Pull complete [2020-04-21T13:34:01.029Z] ea1d1ca13537: Pull complete [2020-04-21T13:34:01.298Z] 3750a50a1c5e: Pull complete [2020-04-21T13:34:01.298Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-21T13:34:01.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-21T13:34:01.298Z] ---> 78745c68409d [2020-04-21T13:34:01.298Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T13:34:05.561Z] ---> Running in 7a5ec1f9cfb0 [2020-04-21T13:34:05.828Z] Removing intermediate container 7a5ec1f9cfb0 [2020-04-21T13:34:05.828Z] ---> 42563957baf6 [2020-04-21T13:34:05.828Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T13:34:06.099Z] ---> Running in 87b1b5de872d [2020-04-21T13:34:08.051Z] Removing intermediate container 87b1b5de872d [2020-04-21T13:34:08.051Z] ---> 92c2e3fb1d11 [2020-04-21T13:34:08.051Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-21T13:34:08.321Z] ---> Running in 2fecd402a1b1 [2020-04-21T13:34:09.282Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T13:34:09.864Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T13:34:10.449Z] OK: 125 MiB in 39 packages [2020-04-21T13:34:11.868Z] Removing intermediate container 2fecd402a1b1 [2020-04-21T13:34:11.868Z] ---> 4b12ef415c3f [2020-04-21T13:34:11.868Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-21T13:34:11.868Z] ---> Running in d97091cd0782 [2020-04-21T13:34:12.138Z] Removing intermediate container d97091cd0782 [2020-04-21T13:34:12.138Z] ---> 11c34dd9961b [2020-04-21T13:34:12.138Z] Step 7/8 : COPY . . [2020-04-21T13:34:13.551Z] ---> e79879f1e030 [2020-04-21T13:34:13.552Z] Step 8/8 : RUN go mod download [2020-04-21T13:34:13.552Z] ---> Running in b47c4ca9aef3 [2020-04-21T13:34:15.512Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T13:34:15.512Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T13:34:15.512Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T13:34:15.512Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T13:34:15.512Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T13:34:15.512Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T13:34:15.512Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T13:34:15.512Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T13:34:15.512Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T13:34:15.512Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T13:34:15.512Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T13:34:15.512Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T13:34:15.512Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T13:34:15.512Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T13:34:15.512Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T13:34:15.512Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T13:34:15.512Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T13:34:15.512Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T13:34:15.512Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T13:34:15.512Z] go: finding github.com/google/uuid v1.1.0 [2020-04-21T13:34:15.512Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T13:34:15.512Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T13:34:15.512Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T13:34:15.512Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T13:34:15.512Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T13:34:15.778Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T13:34:15.778Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T13:34:15.778Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T13:34:15.778Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T13:34:15.778Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-21T13:34:15.778Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T13:34:15.778Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T13:34:15.778Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T13:34:15.778Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-21T13:34:15.778Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T13:34:15.778Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T13:34:15.778Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T13:34:15.778Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T13:34:15.778Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T13:34:15.778Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T13:34:15.778Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T13:34:15.778Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-21T13:34:15.778Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T13:34:15.778Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T13:34:15.778Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T13:34:15.778Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-21T13:34:15.778Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T13:34:15.778Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T13:34:15.778Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T13:34:15.778Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T13:34:15.778Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T13:34:15.778Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T13:34:15.778Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T13:34:15.778Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T13:34:15.778Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T13:34:15.778Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T13:34:16.047Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-21T13:34:16.047Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T13:34:16.047Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T13:34:16.047Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T13:34:16.047Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T13:34:16.047Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T13:34:16.047Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T13:34:16.047Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-21T13:34:16.047Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T13:34:16.047Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T13:34:16.047Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T13:34:16.047Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T13:34:26.161Z] Removing intermediate container b47c4ca9aef3 [2020-04-21T13:34:26.161Z] ---> 37ab192d9d07 [2020-04-21T13:34:26.161Z] Successfully built 37ab192d9d07 [2020-04-21T13:34:26.161Z] 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-21T13:34:26.791Z] + docker inspect -f . ci-base-image-arm64 [2020-04-21T13:34:27.062Z] . [Pipeline] withDockerContainer [2020-04-21T13:34:27.404Z] prd-ubuntu18.04-docker-arm64-4c-16g-5242 does not seem to be running inside a container [2020-04-21T13:34:27.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-arm64 cat [2020-04-21T13:34:28.962Z] $ docker top f66512a67eb3ec95c5d94d119e1bc8e2fe48eb6915965b2886b737444469b52d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T13:34:30.002Z] + go version [2020-04-21T13:34:30.002Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-21T13:34:30.674Z] + make test [2020-04-21T13:34:30.674Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-21T13:34:32.094Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-21T13:34:58.817Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-21T13:34:58.817Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-21T13:34:58.817Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-21T13:35:00.249Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.020s coverage: 21.9% of statements [2020-04-21T13:35:03.620Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.167s coverage: 95.8% of statements [2020-04-21T13:35:35.954Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.039s coverage: 11.4% of statements [2020-04-21T13:35:35.954Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.023s coverage: 21.7% of statements [2020-04-21T13:35:35.954Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-21T13:35:35.954Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.179s coverage: 36.9% of statements [2020-04-21T13:35:35.954Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-21T13:35:35.954Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-21T13:35:35.954Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.485s coverage: 63.1% of statements [2020-04-21T13:35:35.954Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-21T13:35:35.954Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-21T13:35:35.954Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-21T13:35:35.954Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.047s coverage: 52.6% of statements [2020-04-21T13:35:35.954Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-21T13:35:35.954Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.330s coverage: 68.9% of statements [2020-04-21T13:35:35.954Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-21T13:35:35.954Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-21T13:35:35.954Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T13:35:38.567Z] gofmt -l . [2020-04-21T13:35:38.834Z] [ "`gofmt -l .`" = "" ] [2020-04-21T13:35:39.104Z] ./bin/test-attribution-txt.sh [2020-04-21T13:35:40.066Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T13:35:40.347Z] Warning: overwriting stash ‘coverage-report’ [2020-04-21T13:35:40.815Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T13:35:40.832Z] $ docker stop --time=1 f66512a67eb3ec95c5d94d119e1bc8e2fe48eb6915965b2886b737444469b52d [2020-04-21T13:35:42.999Z] $ docker rm -f f66512a67eb3ec95c5d94d119e1bc8e2fe48eb6915965b2886b737444469b52d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T13:35:44.242Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T13:35:44.567Z] + ls -al . [2020-04-21T13:35:44.567Z] total 212 [2020-04-21T13:35:44.567Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 21 13:35 . [2020-04-21T13:35:44.567Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 13:33 .. [2020-04-21T13:35:44.567Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 13:33 .dockerignore [2020-04-21T13:35:44.567Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 13:33 .git [2020-04-21T13:35:44.567Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 13:33 .github [2020-04-21T13:35:44.567Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 21 13:33 .gitignore [2020-04-21T13:35:44.567Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 13:33 .semver [2020-04-21T13:35:44.567Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 21 13:33 Dockerfile.build [2020-04-21T13:35:44.567Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 21 13:33 Jenkinsfile [2020-04-21T13:35:44.567Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 13:33 LICENSE [2020-04-21T13:35:44.567Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 21 13:33 Makefile [2020-04-21T13:35:44.567Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 21 13:33 README.md [2020-04-21T13:35:44.567Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 13:29 VERSION [2020-04-21T13:35:44.567Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 13:33 api [2020-04-21T13:35:44.567Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 13:33 bin [2020-04-21T13:35:44.567Z] -rw-r--r-- 1 jenkins jenkins 109296 Apr 21 13:35 coverage.out [2020-04-21T13:35:44.567Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 13:33 example [2020-04-21T13:35:44.567Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 21 13:35 go.mod [2020-04-21T13:35:44.567Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 21 13:35 go.sum [2020-04-21T13:35:44.567Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 21 13:33 internal [2020-04-21T13:35:44.567Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 13:33 pkg [2020-04-21T13:35:44.567Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 13:33 snap [2020-04-21T13:35:44.567Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 13:33 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:35:44.900Z] + 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=bbece5ebab947e6d623980503cb731de8d7f12fb --label arch=arm64 --label version=0.0.0 . [2020-04-21T13:35:45.487Z] Sending build context to Docker daemon 3.092MB [2020-04-21T13:35:45.487Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-21T13:35:45.487Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-21T13:35:45.487Z] ---> 37ab192d9d07 [2020-04-21T13:35:45.487Z] Step 3/21 : ARG MAKE='make build' [2020-04-21T13:35:45.487Z] ---> Running in 92ad6b877723 [2020-04-21T13:35:46.074Z] Removing intermediate container 92ad6b877723 [2020-04-21T13:35:46.074Z] ---> a0d6ba3d0402 [2020-04-21T13:35:46.074Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-21T13:35:46.074Z] ---> Running in 3a2483096d6e [2020-04-21T13:35:46.344Z] Removing intermediate container 3a2483096d6e [2020-04-21T13:35:46.344Z] ---> c308c5664eff [2020-04-21T13:35:46.344Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T13:35:46.618Z] ---> Running in 99e314771eff [2020-04-21T13:35:46.891Z] Removing intermediate container 99e314771eff [2020-04-21T13:35:46.891Z] ---> 0563ae4732de [2020-04-21T13:35:46.891Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T13:35:46.891Z] ---> Running in 29c40db15a97 [2020-04-21T13:35:48.845Z] Removing intermediate container 29c40db15a97 [2020-04-21T13:35:48.846Z] ---> eec72d301d40 [2020-04-21T13:35:48.846Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-21T13:35:48.846Z] ---> Running in 8d3ec308c0f1 [2020-04-21T13:35:49.806Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T13:35:50.392Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T13:35:50.977Z] OK: 125 MiB in 39 packages [2020-04-21T13:35:51.960Z] Removing intermediate container 8d3ec308c0f1 [2020-04-21T13:35:51.960Z] ---> c8d6f5826bb3 [2020-04-21T13:35:51.960Z] Step 8/21 : COPY . . [2020-04-21T13:35:52.932Z] ---> 58bc2694b234 [2020-04-21T13:35:52.932Z] Step 9/21 : RUN ${MAKE} [2020-04-21T13:35:53.201Z] ---> Running in c2ed2992bb00 [2020-04-21T13:35:54.168Z] 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-21T13:36:21.114Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-21T13:36:21.114Z] Removing intermediate container c2ed2992bb00 [2020-04-21T13:36:21.114Z] ---> d78829e89adc [2020-04-21T13:36:21.114Z] Step 10/21 : FROM scratch [2020-04-21T13:36:21.114Z] ---> [2020-04-21T13:36:21.114Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T13:36:21.114Z] ---> Running in 9ccecf4c3b76 [2020-04-21T13:36:21.114Z] Removing intermediate container 9ccecf4c3b76 [2020-04-21T13:36:21.114Z] ---> 62eef05bbbc5 [2020-04-21T13:36:21.114Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-21T13:36:21.381Z] ---> Running in 8a5ae59bd6dc [2020-04-21T13:36:21.655Z] Removing intermediate container 8a5ae59bd6dc [2020-04-21T13:36:21.655Z] ---> 001d7734ef33 [2020-04-21T13:36:21.655Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-21T13:36:21.655Z] ---> Running in 159a3b3e874e [2020-04-21T13:36:21.923Z] Removing intermediate container 159a3b3e874e [2020-04-21T13:36:21.924Z] ---> 4309512370e1 [2020-04-21T13:36:21.924Z] Step 14/21 : WORKDIR / [2020-04-21T13:36:22.191Z] ---> Running in 0f8d11b8b8ac [2020-04-21T13:36:22.460Z] Removing intermediate container 0f8d11b8b8ac [2020-04-21T13:36:22.460Z] ---> be1020753f9b [2020-04-21T13:36:22.460Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-21T13:36:23.422Z] ---> 343c25f98e8f [2020-04-21T13:36:23.422Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-21T13:36:24.007Z] ---> f863830fe8e1 [2020-04-21T13:36:24.007Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-21T13:36:24.592Z] ---> 813fb865572f [2020-04-21T13:36:24.592Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-21T13:36:24.592Z] ---> Running in eb4eaa1a98c5 [2020-04-21T13:36:24.859Z] Removing intermediate container eb4eaa1a98c5 [2020-04-21T13:36:24.859Z] ---> fff57d34183d [2020-04-21T13:36:24.859Z] Step 19/21 : LABEL arch=arm64 [2020-04-21T13:36:25.126Z] ---> Running in f3b9045fbd03 [2020-04-21T13:36:25.393Z] Removing intermediate container f3b9045fbd03 [2020-04-21T13:36:25.393Z] ---> 375ec80f75f4 [2020-04-21T13:36:25.393Z] Step 20/21 : LABEL git_sha=bbece5ebab947e6d623980503cb731de8d7f12fb [2020-04-21T13:36:25.660Z] ---> Running in a3a518203099 [2020-04-21T13:36:25.929Z] Removing intermediate container a3a518203099 [2020-04-21T13:36:25.929Z] ---> 014f9ffcbaa4 [2020-04-21T13:36:25.929Z] Step 21/21 : LABEL version=0.0.0 [2020-04-21T13:36:25.929Z] ---> Running in 62109e3a95e0 [2020-04-21T13:36:26.515Z] Removing intermediate container 62109e3a95e0 [2020-04-21T13:36:26.515Z] ---> ad04aafda0be [2020-04-21T13:36:26.515Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T13:36:26.515Z] Successfully built ad04aafda0be [2020-04-21T13:36:26.515Z] 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-21T13:36:27.496Z] provisioning config files... [2020-04-21T13:36:27.509Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/config3557430791074087338tmp [Pipeline] { [Pipeline] sh [2020-04-21T13:36:27.882Z] + curl -s https://codecov.io/bash [2020-04-21T13:36:27.883Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/config3557430791074087338tmp [2020-04-21T13:36:28.145Z] [2020-04-21T13:36:28.145Z] _____ _ [2020-04-21T13:36:28.145Z] / ____| | | [2020-04-21T13:36:28.145Z] | | ___ __| | ___ ___ _____ __ [2020-04-21T13:36:28.145Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-21T13:36:28.145Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-21T13:36:28.145Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-21T13:36:28.145Z] Bash-tbd [2020-04-21T13:36:28.145Z] [2020-04-21T13:36:28.145Z] [2020-04-21T13:36:28.145Z] ==> Jenkins CI detected. [2020-04-21T13:36:28.145Z] project root: . [2020-04-21T13:36:28.145Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-21T13:36:28.407Z] ==> Running gcov in . (disable via -X gcov) [2020-04-21T13:36:28.407Z] ==> Python coveragepy not found [2020-04-21T13:36:28.407Z] ==> Searching for coverage reports in: [2020-04-21T13:36:28.407Z] + . [2020-04-21T13:36:28.407Z] -> Found 1 reports [2020-04-21T13:36:28.407Z] ==> Detecting git/mercurial file structure [2020-04-21T13:36:28.407Z] ==> Reading reports [2020-04-21T13:36:28.407Z] + ./coverage.out bytes=109296 [2020-04-21T13:36:28.407Z] ==> Appending adjustments [2020-04-21T13:36:28.407Z] http://docs.codecov.io/docs/fixing-reports [2020-04-21T13:36:28.670Z] + Found adjustments [2020-04-21T13:36:28.670Z] ==> Gzipping contents [2020-04-21T13:36:28.670Z] ==> Uploading reports [2020-04-21T13:36:28.670Z] url: https://codecov.io [2020-04-21T13:36:28.670Z] query: branch=PR-484&commit=bbece5ebab947e6d623980503cb731de8d7f12fb&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-484%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=484&job= [2020-04-21T13:36:28.670Z] -> Pinging Codecov [2020-04-21T13:36:28.670Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-484&commit=bbece5ebab947e6d623980503cb731de8d7f12fb&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-484%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=484&job= [2020-04-21T13:36:29.244Z] -> Uploading [2020-04-21T13:36:29.817Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/bbece5ebab947e6d623980503cb731de8d7f12fb [Pipeline] } [2020-04-21T13:36:29.827Z] 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-21T13:36:30.965Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T13:36:31.281Z] ---> package-listing.sh [2020-04-21T13:36:31.281Z] ++ facter osfamily [2020-04-21T13:36:31.281Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-21T13:36:31.281Z] + OS_FAMILY=redhat [2020-04-21T13:36:31.281Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-484 [2020-04-21T13:36:31.281Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-21T13:36:31.281Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-21T13:36:31.281Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-21T13:36:31.281Z] + PACKAGES=/tmp/packages_start.txt [2020-04-21T13:36:31.281Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-484 ']' [2020-04-21T13:36:31.281Z] + PACKAGES=/tmp/packages_end.txt [2020-04-21T13:36:31.281Z] + case "${OS_FAMILY}" in [2020-04-21T13:36:31.281Z] + rpm -qa [2020-04-21T13:36:31.281Z] + sort [2020-04-21T13:36:35.511Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-21T13:36:35.511Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-21T13:36:35.511Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-21T13:36:35.511Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-484 ']' [2020-04-21T13:36:35.511Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-484/archives/ [2020-04-21T13:36:35.511Z] + 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-21T13:36:35.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T13:36:35.895Z] [2020-04-21T13:36:35.895Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-21T13:36:36.257Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T13:36:36.257Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-21T13:36:36.257Z] c9b1b535fdd9: Pulling fs layer [2020-04-21T13:36:36.257Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-21T13:36:36.257Z] 756a868c4378: Pulling fs layer [2020-04-21T13:36:36.257Z] 444b2fc9a129: Pulling fs layer [2020-04-21T13:36:36.257Z] ea15f1150254: Pulling fs layer [2020-04-21T13:36:36.257Z] 41b27a9f41bf: Pulling fs layer [2020-04-21T13:36:36.257Z] 28c525ee5125: Pulling fs layer [2020-04-21T13:36:36.257Z] 094b1ea09ed8: Pulling fs layer [2020-04-21T13:36:36.257Z] 138eaada9080: Pulling fs layer [2020-04-21T13:36:36.257Z] 0622d0fa9048: Pulling fs layer [2020-04-21T13:36:36.257Z] 444b2fc9a129: Waiting [2020-04-21T13:36:36.257Z] ea15f1150254: Waiting [2020-04-21T13:36:36.257Z] 41b27a9f41bf: Waiting [2020-04-21T13:36:36.257Z] 28c525ee5125: Waiting [2020-04-21T13:36:36.257Z] 094b1ea09ed8: Waiting [2020-04-21T13:36:36.257Z] 0622d0fa9048: Waiting [2020-04-21T13:36:36.257Z] 138eaada9080: Waiting [2020-04-21T13:36:36.257Z] 2cc5ad85d9ab: Download complete [2020-04-21T13:36:36.257Z] 444b2fc9a129: Verifying Checksum [2020-04-21T13:36:36.257Z] 444b2fc9a129: Download complete [2020-04-21T13:36:36.517Z] c9b1b535fdd9: Verifying Checksum [2020-04-21T13:36:36.517Z] ea15f1150254: Verifying Checksum [2020-04-21T13:36:36.517Z] ea15f1150254: Download complete [2020-04-21T13:36:36.517Z] 28c525ee5125: Verifying Checksum [2020-04-21T13:36:36.517Z] 28c525ee5125: Download complete [2020-04-21T13:36:36.799Z] c9b1b535fdd9: Pull complete [2020-04-21T13:36:37.069Z] 2cc5ad85d9ab: Pull complete [2020-04-21T13:36:37.353Z] 756a868c4378: Verifying Checksum [2020-04-21T13:36:37.353Z] 756a868c4378: Download complete [2020-04-21T13:36:37.353Z] 138eaada9080: Verifying Checksum [2020-04-21T13:36:37.353Z] 138eaada9080: Download complete [2020-04-21T13:36:37.618Z] 0622d0fa9048: Verifying Checksum [2020-04-21T13:36:37.618Z] 0622d0fa9048: Download complete [2020-04-21T13:36:37.618Z] 094b1ea09ed8: Verifying Checksum [2020-04-21T13:36:37.618Z] 094b1ea09ed8: Download complete [2020-04-21T13:36:37.890Z] 41b27a9f41bf: Verifying Checksum [2020-04-21T13:36:37.890Z] 41b27a9f41bf: Download complete [2020-04-21T13:36:39.284Z] 756a868c4378: Pull complete [2020-04-21T13:36:39.284Z] 444b2fc9a129: Pull complete [2020-04-21T13:36:39.284Z] ea15f1150254: Pull complete [2020-04-21T13:36:43.519Z] 41b27a9f41bf: Pull complete [2020-04-21T13:36:43.519Z] 28c525ee5125: Pull complete [2020-04-21T13:36:45.423Z] 094b1ea09ed8: Pull complete [2020-04-21T13:36:45.423Z] 138eaada9080: Pull complete [2020-04-21T13:36:46.801Z] 0622d0fa9048: Pull complete [2020-04-21T13:36:46.801Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-21T13:36:46.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-21T13:36:46.977Z] prd-centos7-docker-4c-2g-5239 does not seem to be running inside a container [2020-04-21T13:36:47.021Z] $ 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-21T13:36:47.994Z] $ docker top 32c950378cb856b24ce51b3bc815887cf69f553724cc745061dbba5798b4cb0b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-21T13:36:48.223Z] provisioning config files... [2020-04-21T13:36:48.239Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-484@tmp/config5847033810496370705tmp [Pipeline] { [Pipeline] echo [2020-04-21T13:36:48.316Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T13:36:48.614Z] ---> create-netrc.sh [Pipeline] echo [2020-04-21T13:36:48.621Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T13:36:48.914Z] ---> logs-deploy.sh [2020-04-21T13:36:48.914Z] + ARCHIVE_ARTIFACTS= [2020-04-21T13:36:48.914Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-21T13:36:48.914Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-21T13:36:48.914Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-21T13:36:48.914Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-484/5 [2020-04-21T13:36:48.914Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-484/5/ [2020-04-21T13:36:48.914Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-484/5 /w/workspace/dgexfoundry_device-sdk-go_PR-484 [2020-04-21T13:36:50.289Z] Archives upload complete. [2020-04-21T13:36:50.289Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-484/5 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-484/5/