Pull request #553 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 43f76da7d4a1dba45abf65466c274475ddab04f4 rather than 9d54caf9abaa0436d1d8ddd3f9e4520998de6eb9 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-246’ Running on prd-centos7-docker-4c-2g-252 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 Fetching without tags > 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 > 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 Merging remotes/origin/master commit 43f76da7d4a1dba45abf65466c274475ddab04f4 into PR head commit 9d54caf9abaa0436d1d8ddd3f9e4520998de6eb9 Merge succeeded, producing 5fc4b4eb1c1b3c3664880696f3875fd91377abb2 Checking out Revision 5fc4b4eb1c1b3c3664880696f3875fd91377abb2 (PR-553) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d54caf9abaa0436d1d8ddd3f9e4520998de6eb9 # 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 5fc4b4eb1c1b3c3664880696f3875fd91377abb2 # timeout=10 Commit message: "Merge commit '43f76da7d4a1dba45abf65466c274475ddab04f4' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-20T06:45:43.396Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk af9bb1ad946648a0389733700bac713e53ae23ca # timeout=10 [Pipeline] withCredentials [2020-07-20T06:45:43.632Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-20T06:45:43.719Z] ========================================================= [2020-07-20T06:45:43.719Z] EdgeX Global Pipelines Version Info [2020-07-20T06:45:43.719Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-20T06:45:45.117Z] ------------------- [2020-07-20T06:45:45.117Z] stable info: [2020-07-20T06:45:45.117Z] ------------------- [2020-07-20T06:45:45.117Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-20T06:45:45.117Z] Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 [2020-07-20T06:45:45.117Z] Message: update stable to v1.0.99 [2020-07-20T06:45:46.500Z] ------------------- [2020-07-20T06:45:46.500Z] experimental info: [2020-07-20T06:45:46.500Z] ------------------- [2020-07-20T06:45:46.500Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-20T06:45:46.500Z] Commit SHA: a8036d3cfb972bc62d1aceff2a6c19ff9dda8919 [2020-07-20T06:45:46.500Z] 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-20T06:45:48.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-20T06:45:48.975Z] [2020-07-20T06:45:48.975Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-20T06:45:49.311Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-20T06:45:49.578Z] latest: Pulling from edgex-devops/git-semver [2020-07-20T06:45:49.578Z] 31603596830f: Pulling fs layer [2020-07-20T06:45:49.578Z] 2a8b12db71e7: Pulling fs layer [2020-07-20T06:45:49.578Z] 6ca5941a6612: Pulling fs layer [2020-07-20T06:45:49.578Z] ecc8261a40a4: Pulling fs layer [2020-07-20T06:45:49.578Z] ecc8261a40a4: Waiting [2020-07-20T06:45:49.578Z] 2a8b12db71e7: Verifying Checksum [2020-07-20T06:45:49.578Z] 2a8b12db71e7: Download complete [2020-07-20T06:45:49.578Z] 31603596830f: Verifying Checksum [2020-07-20T06:45:49.578Z] 31603596830f: Download complete [2020-07-20T06:45:49.578Z] ecc8261a40a4: Verifying Checksum [2020-07-20T06:45:49.578Z] ecc8261a40a4: Download complete [2020-07-20T06:45:49.842Z] 6ca5941a6612: Verifying Checksum [2020-07-20T06:45:49.842Z] 6ca5941a6612: Download complete [2020-07-20T06:45:49.842Z] 31603596830f: Pull complete [2020-07-20T06:45:50.107Z] 2a8b12db71e7: Pull complete [2020-07-20T06:45:50.686Z] 6ca5941a6612: Pull complete [2020-07-20T06:45:50.946Z] ecc8261a40a4: Pull complete [2020-07-20T06:45:50.946Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-20T06:45:50.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-20T06:45:50.946Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-20T06:45:51.049Z] prd-centos7-docker-4c-2g-252 does not seem to be running inside a container [2020-07-20T06:45:51.084Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-20T06:45:53.308Z] $ docker top bc4d370df5e483f3fdc57dcf3b3e7da06ad5cbc1975030a2a108705569436634 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-20T06:45:53.566Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-20T06:45:53.566Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-20T06:45:53.766Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-20T06:45:53.763Z] $ docker exec bc4d370df5e483f3fdc57dcf3b3e7da06ad5cbc1975030a2a108705569436634 ssh-agent [2020-07-20T06:45:53.928Z] SSH_AUTH_SOCK=/tmp/ssh-1EV5m30RCHB0/agent.11 [2020-07-20T06:45:53.928Z] SSH_AGENT_PID=16 [2020-07-20T06:45:53.938Z] Running ssh-add (command line suppressed) [2020-07-20T06:45:54.053Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_9073705199647610134.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_9073705199647610134.key) [2020-07-20T06:45:54.116Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-20T06:45:54.441Z] + git describe --exact-match --tags HEAD [2020-07-20T06:45:54.441Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-20T06:45:54.489Z] $ docker exec --env ******** --env ******** bc4d370df5e483f3fdc57dcf3b3e7da06ad5cbc1975030a2a108705569436634 ssh-agent -k [2020-07-20T06:45:54.609Z] unset SSH_AUTH_SOCK; [2020-07-20T06:45:54.611Z] unset SSH_AGENT_PID; [2020-07-20T06:45:54.611Z] echo Agent pid 16 killed; [2020-07-20T06:45:54.661Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-20T06:45:54.743Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-20T06:45:54.743Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-20T06:45:54.885Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-20T06:45:54.885Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-20T06:45:55.048Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-20T06:45:55.045Z] $ docker exec bc4d370df5e483f3fdc57dcf3b3e7da06ad5cbc1975030a2a108705569436634 ssh-agent [2020-07-20T06:45:55.215Z] SSH_AUTH_SOCK=/tmp/ssh-JxT6u5iskrXL/agent.44 [2020-07-20T06:45:55.215Z] SSH_AGENT_PID=49 [2020-07-20T06:45:55.221Z] Running ssh-add (command line suppressed) [2020-07-20T06:45:55.339Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_3160477590623132946.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_3160477590623132946.key) [2020-07-20T06:45:55.396Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-20T06:45:55.725Z] + git semver init [2020-07-20T06:45:55.725Z] # -> Open(): unable to determine branch for HEAD [2020-07-20T06:45:55.725Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.git [2020-07-20T06:45:55.725Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-553 [2020-07-20T06:45:55.725Z] # $SEMVER_REMOTE_NAME = origin [2020-07-20T06:45:55.725Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-20T06:45:55.725Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-20T06:45:55.725Z] # $SEMVER_BRANCH = PR-553 [2020-07-20T06:45:55.725Z] # $SEMVER_TEMP = /tmp/semver-627421718 [2020-07-20T06:45:55.725Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-07-20T06:45:56.296Z] # '/tmp/semver-627421718' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver' [2020-07-20T06:45:56.296Z] # -> Force: false [2020-07-20T06:45:56.296Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver [Pipeline] } [2020-07-20T06:45:56.300Z] $ docker exec --env ******** --env ******** bc4d370df5e483f3fdc57dcf3b3e7da06ad5cbc1975030a2a108705569436634 ssh-agent -k [2020-07-20T06:45:56.417Z] unset SSH_AUTH_SOCK; [2020-07-20T06:45:56.418Z] unset SSH_AGENT_PID; [2020-07-20T06:45:56.418Z] echo Agent pid 49 killed; [2020-07-20T06:45:56.468Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-20T06:45:56.915Z] + git semver [Pipeline] } [2020-07-20T06:45:56.922Z] $ docker stop --time=1 bc4d370df5e483f3fdc57dcf3b3e7da06ad5cbc1975030a2a108705569436634 [2020-07-20T06:45:58.443Z] $ docker rm -f bc4d370df5e483f3fdc57dcf3b3e7da06ad5cbc1975030a2a108705569436634 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-20T06:45:59.404Z] Stashed 74 file(s) [Pipeline] echo [2020-07-20T06:45:59.406Z] [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-20T06:46:14.688Z] Still waiting to schedule task [2020-07-20T06:46:14.688Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-07-20T06:46:14.690Z] Still waiting to schedule task [2020-07-20T06:46:14.690Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-07-20T06:48:27.000Z] Running on prd-centos7-docker-4c-2g-253 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws [2020-07-20T06:48:27.068Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-07-20T06:48:29.694Z] using credential edgex-jenkins-ssh [2020-07-20T06:48:29.745Z] Cloning the remote Git repository [2020-07-20T06:48:29.745Z] Cloning with configured refspecs honoured and without tags [2020-07-20T06:48:29.795Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-20T06:48:29.855Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-07-20T06:48:29.908Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-20T06:48:29.908Z] > git --version # timeout=10 [2020-07-20T06:48:29.924Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-20T06:48:29.955Z] > 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-20T06:48:30.717Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-20T06:48:30.726Z] > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 [2020-07-20T06:48:30.737Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-20T06:48:30.751Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-20T06:48:30.766Z] Fetching without tags [2020-07-20T06:48:31.157Z] Merging remotes/origin/master commit 43f76da7d4a1dba45abf65466c274475ddab04f4 into PR head commit 9d54caf9abaa0436d1d8ddd3f9e4520998de6eb9 [2020-07-20T06:48:31.271Z] Merge succeeded, producing 7197d6e60cf7f9d4acd929e65776827e46fe9829 [2020-07-20T06:48:31.271Z] Checking out Revision 7197d6e60cf7f9d4acd929e65776827e46fe9829 (PR-553) [2020-07-20T06:48:30.765Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-20T06:48:30.765Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-20T06:48:30.774Z] > 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-20T06:48:31.158Z] > git config core.sparsecheckout # timeout=10 [2020-07-20T06:48:31.164Z] > git checkout -f 9d54caf9abaa0436d1d8ddd3f9e4520998de6eb9 # timeout=10 [2020-07-20T06:48:31.207Z] > git remote # timeout=10 [2020-07-20T06:48:31.213Z] > git config --get remote.origin.url # timeout=10 [2020-07-20T06:48:31.217Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-20T06:48:31.221Z] > git merge 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 [2020-07-20T06:48:31.259Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-20T06:48:31.268Z] > git config core.sparsecheckout # timeout=10 [2020-07-20T06:48:31.272Z] > git checkout -f 7197d6e60cf7f9d4acd929e65776827e46fe9829 # timeout=10 [2020-07-20T06:48:34.922Z] Commit message: "Merge commit '43f76da7d4a1dba45abf65466c274475ddab04f4' into HEAD" [2020-07-20T06:48:34.934Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-07-20T06:48:34.920Z] > git rev-list --no-walk af9bb1ad946648a0389733700bac713e53ae23ca # timeout=10 [Pipeline] echo [2020-07-20T06:48:35.815Z] ========================================================= [2020-07-20T06:48:35.815Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-07-20T06:48:35.815Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-20T06:48:36.458Z] + 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-20T06:48:37.038Z] Sending build context to Docker daemon 3.125MB [2020-07-20T06:48:37.038Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-20T06:48:37.038Z] Step 2/8 : FROM ${BASE} [2020-07-20T06:48:37.038Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-07-20T06:48:37.038Z] df20fa9351a1: Pulling fs layer [2020-07-20T06:48:37.038Z] ed8968b2872e: Pulling fs layer [2020-07-20T06:48:37.038Z] a92cc7c5fd73: Pulling fs layer [2020-07-20T06:48:37.038Z] 2dd03ba5bac4: Pulling fs layer [2020-07-20T06:48:37.038Z] 1e091d79d1de: Pulling fs layer [2020-07-20T06:48:37.038Z] 481702a1767f: Pulling fs layer [2020-07-20T06:48:37.038Z] f64a6f60c768: Pulling fs layer [2020-07-20T06:48:37.038Z] e78d2573fc39: Pulling fs layer [2020-07-20T06:48:37.038Z] e876d2f968b6: Pulling fs layer [2020-07-20T06:48:37.038Z] ce8a83651883: Pulling fs layer [2020-07-20T06:48:37.038Z] 07967f4d0e4b: Pulling fs layer [2020-07-20T06:48:37.038Z] 2dd03ba5bac4: Waiting [2020-07-20T06:48:37.038Z] 1e091d79d1de: Waiting [2020-07-20T06:48:37.038Z] f64a6f60c768: Waiting [2020-07-20T06:48:37.038Z] e78d2573fc39: Waiting [2020-07-20T06:48:37.038Z] 481702a1767f: Waiting [2020-07-20T06:48:37.038Z] ce8a83651883: Waiting [2020-07-20T06:48:37.038Z] e876d2f968b6: Waiting [2020-07-20T06:48:37.038Z] 07967f4d0e4b: Waiting [2020-07-20T06:48:37.038Z] a92cc7c5fd73: Verifying Checksum [2020-07-20T06:48:37.038Z] a92cc7c5fd73: Download complete [2020-07-20T06:48:37.038Z] ed8968b2872e: Verifying Checksum [2020-07-20T06:48:37.038Z] ed8968b2872e: Download complete [2020-07-20T06:48:37.038Z] 1e091d79d1de: Verifying Checksum [2020-07-20T06:48:37.038Z] 1e091d79d1de: Download complete [2020-07-20T06:48:37.038Z] 481702a1767f: Verifying Checksum [2020-07-20T06:48:37.038Z] 481702a1767f: Download complete [2020-07-20T06:48:37.038Z] df20fa9351a1: Verifying Checksum [2020-07-20T06:48:37.038Z] df20fa9351a1: Download complete [2020-07-20T06:48:37.613Z] df20fa9351a1: Pull complete [2020-07-20T06:48:38.215Z] f64a6f60c768: Verifying Checksum [2020-07-20T06:48:38.215Z] f64a6f60c768: Download complete [2020-07-20T06:48:38.215Z] e876d2f968b6: Verifying Checksum [2020-07-20T06:48:38.215Z] e876d2f968b6: Download complete [2020-07-20T06:48:38.809Z] ce8a83651883: Verifying Checksum [2020-07-20T06:48:38.809Z] ce8a83651883: Download complete [2020-07-20T06:48:38.809Z] 07967f4d0e4b: Verifying Checksum [2020-07-20T06:48:38.809Z] 07967f4d0e4b: Download complete [2020-07-20T06:48:38.809Z] 2dd03ba5bac4: Verifying Checksum [2020-07-20T06:48:38.809Z] 2dd03ba5bac4: Download complete [2020-07-20T06:48:39.070Z] e78d2573fc39: Verifying Checksum [2020-07-20T06:48:39.071Z] e78d2573fc39: Download complete [2020-07-20T06:48:40.017Z] ed8968b2872e: Pull complete [2020-07-20T06:48:40.278Z] a92cc7c5fd73: Pull complete [2020-07-20T06:48:45.590Z] 2dd03ba5bac4: Pull complete [2020-07-20T06:48:45.590Z] 1e091d79d1de: Pull complete [2020-07-20T06:48:45.858Z] 481702a1767f: Pull complete [2020-07-20T06:48:51.160Z] f64a6f60c768: Pull complete [2020-07-20T06:48:54.506Z] e78d2573fc39: Pull complete [2020-07-20T06:48:54.506Z] e876d2f968b6: Pull complete [2020-07-20T06:48:55.455Z] ce8a83651883: Pull complete [2020-07-20T06:48:55.455Z] 07967f4d0e4b: Pull complete [2020-07-20T06:48:55.455Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-07-20T06:48:55.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-07-20T06:48:55.455Z] ---> 5d7c900382c6 [2020-07-20T06:48:55.455Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-20T06:48:57.385Z] ---> Running in 7e621d640e80 [2020-07-20T06:48:57.385Z] Removing intermediate container 7e621d640e80 [2020-07-20T06:48:57.385Z] ---> fb7579e352e4 [2020-07-20T06:48:57.385Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-20T06:48:57.385Z] ---> Running in b3a99a88a800 [2020-07-20T06:48:58.328Z] Removing intermediate container b3a99a88a800 [2020-07-20T06:48:58.328Z] ---> 818ed6e50584 [2020-07-20T06:48:58.328Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-20T06:48:58.328Z] ---> Running in 5de857383d1c [2020-07-20T06:48:59.270Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-20T06:48:59.842Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-20T06:49:00.104Z] OK: 166 MiB in 39 packages [2020-07-20T06:49:00.675Z] Removing intermediate container 5de857383d1c [2020-07-20T06:49:00.675Z] ---> 73e3698391f1 [2020-07-20T06:49:00.675Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-20T06:49:00.675Z] ---> Running in 04706922a0e5 [2020-07-20T06:49:00.937Z] Removing intermediate container 04706922a0e5 [2020-07-20T06:49:00.937Z] ---> d03dfd9583da [2020-07-20T06:49:00.937Z] Step 7/8 : COPY . . [2020-07-20T06:49:02.330Z] ---> eb4e04cb0aa1 [2020-07-20T06:49:02.330Z] Step 8/8 : RUN go mod download [2020-07-20T06:49:02.330Z] ---> Running in 9d12da3bd0db [2020-07-20T06:49:04.255Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-20T06:49:04.255Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-20T06:49:04.255Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-20T06:49:04.255Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-20T06:49:04.255Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-20T06:49:04.255Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-20T06:49:04.255Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-20T06:49:04.255Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-20T06:49:04.255Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-20T06:49:04.255Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-20T06:49:04.255Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-20T06:49:04.255Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-20T06:49:04.255Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-20T06:49:04.255Z] go: finding github.com/fatih/color v1.7.0 [2020-07-20T06:49:04.255Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-20T06:49:04.255Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-20T06:49:04.255Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-20T06:49:04.255Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-20T06:49:04.255Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-20T06:49:04.255Z] go: finding github.com/google/uuid v1.1.0 [2020-07-20T06:49:04.255Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-20T06:49:04.255Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-20T06:49:04.255Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-20T06:49:04.255Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-20T06:49:04.255Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-20T06:49:04.255Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-20T06:49:04.517Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-20T06:49:04.517Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-20T06:49:04.517Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-20T06:49:04.517Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-20T06:49:04.517Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-20T06:49:04.517Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-20T06:49:04.517Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-20T06:49:04.517Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-20T06:49:04.517Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-20T06:49:04.517Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-20T06:49:04.517Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-20T06:49:04.779Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-20T06:49:04.779Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-20T06:49:04.779Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-20T06:49:04.779Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-20T06:49:04.779Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-20T06:49:04.779Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-20T06:49:04.779Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-20T06:49:04.779Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-20T06:49:04.779Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-20T06:49:04.779Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-20T06:49:04.779Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-20T06:49:04.779Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-20T06:49:04.779Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-20T06:49:05.041Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-20T06:49:05.041Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-20T06:49:05.041Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-20T06:49:05.041Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-20T06:49:05.041Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-20T06:49:05.041Z] go: finding github.com/posener/complete v1.1.1 [2020-07-20T06:49:05.041Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-20T06:49:05.041Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-20T06:49:05.041Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-20T06:49:05.041Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-20T06:49:05.041Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-20T06:49:05.041Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-20T06:49:05.041Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-20T06:49:05.305Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-20T06:49:05.305Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-20T06:49:05.305Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-20T06:49:05.305Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-20T06:49:05.305Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-20T06:49:13.513Z] Removing intermediate container 9d12da3bd0db [2020-07-20T06:49:13.513Z] ---> b9060d3da8a3 [2020-07-20T06:49:13.513Z] Successfully built b9060d3da8a3 [2020-07-20T06:49:13.513Z] 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-20T06:49:14.114Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-20T06:49:14.114Z] . [Pipeline] withDockerContainer [2020-07-20T06:49:14.227Z] prd-centos7-docker-4c-2g-253 does not seem to be running inside a container [2020-07-20T06:49:14.272Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** ci-base-image-x86_64 cat [2020-07-20T06:49:15.580Z] $ docker top 0a12a8f44c0eef8b31b417c571dad0b7a978331829bf1a60f0d5ca668e5c8cf1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-20T06:49:16.065Z] + go version [2020-07-20T06:49:16.065Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-07-20T06:49:16.376Z] + make test [2020-07-20T06:49:16.376Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-20T06:49:17.330Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-20T06:49:27.427Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-20T06:49:27.427Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-20T06:49:27.427Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-20T06:49:27.427Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.018s coverage: 22.1% of statements [2020-07-20T06:49:29.356Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.046s coverage: 95.8% of statements [2020-07-20T06:49:47.380Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-254 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws [2020-07-20T06:49:47.419Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-07-20T06:49:52.299Z] using credential edgex-jenkins-ssh [2020-07-20T06:49:52.348Z] Cloning the remote Git repository [2020-07-20T06:49:52.348Z] Cloning with configured refspecs honoured and without tags [2020-07-20T06:49:52.402Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-07-20T06:49:52.505Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-07-20T06:49:52.573Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-20T06:49:52.576Z] > git --version # timeout=10 [2020-07-20T06:49:52.600Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-20T06:49:52.652Z] > 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-20T06:49:53.588Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-20T06:49:53.617Z] > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 [2020-07-20T06:49:53.633Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-20T06:49:53.657Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-07-20T06:49:53.728Z] Fetching without tags [2020-07-20T06:49:54.207Z] Merging remotes/origin/master commit 43f76da7d4a1dba45abf65466c274475ddab04f4 into PR head commit 9d54caf9abaa0436d1d8ddd3f9e4520998de6eb9 [2020-07-20T06:49:54.475Z] Merge succeeded, producing 8378c48c5c9df4762fcf58d82b3ad473d290eaad [2020-07-20T06:49:54.475Z] Checking out Revision 8378c48c5c9df4762fcf58d82b3ad473d290eaad (PR-553) [2020-07-20T06:49:53.735Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-07-20T06:49:53.736Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-20T06:49:53.750Z] > 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-20T06:49:54.221Z] > git config core.sparsecheckout # timeout=10 [2020-07-20T06:49:54.233Z] > git checkout -f 9d54caf9abaa0436d1d8ddd3f9e4520998de6eb9 # timeout=10 [2020-07-20T06:49:54.336Z] > git remote # timeout=10 [2020-07-20T06:49:54.352Z] > git config --get remote.origin.url # timeout=10 [2020-07-20T06:49:54.362Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-20T06:49:54.373Z] > git merge 43f76da7d4a1dba45abf65466c274475ddab04f4 # timeout=10 [2020-07-20T06:49:54.457Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-20T06:49:54.476Z] > git config core.sparsecheckout # timeout=10 [2020-07-20T06:49:54.492Z] > git checkout -f 8378c48c5c9df4762fcf58d82b3ad473d290eaad # timeout=10 [2020-07-20T06:49:58.676Z] Commit message: "Merge commit '43f76da7d4a1dba45abf65466c274475ddab04f4' into HEAD" [2020-07-20T06:49:58.704Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2020-07-20T06:49:58.679Z] > git rev-list --no-walk af9bb1ad946648a0389733700bac713e53ae23ca # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-20T06:49:59.913Z] ========================================================= [2020-07-20T06:49:59.913Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-07-20T06:49:59.913Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-20T06:50:00.987Z] + 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-20T06:50:01.518Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.024s coverage: 11.4% of statements [2020-07-20T06:50:01.519Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 21.7% of statements [2020-07-20T06:50:01.519Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-20T06:50:01.519Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.066s coverage: 36.9% of statements [2020-07-20T06:50:01.519Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-20T06:50:01.519Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.299s coverage: 65.2% of statements [2020-07-20T06:50:01.519Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-20T06:50:01.519Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-20T06:50:01.519Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-20T06:50:01.519Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.014s coverage: 52.6% of statements [2020-07-20T06:50:01.519Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.101s coverage: 68.9% of statements [2020-07-20T06:50:01.519Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-20T06:50:01.519Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-20T06:50:01.519Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-20T06:50:01.519Z] gofmt -l . [2020-07-20T06:50:01.519Z] [ "`gofmt -l .`" = "" ] [2020-07-20T06:50:01.783Z] ./bin/test-attribution-txt.sh [2020-07-20T06:50:01.974Z] Sending build context to Docker daemon 3.124MB [2020-07-20T06:50:01.974Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-20T06:50:01.974Z] Step 2/8 : FROM ${BASE} [2020-07-20T06:50:02.249Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-07-20T06:50:02.249Z] b538f80385f9: Pulling fs layer [2020-07-20T06:50:02.249Z] 74f711af9a0d: Pulling fs layer [2020-07-20T06:50:02.249Z] 99f96fe45779: Pulling fs layer [2020-07-20T06:50:02.249Z] fd7a069fd194: Pulling fs layer [2020-07-20T06:50:02.249Z] 66aa3694b03b: Pulling fs layer [2020-07-20T06:50:02.249Z] 170f70906a0f: Pulling fs layer [2020-07-20T06:50:02.249Z] ad7c5574e4b9: Pulling fs layer [2020-07-20T06:50:02.249Z] e772456be8f7: Pulling fs layer [2020-07-20T06:50:02.249Z] c890913d741a: Pulling fs layer [2020-07-20T06:50:02.249Z] 2480fcc9aa5a: Pulling fs layer [2020-07-20T06:50:02.249Z] 09adf4765672: Pulling fs layer [2020-07-20T06:50:02.249Z] fd7a069fd194: Waiting [2020-07-20T06:50:02.249Z] 66aa3694b03b: Waiting [2020-07-20T06:50:02.249Z] 170f70906a0f: Waiting [2020-07-20T06:50:02.249Z] ad7c5574e4b9: Waiting [2020-07-20T06:50:02.249Z] e772456be8f7: Waiting [2020-07-20T06:50:02.249Z] c890913d741a: Waiting [2020-07-20T06:50:02.249Z] 2480fcc9aa5a: Waiting [2020-07-20T06:50:02.249Z] 09adf4765672: Waiting [2020-07-20T06:50:02.249Z] 99f96fe45779: Download complete [2020-07-20T06:50:02.249Z] 74f711af9a0d: Verifying Checksum [2020-07-20T06:50:02.249Z] 74f711af9a0d: Download complete [2020-07-20T06:50:02.249Z] 66aa3694b03b: Verifying Checksum [2020-07-20T06:50:02.249Z] 66aa3694b03b: Download complete [2020-07-20T06:50:02.249Z] 170f70906a0f: Verifying Checksum [2020-07-20T06:50:02.249Z] 170f70906a0f: Download complete [2020-07-20T06:50:02.357Z] ./bin/test-go-mod-tidy.sh [2020-07-20T06:50:02.524Z] b538f80385f9: Verifying Checksum [2020-07-20T06:50:02.524Z] b538f80385f9: Download complete [Pipeline] stash [2020-07-20T06:50:03.141Z] Stashed 1 file(s) [Pipeline] } [2020-07-20T06:50:03.141Z] $ docker stop --time=1 0a12a8f44c0eef8b31b417c571dad0b7a978331829bf1a60f0d5ca668e5c8cf1 [2020-07-20T06:50:03.182Z] b538f80385f9: Pull complete [2020-07-20T06:50:04.171Z] 74f711af9a0d: Pull complete [2020-07-20T06:50:04.449Z] 99f96fe45779: Pull complete [2020-07-20T06:50:04.738Z] $ docker rm -f 0a12a8f44c0eef8b31b417c571dad0b7a978331829bf1a60f0d5ca668e5c8cf1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2020-07-20T06:50:05.049Z] ad7c5574e4b9: Verifying Checksum [2020-07-20T06:50:05.049Z] c890913d741a: Verifying Checksum [2020-07-20T06:50:05.049Z] c890913d741a: Download complete [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-07-20T06:50:06.493Z] 2480fcc9aa5a: Download complete [2020-07-20T06:50:06.766Z] 09adf4765672: Download complete [Pipeline] sh [2020-07-20T06:50:07.362Z] + sudo chown -R jenkins:jenkins . [2020-07-20T06:50:07.369Z] e772456be8f7: Verifying Checksum [2020-07-20T06:50:07.369Z] e772456be8f7: Download complete [Pipeline] sh [2020-07-20T06:50:07.656Z] + ls -al . [2020-07-20T06:50:07.656Z] total 184 [2020-07-20T06:50:07.656Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jul 20 06:50 . [2020-07-20T06:50:07.656Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 20 06:48 .. [2020-07-20T06:50:07.656Z] drwxrwxr-x. 3 jenkins jenkins 20 Jul 20 06:48 api [2020-07-20T06:50:07.656Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 20 06:48 bin [2020-07-20T06:50:07.656Z] -rw-r--r--. 1 jenkins jenkins 110877 Jul 20 06:49 coverage.out [2020-07-20T06:50:07.656Z] -rw-rw-r--. 1 jenkins jenkins 936 Jul 20 06:48 Dockerfile.build [2020-07-20T06:50:07.656Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 20 06:48 .dockerignore [2020-07-20T06:50:07.656Z] drwxrwxr-x. 4 jenkins jenkins 48 Jul 20 06:48 example [2020-07-20T06:50:07.656Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 20 06:48 .git [2020-07-20T06:50:07.656Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 20 06:48 .github [2020-07-20T06:50:07.656Z] -rw-rw-r--. 1 jenkins jenkins 138 Jul 20 06:48 .gitignore [2020-07-20T06:50:07.656Z] -rw-r--r--. 1 jenkins jenkins 446 Jul 20 06:50 go.mod [2020-07-20T06:50:07.656Z] -rw-r--r--. 1 jenkins jenkins 12179 Jul 20 06:50 go.sum [2020-07-20T06:50:07.656Z] drwxrwxr-x. 13 jenkins jenkins 184 Jul 20 06:48 internal [2020-07-20T06:50:07.656Z] -rw-rw-r--. 1 jenkins jenkins 808 Jul 20 06:48 Jenkinsfile [2020-07-20T06:50:07.656Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jul 20 06:48 LICENSE [2020-07-20T06:50:07.656Z] -rw-rw-r--. 1 jenkins jenkins 892 Jul 20 06:48 Makefile [2020-07-20T06:50:07.656Z] drwxrwxr-x. 5 jenkins jenkins 50 Jul 20 06:48 pkg [2020-07-20T06:50:07.656Z] -rw-rw-r--. 1 jenkins jenkins 5101 Jul 20 06:48 README.md [2020-07-20T06:50:07.656Z] -rw-rw-r--. 1 jenkins jenkins 3997 Jul 20 06:48 RELEASE-NOTES.txt [2020-07-20T06:50:07.656Z] drwxrwxr-x. 3 jenkins jenkins 58 Jul 20 06:48 .semver [2020-07-20T06:50:07.656Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 20 06:48 snap [2020-07-20T06:50:07.656Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 20 06:45 VERSION [2020-07-20T06:50:07.656Z] -rw-rw-r--. 1 jenkins jenkins 222 Jul 20 06:48 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-20T06:50:07.959Z] + 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=5fc4b4eb1c1b3c3664880696f3875fd91377abb2 --label arch=amd64 --label version=0.0.0 . [2020-07-20T06:50:07.961Z] fd7a069fd194: Verifying Checksum [2020-07-20T06:50:07.961Z] fd7a069fd194: Download complete [2020-07-20T06:50:08.220Z] Sending build context to Docker daemon 3.253MB [2020-07-20T06:50:08.220Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-07-20T06:50:08.220Z] Step 2/23 : FROM ${BASE} AS builder [2020-07-20T06:50:08.220Z] ---> b9060d3da8a3 [2020-07-20T06:50:08.220Z] Step 3/23 : ARG MAKE='make build' [2020-07-20T06:50:08.797Z] ---> Running in 5c52e6680c44 [2020-07-20T06:50:08.797Z] Removing intermediate container 5c52e6680c44 [2020-07-20T06:50:08.797Z] ---> db00bc87cfe5 [2020-07-20T06:50:08.797Z] Step 4/23 : WORKDIR /device-sdk-go [2020-07-20T06:50:08.797Z] ---> Running in fb79dc16b611 [2020-07-20T06:50:09.067Z] Removing intermediate container fb79dc16b611 [2020-07-20T06:50:09.067Z] ---> d2f88a9195b6 [2020-07-20T06:50:09.067Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-20T06:50:09.067Z] ---> Running in 4b4a78c230ac [2020-07-20T06:50:09.328Z] Removing intermediate container 4b4a78c230ac [2020-07-20T06:50:09.328Z] ---> ea97c4ac2eb9 [2020-07-20T06:50:09.328Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-20T06:50:09.328Z] ---> Running in 1db6f175314c [2020-07-20T06:50:10.285Z] Removing intermediate container 1db6f175314c [2020-07-20T06:50:10.285Z] ---> 725eb8e9463b [2020-07-20T06:50:10.285Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-07-20T06:50:10.285Z] ---> Running in 65387967298a [2020-07-20T06:50:10.862Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-20T06:50:11.435Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-20T06:50:12.010Z] OK: 166 MiB in 39 packages [2020-07-20T06:50:12.271Z] Removing intermediate container 65387967298a [2020-07-20T06:50:12.271Z] ---> 342bfb571e19 [2020-07-20T06:50:12.271Z] Step 8/23 : COPY . . [2020-07-20T06:50:13.221Z] ---> aa05e5499e47 [2020-07-20T06:50:13.221Z] Step 9/23 : RUN ${MAKE} [2020-07-20T06:50:13.483Z] ---> Running in a529916c2e74 [2020-07-20T06:50:14.063Z] 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-20T06:50:20.361Z] fd7a069fd194: Pull complete [2020-07-20T06:50:20.361Z] 66aa3694b03b: Pull complete [2020-07-20T06:50:20.361Z] 170f70906a0f: Pull complete [2020-07-20T06:50:22.311Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-07-20T06:50:22.982Z] ad7c5574e4b9: Pull complete [2020-07-20T06:50:23.696Z] Removing intermediate container a529916c2e74 [2020-07-20T06:50:23.696Z] ---> ea2d7bc143eb [2020-07-20T06:50:23.696Z] Step 10/23 : FROM scratch [2020-07-20T06:50:23.696Z] ---> [2020-07-20T06:50:23.696Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-20T06:50:24.640Z] ---> Running in 4bcd9972d7b7 [2020-07-20T06:50:24.640Z] Removing intermediate container 4bcd9972d7b7 [2020-07-20T06:50:24.640Z] ---> 10eafa1e70a5 [2020-07-20T06:50:24.640Z] Step 12/23 : ENV APP_PORT=49990 [2020-07-20T06:50:24.640Z] ---> Running in 45fd1c2d421c [2020-07-20T06:50:24.640Z] Removing intermediate container 45fd1c2d421c [2020-07-20T06:50:24.640Z] ---> e5096122743a [2020-07-20T06:50:24.640Z] Step 13/23 : EXPOSE $APP_PORT [2020-07-20T06:50:24.900Z] ---> Running in 993bbb999951 [2020-07-20T06:50:24.900Z] Removing intermediate container 993bbb999951 [2020-07-20T06:50:24.900Z] ---> b9d3185f3693 [2020-07-20T06:50:24.900Z] Step 14/23 : WORKDIR / [2020-07-20T06:50:24.900Z] ---> Running in 47415084354d [2020-07-20T06:50:25.160Z] Removing intermediate container 47415084354d [2020-07-20T06:50:25.160Z] ---> a98b6e145416 [2020-07-20T06:50:25.160Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-07-20T06:50:25.732Z] ---> 93ca080167e4 [2020-07-20T06:50:25.732Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-07-20T06:50:25.993Z] ---> 7f2b3407ed08 [2020-07-20T06:50:25.993Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-07-20T06:50:25.993Z] ---> 7682a38ea5d2 [2020-07-20T06:50:25.993Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-07-20T06:50:26.254Z] ---> f811d199ff1c [2020-07-20T06:50:26.254Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-07-20T06:50:26.515Z] ---> 99fb692ef7a6 [2020-07-20T06:50:26.515Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-07-20T06:50:26.515Z] ---> Running in 72ca0d7f2af8 [2020-07-20T06:50:26.777Z] Removing intermediate container 72ca0d7f2af8 [2020-07-20T06:50:26.777Z] ---> ec0e672cbbb8 [2020-07-20T06:50:26.777Z] Step 21/23 : LABEL arch=amd64 [2020-07-20T06:50:26.777Z] ---> Running in 23cb6e167513 [2020-07-20T06:50:27.041Z] Removing intermediate container 23cb6e167513 [2020-07-20T06:50:27.041Z] ---> 1b381094433b [2020-07-20T06:50:27.041Z] Step 22/23 : LABEL git_sha=5fc4b4eb1c1b3c3664880696f3875fd91377abb2 [2020-07-20T06:50:27.041Z] ---> Running in 3afcd00a72f4 [2020-07-20T06:50:27.279Z] e772456be8f7: Pull complete [2020-07-20T06:50:27.303Z] Removing intermediate container 3afcd00a72f4 [2020-07-20T06:50:27.303Z] ---> d3e9a3b81554 [2020-07-20T06:50:27.303Z] Step 23/23 : LABEL version=0.0.0 [2020-07-20T06:50:27.303Z] ---> Running in 43f6b6b6df2f [2020-07-20T06:50:27.303Z] Removing intermediate container 43f6b6b6df2f [2020-07-20T06:50:27.303Z] ---> 0309a280fc2f [2020-07-20T06:50:27.303Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-20T06:50:27.566Z] Successfully built 0309a280fc2f [2020-07-20T06:50:27.566Z] 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 [2020-07-20T06:50:27.888Z] c890913d741a: Pull complete [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-07-20T06:50:30.540Z] 2480fcc9aa5a: Pull complete [2020-07-20T06:50:30.540Z] 09adf4765672: Pull complete [2020-07-20T06:50:30.540Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-07-20T06:50:30.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-07-20T06:50:30.540Z] ---> 2248a725d1cf [2020-07-20T06:50:30.541Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-20T06:50:35.940Z] ---> Running in a18d02967658 [2020-07-20T06:50:35.940Z] Removing intermediate container a18d02967658 [2020-07-20T06:50:35.940Z] ---> 4cb8662b5318 [2020-07-20T06:50:35.940Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-20T06:50:35.940Z] ---> Running in e752d896bd61 [2020-07-20T06:50:38.582Z] Removing intermediate container e752d896bd61 [2020-07-20T06:50:38.582Z] ---> c120c85f0dc1 [2020-07-20T06:50:38.582Z] Step 5/8 : RUN apk add --no-cache make git [2020-07-20T06:50:38.582Z] ---> Running in 7f5f89aad4dc [2020-07-20T06:50:40.019Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-20T06:50:40.994Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-20T06:50:41.265Z] OK: 142 MiB in 39 packages [2020-07-20T06:50:42.696Z] Removing intermediate container 7f5f89aad4dc [2020-07-20T06:50:42.696Z] ---> 50fa7b2b269f [2020-07-20T06:50:42.696Z] Step 6/8 : WORKDIR /device-sdk-go [2020-07-20T06:50:42.696Z] ---> Running in c8f754f84de3 [2020-07-20T06:50:43.290Z] Removing intermediate container c8f754f84de3 [2020-07-20T06:50:43.290Z] ---> 5ad85ec6301e [2020-07-20T06:50:43.290Z] Step 7/8 : COPY . . [2020-07-20T06:50:44.727Z] ---> baddae4daf7b [2020-07-20T06:50:44.727Z] Step 8/8 : RUN go mod download [2020-07-20T06:50:44.727Z] ---> Running in ee1b3e3cec13 [2020-07-20T06:50:47.340Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-20T06:50:47.340Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-20T06:50:47.340Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-20T06:50:47.340Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-20T06:50:47.340Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-20T06:50:47.340Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-20T06:50:47.340Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-20T06:50:47.340Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-20T06:50:47.340Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-20T06:50:47.611Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-20T06:50:47.611Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-20T06:50:47.611Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-20T06:50:47.611Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-20T06:50:47.611Z] go: finding github.com/fatih/color v1.7.0 [2020-07-20T06:50:47.611Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-20T06:50:47.611Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-20T06:50:47.611Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-20T06:50:47.611Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-20T06:50:47.611Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-20T06:50:47.611Z] go: finding github.com/google/uuid v1.1.0 [2020-07-20T06:50:47.611Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-20T06:50:47.882Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-20T06:50:47.883Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-20T06:50:47.883Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-20T06:50:47.883Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-20T06:50:47.883Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-20T06:50:47.883Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-20T06:50:47.883Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-20T06:50:47.883Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-20T06:50:47.883Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-20T06:50:47.883Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-20T06:50:47.883Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-20T06:50:47.883Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-20T06:50:48.160Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-20T06:50:48.160Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-20T06:50:48.160Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-20T06:50:48.160Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-20T06:50:48.160Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-20T06:50:48.160Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-20T06:50:48.160Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-20T06:50:48.160Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-20T06:50:48.160Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-20T06:50:48.160Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-20T06:50:48.160Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-20T06:50:48.431Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-20T06:50:48.431Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-20T06:50:48.431Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-20T06:50:48.431Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-20T06:50:48.431Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-20T06:50:48.431Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-20T06:50:48.431Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-20T06:50:48.431Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-20T06:50:48.431Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-20T06:50:48.431Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-20T06:50:48.431Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-20T06:50:48.431Z] go: finding github.com/posener/complete v1.1.1 [2020-07-20T06:50:48.702Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-20T06:50:48.702Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-20T06:50:48.702Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-20T06:50:48.702Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-20T06:50:48.702Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-20T06:50:48.702Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-20T06:50:48.702Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-20T06:50:48.702Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-20T06:50:48.702Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-20T06:50:48.702Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-20T06:50:48.702Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-20T06:50:48.973Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-20T06:50:59.129Z] Removing intermediate container ee1b3e3cec13 [2020-07-20T06:50:59.129Z] ---> 41f90a86ea9e [2020-07-20T06:50:59.129Z] Successfully built 41f90a86ea9e [2020-07-20T06:50:59.129Z] 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-20T06:50:59.810Z] + docker inspect -f . ci-base-image-arm64 [2020-07-20T06:50:59.810Z] . [Pipeline] withDockerContainer [2020-07-20T06:51:00.088Z] prd-ubuntu18.04-docker-arm64-4c-16g-254 does not seem to be running inside a container [2020-07-20T06:51:00.168Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-07-20T06:51:01.980Z] $ docker top df0bd1e67765f3278ffb9a6ac14725625c85a1d7742e5104a0c0ec4759e197a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-20T06:51:03.389Z] + go version [2020-07-20T06:51:03.389Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-07-20T06:51:04.429Z] + make test [2020-07-20T06:51:04.429Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-20T06:51:05.412Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-07-20T06:51:37.811Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-07-20T06:51:37.811Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-07-20T06:51:37.811Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-07-20T06:51:37.811Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.015s coverage: 22.1% of statements [2020-07-20T06:51:37.811Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.189s coverage: 95.8% of statements [2020-07-20T06:52:10.121Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 11.4% of statements [2020-07-20T06:52:10.121Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.037s coverage: 21.7% of statements [2020-07-20T06:52:10.121Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-07-20T06:52:10.121Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.163s coverage: 36.9% of statements [2020-07-20T06:52:10.121Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-07-20T06:52:10.121Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.482s coverage: 65.2% of statements [2020-07-20T06:52:10.121Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-07-20T06:52:10.121Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-07-20T06:52:10.121Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-07-20T06:52:10.121Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.045s coverage: 52.6% of statements [2020-07-20T06:52:10.121Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.332s coverage: 68.9% of statements [2020-07-20T06:52:10.121Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-07-20T06:52:10.121Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-07-20T06:52:10.121Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-20T06:52:12.749Z] gofmt -l . [2020-07-20T06:52:12.749Z] [ "`gofmt -l .`" = "" ] [2020-07-20T06:52:13.022Z] ./bin/test-attribution-txt.sh [2020-07-20T06:52:13.617Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-20T06:52:14.329Z] Warning: overwriting stash ‘coverage-report’ [2020-07-20T06:52:15.299Z] Stashed 1 file(s) [Pipeline] } [2020-07-20T06:52:15.302Z] $ docker stop --time=1 df0bd1e67765f3278ffb9a6ac14725625c85a1d7742e5104a0c0ec4759e197a2 [2020-07-20T06:52:17.341Z] $ docker rm -f df0bd1e67765f3278ffb9a6ac14725625c85a1d7742e5104a0c0ec4759e197a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-20T06:52:18.509Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-20T06:52:18.860Z] + ls -al . [2020-07-20T06:52:18.860Z] total 224 [2020-07-20T06:52:18.860Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 20 06:52 . [2020-07-20T06:52:18.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 06:49 .. [2020-07-20T06:52:18.860Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 20 06:49 .dockerignore [2020-07-20T06:52:18.860Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 06:49 .git [2020-07-20T06:52:18.860Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 06:49 .github [2020-07-20T06:52:18.860Z] -rw-rw-r-- 1 jenkins jenkins 138 Jul 20 06:49 .gitignore [2020-07-20T06:52:18.860Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 06:49 .semver [2020-07-20T06:52:18.860Z] -rw-rw-r-- 1 jenkins jenkins 936 Jul 20 06:49 Dockerfile.build [2020-07-20T06:52:18.860Z] -rw-rw-r-- 1 jenkins jenkins 808 Jul 20 06:49 Jenkinsfile [2020-07-20T06:52:18.860Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 20 06:49 LICENSE [2020-07-20T06:52:18.860Z] -rw-rw-r-- 1 jenkins jenkins 892 Jul 20 06:49 Makefile [2020-07-20T06:52:18.860Z] -rw-rw-r-- 1 jenkins jenkins 5101 Jul 20 06:49 README.md [2020-07-20T06:52:18.860Z] -rw-rw-r-- 1 jenkins jenkins 3997 Jul 20 06:49 RELEASE-NOTES.txt [2020-07-20T06:52:18.860Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 06:45 VERSION [2020-07-20T06:52:18.860Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 06:49 api [2020-07-20T06:52:18.860Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 06:49 bin [2020-07-20T06:52:18.860Z] -rw-r--r-- 1 jenkins jenkins 110877 Jul 20 06:52 coverage.out [2020-07-20T06:52:18.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 06:49 example [2020-07-20T06:52:18.860Z] -rw-r--r-- 1 jenkins jenkins 446 Jul 20 06:52 go.mod [2020-07-20T06:52:18.860Z] -rw-r--r-- 1 jenkins jenkins 12179 Jul 20 06:52 go.sum [2020-07-20T06:52:18.860Z] drwxrwxr-x 13 jenkins jenkins 4096 Jul 20 06:49 internal [2020-07-20T06:52:18.860Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 20 06:49 pkg [2020-07-20T06:52:18.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 06:49 snap [2020-07-20T06:52:18.860Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 20 06:49 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-20T06:52:19.223Z] + 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=5fc4b4eb1c1b3c3664880696f3875fd91377abb2 --label arch=arm64 --label version=0.0.0 . [2020-07-20T06:52:19.826Z] Sending build context to Docker daemon 3.252MB [2020-07-20T06:52:19.826Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-07-20T06:52:19.826Z] Step 2/23 : FROM ${BASE} AS builder [2020-07-20T06:52:19.826Z] ---> 41f90a86ea9e [2020-07-20T06:52:19.826Z] Step 3/23 : ARG MAKE='make build' [2020-07-20T06:52:20.102Z] ---> Running in 84aa5d42d173 [2020-07-20T06:52:20.374Z] Removing intermediate container 84aa5d42d173 [2020-07-20T06:52:20.374Z] ---> 834772e32ba6 [2020-07-20T06:52:20.374Z] Step 4/23 : WORKDIR /device-sdk-go [2020-07-20T06:52:20.374Z] ---> Running in 5a77e047292f [2020-07-20T06:52:20.970Z] Removing intermediate container 5a77e047292f [2020-07-20T06:52:20.970Z] ---> 232749e10497 [2020-07-20T06:52:20.970Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-20T06:52:20.970Z] ---> Running in 1660be594c2f [2020-07-20T06:52:21.568Z] Removing intermediate container 1660be594c2f [2020-07-20T06:52:21.568Z] ---> 2f601306e527 [2020-07-20T06:52:21.568Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-20T06:52:21.568Z] ---> Running in a02639f1f541 [2020-07-20T06:52:24.190Z] Removing intermediate container a02639f1f541 [2020-07-20T06:52:24.190Z] ---> aac2bf3344fc [2020-07-20T06:52:24.190Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-07-20T06:52:24.190Z] ---> Running in 285d32bb5dd1 [2020-07-20T06:52:25.617Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-20T06:52:26.208Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-20T06:52:27.188Z] OK: 142 MiB in 39 packages [2020-07-20T06:52:28.162Z] Removing intermediate container 285d32bb5dd1 [2020-07-20T06:52:28.162Z] ---> ee8d1f9529b6 [2020-07-20T06:52:28.162Z] Step 8/23 : COPY . . [2020-07-20T06:52:29.588Z] ---> ab608875bc3c [2020-07-20T06:52:29.588Z] Step 9/23 : RUN ${MAKE} [2020-07-20T06:52:29.588Z] ---> Running in a3739ce39687 [2020-07-20T06:52:31.019Z] 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-20T06:52:53.210Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-07-20T06:52:55.826Z] Removing intermediate container a3739ce39687 [2020-07-20T06:52:55.826Z] ---> 0310d3c65926 [2020-07-20T06:52:55.826Z] Step 10/23 : FROM scratch [2020-07-20T06:52:55.826Z] ---> [2020-07-20T06:52:55.826Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-07-20T06:52:55.826Z] ---> Running in 57f269151068 [2020-07-20T06:52:56.420Z] Removing intermediate container 57f269151068 [2020-07-20T06:52:56.420Z] ---> 90ba28e46770 [2020-07-20T06:52:56.420Z] Step 12/23 : ENV APP_PORT=49990 [2020-07-20T06:52:56.420Z] ---> Running in ee08a57c956f [2020-07-20T06:52:56.691Z] Removing intermediate container ee08a57c956f [2020-07-20T06:52:56.691Z] ---> 73ad4b291965 [2020-07-20T06:52:56.691Z] Step 13/23 : EXPOSE $APP_PORT [2020-07-20T06:52:56.963Z] ---> Running in f5686ec04ba7 [2020-07-20T06:52:57.234Z] Removing intermediate container f5686ec04ba7 [2020-07-20T06:52:57.234Z] ---> 65ba70e7cf71 [2020-07-20T06:52:57.234Z] Step 14/23 : WORKDIR / [2020-07-20T06:52:57.509Z] ---> Running in 7e10c4b04002 [2020-07-20T06:52:57.781Z] Removing intermediate container 7e10c4b04002 [2020-07-20T06:52:57.781Z] ---> 0eba057a794b [2020-07-20T06:52:57.781Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-07-20T06:52:59.220Z] ---> cc389bfa5267 [2020-07-20T06:52:59.220Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-07-20T06:52:59.819Z] ---> 782bca8d8363 [2020-07-20T06:52:59.819Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-07-20T06:53:00.414Z] ---> 0230849d155b [2020-07-20T06:53:00.414Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-07-20T06:53:01.388Z] ---> 799a35f30ebe [2020-07-20T06:53:01.388Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-07-20T06:53:01.984Z] ---> c970f1552afd [2020-07-20T06:53:01.984Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-07-20T06:53:01.984Z] ---> Running in f4cc6439c89d [2020-07-20T06:53:02.579Z] Removing intermediate container f4cc6439c89d [2020-07-20T06:53:02.579Z] ---> 9b20ac7410ef [2020-07-20T06:53:02.579Z] Step 21/23 : LABEL arch=arm64 [2020-07-20T06:53:02.579Z] ---> Running in b1742473b654 [2020-07-20T06:53:03.175Z] Removing intermediate container b1742473b654 [2020-07-20T06:53:03.175Z] ---> c046c9f2b2c8 [2020-07-20T06:53:03.175Z] Step 22/23 : LABEL git_sha=5fc4b4eb1c1b3c3664880696f3875fd91377abb2 [2020-07-20T06:53:03.175Z] ---> Running in 30043a75898f [2020-07-20T06:53:03.771Z] Removing intermediate container 30043a75898f [2020-07-20T06:53:03.771Z] ---> e72c7ab9ac76 [2020-07-20T06:53:03.771Z] Step 23/23 : LABEL version=0.0.0 [2020-07-20T06:53:03.771Z] ---> Running in 0a377c85d443 [2020-07-20T06:53:04.367Z] Removing intermediate container 0a377c85d443 [2020-07-20T06:53:04.367Z] ---> 0de3e7c48a5d [2020-07-20T06:53:04.367Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-20T06:53:04.367Z] Successfully built 0de3e7c48a5d [2020-07-20T06:53:04.367Z] 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-20T06:53:05.657Z] provisioning config files... [2020-07-20T06:53:05.672Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config1899931407124875528tmp [Pipeline] { [Pipeline] sh [2020-07-20T06:53:06.054Z] + curl -s https://codecov.io/bash [2020-07-20T06:53:06.054Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config1899931407124875528tmp [Pipeline] } [2020-07-20T06:53:06.324Z] 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-20T06:53:07.509Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-20T06:53:08.066Z] ---> package-listing.sh [2020-07-20T06:53:08.066Z] ++ facter osfamily [2020-07-20T06:53:08.066Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-20T06:53:08.066Z] + OS_FAMILY=redhat [2020-07-20T06:53:08.066Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-553 [2020-07-20T06:53:08.066Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-20T06:53:08.066Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-20T06:53:08.066Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-20T06:53:08.066Z] + PACKAGES=/tmp/packages_start.txt [2020-07-20T06:53:08.066Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' [2020-07-20T06:53:08.066Z] + PACKAGES=/tmp/packages_end.txt [2020-07-20T06:53:08.066Z] + case "${OS_FAMILY}" in [2020-07-20T06:53:08.066Z] + rpm -qa [2020-07-20T06:53:08.066Z] + sort [2020-07-20T06:53:13.352Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-20T06:53:13.352Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-20T06:53:13.352Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-20T06:53:13.352Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' [2020-07-20T06:53:13.352Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ [2020-07-20T06:53:13.352Z] + 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-20T06:53:13.944Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-20T06:53:13.944Z] [2020-07-20T06:53:13.944Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-20T06:53:14.294Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-20T06:53:14.294Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-20T06:53:14.294Z] c9b1b535fdd9: Pulling fs layer [2020-07-20T06:53:14.294Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-20T06:53:14.294Z] 756a868c4378: Pulling fs layer [2020-07-20T06:53:14.294Z] 444b2fc9a129: Pulling fs layer [2020-07-20T06:53:14.294Z] ea15f1150254: Pulling fs layer [2020-07-20T06:53:14.294Z] 41b27a9f41bf: Pulling fs layer [2020-07-20T06:53:14.294Z] 28c525ee5125: Pulling fs layer [2020-07-20T06:53:14.294Z] 094b1ea09ed8: Pulling fs layer [2020-07-20T06:53:14.294Z] 138eaada9080: Pulling fs layer [2020-07-20T06:53:14.294Z] 0622d0fa9048: Pulling fs layer [2020-07-20T06:53:14.294Z] 41b27a9f41bf: Waiting [2020-07-20T06:53:14.294Z] 28c525ee5125: Waiting [2020-07-20T06:53:14.294Z] 094b1ea09ed8: Waiting [2020-07-20T06:53:14.294Z] 444b2fc9a129: Waiting [2020-07-20T06:53:14.294Z] 138eaada9080: Waiting [2020-07-20T06:53:14.294Z] 0622d0fa9048: Waiting [2020-07-20T06:53:14.294Z] ea15f1150254: Waiting [2020-07-20T06:53:14.294Z] 2cc5ad85d9ab: Verifying Checksum [2020-07-20T06:53:14.294Z] 2cc5ad85d9ab: Download complete [2020-07-20T06:53:14.294Z] 444b2fc9a129: Verifying Checksum [2020-07-20T06:53:14.294Z] 444b2fc9a129: Download complete [2020-07-20T06:53:14.294Z] c9b1b535fdd9: Download complete [2020-07-20T06:53:14.294Z] ea15f1150254: Verifying Checksum [2020-07-20T06:53:14.294Z] ea15f1150254: Download complete [2020-07-20T06:53:14.574Z] 28c525ee5125: Verifying Checksum [2020-07-20T06:53:14.575Z] 28c525ee5125: Download complete [2020-07-20T06:53:14.859Z] 756a868c4378: Verifying Checksum [2020-07-20T06:53:14.859Z] 756a868c4378: Download complete [2020-07-20T06:53:14.859Z] c9b1b535fdd9: Pull complete [2020-07-20T06:53:14.859Z] 138eaada9080: Verifying Checksum [2020-07-20T06:53:14.859Z] 138eaada9080: Download complete [2020-07-20T06:53:15.135Z] 094b1ea09ed8: Verifying Checksum [2020-07-20T06:53:15.135Z] 094b1ea09ed8: Download complete [2020-07-20T06:53:15.135Z] 0622d0fa9048: Verifying Checksum [2020-07-20T06:53:15.135Z] 0622d0fa9048: Download complete [2020-07-20T06:53:15.408Z] 2cc5ad85d9ab: Pull complete [2020-07-20T06:53:15.408Z] 41b27a9f41bf: Verifying Checksum [2020-07-20T06:53:15.408Z] 41b27a9f41bf: Download complete [2020-07-20T06:53:16.806Z] 756a868c4378: Pull complete [2020-07-20T06:53:16.806Z] 444b2fc9a129: Pull complete [2020-07-20T06:53:17.072Z] ea15f1150254: Pull complete [2020-07-20T06:53:21.286Z] 41b27a9f41bf: Pull complete [2020-07-20T06:53:21.286Z] 28c525ee5125: Pull complete [2020-07-20T06:53:23.849Z] 094b1ea09ed8: Pull complete [2020-07-20T06:53:23.849Z] 138eaada9080: Pull complete [2020-07-20T06:53:24.112Z] 0622d0fa9048: Pull complete [2020-07-20T06:53:24.112Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-20T06:53:24.112Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-20T06:53:24.112Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-20T06:53:24.253Z] prd-centos7-docker-4c-2g-252 does not seem to be running inside a container [2020-07-20T06:53:24.288Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-07-20T06:53:28.297Z] $ docker top 7463f4c25e48f70fce6b4d9846bafd47a17a22bf4ac0c16edce816e294f94c3d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-20T06:53:28.581Z] provisioning config files... [2020-07-20T06:53:28.596Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config2876709199456905796tmp [Pipeline] { [Pipeline] echo [2020-07-20T06:53:28.656Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-20T06:53:28.954Z] ---> create-netrc.sh [Pipeline] echo [2020-07-20T06:53:28.965Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-20T06:53:29.262Z] ---> logs-deploy.sh [2020-07-20T06:53:29.262Z] + ARCHIVE_ARTIFACTS= [2020-07-20T06:53:29.262Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-20T06:53:29.262Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-20T06:53:29.262Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-20T06:53:29.262Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/4 [2020-07-20T06:53:29.262Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/4/ [2020-07-20T06:53:29.262Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/4 /w/workspace/dgexfoundry_device-sdk-go_PR-553 [2020-07-20T06:53:30.649Z] Archives upload complete. [2020-07-20T06:53:30.649Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-553/4/