Pull request #539 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 charles-knox-intel for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 985ee55f1dbea419f17ca15057a817658179b0bb rather than d265bc9988a2e59d89cea90aa11dca6eaae49714 Obtained Jenkinsfile from 985ee55f1dbea419f17ca15057a817658179b0bb Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [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 ‘prd-centos7-docker-4c-2g-3052’ is offline Running on prd-centos7-docker-4c-2g-3053 in /w/workspace/dgexfoundry_device-sdk-go_PR-539 [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-539 # timeout=10 Fetching without tags Merging remotes/origin/master commit 985ee55f1dbea419f17ca15057a817658179b0bb into PR head commit d265bc9988a2e59d89cea90aa11dca6eaae49714 Merge succeeded, producing d265bc9988a2e59d89cea90aa11dca6eaae49714 Checking out Revision d265bc9988a2e59d89cea90aa11dca6eaae49714 (PR-539) 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/539/head:refs/remotes/origin/PR-539 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/539/head:refs/remotes/origin/PR-539 # 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/539/head:refs/remotes/origin/PR-539 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d265bc9988a2e59d89cea90aa11dca6eaae49714 # 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 985ee55f1dbea419f17ca15057a817658179b0bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d265bc9988a2e59d89cea90aa11dca6eaae49714 # timeout=10 Commit message: "docs(README.md): clarity for readers; fix #537" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-15T16:35:47.389Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-15T16:35:47.502Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-15T16:35:47.547Z] ========================================================= [2020-06-15T16:35:47.547Z] EdgeX Global Pipelines Version Info [2020-06-15T16:35:47.547Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-15T16:35:48.963Z] ------------------- [2020-06-15T16:35:48.963Z] stable info: [2020-06-15T16:35:48.963Z] ------------------- [2020-06-15T16:35:48.963Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-15T16:35:48.963Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-15T16:35:48.963Z] Message: update stable to v1.0.89 [2020-06-15T16:35:49.904Z] ------------------- [2020-06-15T16:35:49.904Z] experimental info: [2020-06-15T16:35:49.904Z] ------------------- [2020-06-15T16:35:49.904Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-15T16:35:49.904Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-15T16:35:49.904Z] Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-06-15T16:35:51.463Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-15T16:35:51.463Z] [2020-06-15T16:35:51.463Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-15T16:35:51.783Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-15T16:35:51.783Z] latest: Pulling from edgex-devops/git-semver [2020-06-15T16:35:51.783Z] 9123ac7c32f7: Pulling fs layer [2020-06-15T16:35:51.783Z] b8cc5d1170e3: Pulling fs layer [2020-06-15T16:35:51.783Z] 2924cbbf6a41: Pulling fs layer [2020-06-15T16:35:51.783Z] 93b08a4f1073: Pulling fs layer [2020-06-15T16:35:51.783Z] 93b08a4f1073: Waiting [2020-06-15T16:35:51.783Z] b8cc5d1170e3: Verifying Checksum [2020-06-15T16:35:51.783Z] b8cc5d1170e3: Download complete [2020-06-15T16:35:51.783Z] 9123ac7c32f7: Verifying Checksum [2020-06-15T16:35:51.783Z] 9123ac7c32f7: Download complete [2020-06-15T16:35:52.050Z] 93b08a4f1073: Verifying Checksum [2020-06-15T16:35:52.050Z] 93b08a4f1073: Download complete [2020-06-15T16:35:52.050Z] 2924cbbf6a41: Verifying Checksum [2020-06-15T16:35:52.050Z] 2924cbbf6a41: Download complete [2020-06-15T16:35:52.050Z] 9123ac7c32f7: Pull complete [2020-06-15T16:35:52.317Z] b8cc5d1170e3: Pull complete [2020-06-15T16:35:52.893Z] 2924cbbf6a41: Pull complete [2020-06-15T16:35:53.154Z] 93b08a4f1073: Pull complete [2020-06-15T16:35:53.154Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-15T16:35:53.154Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-15T16:35:53.154Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-15T16:35:53.255Z] prd-centos7-docker-4c-2g-3053 does not seem to be running inside a container [2020-06-15T16:35:53.297Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-539 -v /w/workspace/dgexfoundry_device-sdk-go_PR-539:/w/workspace/dgexfoundry_device-sdk-go_PR-539:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-539@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-539@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-15T16:35:55.443Z] $ docker top 779ade9723cfd5dce98747af3698f3ab3ca324fa866a119576c3275226514d60 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-15T16:35:55.657Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-15T16:35:55.657Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-15T16:35:55.825Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-15T16:35:55.830Z] $ docker exec 779ade9723cfd5dce98747af3698f3ab3ca324fa866a119576c3275226514d60 ssh-agent [2020-06-15T16:35:55.977Z] SSH_AUTH_SOCK=/tmp/ssh-VHej9bNdBabG/agent.11 [2020-06-15T16:35:55.977Z] SSH_AGENT_PID=16 [2020-06-15T16:35:55.988Z] Running ssh-add (command line suppressed) [2020-06-15T16:35:56.102Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-539@tmp/private_key_1313494660926729627.key (/w/workspace/dgexfoundry_device-sdk-go_PR-539@tmp/private_key_1313494660926729627.key) [2020-06-15T16:35:56.148Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-15T16:35:56.459Z] + git describe --exact-match --tags HEAD [2020-06-15T16:35:56.459Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-15T16:35:56.518Z] $ docker exec --env ******** --env ******** 779ade9723cfd5dce98747af3698f3ab3ca324fa866a119576c3275226514d60 ssh-agent -k [2020-06-15T16:35:56.633Z] unset SSH_AUTH_SOCK; [2020-06-15T16:35:56.633Z] unset SSH_AGENT_PID; [2020-06-15T16:35:56.633Z] echo Agent pid 16 killed; [2020-06-15T16:35:56.673Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-15T16:35:56.715Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-15T16:35:56.716Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-15T16:35:56.762Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-15T16:35:56.762Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-15T16:35:56.917Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-15T16:35:56.921Z] $ docker exec 779ade9723cfd5dce98747af3698f3ab3ca324fa866a119576c3275226514d60 ssh-agent [2020-06-15T16:35:57.067Z] SSH_AUTH_SOCK=/tmp/ssh-KPmgfa6dlVC4/agent.45 [2020-06-15T16:35:57.067Z] SSH_AGENT_PID=51 [2020-06-15T16:35:57.072Z] Running ssh-add (command line suppressed) [2020-06-15T16:35:57.179Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-539@tmp/private_key_4470434459958761874.key (/w/workspace/dgexfoundry_device-sdk-go_PR-539@tmp/private_key_4470434459958761874.key) [2020-06-15T16:35:57.223Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-15T16:35:57.526Z] + git semver init [2020-06-15T16:35:57.526Z] # -> Open(): unable to determine branch for HEAD [2020-06-15T16:35:57.526Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-539/.git [2020-06-15T16:35:57.526Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-539 [2020-06-15T16:35:57.526Z] # $SEMVER_REMOTE_NAME = origin [2020-06-15T16:35:57.526Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-15T16:35:57.526Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-15T16:35:57.526Z] # $SEMVER_BRANCH = PR-539 [2020-06-15T16:35:57.526Z] # $SEMVER_TEMP = /tmp/semver-948814639 [2020-06-15T16:35:57.526Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-06-15T16:35:58.097Z] # '/tmp/semver-948814639' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-539/.semver' [2020-06-15T16:35:58.097Z] # -> Force: false [2020-06-15T16:35:58.097Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-539/.semver [Pipeline] } [2020-06-15T16:35:58.109Z] $ docker exec --env ******** --env ******** 779ade9723cfd5dce98747af3698f3ab3ca324fa866a119576c3275226514d60 ssh-agent -k [2020-06-15T16:35:58.211Z] unset SSH_AUTH_SOCK; [2020-06-15T16:35:58.212Z] unset SSH_AGENT_PID; [2020-06-15T16:35:58.212Z] echo Agent pid 51 killed; [2020-06-15T16:35:58.251Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-15T16:35:58.617Z] + git semver [Pipeline] } [2020-06-15T16:35:58.633Z] $ docker stop --time=1 779ade9723cfd5dce98747af3698f3ab3ca324fa866a119576c3275226514d60 [2020-06-15T16:36:00.154Z] $ docker rm -f 779ade9723cfd5dce98747af3698f3ab3ca324fa866a119576c3275226514d60 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-15T16:36:00.947Z] Stashed 69 file(s) [Pipeline] echo [2020-06-15T16:36:00.949Z] [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-06-15T16:36:16.109Z] Still waiting to schedule task [2020-06-15T16:36:16.109Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-06-15T16:36:16.111Z] Still waiting to schedule task [2020-06-15T16:36:16.111Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ is offline [2020-06-15T16:37:49.644Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3054 in /w/workspace/dgexfoundry_device-sdk-go_PR-539 [Pipeline] { [Pipeline] ws [2020-06-15T16:37:49.669Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-06-15T16:37:54.603Z] using credential edgex-jenkins-ssh [2020-06-15T16:37:54.635Z] Cloning the remote Git repository [2020-06-15T16:37:54.635Z] Cloning with configured refspecs honoured and without tags [2020-06-15T16:37:54.712Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-06-15T16:37:54.843Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-06-15T16:37:54.915Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-15T16:37:54.918Z] > git --version # timeout=10 [2020-06-15T16:37:54.942Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T16:37:55.005Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/539/head:refs/remotes/origin/PR-539 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T16:37:55.970Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-15T16:37:55.991Z] > git config --add remote.origin.fetch +refs/pull/539/head:refs/remotes/origin/PR-539 # timeout=10 [2020-06-15T16:37:56.098Z] Fetching without tags [2020-06-15T16:37:56.561Z] Merging remotes/origin/master commit 985ee55f1dbea419f17ca15057a817658179b0bb into PR head commit d265bc9988a2e59d89cea90aa11dca6eaae49714 [2020-06-15T16:37:56.799Z] Merge succeeded, producing d265bc9988a2e59d89cea90aa11dca6eaae49714 [2020-06-15T16:37:56.799Z] Checking out Revision d265bc9988a2e59d89cea90aa11dca6eaae49714 (PR-539) [2020-06-15T16:37:56.013Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T16:37:56.048Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-15T16:37:56.085Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-15T16:37:56.085Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T16:37:56.097Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/539/head:refs/remotes/origin/PR-539 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T16:37:56.554Z] > git config core.sparsecheckout # timeout=10 [2020-06-15T16:37:56.585Z] > git checkout -f d265bc9988a2e59d89cea90aa11dca6eaae49714 # timeout=10 [2020-06-15T16:37:56.689Z] > git remote # timeout=10 [2020-06-15T16:37:56.706Z] > git config --get remote.origin.url # timeout=10 [2020-06-15T16:37:56.725Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T16:37:56.735Z] > git merge 985ee55f1dbea419f17ca15057a817658179b0bb # timeout=10 [2020-06-15T16:37:56.759Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-15T16:37:56.781Z] > git config core.sparsecheckout # timeout=10 [2020-06-15T16:37:56.801Z] > git checkout -f d265bc9988a2e59d89cea90aa11dca6eaae49714 # timeout=10 [2020-06-15T16:38:01.415Z] Commit message: "docs(README.md): clarity for readers; fix #537" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-15T16:38:02.916Z] ========================================================= [2020-06-15T16:38:02.916Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-06-15T16:38:02.916Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-15T16:38:04.106Z] + 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-06-15T16:38:05.100Z] Sending build context to Docker daemon 3.086MB [2020-06-15T16:38:05.100Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-06-15T16:38:05.100Z] Step 2/8 : FROM ${BASE} [2020-06-15T16:38:05.387Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-06-15T16:38:05.387Z] cde5963f3b93: Pulling fs layer [2020-06-15T16:38:05.387Z] 2a23fa8c16f7: Pulling fs layer [2020-06-15T16:38:05.387Z] 777b28850792: Pulling fs layer [2020-06-15T16:38:05.387Z] 8a11ddd9e578: Pulling fs layer [2020-06-15T16:38:05.387Z] 4cf88f913ddb: Pulling fs layer [2020-06-15T16:38:05.387Z] 1df406cf5192: Pulling fs layer [2020-06-15T16:38:05.387Z] cd6300453558: Pulling fs layer [2020-06-15T16:38:05.387Z] b9c365052c96: Pulling fs layer [2020-06-15T16:38:05.387Z] a2d8cc88f415: Pulling fs layer [2020-06-15T16:38:05.387Z] ea1d1ca13537: Pulling fs layer [2020-06-15T16:38:05.387Z] 3750a50a1c5e: Pulling fs layer [2020-06-15T16:38:05.387Z] 4cf88f913ddb: Waiting [2020-06-15T16:38:05.387Z] 1df406cf5192: Waiting [2020-06-15T16:38:05.387Z] cd6300453558: Waiting [2020-06-15T16:38:05.387Z] b9c365052c96: Waiting [2020-06-15T16:38:05.387Z] a2d8cc88f415: Waiting [2020-06-15T16:38:05.387Z] ea1d1ca13537: Waiting [2020-06-15T16:38:05.387Z] 3750a50a1c5e: Waiting [2020-06-15T16:38:05.387Z] 8a11ddd9e578: Waiting [2020-06-15T16:38:05.387Z] 777b28850792: Verifying Checksum [2020-06-15T16:38:05.387Z] 777b28850792: Download complete [2020-06-15T16:38:05.387Z] 2a23fa8c16f7: Verifying Checksum [2020-06-15T16:38:05.387Z] 2a23fa8c16f7: Download complete [2020-06-15T16:38:05.387Z] 4cf88f913ddb: Verifying Checksum [2020-06-15T16:38:05.387Z] 4cf88f913ddb: Download complete [2020-06-15T16:38:05.387Z] 1df406cf5192: Download complete [2020-06-15T16:38:05.387Z] cde5963f3b93: Verifying Checksum [2020-06-15T16:38:06.382Z] cde5963f3b93: Pull complete [2020-06-15T16:38:06.659Z] 2a23fa8c16f7: Pull complete [2020-06-15T16:38:07.257Z] 777b28850792: Pull complete [2020-06-15T16:38:07.534Z] cd6300453558: Verifying Checksum [2020-06-15T16:38:07.534Z] cd6300453558: Download complete [2020-06-15T16:38:07.534Z] a2d8cc88f415: Verifying Checksum [2020-06-15T16:38:07.534Z] a2d8cc88f415: Download complete [2020-06-15T16:38:08.986Z] ea1d1ca13537: Verifying Checksum [2020-06-15T16:38:08.986Z] ea1d1ca13537: Download complete [2020-06-15T16:38:08.986Z] 3750a50a1c5e: Verifying Checksum [2020-06-15T16:38:08.986Z] 3750a50a1c5e: Download complete [2020-06-15T16:38:09.980Z] b9c365052c96: Verifying Checksum [2020-06-15T16:38:09.980Z] b9c365052c96: Download complete [2020-06-15T16:38:10.587Z] 8a11ddd9e578: Verifying Checksum [2020-06-15T16:38:10.587Z] 8a11ddd9e578: Download complete [2020-06-15T16:38:23.030Z] 8a11ddd9e578: Pull complete [2020-06-15T16:38:23.030Z] 4cf88f913ddb: Pull complete [2020-06-15T16:38:23.030Z] 1df406cf5192: Pull complete [2020-06-15T16:38:25.528Z] Running on prd-centos7-docker-4c-2g-3055 in /w/workspace/dgexfoundry_device-sdk-go_PR-539 [Pipeline] { [Pipeline] ws [2020-06-15T16:38:25.553Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-06-15T16:38:27.347Z] cd6300453558: Pull complete [2020-06-15T16:38:28.364Z] using credential edgex-jenkins-ssh [2020-06-15T16:38:28.391Z] Cloning the remote Git repository [2020-06-15T16:38:28.391Z] Cloning with configured refspecs honoured and without tags [2020-06-15T16:38:28.421Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-06-15T16:38:28.546Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-06-15T16:38:28.598Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-15T16:38:28.599Z] > git --version # timeout=10 [2020-06-15T16:38:28.606Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T16:38:28.636Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/539/head:refs/remotes/origin/PR-539 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T16:38:29.259Z] Fetching without tags [2020-06-15T16:38:29.708Z] Merging remotes/origin/master commit 985ee55f1dbea419f17ca15057a817658179b0bb into PR head commit d265bc9988a2e59d89cea90aa11dca6eaae49714 [2020-06-15T16:38:29.798Z] Merge succeeded, producing d265bc9988a2e59d89cea90aa11dca6eaae49714 [2020-06-15T16:38:29.799Z] Checking out Revision d265bc9988a2e59d89cea90aa11dca6eaae49714 (PR-539) [2020-06-15T16:38:29.237Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-15T16:38:29.243Z] > git config --add remote.origin.fetch +refs/pull/539/head:refs/remotes/origin/PR-539 # timeout=10 [2020-06-15T16:38:29.248Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T16:38:29.256Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-15T16:38:29.268Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-15T16:38:29.268Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T16:38:29.275Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/539/head:refs/remotes/origin/PR-539 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T16:38:29.719Z] > git config core.sparsecheckout # timeout=10 [2020-06-15T16:38:29.725Z] > git checkout -f d265bc9988a2e59d89cea90aa11dca6eaae49714 # timeout=10 [2020-06-15T16:38:29.771Z] > git remote # timeout=10 [2020-06-15T16:38:29.777Z] > git config --get remote.origin.url # timeout=10 [2020-06-15T16:38:29.784Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T16:38:29.787Z] > git merge 985ee55f1dbea419f17ca15057a817658179b0bb # timeout=10 [2020-06-15T16:38:29.796Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-15T16:38:29.805Z] > git config core.sparsecheckout # timeout=10 [2020-06-15T16:38:29.811Z] > git checkout -f d265bc9988a2e59d89cea90aa11dca6eaae49714 # timeout=10 [2020-06-15T16:38:32.782Z] b9c365052c96: Pull complete [2020-06-15T16:38:32.782Z] a2d8cc88f415: Pull complete [2020-06-15T16:38:33.432Z] Commit message: "docs(README.md): clarity for readers; fix #537" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-15T16:38:34.178Z] ========================================================= [2020-06-15T16:38:34.178Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-06-15T16:38:34.178Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-15T16:38:34.245Z] ea1d1ca13537: Pull complete [2020-06-15T16:38:34.841Z] 3750a50a1c5e: Pull complete [2020-06-15T16:38:34.841Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-06-15T16:38:34.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-06-15T16:38:34.841Z] ---> 78745c68409d [2020-06-15T16:38:34.841Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-15T16:38:34.959Z] + 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-06-15T16:38:35.221Z] Sending build context to Docker daemon 3.084MB [2020-06-15T16:38:35.221Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-06-15T16:38:35.221Z] Step 2/8 : FROM ${BASE} [2020-06-15T16:38:35.221Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-06-15T16:38:35.221Z] e6b0cf9c0882: Pulling fs layer [2020-06-15T16:38:35.221Z] 2848faf0eed1: Pulling fs layer [2020-06-15T16:38:35.221Z] 0f37312ad70f: Pulling fs layer [2020-06-15T16:38:35.221Z] 5788d62ee057: Pulling fs layer [2020-06-15T16:38:35.221Z] 0e6b1d234666: Pulling fs layer [2020-06-15T16:38:35.221Z] bf5d7aec512f: Pulling fs layer [2020-06-15T16:38:35.221Z] 34c802a77dc8: Pulling fs layer [2020-06-15T16:38:35.221Z] 9eb99e56ec68: Pulling fs layer [2020-06-15T16:38:35.221Z] 27c7a5d97fbd: Pulling fs layer [2020-06-15T16:38:35.221Z] 5c102a31e300: Pulling fs layer [2020-06-15T16:38:35.221Z] dcfb455df0a1: Pulling fs layer [2020-06-15T16:38:35.221Z] 5788d62ee057: Waiting [2020-06-15T16:38:35.221Z] 0e6b1d234666: Waiting [2020-06-15T16:38:35.221Z] bf5d7aec512f: Waiting [2020-06-15T16:38:35.221Z] 34c802a77dc8: Waiting [2020-06-15T16:38:35.221Z] 9eb99e56ec68: Waiting [2020-06-15T16:38:35.221Z] 27c7a5d97fbd: Waiting [2020-06-15T16:38:35.221Z] 5c102a31e300: Waiting [2020-06-15T16:38:35.221Z] dcfb455df0a1: Waiting [2020-06-15T16:38:35.511Z] 0f37312ad70f: Verifying Checksum [2020-06-15T16:38:35.512Z] 0f37312ad70f: Download complete [2020-06-15T16:38:35.512Z] 2848faf0eed1: Verifying Checksum [2020-06-15T16:38:35.512Z] 2848faf0eed1: Download complete [2020-06-15T16:38:35.512Z] 0e6b1d234666: Verifying Checksum [2020-06-15T16:38:35.512Z] 0e6b1d234666: Download complete [2020-06-15T16:38:35.512Z] e6b0cf9c0882: Verifying Checksum [2020-06-15T16:38:35.512Z] bf5d7aec512f: Verifying Checksum [2020-06-15T16:38:35.512Z] bf5d7aec512f: Download complete [2020-06-15T16:38:35.806Z] e6b0cf9c0882: Pull complete [2020-06-15T16:38:36.399Z] 34c802a77dc8: Verifying Checksum [2020-06-15T16:38:36.399Z] 34c802a77dc8: Download complete [2020-06-15T16:38:36.399Z] 27c7a5d97fbd: Verifying Checksum [2020-06-15T16:38:36.399Z] 27c7a5d97fbd: Download complete [2020-06-15T16:38:37.368Z] 5c102a31e300: Verifying Checksum [2020-06-15T16:38:37.368Z] 5c102a31e300: Download complete [2020-06-15T16:38:37.368Z] 9eb99e56ec68: Verifying Checksum [2020-06-15T16:38:37.368Z] 9eb99e56ec68: Download complete [2020-06-15T16:38:37.368Z] 5788d62ee057: Verifying Checksum [2020-06-15T16:38:37.368Z] 5788d62ee057: Download complete [2020-06-15T16:38:37.368Z] dcfb455df0a1: Verifying Checksum [2020-06-15T16:38:37.368Z] dcfb455df0a1: Download complete [2020-06-15T16:38:37.942Z] 2848faf0eed1: Pull complete [2020-06-15T16:38:37.942Z] 0f37312ad70f: Pull complete [2020-06-15T16:38:40.244Z] ---> Running in d391105f3f1e [2020-06-15T16:38:40.244Z] Removing intermediate container d391105f3f1e [2020-06-15T16:38:40.244Z] ---> cd9aa5f62e8d [2020-06-15T16:38:40.244Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-15T16:38:40.244Z] ---> Running in 11a2f45885a2 [2020-06-15T16:38:42.871Z] Removing intermediate container 11a2f45885a2 [2020-06-15T16:38:42.871Z] ---> aabc4ec83f8a [2020-06-15T16:38:42.871Z] Step 5/8 : RUN apk add --no-cache make git [2020-06-15T16:38:42.871Z] ---> Running in 65be7032915a [2020-06-15T16:38:44.298Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-15T16:38:44.571Z] 5788d62ee057: Pull complete [2020-06-15T16:38:44.571Z] 0e6b1d234666: Pull complete [2020-06-15T16:38:44.571Z] bf5d7aec512f: Pull complete [2020-06-15T16:38:44.891Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-15T16:38:45.887Z] OK: 125 MiB in 39 packages [2020-06-15T16:38:46.882Z] Removing intermediate container 65be7032915a [2020-06-15T16:38:46.882Z] ---> 4e9e26b5367d [2020-06-15T16:38:46.882Z] Step 6/8 : WORKDIR /device-sdk-go [2020-06-15T16:38:47.156Z] ---> Running in e7625f8911c4 [2020-06-15T16:38:47.430Z] Removing intermediate container e7625f8911c4 [2020-06-15T16:38:47.430Z] ---> a5f678565200 [2020-06-15T16:38:47.430Z] Step 7/8 : COPY . . [2020-06-15T16:38:48.861Z] ---> 5975ad2f13d6 [2020-06-15T16:38:48.861Z] Step 8/8 : RUN go mod download [2020-06-15T16:38:49.134Z] ---> Running in c3ffa243368c [2020-06-15T16:38:51.204Z] 34c802a77dc8: Pull complete [2020-06-15T16:38:51.749Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-15T16:38:51.749Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-15T16:38:51.749Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-15T16:38:51.749Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-15T16:38:51.749Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-15T16:38:51.749Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-15T16:38:51.749Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-15T16:38:51.749Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-15T16:38:51.749Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-15T16:38:51.749Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-15T16:38:51.749Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-15T16:38:51.749Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-15T16:38:51.749Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-15T16:38:51.749Z] go: finding github.com/fatih/color v1.7.0 [2020-06-15T16:38:51.749Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-15T16:38:51.749Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-15T16:38:51.749Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-15T16:38:51.749Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-15T16:38:51.749Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-15T16:38:51.749Z] go: finding github.com/google/uuid v1.1.0 [2020-06-15T16:38:51.749Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-15T16:38:51.749Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-15T16:38:51.749Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-15T16:38:52.020Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-15T16:38:52.020Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-15T16:38:52.020Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-15T16:38:52.020Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-15T16:38:52.020Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-15T16:38:52.020Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-15T16:38:52.020Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-15T16:38:52.291Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-15T16:38:52.292Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-15T16:38:52.292Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-15T16:38:52.292Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-15T16:38:52.292Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-15T16:38:52.292Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-15T16:38:52.292Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-15T16:38:52.292Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-15T16:38:52.292Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-15T16:38:52.292Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-15T16:38:52.292Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-15T16:38:52.292Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-15T16:38:52.292Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-15T16:38:52.292Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-15T16:38:52.292Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-15T16:38:52.570Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-15T16:38:52.570Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-15T16:38:52.570Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-15T16:38:52.570Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-15T16:38:52.570Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-15T16:38:52.570Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-15T16:38:52.570Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-15T16:38:52.570Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-15T16:38:52.570Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-15T16:38:52.570Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-15T16:38:52.570Z] go: finding github.com/posener/complete v1.1.1 [2020-06-15T16:38:52.570Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-15T16:38:52.570Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-15T16:38:52.570Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-15T16:38:52.570Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-15T16:38:52.846Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-15T16:38:52.846Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-15T16:38:52.846Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-15T16:38:52.846Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-15T16:38:52.846Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-15T16:38:52.846Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-15T16:38:52.846Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-15T16:38:52.846Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-15T16:38:53.771Z] 9eb99e56ec68: Pull complete [2020-06-15T16:38:53.771Z] 27c7a5d97fbd: Pull complete [2020-06-15T16:38:54.726Z] 5c102a31e300: Pull complete [2020-06-15T16:38:54.992Z] dcfb455df0a1: Pull complete [2020-06-15T16:38:54.992Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-06-15T16:38:54.992Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-06-15T16:38:54.992Z] ---> 7c70fe431013 [2020-06-15T16:38:54.992Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-15T16:38:56.913Z] ---> Running in d16f1b0d12c8 [2020-06-15T16:38:56.913Z] Removing intermediate container d16f1b0d12c8 [2020-06-15T16:38:56.913Z] ---> 894cc037ecc4 [2020-06-15T16:38:56.913Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-15T16:38:56.913Z] ---> Running in 41941d395ab9 [2020-06-15T16:38:58.302Z] Removing intermediate container 41941d395ab9 [2020-06-15T16:38:58.302Z] ---> 3de0fdd7ac3f [2020-06-15T16:38:58.302Z] Step 5/8 : RUN apk add --no-cache make git [2020-06-15T16:38:58.302Z] ---> Running in bc489445ac57 [2020-06-15T16:38:58.877Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-15T16:38:59.823Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-15T16:39:00.395Z] OK: 143 MiB in 39 packages [2020-06-15T16:39:00.656Z] Removing intermediate container bc489445ac57 [2020-06-15T16:39:00.656Z] ---> 56a9819e9cd7 [2020-06-15T16:39:00.656Z] Step 6/8 : WORKDIR /device-sdk-go [2020-06-15T16:39:00.656Z] ---> Running in 1217b28acc50 [2020-06-15T16:39:00.919Z] Removing intermediate container 1217b28acc50 [2020-06-15T16:39:00.919Z] ---> 55e41e1c2721 [2020-06-15T16:39:00.919Z] Step 7/8 : COPY . . [2020-06-15T16:39:01.873Z] ---> 0c3a5dcb17b5 [2020-06-15T16:39:01.873Z] Step 8/8 : RUN go mod download [2020-06-15T16:39:01.873Z] ---> Running in 1cae77ab7e74 [2020-06-15T16:39:03.026Z] Removing intermediate container c3ffa243368c [2020-06-15T16:39:03.027Z] ---> f3dbd1882857 [2020-06-15T16:39:03.027Z] Successfully built f3dbd1882857 [2020-06-15T16:39:03.027Z] 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-06-15T16:39:03.578Z] + docker inspect -f . ci-base-image-arm64 [2020-06-15T16:39:03.578Z] . [Pipeline] withDockerContainer [2020-06-15T16:39:03.807Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-15T16:39:03.807Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-15T16:39:03.807Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-15T16:39:03.807Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-15T16:39:03.807Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-15T16:39:03.807Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-15T16:39:03.807Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-15T16:39:03.807Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-15T16:39:03.807Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-15T16:39:03.807Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-15T16:39:03.807Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-15T16:39:03.807Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-15T16:39:03.807Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-15T16:39:03.808Z] go: finding github.com/fatih/color v1.7.0 [2020-06-15T16:39:03.808Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-15T16:39:03.808Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-15T16:39:03.808Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-15T16:39:03.808Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-15T16:39:03.808Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-15T16:39:03.808Z] go: finding github.com/google/uuid v1.1.0 [2020-06-15T16:39:03.808Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-15T16:39:03.808Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-15T16:39:03.808Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-15T16:39:03.808Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-15T16:39:03.808Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-15T16:39:03.808Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-15T16:39:03.808Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-15T16:39:03.808Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-15T16:39:03.808Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-15T16:39:03.808Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-15T16:39:03.808Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-15T16:39:03.808Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-15T16:39:03.808Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-15T16:39:03.808Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-15T16:39:03.808Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-15T16:39:03.808Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-15T16:39:03.808Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-15T16:39:03.808Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-15T16:39:03.808Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-15T16:39:03.808Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-15T16:39:03.808Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-15T16:39:03.808Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-15T16:39:03.808Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-15T16:39:03.808Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-15T16:39:03.808Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-15T16:39:03.808Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-15T16:39:03.808Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-15T16:39:03.808Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-15T16:39:03.808Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-15T16:39:03.808Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-15T16:39:03.808Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-15T16:39:03.808Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-15T16:39:03.808Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-15T16:39:03.808Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-15T16:39:03.808Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-15T16:39:03.808Z] go: finding github.com/posener/complete v1.1.1 [2020-06-15T16:39:03.808Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-15T16:39:03.808Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-15T16:39:03.808Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-15T16:39:03.808Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-15T16:39:03.808Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-15T16:39:03.808Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-15T16:39:03.808Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-15T16:39:03.808Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-15T16:39:03.808Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-15T16:39:03.808Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-15T16:39:03.808Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-15T16:39:03.808Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-15T16:39:03.856Z] prd-ubuntu18.04-docker-arm64-4c-16g-3054 does not seem to be running inside a container [2020-06-15T16:39:03.915Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-06-15T16:39:05.873Z] $ docker top f3de80c806533eca9c4339d62976247cc91932da1b18b3e90dd2cc60709cda6e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-15T16:39:07.267Z] + go version [2020-06-15T16:39:07.268Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-06-15T16:39:08.312Z] + make test [2020-06-15T16:39:08.312Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-15T16:39:09.289Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-06-15T16:39:12.028Z] Removing intermediate container 1cae77ab7e74 [2020-06-15T16:39:12.028Z] ---> 375fa07d76c9 [2020-06-15T16:39:12.028Z] Successfully built 375fa07d76c9 [2020-06-15T16:39:12.028Z] 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-06-15T16:39:12.547Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-15T16:39:12.547Z] . [Pipeline] withDockerContainer [2020-06-15T16:39:12.758Z] prd-centos7-docker-4c-2g-3055 does not seem to be running inside a container [2020-06-15T16:39:12.840Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-06-15T16:39:14.046Z] $ docker top e4504c6bfb04fd8b0960f044e7345f544b3628748c277e3ff0fc016ea62a978f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-15T16:39:14.490Z] + go version [2020-06-15T16:39:14.490Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-06-15T16:39:14.791Z] + make test [2020-06-15T16:39:14.791Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-15T16:39:15.756Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-06-15T16:39:28.155Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-06-15T16:39:28.155Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-06-15T16:39:28.155Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-06-15T16:39:28.155Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.054s coverage: 22.1% of statements [2020-06-15T16:39:28.427Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.068s coverage: 95.8% of statements [2020-06-15T16:39:41.693Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-06-15T16:39:41.693Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-06-15T16:39:41.693Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-06-15T16:39:41.693Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.027s coverage: 22.1% of statements [2020-06-15T16:39:41.970Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.158s coverage: 95.8% of statements [2020-06-15T16:40:00.617Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.408s coverage: 11.4% of statements [2020-06-15T16:40:00.617Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.011s coverage: 21.7% of statements [2020-06-15T16:40:00.617Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-06-15T16:40:00.617Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.089s coverage: 36.9% of statements [2020-06-15T16:40:00.617Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-06-15T16:40:00.617Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-06-15T16:40:00.617Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.287s coverage: 65.2% of statements [2020-06-15T16:40:00.617Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-06-15T16:40:00.617Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-06-15T16:40:00.617Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-06-15T16:40:00.617Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.017s coverage: 52.6% of statements [2020-06-15T16:40:00.617Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-06-15T16:40:00.617Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.109s coverage: 68.9% of statements [2020-06-15T16:40:00.617Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-06-15T16:40:00.617Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-06-15T16:40:00.617Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-15T16:40:01.213Z] gofmt -l . [2020-06-15T16:40:01.484Z] [ "`gofmt -l .`" = "" ] [2020-06-15T16:40:01.484Z] ./bin/test-attribution-txt.sh [2020-06-15T16:40:02.457Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-06-15T16:40:03.104Z] Stashed 1 file(s) [Pipeline] } [2020-06-15T16:40:03.117Z] $ docker stop --time=1 e4504c6bfb04fd8b0960f044e7345f544b3628748c277e3ff0fc016ea62a978f [2020-06-15T16:40:04.690Z] $ docker rm -f e4504c6bfb04fd8b0960f044e7345f544b3628748c277e3ff0fc016ea62a978f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-15T16:40:06.675Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-15T16:40:06.994Z] + ls -al . [2020-06-15T16:40:06.994Z] total 184 [2020-06-15T16:40:06.994Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jun 15 16:40 . [2020-06-15T16:40:06.994Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 15 16:38 .. [2020-06-15T16:40:06.994Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 15 16:38 api [2020-06-15T16:40:06.994Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 15 16:38 bin [2020-06-15T16:40:06.994Z] -rw-r--r--. 1 jenkins jenkins 110877 Jun 15 16:39 coverage.out [2020-06-15T16:40:06.994Z] -rw-rw-r--. 1 jenkins jenkins 936 Jun 15 16:38 Dockerfile.build [2020-06-15T16:40:06.994Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 15 16:38 .dockerignore [2020-06-15T16:40:06.994Z] drwxrwxr-x. 4 jenkins jenkins 48 Jun 15 16:38 example [2020-06-15T16:40:06.994Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 15 16:38 .git [2020-06-15T16:40:06.994Z] drwxrwxr-x. 2 jenkins jenkins 38 Jun 15 16:38 .github [2020-06-15T16:40:06.994Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 15 16:38 .gitignore [2020-06-15T16:40:06.994Z] -rw-r--r--. 1 jenkins jenkins 446 Jun 15 16:40 go.mod [2020-06-15T16:40:06.994Z] -rw-r--r--. 1 jenkins jenkins 12179 Jun 15 16:40 go.sum [2020-06-15T16:40:06.994Z] drwxrwxr-x. 15 jenkins jenkins 217 Jun 15 16:38 internal [2020-06-15T16:40:06.994Z] -rw-rw-r--. 1 jenkins jenkins 808 Jun 15 16:38 Jenkinsfile [2020-06-15T16:40:06.994Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 15 16:38 LICENSE [2020-06-15T16:40:06.994Z] -rw-rw-r--. 1 jenkins jenkins 892 Jun 15 16:38 Makefile [2020-06-15T16:40:06.994Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 15 16:38 pkg [2020-06-15T16:40:06.994Z] -rw-rw-r--. 1 jenkins jenkins 5101 Jun 15 16:38 README.md [2020-06-15T16:40:06.994Z] -rw-rw-r--. 1 jenkins jenkins 3997 Jun 15 16:38 RELEASE-NOTES.txt [2020-06-15T16:40:06.994Z] drwxrwxr-x. 3 jenkins jenkins 58 Jun 15 16:38 .semver [2020-06-15T16:40:06.994Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 15 16:38 snap [2020-06-15T16:40:06.994Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 15 16:36 VERSION [2020-06-15T16:40:06.994Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 15 16:38 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-15T16:40:07.306Z] + 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=d265bc9988a2e59d89cea90aa11dca6eaae49714 --label arch=amd64 --label version=0.0.0 . [2020-06-15T16:40:07.568Z] Sending build context to Docker daemon 3.212MB [2020-06-15T16:40:07.568Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-06-15T16:40:07.568Z] Step 2/23 : FROM ${BASE} AS builder [2020-06-15T16:40:07.568Z] ---> 375fa07d76c9 [2020-06-15T16:40:07.568Z] Step 3/23 : ARG MAKE='make build' [2020-06-15T16:40:08.140Z] ---> Running in a7894d8fd768 [2020-06-15T16:40:08.140Z] Removing intermediate container a7894d8fd768 [2020-06-15T16:40:08.140Z] ---> cb50f44b2aa1 [2020-06-15T16:40:08.140Z] Step 4/23 : WORKDIR /device-sdk-go [2020-06-15T16:40:08.140Z] ---> Running in 4bb9272693b8 [2020-06-15T16:40:08.402Z] Removing intermediate container 4bb9272693b8 [2020-06-15T16:40:08.402Z] ---> cccce1e7960c [2020-06-15T16:40:08.402Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-15T16:40:08.402Z] ---> Running in 4255a6b19b79 [2020-06-15T16:40:08.668Z] Removing intermediate container 4255a6b19b79 [2020-06-15T16:40:08.668Z] ---> a957468d51ab [2020-06-15T16:40:08.668Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-15T16:40:08.668Z] ---> Running in 2f664f681c28 [2020-06-15T16:40:09.615Z] Removing intermediate container 2f664f681c28 [2020-06-15T16:40:09.615Z] ---> eca341b3f14f [2020-06-15T16:40:09.615Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-06-15T16:40:09.615Z] ---> Running in 3d04f523b26e [2020-06-15T16:40:10.190Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-15T16:40:11.150Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-15T16:40:11.411Z] OK: 143 MiB in 39 packages [2020-06-15T16:40:11.990Z] Removing intermediate container 3d04f523b26e [2020-06-15T16:40:11.990Z] ---> 16ddd819e1a0 [2020-06-15T16:40:11.990Z] Step 8/23 : COPY . . [2020-06-15T16:40:12.959Z] ---> 5f4934ad594c [2020-06-15T16:40:12.959Z] Step 9/23 : RUN ${MAKE} [2020-06-15T16:40:12.959Z] ---> Running in c05dd4c1c199 [2020-06-15T16:40:13.541Z] 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-06-15T16:40:14.332Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.060s coverage: 11.4% of statements [2020-06-15T16:40:14.332Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 21.7% of statements [2020-06-15T16:40:14.332Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-06-15T16:40:14.332Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.128s coverage: 36.9% of statements [2020-06-15T16:40:14.332Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-06-15T16:40:14.332Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-06-15T16:40:14.332Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.475s coverage: 65.2% of statements [2020-06-15T16:40:14.332Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-06-15T16:40:14.332Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-06-15T16:40:14.332Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-06-15T16:40:14.332Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements [2020-06-15T16:40:14.332Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-06-15T16:40:14.332Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.353s coverage: 68.9% of statements [2020-06-15T16:40:14.332Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-06-15T16:40:14.332Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-06-15T16:40:14.332Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-15T16:40:16.977Z] gofmt -l . [2020-06-15T16:40:16.977Z] [ "`gofmt -l .`" = "" ] [2020-06-15T16:40:17.252Z] ./bin/test-attribution-txt.sh [2020-06-15T16:40:17.851Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-06-15T16:40:18.474Z] Warning: overwriting stash ‘coverage-report’ [2020-06-15T16:40:18.955Z] Stashed 1 file(s) [Pipeline] } [2020-06-15T16:40:18.932Z] $ docker stop --time=1 f3de80c806533eca9c4339d62976247cc91932da1b18b3e90dd2cc60709cda6e [2020-06-15T16:40:21.059Z] $ docker rm -f f3de80c806533eca9c4339d62976247cc91932da1b18b3e90dd2cc60709cda6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-15T16:40:22.087Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-15T16:40:22.425Z] + ls -al . [2020-06-15T16:40:22.425Z] total 224 [2020-06-15T16:40:22.425Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 15 16:40 . [2020-06-15T16:40:22.425Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 16:37 .. [2020-06-15T16:40:22.425Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 15 16:37 .dockerignore [2020-06-15T16:40:22.425Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 15 16:38 .git [2020-06-15T16:40:22.425Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 16:37 .github [2020-06-15T16:40:22.425Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 15 16:37 .gitignore [2020-06-15T16:40:22.425Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 16:38 .semver [2020-06-15T16:40:22.425Z] -rw-rw-r-- 1 jenkins jenkins 936 Jun 15 16:37 Dockerfile.build [2020-06-15T16:40:22.425Z] -rw-rw-r-- 1 jenkins jenkins 808 Jun 15 16:37 Jenkinsfile [2020-06-15T16:40:22.425Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 15 16:37 LICENSE [2020-06-15T16:40:22.425Z] -rw-rw-r-- 1 jenkins jenkins 892 Jun 15 16:37 Makefile [2020-06-15T16:40:22.425Z] -rw-rw-r-- 1 jenkins jenkins 5101 Jun 15 16:37 README.md [2020-06-15T16:40:22.425Z] -rw-rw-r-- 1 jenkins jenkins 3997 Jun 15 16:37 RELEASE-NOTES.txt [2020-06-15T16:40:22.425Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 15 16:36 VERSION [2020-06-15T16:40:22.425Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 16:37 api [2020-06-15T16:40:22.425Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 16:37 bin [2020-06-15T16:40:22.425Z] -rw-r--r-- 1 jenkins jenkins 110877 Jun 15 16:40 coverage.out [2020-06-15T16:40:22.425Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 16:37 example [2020-06-15T16:40:22.425Z] -rw-r--r-- 1 jenkins jenkins 446 Jun 15 16:40 go.mod [2020-06-15T16:40:22.425Z] -rw-r--r-- 1 jenkins jenkins 12179 Jun 15 16:40 go.sum [2020-06-15T16:40:22.425Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 15 16:37 internal [2020-06-15T16:40:22.425Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 15 16:37 pkg [2020-06-15T16:40:22.425Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 16:37 snap [2020-06-15T16:40:22.425Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 15 16:37 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-15T16:40:22.773Z] + 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=d265bc9988a2e59d89cea90aa11dca6eaae49714 --label arch=arm64 --label version=0.0.0 . [2020-06-15T16:40:23.366Z] Sending build context to Docker daemon 3.214MB [2020-06-15T16:40:23.366Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-06-15T16:40:23.366Z] Step 2/23 : FROM ${BASE} AS builder [2020-06-15T16:40:23.366Z] ---> f3dbd1882857 [2020-06-15T16:40:23.366Z] Step 3/23 : ARG MAKE='make build' [2020-06-15T16:40:23.366Z] ---> Running in 787f64e4aec6 [2020-06-15T16:40:23.772Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-06-15T16:40:23.959Z] Removing intermediate container 787f64e4aec6 [2020-06-15T16:40:23.959Z] ---> 09be818383aa [2020-06-15T16:40:23.959Z] Step 4/23 : WORKDIR /device-sdk-go [2020-06-15T16:40:23.959Z] ---> Running in 78932f492e3a [2020-06-15T16:40:24.569Z] Removing intermediate container 78932f492e3a [2020-06-15T16:40:24.569Z] ---> 014e015a731e [2020-06-15T16:40:24.569Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-15T16:40:24.569Z] ---> Running in 7ff6093a9c2f [2020-06-15T16:40:24.719Z] Removing intermediate container c05dd4c1c199 [2020-06-15T16:40:24.719Z] ---> 9f36c7978c63 [2020-06-15T16:40:24.719Z] Step 10/23 : FROM scratch [2020-06-15T16:40:24.719Z] ---> [2020-06-15T16:40:24.719Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-15T16:40:24.988Z] ---> Running in 0cb308ca8aa3 [2020-06-15T16:40:24.988Z] Removing intermediate container 0cb308ca8aa3 [2020-06-15T16:40:24.988Z] ---> 88826d132f72 [2020-06-15T16:40:24.988Z] Step 12/23 : ENV APP_PORT=49990 [2020-06-15T16:40:24.988Z] ---> Running in 427e8674e184 [2020-06-15T16:40:25.166Z] Removing intermediate container 7ff6093a9c2f [2020-06-15T16:40:25.166Z] ---> df0381f0b318 [2020-06-15T16:40:25.166Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-15T16:40:25.166Z] ---> Running in 00004175a4d9 [2020-06-15T16:40:25.254Z] Removing intermediate container 427e8674e184 [2020-06-15T16:40:25.254Z] ---> e2a7419c45f6 [2020-06-15T16:40:25.254Z] Step 13/23 : EXPOSE $APP_PORT [2020-06-15T16:40:25.254Z] ---> Running in d34b432afa5c [2020-06-15T16:40:25.254Z] Removing intermediate container d34b432afa5c [2020-06-15T16:40:25.254Z] ---> 829ed0f41e68 [2020-06-15T16:40:25.254Z] Step 14/23 : WORKDIR / [2020-06-15T16:40:25.518Z] ---> Running in 5768a0a45cbe [2020-06-15T16:40:25.518Z] Removing intermediate container 5768a0a45cbe [2020-06-15T16:40:25.518Z] ---> e88d0eb54f4d [2020-06-15T16:40:25.518Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-06-15T16:40:26.097Z] ---> c7d31b05fb23 [2020-06-15T16:40:26.097Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-06-15T16:40:26.359Z] ---> e52fc45b850b [2020-06-15T16:40:26.359Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-06-15T16:40:26.622Z] ---> 2bc498a08ce6 [2020-06-15T16:40:26.622Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-06-15T16:40:26.883Z] ---> 03d02f6bde7a [2020-06-15T16:40:26.883Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-06-15T16:40:26.883Z] ---> c2d9406635d3 [2020-06-15T16:40:26.883Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-06-15T16:40:27.147Z] ---> Running in 238000fe8210 [2020-06-15T16:40:27.147Z] Removing intermediate container 238000fe8210 [2020-06-15T16:40:27.147Z] ---> 62c4ab35a2bc [2020-06-15T16:40:27.147Z] Step 21/23 : LABEL arch=amd64 [2020-06-15T16:40:27.147Z] ---> Running in 82633ca0a049 [2020-06-15T16:40:27.409Z] Removing intermediate container 82633ca0a049 [2020-06-15T16:40:27.409Z] ---> 4f0c77c0f1a9 [2020-06-15T16:40:27.409Z] Step 22/23 : LABEL git_sha=d265bc9988a2e59d89cea90aa11dca6eaae49714 [2020-06-15T16:40:27.409Z] ---> Running in 2db981be3982 [2020-06-15T16:40:27.679Z] Removing intermediate container 2db981be3982 [2020-06-15T16:40:27.679Z] ---> f284fa828643 [2020-06-15T16:40:27.679Z] Step 23/23 : LABEL version=0.0.0 [2020-06-15T16:40:27.679Z] ---> Running in 5f12076475ae [2020-06-15T16:40:27.679Z] Removing intermediate container 5f12076475ae [2020-06-15T16:40:27.679Z] ---> 7e783f8cc6b3 [2020-06-15T16:40:27.679Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-15T16:40:27.679Z] Successfully built 7e783f8cc6b3 [2020-06-15T16:40:27.786Z] Removing intermediate container 00004175a4d9 [2020-06-15T16:40:27.786Z] ---> 6d7a10e308c1 [2020-06-15T16:40:27.786Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-06-15T16:40:27.787Z] ---> Running in 0d3589ea6986 [2020-06-15T16:40:27.942Z] 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-06-15T16:40:29.221Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-15T16:40:30.193Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-15T16:40:30.787Z] OK: 125 MiB in 39 packages [2020-06-15T16:40:31.764Z] Removing intermediate container 0d3589ea6986 [2020-06-15T16:40:31.764Z] ---> 8a1470615add [2020-06-15T16:40:31.764Z] Step 8/23 : COPY . . [2020-06-15T16:40:33.200Z] ---> 9df52b1f2bb5 [2020-06-15T16:40:33.200Z] Step 9/23 : RUN ${MAKE} [2020-06-15T16:40:33.200Z] ---> Running in 31e935bb36ab [2020-06-15T16:40:34.638Z] 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-06-15T16:41:01.663Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-06-15T16:41:01.663Z] Removing intermediate container 31e935bb36ab [2020-06-15T16:41:01.663Z] ---> a511cfc6182b [2020-06-15T16:41:01.663Z] Step 10/23 : FROM scratch [2020-06-15T16:41:01.663Z] ---> [2020-06-15T16:41:01.663Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-15T16:41:01.663Z] ---> Running in dc8055e2aacc [2020-06-15T16:41:01.663Z] Removing intermediate container dc8055e2aacc [2020-06-15T16:41:01.663Z] ---> 71bd25d299f2 [2020-06-15T16:41:01.663Z] Step 12/23 : ENV APP_PORT=49990 [2020-06-15T16:41:01.938Z] ---> Running in b2f777d73c45 [2020-06-15T16:41:02.210Z] Removing intermediate container b2f777d73c45 [2020-06-15T16:41:02.210Z] ---> dc809df18136 [2020-06-15T16:41:02.210Z] Step 13/23 : EXPOSE $APP_PORT [2020-06-15T16:41:02.210Z] ---> Running in 42c278cc52e2 [2020-06-15T16:41:02.808Z] Removing intermediate container 42c278cc52e2 [2020-06-15T16:41:02.808Z] ---> 0f43cbea6788 [2020-06-15T16:41:02.808Z] Step 14/23 : WORKDIR / [2020-06-15T16:41:02.808Z] ---> Running in a044b27a89c4 [2020-06-15T16:41:03.407Z] Removing intermediate container a044b27a89c4 [2020-06-15T16:41:03.407Z] ---> f30e7fc25a57 [2020-06-15T16:41:03.407Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-06-15T16:41:04.397Z] ---> 9c3440eed24c [2020-06-15T16:41:04.397Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-06-15T16:41:05.382Z] ---> c053ccfd7943 [2020-06-15T16:41:05.382Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-06-15T16:41:05.978Z] ---> 1286a776f75a [2020-06-15T16:41:05.978Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-06-15T16:41:06.575Z] ---> 76031db4e139 [2020-06-15T16:41:06.575Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-06-15T16:41:07.168Z] ---> 44d20c290dc7 [2020-06-15T16:41:07.168Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-06-15T16:41:07.440Z] ---> Running in 58e88ed75af5 [2020-06-15T16:41:07.716Z] Removing intermediate container 58e88ed75af5 [2020-06-15T16:41:07.716Z] ---> c62d88b0b3b5 [2020-06-15T16:41:07.716Z] Step 21/23 : LABEL arch=arm64 [2020-06-15T16:41:07.716Z] ---> Running in d3ea13938073 [2020-06-15T16:41:08.309Z] Removing intermediate container d3ea13938073 [2020-06-15T16:41:08.309Z] ---> 478608565b52 [2020-06-15T16:41:08.309Z] Step 22/23 : LABEL git_sha=d265bc9988a2e59d89cea90aa11dca6eaae49714 [2020-06-15T16:41:08.309Z] ---> Running in 0b1aa549a21e [2020-06-15T16:41:08.904Z] Removing intermediate container 0b1aa549a21e [2020-06-15T16:41:08.904Z] ---> bc4798845869 [2020-06-15T16:41:08.904Z] Step 23/23 : LABEL version=0.0.0 [2020-06-15T16:41:08.904Z] ---> Running in 3c924ce1c7db [2020-06-15T16:41:09.497Z] Removing intermediate container 3c924ce1c7db [2020-06-15T16:41:09.497Z] ---> b448ad9d164f [2020-06-15T16:41:09.497Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-15T16:41:09.497Z] Successfully built b448ad9d164f [2020-06-15T16:41:09.497Z] 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-06-15T16:41:10.278Z] provisioning config files... [2020-06-15T16:41:10.292Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-539@tmp/config6434565177595558351tmp [Pipeline] { [Pipeline] sh [2020-06-15T16:41:10.607Z] + curl -s https://codecov.io/bash [2020-06-15T16:41:10.607Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-539@tmp/config6434565177595558351tmp [2020-06-15T16:41:10.867Z] [2020-06-15T16:41:10.867Z] _____ _ [2020-06-15T16:41:10.867Z] / ____| | | [2020-06-15T16:41:10.867Z] | | ___ __| | ___ ___ _____ __ [2020-06-15T16:41:10.867Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-06-15T16:41:10.867Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-06-15T16:41:10.867Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-06-15T16:41:10.867Z] Bash-20200602-f809a24 [2020-06-15T16:41:10.867Z] [2020-06-15T16:41:10.867Z] [2020-06-15T16:41:10.867Z] ==> Jenkins CI detected. [2020-06-15T16:41:10.867Z] project root: . [2020-06-15T16:41:10.867Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-06-15T16:41:10.867Z] ==> Running gcov in . (disable via -X gcov) [2020-06-15T16:41:10.867Z] ==> Python coveragepy not found [2020-06-15T16:41:10.867Z] ==> Searching for coverage reports in: [2020-06-15T16:41:10.867Z] + . [2020-06-15T16:41:10.867Z] -> Found 1 reports [2020-06-15T16:41:10.867Z] ==> Detecting git/mercurial file structure [2020-06-15T16:41:10.867Z] ==> Reading reports [2020-06-15T16:41:10.867Z] + ./coverage.out bytes=110877 [2020-06-15T16:41:10.867Z] ==> Appending adjustments [2020-06-15T16:41:10.867Z] https://docs.codecov.io/docs/fixing-reports [2020-06-15T16:41:11.127Z] + Found adjustments [2020-06-15T16:41:11.127Z] ==> Gzipping contents [2020-06-15T16:41:11.127Z] ==> Uploading reports [2020-06-15T16:41:11.127Z] url: https://codecov.io [2020-06-15T16:41:11.127Z] query: branch=PR-539&commit=d265bc9988a2e59d89cea90aa11dca6eaae49714&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-539%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=539&job= [2020-06-15T16:41:11.127Z] -> Pinging Codecov [2020-06-15T16:41:11.127Z] https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-539&commit=d265bc9988a2e59d89cea90aa11dca6eaae49714&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-539%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=539&job= [2020-06-15T16:41:11.703Z] -> Uploading [2020-06-15T16:41:11.964Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d265bc9988a2e59d89cea90aa11dca6eaae49714 [Pipeline] } [2020-06-15T16:41:11.972Z] 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-06-15T16:41:12.803Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-15T16:41:13.359Z] ---> package-listing.sh [2020-06-15T16:41:13.359Z] ++ facter osfamily [2020-06-15T16:41:13.359Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-15T16:41:13.359Z] + OS_FAMILY=redhat [2020-06-15T16:41:13.359Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-539 [2020-06-15T16:41:13.359Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-15T16:41:13.359Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-15T16:41:13.359Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-15T16:41:13.359Z] + PACKAGES=/tmp/packages_start.txt [2020-06-15T16:41:13.359Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-539 ']' [2020-06-15T16:41:13.359Z] + PACKAGES=/tmp/packages_end.txt [2020-06-15T16:41:13.359Z] + case "${OS_FAMILY}" in [2020-06-15T16:41:13.359Z] + rpm -qa [2020-06-15T16:41:13.359Z] + sort [2020-06-15T16:41:18.652Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-15T16:41:18.652Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-15T16:41:18.652Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-15T16:41:18.652Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-539 ']' [2020-06-15T16:41:18.652Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-539/archives/ [2020-06-15T16:41:18.652Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-539/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-15T16:41:19.276Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-15T16:41:19.276Z] [2020-06-15T16:41:19.276Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-15T16:41:19.607Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-15T16:41:19.607Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-15T16:41:19.607Z] c9b1b535fdd9: Pulling fs layer [2020-06-15T16:41:19.607Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-15T16:41:19.607Z] 756a868c4378: Pulling fs layer [2020-06-15T16:41:19.607Z] 444b2fc9a129: Pulling fs layer [2020-06-15T16:41:19.607Z] ea15f1150254: Pulling fs layer [2020-06-15T16:41:19.607Z] 41b27a9f41bf: Pulling fs layer [2020-06-15T16:41:19.607Z] 28c525ee5125: Pulling fs layer [2020-06-15T16:41:19.607Z] 094b1ea09ed8: Pulling fs layer [2020-06-15T16:41:19.607Z] 138eaada9080: Pulling fs layer [2020-06-15T16:41:19.607Z] 0622d0fa9048: Pulling fs layer [2020-06-15T16:41:19.607Z] 41b27a9f41bf: Waiting [2020-06-15T16:41:19.607Z] 28c525ee5125: Waiting [2020-06-15T16:41:19.607Z] 094b1ea09ed8: Waiting [2020-06-15T16:41:19.607Z] 138eaada9080: Waiting [2020-06-15T16:41:19.607Z] 0622d0fa9048: Waiting [2020-06-15T16:41:19.607Z] 444b2fc9a129: Waiting [2020-06-15T16:41:19.608Z] ea15f1150254: Waiting [2020-06-15T16:41:19.608Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-15T16:41:19.608Z] 2cc5ad85d9ab: Download complete [2020-06-15T16:41:19.608Z] 444b2fc9a129: Verifying Checksum [2020-06-15T16:41:19.608Z] 444b2fc9a129: Download complete [2020-06-15T16:41:19.608Z] c9b1b535fdd9: Verifying Checksum [2020-06-15T16:41:19.608Z] ea15f1150254: Verifying Checksum [2020-06-15T16:41:19.608Z] ea15f1150254: Download complete [2020-06-15T16:41:19.608Z] 28c525ee5125: Verifying Checksum [2020-06-15T16:41:19.608Z] 28c525ee5125: Download complete [2020-06-15T16:41:19.887Z] 756a868c4378: Download complete [2020-06-15T16:41:20.152Z] c9b1b535fdd9: Pull complete [2020-06-15T16:41:20.152Z] 138eaada9080: Verifying Checksum [2020-06-15T16:41:20.152Z] 138eaada9080: Download complete [2020-06-15T16:41:20.152Z] 0622d0fa9048: Verifying Checksum [2020-06-15T16:41:20.152Z] 0622d0fa9048: Download complete [2020-06-15T16:41:20.152Z] 094b1ea09ed8: Verifying Checksum [2020-06-15T16:41:20.152Z] 094b1ea09ed8: Download complete [2020-06-15T16:41:20.152Z] 2cc5ad85d9ab: Pull complete [2020-06-15T16:41:20.727Z] 41b27a9f41bf: Verifying Checksum [2020-06-15T16:41:20.727Z] 41b27a9f41bf: Download complete [2020-06-15T16:41:21.685Z] 756a868c4378: Pull complete [2020-06-15T16:41:21.946Z] 444b2fc9a129: Pull complete [2020-06-15T16:41:21.946Z] ea15f1150254: Pull complete [2020-06-15T16:41:26.171Z] 41b27a9f41bf: Pull complete [2020-06-15T16:41:26.171Z] 28c525ee5125: Pull complete [2020-06-15T16:41:28.718Z] 094b1ea09ed8: Pull complete [2020-06-15T16:41:28.718Z] 138eaada9080: Pull complete [2020-06-15T16:41:28.718Z] 0622d0fa9048: Pull complete [2020-06-15T16:41:28.718Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-15T16:41:28.718Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-15T16:41:28.718Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-15T16:41:28.850Z] prd-centos7-docker-4c-2g-3053 does not seem to be running inside a container [2020-06-15T16:41:28.889Z] $ 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-539 -v /w/workspace/dgexfoundry_device-sdk-go_PR-539:/w/workspace/dgexfoundry_device-sdk-go_PR-539:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-539@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-539@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:10003/edgex-lftools-log-publisher:alpine cat [2020-06-15T16:41:32.230Z] $ docker top 8c4ace1725f46e04a3efda03634010a821637dc2872f592d53fefe849aacbb16 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-15T16:41:32.386Z] provisioning config files... [2020-06-15T16:41:32.399Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-539@tmp/config3935368068439375105tmp [Pipeline] { [Pipeline] echo [2020-06-15T16:41:32.425Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-15T16:41:32.719Z] ---> create-netrc.sh [Pipeline] echo [2020-06-15T16:41:32.729Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-15T16:41:33.038Z] ---> logs-deploy.sh [2020-06-15T16:41:33.038Z] + ARCHIVE_ARTIFACTS= [2020-06-15T16:41:33.038Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-15T16:41:33.038Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-15T16:41:33.038Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-15T16:41:33.038Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-539/2 [2020-06-15T16:41:33.038Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-539/2/ [2020-06-15T16:41:33.038Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-539/2 /w/workspace/dgexfoundry_device-sdk-go_PR-539 [2020-06-15T16:41:34.949Z] Archives upload complete. [2020-06-15T16:41:34.949Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-539/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-539/2/