Pull request #538 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 charles-knox-intel for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 985ee55f1dbea419f17ca15057a817658179b0bb rather than fad4e385897c94649c4104a3ed54995225ff8978 Obtained Jenkinsfile from 985ee55f1dbea419f17ca15057a817658179b0bb Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-538/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3023 in /w/workspace/dgexfoundry_device-sdk-go_PR-538 [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-538 # 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/538/head:refs/remotes/origin/PR-538 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/538/head:refs/remotes/origin/PR-538 # 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 Merging remotes/origin/master commit 985ee55f1dbea419f17ca15057a817658179b0bb into PR head commit fad4e385897c94649c4104a3ed54995225ff8978 Merge succeeded, producing fad4e385897c94649c4104a3ed54995225ff8978 Checking out Revision fad4e385897c94649c4104a3ed54995225ff8978 (PR-538) > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/538/head:refs/remotes/origin/PR-538 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fad4e385897c94649c4104a3ed54995225ff8978 # 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 fad4e385897c94649c4104a3ed54995225ff8978 # timeout=10 Commit message: "docs(README.md): lint; clarity for readers" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-15T15:19:11.182Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-15T15:19:11.410Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-15T15:19:11.515Z] ========================================================= [2020-06-15T15:19:11.515Z] EdgeX Global Pipelines Version Info [2020-06-15T15:19:11.515Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-15T15:19:13.420Z] ------------------- [2020-06-15T15:19:13.420Z] stable info: [2020-06-15T15:19:13.420Z] ------------------- [2020-06-15T15:19:13.421Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-15T15:19:13.421Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-15T15:19:13.421Z] Message: update stable to v1.0.89 [2020-06-15T15:19:13.995Z] ------------------- [2020-06-15T15:19:13.995Z] experimental info: [2020-06-15T15:19:13.995Z] ------------------- [2020-06-15T15:19:13.995Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-15T15:19:13.995Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-15T15:19:13.995Z] 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-15T15:19:15.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-15T15:19:16.169Z] [2020-06-15T15:19:16.169Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-15T15:19:16.635Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-15T15:19:16.635Z] latest: Pulling from edgex-devops/git-semver [2020-06-15T15:19:16.635Z] 9123ac7c32f7: Pulling fs layer [2020-06-15T15:19:16.635Z] b8cc5d1170e3: Pulling fs layer [2020-06-15T15:19:16.635Z] 2924cbbf6a41: Pulling fs layer [2020-06-15T15:19:16.635Z] 93b08a4f1073: Pulling fs layer [2020-06-15T15:19:16.635Z] b8cc5d1170e3: Verifying Checksum [2020-06-15T15:19:16.635Z] b8cc5d1170e3: Download complete [2020-06-15T15:19:16.635Z] 9123ac7c32f7: Verifying Checksum [2020-06-15T15:19:16.635Z] 9123ac7c32f7: Download complete [2020-06-15T15:19:16.899Z] 93b08a4f1073: Verifying Checksum [2020-06-15T15:19:16.899Z] 93b08a4f1073: Download complete [2020-06-15T15:19:16.899Z] 2924cbbf6a41: Verifying Checksum [2020-06-15T15:19:16.899Z] 2924cbbf6a41: Download complete [2020-06-15T15:19:17.160Z] 9123ac7c32f7: Pull complete [2020-06-15T15:19:17.160Z] b8cc5d1170e3: Pull complete [2020-06-15T15:19:18.112Z] 2924cbbf6a41: Pull complete [2020-06-15T15:19:18.379Z] 93b08a4f1073: Pull complete [2020-06-15T15:19:18.379Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-15T15:19:18.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-15T15:19:18.379Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-15T15:19:18.510Z] prd-centos7-docker-4c-2g-3023 does not seem to be running inside a container [2020-06-15T15:19:18.570Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-538 -v /w/workspace/dgexfoundry_device-sdk-go_PR-538:/w/workspace/dgexfoundry_device-sdk-go_PR-538:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-538@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-538@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-06-15T15:19:20.757Z] $ docker top f9bc1e03333e768d7ded928cbfeca664da0a640be583ce484b660831db4bb492 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-15T15:19:21.020Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-15T15:19:21.020Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-15T15:19:21.252Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-15T15:19:21.263Z] $ docker exec f9bc1e03333e768d7ded928cbfeca664da0a640be583ce484b660831db4bb492 ssh-agent [2020-06-15T15:19:21.425Z] SSH_AUTH_SOCK=/tmp/ssh-8rZdPR4qLUDV/agent.11 [2020-06-15T15:19:21.425Z] SSH_AGENT_PID=16 [2020-06-15T15:19:21.435Z] Running ssh-add (command line suppressed) [2020-06-15T15:19:21.562Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-538@tmp/private_key_899291745553921784.key (/w/workspace/dgexfoundry_device-sdk-go_PR-538@tmp/private_key_899291745553921784.key) [2020-06-15T15:19:21.613Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-15T15:19:21.964Z] + git describe --exact-match --tags HEAD [2020-06-15T15:19:21.964Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-15T15:19:22.104Z] $ docker exec --env ******** --env ******** f9bc1e03333e768d7ded928cbfeca664da0a640be583ce484b660831db4bb492 ssh-agent -k [2020-06-15T15:19:22.246Z] unset SSH_AUTH_SOCK; [2020-06-15T15:19:22.246Z] unset SSH_AGENT_PID; [2020-06-15T15:19:22.247Z] echo Agent pid 16 killed; [2020-06-15T15:19:22.284Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-15T15:19:22.388Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-15T15:19:22.388Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-15T15:19:22.456Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-15T15:19:22.457Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-15T15:19:22.639Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-15T15:19:22.648Z] $ docker exec f9bc1e03333e768d7ded928cbfeca664da0a640be583ce484b660831db4bb492 ssh-agent [2020-06-15T15:19:22.802Z] SSH_AUTH_SOCK=/tmp/ssh-Hnx9sA5EEjIX/agent.45 [2020-06-15T15:19:22.802Z] SSH_AGENT_PID=50 [2020-06-15T15:19:22.809Z] Running ssh-add (command line suppressed) [2020-06-15T15:19:22.929Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-538@tmp/private_key_455183535105647227.key (/w/workspace/dgexfoundry_device-sdk-go_PR-538@tmp/private_key_455183535105647227.key) [2020-06-15T15:19:22.973Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-15T15:19:23.312Z] + git semver init [2020-06-15T15:19:23.312Z] # -> Open(): unable to determine branch for HEAD [2020-06-15T15:19:23.312Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-538/.git [2020-06-15T15:19:23.312Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-538 [2020-06-15T15:19:23.312Z] # $SEMVER_REMOTE_NAME = origin [2020-06-15T15:19:23.312Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-15T15:19:23.312Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-15T15:19:23.312Z] # $SEMVER_BRANCH = PR-538 [2020-06-15T15:19:23.312Z] # $SEMVER_TEMP = /tmp/semver-790379743 [2020-06-15T15:19:23.312Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-06-15T15:19:23.888Z] # '/tmp/semver-790379743' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-538/.semver' [2020-06-15T15:19:23.888Z] # -> Force: false [2020-06-15T15:19:23.888Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-538/.semver [Pipeline] } [2020-06-15T15:19:23.914Z] $ docker exec --env ******** --env ******** f9bc1e03333e768d7ded928cbfeca664da0a640be583ce484b660831db4bb492 ssh-agent -k [2020-06-15T15:19:24.031Z] unset SSH_AUTH_SOCK; [2020-06-15T15:19:24.032Z] unset SSH_AGENT_PID; [2020-06-15T15:19:24.032Z] echo Agent pid 50 killed; [2020-06-15T15:19:24.080Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-15T15:19:24.542Z] + git semver [Pipeline] } [2020-06-15T15:19:24.575Z] $ docker stop --time=1 f9bc1e03333e768d7ded928cbfeca664da0a640be583ce484b660831db4bb492 [2020-06-15T15:19:26.074Z] $ docker rm -f f9bc1e03333e768d7ded928cbfeca664da0a640be583ce484b660831db4bb492 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-15T15:19:26.869Z] Stashed 69 file(s) [Pipeline] echo [2020-06-15T15:19:26.888Z] [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-15T15:19:42.269Z] Still waiting to schedule task [2020-06-15T15:19:42.269Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3023’ [2020-06-15T15:19:42.288Z] Still waiting to schedule task [2020-06-15T15:19:42.288Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ is offline [2020-06-15T15:21:32.982Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3024 in /w/workspace/dgexfoundry_device-sdk-go_PR-538 [Pipeline] { [Pipeline] ws [2020-06-15T15:21:33.037Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-06-15T15:21:38.475Z] using credential edgex-jenkins-ssh [2020-06-15T15:21:38.509Z] Cloning the remote Git repository [2020-06-15T15:21:38.509Z] Cloning with configured refspecs honoured and without tags [2020-06-15T15:21:38.545Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-06-15T15:21:38.653Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-06-15T15:21:39.833Z] Fetching without tags [2020-06-15T15:21:38.721Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-15T15:21:38.722Z] > git --version # timeout=10 [2020-06-15T15:21:38.746Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T15:21:38.798Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/538/head:refs/remotes/origin/PR-538 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T15:21:39.726Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-15T15:21:39.746Z] > git config --add remote.origin.fetch +refs/pull/538/head:refs/remotes/origin/PR-538 # timeout=10 [2020-06-15T15:21:39.763Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T15:21:39.792Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-15T15:21:39.820Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-15T15:21:39.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T15:21:39.831Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/538/head:refs/remotes/origin/PR-538 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T15:21:40.318Z] Merging remotes/origin/master commit 985ee55f1dbea419f17ca15057a817658179b0bb into PR head commit fad4e385897c94649c4104a3ed54995225ff8978 [2020-06-15T15:21:40.586Z] Merge succeeded, producing fad4e385897c94649c4104a3ed54995225ff8978 [2020-06-15T15:21:40.587Z] Checking out Revision fad4e385897c94649c4104a3ed54995225ff8978 (PR-538) [2020-06-15T15:21:40.315Z] > git config core.sparsecheckout # timeout=10 [2020-06-15T15:21:40.334Z] > git checkout -f fad4e385897c94649c4104a3ed54995225ff8978 # timeout=10 [2020-06-15T15:21:40.435Z] > git remote # timeout=10 [2020-06-15T15:21:40.450Z] > git config --get remote.origin.url # timeout=10 [2020-06-15T15:21:40.462Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T15:21:40.473Z] > git merge 985ee55f1dbea419f17ca15057a817658179b0bb # timeout=10 [2020-06-15T15:21:40.535Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-15T15:21:40.570Z] > git config core.sparsecheckout # timeout=10 [2020-06-15T15:21:40.597Z] > git checkout -f fad4e385897c94649c4104a3ed54995225ff8978 # timeout=10 [2020-06-15T15:21:45.112Z] Commit message: "docs(README.md): lint; clarity for readers" [2020-06-15T15:21:45.145Z] > git --version # timeout=10 [2020-06-15T15:21:45.166Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-15T15:21:46.570Z] ========================================================= [2020-06-15T15:21:46.570Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-06-15T15:21:46.570Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-15T15:21:47.622Z] + 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-15T15:21:48.609Z] Sending build context to Docker daemon 3.086MB [2020-06-15T15:21:48.609Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-06-15T15:21:48.609Z] Step 2/8 : FROM ${BASE} [2020-06-15T15:21:48.887Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-06-15T15:21:48.887Z] cde5963f3b93: Pulling fs layer [2020-06-15T15:21:48.887Z] 2a23fa8c16f7: Pulling fs layer [2020-06-15T15:21:48.887Z] 777b28850792: Pulling fs layer [2020-06-15T15:21:48.887Z] 8a11ddd9e578: Pulling fs layer [2020-06-15T15:21:48.887Z] 4cf88f913ddb: Pulling fs layer [2020-06-15T15:21:48.887Z] 1df406cf5192: Pulling fs layer [2020-06-15T15:21:48.887Z] cd6300453558: Pulling fs layer [2020-06-15T15:21:48.887Z] b9c365052c96: Pulling fs layer [2020-06-15T15:21:48.887Z] a2d8cc88f415: Pulling fs layer [2020-06-15T15:21:48.887Z] ea1d1ca13537: Pulling fs layer [2020-06-15T15:21:48.887Z] 3750a50a1c5e: Pulling fs layer [2020-06-15T15:21:48.887Z] 8a11ddd9e578: Waiting [2020-06-15T15:21:48.887Z] b9c365052c96: Waiting [2020-06-15T15:21:48.887Z] cd6300453558: Waiting [2020-06-15T15:21:48.887Z] a2d8cc88f415: Waiting [2020-06-15T15:21:48.887Z] ea1d1ca13537: Waiting [2020-06-15T15:21:48.887Z] 1df406cf5192: Waiting [2020-06-15T15:21:48.887Z] 3750a50a1c5e: Waiting [2020-06-15T15:21:48.887Z] 4cf88f913ddb: Waiting [2020-06-15T15:21:48.887Z] 777b28850792: Verifying Checksum [2020-06-15T15:21:48.887Z] 777b28850792: Download complete [2020-06-15T15:21:48.887Z] 2a23fa8c16f7: Verifying Checksum [2020-06-15T15:21:48.887Z] 2a23fa8c16f7: Download complete [2020-06-15T15:21:48.887Z] 4cf88f913ddb: Verifying Checksum [2020-06-15T15:21:48.887Z] 4cf88f913ddb: Download complete [2020-06-15T15:21:48.887Z] 1df406cf5192: Verifying Checksum [2020-06-15T15:21:48.887Z] 1df406cf5192: Download complete [2020-06-15T15:21:48.887Z] cde5963f3b93: Verifying Checksum [2020-06-15T15:21:48.887Z] cde5963f3b93: Download complete [2020-06-15T15:21:49.883Z] cde5963f3b93: Pull complete [2020-06-15T15:21:50.487Z] 2a23fa8c16f7: Pull complete [2020-06-15T15:21:50.758Z] 777b28850792: Pull complete [2020-06-15T15:21:51.364Z] cd6300453558: Verifying Checksum [2020-06-15T15:21:51.364Z] cd6300453558: Download complete [2020-06-15T15:21:51.364Z] a2d8cc88f415: Verifying Checksum [2020-06-15T15:21:51.364Z] a2d8cc88f415: Download complete [2020-06-15T15:21:52.345Z] ea1d1ca13537: Verifying Checksum [2020-06-15T15:21:52.345Z] ea1d1ca13537: Download complete [2020-06-15T15:21:52.622Z] 3750a50a1c5e: Verifying Checksum [2020-06-15T15:21:52.622Z] 3750a50a1c5e: Download complete [2020-06-15T15:21:53.225Z] b9c365052c96: Verifying Checksum [2020-06-15T15:21:53.225Z] b9c365052c96: Download complete [2020-06-15T15:21:54.665Z] 8a11ddd9e578: Verifying Checksum [2020-06-15T15:21:54.665Z] 8a11ddd9e578: Download complete [2020-06-15T15:22:07.079Z] 8a11ddd9e578: Pull complete [2020-06-15T15:22:07.079Z] 4cf88f913ddb: Pull complete [2020-06-15T15:22:07.079Z] 1df406cf5192: Pull complete [2020-06-15T15:22:11.402Z] cd6300453558: Pull complete [2020-06-15T15:22:15.736Z] b9c365052c96: Pull complete [2020-06-15T15:22:15.736Z] a2d8cc88f415: Pull complete [2020-06-15T15:22:17.057Z] Running on prd-centos7-docker-4c-2g-3025 in /w/workspace/dgexfoundry_device-sdk-go_PR-538 [Pipeline] { [Pipeline] ws [2020-06-15T15:22:17.112Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-06-15T15:22:17.746Z] ea1d1ca13537: Pull complete [2020-06-15T15:22:18.346Z] 3750a50a1c5e: Pull complete [2020-06-15T15:22:18.346Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-06-15T15:22:18.346Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-06-15T15:22:18.346Z] ---> 78745c68409d [2020-06-15T15:22:18.346Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-15T15:22:19.982Z] using credential edgex-jenkins-ssh [2020-06-15T15:22:20.009Z] Cloning the remote Git repository [2020-06-15T15:22:20.009Z] Cloning with configured refspecs honoured and without tags [2020-06-15T15:22:20.034Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-06-15T15:22:20.099Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-06-15T15:22:20.142Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-15T15:22:20.143Z] > git --version # timeout=10 [2020-06-15T15:22:20.148Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T15:22:20.174Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/538/head:refs/remotes/origin/PR-538 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T15:22:20.724Z] Fetching without tags [2020-06-15T15:22:21.191Z] Merging remotes/origin/master commit 985ee55f1dbea419f17ca15057a817658179b0bb into PR head commit fad4e385897c94649c4104a3ed54995225ff8978 [2020-06-15T15:22:21.275Z] Merge succeeded, producing fad4e385897c94649c4104a3ed54995225ff8978 [2020-06-15T15:22:21.275Z] Checking out Revision fad4e385897c94649c4104a3ed54995225ff8978 (PR-538) [2020-06-15T15:22:20.697Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-15T15:22:20.701Z] > git config --add remote.origin.fetch +refs/pull/538/head:refs/remotes/origin/PR-538 # timeout=10 [2020-06-15T15:22:20.710Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T15:22:20.721Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-15T15:22:20.730Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-15T15:22:20.730Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T15:22:20.734Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/538/head:refs/remotes/origin/PR-538 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-15T15:22:21.200Z] > git config core.sparsecheckout # timeout=10 [2020-06-15T15:22:21.205Z] > git checkout -f fad4e385897c94649c4104a3ed54995225ff8978 # timeout=10 [2020-06-15T15:22:21.248Z] > git remote # timeout=10 [2020-06-15T15:22:21.252Z] > git config --get remote.origin.url # timeout=10 [2020-06-15T15:22:21.257Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-15T15:22:21.261Z] > git merge 985ee55f1dbea419f17ca15057a817658179b0bb # timeout=10 [2020-06-15T15:22:21.271Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-15T15:22:21.280Z] > git config core.sparsecheckout # timeout=10 [2020-06-15T15:22:21.285Z] > git checkout -f fad4e385897c94649c4104a3ed54995225ff8978 # timeout=10 [2020-06-15T15:22:22.678Z] ---> Running in e8218507c73f [2020-06-15T15:22:23.271Z] Removing intermediate container e8218507c73f [2020-06-15T15:22:23.271Z] ---> 063066a1cfae [2020-06-15T15:22:23.271Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-15T15:22:23.271Z] ---> Running in cb89387fe4a8 [2020-06-15T15:22:24.886Z] Commit message: "docs(README.md): lint; clarity for readers" [2020-06-15T15:22:24.911Z] > git --version # timeout=10 [2020-06-15T15:22:24.922Z] fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-15T15:22:25.861Z] ========================================================= [2020-06-15T15:22:25.861Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-06-15T15:22:25.861Z] ========================================================= [2020-06-15T15:22:25.896Z] Removing intermediate container cb89387fe4a8 [2020-06-15T15:22:25.896Z] ---> 7b4407ddf3a4 [2020-06-15T15:22:25.896Z] Step 5/8 : RUN apk add --no-cache make git [2020-06-15T15:22:25.896Z] ---> Running in 9f121558e6d5 [Pipeline] isUnix [Pipeline] sh [2020-06-15T15:22:26.515Z] + 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-15T15:22:26.779Z] Sending build context to Docker daemon 3.084MB [2020-06-15T15:22:26.779Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-06-15T15:22:26.779Z] Step 2/8 : FROM ${BASE} [2020-06-15T15:22:27.050Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-06-15T15:22:27.050Z] e6b0cf9c0882: Pulling fs layer [2020-06-15T15:22:27.050Z] 2848faf0eed1: Pulling fs layer [2020-06-15T15:22:27.050Z] 0f37312ad70f: Pulling fs layer [2020-06-15T15:22:27.050Z] 5788d62ee057: Pulling fs layer [2020-06-15T15:22:27.050Z] 0e6b1d234666: Pulling fs layer [2020-06-15T15:22:27.050Z] bf5d7aec512f: Pulling fs layer [2020-06-15T15:22:27.050Z] 34c802a77dc8: Pulling fs layer [2020-06-15T15:22:27.050Z] 9eb99e56ec68: Pulling fs layer [2020-06-15T15:22:27.050Z] 27c7a5d97fbd: Pulling fs layer [2020-06-15T15:22:27.050Z] 5c102a31e300: Pulling fs layer [2020-06-15T15:22:27.050Z] dcfb455df0a1: Pulling fs layer [2020-06-15T15:22:27.050Z] 34c802a77dc8: Waiting [2020-06-15T15:22:27.050Z] 9eb99e56ec68: Waiting [2020-06-15T15:22:27.050Z] 27c7a5d97fbd: Waiting [2020-06-15T15:22:27.050Z] 5c102a31e300: Waiting [2020-06-15T15:22:27.050Z] dcfb455df0a1: Waiting [2020-06-15T15:22:27.050Z] 5788d62ee057: Waiting [2020-06-15T15:22:27.050Z] 0e6b1d234666: Waiting [2020-06-15T15:22:27.050Z] bf5d7aec512f: Waiting [2020-06-15T15:22:27.050Z] 0f37312ad70f: Download complete [2020-06-15T15:22:27.050Z] 2848faf0eed1: Download complete [2020-06-15T15:22:27.050Z] 0e6b1d234666: Verifying Checksum [2020-06-15T15:22:27.050Z] 0e6b1d234666: Download complete [2020-06-15T15:22:27.050Z] bf5d7aec512f: Verifying Checksum [2020-06-15T15:22:27.050Z] bf5d7aec512f: Download complete [2020-06-15T15:22:27.050Z] e6b0cf9c0882: Verifying Checksum [2020-06-15T15:22:27.050Z] e6b0cf9c0882: Download complete [2020-06-15T15:22:27.320Z] e6b0cf9c0882: Pull complete [2020-06-15T15:22:27.350Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-15T15:22:27.593Z] 2848faf0eed1: Pull complete [2020-06-15T15:22:27.859Z] 34c802a77dc8: Verifying Checksum [2020-06-15T15:22:27.859Z] 34c802a77dc8: Download complete [2020-06-15T15:22:27.859Z] 27c7a5d97fbd: Verifying Checksum [2020-06-15T15:22:27.859Z] 27c7a5d97fbd: Download complete [2020-06-15T15:22:28.345Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-15T15:22:28.454Z] 5788d62ee057: Verifying Checksum [2020-06-15T15:22:28.454Z] 5788d62ee057: Download complete [2020-06-15T15:22:28.454Z] dcfb455df0a1: Verifying Checksum [2020-06-15T15:22:28.454Z] dcfb455df0a1: Download complete [2020-06-15T15:22:28.454Z] 9eb99e56ec68: Verifying Checksum [2020-06-15T15:22:28.454Z] 9eb99e56ec68: Download complete [2020-06-15T15:22:28.620Z] OK: 125 MiB in 39 packages [2020-06-15T15:22:28.716Z] 5c102a31e300: Verifying Checksum [2020-06-15T15:22:28.716Z] 5c102a31e300: Download complete [2020-06-15T15:22:29.674Z] 0f37312ad70f: Pull complete [2020-06-15T15:22:30.054Z] Removing intermediate container 9f121558e6d5 [2020-06-15T15:22:30.054Z] ---> a22d1cac01ec [2020-06-15T15:22:30.054Z] Step 6/8 : WORKDIR /device-sdk-go [2020-06-15T15:22:30.054Z] ---> Running in 9e7f50c62763 [2020-06-15T15:22:30.328Z] Removing intermediate container 9e7f50c62763 [2020-06-15T15:22:30.328Z] ---> 1052ea7191fe [2020-06-15T15:22:30.328Z] Step 7/8 : COPY . . [2020-06-15T15:22:31.760Z] ---> 4aabf8257b68 [2020-06-15T15:22:31.760Z] Step 8/8 : RUN go mod download [2020-06-15T15:22:32.039Z] ---> Running in c3c010837d49 [2020-06-15T15:22:34.996Z] 5788d62ee057: Pull complete [2020-06-15T15:22:34.996Z] 0e6b1d234666: Pull complete [2020-06-15T15:22:34.996Z] bf5d7aec512f: Pull complete [2020-06-15T15:22:35.427Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-15T15:22:35.427Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-15T15:22:35.698Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-15T15:22:35.698Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-15T15:22:35.698Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-15T15:22:35.698Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-15T15:22:35.698Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-15T15:22:35.698Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-15T15:22:35.698Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-15T15:22:35.698Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-15T15:22:35.698Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-15T15:22:35.968Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-15T15:22:35.968Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-15T15:22:35.968Z] go: finding github.com/fatih/color v1.7.0 [2020-06-15T15:22:35.968Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-15T15:22:35.968Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-15T15:22:35.968Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-15T15:22:35.968Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-15T15:22:35.968Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-15T15:22:35.968Z] go: finding github.com/google/uuid v1.1.0 [2020-06-15T15:22:36.240Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-15T15:22:36.240Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-15T15:22:36.240Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-15T15:22:36.240Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-15T15:22:36.240Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-15T15:22:36.240Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-15T15:22:36.240Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-15T15:22:36.240Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-15T15:22:36.240Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-15T15:22:36.240Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-15T15:22:36.240Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-15T15:22:36.240Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-15T15:22:36.240Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-15T15:22:36.512Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-15T15:22:36.512Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-15T15:22:36.512Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-15T15:22:36.512Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-15T15:22:36.512Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-15T15:22:36.512Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-15T15:22:36.512Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-15T15:22:36.512Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-15T15:22:36.512Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-15T15:22:36.512Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-15T15:22:36.512Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-15T15:22:36.783Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-15T15:22:36.783Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-15T15:22:36.783Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-15T15:22:36.783Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-15T15:22:36.783Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-15T15:22:36.783Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-15T15:22:36.783Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-15T15:22:36.783Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-15T15:22:36.783Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-15T15:22:36.783Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-15T15:22:36.783Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-15T15:22:36.783Z] go: finding github.com/posener/complete v1.1.1 [2020-06-15T15:22:36.784Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-15T15:22:36.784Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-15T15:22:36.784Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-15T15:22:36.784Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-15T15:22:36.784Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-15T15:22:36.784Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-15T15:22:37.057Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-15T15:22:37.057Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-15T15:22:37.057Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-15T15:22:37.057Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-15T15:22:37.057Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-15T15:22:37.057Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-15T15:22:43.148Z] 34c802a77dc8: Pull complete [2020-06-15T15:22:45.082Z] 9eb99e56ec68: Pull complete [2020-06-15T15:22:45.082Z] 27c7a5d97fbd: Pull complete [2020-06-15T15:22:46.029Z] 5c102a31e300: Pull complete [2020-06-15T15:22:46.029Z] dcfb455df0a1: Pull complete [2020-06-15T15:22:46.029Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-06-15T15:22:46.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-06-15T15:22:46.295Z] ---> 7c70fe431013 [2020-06-15T15:22:46.295Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-15T15:22:46.871Z] ---> Running in 339d5bdba7e8 [2020-06-15T15:22:46.871Z] Removing intermediate container 339d5bdba7e8 [2020-06-15T15:22:46.871Z] ---> 60fae3ae84c4 [2020-06-15T15:22:46.871Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-15T15:22:46.871Z] ---> Running in da94fbd73a83 [2020-06-15T15:22:47.199Z] Removing intermediate container c3c010837d49 [2020-06-15T15:22:47.199Z] ---> 6e16941d72b1 [2020-06-15T15:22:47.199Z] Successfully built 6e16941d72b1 [2020-06-15T15:22:47.199Z] 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-15T15:22:47.959Z] + docker inspect -f . ci-base-image-arm64 [2020-06-15T15:22:47.959Z] . [Pipeline] withDockerContainer [2020-06-15T15:22:48.208Z] prd-ubuntu18.04-docker-arm64-4c-16g-3024 does not seem to be running inside a container [2020-06-15T15:22:48.261Z] $ 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-06-15T15:22:48.811Z] Removing intermediate container da94fbd73a83 [2020-06-15T15:22:48.811Z] ---> 4c2a02ca9d1e [2020-06-15T15:22:48.811Z] Step 5/8 : RUN apk add --no-cache make git [2020-06-15T15:22:48.811Z] ---> Running in 990d0aaa5b0a [2020-06-15T15:22:49.072Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-15T15:22:49.980Z] $ docker top 80b9cd22226d2867637b807334fc1131dfec5e49de0859b958c66a175a85650f -eo pid,comm [2020-06-15T15:22:50.019Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-15T15:22:50.283Z] OK: 143 MiB in 39 packages [Pipeline] { [Pipeline] sh [2020-06-15T15:22:50.547Z] Removing intermediate container 990d0aaa5b0a [2020-06-15T15:22:50.547Z] ---> bbcda4a2378b [2020-06-15T15:22:50.547Z] Step 6/8 : WORKDIR /device-sdk-go [2020-06-15T15:22:50.810Z] ---> Running in fb94c8a0a625 [2020-06-15T15:22:50.810Z] Removing intermediate container fb94c8a0a625 [2020-06-15T15:22:50.810Z] ---> 6fbe9caac6f6 [2020-06-15T15:22:50.810Z] Step 7/8 : COPY . . [2020-06-15T15:22:51.449Z] + go version [2020-06-15T15:22:51.450Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-06-15T15:22:52.197Z] ---> 11386ac6920d [2020-06-15T15:22:52.197Z] Step 8/8 : RUN go mod download [2020-06-15T15:22:52.197Z] ---> Running in 0b41c28c447d [2020-06-15T15:22:52.502Z] + make test [2020-06-15T15:22:52.502Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-15T15:22:53.480Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-06-15T15:22:53.582Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-15T15:22:53.582Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-15T15:22:53.582Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-15T15:22:53.582Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-15T15:22:53.582Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-15T15:22:53.582Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-15T15:22:53.582Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-15T15:22:53.582Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-15T15:22:53.582Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-15T15:22:53.582Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-15T15:22:53.582Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-15T15:22:53.582Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-15T15:22:53.582Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-15T15:22:53.582Z] go: finding github.com/fatih/color v1.7.0 [2020-06-15T15:22:53.582Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-15T15:22:53.582Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-15T15:22:53.582Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-15T15:22:53.844Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-15T15:22:53.844Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-15T15:22:53.844Z] go: finding github.com/google/uuid v1.1.0 [2020-06-15T15:22:53.844Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-15T15:22:53.844Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-15T15:22:53.844Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-15T15:22:53.844Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-15T15:22:53.844Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-15T15:22:53.844Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-15T15:22:53.844Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-15T15:22:53.844Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-15T15:22:53.844Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-15T15:22:53.844Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-15T15:22:53.844Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-15T15:22:53.844Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-15T15:22:53.844Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-15T15:22:53.844Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-15T15:22:53.844Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-15T15:22:53.844Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-15T15:22:53.844Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-15T15:22:53.844Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-15T15:22:53.844Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-15T15:22:53.844Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-15T15:22:53.844Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-15T15:22:53.844Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-15T15:22:53.844Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-15T15:22:53.844Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-15T15:22:53.844Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-15T15:22:53.844Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-15T15:22:53.844Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-15T15:22:53.844Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-15T15:22:54.105Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-15T15:22:54.105Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-15T15:22:54.105Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-15T15:22:54.105Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-15T15:22:54.105Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-15T15:22:54.105Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-15T15:22:54.105Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-15T15:22:54.105Z] go: finding github.com/posener/complete v1.1.1 [2020-06-15T15:22:54.105Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-15T15:22:54.105Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-15T15:22:54.105Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-15T15:22:54.105Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-15T15:22:54.105Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-15T15:22:54.105Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-15T15:22:54.105Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-15T15:22:54.105Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-15T15:22:54.105Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-15T15:22:54.105Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-15T15:22:54.105Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-15T15:22:54.105Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-15T15:23:00.719Z] Removing intermediate container 0b41c28c447d [2020-06-15T15:23:00.719Z] ---> acfcfd66bc0d [2020-06-15T15:23:00.719Z] Successfully built acfcfd66bc0d [2020-06-15T15:23:00.981Z] 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-15T15:23:01.666Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-15T15:23:01.666Z] . [Pipeline] withDockerContainer [2020-06-15T15:23:01.822Z] prd-centos7-docker-4c-2g-3025 does not seem to be running inside a container [2020-06-15T15:23:01.873Z] $ 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-x86_64 cat [2020-06-15T15:23:03.120Z] $ docker top 1c124fda880d02b44afcd67553e4363f383c09f2923297ceb510774c0b0ee82e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-15T15:23:03.623Z] + go version [2020-06-15T15:23:03.623Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-06-15T15:23:03.942Z] + make test [2020-06-15T15:23:03.942Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-15T15:23:04.895Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-06-15T15:23:14.977Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-06-15T15:23:14.977Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-06-15T15:23:14.977Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-06-15T15:23:14.977Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.005s coverage: 22.1% of statements [2020-06-15T15:23:15.928Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.041s coverage: 95.8% of statements [2020-06-15T15:23:25.878Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-06-15T15:23:25.878Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-06-15T15:23:25.878Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-06-15T15:23:25.878Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.018s coverage: 22.1% of statements [2020-06-15T15:23:25.878Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.195s coverage: 95.8% of statements [2020-06-15T15:23:48.107Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.086s coverage: 11.4% of statements [2020-06-15T15:23:48.107Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.004s coverage: 21.7% of statements [2020-06-15T15:23:48.107Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-06-15T15:23:48.107Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.092s coverage: 36.9% of statements [2020-06-15T15:23:48.107Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-06-15T15:23:48.107Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-06-15T15:23:48.107Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.277s coverage: 65.2% of statements [2020-06-15T15:23:48.107Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-06-15T15:23:48.107Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-06-15T15:23:48.107Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-06-15T15:23:48.107Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.012s coverage: 52.6% of statements [2020-06-15T15:23:48.107Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-06-15T15:23:48.107Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.092s coverage: 68.9% of statements [2020-06-15T15:23:48.107Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-06-15T15:23:48.107Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-06-15T15:23:48.107Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-15T15:23:48.107Z] gofmt -l . [2020-06-15T15:23:48.368Z] [ "`gofmt -l .`" = "" ] [2020-06-15T15:23:48.368Z] ./bin/test-attribution-txt.sh [2020-06-15T15:23:48.946Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-06-15T15:23:49.507Z] Stashed 1 file(s) [Pipeline] } [2020-06-15T15:23:49.525Z] $ docker stop --time=1 1c124fda880d02b44afcd67553e4363f383c09f2923297ceb510774c0b0ee82e [2020-06-15T15:23:51.024Z] $ docker rm -f 1c124fda880d02b44afcd67553e4363f383c09f2923297ceb510774c0b0ee82e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-15T15:23:53.121Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-15T15:23:53.442Z] + ls -al . [2020-06-15T15:23:53.442Z] total 184 [2020-06-15T15:23:53.442Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jun 15 15:23 . [2020-06-15T15:23:53.442Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 15 15:22 .. [2020-06-15T15:23:53.442Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 15 15:22 api [2020-06-15T15:23:53.442Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 15 15:22 bin [2020-06-15T15:23:53.442Z] -rw-r--r--. 1 jenkins jenkins 110877 Jun 15 15:23 coverage.out [2020-06-15T15:23:53.442Z] -rw-rw-r--. 1 jenkins jenkins 936 Jun 15 15:22 Dockerfile.build [2020-06-15T15:23:53.442Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 15 15:22 .dockerignore [2020-06-15T15:23:53.442Z] drwxrwxr-x. 4 jenkins jenkins 48 Jun 15 15:22 example [2020-06-15T15:23:53.442Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 15 15:22 .git [2020-06-15T15:23:53.442Z] drwxrwxr-x. 2 jenkins jenkins 38 Jun 15 15:22 .github [2020-06-15T15:23:53.442Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 15 15:22 .gitignore [2020-06-15T15:23:53.442Z] -rw-r--r--. 1 jenkins jenkins 446 Jun 15 15:23 go.mod [2020-06-15T15:23:53.442Z] -rw-r--r--. 1 jenkins jenkins 12179 Jun 15 15:23 go.sum [2020-06-15T15:23:53.442Z] drwxrwxr-x. 15 jenkins jenkins 217 Jun 15 15:22 internal [2020-06-15T15:23:53.442Z] -rw-rw-r--. 1 jenkins jenkins 808 Jun 15 15:22 Jenkinsfile [2020-06-15T15:23:53.442Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 15 15:22 LICENSE [2020-06-15T15:23:53.442Z] -rw-rw-r--. 1 jenkins jenkins 892 Jun 15 15:22 Makefile [2020-06-15T15:23:53.442Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 15 15:22 pkg [2020-06-15T15:23:53.442Z] -rw-rw-r--. 1 jenkins jenkins 5101 Jun 15 15:22 README.md [2020-06-15T15:23:53.442Z] -rw-rw-r--. 1 jenkins jenkins 3997 Jun 15 15:22 RELEASE-NOTES.txt [2020-06-15T15:23:53.442Z] drwxrwxr-x. 3 jenkins jenkins 58 Jun 15 15:22 .semver [2020-06-15T15:23:53.442Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 15 15:22 snap [2020-06-15T15:23:53.442Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 15 15:19 VERSION [2020-06-15T15:23:53.442Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 15 15:22 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-15T15:23:53.774Z] + 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=fad4e385897c94649c4104a3ed54995225ff8978 --label arch=amd64 --label version=0.0.0 . [2020-06-15T15:23:53.774Z] Sending build context to Docker daemon 3.212MB [2020-06-15T15:23:53.774Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-06-15T15:23:53.774Z] Step 2/23 : FROM ${BASE} AS builder [2020-06-15T15:23:53.774Z] ---> acfcfd66bc0d [2020-06-15T15:23:53.774Z] Step 3/23 : ARG MAKE='make build' [2020-06-15T15:23:54.347Z] ---> Running in f5ba2aea474e [2020-06-15T15:23:54.608Z] Removing intermediate container f5ba2aea474e [2020-06-15T15:23:54.608Z] ---> 9688c6c6538e [2020-06-15T15:23:54.608Z] Step 4/23 : WORKDIR /device-sdk-go [2020-06-15T15:23:54.608Z] ---> Running in ce47b3fc7ca9 [2020-06-15T15:23:54.871Z] Removing intermediate container ce47b3fc7ca9 [2020-06-15T15:23:54.871Z] ---> c24d3f8272ec [2020-06-15T15:23:54.871Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-15T15:23:54.871Z] ---> Running in 197c9b62cea1 [2020-06-15T15:23:55.131Z] Removing intermediate container 197c9b62cea1 [2020-06-15T15:23:55.131Z] ---> 24feca47f2df [2020-06-15T15:23:55.131Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-15T15:23:55.131Z] ---> Running in feaa5203bb8a [2020-06-15T15:23:55.702Z] Removing intermediate container feaa5203bb8a [2020-06-15T15:23:55.702Z] ---> a0867b3e5d03 [2020-06-15T15:23:55.702Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-06-15T15:23:55.963Z] ---> Running in 3aa172726d56 [2020-06-15T15:23:56.225Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-15T15:23:57.169Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-15T15:23:57.430Z] OK: 143 MiB in 39 packages [2020-06-15T15:23:57.692Z] Removing intermediate container 3aa172726d56 [2020-06-15T15:23:57.692Z] ---> f11367d9d52c [2020-06-15T15:23:57.692Z] Step 8/23 : COPY . . [2020-06-15T15:23:58.264Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.085s coverage: 11.4% of statements [2020-06-15T15:23:58.264Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 21.7% of statements [2020-06-15T15:23:58.264Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-06-15T15:23:58.264Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.149s coverage: 36.9% of statements [2020-06-15T15:23:58.264Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-06-15T15:23:58.264Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-06-15T15:23:58.264Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.532s coverage: 65.2% of statements [2020-06-15T15:23:58.265Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-06-15T15:23:58.265Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-06-15T15:23:58.265Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-06-15T15:23:58.265Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.042s coverage: 52.6% of statements [2020-06-15T15:23:58.265Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-06-15T15:23:58.265Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.328s coverage: 68.9% of statements [2020-06-15T15:23:58.265Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-06-15T15:23:58.265Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-06-15T15:23:58.265Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-15T15:23:58.646Z] ---> fe7ccfa080d7 [2020-06-15T15:23:58.646Z] Step 9/23 : RUN ${MAKE} [2020-06-15T15:23:58.909Z] ---> Running in eaa922e039ff [2020-06-15T15:23:59.488Z] 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-15T15:24:01.680Z] gofmt -l . [2020-06-15T15:24:01.680Z] [ "`gofmt -l .`" = "" ] [2020-06-15T15:24:01.680Z] ./bin/test-attribution-txt.sh [2020-06-15T15:24:02.662Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-06-15T15:24:02.969Z] Warning: overwriting stash ‘coverage-report’ [2020-06-15T15:24:03.656Z] Stashed 1 file(s) [Pipeline] } [2020-06-15T15:24:03.645Z] $ docker stop --time=1 80b9cd22226d2867637b807334fc1131dfec5e49de0859b958c66a175a85650f [2020-06-15T15:24:05.716Z] $ docker rm -f 80b9cd22226d2867637b807334fc1131dfec5e49de0859b958c66a175a85650f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-15T15:24:07.056Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-15T15:24:07.410Z] + ls -al . [2020-06-15T15:24:07.410Z] total 224 [2020-06-15T15:24:07.410Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 15 15:24 . [2020-06-15T15:24:07.410Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 15:21 .. [2020-06-15T15:24:07.410Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 15 15:21 .dockerignore [2020-06-15T15:24:07.410Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 15 15:21 .git [2020-06-15T15:24:07.410Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 15:21 .github [2020-06-15T15:24:07.410Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 15 15:21 .gitignore [2020-06-15T15:24:07.410Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 15:21 .semver [2020-06-15T15:24:07.410Z] -rw-rw-r-- 1 jenkins jenkins 936 Jun 15 15:21 Dockerfile.build [2020-06-15T15:24:07.411Z] -rw-rw-r-- 1 jenkins jenkins 808 Jun 15 15:21 Jenkinsfile [2020-06-15T15:24:07.411Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 15 15:21 LICENSE [2020-06-15T15:24:07.411Z] -rw-rw-r-- 1 jenkins jenkins 892 Jun 15 15:21 Makefile [2020-06-15T15:24:07.411Z] -rw-rw-r-- 1 jenkins jenkins 5101 Jun 15 15:21 README.md [2020-06-15T15:24:07.411Z] -rw-rw-r-- 1 jenkins jenkins 3997 Jun 15 15:21 RELEASE-NOTES.txt [2020-06-15T15:24:07.411Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 15 15:19 VERSION [2020-06-15T15:24:07.411Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 15 15:21 api [2020-06-15T15:24:07.411Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 15 15:21 bin [2020-06-15T15:24:07.411Z] -rw-r--r-- 1 jenkins jenkins 110877 Jun 15 15:23 coverage.out [2020-06-15T15:24:07.411Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 15:21 example [2020-06-15T15:24:07.411Z] -rw-r--r-- 1 jenkins jenkins 446 Jun 15 15:24 go.mod [2020-06-15T15:24:07.411Z] -rw-r--r-- 1 jenkins jenkins 12179 Jun 15 15:24 go.sum [2020-06-15T15:24:07.411Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 15 15:21 internal [2020-06-15T15:24:07.411Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 15 15:21 pkg [2020-06-15T15:24:07.411Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 15 15:21 snap [2020-06-15T15:24:07.411Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 15 15:21 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-15T15:24:07.766Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-06-15T15:24:07.799Z] + 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=fad4e385897c94649c4104a3ed54995225ff8978 --label arch=arm64 --label version=0.0.0 . [2020-06-15T15:24:08.073Z] Sending build context to Docker daemon 3.214MB [2020-06-15T15:24:08.339Z] Removing intermediate container eaa922e039ff [2020-06-15T15:24:08.339Z] ---> 7b75c6a04898 [2020-06-15T15:24:08.339Z] Step 10/23 : FROM scratch [2020-06-15T15:24:08.339Z] ---> [2020-06-15T15:24:08.339Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-15T15:24:08.348Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-06-15T15:24:08.348Z] Step 2/23 : FROM ${BASE} AS builder [2020-06-15T15:24:08.348Z] ---> 6e16941d72b1 [2020-06-15T15:24:08.348Z] Step 3/23 : ARG MAKE='make build' [2020-06-15T15:24:08.348Z] ---> Running in 137fcbcac970 [2020-06-15T15:24:08.602Z] ---> Running in f19991c50507 [2020-06-15T15:24:08.602Z] Removing intermediate container f19991c50507 [2020-06-15T15:24:08.602Z] ---> 0e6c2ae4becd [2020-06-15T15:24:08.602Z] Step 12/23 : ENV APP_PORT=49990 [2020-06-15T15:24:08.602Z] ---> Running in 0ee22a23cd24 [2020-06-15T15:24:08.862Z] Removing intermediate container 0ee22a23cd24 [2020-06-15T15:24:08.862Z] ---> 4ef348d1fb04 [2020-06-15T15:24:08.862Z] Step 13/23 : EXPOSE $APP_PORT [2020-06-15T15:24:08.862Z] ---> Running in 158b29a59774 [2020-06-15T15:24:08.941Z] Removing intermediate container 137fcbcac970 [2020-06-15T15:24:08.941Z] ---> f56e6699f601 [2020-06-15T15:24:08.941Z] Step 4/23 : WORKDIR /device-sdk-go [2020-06-15T15:24:08.941Z] ---> Running in b68db91db812 [2020-06-15T15:24:09.123Z] Removing intermediate container 158b29a59774 [2020-06-15T15:24:09.123Z] ---> 6ec49fe72092 [2020-06-15T15:24:09.123Z] Step 14/23 : WORKDIR / [2020-06-15T15:24:09.123Z] ---> Running in 86d1c7829655 [2020-06-15T15:24:09.388Z] Removing intermediate container 86d1c7829655 [2020-06-15T15:24:09.388Z] ---> d8c5773daedc [2020-06-15T15:24:09.388Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-06-15T15:24:09.537Z] Removing intermediate container b68db91db812 [2020-06-15T15:24:09.537Z] ---> f9bb0a87fa94 [2020-06-15T15:24:09.537Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-15T15:24:09.537Z] ---> Running in 2c20f4f19471 [2020-06-15T15:24:10.134Z] Removing intermediate container 2c20f4f19471 [2020-06-15T15:24:10.134Z] ---> 4e66ffa91391 [2020-06-15T15:24:10.134Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-15T15:24:10.134Z] ---> Running in 35c83c2875c3 [2020-06-15T15:24:10.338Z] ---> 34f87479ab99 [2020-06-15T15:24:10.338Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-06-15T15:24:10.338Z] ---> a17dcbf8eab3 [2020-06-15T15:24:10.338Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-06-15T15:24:10.600Z] ---> 9f40d0c820c0 [2020-06-15T15:24:10.600Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-06-15T15:24:10.862Z] ---> 5ea6a91ba469 [2020-06-15T15:24:10.862Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-06-15T15:24:11.124Z] ---> dfe2290b54d5 [2020-06-15T15:24:11.124Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-06-15T15:24:11.124Z] ---> Running in cdbb71db2deb [2020-06-15T15:24:11.386Z] Removing intermediate container cdbb71db2deb [2020-06-15T15:24:11.386Z] ---> d919afaf6122 [2020-06-15T15:24:11.386Z] Step 21/23 : LABEL arch=amd64 [2020-06-15T15:24:11.386Z] ---> Running in eca2584daea8 [2020-06-15T15:24:11.650Z] Removing intermediate container eca2584daea8 [2020-06-15T15:24:11.650Z] ---> 9d10a3cd5eeb [2020-06-15T15:24:11.650Z] Step 22/23 : LABEL git_sha=fad4e385897c94649c4104a3ed54995225ff8978 [2020-06-15T15:24:11.650Z] ---> Running in 6a26791d5e30 [2020-06-15T15:24:11.650Z] Removing intermediate container 6a26791d5e30 [2020-06-15T15:24:11.650Z] ---> 4aa8d586445f [2020-06-15T15:24:11.650Z] Step 23/23 : LABEL version=0.0.0 [2020-06-15T15:24:11.910Z] ---> Running in 14190b2472da [2020-06-15T15:24:11.910Z] Removing intermediate container 14190b2472da [2020-06-15T15:24:11.910Z] ---> d426d0773c13 [2020-06-15T15:24:11.910Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-15T15:24:11.910Z] Successfully built d426d0773c13 [2020-06-15T15:24:11.910Z] 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 [2020-06-15T15:24:12.753Z] Removing intermediate container 35c83c2875c3 [2020-06-15T15:24:12.753Z] ---> 4f8cb155e085 [2020-06-15T15:24:12.753Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-06-15T15:24:12.753Z] ---> Running in a07219fbd851 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-06-15T15:24:14.187Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-15T15:24:15.158Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-15T15:24:15.428Z] OK: 125 MiB in 39 packages [2020-06-15T15:24:16.865Z] Removing intermediate container a07219fbd851 [2020-06-15T15:24:16.865Z] ---> 7f2970a4503e [2020-06-15T15:24:16.865Z] Step 8/23 : COPY . . [2020-06-15T15:24:17.841Z] ---> a88e9deda072 [2020-06-15T15:24:17.841Z] Step 9/23 : RUN ${MAKE} [2020-06-15T15:24:18.115Z] ---> Running in b4911e26d9f2 [2020-06-15T15:24:19.558Z] 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-15T15:24:41.745Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-06-15T15:24:44.362Z] Removing intermediate container b4911e26d9f2 [2020-06-15T15:24:44.362Z] ---> 6843b6c0f905 [2020-06-15T15:24:44.362Z] Step 10/23 : FROM scratch [2020-06-15T15:24:44.362Z] ---> [2020-06-15T15:24:44.362Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-15T15:24:44.362Z] ---> Running in 7255c0590716 [2020-06-15T15:24:44.956Z] Removing intermediate container 7255c0590716 [2020-06-15T15:24:44.956Z] ---> 9a9ab948873c [2020-06-15T15:24:44.956Z] Step 12/23 : ENV APP_PORT=49990 [2020-06-15T15:24:44.956Z] ---> Running in 8a158542544c [2020-06-15T15:24:45.228Z] Removing intermediate container 8a158542544c [2020-06-15T15:24:45.228Z] ---> 8c3ba2f7dd08 [2020-06-15T15:24:45.228Z] Step 13/23 : EXPOSE $APP_PORT [2020-06-15T15:24:45.500Z] ---> Running in b6f7c009fd74 [2020-06-15T15:24:45.773Z] Removing intermediate container b6f7c009fd74 [2020-06-15T15:24:45.773Z] ---> 8e2bc9796577 [2020-06-15T15:24:45.773Z] Step 14/23 : WORKDIR / [2020-06-15T15:24:46.046Z] ---> Running in 0e6008a33dbc [2020-06-15T15:24:46.320Z] Removing intermediate container 0e6008a33dbc [2020-06-15T15:24:46.320Z] ---> 6ad286286e62 [2020-06-15T15:24:46.320Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-06-15T15:24:47.754Z] ---> 14d13cada3a0 [2020-06-15T15:24:47.754Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-06-15T15:24:48.347Z] ---> 016a60956c46 [2020-06-15T15:24:48.347Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-06-15T15:24:48.944Z] ---> 394c1ae9f3aa [2020-06-15T15:24:48.944Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-06-15T15:24:49.926Z] ---> 20ed598633a4 [2020-06-15T15:24:49.926Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-06-15T15:24:50.518Z] ---> 8c8fe8cf68b7 [2020-06-15T15:24:50.518Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-06-15T15:24:50.792Z] ---> Running in 39f44aabef6a [2020-06-15T15:24:51.064Z] Removing intermediate container 39f44aabef6a [2020-06-15T15:24:51.064Z] ---> ee7668acb553 [2020-06-15T15:24:51.064Z] Step 21/23 : LABEL arch=arm64 [2020-06-15T15:24:51.338Z] ---> Running in 65f106d4ea3b [2020-06-15T15:24:51.612Z] Removing intermediate container 65f106d4ea3b [2020-06-15T15:24:51.612Z] ---> 2eaa831d464c [2020-06-15T15:24:51.612Z] Step 22/23 : LABEL git_sha=fad4e385897c94649c4104a3ed54995225ff8978 [2020-06-15T15:24:51.887Z] ---> Running in 3279302d44e2 [2020-06-15T15:24:52.163Z] Removing intermediate container 3279302d44e2 [2020-06-15T15:24:52.163Z] ---> c781da9d0edc [2020-06-15T15:24:52.163Z] Step 23/23 : LABEL version=0.0.0 [2020-06-15T15:24:52.437Z] ---> Running in e60cbf71bb2e [2020-06-15T15:24:52.714Z] Removing intermediate container e60cbf71bb2e [2020-06-15T15:24:52.714Z] ---> 3bd5b9a2e6d4 [2020-06-15T15:24:52.714Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-15T15:24:52.714Z] Successfully built 3bd5b9a2e6d4 [2020-06-15T15:24:52.714Z] 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-15T15:24:54.183Z] provisioning config files... [2020-06-15T15:24:54.194Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-538@tmp/config3910953741846260985tmp [Pipeline] { [Pipeline] sh [2020-06-15T15:24:54.573Z] + curl -s https://codecov.io/bash [2020-06-15T15:24:54.573Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-538@tmp/config3910953741846260985tmp [2020-06-15T15:24:54.834Z] [2020-06-15T15:24:54.834Z] _____ _ [2020-06-15T15:24:54.834Z] / ____| | | [2020-06-15T15:24:54.834Z] | | ___ __| | ___ ___ _____ __ [2020-06-15T15:24:54.834Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-06-15T15:24:54.834Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-06-15T15:24:54.834Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-06-15T15:24:54.834Z] Bash-20200602-f809a24 [2020-06-15T15:24:54.834Z] [2020-06-15T15:24:54.834Z] [2020-06-15T15:24:54.834Z] ==> Jenkins CI detected. [2020-06-15T15:24:54.834Z] project root: . [2020-06-15T15:24:54.834Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-06-15T15:24:54.834Z] ==> Running gcov in . (disable via -X gcov) [2020-06-15T15:24:54.834Z] ==> Python coveragepy not found [2020-06-15T15:24:54.834Z] ==> Searching for coverage reports in: [2020-06-15T15:24:54.834Z] + . [2020-06-15T15:24:54.834Z] -> Found 1 reports [2020-06-15T15:24:54.834Z] ==> Detecting git/mercurial file structure [2020-06-15T15:24:54.834Z] ==> Reading reports [2020-06-15T15:24:54.834Z] + ./coverage.out bytes=110877 [2020-06-15T15:24:54.834Z] ==> Appending adjustments [2020-06-15T15:24:54.834Z] https://docs.codecov.io/docs/fixing-reports [2020-06-15T15:24:55.407Z] + Found adjustments [2020-06-15T15:24:55.408Z] ==> Gzipping contents [2020-06-15T15:24:55.408Z] ==> Uploading reports [2020-06-15T15:24:55.408Z] url: https://codecov.io [2020-06-15T15:24:55.408Z] query: branch=PR-538&commit=fad4e385897c94649c4104a3ed54995225ff8978&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-538%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=538&job= [2020-06-15T15:24:55.408Z] -> Pinging Codecov [2020-06-15T15:24:55.408Z] https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-538&commit=fad4e385897c94649c4104a3ed54995225ff8978&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-538%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=538&job= [2020-06-15T15:24:55.677Z] -> Uploading [2020-06-15T15:24:56.621Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fad4e385897c94649c4104a3ed54995225ff8978 [Pipeline] } [2020-06-15T15:24:56.647Z] 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-15T15:24:58.342Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-15T15:24:59.128Z] ---> package-listing.sh [2020-06-15T15:24:59.128Z] ++ facter osfamily [2020-06-15T15:24:59.128Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-15T15:24:59.128Z] + OS_FAMILY=redhat [2020-06-15T15:24:59.128Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-538 [2020-06-15T15:24:59.128Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-15T15:24:59.128Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-15T15:24:59.128Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-15T15:24:59.128Z] + PACKAGES=/tmp/packages_start.txt [2020-06-15T15:24:59.128Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-538 ']' [2020-06-15T15:24:59.128Z] + PACKAGES=/tmp/packages_end.txt [2020-06-15T15:24:59.128Z] + case "${OS_FAMILY}" in [2020-06-15T15:24:59.128Z] + rpm -qa [2020-06-15T15:24:59.128Z] + sort [2020-06-15T15:25:02.437Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-15T15:25:02.437Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-15T15:25:02.437Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-15T15:25:02.437Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-538 ']' [2020-06-15T15:25:02.437Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-538/archives/ [2020-06-15T15:25:02.437Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-538/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-15T15:25:03.075Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-15T15:25:03.075Z] [2020-06-15T15:25:03.075Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-15T15:25:03.439Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-15T15:25:03.439Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-15T15:25:03.439Z] c9b1b535fdd9: Pulling fs layer [2020-06-15T15:25:03.439Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-15T15:25:03.439Z] 756a868c4378: Pulling fs layer [2020-06-15T15:25:03.439Z] 444b2fc9a129: Pulling fs layer [2020-06-15T15:25:03.439Z] ea15f1150254: Pulling fs layer [2020-06-15T15:25:03.439Z] 41b27a9f41bf: Pulling fs layer [2020-06-15T15:25:03.439Z] 28c525ee5125: Pulling fs layer [2020-06-15T15:25:03.439Z] 094b1ea09ed8: Pulling fs layer [2020-06-15T15:25:03.439Z] 138eaada9080: Pulling fs layer [2020-06-15T15:25:03.439Z] 0622d0fa9048: Pulling fs layer [2020-06-15T15:25:03.439Z] ea15f1150254: Waiting [2020-06-15T15:25:03.439Z] 28c525ee5125: Waiting [2020-06-15T15:25:03.439Z] 41b27a9f41bf: Waiting [2020-06-15T15:25:03.439Z] 094b1ea09ed8: Waiting [2020-06-15T15:25:03.439Z] 138eaada9080: Waiting [2020-06-15T15:25:03.439Z] 0622d0fa9048: Waiting [2020-06-15T15:25:03.439Z] 444b2fc9a129: Waiting [2020-06-15T15:25:03.439Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-15T15:25:03.439Z] 2cc5ad85d9ab: Download complete [2020-06-15T15:25:03.439Z] 444b2fc9a129: Verifying Checksum [2020-06-15T15:25:03.439Z] 444b2fc9a129: Download complete [2020-06-15T15:25:03.439Z] c9b1b535fdd9: Verifying Checksum [2020-06-15T15:25:03.439Z] ea15f1150254: Download complete [2020-06-15T15:25:03.718Z] 28c525ee5125: Verifying Checksum [2020-06-15T15:25:03.718Z] 28c525ee5125: Download complete [2020-06-15T15:25:03.992Z] 756a868c4378: Verifying Checksum [2020-06-15T15:25:03.992Z] 756a868c4378: Download complete [2020-06-15T15:25:03.992Z] 138eaada9080: Verifying Checksum [2020-06-15T15:25:03.992Z] 138eaada9080: Download complete [2020-06-15T15:25:03.992Z] 0622d0fa9048: Verifying Checksum [2020-06-15T15:25:03.992Z] 0622d0fa9048: Download complete [2020-06-15T15:25:03.992Z] 094b1ea09ed8: Verifying Checksum [2020-06-15T15:25:03.992Z] 094b1ea09ed8: Download complete [2020-06-15T15:25:04.256Z] c9b1b535fdd9: Pull complete [2020-06-15T15:25:04.522Z] 2cc5ad85d9ab: Pull complete [2020-06-15T15:25:04.791Z] 41b27a9f41bf: Verifying Checksum [2020-06-15T15:25:04.791Z] 41b27a9f41bf: Download complete [2020-06-15T15:25:06.728Z] 756a868c4378: Pull complete [2020-06-15T15:25:06.728Z] 444b2fc9a129: Pull complete [2020-06-15T15:25:06.728Z] ea15f1150254: Pull complete [2020-06-15T15:25:10.957Z] 41b27a9f41bf: Pull complete [2020-06-15T15:25:10.957Z] 28c525ee5125: Pull complete [2020-06-15T15:25:13.521Z] 094b1ea09ed8: Pull complete [2020-06-15T15:25:14.095Z] 138eaada9080: Pull complete [2020-06-15T15:25:14.095Z] 0622d0fa9048: Pull complete [2020-06-15T15:25:14.095Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-15T15:25:14.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-15T15:25:14.356Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-15T15:25:14.534Z] prd-centos7-docker-4c-2g-3023 does not seem to be running inside a container [2020-06-15T15:25:14.586Z] $ 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-538 -v /w/workspace/dgexfoundry_device-sdk-go_PR-538:/w/workspace/dgexfoundry_device-sdk-go_PR-538:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-538@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-538@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-06-15T15:25:18.893Z] $ docker top 2b94e43407ff64347a1a7c56b0abc63e53096c23e8e5c61c9d7fedad2f3ea178 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-15T15:25:19.189Z] provisioning config files... [2020-06-15T15:25:19.206Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-538@tmp/config9143029304519730407tmp [Pipeline] { [Pipeline] echo [2020-06-15T15:25:19.273Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-15T15:25:19.594Z] ---> create-netrc.sh [Pipeline] echo [2020-06-15T15:25:19.620Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-15T15:25:19.938Z] ---> logs-deploy.sh [2020-06-15T15:25:19.938Z] + ARCHIVE_ARTIFACTS= [2020-06-15T15:25:19.938Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-15T15:25:19.938Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-15T15:25:19.938Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-15T15:25:19.938Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-538/1 [2020-06-15T15:25:19.938Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-538/1/ [2020-06-15T15:25:19.938Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-538/1 /w/workspace/dgexfoundry_device-sdk-go_PR-538 [2020-06-15T15:25:21.322Z] Archives upload complete. [2020-06-15T15:25:21.322Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-538/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-538/1/