Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 43f76da7d4a1dba45abf65466c274475ddab04f4 rather than 74b6c8dea2f14485f497dce5b6f71adf6526cd29 Obtained Jenkinsfile from 43f76da7d4a1dba45abf65466c274475ddab04f4 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be3c330340c18bb7ab85087afff7d7ed2ee420c0 # timeout=10 Commit message: "Merge pull request #211 from ernestojeda/fix-docker-image-push-with-namespace" > 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-blackbox-4c-2g-976’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-980’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5406’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-982 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [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-553 # 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/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 43f76da7d4a1dba45abf65466c274475ddab04f4 into PR head commit 74b6c8dea2f14485f497dce5b6f71adf6526cd29 Merge succeeded, producing e526c7dfd1f7d6429ba6c457dd4eb56057764233 Checking out Revision e526c7dfd1f7d6429ba6c457dd4eb56057764233 (PR-553) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # 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/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74b6c8dea2f14485f497dce5b6f71adf6526cd29 # 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 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e526c7dfd1f7d6429ba6c457dd4eb56057764233 # timeout=10 Commit message: "Merge commit '43f76da7d4a1dba45abf65466c274475ddab04f4' into HEAD" > git rev-list --no-walk 74b6c8dea2f14485f497dce5b6f71adf6526cd29 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-16T22:41:30.532Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-16T22:41:30.798Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-16T22:41:30.901Z] ========================================================= [2020-07-16T22:41:30.901Z] EdgeX Global Pipelines Version Info [2020-07-16T22:41:30.901Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-16T22:41:32.311Z] ------------------- [2020-07-16T22:41:32.311Z] stable info: [2020-07-16T22:41:32.311Z] ------------------- [2020-07-16T22:41:32.311Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-16T22:41:32.311Z] Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 [2020-07-16T22:41:32.311Z] Message: update stable to v1.0.99 [2020-07-16T22:41:33.263Z] ------------------- [2020-07-16T22:41:33.263Z] experimental info: [2020-07-16T22:41:33.263Z] ------------------- [2020-07-16T22:41:33.263Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-16T22:41:33.263Z] Commit SHA: a8036d3cfb972bc62d1aceff2a6c19ff9dda8919 [2020-07-16T22:41:33.263Z] Message: update experimental to v1.0.100 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-07-16T22:41:35.273Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-16T22:41:35.843Z] [2020-07-16T22:41:35.843Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-16T22:41:36.185Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-16T22:41:36.186Z] latest: Pulling from edgex-devops/git-semver [2020-07-16T22:41:36.186Z] 31603596830f: Pulling fs layer [2020-07-16T22:41:36.186Z] 2a8b12db71e7: Pulling fs layer [2020-07-16T22:41:36.186Z] 6ca5941a6612: Pulling fs layer [2020-07-16T22:41:36.186Z] ecc8261a40a4: Pulling fs layer [2020-07-16T22:41:36.186Z] ecc8261a40a4: Waiting [2020-07-16T22:41:36.186Z] 2a8b12db71e7: Verifying Checksum [2020-07-16T22:41:36.186Z] 2a8b12db71e7: Download complete [2020-07-16T22:41:36.186Z] 31603596830f: Verifying Checksum [2020-07-16T22:41:36.186Z] 31603596830f: Download complete [2020-07-16T22:41:36.450Z] ecc8261a40a4: Verifying Checksum [2020-07-16T22:41:36.450Z] ecc8261a40a4: Download complete [2020-07-16T22:41:36.450Z] 6ca5941a6612: Verifying Checksum [2020-07-16T22:41:36.450Z] 6ca5941a6612: Download complete [2020-07-16T22:41:36.450Z] 31603596830f: Pull complete [2020-07-16T22:41:36.710Z] 2a8b12db71e7: Pull complete [2020-07-16T22:41:37.282Z] 6ca5941a6612: Pull complete [2020-07-16T22:41:37.545Z] ecc8261a40a4: Pull complete [2020-07-16T22:41:37.545Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-16T22:41:37.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-16T22:41:37.545Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-16T22:41:37.655Z] prd-centos7-docker-4c-2g-982 does not seem to be running inside a container [2020-07-16T22:41:37.700Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-553 -v /w/workspace/dgexfoundry_device-sdk-go_PR-553:/w/workspace/dgexfoundry_device-sdk-go_PR-553:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-16T22:41:39.731Z] $ docker top 06e1676193925c3a7997c19bf1fbca3857266a73526471de0ba168a073ea0bc0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-16T22:41:39.994Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-16T22:41:39.994Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-16T22:41:40.179Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-16T22:41:40.184Z] $ docker exec 06e1676193925c3a7997c19bf1fbca3857266a73526471de0ba168a073ea0bc0 ssh-agent [2020-07-16T22:41:40.331Z] SSH_AUTH_SOCK=/tmp/ssh-akrCoAmfDw4G/agent.11 [2020-07-16T22:41:40.331Z] SSH_AGENT_PID=17 [2020-07-16T22:41:40.340Z] Running ssh-add (command line suppressed) [2020-07-16T22:41:40.454Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_5828877748917577331.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_5828877748917577331.key) [2020-07-16T22:41:40.502Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-16T22:41:40.826Z] + git describe --exact-match --tags HEAD [2020-07-16T22:41:40.826Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-16T22:41:40.957Z] $ docker exec --env ******** --env ******** 06e1676193925c3a7997c19bf1fbca3857266a73526471de0ba168a073ea0bc0 ssh-agent -k [2020-07-16T22:41:41.064Z] unset SSH_AUTH_SOCK; [2020-07-16T22:41:41.065Z] unset SSH_AGENT_PID; [2020-07-16T22:41:41.065Z] echo Agent pid 17 killed; [2020-07-16T22:41:41.107Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-16T22:41:41.212Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-16T22:41:41.212Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-16T22:41:41.335Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-16T22:41:41.335Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-16T22:41:41.492Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-16T22:41:41.496Z] $ docker exec 06e1676193925c3a7997c19bf1fbca3857266a73526471de0ba168a073ea0bc0 ssh-agent [2020-07-16T22:41:41.651Z] SSH_AUTH_SOCK=/tmp/ssh-Nq0p7kn2IfGT/agent.48 [2020-07-16T22:41:41.651Z] SSH_AGENT_PID=53 [2020-07-16T22:41:41.657Z] Running ssh-add (command line suppressed) [2020-07-16T22:41:41.772Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_3039362747594834075.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_3039362747594834075.key) [2020-07-16T22:41:41.820Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-16T22:41:42.141Z] + git semver init [2020-07-16T22:41:42.141Z] # -> Open(): unable to determine branch for HEAD [2020-07-16T22:41:42.141Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.git [2020-07-16T22:41:42.141Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-553 [2020-07-16T22:41:42.141Z] # $SEMVER_REMOTE_NAME = origin [2020-07-16T22:41:42.141Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-16T22:41:42.141Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-16T22:41:42.141Z] # $SEMVER_BRANCH = PR-553 [2020-07-16T22:41:42.141Z] # $SEMVER_TEMP = /tmp/semver-751830783 [2020-07-16T22:41:42.141Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-07-16T22:41:42.714Z] # '/tmp/semver-751830783' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver' [2020-07-16T22:41:42.714Z] # -> Force: false [2020-07-16T22:41:42.714Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver [Pipeline] } [2020-07-16T22:41:42.729Z] $ docker exec --env ******** --env ******** 06e1676193925c3a7997c19bf1fbca3857266a73526471de0ba168a073ea0bc0 ssh-agent -k [2020-07-16T22:41:42.836Z] unset SSH_AUTH_SOCK; [2020-07-16T22:41:42.836Z] unset SSH_AGENT_PID; [2020-07-16T22:41:42.836Z] echo Agent pid 53 killed; [2020-07-16T22:41:42.877Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-16T22:41:43.314Z] + git semver [Pipeline] } [2020-07-16T22:41:43.330Z] $ docker stop --time=1 06e1676193925c3a7997c19bf1fbca3857266a73526471de0ba168a073ea0bc0 [2020-07-16T22:41:45.121Z] $ docker rm -f 06e1676193925c3a7997c19bf1fbca3857266a73526471de0ba168a073ea0bc0 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-16T22:41:45.843Z] Stashed 74 file(s) [Pipeline] echo [2020-07-16T22:41:45.844Z] [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-07-16T22:42:01.103Z] Still waiting to schedule task [2020-07-16T22:42:01.103Z] ‘prd-centos7-docker-4c-2g-977’ is offline; ‘prd-centos7-docker-4c-2g-981’ is offline; ‘prd-centos7-docker-4c-2g-985’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5406’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-984’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-07-16T22:42:01.104Z] Still waiting to schedule task [2020-07-16T22:42:01.104Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-07-16T22:43:07.511Z] Running on prd-centos7-docker-4c-2g-986 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws [2020-07-16T22:43:07.557Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-07-16T22:43:10.273Z] using credential edgex-jenkins-ssh [2020-07-16T22:43:10.339Z] Cloning the remote Git repository [2020-07-16T22:43:10.339Z] Cloning with configured refspecs honoured and without tags [2020-07-16T22:43:10.353Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T22:43:10.426Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-07-16T22:43:10.481Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T22:43:10.481Z] > git --version # timeout=10 [2020-07-16T22:43:10.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T22:43:10.540Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-16T22:43:11.133Z] Fetching without tags [2020-07-16T22:43:11.524Z] Merging remotes/origin/master commit 43f76da7d4a1dba45abf65466c274475ddab04f4 into PR head commit 74b6c8dea2f14485f497dce5b6f71adf6526cd29 [2020-07-16T22:43:11.634Z] Merge succeeded, producing 677a871e6896309a1488d50084667535d5b14ad6 [2020-07-16T22:43:11.634Z] Checking out Revision 677a871e6896309a1488d50084667535d5b14ad6 (PR-553) [2020-07-16T22:43:11.102Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-16T22:43:11.108Z] > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 [2020-07-16T22:43:11.115Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-16T22:43:11.129Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-16T22:43:11.140Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T22:43:11.140Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T22:43:11.144Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-16T22:43:11.535Z] > git config core.sparsecheckout # timeout=10 [2020-07-16T22:43:11.541Z] > git checkout -f 74b6c8dea2f14485f497dce5b6f71adf6526cd29 # timeout=10 [2020-07-16T22:43:11.583Z] > git remote # timeout=10 [2020-07-16T22:43:11.589Z] > git config --get remote.origin.url # timeout=10 [2020-07-16T22:43:11.597Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T22:43:11.600Z] > git merge 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 [2020-07-16T22:43:11.629Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-16T22:43:11.639Z] > git config core.sparsecheckout # timeout=10 [2020-07-16T22:43:11.643Z] > git checkout -f 677a871e6896309a1488d50084667535d5b14ad6 # timeout=10 [2020-07-16T22:43:15.344Z] Commit message: "Merge commit '43f76da7d4a1dba45abf65466c274475ddab04f4' into HEAD" [2020-07-16T22:43:15.349Z] > git rev-list --no-walk 74b6c8dea2f14485f497dce5b6f71adf6526cd29 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-16T22:43:16.185Z] ========================================================= [2020-07-16T22:43:16.185Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-07-16T22:43:16.185Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-16T22:43:16.977Z] + 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-07-16T22:43:17.244Z] Sending build context to Docker daemon 3.126MB [2020-07-16T22:43:17.244Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-16T22:43:17.244Z] Step 2/8 : FROM ${BASE} [2020-07-16T22:43:17.244Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-07-16T22:43:17.244Z] df20fa9351a1: Pulling fs layer [2020-07-16T22:43:17.244Z] ed8968b2872e: Pulling fs layer [2020-07-16T22:43:17.244Z] a92cc7c5fd73: Pulling fs layer [2020-07-16T22:43:17.244Z] 2dd03ba5bac4: Pulling fs layer [2020-07-16T22:43:17.244Z] 1e091d79d1de: Pulling fs layer [2020-07-16T22:43:17.244Z] 481702a1767f: Pulling fs layer [2020-07-16T22:43:17.244Z] f64a6f60c768: Pulling fs layer [2020-07-16T22:43:17.244Z] e78d2573fc39: Pulling fs layer [2020-07-16T22:43:17.244Z] e876d2f968b6: Pulling fs layer [2020-07-16T22:43:17.244Z] ce8a83651883: Pulling fs layer [2020-07-16T22:43:17.244Z] 07967f4d0e4b: Pulling fs layer [2020-07-16T22:43:17.245Z] f64a6f60c768: Waiting [2020-07-16T22:43:17.245Z] e78d2573fc39: Waiting [2020-07-16T22:43:17.245Z] e876d2f968b6: Waiting [2020-07-16T22:43:17.245Z] ce8a83651883: Waiting [2020-07-16T22:43:17.245Z] 07967f4d0e4b: Waiting [2020-07-16T22:43:17.245Z] 2dd03ba5bac4: Waiting [2020-07-16T22:43:17.245Z] 1e091d79d1de: Waiting [2020-07-16T22:43:17.245Z] 481702a1767f: Waiting [2020-07-16T22:43:17.245Z] a92cc7c5fd73: Verifying Checksum [2020-07-16T22:43:17.245Z] a92cc7c5fd73: Download complete [2020-07-16T22:43:17.245Z] ed8968b2872e: Verifying Checksum [2020-07-16T22:43:17.245Z] ed8968b2872e: Download complete [2020-07-16T22:43:17.515Z] 1e091d79d1de: Verifying Checksum [2020-07-16T22:43:17.515Z] 1e091d79d1de: Download complete [2020-07-16T22:43:17.515Z] 481702a1767f: Verifying Checksum [2020-07-16T22:43:17.515Z] 481702a1767f: Download complete [2020-07-16T22:43:17.515Z] df20fa9351a1: Verifying Checksum [2020-07-16T22:43:17.515Z] df20fa9351a1: Download complete [2020-07-16T22:43:17.788Z] df20fa9351a1: Pull complete [2020-07-16T22:43:18.406Z] f64a6f60c768: Verifying Checksum [2020-07-16T22:43:18.406Z] f64a6f60c768: Download complete [2020-07-16T22:43:18.406Z] e876d2f968b6: Verifying Checksum [2020-07-16T22:43:18.406Z] e876d2f968b6: Download complete [2020-07-16T22:43:18.994Z] e78d2573fc39: Verifying Checksum [2020-07-16T22:43:18.994Z] e78d2573fc39: Download complete [2020-07-16T22:43:18.994Z] ce8a83651883: Verifying Checksum [2020-07-16T22:43:18.994Z] ce8a83651883: Download complete [2020-07-16T22:43:18.994Z] 07967f4d0e4b: Verifying Checksum [2020-07-16T22:43:18.994Z] 07967f4d0e4b: Download complete [2020-07-16T22:43:18.994Z] 2dd03ba5bac4: Verifying Checksum [2020-07-16T22:43:20.380Z] ed8968b2872e: Pull complete [2020-07-16T22:43:20.380Z] a92cc7c5fd73: Pull complete [2020-07-16T22:43:25.704Z] 2dd03ba5bac4: Pull complete [2020-07-16T22:43:25.704Z] 1e091d79d1de: Pull complete [2020-07-16T22:43:25.971Z] 481702a1767f: Pull complete [2020-07-16T22:43:32.573Z] f64a6f60c768: Pull complete [2020-07-16T22:43:34.502Z] e78d2573fc39: Pull complete [2020-07-16T22:43:34.502Z] e876d2f968b6: Pull complete [2020-07-16T22:43:35.460Z] ce8a83651883: Pull complete [2020-07-16T22:43:35.460Z] 07967f4d0e4b: Pull complete [2020-07-16T22:43:35.460Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-07-16T22:43:35.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-07-16T22:43:35.724Z] ---> 5d7c900382c6 [2020-07-16T22:43:35.724Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T22:43:36.669Z] ---> Running in d650d7c37c11 [2020-07-16T22:43:36.934Z] Removing intermediate container d650d7c37c11 [2020-07-16T22:43:36.934Z] ---> e823ddb61ec7 [2020-07-16T22:43:36.934Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-16T22:43:36.934Z] ---> Running in d35acb7e6ad3 [2020-07-16T22:43:38.323Z] Removing intermediate container d35acb7e6ad3 [2020-07-16T22:43:38.323Z] ---> 1eb9883e01d3 [2020-07-16T22:43:38.323Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-16T22:43:38.323Z] ---> Running in 0b7c73379af3 [2020-07-16T22:43:38.895Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-16T22:43:39.840Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-16T22:43:40.785Z] OK: 166 MiB in 39 packages [2020-07-16T22:43:41.356Z] Removing intermediate container 0b7c73379af3 [2020-07-16T22:43:41.356Z] ---> fc6fc3937dc1 [2020-07-16T22:43:41.357Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-16T22:43:41.357Z] ---> Running in 26a571e84235 [2020-07-16T22:43:41.357Z] Removing intermediate container 26a571e84235 [2020-07-16T22:43:41.357Z] ---> 9a6c2ad8b8db [2020-07-16T22:43:41.357Z] Step 7/8 : COPY . . [2020-07-16T22:43:42.746Z] ---> 6bfc6f20a466 [2020-07-16T22:43:42.746Z] Step 8/8 : RUN go mod download [2020-07-16T22:43:42.746Z] ---> Running in c7bdba660080 [2020-07-16T22:43:44.658Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-16T22:43:44.658Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-16T22:43:44.658Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-16T22:43:44.658Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-16T22:43:44.658Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-16T22:43:44.658Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-16T22:43:44.658Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-16T22:43:44.658Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-16T22:43:44.926Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-16T22:43:44.926Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-16T22:43:44.926Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-16T22:43:44.926Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-16T22:43:44.926Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-16T22:43:44.926Z] go: finding github.com/fatih/color v1.7.0 [2020-07-16T22:43:44.926Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-16T22:43:44.926Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-16T22:43:44.926Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-16T22:43:44.926Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-16T22:43:44.926Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-16T22:43:44.926Z] go: finding github.com/google/uuid v1.1.0 [2020-07-16T22:43:45.187Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-16T22:43:45.187Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-16T22:43:45.187Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-16T22:43:45.187Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-16T22:43:45.187Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-16T22:43:45.187Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-16T22:43:45.187Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-16T22:43:45.187Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-16T22:43:45.187Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-16T22:43:45.187Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-16T22:43:45.187Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-16T22:43:45.187Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-16T22:43:45.448Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-16T22:43:45.448Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-16T22:43:45.448Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-16T22:43:45.448Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-16T22:43:45.448Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-16T22:43:45.448Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-16T22:43:45.448Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-16T22:43:45.448Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-16T22:43:45.448Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-16T22:43:45.448Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-16T22:43:45.448Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-16T22:43:45.709Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-16T22:43:45.709Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-16T22:43:45.709Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-16T22:43:45.709Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-16T22:43:45.709Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-16T22:43:45.709Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-16T22:43:45.709Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-16T22:43:45.709Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-16T22:43:45.709Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-16T22:43:45.709Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-16T22:43:45.709Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-16T22:43:45.709Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-16T22:43:45.709Z] go: finding github.com/posener/complete v1.1.1 [2020-07-16T22:43:45.973Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-16T22:43:45.973Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-16T22:43:45.973Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-16T22:43:45.973Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-16T22:43:45.973Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-16T22:43:45.973Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-16T22:43:45.973Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-16T22:43:45.973Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-16T22:43:45.973Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-16T22:43:45.973Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-16T22:43:45.973Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-16T22:43:45.973Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-16T22:43:54.149Z] Removing intermediate container c7bdba660080 [2020-07-16T22:43:54.149Z] ---> a488d7dcb68c [2020-07-16T22:43:54.149Z] Successfully built a488d7dcb68c [2020-07-16T22:43:54.149Z] 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-07-16T22:43:54.806Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-16T22:43:54.806Z] . [Pipeline] withDockerContainer [2020-07-16T22:43:54.910Z] prd-centos7-docker-4c-2g-986 does not seem to be running inside a container [2020-07-16T22:43:54.960Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-07-16T22:43:56.151Z] $ docker top bce1820f99a9562ff21902b77e562243e7c56336f2f8e1aa2db2c469d1ec71b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-16T22:43:56.669Z] + go version [2020-07-16T22:43:56.669Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-07-16T22:43:56.975Z] + make test [2020-07-16T22:43:56.975Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-16T22:43:57.920Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-16T22:44:02.607Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-988 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws [2020-07-16T22:44:02.719Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-07-16T22:44:07.899Z] using credential edgex-jenkins-ssh [2020-07-16T22:44:07.957Z] Cloning the remote Git repository [2020-07-16T22:44:07.957Z] Cloning with configured refspecs honoured and without tags [2020-07-16T22:44:08.031Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-16T22:44:08.031Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-16T22:44:08.031Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-16T22:44:08.031Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.014s coverage: 22.1% of statements [2020-07-16T22:44:08.614Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.042s coverage: 95.8% of statements [2020-07-16T22:44:08.018Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T22:44:08.125Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-07-16T22:44:08.194Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T22:44:08.196Z] > git --version # timeout=10 [2020-07-16T22:44:08.216Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T22:44:08.305Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-16T22:44:09.362Z] Fetching without tags [2020-07-16T22:44:09.887Z] Merging remotes/origin/master commit 43f76da7d4a1dba45abf65466c274475ddab04f4 into PR head commit 74b6c8dea2f14485f497dce5b6f71adf6526cd29 [2020-07-16T22:44:10.199Z] Merge succeeded, producing 99d58fa428eb986f759b7b8b13d86abbae2de089 [2020-07-16T22:44:10.199Z] Checking out Revision 99d58fa428eb986f759b7b8b13d86abbae2de089 (PR-553) [2020-07-16T22:44:09.278Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-16T22:44:09.296Z] > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 [2020-07-16T22:44:09.313Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-16T22:44:09.343Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-16T22:44:09.377Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-16T22:44:09.377Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T22:44:09.392Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-16T22:44:09.906Z] > git config core.sparsecheckout # timeout=10 [2020-07-16T22:44:09.922Z] > git checkout -f 74b6c8dea2f14485f497dce5b6f71adf6526cd29 # timeout=10 [2020-07-16T22:44:10.049Z] > git remote # timeout=10 [2020-07-16T22:44:10.069Z] > git config --get remote.origin.url # timeout=10 [2020-07-16T22:44:10.092Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-16T22:44:10.103Z] > git merge 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 [2020-07-16T22:44:10.183Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-16T22:44:10.208Z] > git config core.sparsecheckout # timeout=10 [2020-07-16T22:44:10.224Z] > git checkout -f 99d58fa428eb986f759b7b8b13d86abbae2de089 # timeout=10 [2020-07-16T22:44:14.932Z] Commit message: "Merge commit '43f76da7d4a1dba45abf65466c274475ddab04f4' into HEAD" [2020-07-16T22:44:14.941Z] > git rev-list --no-walk 74b6c8dea2f14485f497dce5b6f71adf6526cd29 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-16T22:44:16.252Z] ========================================================= [2020-07-16T22:44:16.252Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-07-16T22:44:16.252Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-16T22:44:17.526Z] + 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-07-16T22:44:18.521Z] Sending build context to Docker daemon 3.126MB [2020-07-16T22:44:18.521Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-16T22:44:18.521Z] Step 2/8 : FROM ${BASE} [2020-07-16T22:44:18.794Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-07-16T22:44:18.794Z] b538f80385f9: Pulling fs layer [2020-07-16T22:44:18.794Z] 74f711af9a0d: Pulling fs layer [2020-07-16T22:44:18.794Z] 99f96fe45779: Pulling fs layer [2020-07-16T22:44:18.794Z] fd7a069fd194: Pulling fs layer [2020-07-16T22:44:18.794Z] 66aa3694b03b: Pulling fs layer [2020-07-16T22:44:18.794Z] 170f70906a0f: Pulling fs layer [2020-07-16T22:44:18.794Z] ad7c5574e4b9: Pulling fs layer [2020-07-16T22:44:18.794Z] e772456be8f7: Pulling fs layer [2020-07-16T22:44:18.794Z] c890913d741a: Pulling fs layer [2020-07-16T22:44:18.794Z] 2480fcc9aa5a: Pulling fs layer [2020-07-16T22:44:18.794Z] fd7a069fd194: Waiting [2020-07-16T22:44:18.794Z] 66aa3694b03b: Waiting [2020-07-16T22:44:18.794Z] 170f70906a0f: Waiting [2020-07-16T22:44:18.794Z] 09adf4765672: Pulling fs layer [2020-07-16T22:44:18.794Z] 09adf4765672: Waiting [2020-07-16T22:44:18.794Z] ad7c5574e4b9: Waiting [2020-07-16T22:44:18.794Z] e772456be8f7: Waiting [2020-07-16T22:44:18.794Z] c890913d741a: Waiting [2020-07-16T22:44:18.794Z] 2480fcc9aa5a: Waiting [2020-07-16T22:44:18.794Z] 99f96fe45779: Verifying Checksum [2020-07-16T22:44:18.794Z] 99f96fe45779: Download complete [2020-07-16T22:44:18.794Z] 74f711af9a0d: Verifying Checksum [2020-07-16T22:44:18.794Z] 74f711af9a0d: Download complete [2020-07-16T22:44:18.794Z] 66aa3694b03b: Verifying Checksum [2020-07-16T22:44:18.794Z] 66aa3694b03b: Download complete [2020-07-16T22:44:18.794Z] 170f70906a0f: Download complete [2020-07-16T22:44:18.794Z] b538f80385f9: Verifying Checksum [2020-07-16T22:44:18.794Z] b538f80385f9: Download complete [2020-07-16T22:44:19.785Z] b538f80385f9: Pull complete [2020-07-16T22:44:20.062Z] 74f711af9a0d: Pull complete [2020-07-16T22:44:20.336Z] 99f96fe45779: Pull complete [2020-07-16T22:44:21.778Z] ad7c5574e4b9: Verifying Checksum [2020-07-16T22:44:21.778Z] ad7c5574e4b9: Download complete [2020-07-16T22:44:21.778Z] c890913d741a: Download complete [2020-07-16T22:44:23.231Z] 2480fcc9aa5a: Verifying Checksum [2020-07-16T22:44:23.231Z] 2480fcc9aa5a: Download complete [2020-07-16T22:44:23.231Z] 09adf4765672: Verifying Checksum [2020-07-16T22:44:23.231Z] 09adf4765672: Download complete [2020-07-16T22:44:23.829Z] e772456be8f7: Verifying Checksum [2020-07-16T22:44:23.829Z] e772456be8f7: Download complete [2020-07-16T22:44:24.423Z] fd7a069fd194: Verifying Checksum [2020-07-16T22:44:24.423Z] fd7a069fd194: Download complete [2020-07-16T22:44:36.820Z] fd7a069fd194: Pull complete [2020-07-16T22:44:36.820Z] 66aa3694b03b: Pull complete [2020-07-16T22:44:36.820Z] 170f70906a0f: Pull complete [2020-07-16T22:44:38.793Z] ad7c5574e4b9: Pull complete [2020-07-16T22:44:40.760Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.135s coverage: 11.4% of statements [2020-07-16T22:44:40.760Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.019s coverage: 21.7% of statements [2020-07-16T22:44:40.760Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-16T22:44:40.760Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.079s coverage: 36.9% of statements [2020-07-16T22:44:40.760Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-16T22:44:40.760Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.289s coverage: 65.2% of statements [2020-07-16T22:44:40.760Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-16T22:44:40.760Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-16T22:44:40.760Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-16T22:44:40.760Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.014s coverage: 52.6% of statements [2020-07-16T22:44:40.760Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.102s coverage: 68.9% of statements [2020-07-16T22:44:40.760Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-16T22:44:40.760Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-16T22:44:40.760Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-16T22:44:40.760Z] gofmt -l . [2020-07-16T22:44:40.760Z] [ "`gofmt -l .`" = "" ] [2020-07-16T22:44:40.760Z] ./bin/test-attribution-txt.sh [2020-07-16T22:44:41.335Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-16T22:44:41.920Z] Stashed 1 file(s) [Pipeline] } [2020-07-16T22:44:41.929Z] $ docker stop --time=1 bce1820f99a9562ff21902b77e562243e7c56336f2f8e1aa2db2c469d1ec71b0 [2020-07-16T22:44:43.088Z] e772456be8f7: Pull complete [2020-07-16T22:44:43.088Z] c890913d741a: Pull complete [2020-07-16T22:44:43.406Z] $ docker rm -f bce1820f99a9562ff21902b77e562243e7c56336f2f8e1aa2db2c469d1ec71b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-16T22:44:44.591Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-16T22:44:44.882Z] + ls -al . [2020-07-16T22:44:44.883Z] total 184 [2020-07-16T22:44:44.883Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jul 16 22:44 . [2020-07-16T22:44:44.883Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 16 22:43 .. [2020-07-16T22:44:44.883Z] drwxrwxr-x. 3 jenkins jenkins 20 Jul 16 22:43 api [2020-07-16T22:44:44.883Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 16 22:43 bin [2020-07-16T22:44:44.883Z] -rw-r--r--. 1 jenkins jenkins 110877 Jul 16 22:44 coverage.out [2020-07-16T22:44:44.883Z] -rw-rw-r--. 1 jenkins jenkins 936 Jul 16 22:43 Dockerfile.build [2020-07-16T22:44:44.883Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 16 22:43 .dockerignore [2020-07-16T22:44:44.883Z] drwxrwxr-x. 4 jenkins jenkins 48 Jul 16 22:43 example [2020-07-16T22:44:44.883Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 16 22:43 .git [2020-07-16T22:44:44.883Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 16 22:43 .github [2020-07-16T22:44:44.883Z] -rw-rw-r--. 1 jenkins jenkins 138 Jul 16 22:43 .gitignore [2020-07-16T22:44:44.883Z] -rw-r--r--. 1 jenkins jenkins 446 Jul 16 22:44 go.mod [2020-07-16T22:44:44.883Z] -rw-r--r--. 1 jenkins jenkins 12179 Jul 16 22:44 go.sum [2020-07-16T22:44:44.883Z] drwxrwxr-x. 13 jenkins jenkins 184 Jul 16 22:43 internal [2020-07-16T22:44:44.883Z] -rw-rw-r--. 1 jenkins jenkins 808 Jul 16 22:43 Jenkinsfile [2020-07-16T22:44:44.883Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jul 16 22:43 LICENSE [2020-07-16T22:44:44.883Z] -rw-rw-r--. 1 jenkins jenkins 892 Jul 16 22:43 Makefile [2020-07-16T22:44:44.883Z] drwxrwxr-x. 5 jenkins jenkins 50 Jul 16 22:43 pkg [2020-07-16T22:44:44.883Z] -rw-rw-r--. 1 jenkins jenkins 5101 Jul 16 22:43 README.md [2020-07-16T22:44:44.883Z] -rw-rw-r--. 1 jenkins jenkins 3997 Jul 16 22:43 RELEASE-NOTES.txt [2020-07-16T22:44:44.883Z] drwxrwxr-x. 3 jenkins jenkins 58 Jul 16 22:43 .semver [2020-07-16T22:44:44.883Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 16 22:43 snap [2020-07-16T22:44:44.883Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 16 22:41 VERSION [2020-07-16T22:44:44.883Z] -rw-rw-r--. 1 jenkins jenkins 222 Jul 16 22:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-16T22:44:45.064Z] 2480fcc9aa5a: Pull complete [2020-07-16T22:44:45.183Z] + 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=e526c7dfd1f7d6429ba6c457dd4eb56057764233 --label arch=amd64 --label version=0.0.0 . [2020-07-16T22:44:45.445Z] Sending build context to Docker daemon 3.254MB [2020-07-16T22:44:45.445Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-07-16T22:44:45.445Z] Step 2/23 : FROM ${BASE} AS builder [2020-07-16T22:44:45.445Z] ---> a488d7dcb68c [2020-07-16T22:44:45.445Z] Step 3/23 : ARG MAKE='make build' [2020-07-16T22:44:45.658Z] 09adf4765672: Pull complete [2020-07-16T22:44:45.658Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-07-16T22:44:45.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-07-16T22:44:45.658Z] ---> 2248a725d1cf [2020-07-16T22:44:45.658Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T22:44:46.016Z] ---> Running in 0f9863ac4dda [2020-07-16T22:44:46.016Z] Removing intermediate container 0f9863ac4dda [2020-07-16T22:44:46.016Z] ---> 047d5b4ed42f [2020-07-16T22:44:46.016Z] Step 4/23 : WORKDIR /device-sdk-go [2020-07-16T22:44:46.016Z] ---> Running in 5836d5f1d6f2 [2020-07-16T22:44:46.277Z] Removing intermediate container 5836d5f1d6f2 [2020-07-16T22:44:46.277Z] ---> 1508e736140a [2020-07-16T22:44:46.277Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T22:44:46.277Z] ---> Running in a729bfb14573 [2020-07-16T22:44:46.538Z] Removing intermediate container a729bfb14573 [2020-07-16T22:44:46.538Z] ---> 651b0f5faf71 [2020-07-16T22:44:46.538Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-16T22:44:46.538Z] ---> Running in 44d1585d2c58 [2020-07-16T22:44:47.479Z] Removing intermediate container 44d1585d2c58 [2020-07-16T22:44:47.479Z] ---> b1354a2bf19e [2020-07-16T22:44:47.479Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-07-16T22:44:47.479Z] ---> Running in 95ea6e226328 [2020-07-16T22:44:47.739Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-16T22:44:48.679Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-16T22:44:49.250Z] OK: 166 MiB in 39 packages [2020-07-16T22:44:49.511Z] Removing intermediate container 95ea6e226328 [2020-07-16T22:44:49.511Z] ---> 2b0069e3fd79 [2020-07-16T22:44:49.511Z] Step 8/23 : COPY . . [2020-07-16T22:44:50.453Z] ---> 65658117ee60 [2020-07-16T22:44:50.453Z] Step 9/23 : RUN ${MAKE} [2020-07-16T22:44:50.713Z] ---> Running in 68149711c5d9 [2020-07-16T22:44:50.974Z] 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-07-16T22:44:51.072Z] ---> Running in 944c114777c8 [2020-07-16T22:44:51.072Z] Removing intermediate container 944c114777c8 [2020-07-16T22:44:51.072Z] ---> d4af6ce3973a [2020-07-16T22:44:51.072Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-16T22:44:51.344Z] ---> Running in 58b2379593af [2020-07-16T22:44:53.961Z] Removing intermediate container 58b2379593af [2020-07-16T22:44:53.961Z] ---> 1ae15ae50237 [2020-07-16T22:44:53.961Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-16T22:44:53.961Z] ---> Running in dd09ae1fe7af [2020-07-16T22:44:55.394Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-16T22:44:56.376Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-16T22:44:57.364Z] OK: 142 MiB in 39 packages [2020-07-16T22:44:58.347Z] Removing intermediate container dd09ae1fe7af [2020-07-16T22:44:58.347Z] ---> 218b306ddb43 [2020-07-16T22:44:58.347Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-16T22:44:58.622Z] ---> Running in 7ab3803a430f [2020-07-16T22:44:59.218Z] Removing intermediate container 7ab3803a430f [2020-07-16T22:44:59.218Z] ---> e99a1389ffa2 [2020-07-16T22:44:59.218Z] Step 7/8 : COPY . . [2020-07-16T22:44:59.250Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-07-16T22:45:00.193Z] Removing intermediate container 68149711c5d9 [2020-07-16T22:45:00.193Z] ---> 82949f4afe8d [2020-07-16T22:45:00.193Z] Step 10/23 : FROM scratch [2020-07-16T22:45:00.193Z] ---> [2020-07-16T22:45:00.193Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T22:45:00.193Z] ---> Running in 851e26051719 [2020-07-16T22:45:00.193Z] Removing intermediate container 851e26051719 [2020-07-16T22:45:00.193Z] ---> a324959288f5 [2020-07-16T22:45:00.193Z] Step 12/23 : ENV APP_PORT=49990 [2020-07-16T22:45:00.193Z] ---> Running in d7cb99e095cd [2020-07-16T22:45:00.455Z] Removing intermediate container d7cb99e095cd [2020-07-16T22:45:00.455Z] ---> c3de25b3d453 [2020-07-16T22:45:00.455Z] Step 13/23 : EXPOSE $APP_PORT [2020-07-16T22:45:00.455Z] ---> Running in e1aa77ccd305 [2020-07-16T22:45:00.652Z] ---> 3844cff009d1 [2020-07-16T22:45:00.652Z] Step 8/8 : RUN go mod download [2020-07-16T22:45:00.652Z] ---> Running in 0c8d53d3208b [2020-07-16T22:45:00.718Z] Removing intermediate container e1aa77ccd305 [2020-07-16T22:45:00.718Z] ---> 3bd1c496f622 [2020-07-16T22:45:00.718Z] Step 14/23 : WORKDIR / [2020-07-16T22:45:00.718Z] ---> Running in 58f2dcf87857 [2020-07-16T22:45:00.982Z] Removing intermediate container 58f2dcf87857 [2020-07-16T22:45:00.982Z] ---> 455115d3ca13 [2020-07-16T22:45:00.982Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-07-16T22:45:01.935Z] ---> 4879bae73f3c [2020-07-16T22:45:01.935Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-07-16T22:45:02.203Z] ---> bca7a768ae2f [2020-07-16T22:45:02.203Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-07-16T22:45:02.203Z] ---> 5488065250db [2020-07-16T22:45:02.203Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-07-16T22:45:02.466Z] ---> aa7f36eda907 [2020-07-16T22:45:02.466Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-07-16T22:45:02.727Z] ---> 72d5267bb572 [2020-07-16T22:45:02.727Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-07-16T22:45:02.727Z] ---> Running in a0533c197126 [2020-07-16T22:45:02.990Z] Removing intermediate container a0533c197126 [2020-07-16T22:45:02.990Z] ---> 1f852ebc0c67 [2020-07-16T22:45:02.990Z] Step 21/23 : LABEL arch=amd64 [2020-07-16T22:45:02.990Z] ---> Running in 562ae55bf910 [2020-07-16T22:45:03.254Z] Removing intermediate container 562ae55bf910 [2020-07-16T22:45:03.254Z] ---> 4e3b4153c643 [2020-07-16T22:45:03.254Z] Step 22/23 : LABEL git_sha=e526c7dfd1f7d6429ba6c457dd4eb56057764233 [2020-07-16T22:45:03.254Z] ---> Running in ecdec8ebcf0e [2020-07-16T22:45:03.283Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-16T22:45:03.283Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-16T22:45:03.283Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-16T22:45:03.283Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-16T22:45:03.283Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-16T22:45:03.283Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-16T22:45:03.283Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-16T22:45:03.283Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-16T22:45:03.515Z] Removing intermediate container ecdec8ebcf0e [2020-07-16T22:45:03.515Z] ---> 6418d752e7bd [2020-07-16T22:45:03.515Z] Step 23/23 : LABEL version=0.0.0 [2020-07-16T22:45:03.515Z] ---> Running in ac8168ff06a6 [2020-07-16T22:45:03.515Z] Removing intermediate container ac8168ff06a6 [2020-07-16T22:45:03.515Z] ---> b4f1fcdd3931 [2020-07-16T22:45:03.515Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-16T22:45:03.515Z] Successfully built b4f1fcdd3931 [2020-07-16T22:45:03.515Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [2020-07-16T22:45:03.557Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-16T22:45:03.557Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-16T22:45:03.557Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-16T22:45:03.557Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-16T22:45:03.557Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-16T22:45:03.557Z] go: finding github.com/fatih/color v1.7.0 [2020-07-16T22:45:03.557Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-16T22:45:03.557Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-16T22:45:03.557Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-16T22:45:03.557Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-16T22:45:03.557Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2020-07-16T22:45:03.829Z] go: finding github.com/google/uuid v1.1.0 [2020-07-16T22:45:03.829Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-16T22:45:03.829Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-16T22:45:03.829Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-16T22:45:03.829Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-16T22:45:03.829Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-16T22:45:03.829Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-16T22:45:03.829Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-16T22:45:03.829Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-16T22:45:03.829Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-16T22:45:03.829Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2020-07-16T22:45:04.100Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-16T22:45:04.100Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-16T22:45:04.100Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-16T22:45:04.100Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-16T22:45:04.100Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-16T22:45:04.100Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-16T22:45:04.100Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-16T22:45:04.100Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-16T22:45:04.100Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-07-16T22:45:04.371Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-16T22:45:04.371Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-16T22:45:04.371Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-16T22:45:04.371Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-16T22:45:04.371Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-16T22:45:04.371Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-16T22:45:04.371Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-16T22:45:04.643Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-16T22:45:04.643Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-16T22:45:04.643Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-16T22:45:04.643Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-16T22:45:04.643Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-16T22:45:04.643Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-16T22:45:04.643Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-16T22:45:04.643Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-16T22:45:04.643Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-16T22:45:04.643Z] go: finding github.com/posener/complete v1.1.1 [2020-07-16T22:45:04.643Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-16T22:45:04.643Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-16T22:45:04.917Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-16T22:45:04.917Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-16T22:45:04.917Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-16T22:45:04.917Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-16T22:45:04.917Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-16T22:45:04.917Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-16T22:45:04.917Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-16T22:45:04.917Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-16T22:45:04.917Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-16T22:45:04.917Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-16T22:45:15.110Z] Removing intermediate container 0c8d53d3208b [2020-07-16T22:45:15.110Z] ---> 875407904e68 [2020-07-16T22:45:15.110Z] Successfully built 875407904e68 [2020-07-16T22:45:15.110Z] 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-07-16T22:45:15.759Z] + docker inspect -f . ci-base-image-arm64 [2020-07-16T22:45:15.759Z] . [Pipeline] withDockerContainer [2020-07-16T22:45:16.043Z] prd-ubuntu18.04-docker-arm64-4c-16g-988 does not seem to be running inside a container [2020-07-16T22:45:16.149Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-07-16T22:45:18.165Z] $ docker top d3efff0b3c57ad965bc799055a232c7817beb6f1db25f185f962951671cdf243 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-16T22:45:19.609Z] + go version [2020-07-16T22:45:19.609Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-07-16T22:45:20.675Z] + make test [2020-07-16T22:45:20.675Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-16T22:45:21.660Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-16T22:45:54.047Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-16T22:45:54.047Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-16T22:45:54.047Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-16T22:45:54.047Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.052s coverage: 22.1% of statements [2020-07-16T22:45:55.025Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.182s coverage: 95.8% of statements [2020-07-16T22:46:27.342Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.096s coverage: 11.4% of statements [2020-07-16T22:46:27.342Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.020s coverage: 21.7% of statements [2020-07-16T22:46:27.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-16T22:46:27.342Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.201s coverage: 36.9% of statements [2020-07-16T22:46:27.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-16T22:46:27.342Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.547s coverage: 65.2% of statements [2020-07-16T22:46:27.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-16T22:46:27.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-16T22:46:27.342Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-16T22:46:27.342Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.040s coverage: 52.6% of statements [2020-07-16T22:46:27.342Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.333s coverage: 68.9% of statements [2020-07-16T22:46:27.342Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-16T22:46:27.342Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-16T22:46:27.342Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-16T22:46:30.749Z] gofmt -l . [2020-07-16T22:46:30.749Z] [ "`gofmt -l .`" = "" ] [2020-07-16T22:46:31.025Z] ./bin/test-attribution-txt.sh [2020-07-16T22:46:31.621Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-16T22:46:32.229Z] Warning: overwriting stash ‘coverage-report’ [2020-07-16T22:46:32.711Z] Stashed 1 file(s) [Pipeline] } [2020-07-16T22:46:32.718Z] $ docker stop --time=1 d3efff0b3c57ad965bc799055a232c7817beb6f1db25f185f962951671cdf243 [2020-07-16T22:46:34.880Z] $ docker rm -f d3efff0b3c57ad965bc799055a232c7817beb6f1db25f185f962951671cdf243 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-16T22:46:36.078Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-16T22:46:36.408Z] + ls -al . [2020-07-16T22:46:36.408Z] total 224 [2020-07-16T22:46:36.408Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 16 22:46 . [2020-07-16T22:46:36.408Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 22:44 .. [2020-07-16T22:46:36.408Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 22:44 .dockerignore [2020-07-16T22:46:36.408Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 22:44 .git [2020-07-16T22:46:36.408Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 22:44 .github [2020-07-16T22:46:36.408Z] -rw-rw-r-- 1 jenkins jenkins 138 Jul 16 22:44 .gitignore [2020-07-16T22:46:36.408Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 22:44 .semver [2020-07-16T22:46:36.408Z] -rw-rw-r-- 1 jenkins jenkins 936 Jul 16 22:44 Dockerfile.build [2020-07-16T22:46:36.408Z] -rw-rw-r-- 1 jenkins jenkins 808 Jul 16 22:44 Jenkinsfile [2020-07-16T22:46:36.408Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 16 22:44 LICENSE [2020-07-16T22:46:36.408Z] -rw-rw-r-- 1 jenkins jenkins 892 Jul 16 22:44 Makefile [2020-07-16T22:46:36.408Z] -rw-rw-r-- 1 jenkins jenkins 5101 Jul 16 22:44 README.md [2020-07-16T22:46:36.408Z] -rw-rw-r-- 1 jenkins jenkins 3997 Jul 16 22:44 RELEASE-NOTES.txt [2020-07-16T22:46:36.408Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 16 22:41 VERSION [2020-07-16T22:46:36.408Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 22:44 api [2020-07-16T22:46:36.408Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 22:44 bin [2020-07-16T22:46:36.408Z] -rw-r--r-- 1 jenkins jenkins 110877 Jul 16 22:46 coverage.out [2020-07-16T22:46:36.408Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 22:44 example [2020-07-16T22:46:36.408Z] -rw-r--r-- 1 jenkins jenkins 446 Jul 16 22:46 go.mod [2020-07-16T22:46:36.408Z] -rw-r--r-- 1 jenkins jenkins 12179 Jul 16 22:46 go.sum [2020-07-16T22:46:36.408Z] drwxrwxr-x 13 jenkins jenkins 4096 Jul 16 22:44 internal [2020-07-16T22:46:36.408Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 16 22:44 pkg [2020-07-16T22:46:36.408Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 22:44 snap [2020-07-16T22:46:36.408Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 16 22:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-16T22:46:36.747Z] + 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=e526c7dfd1f7d6429ba6c457dd4eb56057764233 --label arch=arm64 --label version=0.0.0 . [2020-07-16T22:46:37.362Z] Sending build context to Docker daemon 3.254MB [2020-07-16T22:46:37.362Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-07-16T22:46:37.362Z] Step 2/23 : FROM ${BASE} AS builder [2020-07-16T22:46:37.362Z] ---> 875407904e68 [2020-07-16T22:46:37.362Z] Step 3/23 : ARG MAKE='make build' [2020-07-16T22:46:37.635Z] ---> Running in 460d3ab1135d [2020-07-16T22:46:37.910Z] Removing intermediate container 460d3ab1135d [2020-07-16T22:46:37.910Z] ---> 4850b1ffd9ed [2020-07-16T22:46:37.910Z] Step 4/23 : WORKDIR /device-sdk-go [2020-07-16T22:46:38.183Z] ---> Running in 77e4da8b783a [2020-07-16T22:46:38.780Z] Removing intermediate container 77e4da8b783a [2020-07-16T22:46:38.780Z] ---> 453787a87b9d [2020-07-16T22:46:38.780Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T22:46:38.780Z] ---> Running in 57b77eea381c [2020-07-16T22:46:39.377Z] Removing intermediate container 57b77eea381c [2020-07-16T22:46:39.377Z] ---> 476117890f99 [2020-07-16T22:46:39.377Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-16T22:46:39.377Z] ---> Running in 76724f7dca0a [2020-07-16T22:46:41.987Z] Removing intermediate container 76724f7dca0a [2020-07-16T22:46:41.988Z] ---> c4508ed3e62c [2020-07-16T22:46:41.988Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-07-16T22:46:41.988Z] ---> Running in 6fa3a46eec62 [2020-07-16T22:46:43.418Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-16T22:46:44.389Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-16T22:46:45.016Z] OK: 142 MiB in 39 packages [2020-07-16T22:46:46.460Z] Removing intermediate container 6fa3a46eec62 [2020-07-16T22:46:46.460Z] ---> 36258ba7a4a9 [2020-07-16T22:46:46.460Z] Step 8/23 : COPY . . [2020-07-16T22:46:47.442Z] ---> 9d5eaa1411f8 [2020-07-16T22:46:47.442Z] Step 9/23 : RUN ${MAKE} [2020-07-16T22:46:47.720Z] ---> Running in 4e6cc5400df1 [2020-07-16T22:46:49.146Z] 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-07-16T22:47:15.969Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-07-16T22:47:16.946Z] Removing intermediate container 4e6cc5400df1 [2020-07-16T22:47:16.946Z] ---> 8efe1057a524 [2020-07-16T22:47:16.946Z] Step 10/23 : FROM scratch [2020-07-16T22:47:16.946Z] ---> [2020-07-16T22:47:16.946Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-16T22:47:16.946Z] ---> Running in d542a75527d4 [2020-07-16T22:47:17.218Z] Removing intermediate container d542a75527d4 [2020-07-16T22:47:17.218Z] ---> 3a0d3dd06db2 [2020-07-16T22:47:17.218Z] Step 12/23 : ENV APP_PORT=49990 [2020-07-16T22:47:17.488Z] ---> Running in f5bd7a47c4d0 [2020-07-16T22:47:17.762Z] Removing intermediate container f5bd7a47c4d0 [2020-07-16T22:47:17.762Z] ---> a43349794ce7 [2020-07-16T22:47:17.762Z] Step 13/23 : EXPOSE $APP_PORT [2020-07-16T22:47:17.762Z] ---> Running in 1fe34ae46d3d [2020-07-16T22:47:18.358Z] Removing intermediate container 1fe34ae46d3d [2020-07-16T22:47:18.358Z] ---> dc8c0287b40e [2020-07-16T22:47:18.358Z] Step 14/23 : WORKDIR / [2020-07-16T22:47:18.358Z] ---> Running in c392099f1ed5 [2020-07-16T22:47:18.951Z] Removing intermediate container c392099f1ed5 [2020-07-16T22:47:18.951Z] ---> a8185de26a46 [2020-07-16T22:47:18.951Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-07-16T22:47:19.929Z] ---> 350dfc1fa6af [2020-07-16T22:47:19.929Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-07-16T22:47:20.909Z] ---> a58d572b1b9e [2020-07-16T22:47:20.909Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-07-16T22:47:21.504Z] ---> 25e989dbec99 [2020-07-16T22:47:21.504Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-07-16T22:47:22.102Z] ---> a1f09af35c91 [2020-07-16T22:47:22.102Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-07-16T22:47:23.081Z] ---> 17219dca42b8 [2020-07-16T22:47:23.081Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-07-16T22:47:23.081Z] ---> Running in fae528720f80 [2020-07-16T22:47:23.353Z] Removing intermediate container fae528720f80 [2020-07-16T22:47:23.353Z] ---> 35bf93077b19 [2020-07-16T22:47:23.353Z] Step 21/23 : LABEL arch=arm64 [2020-07-16T22:47:23.637Z] ---> Running in 6647bc5f17ad [2020-07-16T22:47:23.909Z] Removing intermediate container 6647bc5f17ad [2020-07-16T22:47:23.909Z] ---> 6227fc325866 [2020-07-16T22:47:23.909Z] Step 22/23 : LABEL git_sha=e526c7dfd1f7d6429ba6c457dd4eb56057764233 [2020-07-16T22:47:24.180Z] ---> Running in b23e6d092aa7 [2020-07-16T22:47:24.450Z] Removing intermediate container b23e6d092aa7 [2020-07-16T22:47:24.450Z] ---> 818f5c28e78a [2020-07-16T22:47:24.450Z] Step 23/23 : LABEL version=0.0.0 [2020-07-16T22:47:24.720Z] ---> Running in 8a920e97d153 [2020-07-16T22:47:24.992Z] Removing intermediate container 8a920e97d153 [2020-07-16T22:47:24.992Z] ---> 6488bb9b0324 [2020-07-16T22:47:24.992Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-16T22:47:24.992Z] Successfully built 6488bb9b0324 [2020-07-16T22:47:24.992Z] 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-07-16T22:47:26.446Z] provisioning config files... [2020-07-16T22:47:26.455Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config5425368562644836856tmp [Pipeline] { [Pipeline] sh [2020-07-16T22:47:26.814Z] + curl -s https://codecov.io/bash [2020-07-16T22:47:26.814Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config5425368562644836856tmp [Pipeline] } [2020-07-16T22:47:27.082Z] 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-07-16T22:47:28.368Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-16T22:47:28.926Z] ---> package-listing.sh [2020-07-16T22:47:28.926Z] ++ facter osfamily [2020-07-16T22:47:28.926Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-16T22:47:28.926Z] + OS_FAMILY=redhat [2020-07-16T22:47:28.926Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-553 [2020-07-16T22:47:28.926Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-16T22:47:28.926Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-16T22:47:28.926Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-16T22:47:28.926Z] + PACKAGES=/tmp/packages_start.txt [2020-07-16T22:47:28.926Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' [2020-07-16T22:47:28.926Z] + PACKAGES=/tmp/packages_end.txt [2020-07-16T22:47:28.926Z] + case "${OS_FAMILY}" in [2020-07-16T22:47:28.926Z] + rpm -qa [2020-07-16T22:47:28.926Z] + sort [2020-07-16T22:47:33.129Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-16T22:47:33.129Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-16T22:47:33.129Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-16T22:47:33.129Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' [2020-07-16T22:47:33.129Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ [2020-07-16T22:47:33.129Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ [Pipeline] isUnix [Pipeline] sh [2020-07-16T22:47:33.503Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-16T22:47:33.503Z] [2020-07-16T22:47:33.503Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-16T22:47:33.837Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-16T22:47:33.837Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-16T22:47:33.837Z] c9b1b535fdd9: Pulling fs layer [2020-07-16T22:47:33.837Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-16T22:47:33.837Z] 756a868c4378: Pulling fs layer [2020-07-16T22:47:33.837Z] 444b2fc9a129: Pulling fs layer [2020-07-16T22:47:33.837Z] ea15f1150254: Pulling fs layer [2020-07-16T22:47:33.837Z] 41b27a9f41bf: Pulling fs layer [2020-07-16T22:47:33.837Z] 28c525ee5125: Pulling fs layer [2020-07-16T22:47:33.837Z] 094b1ea09ed8: Pulling fs layer [2020-07-16T22:47:33.837Z] 138eaada9080: Pulling fs layer [2020-07-16T22:47:33.837Z] 0622d0fa9048: Pulling fs layer [2020-07-16T22:47:33.837Z] 41b27a9f41bf: Waiting [2020-07-16T22:47:33.837Z] 28c525ee5125: Waiting [2020-07-16T22:47:33.837Z] 094b1ea09ed8: Waiting [2020-07-16T22:47:33.837Z] 138eaada9080: Waiting [2020-07-16T22:47:33.837Z] 444b2fc9a129: Waiting [2020-07-16T22:47:33.837Z] ea15f1150254: Waiting [2020-07-16T22:47:33.837Z] 0622d0fa9048: Waiting [2020-07-16T22:47:33.837Z] 2cc5ad85d9ab: Verifying Checksum [2020-07-16T22:47:33.837Z] 2cc5ad85d9ab: Download complete [2020-07-16T22:47:33.837Z] 444b2fc9a129: Verifying Checksum [2020-07-16T22:47:33.837Z] 444b2fc9a129: Download complete [2020-07-16T22:47:33.837Z] c9b1b535fdd9: Verifying Checksum [2020-07-16T22:47:33.837Z] c9b1b535fdd9: Download complete [2020-07-16T22:47:33.837Z] ea15f1150254: Verifying Checksum [2020-07-16T22:47:33.837Z] ea15f1150254: Download complete [2020-07-16T22:47:33.837Z] 28c525ee5125: Verifying Checksum [2020-07-16T22:47:33.837Z] 28c525ee5125: Download complete [2020-07-16T22:47:34.122Z] 756a868c4378: Verifying Checksum [2020-07-16T22:47:34.122Z] 756a868c4378: Download complete [2020-07-16T22:47:34.397Z] 094b1ea09ed8: Verifying Checksum [2020-07-16T22:47:34.397Z] 094b1ea09ed8: Download complete [2020-07-16T22:47:34.397Z] 138eaada9080: Verifying Checksum [2020-07-16T22:47:34.397Z] 138eaada9080: Download complete [2020-07-16T22:47:34.397Z] c9b1b535fdd9: Pull complete [2020-07-16T22:47:34.397Z] 0622d0fa9048: Verifying Checksum [2020-07-16T22:47:34.397Z] 0622d0fa9048: Download complete [2020-07-16T22:47:34.659Z] 2cc5ad85d9ab: Pull complete [2020-07-16T22:47:34.659Z] 41b27a9f41bf: Verifying Checksum [2020-07-16T22:47:34.659Z] 41b27a9f41bf: Download complete [2020-07-16T22:47:37.204Z] 756a868c4378: Pull complete [2020-07-16T22:47:37.204Z] 444b2fc9a129: Pull complete [2020-07-16T22:47:37.204Z] ea15f1150254: Pull complete [2020-07-16T22:47:41.421Z] 41b27a9f41bf: Pull complete [2020-07-16T22:47:41.421Z] 28c525ee5125: Pull complete [2020-07-16T22:47:43.966Z] 094b1ea09ed8: Pull complete [2020-07-16T22:47:44.226Z] 138eaada9080: Pull complete [2020-07-16T22:47:44.486Z] 0622d0fa9048: Pull complete [2020-07-16T22:47:44.486Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-16T22:47:44.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-16T22:47:44.486Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-16T22:47:44.615Z] prd-centos7-docker-4c-2g-982 does not seem to be running inside a container [2020-07-16T22:47:44.667Z] $ 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-553 -v /w/workspace/dgexfoundry_device-sdk-go_PR-553:/w/workspace/dgexfoundry_device-sdk-go_PR-553:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-07-16T22:47:48.511Z] $ docker top d99b32b817fe354c42a458f1922ca7381496beed236ede06135c84a188c34d77 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-16T22:47:48.726Z] provisioning config files... [2020-07-16T22:47:48.741Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config5400866797826360tmp [Pipeline] { [Pipeline] echo [2020-07-16T22:47:48.815Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-16T22:47:49.100Z] ---> create-netrc.sh [Pipeline] echo [2020-07-16T22:47:49.109Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-16T22:47:49.398Z] ---> logs-deploy.sh [2020-07-16T22:47:49.398Z] + ARCHIVE_ARTIFACTS= [2020-07-16T22:47:49.398Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-16T22:47:49.398Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-16T22:47:49.398Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-16T22:47:49.398Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/2 [2020-07-16T22:47:49.398Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/2/ [2020-07-16T22:47:49.398Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/2 /w/workspace/dgexfoundry_device-sdk-go_PR-553 [2020-07-16T22:47:50.337Z] Archives upload complete. [2020-07-16T22:47:50.597Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/2/