Pull request #504 opened 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 9151334accf12bfa484664176a95c1e38501c6be+0e104270bcdba6d57d1eb654a33ea3a0d313d58c (f9fb5ea8aab4e1f8d81e6394202b067100c8b97f) Running in Durability level: MAX_SURVIVABILITY 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 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-504/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > 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 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 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 # 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 > git --version # 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-5362 in /w/workspace/dgexfoundry_device-sdk-go_PR-504 [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-504 # 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/504/head:refs/remotes/origin/PR-504 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 0e104270bcdba6d57d1eb654a33ea3a0d313d58c into PR head commit 9151334accf12bfa484664176a95c1e38501c6be Merge succeeded, producing 9151334accf12bfa484664176a95c1e38501c6be Checking out Revision 9151334accf12bfa484664176a95c1e38501c6be (PR-504) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/504/head:refs/remotes/origin/PR-504 # 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/504/head:refs/remotes/origin/PR-504 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9151334accf12bfa484664176a95c1e38501c6be # 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 0e104270bcdba6d57d1eb654a33ea3a0d313d58c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9151334accf12bfa484664176a95c1e38501c6be # timeout=10 Commit message: "feat(environment): Allow uppercase environment overrides" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-21T18:57:52.060Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-21T18:57:52.324Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-21T18:57:52.548Z] ========================================================= [2020-04-21T18:57:52.548Z] EdgeX Global Pipelines Version Info [2020-04-21T18:57:52.548Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-21T18:57:53.986Z] ------------------- [2020-04-21T18:57:53.986Z] stable info: [2020-04-21T18:57:53.986Z] ------------------- [2020-04-21T18:57:53.986Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-21T18:57:53.986Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T18:57:53.986Z] Message: update stable to v1.0.73 [2020-04-21T18:57:54.552Z] ------------------- [2020-04-21T18:57:54.552Z] experimental info: [2020-04-21T18:57:54.552Z] ------------------- [2020-04-21T18:57:54.552Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-21T18:57:54.552Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T18:57:54.552Z] 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-21T18:57:56.808Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T18:57:56.808Z] [2020-04-21T18:57:56.808Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-21T18:57:57.174Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T18:57:57.174Z] latest: Pulling from edgex-devops/git-semver [2020-04-21T18:57:57.174Z] 9123ac7c32f7: Pulling fs layer [2020-04-21T18:57:57.174Z] b8cc5d1170e3: Pulling fs layer [2020-04-21T18:57:57.174Z] 2924cbbf6a41: Pulling fs layer [2020-04-21T18:57:57.174Z] 93b08a4f1073: Pulling fs layer [2020-04-21T18:57:57.174Z] b8cc5d1170e3: Download complete [2020-04-21T18:57:57.174Z] 9123ac7c32f7: Verifying Checksum [2020-04-21T18:57:57.174Z] 9123ac7c32f7: Download complete [2020-04-21T18:57:57.437Z] 93b08a4f1073: Verifying Checksum [2020-04-21T18:57:57.437Z] 93b08a4f1073: Download complete [2020-04-21T18:57:57.437Z] 2924cbbf6a41: Verifying Checksum [2020-04-21T18:57:57.437Z] 2924cbbf6a41: Download complete [2020-04-21T18:57:57.437Z] 9123ac7c32f7: Pull complete [2020-04-21T18:57:57.708Z] b8cc5d1170e3: Pull complete [2020-04-21T18:57:58.293Z] 2924cbbf6a41: Pull complete [2020-04-21T18:57:58.555Z] 93b08a4f1073: Pull complete [2020-04-21T18:57:58.556Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-21T18:57:58.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-21T18:57:58.706Z] prd-centos7-docker-4c-2g-5362 does not seem to be running inside a container [2020-04-21T18:57:58.750Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-504 -v /w/workspace/dgexfoundry_device-sdk-go_PR-504:/w/workspace/dgexfoundry_device-sdk-go_PR-504:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-21T18:57:59.376Z] $ docker top ecfb6555138393b30da5650a42f9c7937bda05e5f431cb3711d2a8df39cf382d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T18:57:59.728Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T18:57:59.728Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T18:57:59.936Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T18:57:59.943Z] $ docker exec ecfb6555138393b30da5650a42f9c7937bda05e5f431cb3711d2a8df39cf382d ssh-agent [2020-04-21T18:58:00.158Z] SSH_AUTH_SOCK=/tmp/ssh-tPmjJxvk1vux/agent.14 [2020-04-21T18:58:00.158Z] SSH_AGENT_PID=20 [2020-04-21T18:58:00.173Z] Running ssh-add (command line suppressed) [2020-04-21T18:58:00.311Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp/private_key_2041610853260173775.key (/w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp/private_key_2041610853260173775.key) [2020-04-21T18:58:00.359Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T18:58:00.718Z] + git describe --exact-match --tags HEAD [2020-04-21T18:58:00.718Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-21T18:58:00.791Z] $ docker exec --env ******** --env ******** ecfb6555138393b30da5650a42f9c7937bda05e5f431cb3711d2a8df39cf382d ssh-agent -k [2020-04-21T18:58:00.935Z] unset SSH_AUTH_SOCK; [2020-04-21T18:58:00.935Z] unset SSH_AGENT_PID; [2020-04-21T18:58:00.935Z] echo Agent pid 20 killed; [2020-04-21T18:58:00.981Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-21T18:58:01.118Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-21T18:58:01.118Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-21T18:58:01.224Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T18:58:01.224Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T18:58:01.402Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T18:58:01.410Z] $ docker exec ecfb6555138393b30da5650a42f9c7937bda05e5f431cb3711d2a8df39cf382d ssh-agent [2020-04-21T18:58:01.594Z] SSH_AUTH_SOCK=/tmp/ssh-Bl8lI2KzQhth/agent.55 [2020-04-21T18:58:01.594Z] SSH_AGENT_PID=62 [2020-04-21T18:58:01.601Z] Running ssh-add (command line suppressed) [2020-04-21T18:58:01.751Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp/private_key_9073047265513502985.key (/w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp/private_key_9073047265513502985.key) [2020-04-21T18:58:01.794Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T18:58:02.149Z] + git semver init [2020-04-21T18:58:02.149Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T18:58:02.149Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-504/.git [2020-04-21T18:58:02.149Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-504 [2020-04-21T18:58:02.149Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T18:58:02.149Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T18:58:02.149Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T18:58:02.149Z] # $SEMVER_BRANCH = PR-504 [2020-04-21T18:58:02.149Z] # $SEMVER_TEMP = /tmp/semver-196076437 [2020-04-21T18:58:02.149Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-21T18:58:02.715Z] # '/tmp/semver-196076437' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-504/.semver' [2020-04-21T18:58:02.715Z] # -> Force: false [2020-04-21T18:58:02.715Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-504/.semver [Pipeline] } [2020-04-21T18:58:02.739Z] $ docker exec --env ******** --env ******** ecfb6555138393b30da5650a42f9c7937bda05e5f431cb3711d2a8df39cf382d ssh-agent -k [2020-04-21T18:58:02.901Z] unset SSH_AUTH_SOCK; [2020-04-21T18:58:02.902Z] unset SSH_AGENT_PID; [2020-04-21T18:58:02.902Z] echo Agent pid 62 killed; [2020-04-21T18:58:02.947Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T18:58:03.615Z] + git semver [Pipeline] } [2020-04-21T18:58:03.642Z] $ docker stop --time=1 ecfb6555138393b30da5650a42f9c7937bda05e5f431cb3711d2a8df39cf382d [2020-04-21T18:58:04.986Z] $ docker rm -f ecfb6555138393b30da5650a42f9c7937bda05e5f431cb3711d2a8df39cf382d [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-21T18:58:05.907Z] Stashed 52 file(s) [Pipeline] echo [2020-04-21T18:58:05.923Z] [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-21T18:58:21.371Z] Still waiting to schedule task [2020-04-21T18:58:21.371Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-21T18:58:21.392Z] Still waiting to schedule task [2020-04-21T18:58:21.392Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-21T18:59:42.821Z] Running on prd-centos7-docker-4c-2g-5366 in /w/workspace/dgexfoundry_device-sdk-go_PR-504 [Pipeline] { [Pipeline] ws [2020-04-21T18:59:42.907Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-04-21T18:59:45.034Z] using credential edgex-jenkins-ssh [2020-04-21T18:59:45.075Z] Cloning the remote Git repository [2020-04-21T18:59:45.075Z] Cloning with configured refspecs honoured and without tags [2020-04-21T18:59:44.652Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T18:59:44.690Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-04-21T18:59:44.733Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T18:59:44.734Z] > git --version # timeout=10 [2020-04-21T18:59:44.740Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T18:59:44.770Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/504/head:refs/remotes/origin/PR-504 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T18:59:45.816Z] Fetching without tags [2020-04-21T18:59:46.224Z] Merging remotes/origin/master commit 0e104270bcdba6d57d1eb654a33ea3a0d313d58c into PR head commit 9151334accf12bfa484664176a95c1e38501c6be [2020-04-21T18:59:46.312Z] Merge succeeded, producing 9151334accf12bfa484664176a95c1e38501c6be [2020-04-21T18:59:46.313Z] Checking out Revision 9151334accf12bfa484664176a95c1e38501c6be (PR-504) [2020-04-21T18:59:45.342Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T18:59:45.347Z] > git config --add remote.origin.fetch +refs/pull/504/head:refs/remotes/origin/PR-504 # timeout=10 [2020-04-21T18:59:45.354Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T18:59:45.367Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T18:59:45.385Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T18:59:45.386Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T18:59:45.391Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/504/head:refs/remotes/origin/PR-504 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T18:59:45.830Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T18:59:45.835Z] > git checkout -f 9151334accf12bfa484664176a95c1e38501c6be # timeout=10 [2020-04-21T18:59:45.884Z] > git remote # timeout=10 [2020-04-21T18:59:45.890Z] > git config --get remote.origin.url # timeout=10 [2020-04-21T18:59:45.895Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T18:59:45.899Z] > git merge 0e104270bcdba6d57d1eb654a33ea3a0d313d58c # timeout=10 [2020-04-21T18:59:45.912Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-21T18:59:45.921Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T18:59:45.927Z] > git checkout -f 9151334accf12bfa484664176a95c1e38501c6be # timeout=10 [2020-04-21T18:59:49.978Z] Commit message: "feat(environment): Allow uppercase environment overrides" [2020-04-21T18:59:49.916Z] > git --version # timeout=10 [2020-04-21T18:59:49.928Z] fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T18:59:51.028Z] ========================================================= [2020-04-21T18:59:51.028Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-21T18:59:51.028Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T18:59:51.698Z] + 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-21T18:59:51.963Z] Sending build context to Docker daemon 3.01MB [2020-04-21T18:59:51.963Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T18:59:51.963Z] Step 2/8 : FROM ${BASE} [2020-04-21T18:59:51.963Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-21T18:59:51.963Z] e6b0cf9c0882: Pulling fs layer [2020-04-21T18:59:51.963Z] 2848faf0eed1: Pulling fs layer [2020-04-21T18:59:51.963Z] 0f37312ad70f: Pulling fs layer [2020-04-21T18:59:51.964Z] 5788d62ee057: Pulling fs layer [2020-04-21T18:59:51.964Z] 0e6b1d234666: Pulling fs layer [2020-04-21T18:59:51.964Z] bf5d7aec512f: Pulling fs layer [2020-04-21T18:59:51.964Z] 34c802a77dc8: Pulling fs layer [2020-04-21T18:59:51.964Z] 9eb99e56ec68: Pulling fs layer [2020-04-21T18:59:51.964Z] 27c7a5d97fbd: Pulling fs layer [2020-04-21T18:59:51.964Z] 5c102a31e300: Pulling fs layer [2020-04-21T18:59:51.964Z] dcfb455df0a1: Pulling fs layer [2020-04-21T18:59:51.964Z] 5788d62ee057: Waiting [2020-04-21T18:59:51.964Z] 0e6b1d234666: Waiting [2020-04-21T18:59:51.964Z] bf5d7aec512f: Waiting [2020-04-21T18:59:51.964Z] 34c802a77dc8: Waiting [2020-04-21T18:59:51.964Z] 9eb99e56ec68: Waiting [2020-04-21T18:59:51.964Z] 27c7a5d97fbd: Waiting [2020-04-21T18:59:51.964Z] 5c102a31e300: Waiting [2020-04-21T18:59:51.964Z] dcfb455df0a1: Waiting [2020-04-21T18:59:52.225Z] 0f37312ad70f: Verifying Checksum [2020-04-21T18:59:52.225Z] 0f37312ad70f: Download complete [2020-04-21T18:59:52.225Z] 2848faf0eed1: Verifying Checksum [2020-04-21T18:59:52.225Z] 2848faf0eed1: Download complete [2020-04-21T18:59:52.225Z] 0e6b1d234666: Verifying Checksum [2020-04-21T18:59:52.225Z] 0e6b1d234666: Download complete [2020-04-21T18:59:52.225Z] bf5d7aec512f: Verifying Checksum [2020-04-21T18:59:52.225Z] bf5d7aec512f: Download complete [2020-04-21T18:59:52.225Z] e6b0cf9c0882: Verifying Checksum [2020-04-21T18:59:52.225Z] e6b0cf9c0882: Download complete [2020-04-21T18:59:52.499Z] e6b0cf9c0882: Pull complete [2020-04-21T18:59:52.767Z] 2848faf0eed1: Pull complete [2020-04-21T18:59:53.032Z] 34c802a77dc8: Verifying Checksum [2020-04-21T18:59:53.032Z] 34c802a77dc8: Download complete [2020-04-21T18:59:53.032Z] 27c7a5d97fbd: Verifying Checksum [2020-04-21T18:59:53.032Z] 27c7a5d97fbd: Download complete [2020-04-21T18:59:53.613Z] 5c102a31e300: Verifying Checksum [2020-04-21T18:59:53.613Z] 5c102a31e300: Download complete [2020-04-21T18:59:53.613Z] dcfb455df0a1: Verifying Checksum [2020-04-21T18:59:53.613Z] dcfb455df0a1: Download complete [2020-04-21T18:59:53.613Z] 5788d62ee057: Verifying Checksum [2020-04-21T18:59:53.613Z] 5788d62ee057: Download complete [2020-04-21T18:59:53.872Z] 9eb99e56ec68: Verifying Checksum [2020-04-21T18:59:53.872Z] 9eb99e56ec68: Download complete [2020-04-21T18:59:54.439Z] 0f37312ad70f: Pull complete [2020-04-21T19:00:01.024Z] 5788d62ee057: Pull complete [2020-04-21T19:00:01.024Z] 0e6b1d234666: Pull complete [2020-04-21T19:00:01.024Z] bf5d7aec512f: Pull complete [2020-04-21T19:00:05.236Z] 34c802a77dc8: Pull complete [2020-04-21T19:00:09.463Z] 9eb99e56ec68: Pull complete [2020-04-21T19:00:09.463Z] 27c7a5d97fbd: Pull complete [2020-04-21T19:00:09.727Z] 5c102a31e300: Pull complete [2020-04-21T19:00:09.987Z] dcfb455df0a1: Pull complete [2020-04-21T19:00:09.987Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-21T19:00:09.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-21T19:00:09.987Z] ---> 7c70fe431013 [2020-04-21T19:00:09.987Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T19:00:09.987Z] ---> Running in 647fcdd4b591 [2020-04-21T19:00:10.248Z] Removing intermediate container 647fcdd4b591 [2020-04-21T19:00:10.248Z] ---> 41cce49ce7cf [2020-04-21T19:00:10.248Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T19:00:10.248Z] ---> Running in 21320e9e0194 [2020-04-21T19:00:11.631Z] Removing intermediate container 21320e9e0194 [2020-04-21T19:00:11.631Z] ---> c064231223fb [2020-04-21T19:00:11.631Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-21T19:00:11.631Z] ---> Running in fa9d60fa061b [2020-04-21T19:00:12.200Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T19:00:14.106Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T19:00:16.011Z] OK: 143 MiB in 39 packages [2020-04-21T19:00:16.274Z] Removing intermediate container fa9d60fa061b [2020-04-21T19:00:16.274Z] ---> 68d69a317b84 [2020-04-21T19:00:16.274Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-21T19:00:16.532Z] ---> Running in 1ba433079790 [2020-04-21T19:00:16.532Z] Removing intermediate container 1ba433079790 [2020-04-21T19:00:16.532Z] ---> 82b55cb95f2d [2020-04-21T19:00:16.532Z] Step 7/8 : COPY . . [2020-04-21T19:00:17.104Z] ---> 0f81ebfb23fd [2020-04-21T19:00:17.104Z] Step 8/8 : RUN go mod download [2020-04-21T19:00:17.104Z] ---> Running in ddbeccceb26e [2020-04-21T19:00:18.496Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T19:00:18.496Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T19:00:18.496Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T19:00:18.758Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T19:00:18.758Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T19:00:18.758Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T19:00:18.758Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T19:00:18.758Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T19:00:18.758Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-21T19:00:18.758Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T19:00:18.758Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T19:00:18.758Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T19:00:18.758Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T19:00:18.758Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T19:00:18.758Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T19:00:18.758Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T19:00:18.758Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T19:00:18.758Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T19:00:18.758Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T19:00:18.758Z] go: finding github.com/google/uuid v1.1.0 [2020-04-21T19:00:18.758Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T19:00:18.758Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T19:00:18.758Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T19:00:18.758Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T19:00:18.758Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T19:00:18.758Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T19:00:18.758Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T19:00:18.758Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T19:00:18.758Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T19:00:18.758Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-21T19:00:18.758Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T19:00:18.758Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T19:00:18.758Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T19:00:18.758Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-21T19:00:18.758Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T19:00:18.758Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T19:00:18.758Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T19:00:18.758Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T19:00:19.021Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T19:00:19.021Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T19:00:19.021Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T19:00:19.021Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-21T19:00:19.021Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T19:00:19.021Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T19:00:19.021Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T19:00:19.021Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-21T19:00:19.021Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T19:00:19.021Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T19:00:19.021Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T19:00:19.021Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T19:00:19.021Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T19:00:19.022Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T19:00:19.022Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T19:00:19.022Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T19:00:19.022Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T19:00:19.022Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T19:00:19.022Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-21T19:00:19.022Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T19:00:19.022Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T19:00:19.022Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T19:00:19.022Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T19:00:19.022Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T19:00:19.022Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T19:00:19.022Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-21T19:00:19.022Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T19:00:19.022Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T19:00:19.022Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T19:00:19.022Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T19:00:23.232Z] Removing intermediate container ddbeccceb26e [2020-04-21T19:00:23.232Z] ---> 44dbf8fbc50a [2020-04-21T19:00:23.232Z] Successfully built 44dbf8fbc50a [2020-04-21T19:00:23.232Z] 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-21T19:00:23.961Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-21T19:00:23.961Z] . [Pipeline] withDockerContainer [2020-04-21T19:00:24.262Z] prd-centos7-docker-4c-2g-5366 does not seem to be running inside a container [2020-04-21T19:00:24.317Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-21T19:00:24.941Z] $ docker top 0aafa3e20dbbdc43f9090b5e71f4bb4a2fcc5933de9da2fd4afae6dc2c843cf1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T19:00:25.445Z] + go version [2020-04-21T19:00:25.445Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-21T19:00:25.762Z] + make test [2020-04-21T19:00:25.762Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-21T19:00:26.335Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-21T19:00:38.604Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-21T19:00:38.604Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-21T19:00:38.604Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-21T19:00:38.604Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.050s coverage: 21.9% of statements [2020-04-21T19:00:42.811Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.039s coverage: 95.8% of statements [2020-04-21T19:01:14.932Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.063s coverage: 11.4% of statements [2020-04-21T19:01:14.932Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements [2020-04-21T19:01:14.932Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-21T19:01:14.932Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.111s coverage: 36.9% of statements [2020-04-21T19:01:14.932Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-21T19:01:14.932Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-21T19:01:14.932Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.314s coverage: 65.2% of statements [2020-04-21T19:01:14.932Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-21T19:01:14.932Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-21T19:01:14.932Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-21T19:01:14.932Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.013s coverage: 52.6% of statements [2020-04-21T19:01:14.932Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-21T19:01:14.932Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.091s coverage: 68.9% of statements [2020-04-21T19:01:14.932Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-21T19:01:14.932Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-21T19:01:14.932Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T19:01:14.932Z] gofmt -l . [2020-04-21T19:01:14.932Z] [ "`gofmt -l .`" = "" ] [2020-04-21T19:01:14.932Z] ./bin/test-attribution-txt.sh [2020-04-21T19:01:15.192Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T19:01:15.753Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T19:01:15.772Z] $ docker stop --time=1 0aafa3e20dbbdc43f9090b5e71f4bb4a2fcc5933de9da2fd4afae6dc2c843cf1 [2020-04-21T19:01:17.222Z] $ docker rm -f 0aafa3e20dbbdc43f9090b5e71f4bb4a2fcc5933de9da2fd4afae6dc2c843cf1 [2020-04-21T19:01:17.437Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5368 in /w/workspace/dgexfoundry_device-sdk-go_PR-504 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws [2020-04-21T19:01:17.648Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T19:01:18.792Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T19:01:19.110Z] + ls -al . [2020-04-21T19:01:19.110Z] total 176 [2020-04-21T19:01:19.110Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 21 19:01 . [2020-04-21T19:01:19.110Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 21 18:59 .. [2020-04-21T19:01:19.110Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 18:59 api [2020-04-21T19:01:19.110Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 21 18:59 bin [2020-04-21T19:01:19.110Z] -rw-r--r--. 1 jenkins jenkins 110966 Apr 21 19:01 coverage.out [2020-04-21T19:01:19.110Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 21 18:59 Dockerfile.build [2020-04-21T19:01:19.110Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 18:59 .dockerignore [2020-04-21T19:01:19.110Z] drwxrwxr-x. 4 jenkins jenkins 48 Apr 21 18:59 example [2020-04-21T19:01:19.110Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 18:59 .git [2020-04-21T19:01:19.110Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 21 18:59 .github [2020-04-21T19:01:19.110Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 21 18:59 .gitignore [2020-04-21T19:01:19.110Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 21 19:01 go.mod [2020-04-21T19:01:19.110Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 21 19:01 go.sum [2020-04-21T19:01:19.110Z] drwxrwxr-x. 15 jenkins jenkins 217 Apr 21 18:59 internal [2020-04-21T19:01:19.110Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 21 18:59 Jenkinsfile [2020-04-21T19:01:19.110Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 21 18:59 LICENSE [2020-04-21T19:01:19.110Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 21 18:59 Makefile [2020-04-21T19:01:19.110Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 21 18:59 pkg [2020-04-21T19:01:19.110Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 21 18:59 README.md [2020-04-21T19:01:19.110Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 21 18:59 .semver [2020-04-21T19:01:19.110Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 18:59 snap [2020-04-21T19:01:19.110Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 18:58 VERSION [2020-04-21T19:01:19.110Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 21 18:59 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T19:01:19.442Z] + 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=9151334accf12bfa484664176a95c1e38501c6be --label arch=amd64 --label version=0.0.0 . [2020-04-21T19:01:19.442Z] Sending build context to Docker daemon 3.138MB [2020-04-21T19:01:19.442Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-21T19:01:19.442Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-21T19:01:19.442Z] ---> 44dbf8fbc50a [2020-04-21T19:01:19.442Z] Step 3/21 : ARG MAKE='make build' [2020-04-21T19:01:19.702Z] ---> Running in fbb522cae108 [2020-04-21T19:01:19.702Z] Removing intermediate container fbb522cae108 [2020-04-21T19:01:19.702Z] ---> 4c8f38a56fb2 [2020-04-21T19:01:19.702Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-21T19:01:19.702Z] ---> Running in 84208c3cf484 [2020-04-21T19:01:19.971Z] Removing intermediate container 84208c3cf484 [2020-04-21T19:01:19.971Z] ---> 750c6094a2c7 [2020-04-21T19:01:19.971Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T19:01:19.971Z] ---> Running in 3e0adde2edaf [2020-04-21T19:01:20.230Z] Removing intermediate container 3e0adde2edaf [2020-04-21T19:01:20.231Z] ---> b16e8bbf7659 [2020-04-21T19:01:20.231Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T19:01:20.231Z] ---> Running in 2d2435ce3af5 [2020-04-21T19:01:20.816Z] Removing intermediate container 2d2435ce3af5 [2020-04-21T19:01:20.816Z] ---> 56699f686afc [2020-04-21T19:01:20.816Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-21T19:01:20.816Z] ---> Running in 560f81df6949 [2020-04-21T19:01:21.386Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T19:01:24.128Z] using credential edgex-jenkins-ssh [2020-04-21T19:01:24.183Z] Cloning the remote Git repository [2020-04-21T19:01:24.183Z] Cloning with configured refspecs honoured and without tags [2020-04-21T19:01:24.254Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T19:01:24.355Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-04-21T19:01:24.440Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T19:01:24.442Z] > git --version # timeout=10 [2020-04-21T19:01:24.468Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T19:01:24.676Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T19:01:25.637Z] Fetching without tags [2020-04-21T19:01:24.604Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/504/head:refs/remotes/origin/PR-504 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T19:01:25.519Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T19:01:25.558Z] > git config --add remote.origin.fetch +refs/pull/504/head:refs/remotes/origin/PR-504 # timeout=10 [2020-04-21T19:01:25.579Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T19:01:25.606Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T19:01:25.649Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T19:01:25.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T19:01:25.680Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/504/head:refs/remotes/origin/PR-504 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T19:01:26.172Z] Merging remotes/origin/master commit 0e104270bcdba6d57d1eb654a33ea3a0d313d58c into PR head commit 9151334accf12bfa484664176a95c1e38501c6be [2020-04-21T19:01:26.578Z] Merge succeeded, producing 9151334accf12bfa484664176a95c1e38501c6be [2020-04-21T19:01:26.578Z] Checking out Revision 9151334accf12bfa484664176a95c1e38501c6be (PR-504) [2020-04-21T19:01:26.586Z] OK: 143 MiB in 39 packages [2020-04-21T19:01:26.847Z] Removing intermediate container 560f81df6949 [2020-04-21T19:01:26.847Z] ---> e902d08efb34 [2020-04-21T19:01:26.847Z] Step 8/21 : COPY . . [2020-04-21T19:01:26.187Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T19:01:26.215Z] > git checkout -f 9151334accf12bfa484664176a95c1e38501c6be # timeout=10 [2020-04-21T19:01:26.327Z] > git remote # timeout=10 [2020-04-21T19:01:26.425Z] > git config --get remote.origin.url # timeout=10 [2020-04-21T19:01:26.451Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T19:01:26.464Z] > git merge 0e104270bcdba6d57d1eb654a33ea3a0d313d58c # timeout=10 [2020-04-21T19:01:26.536Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-21T19:01:26.585Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T19:01:26.648Z] > git checkout -f 9151334accf12bfa484664176a95c1e38501c6be # timeout=10 [2020-04-21T19:01:27.418Z] ---> 01af01f085b4 [2020-04-21T19:01:27.418Z] Step 9/21 : RUN ${MAKE} [2020-04-21T19:01:27.418Z] ---> Running in db41f64a9e71 [2020-04-21T19:01:27.679Z] 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-21T19:01:31.190Z] Commit message: "feat(environment): Allow uppercase environment overrides" [2020-04-21T19:01:31.269Z] > git --version # timeout=10 [2020-04-21T19:01:31.308Z] fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T19:01:32.883Z] ========================================================= [2020-04-21T19:01:32.883Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-21T19:01:32.883Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T19:01:34.330Z] + 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-21T19:01:35.313Z] Sending build context to Docker daemon 3.01MB [2020-04-21T19:01:35.313Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T19:01:35.313Z] Step 2/8 : FROM ${BASE} [2020-04-21T19:01:35.583Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-21T19:01:35.583Z] cde5963f3b93: Pulling fs layer [2020-04-21T19:01:35.583Z] 2a23fa8c16f7: Pulling fs layer [2020-04-21T19:01:35.583Z] 777b28850792: Pulling fs layer [2020-04-21T19:01:35.583Z] 8a11ddd9e578: Pulling fs layer [2020-04-21T19:01:35.583Z] 4cf88f913ddb: Pulling fs layer [2020-04-21T19:01:35.583Z] 1df406cf5192: Pulling fs layer [2020-04-21T19:01:35.583Z] cd6300453558: Pulling fs layer [2020-04-21T19:01:35.583Z] b9c365052c96: Pulling fs layer [2020-04-21T19:01:35.583Z] a2d8cc88f415: Pulling fs layer [2020-04-21T19:01:35.583Z] ea1d1ca13537: Pulling fs layer [2020-04-21T19:01:35.583Z] 3750a50a1c5e: Pulling fs layer [2020-04-21T19:01:35.583Z] 8a11ddd9e578: Waiting [2020-04-21T19:01:35.583Z] 4cf88f913ddb: Waiting [2020-04-21T19:01:35.583Z] 1df406cf5192: Waiting [2020-04-21T19:01:35.583Z] cd6300453558: Waiting [2020-04-21T19:01:35.583Z] b9c365052c96: Waiting [2020-04-21T19:01:35.583Z] a2d8cc88f415: Waiting [2020-04-21T19:01:35.583Z] ea1d1ca13537: Waiting [2020-04-21T19:01:35.583Z] 3750a50a1c5e: Waiting [2020-04-21T19:01:35.856Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-21T19:01:35.863Z] 777b28850792: Verifying Checksum [2020-04-21T19:01:35.863Z] 777b28850792: Download complete [2020-04-21T19:01:35.863Z] 2a23fa8c16f7: Verifying Checksum [2020-04-21T19:01:35.863Z] 2a23fa8c16f7: Download complete [2020-04-21T19:01:35.863Z] 4cf88f913ddb: Verifying Checksum [2020-04-21T19:01:35.863Z] 4cf88f913ddb: Download complete [2020-04-21T19:01:35.863Z] 1df406cf5192: Download complete [2020-04-21T19:01:36.130Z] cde5963f3b93: Verifying Checksum [2020-04-21T19:01:36.426Z] Removing intermediate container db41f64a9e71 [2020-04-21T19:01:36.426Z] ---> 5b46dae885e0 [2020-04-21T19:01:36.426Z] Step 10/21 : FROM scratch [2020-04-21T19:01:36.426Z] ---> [2020-04-21T19:01:36.426Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T19:01:36.426Z] ---> Running in e2a21e76b812 [2020-04-21T19:01:36.426Z] Removing intermediate container e2a21e76b812 [2020-04-21T19:01:36.426Z] ---> b8817ab94019 [2020-04-21T19:01:36.426Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-21T19:01:36.687Z] ---> Running in 2c5afc81beb7 [2020-04-21T19:01:36.688Z] Removing intermediate container 2c5afc81beb7 [2020-04-21T19:01:36.688Z] ---> 7ee891c15d3b [2020-04-21T19:01:36.688Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-21T19:01:36.688Z] ---> Running in 0a02d3ccd8bc [2020-04-21T19:01:36.946Z] Removing intermediate container 0a02d3ccd8bc [2020-04-21T19:01:36.946Z] ---> edc5f6a8d81d [2020-04-21T19:01:36.946Z] Step 14/21 : WORKDIR / [2020-04-21T19:01:36.946Z] ---> Running in ad4efa14ada8 [2020-04-21T19:01:36.946Z] Removing intermediate container ad4efa14ada8 [2020-04-21T19:01:36.946Z] ---> 7a0e9290b661 [2020-04-21T19:01:36.946Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-21T19:01:37.104Z] cde5963f3b93: Pull complete [2020-04-21T19:01:37.375Z] 2a23fa8c16f7: Pull complete [2020-04-21T19:01:37.516Z] ---> 23c2b1583717 [2020-04-21T19:01:37.516Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-21T19:01:37.516Z] ---> d728b04f1706 [2020-04-21T19:01:37.516Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-21T19:01:37.783Z] ---> 41dff74a1f29 [2020-04-21T19:01:37.783Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-21T19:01:37.783Z] ---> Running in 7db33955d8da [2020-04-21T19:01:37.970Z] 777b28850792: Pull complete [2020-04-21T19:01:38.041Z] Removing intermediate container 7db33955d8da [2020-04-21T19:01:38.041Z] ---> af228f6a6318 [2020-04-21T19:01:38.041Z] Step 19/21 : LABEL arch=amd64 [2020-04-21T19:01:38.041Z] ---> Running in ad2d67d9bb43 [2020-04-21T19:01:38.041Z] Removing intermediate container ad2d67d9bb43 [2020-04-21T19:01:38.041Z] ---> 3143339b2665 [2020-04-21T19:01:38.041Z] Step 20/21 : LABEL git_sha=9151334accf12bfa484664176a95c1e38501c6be [2020-04-21T19:01:38.041Z] ---> Running in ca1c057b3a5c [2020-04-21T19:01:38.300Z] Removing intermediate container ca1c057b3a5c [2020-04-21T19:01:38.300Z] ---> aba2f79e577d [2020-04-21T19:01:38.300Z] Step 21/21 : LABEL version=0.0.0 [2020-04-21T19:01:38.300Z] ---> Running in 34b5a2465519 [2020-04-21T19:01:38.559Z] Removing intermediate container 34b5a2465519 [2020-04-21T19:01:38.559Z] ---> 2fe1bbfe8fb4 [2020-04-21T19:01:38.559Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T19:01:38.559Z] Successfully built 2fe1bbfe8fb4 [2020-04-21T19:01:38.559Z] 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-21T19:01:40.573Z] cd6300453558: Download complete [2020-04-21T19:01:40.573Z] a2d8cc88f415: Verifying Checksum [2020-04-21T19:01:40.573Z] a2d8cc88f415: Download complete [2020-04-21T19:01:43.181Z] ea1d1ca13537: Verifying Checksum [2020-04-21T19:01:43.181Z] ea1d1ca13537: Download complete [2020-04-21T19:01:43.181Z] 3750a50a1c5e: Verifying Checksum [2020-04-21T19:01:43.181Z] 3750a50a1c5e: Download complete [2020-04-21T19:01:45.770Z] b9c365052c96: Verifying Checksum [2020-04-21T19:01:45.770Z] b9c365052c96: Download complete [2020-04-21T19:01:47.176Z] 8a11ddd9e578: Verifying Checksum [2020-04-21T19:01:47.176Z] 8a11ddd9e578: Download complete [2020-04-21T19:01:59.523Z] 8a11ddd9e578: Pull complete [2020-04-21T19:01:59.523Z] 4cf88f913ddb: Pull complete [2020-04-21T19:01:59.523Z] 1df406cf5192: Pull complete [2020-04-21T19:02:03.797Z] cd6300453558: Pull complete [2020-04-21T19:02:08.091Z] b9c365052c96: Pull complete [2020-04-21T19:02:08.092Z] a2d8cc88f415: Pull complete [2020-04-21T19:02:10.048Z] ea1d1ca13537: Pull complete [2020-04-21T19:02:10.633Z] 3750a50a1c5e: Pull complete [2020-04-21T19:02:10.633Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-21T19:02:10.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-21T19:02:10.633Z] ---> 78745c68409d [2020-04-21T19:02:10.633Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T19:02:14.919Z] ---> Running in ac5a0ec848e0 [2020-04-21T19:02:15.189Z] Removing intermediate container ac5a0ec848e0 [2020-04-21T19:02:15.189Z] ---> 03b8bb164dd7 [2020-04-21T19:02:15.189Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T19:02:15.460Z] ---> Running in a23f45eacafa [2020-04-21T19:02:17.420Z] Removing intermediate container a23f45eacafa [2020-04-21T19:02:17.420Z] ---> 65901210de64 [2020-04-21T19:02:17.420Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-21T19:02:17.688Z] ---> Running in dcb365d353d2 [2020-04-21T19:02:18.648Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T19:02:20.601Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T19:02:22.015Z] OK: 125 MiB in 39 packages [2020-04-21T19:02:23.445Z] Removing intermediate container dcb365d353d2 [2020-04-21T19:02:23.445Z] ---> b957f3db5401 [2020-04-21T19:02:23.445Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-21T19:02:23.445Z] ---> Running in 9535f0fbcbb7 [2020-04-21T19:02:23.719Z] Removing intermediate container 9535f0fbcbb7 [2020-04-21T19:02:23.719Z] ---> b139b1cbe563 [2020-04-21T19:02:23.719Z] Step 7/8 : COPY . . [2020-04-21T19:02:24.693Z] ---> c45e198dcb71 [2020-04-21T19:02:24.693Z] Step 8/8 : RUN go mod download [2020-04-21T19:02:24.962Z] ---> Running in beccc966f0ea [2020-04-21T19:02:26.919Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T19:02:26.919Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T19:02:26.919Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T19:02:26.919Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T19:02:26.919Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T19:02:26.919Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T19:02:26.919Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T19:02:26.919Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T19:02:26.919Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-21T19:02:26.919Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T19:02:26.919Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T19:02:26.919Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T19:02:26.919Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T19:02:26.919Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T19:02:26.919Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T19:02:26.919Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T19:02:26.919Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T19:02:26.919Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T19:02:27.185Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T19:02:27.185Z] go: finding github.com/google/uuid v1.1.0 [2020-04-21T19:02:27.185Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T19:02:27.185Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T19:02:27.185Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T19:02:27.185Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T19:02:27.185Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T19:02:27.185Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T19:02:27.185Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T19:02:27.185Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T19:02:27.185Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T19:02:27.185Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-21T19:02:27.185Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T19:02:27.185Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T19:02:27.185Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T19:02:27.185Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-21T19:02:27.185Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T19:02:27.185Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T19:02:27.186Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T19:02:27.186Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T19:02:27.186Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T19:02:27.186Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T19:02:27.186Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T19:02:27.186Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-21T19:02:27.186Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T19:02:27.453Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T19:02:27.453Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T19:02:27.453Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-21T19:02:27.453Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T19:02:27.453Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T19:02:27.453Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T19:02:27.453Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T19:02:27.453Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T19:02:27.453Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T19:02:27.453Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T19:02:27.453Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T19:02:27.453Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T19:02:27.453Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T19:02:27.453Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-21T19:02:27.453Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T19:02:27.453Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T19:02:27.453Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T19:02:27.453Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T19:02:27.453Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T19:02:27.453Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T19:02:27.453Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-21T19:02:27.453Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T19:02:27.453Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T19:02:27.453Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T19:02:27.453Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T19:02:37.541Z] Removing intermediate container beccc966f0ea [2020-04-21T19:02:37.541Z] ---> 56e30cf552c6 [2020-04-21T19:02:37.541Z] Successfully built 56e30cf552c6 [2020-04-21T19:02:37.541Z] 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-21T19:02:38.360Z] + docker inspect -f . ci-base-image-arm64 [2020-04-21T19:02:38.627Z] . [Pipeline] withDockerContainer [2020-04-21T19:02:38.992Z] prd-ubuntu18.04-docker-arm64-4c-16g-5368 does not seem to be running inside a container [2020-04-21T19:02:39.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-21T19:02:40.688Z] $ docker top 0b8b5b1f05b3f85399d50d8815201f03e5bb7792ea9ac1a2f982f5e3c87aed2a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T19:02:41.840Z] + go version [2020-04-21T19:02:41.840Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-21T19:02:42.524Z] + make test [2020-04-21T19:02:42.524Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-21T19:02:43.946Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-21T19:03:16.241Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-21T19:03:16.241Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-21T19:03:16.241Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-21T19:03:16.241Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.045s coverage: 21.9% of statements [2020-04-21T19:03:16.241Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.275s coverage: 95.8% of statements [2020-04-21T19:03:48.483Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.085s coverage: 11.4% of statements [2020-04-21T19:03:48.483Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 21.7% of statements [2020-04-21T19:03:48.483Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-21T19:03:48.483Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.175s coverage: 36.9% of statements [2020-04-21T19:03:48.483Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-21T19:03:48.483Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-21T19:03:48.483Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.521s coverage: 65.2% of statements [2020-04-21T19:03:48.483Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-21T19:03:48.483Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-21T19:03:48.483Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-21T19:03:48.483Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.039s coverage: 52.6% of statements [2020-04-21T19:03:48.483Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-21T19:03:48.483Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.344s coverage: 68.9% of statements [2020-04-21T19:03:48.483Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-21T19:03:48.483Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-21T19:03:48.483Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T19:03:53.866Z] gofmt -l . [2020-04-21T19:03:53.866Z] [ "`gofmt -l .`" = "" ] [2020-04-21T19:03:54.136Z] ./bin/test-attribution-txt.sh [2020-04-21T19:03:54.723Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T19:03:55.337Z] Warning: overwriting stash ‘coverage-report’ [2020-04-21T19:03:55.833Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T19:03:55.844Z] $ docker stop --time=1 0b8b5b1f05b3f85399d50d8815201f03e5bb7792ea9ac1a2f982f5e3c87aed2a [2020-04-21T19:03:58.060Z] $ docker rm -f 0b8b5b1f05b3f85399d50d8815201f03e5bb7792ea9ac1a2f982f5e3c87aed2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T19:04:00.047Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T19:04:00.385Z] + ls -al . [2020-04-21T19:04:00.385Z] total 216 [2020-04-21T19:04:00.385Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 21 19:03 . [2020-04-21T19:04:00.385Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 19:01 .. [2020-04-21T19:04:00.385Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 19:01 .dockerignore [2020-04-21T19:04:00.385Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 19:01 .git [2020-04-21T19:04:00.385Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 19:01 .github [2020-04-21T19:04:00.385Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 21 19:01 .gitignore [2020-04-21T19:04:00.385Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 19:01 .semver [2020-04-21T19:04:00.385Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 21 19:01 Dockerfile.build [2020-04-21T19:04:00.385Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 21 19:01 Jenkinsfile [2020-04-21T19:04:00.385Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 19:01 LICENSE [2020-04-21T19:04:00.385Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 21 19:01 Makefile [2020-04-21T19:04:00.385Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 21 19:01 README.md [2020-04-21T19:04:00.385Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 18:58 VERSION [2020-04-21T19:04:00.385Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 19:01 api [2020-04-21T19:04:00.385Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 19:01 bin [2020-04-21T19:04:00.385Z] -rw-r--r-- 1 jenkins jenkins 110966 Apr 21 19:03 coverage.out [2020-04-21T19:04:00.386Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 19:01 example [2020-04-21T19:04:00.386Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 21 19:03 go.mod [2020-04-21T19:04:00.386Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 21 19:03 go.sum [2020-04-21T19:04:00.386Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 21 19:01 internal [2020-04-21T19:04:00.386Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 19:01 pkg [2020-04-21T19:04:00.386Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 19:01 snap [2020-04-21T19:04:00.386Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 19:01 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T19:04:00.739Z] + 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=9151334accf12bfa484664176a95c1e38501c6be --label arch=arm64 --label version=0.0.0 . [2020-04-21T19:04:01.321Z] Sending build context to Docker daemon 3.138MB [2020-04-21T19:04:01.321Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-21T19:04:01.321Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-21T19:04:01.321Z] ---> 56e30cf552c6 [2020-04-21T19:04:01.321Z] Step 3/21 : ARG MAKE='make build' [2020-04-21T19:04:01.587Z] ---> Running in c1ef574ac576 [2020-04-21T19:04:01.855Z] Removing intermediate container c1ef574ac576 [2020-04-21T19:04:01.855Z] ---> faaaa3a25f9a [2020-04-21T19:04:01.855Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-21T19:04:01.855Z] ---> Running in 9cb4e4e6b2fd [2020-04-21T19:04:02.436Z] Removing intermediate container 9cb4e4e6b2fd [2020-04-21T19:04:02.436Z] ---> 7d18fdc0a4e9 [2020-04-21T19:04:02.436Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T19:04:02.436Z] ---> Running in f8fc16981325 [2020-04-21T19:04:02.705Z] Removing intermediate container f8fc16981325 [2020-04-21T19:04:02.705Z] ---> ef877735ce04 [2020-04-21T19:04:02.705Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T19:04:02.976Z] ---> Running in c58bbab4ac9b [2020-04-21T19:04:04.926Z] Removing intermediate container c58bbab4ac9b [2020-04-21T19:04:04.926Z] ---> b2a70f15e5f4 [2020-04-21T19:04:04.926Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-21T19:04:04.926Z] ---> Running in 1c9edd01bc79 [2020-04-21T19:04:05.900Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T19:04:06.485Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T19:04:07.070Z] OK: 125 MiB in 39 packages [2020-04-21T19:04:08.035Z] Removing intermediate container 1c9edd01bc79 [2020-04-21T19:04:08.035Z] ---> 4c9f86347460 [2020-04-21T19:04:08.035Z] Step 8/21 : COPY . . [2020-04-21T19:04:09.461Z] ---> adb069cbf96a [2020-04-21T19:04:09.461Z] Step 9/21 : RUN ${MAKE} [2020-04-21T19:04:09.461Z] ---> Running in de027c95fd59 [2020-04-21T19:04:10.429Z] 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-21T19:04:37.142Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-21T19:04:37.142Z] Removing intermediate container de027c95fd59 [2020-04-21T19:04:37.142Z] ---> e019ef0817c7 [2020-04-21T19:04:37.142Z] Step 10/21 : FROM scratch [2020-04-21T19:04:37.142Z] ---> [2020-04-21T19:04:37.142Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T19:04:37.142Z] ---> Running in 83f6bdcb3179 [2020-04-21T19:04:37.142Z] Removing intermediate container 83f6bdcb3179 [2020-04-21T19:04:37.142Z] ---> a1ccc8694225 [2020-04-21T19:04:37.142Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-21T19:04:37.142Z] ---> Running in 8815ab31dadd [2020-04-21T19:04:37.409Z] Removing intermediate container 8815ab31dadd [2020-04-21T19:04:37.409Z] ---> 4c41cc959278 [2020-04-21T19:04:37.409Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-21T19:04:37.676Z] ---> Running in 0f24b785f07e [2020-04-21T19:04:37.945Z] Removing intermediate container 0f24b785f07e [2020-04-21T19:04:37.945Z] ---> 9976ab5df539 [2020-04-21T19:04:37.945Z] Step 14/21 : WORKDIR / [2020-04-21T19:04:37.945Z] ---> Running in d059169ecc2c [2020-04-21T19:04:38.531Z] Removing intermediate container d059169ecc2c [2020-04-21T19:04:38.531Z] ---> 0ce0c579a598 [2020-04-21T19:04:38.531Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-21T19:04:39.497Z] ---> cf1cf2b0ca2b [2020-04-21T19:04:39.497Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-21T19:04:39.768Z] ---> f5588e69aa83 [2020-04-21T19:04:39.768Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-21T19:04:40.356Z] ---> dc283b7af99e [2020-04-21T19:04:40.356Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-21T19:04:40.623Z] ---> Running in 2ea6ce53a1ba [2020-04-21T19:04:40.891Z] Removing intermediate container 2ea6ce53a1ba [2020-04-21T19:04:40.891Z] ---> e0e4dc8184c8 [2020-04-21T19:04:40.891Z] Step 19/21 : LABEL arch=arm64 [2020-04-21T19:04:40.891Z] ---> Running in a619c36b30a1 [2020-04-21T19:04:41.479Z] Removing intermediate container a619c36b30a1 [2020-04-21T19:04:41.479Z] ---> 5f40622d02d7 [2020-04-21T19:04:41.479Z] Step 20/21 : LABEL git_sha=9151334accf12bfa484664176a95c1e38501c6be [2020-04-21T19:04:41.479Z] ---> Running in 7bdb150e3ed1 [2020-04-21T19:04:41.747Z] Removing intermediate container 7bdb150e3ed1 [2020-04-21T19:04:41.747Z] ---> 235d876cb8c8 [2020-04-21T19:04:41.747Z] Step 21/21 : LABEL version=0.0.0 [2020-04-21T19:04:42.015Z] ---> Running in ba9dee334ff3 [2020-04-21T19:04:42.282Z] Removing intermediate container ba9dee334ff3 [2020-04-21T19:04:42.282Z] ---> a7f9a3cfc33e [2020-04-21T19:04:42.282Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T19:04:42.282Z] Successfully built a7f9a3cfc33e [2020-04-21T19:04:42.282Z] 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-21T19:04:44.123Z] provisioning config files... [2020-04-21T19:04:44.136Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp/config4699723556613128628tmp [Pipeline] { [Pipeline] sh [2020-04-21T19:04:44.537Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp/config4699723556613128628tmp [2020-04-21T19:04:44.537Z] + curl -s https://codecov.io/bash [2020-04-21T19:04:44.802Z] [2020-04-21T19:04:44.802Z] _____ _ [2020-04-21T19:04:44.802Z] / ____| | | [2020-04-21T19:04:44.802Z] | | ___ __| | ___ ___ _____ __ [2020-04-21T19:04:44.802Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-21T19:04:44.802Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-21T19:04:44.802Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-21T19:04:44.802Z] Bash-tbd [2020-04-21T19:04:44.802Z] [2020-04-21T19:04:44.802Z] [2020-04-21T19:04:44.802Z] ==> Jenkins CI detected. [2020-04-21T19:04:44.802Z] project root: . [2020-04-21T19:04:44.802Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-21T19:04:44.802Z] ==> Running gcov in . (disable via -X gcov) [2020-04-21T19:04:44.802Z] ==> Python coveragepy not found [2020-04-21T19:04:44.802Z] ==> Searching for coverage reports in: [2020-04-21T19:04:44.802Z] + . [2020-04-21T19:04:44.802Z] -> Found 1 reports [2020-04-21T19:04:44.802Z] ==> Detecting git/mercurial file structure [2020-04-21T19:04:44.802Z] ==> Reading reports [2020-04-21T19:04:44.802Z] + ./coverage.out bytes=110966 [2020-04-21T19:04:44.802Z] ==> Appending adjustments [2020-04-21T19:04:44.802Z] http://docs.codecov.io/docs/fixing-reports [2020-04-21T19:04:45.062Z] + Found adjustments [2020-04-21T19:04:45.062Z] ==> Gzipping contents [2020-04-21T19:04:45.321Z] ==> Uploading reports [2020-04-21T19:04:45.321Z] url: https://codecov.io [2020-04-21T19:04:45.321Z] query: branch=PR-504&commit=9151334accf12bfa484664176a95c1e38501c6be&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-504%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=504&job= [2020-04-21T19:04:45.321Z] -> Pinging Codecov [2020-04-21T19:04:45.321Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-504&commit=9151334accf12bfa484664176a95c1e38501c6be&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-504%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=504&job= [2020-04-21T19:04:45.580Z] -> Uploading [2020-04-21T19:04:46.148Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9151334accf12bfa484664176a95c1e38501c6be [Pipeline] } [2020-04-21T19:04:46.166Z] 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-21T19:04:47.839Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T19:04:48.168Z] ---> package-listing.sh [2020-04-21T19:04:48.168Z] ++ facter osfamily [2020-04-21T19:04:48.168Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-21T19:04:48.168Z] + OS_FAMILY=redhat [2020-04-21T19:04:48.168Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-504 [2020-04-21T19:04:48.168Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-21T19:04:48.168Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-21T19:04:48.168Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-21T19:04:48.168Z] + PACKAGES=/tmp/packages_start.txt [2020-04-21T19:04:48.168Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-504 ']' [2020-04-21T19:04:48.168Z] + PACKAGES=/tmp/packages_end.txt [2020-04-21T19:04:48.168Z] + case "${OS_FAMILY}" in [2020-04-21T19:04:48.168Z] + rpm -qa [2020-04-21T19:04:48.168Z] + sort [2020-04-21T19:04:52.371Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-21T19:04:52.371Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-21T19:04:52.371Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-21T19:04:52.371Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-504 ']' [2020-04-21T19:04:52.371Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-504/archives/ [2020-04-21T19:04:52.371Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-504/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-21T19:04:52.799Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T19:04:52.799Z] [2020-04-21T19:04:52.799Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-21T19:04:53.183Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T19:04:53.183Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-21T19:04:53.183Z] c9b1b535fdd9: Pulling fs layer [2020-04-21T19:04:53.183Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-21T19:04:53.183Z] 756a868c4378: Pulling fs layer [2020-04-21T19:04:53.183Z] 444b2fc9a129: Pulling fs layer [2020-04-21T19:04:53.183Z] ea15f1150254: Pulling fs layer [2020-04-21T19:04:53.183Z] 41b27a9f41bf: Pulling fs layer [2020-04-21T19:04:53.183Z] 28c525ee5125: Pulling fs layer [2020-04-21T19:04:53.183Z] 094b1ea09ed8: Pulling fs layer [2020-04-21T19:04:53.183Z] 138eaada9080: Pulling fs layer [2020-04-21T19:04:53.183Z] 0622d0fa9048: Pulling fs layer [2020-04-21T19:04:53.183Z] 41b27a9f41bf: Waiting [2020-04-21T19:04:53.183Z] 28c525ee5125: Waiting [2020-04-21T19:04:53.183Z] 094b1ea09ed8: Waiting [2020-04-21T19:04:53.183Z] 444b2fc9a129: Waiting [2020-04-21T19:04:53.183Z] ea15f1150254: Waiting [2020-04-21T19:04:53.183Z] 138eaada9080: Waiting [2020-04-21T19:04:53.183Z] 0622d0fa9048: Waiting [2020-04-21T19:04:53.183Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-21T19:04:53.183Z] 2cc5ad85d9ab: Download complete [2020-04-21T19:04:53.183Z] 444b2fc9a129: Verifying Checksum [2020-04-21T19:04:53.183Z] 444b2fc9a129: Download complete [2020-04-21T19:04:53.183Z] ea15f1150254: Download complete [2020-04-21T19:04:53.183Z] c9b1b535fdd9: Verifying Checksum [2020-04-21T19:04:53.183Z] c9b1b535fdd9: Download complete [2020-04-21T19:04:53.449Z] 28c525ee5125: Verifying Checksum [2020-04-21T19:04:53.449Z] 28c525ee5125: Download complete [2020-04-21T19:04:53.449Z] c9b1b535fdd9: Pull complete [2020-04-21T19:04:54.054Z] 756a868c4378: Verifying Checksum [2020-04-21T19:04:54.054Z] 756a868c4378: Download complete [2020-04-21T19:04:54.054Z] 2cc5ad85d9ab: Pull complete [2020-04-21T19:04:54.054Z] 094b1ea09ed8: Verifying Checksum [2020-04-21T19:04:54.054Z] 094b1ea09ed8: Download complete [2020-04-21T19:04:54.054Z] 138eaada9080: Verifying Checksum [2020-04-21T19:04:54.054Z] 138eaada9080: Download complete [2020-04-21T19:04:54.054Z] 0622d0fa9048: Verifying Checksum [2020-04-21T19:04:54.054Z] 0622d0fa9048: Download complete [2020-04-21T19:04:54.630Z] 41b27a9f41bf: Verifying Checksum [2020-04-21T19:04:54.630Z] 41b27a9f41bf: Download complete [2020-04-21T19:04:55.574Z] 756a868c4378: Pull complete [2020-04-21T19:04:55.574Z] 444b2fc9a129: Pull complete [2020-04-21T19:04:55.835Z] ea15f1150254: Pull complete [2020-04-21T19:05:00.043Z] 41b27a9f41bf: Pull complete [2020-04-21T19:05:00.043Z] 28c525ee5125: Pull complete [2020-04-21T19:05:01.432Z] 094b1ea09ed8: Pull complete [2020-04-21T19:05:01.691Z] 138eaada9080: Pull complete [2020-04-21T19:05:01.952Z] 0622d0fa9048: Pull complete [2020-04-21T19:05:01.952Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-21T19:05:01.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-21T19:05:02.128Z] prd-centos7-docker-4c-2g-5362 does not seem to be running inside a container [2020-04-21T19:05:02.173Z] $ 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-504 -v /w/workspace/dgexfoundry_device-sdk-go_PR-504:/w/workspace/dgexfoundry_device-sdk-go_PR-504:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-21T19:05:03.311Z] $ docker top 4ef9babcd8e89b3b8afb556ffa13b8fb912ce52f182a0a7f588897b57409d4a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-21T19:05:03.680Z] provisioning config files... [2020-04-21T19:05:03.693Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-504@tmp/config651562833098911336tmp [Pipeline] { [Pipeline] echo [2020-04-21T19:05:03.824Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T19:05:04.143Z] ---> create-netrc.sh [Pipeline] echo [2020-04-21T19:05:04.173Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T19:05:04.494Z] ---> logs-deploy.sh [2020-04-21T19:05:04.494Z] + ARCHIVE_ARTIFACTS= [2020-04-21T19:05:04.494Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-21T19:05:04.494Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-21T19:05:04.494Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-21T19:05:04.494Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-504/1 [2020-04-21T19:05:04.494Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-504/1/ [2020-04-21T19:05:04.494Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-504/1 /w/workspace/dgexfoundry_device-sdk-go_PR-504 [2020-04-21T19:05:05.874Z] Archives upload complete. [2020-04-21T19:05:05.874Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-504/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-504/1/