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 IOTechSystems for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 0605716f3fd271273ac872c46dcfc3221fe9ce3f rather than c45f45678c666654042318529fadbb6207b03dd5 Obtained Jenkinsfile from 0605716f3fd271273ac872c46dcfc3221fe9ce3f Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > 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 [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/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1592’ Running on prd-centos7-docker-4c-2g-1596 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [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-432 # 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/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit c45f45678c666654042318529fadbb6207b03dd5 Merge succeeded, producing a2f0865cb76fc7274bb55d5adbbf1cec67b2d500 Checking out Revision a2f0865cb76fc7274bb55d5adbbf1cec67b2d500 (PR-432) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # 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/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c45f45678c666654042318529fadbb6207b03dd5 # 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 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2f0865cb76fc7274bb55d5adbbf1cec67b2d500 # timeout=10 Commit message: "Merge commit '0605716f3fd271273ac872c46dcfc3221fe9ce3f' into HEAD" > git rev-list --no-walk c45f45678c666654042318529fadbb6207b03dd5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-31T14:42:46.883Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-31T14:42:49.169Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-31T14:42:49.169Z] [2020-03-31T14:42:49.169Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-31T14:42:49.524Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-31T14:42:49.524Z] latest: Pulling from edgex-devops/git-semver [2020-03-31T14:42:49.524Z] 9123ac7c32f7: Pulling fs layer [2020-03-31T14:42:49.524Z] b8cc5d1170e3: Pulling fs layer [2020-03-31T14:42:49.524Z] 2924cbbf6a41: Pulling fs layer [2020-03-31T14:42:49.524Z] 93b08a4f1073: Pulling fs layer [2020-03-31T14:42:49.524Z] 93b08a4f1073: Waiting [2020-03-31T14:42:49.524Z] b8cc5d1170e3: Verifying Checksum [2020-03-31T14:42:49.524Z] b8cc5d1170e3: Download complete [2020-03-31T14:42:49.796Z] 9123ac7c32f7: Verifying Checksum [2020-03-31T14:42:49.796Z] 9123ac7c32f7: Download complete [2020-03-31T14:42:49.796Z] 93b08a4f1073: Verifying Checksum [2020-03-31T14:42:49.796Z] 93b08a4f1073: Download complete [2020-03-31T14:42:49.796Z] 2924cbbf6a41: Download complete [2020-03-31T14:42:50.059Z] 9123ac7c32f7: Pull complete [2020-03-31T14:42:50.059Z] b8cc5d1170e3: Pull complete [2020-03-31T14:42:51.003Z] 2924cbbf6a41: Pull complete [2020-03-31T14:42:51.264Z] 93b08a4f1073: Pull complete [2020-03-31T14:42:51.264Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-31T14:42:51.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-31T14:42:51.394Z] prd-centos7-docker-4c-2g-1596 does not seem to be running inside a container [2020-03-31T14:42:51.439Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-432 -v /w/workspace/dgexfoundry_device-sdk-go_PR-432:/w/workspace/dgexfoundry_device-sdk-go_PR-432:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-31T14:42:52.055Z] $ docker top 7185af893af9ee97c6b2c17cf6048aef108316d8e37540f169f937245110b7e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-31T14:42:52.421Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-31T14:42:52.421Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-31T14:42:52.653Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-31T14:42:52.657Z] $ docker exec 7185af893af9ee97c6b2c17cf6048aef108316d8e37540f169f937245110b7e1 ssh-agent [2020-03-31T14:42:52.849Z] SSH_AUTH_SOCK=/tmp/ssh-uJ6NGDy9fryQ/agent.15 [2020-03-31T14:42:52.849Z] SSH_AGENT_PID=22 [2020-03-31T14:42:52.860Z] Running ssh-add (command line suppressed) [2020-03-31T14:42:53.007Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_5111577747404158611.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_5111577747404158611.key) [2020-03-31T14:42:53.062Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-31T14:42:53.391Z] + git describe --exact-match --tags HEAD [2020-03-31T14:42:53.391Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-31T14:42:53.454Z] $ docker exec --env ******** --env ******** 7185af893af9ee97c6b2c17cf6048aef108316d8e37540f169f937245110b7e1 ssh-agent -k [2020-03-31T14:42:53.622Z] unset SSH_AUTH_SOCK; [2020-03-31T14:42:53.622Z] unset SSH_AGENT_PID; [2020-03-31T14:42:53.622Z] echo Agent pid 22 killed; [2020-03-31T14:42:53.666Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-31T14:42:53.849Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-31T14:42:53.849Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-31T14:42:53.930Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-31T14:42:53.930Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-31T14:42:54.145Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-31T14:42:54.150Z] $ docker exec 7185af893af9ee97c6b2c17cf6048aef108316d8e37540f169f937245110b7e1 ssh-agent [2020-03-31T14:42:54.337Z] SSH_AUTH_SOCK=/tmp/ssh-JlpvJIUyp56c/agent.58 [2020-03-31T14:42:54.337Z] SSH_AGENT_PID=64 [2020-03-31T14:42:54.359Z] Running ssh-add (command line suppressed) [2020-03-31T14:42:54.528Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_707343237099934118.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_707343237099934118.key) [2020-03-31T14:42:54.573Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-31T14:42:54.913Z] + git semver init [2020-03-31T14:42:54.913Z] # -> Open(): unable to determine branch for HEAD [2020-03-31T14:42:54.913Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.git [2020-03-31T14:42:54.913Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-432 [2020-03-31T14:42:54.913Z] # $SEMVER_REMOTE_NAME = origin [2020-03-31T14:42:54.913Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-31T14:42:54.913Z] # $SEMVER_USER_NAME = jenkins [2020-03-31T14:42:54.913Z] # $SEMVER_BRANCH = PR-432 [2020-03-31T14:42:54.913Z] # $SEMVER_TEMP = /tmp/semver-319280776 [2020-03-31T14:42:54.913Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-31T14:42:55.481Z] # '/tmp/semver-319280776' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver' [2020-03-31T14:42:55.481Z] # -> Force: false [2020-03-31T14:42:55.481Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver [Pipeline] } [2020-03-31T14:42:55.495Z] $ docker exec --env ******** --env ******** 7185af893af9ee97c6b2c17cf6048aef108316d8e37540f169f937245110b7e1 ssh-agent -k [2020-03-31T14:42:55.656Z] unset SSH_AUTH_SOCK; [2020-03-31T14:42:55.657Z] unset SSH_AGENT_PID; [2020-03-31T14:42:55.657Z] echo Agent pid 64 killed; [2020-03-31T14:42:55.693Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-31T14:42:56.215Z] + git semver [Pipeline] } [2020-03-31T14:42:56.240Z] $ docker stop --time=1 7185af893af9ee97c6b2c17cf6048aef108316d8e37540f169f937245110b7e1 [2020-03-31T14:42:57.594Z] $ docker rm -f 7185af893af9ee97c6b2c17cf6048aef108316d8e37540f169f937245110b7e1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-31T14:42:58.392Z] Stashed 35 file(s) [Pipeline] echo [2020-03-31T14:42:58.395Z] [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-03-31T14:43:13.615Z] Still waiting to schedule task [2020-03-31T14:43:13.615Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-03-31T14:43:13.616Z] Still waiting to schedule task [2020-03-31T14:43:13.616Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1593’ [2020-03-31T14:44:29.893Z] Running on prd-centos7-docker-4c-2g-1599 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws [2020-03-31T14:44:29.934Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-03-31T14:44:34.043Z] using credential edgex-jenkins-ssh [2020-03-31T14:44:34.095Z] Cloning the remote Git repository [2020-03-31T14:44:34.095Z] Cloning with configured refspecs honoured and without tags [2020-03-31T14:44:33.894Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-31T14:44:33.962Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2020-03-31T14:44:34.013Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-31T14:44:34.013Z] > git --version # timeout=10 [2020-03-31T14:44:34.022Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-31T14:44:34.049Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-31T14:44:34.915Z] Fetching without tags [2020-03-31T14:44:35.269Z] Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit c45f45678c666654042318529fadbb6207b03dd5 [2020-03-31T14:44:35.389Z] Merge succeeded, producing dec7aeb8cc5aa443fcf6417ae0fb5d06bd88e759 [2020-03-31T14:44:35.389Z] Checking out Revision dec7aeb8cc5aa443fcf6417ae0fb5d06bd88e759 (PR-432) [2020-03-31T14:44:34.633Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-31T14:44:34.644Z] > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 [2020-03-31T14:44:34.661Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-31T14:44:34.674Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-31T14:44:34.684Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-31T14:44:34.685Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-31T14:44:34.689Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-31T14:44:35.042Z] > git config core.sparsecheckout # timeout=10 [2020-03-31T14:44:35.048Z] > git checkout -f c45f45678c666654042318529fadbb6207b03dd5 # timeout=10 [2020-03-31T14:44:35.094Z] > git remote # timeout=10 [2020-03-31T14:44:35.105Z] > git config --get remote.origin.url # timeout=10 [2020-03-31T14:44:35.111Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-31T14:44:35.115Z] > git merge 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 [2020-03-31T14:44:35.147Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-31T14:44:35.157Z] > git config core.sparsecheckout # timeout=10 [2020-03-31T14:44:35.168Z] > git checkout -f dec7aeb8cc5aa443fcf6417ae0fb5d06bd88e759 # timeout=10 [2020-03-31T14:44:39.113Z] Commit message: "Merge commit '0605716f3fd271273ac872c46dcfc3221fe9ce3f' into HEAD" [2020-03-31T14:44:39.121Z] > git rev-list --no-walk c45f45678c666654042318529fadbb6207b03dd5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-31T14:44:39.965Z] ========================================================= [2020-03-31T14:44:39.965Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-31T14:44:39.965Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-31T14:44:40.603Z] + 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-03-31T14:44:40.866Z] Sending build context to Docker daemon 2.773MB [2020-03-31T14:44:40.866Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-31T14:44:40.866Z] Step 2/8 : FROM ${BASE} [2020-03-31T14:44:41.129Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-31T14:44:41.129Z] e6b0cf9c0882: Pulling fs layer [2020-03-31T14:44:41.129Z] 2848faf0eed1: Pulling fs layer [2020-03-31T14:44:41.129Z] 0f37312ad70f: Pulling fs layer [2020-03-31T14:44:41.129Z] 5788d62ee057: Pulling fs layer [2020-03-31T14:44:41.129Z] 0e6b1d234666: Pulling fs layer [2020-03-31T14:44:41.129Z] bf5d7aec512f: Pulling fs layer [2020-03-31T14:44:41.129Z] 34c802a77dc8: Pulling fs layer [2020-03-31T14:44:41.129Z] 9eb99e56ec68: Pulling fs layer [2020-03-31T14:44:41.129Z] 27c7a5d97fbd: Pulling fs layer [2020-03-31T14:44:41.129Z] 5c102a31e300: Pulling fs layer [2020-03-31T14:44:41.129Z] dcfb455df0a1: Pulling fs layer [2020-03-31T14:44:41.129Z] bf5d7aec512f: Waiting [2020-03-31T14:44:41.129Z] 34c802a77dc8: Waiting [2020-03-31T14:44:41.129Z] 9eb99e56ec68: Waiting [2020-03-31T14:44:41.129Z] 27c7a5d97fbd: Waiting [2020-03-31T14:44:41.129Z] 5c102a31e300: Waiting [2020-03-31T14:44:41.129Z] dcfb455df0a1: Waiting [2020-03-31T14:44:41.129Z] 5788d62ee057: Waiting [2020-03-31T14:44:41.129Z] 0e6b1d234666: Waiting [2020-03-31T14:44:41.129Z] 0f37312ad70f: Download complete [2020-03-31T14:44:41.129Z] 2848faf0eed1: Download complete [2020-03-31T14:44:41.129Z] 0e6b1d234666: Verifying Checksum [2020-03-31T14:44:41.129Z] 0e6b1d234666: Download complete [2020-03-31T14:44:41.129Z] bf5d7aec512f: Download complete [2020-03-31T14:44:41.129Z] e6b0cf9c0882: Verifying Checksum [2020-03-31T14:44:41.129Z] e6b0cf9c0882: Download complete [2020-03-31T14:44:41.720Z] e6b0cf9c0882: Pull complete [2020-03-31T14:44:41.992Z] 2848faf0eed1: Pull complete [2020-03-31T14:44:42.280Z] 34c802a77dc8: Verifying Checksum [2020-03-31T14:44:42.280Z] 34c802a77dc8: Download complete [2020-03-31T14:44:42.280Z] 27c7a5d97fbd: Verifying Checksum [2020-03-31T14:44:42.280Z] 27c7a5d97fbd: Download complete [2020-03-31T14:44:43.236Z] 5c102a31e300: Verifying Checksum [2020-03-31T14:44:43.236Z] 5c102a31e300: Download complete [2020-03-31T14:44:43.236Z] 9eb99e56ec68: Verifying Checksum [2020-03-31T14:44:43.236Z] 9eb99e56ec68: Download complete [2020-03-31T14:44:43.236Z] 5788d62ee057: Verifying Checksum [2020-03-31T14:44:43.236Z] 5788d62ee057: Download complete [2020-03-31T14:44:43.236Z] dcfb455df0a1: Verifying Checksum [2020-03-31T14:44:43.236Z] dcfb455df0a1: Download complete [2020-03-31T14:44:44.172Z] 0f37312ad70f: Pull complete [2020-03-31T14:44:50.790Z] 5788d62ee057: Pull complete [2020-03-31T14:44:50.790Z] 0e6b1d234666: Pull complete [2020-03-31T14:44:50.790Z] bf5d7aec512f: Pull complete [2020-03-31T14:44:56.115Z] 34c802a77dc8: Pull complete [2020-03-31T14:44:59.418Z] 9eb99e56ec68: Pull complete [2020-03-31T14:44:59.689Z] 27c7a5d97fbd: Pull complete [2020-03-31T14:45:00.638Z] 5c102a31e300: Pull complete [2020-03-31T14:45:00.638Z] dcfb455df0a1: Pull complete [2020-03-31T14:45:00.638Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-31T14:45:00.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-31T14:45:00.638Z] ---> 7c70fe431013 [2020-03-31T14:45:00.638Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-31T14:45:00.907Z] ---> Running in d8f86205a97d [2020-03-31T14:45:00.907Z] Removing intermediate container d8f86205a97d [2020-03-31T14:45:00.907Z] ---> 07bba80b899c [2020-03-31T14:45:00.907Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-31T14:45:00.907Z] ---> Running in 68e1c0c76f1c [2020-03-31T14:45:02.311Z] Removing intermediate container 68e1c0c76f1c [2020-03-31T14:45:02.311Z] ---> bd15008fa720 [2020-03-31T14:45:02.311Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-31T14:45:02.311Z] ---> Running in 1b9491c10b30 [2020-03-31T14:45:02.888Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-31T14:45:04.274Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-31T14:45:04.541Z] OK: 143 MiB in 39 packages [2020-03-31T14:45:05.483Z] Removing intermediate container 1b9491c10b30 [2020-03-31T14:45:05.483Z] ---> dd731ad5a5a2 [2020-03-31T14:45:05.483Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-31T14:45:05.483Z] ---> Running in 50d3aa9273f7 [2020-03-31T14:45:05.483Z] Removing intermediate container 50d3aa9273f7 [2020-03-31T14:45:05.483Z] ---> 8954cbd2b1f4 [2020-03-31T14:45:05.483Z] Step 7/8 : COPY . . [2020-03-31T14:45:06.053Z] ---> 79a6d0399ca9 [2020-03-31T14:45:06.053Z] Step 8/8 : RUN go mod download [2020-03-31T14:45:06.053Z] ---> Running in 1f9bca408199 [2020-03-31T14:45:07.968Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-31T14:45:07.968Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-31T14:45:07.968Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-31T14:45:07.968Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-31T14:45:07.968Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-31T14:45:07.968Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-31T14:45:07.968Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-03-31T14:45:07.968Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-31T14:45:07.968Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.25 [2020-03-31T14:45:07.968Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-03-31T14:45:07.968Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-31T14:45:07.968Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-03-31T14:45:07.968Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-03-31T14:45:07.968Z] go: finding github.com/fatih/color v1.7.0 [2020-03-31T14:45:07.968Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-31T14:45:07.968Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-31T14:45:07.968Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-31T14:45:07.968Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-31T14:45:07.968Z] go: finding github.com/google/uuid v1.1.0 [2020-03-31T14:45:07.968Z] go: finding github.com/gorilla/mux v1.7.1 [2020-03-31T14:45:07.968Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-03-31T14:45:07.968Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-03-31T14:45:07.968Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-31T14:45:07.968Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-03-31T14:45:07.968Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-31T14:45:07.968Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-31T14:45:07.968Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-31T14:45:07.968Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-31T14:45:07.968Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-31T14:45:07.968Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-31T14:45:07.968Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-31T14:45:07.968Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-31T14:45:07.968Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-31T14:45:07.968Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-31T14:45:07.968Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-31T14:45:07.968Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-31T14:45:07.968Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-31T14:45:07.968Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-31T14:45:07.968Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-31T14:45:07.968Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-31T14:45:07.968Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-31T14:45:07.968Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-31T14:45:07.968Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-31T14:45:07.968Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-31T14:45:07.968Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-31T14:45:07.968Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-31T14:45:07.968Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-31T14:45:07.968Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-31T14:45:07.968Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-31T14:45:07.968Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-31T14:45:07.968Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-31T14:45:07.968Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-31T14:45:07.968Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-31T14:45:07.968Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-31T14:45:07.968Z] go: finding github.com/posener/complete v1.1.1 [2020-03-31T14:45:07.968Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-31T14:45:07.968Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-31T14:45:07.968Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-31T14:45:07.968Z] go: finding github.com/stretchr/testify v1.5.1 [2020-03-31T14:45:07.969Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-31T14:45:07.969Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-31T14:45:07.969Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-31T14:45:07.969Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-31T14:45:07.969Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-31T14:45:08.230Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-31T14:45:08.230Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-03-31T14:45:13.524Z] Removing intermediate container 1f9bca408199 [2020-03-31T14:45:13.524Z] ---> 04d2a37e5b3e [2020-03-31T14:45:13.524Z] Successfully built 04d2a37e5b3e [2020-03-31T14:45:13.524Z] 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-03-31T14:45:14.078Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-31T14:45:14.078Z] . [Pipeline] withDockerContainer [2020-03-31T14:45:14.216Z] prd-centos7-docker-4c-2g-1599 does not seem to be running inside a container [2020-03-31T14:45:14.268Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 ******** ci-base-image-x86_64 cat [2020-03-31T14:45:14.843Z] $ docker top 815ff9b2adc2ecc571fbf94658ef12226af7723cb781f6d0eef6a4a6e29a1a2e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-31T14:45:15.322Z] + go version [2020-03-31T14:45:15.322Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-31T14:45:15.636Z] + make test [2020-03-31T14:45:15.636Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-31T14:45:16.205Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-31T14:45:34.433Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-31T14:45:34.433Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-31T14:45:35.383Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.007s coverage: 22.6% of statements [2020-03-31T14:45:35.383Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.244s coverage: 95.8% of statements [2020-03-31T14:45:35.383Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.108s coverage: 7.9% of statements [2020-03-31T14:45:35.383Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.009s coverage: 22.1% of statements [2020-03-31T14:45:35.383Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-03-31T14:45:36.799Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.207s coverage: 38.5% of statements [2020-03-31T14:45:36.799Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-31T14:45:36.799Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-31T14:45:37.746Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.725s coverage: 79.9% of statements [2020-03-31T14:45:37.746Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-31T14:45:37.746Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-31T14:45:37.746Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-31T14:45:37.746Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.017s coverage: 52.6% of statements [2020-03-31T14:45:37.746Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.145s coverage: 76.1% of statements [2020-03-31T14:45:37.746Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-03-31T14:45:37.746Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-31T14:45:38.005Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-31T14:45:41.336Z] gofmt -l . [2020-03-31T14:45:41.337Z] [ "`gofmt -l .`" = "" ] [2020-03-31T14:45:41.337Z] ./bin/test-attribution-txt.sh [2020-03-31T14:45:41.907Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-31T14:45:42.537Z] Stashed 1 file(s) [Pipeline] } [2020-03-31T14:45:42.546Z] $ docker stop --time=1 815ff9b2adc2ecc571fbf94658ef12226af7723cb781f6d0eef6a4a6e29a1a2e [2020-03-31T14:45:44.056Z] $ docker rm -f 815ff9b2adc2ecc571fbf94658ef12226af7723cb781f6d0eef6a4a6e29a1a2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-31T14:45:45.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-31T14:45:45.315Z] + ls -al . [2020-03-31T14:45:45.315Z] total 160 [2020-03-31T14:45:45.315Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 31 14:45 . [2020-03-31T14:45:45.315Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 31 14:44 .. [2020-03-31T14:45:45.315Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 31 14:44 api [2020-03-31T14:45:45.315Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 31 14:44 bin [2020-03-31T14:45:45.315Z] -rw-r--r--. 1 jenkins jenkins 94825 Mar 31 14:45 coverage.out [2020-03-31T14:45:45.315Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 31 14:44 Dockerfile.build [2020-03-31T14:45:45.315Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 31 14:44 .dockerignore [2020-03-31T14:45:45.315Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 31 14:44 example [2020-03-31T14:45:45.315Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 31 14:44 .git [2020-03-31T14:45:45.315Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 31 14:44 .github [2020-03-31T14:45:45.315Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 31 14:44 .gitignore [2020-03-31T14:45:45.315Z] -rw-r--r--. 1 jenkins jenkins 438 Mar 31 14:45 go.mod [2020-03-31T14:45:45.315Z] -rw-r--r--. 1 jenkins jenkins 11812 Mar 31 14:45 go.sum [2020-03-31T14:45:45.315Z] drwxrwxr-x. 13 jenkins jenkins 179 Mar 31 14:44 internal [2020-03-31T14:45:45.315Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 31 14:44 Jenkinsfile [2020-03-31T14:45:45.315Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 31 14:44 LICENSE [2020-03-31T14:45:45.315Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 31 14:44 Makefile [2020-03-31T14:45:45.315Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 31 14:44 pkg [2020-03-31T14:45:45.315Z] -rw-rw-r--. 1 jenkins jenkins 2249 Mar 31 14:44 README.md [2020-03-31T14:45:45.315Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 31 14:44 .semver [2020-03-31T14:45:45.315Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 31 14:44 snap [2020-03-31T14:45:45.315Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 31 14:42 VERSION [2020-03-31T14:45:45.315Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 31 14:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-31T14:45:45.618Z] + 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=a2f0865cb76fc7274bb55d5adbbf1cec67b2d500 --label arch=amd64 --label version=0.0.0 . [2020-03-31T14:45:45.879Z] Sending build context to Docker daemon 2.889MB [2020-03-31T14:45:45.879Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-31T14:45:45.879Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-31T14:45:45.879Z] ---> 04d2a37e5b3e [2020-03-31T14:45:45.879Z] Step 3/20 : ARG MAKE='make build' [2020-03-31T14:45:45.879Z] ---> Running in b8b6a9734e97 [2020-03-31T14:45:46.139Z] Removing intermediate container b8b6a9734e97 [2020-03-31T14:45:46.139Z] ---> 3597dc73648a [2020-03-31T14:45:46.139Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-31T14:45:46.139Z] ---> Running in b933baf7f000 [2020-03-31T14:45:46.398Z] Removing intermediate container b933baf7f000 [2020-03-31T14:45:46.398Z] ---> cc74d17d41f6 [2020-03-31T14:45:46.398Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-31T14:45:46.398Z] ---> Running in 92efe56311ce [2020-03-31T14:45:46.398Z] Removing intermediate container 92efe56311ce [2020-03-31T14:45:46.398Z] ---> ba9b4b9f30a2 [2020-03-31T14:45:46.398Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-31T14:45:46.658Z] ---> Running in c36445ad0de3 [2020-03-31T14:45:47.229Z] Removing intermediate container c36445ad0de3 [2020-03-31T14:45:47.229Z] ---> 0688ccb154bb [2020-03-31T14:45:47.229Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-31T14:45:47.490Z] ---> Running in 5975be2de61b [2020-03-31T14:45:47.754Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-31T14:45:48.701Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-31T14:45:49.270Z] OK: 143 MiB in 39 packages [2020-03-31T14:45:49.843Z] Removing intermediate container 5975be2de61b [2020-03-31T14:45:49.843Z] ---> 514b7b8b02af [2020-03-31T14:45:49.843Z] Step 8/20 : COPY . . [2020-03-31T14:45:50.101Z] ---> 4d2961ba98df [2020-03-31T14:45:50.102Z] Step 9/20 : RUN ${MAKE} [2020-03-31T14:45:50.102Z] ---> Running in c29cc60cb3f7 [2020-03-31T14:45:50.371Z] 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-03-31T14:46:05.372Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-31T14:46:05.372Z] Removing intermediate container c29cc60cb3f7 [2020-03-31T14:46:05.372Z] ---> 713ae5781c93 [2020-03-31T14:46:05.372Z] Step 10/20 : FROM scratch [2020-03-31T14:46:05.372Z] ---> [2020-03-31T14:46:05.372Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-31T14:46:05.372Z] ---> Running in 837aa1eb033f [2020-03-31T14:46:05.372Z] Removing intermediate container 837aa1eb033f [2020-03-31T14:46:05.372Z] ---> 418072227b3d [2020-03-31T14:46:05.372Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-31T14:46:05.372Z] ---> Running in 71b7fa33f731 [2020-03-31T14:46:05.632Z] Removing intermediate container 71b7fa33f731 [2020-03-31T14:46:05.632Z] ---> 95a755915976 [2020-03-31T14:46:05.632Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-31T14:46:05.632Z] ---> Running in 2765faf26150 [2020-03-31T14:46:05.632Z] Removing intermediate container 2765faf26150 [2020-03-31T14:46:05.632Z] ---> 7ff02109e0c2 [2020-03-31T14:46:05.632Z] Step 14/20 : WORKDIR / [2020-03-31T14:46:05.632Z] ---> Running in f8bb9adb198a [2020-03-31T14:46:05.902Z] Removing intermediate container f8bb9adb198a [2020-03-31T14:46:05.902Z] ---> 1c228252c189 [2020-03-31T14:46:05.902Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-31T14:46:06.470Z] ---> 08a571caf103 [2020-03-31T14:46:06.470Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-31T14:46:06.470Z] ---> fa194b973397 [2020-03-31T14:46:06.470Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-31T14:46:06.470Z] ---> Running in eede917442db [2020-03-31T14:46:06.729Z] Removing intermediate container eede917442db [2020-03-31T14:46:06.729Z] ---> 20e64d8202d4 [2020-03-31T14:46:06.729Z] Step 18/20 : LABEL arch=amd64 [2020-03-31T14:46:06.729Z] ---> Running in 496c3268a7f0 [2020-03-31T14:46:06.990Z] Removing intermediate container 496c3268a7f0 [2020-03-31T14:46:06.990Z] ---> 562afce3454f [2020-03-31T14:46:06.990Z] Step 19/20 : LABEL git_sha=a2f0865cb76fc7274bb55d5adbbf1cec67b2d500 [2020-03-31T14:46:06.990Z] ---> Running in fcf2c7b63bd4 [2020-03-31T14:46:06.990Z] Removing intermediate container fcf2c7b63bd4 [2020-03-31T14:46:06.990Z] ---> 81df1a0bdbd0 [2020-03-31T14:46:06.990Z] Step 20/20 : LABEL version=0.0.0 [2020-03-31T14:46:06.990Z] ---> Running in ec03b7b3274f [2020-03-31T14:46:07.250Z] Removing intermediate container ec03b7b3274f [2020-03-31T14:46:07.250Z] ---> 630377b056f2 [2020-03-31T14:46:07.250Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-31T14:46:07.250Z] Successfully built 630377b056f2 [2020-03-31T14:46:07.250Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-31T14:46:38.103Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1600 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws [2020-03-31T14:46:38.140Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-03-31T14:46:43.740Z] using credential edgex-jenkins-ssh [2020-03-31T14:46:43.785Z] Cloning the remote Git repository [2020-03-31T14:46:43.785Z] Cloning with configured refspecs honoured and without tags [2020-03-31T14:46:43.844Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-31T14:46:43.923Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2020-03-31T14:46:43.993Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-31T14:46:43.994Z] > git --version # timeout=10 [2020-03-31T14:46:44.020Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-31T14:46:44.071Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-31T14:46:45.147Z] Fetching without tags [2020-03-31T14:46:45.668Z] Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit c45f45678c666654042318529fadbb6207b03dd5 [2020-03-31T14:46:45.023Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-31T14:46:45.056Z] > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 [2020-03-31T14:46:45.075Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-31T14:46:45.112Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-31T14:46:45.168Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-31T14:46:45.168Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-31T14:46:45.181Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-31T14:46:45.691Z] > git config core.sparsecheckout # timeout=10 [2020-03-31T14:46:45.745Z] > git checkout -f c45f45678c666654042318529fadbb6207b03dd5 # timeout=10 [2020-03-31T14:46:45.848Z] > git remote # timeout=10 [2020-03-31T14:46:45.873Z] > git config --get remote.origin.url # timeout=10 [2020-03-31T14:46:46.116Z] Merge succeeded, producing daabec082928367b14e3081e1a4d9e4f74f04101 [2020-03-31T14:46:46.117Z] Checking out Revision daabec082928367b14e3081e1a4d9e4f74f04101 (PR-432) [2020-03-31T14:46:45.949Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-31T14:46:45.977Z] > git merge 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 [2020-03-31T14:46:46.094Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-31T14:46:46.149Z] > git config core.sparsecheckout # timeout=10 [2020-03-31T14:46:46.183Z] > git checkout -f daabec082928367b14e3081e1a4d9e4f74f04101 # timeout=10 [2020-03-31T14:46:50.544Z] Commit message: "Merge commit '0605716f3fd271273ac872c46dcfc3221fe9ce3f' into HEAD" [2020-03-31T14:46:50.555Z] > git rev-list --no-walk c45f45678c666654042318529fadbb6207b03dd5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-31T14:46:51.939Z] ========================================================= [2020-03-31T14:46:51.939Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-31T14:46:51.939Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-31T14:46:53.514Z] + 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-03-31T14:46:54.486Z] Sending build context to Docker daemon 2.773MB [2020-03-31T14:46:54.486Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-31T14:46:54.486Z] Step 2/8 : FROM ${BASE} [2020-03-31T14:46:54.754Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-31T14:46:54.754Z] cde5963f3b93: Pulling fs layer [2020-03-31T14:46:54.754Z] 2a23fa8c16f7: Pulling fs layer [2020-03-31T14:46:54.754Z] 777b28850792: Pulling fs layer [2020-03-31T14:46:54.754Z] 8a11ddd9e578: Pulling fs layer [2020-03-31T14:46:54.754Z] 4cf88f913ddb: Pulling fs layer [2020-03-31T14:46:54.754Z] 1df406cf5192: Pulling fs layer [2020-03-31T14:46:54.754Z] cd6300453558: Pulling fs layer [2020-03-31T14:46:54.754Z] b9c365052c96: Pulling fs layer [2020-03-31T14:46:54.754Z] 4cf88f913ddb: Waiting [2020-03-31T14:46:54.754Z] a2d8cc88f415: Pulling fs layer [2020-03-31T14:46:54.754Z] ea1d1ca13537: Pulling fs layer [2020-03-31T14:46:54.754Z] 3750a50a1c5e: Pulling fs layer [2020-03-31T14:46:54.754Z] a2d8cc88f415: Waiting [2020-03-31T14:46:54.754Z] ea1d1ca13537: Waiting [2020-03-31T14:46:54.754Z] 8a11ddd9e578: Waiting [2020-03-31T14:46:54.754Z] 1df406cf5192: Waiting [2020-03-31T14:46:54.754Z] 3750a50a1c5e: Waiting [2020-03-31T14:46:54.754Z] cd6300453558: Waiting [2020-03-31T14:46:54.754Z] b9c365052c96: Waiting [2020-03-31T14:46:54.754Z] 777b28850792: Download complete [2020-03-31T14:46:54.754Z] 2a23fa8c16f7: Download complete [2020-03-31T14:46:54.754Z] 4cf88f913ddb: Verifying Checksum [2020-03-31T14:46:54.754Z] 4cf88f913ddb: Download complete [2020-03-31T14:46:54.754Z] 1df406cf5192: Verifying Checksum [2020-03-31T14:46:54.754Z] 1df406cf5192: Download complete [2020-03-31T14:46:55.022Z] cde5963f3b93: Verifying Checksum [2020-03-31T14:46:55.022Z] cde5963f3b93: Download complete [2020-03-31T14:46:55.613Z] cde5963f3b93: Pull complete [2020-03-31T14:46:56.583Z] 2a23fa8c16f7: Pull complete [2020-03-31T14:46:56.870Z] 777b28850792: Pull complete [2020-03-31T14:46:58.849Z] cd6300453558: Download complete [2020-03-31T14:46:59.123Z] a2d8cc88f415: Verifying Checksum [2020-03-31T14:46:59.123Z] a2d8cc88f415: Download complete [2020-03-31T14:47:01.747Z] ea1d1ca13537: Verifying Checksum [2020-03-31T14:47:01.747Z] ea1d1ca13537: Download complete [2020-03-31T14:47:01.747Z] 3750a50a1c5e: Download complete [2020-03-31T14:47:04.334Z] b9c365052c96: Verifying Checksum [2020-03-31T14:47:04.334Z] b9c365052c96: Download complete [2020-03-31T14:47:06.275Z] 8a11ddd9e578: Verifying Checksum [2020-03-31T14:47:06.275Z] 8a11ddd9e578: Download complete [2020-03-31T14:47:18.616Z] 8a11ddd9e578: Pull complete [2020-03-31T14:47:18.616Z] 4cf88f913ddb: Pull complete [2020-03-31T14:47:18.616Z] 1df406cf5192: Pull complete [2020-03-31T14:47:22.900Z] cd6300453558: Pull complete [2020-03-31T14:47:27.167Z] b9c365052c96: Pull complete [2020-03-31T14:47:27.167Z] a2d8cc88f415: Pull complete [2020-03-31T14:47:29.142Z] ea1d1ca13537: Pull complete [2020-03-31T14:47:29.725Z] 3750a50a1c5e: Pull complete [2020-03-31T14:47:29.725Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-31T14:47:29.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-31T14:47:29.725Z] ---> 78745c68409d [2020-03-31T14:47:29.725Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-31T14:47:33.969Z] ---> Running in 4d30e752ac4d [2020-03-31T14:47:33.969Z] Removing intermediate container 4d30e752ac4d [2020-03-31T14:47:33.969Z] ---> 6b166d85e20d [2020-03-31T14:47:33.969Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-31T14:47:34.235Z] ---> Running in 2843c64753c5 [2020-03-31T14:47:36.182Z] Removing intermediate container 2843c64753c5 [2020-03-31T14:47:36.182Z] ---> 70e4a5ee225e [2020-03-31T14:47:36.182Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-31T14:47:36.182Z] ---> Running in bc13e0ec7bdc [2020-03-31T14:47:36.766Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-31T14:47:37.725Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-31T14:47:38.686Z] OK: 125 MiB in 39 packages [2020-03-31T14:47:40.128Z] Removing intermediate container bc13e0ec7bdc [2020-03-31T14:47:40.128Z] ---> 6e20f9e73081 [2020-03-31T14:47:40.128Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-31T14:47:40.128Z] ---> Running in c8243925ae0a [2020-03-31T14:47:40.399Z] Removing intermediate container c8243925ae0a [2020-03-31T14:47:40.399Z] ---> 653e693b88a8 [2020-03-31T14:47:40.399Z] Step 7/8 : COPY . . [2020-03-31T14:47:41.362Z] ---> b5fb06407caf [2020-03-31T14:47:41.362Z] Step 8/8 : RUN go mod download [2020-03-31T14:47:41.635Z] ---> Running in 79f07e1413a9 [2020-03-31T14:47:43.589Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-31T14:47:43.589Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-31T14:47:43.589Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-31T14:47:43.589Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-31T14:47:43.589Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-31T14:47:43.589Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-31T14:47:43.589Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-03-31T14:47:43.589Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-31T14:47:43.589Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.25 [2020-03-31T14:47:43.589Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-03-31T14:47:43.589Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-31T14:47:43.589Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-03-31T14:47:43.589Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-03-31T14:47:43.589Z] go: finding github.com/fatih/color v1.7.0 [2020-03-31T14:47:43.589Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-31T14:47:43.589Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-31T14:47:43.589Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-31T14:47:43.589Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-31T14:47:43.589Z] go: finding github.com/google/uuid v1.1.0 [2020-03-31T14:47:43.589Z] go: finding github.com/gorilla/mux v1.7.1 [2020-03-31T14:47:43.589Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-03-31T14:47:43.589Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-03-31T14:47:43.589Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-31T14:47:43.589Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-03-31T14:47:43.589Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-31T14:47:43.589Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-31T14:47:43.589Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-31T14:47:43.589Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-31T14:47:43.589Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-31T14:47:43.589Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-31T14:47:43.589Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-31T14:47:43.589Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-31T14:47:43.589Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-31T14:47:43.589Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-31T14:47:43.589Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-31T14:47:43.589Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-31T14:47:43.589Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-31T14:47:43.589Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-31T14:47:43.589Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-31T14:47:43.589Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-31T14:47:43.589Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-31T14:47:43.589Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-31T14:47:43.589Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-31T14:47:43.854Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-31T14:47:43.854Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-31T14:47:43.854Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-31T14:47:43.854Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-31T14:47:43.854Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-31T14:47:43.854Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-31T14:47:43.854Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-31T14:47:43.854Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-31T14:47:43.854Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-31T14:47:43.854Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-31T14:47:43.854Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-31T14:47:43.854Z] go: finding github.com/posener/complete v1.1.1 [2020-03-31T14:47:43.854Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-31T14:47:43.854Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-31T14:47:43.854Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-31T14:47:43.854Z] go: finding github.com/stretchr/testify v1.5.1 [2020-03-31T14:47:43.854Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-31T14:47:43.854Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-31T14:47:43.854Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-31T14:47:43.854Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-31T14:47:43.854Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-31T14:47:43.854Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-31T14:47:43.854Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-03-31T14:47:53.957Z] Removing intermediate container 79f07e1413a9 [2020-03-31T14:47:53.957Z] ---> f00ad99b5ae9 [2020-03-31T14:47:53.957Z] Successfully built f00ad99b5ae9 [2020-03-31T14:47:53.957Z] 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-03-31T14:47:54.574Z] + docker inspect -f . ci-base-image-arm64 [2020-03-31T14:47:54.574Z] . [Pipeline] withDockerContainer [2020-03-31T14:47:54.902Z] prd-ubuntu18.04-docker-arm64-4c-16g-1600 does not seem to be running inside a container [2020-03-31T14:47:54.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-03-31T14:47:56.266Z] $ docker top 403158c5aebdcba4fb054796bdc16b48aaf40e5c3763ee224c68106bd6937976 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-31T14:47:57.331Z] + go version [2020-03-31T14:47:57.331Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-31T14:47:58.001Z] + make test [2020-03-31T14:47:58.001Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-31T14:47:59.427Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-31T14:48:38.402Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-31T14:48:38.402Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-31T14:48:39.369Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.034s coverage: 22.6% of statements [2020-03-31T14:48:41.980Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.271s coverage: 95.8% of statements [2020-03-31T14:48:41.980Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.043s coverage: 7.9% of statements [2020-03-31T14:48:41.980Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.051s coverage: 22.1% of statements [2020-03-31T14:48:41.980Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-03-31T14:48:45.336Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.121s coverage: 38.5% of statements [2020-03-31T14:48:45.336Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-31T14:48:45.336Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-31T14:48:47.923Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.826s coverage: 79.9% of statements [2020-03-31T14:48:47.923Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-31T14:48:47.923Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-31T14:48:47.923Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-31T14:48:47.923Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.063s coverage: 52.6% of statements [2020-03-31T14:48:48.192Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.364s coverage: 76.1% of statements [2020-03-31T14:48:48.192Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-03-31T14:48:48.192Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-31T14:48:48.776Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-31T14:48:57.013Z] gofmt -l . [2020-03-31T14:48:57.013Z] [ "`gofmt -l .`" = "" ] [2020-03-31T14:48:57.013Z] ./bin/test-attribution-txt.sh [2020-03-31T14:48:57.283Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-31T14:48:57.561Z] Warning: overwriting stash ‘coverage-report’ [2020-03-31T14:48:58.039Z] Stashed 1 file(s) [Pipeline] } [2020-03-31T14:48:58.059Z] $ docker stop --time=1 403158c5aebdcba4fb054796bdc16b48aaf40e5c3763ee224c68106bd6937976 [2020-03-31T14:49:00.304Z] $ docker rm -f 403158c5aebdcba4fb054796bdc16b48aaf40e5c3763ee224c68106bd6937976 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-31T14:49:01.528Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-31T14:49:01.882Z] + ls -al . [2020-03-31T14:49:01.882Z] total 200 [2020-03-31T14:49:01.882Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 31 14:48 . [2020-03-31T14:49:01.882Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 14:46 .. [2020-03-31T14:49:01.882Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 14:46 .dockerignore [2020-03-31T14:49:01.882Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 14:46 .git [2020-03-31T14:49:01.882Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 14:46 .github [2020-03-31T14:49:01.882Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 31 14:46 .gitignore [2020-03-31T14:49:01.882Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 14:46 .semver [2020-03-31T14:49:01.882Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 31 14:46 Dockerfile.build [2020-03-31T14:49:01.882Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 31 14:46 Jenkinsfile [2020-03-31T14:49:01.882Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 31 14:46 LICENSE [2020-03-31T14:49:01.882Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 31 14:46 Makefile [2020-03-31T14:49:01.883Z] -rw-rw-r-- 1 jenkins jenkins 2249 Mar 31 14:46 README.md [2020-03-31T14:49:01.883Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 14:42 VERSION [2020-03-31T14:49:01.883Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 14:46 api [2020-03-31T14:49:01.883Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 14:46 bin [2020-03-31T14:49:01.883Z] -rw-r--r-- 1 jenkins jenkins 94825 Mar 31 14:48 coverage.out [2020-03-31T14:49:01.883Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 14:46 example [2020-03-31T14:49:01.883Z] -rw-r--r-- 1 jenkins jenkins 438 Mar 31 14:48 go.mod [2020-03-31T14:49:01.883Z] -rw-r--r-- 1 jenkins jenkins 11812 Mar 31 14:48 go.sum [2020-03-31T14:49:01.883Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 31 14:46 internal [2020-03-31T14:49:01.883Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 14:46 pkg [2020-03-31T14:49:01.883Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 14:46 snap [2020-03-31T14:49:01.883Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 31 14:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-31T14:49:02.284Z] + 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=a2f0865cb76fc7274bb55d5adbbf1cec67b2d500 --label arch=arm64 --label version=0.0.0 . [2020-03-31T14:49:02.914Z] Sending build context to Docker daemon 2.889MB [2020-03-31T14:49:02.914Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-31T14:49:02.915Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-31T14:49:02.915Z] ---> f00ad99b5ae9 [2020-03-31T14:49:02.915Z] Step 3/20 : ARG MAKE='make build' [2020-03-31T14:49:03.185Z] ---> Running in 30b1713e22d8 [2020-03-31T14:49:03.455Z] Removing intermediate container 30b1713e22d8 [2020-03-31T14:49:03.455Z] ---> 1d5477cc2cef [2020-03-31T14:49:03.455Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-31T14:49:03.455Z] ---> Running in 5d734c632fa9 [2020-03-31T14:49:04.039Z] Removing intermediate container 5d734c632fa9 [2020-03-31T14:49:04.039Z] ---> 0ffe371c3a0b [2020-03-31T14:49:04.039Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-31T14:49:04.039Z] ---> Running in d71af3cb472f [2020-03-31T14:49:04.305Z] Removing intermediate container d71af3cb472f [2020-03-31T14:49:04.305Z] ---> 981c8e24e0e3 [2020-03-31T14:49:04.305Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-31T14:49:04.572Z] ---> Running in d66caa0d1f16 [2020-03-31T14:49:06.525Z] Removing intermediate container d66caa0d1f16 [2020-03-31T14:49:06.525Z] ---> 798790707810 [2020-03-31T14:49:06.525Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-31T14:49:06.525Z] ---> Running in 455ca699dcac [2020-03-31T14:49:07.113Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-31T14:49:08.072Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-31T14:49:08.658Z] OK: 125 MiB in 39 packages [2020-03-31T14:49:10.069Z] Removing intermediate container 455ca699dcac [2020-03-31T14:49:10.069Z] ---> 8644e4c3d849 [2020-03-31T14:49:10.070Z] Step 8/20 : COPY . . [2020-03-31T14:49:10.654Z] ---> 1bf9b3259474 [2020-03-31T14:49:10.654Z] Step 9/20 : RUN ${MAKE} [2020-03-31T14:49:10.920Z] ---> Running in e539a70720f1 [2020-03-31T14:49:11.503Z] 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-03-31T14:49:50.431Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-31T14:49:50.431Z] Removing intermediate container e539a70720f1 [2020-03-31T14:49:50.431Z] ---> ddb24ca12658 [2020-03-31T14:49:50.431Z] Step 10/20 : FROM scratch [2020-03-31T14:49:50.431Z] ---> [2020-03-31T14:49:50.431Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-31T14:49:50.431Z] ---> Running in 116f3ffbca24 [2020-03-31T14:49:50.431Z] Removing intermediate container 116f3ffbca24 [2020-03-31T14:49:50.431Z] ---> 7240f971804d [2020-03-31T14:49:50.431Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-31T14:49:50.431Z] ---> Running in d56b8fa211a7 [2020-03-31T14:49:50.431Z] Removing intermediate container d56b8fa211a7 [2020-03-31T14:49:50.431Z] ---> f8549cada6f3 [2020-03-31T14:49:50.431Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-31T14:49:50.431Z] ---> Running in 15763dcc5ff1 [2020-03-31T14:49:50.431Z] Removing intermediate container 15763dcc5ff1 [2020-03-31T14:49:50.431Z] ---> b89fd795b87a [2020-03-31T14:49:50.431Z] Step 14/20 : WORKDIR / [2020-03-31T14:49:50.431Z] ---> Running in a7a86d7779e1 [2020-03-31T14:49:50.431Z] Removing intermediate container a7a86d7779e1 [2020-03-31T14:49:50.431Z] ---> 2086b5d1c68d [2020-03-31T14:49:50.431Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-31T14:49:50.431Z] ---> b04040a67807 [2020-03-31T14:49:50.432Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-31T14:49:50.432Z] ---> 0e7d6b6f07b4 [2020-03-31T14:49:50.432Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-31T14:49:50.699Z] ---> Running in 782f3314361d [2020-03-31T14:49:50.967Z] Removing intermediate container 782f3314361d [2020-03-31T14:49:50.967Z] ---> e7ac5e863f70 [2020-03-31T14:49:50.967Z] Step 18/20 : LABEL arch=arm64 [2020-03-31T14:49:50.967Z] ---> Running in 866990e4c325 [2020-03-31T14:49:51.550Z] Removing intermediate container 866990e4c325 [2020-03-31T14:49:51.550Z] ---> 3f00004a9d91 [2020-03-31T14:49:51.550Z] Step 19/20 : LABEL git_sha=a2f0865cb76fc7274bb55d5adbbf1cec67b2d500 [2020-03-31T14:49:51.550Z] ---> Running in cbcab4fe5a0e [2020-03-31T14:49:51.818Z] Removing intermediate container cbcab4fe5a0e [2020-03-31T14:49:51.818Z] ---> 1c0f4fbf333d [2020-03-31T14:49:51.818Z] Step 20/20 : LABEL version=0.0.0 [2020-03-31T14:49:52.086Z] ---> Running in 7c17b8dfc6e4 [2020-03-31T14:49:52.353Z] Removing intermediate container 7c17b8dfc6e4 [2020-03-31T14:49:52.353Z] ---> 5ba373807c63 [2020-03-31T14:49:52.353Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-31T14:49:52.353Z] Successfully built 5ba373807c63 [2020-03-31T14:49:52.353Z] 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] } [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-03-31T14:49:53.404Z] provisioning config files... [2020-03-31T14:49:53.417Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config6170026423720106292tmp [Pipeline] { [Pipeline] sh [2020-03-31T14:49:53.767Z] + curl -s https://codecov.io/bash [2020-03-31T14:49:53.767Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config6170026423720106292tmp [2020-03-31T14:49:54.026Z] [2020-03-31T14:49:54.026Z] _____ _ [2020-03-31T14:49:54.026Z] / ____| | | [2020-03-31T14:49:54.026Z] | | ___ __| | ___ ___ _____ __ [2020-03-31T14:49:54.026Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-31T14:49:54.026Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-31T14:49:54.026Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-31T14:49:54.026Z] Bash-tbd [2020-03-31T14:49:54.026Z] [2020-03-31T14:49:54.026Z] [2020-03-31T14:49:54.026Z] ==> Jenkins CI detected. [2020-03-31T14:49:54.026Z] project root: . [2020-03-31T14:49:54.026Z] Fixing merge commit SHA [2020-03-31T14:49:54.026Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-31T14:49:54.026Z] ==> Running gcov in . (disable via -X gcov) [2020-03-31T14:49:54.026Z] ==> Python coveragepy not found [2020-03-31T14:49:54.026Z] ==> Searching for coverage reports in: [2020-03-31T14:49:54.026Z] + . [2020-03-31T14:49:54.026Z] -> Found 1 reports [2020-03-31T14:49:54.026Z] ==> Detecting git/mercurial file structure [2020-03-31T14:49:54.026Z] ==> Reading reports [2020-03-31T14:49:54.026Z] + ./coverage.out bytes=94825 [2020-03-31T14:49:54.026Z] ==> Appending adjustments [2020-03-31T14:49:54.026Z] http://docs.codecov.io/docs/fixing-reports [2020-03-31T14:49:54.285Z] + Found adjustments [2020-03-31T14:49:54.285Z] ==> Gzipping contents [2020-03-31T14:49:54.285Z] ==> Uploading reports [2020-03-31T14:49:54.285Z] url: https://codecov.io [2020-03-31T14:49:54.285Z] query: branch=PR-432&commit=0605716f3fd271273ac872c46dcfc3221fe9ce3f&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-432%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=432&job= [2020-03-31T14:49:54.285Z] -> Pinging Codecov [2020-03-31T14:49:54.285Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-432&commit=0605716f3fd271273ac872c46dcfc3221fe9ce3f&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-432%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=432&job= [2020-03-31T14:49:54.853Z] -> Uploading [2020-03-31T14:49:55.112Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0605716f3fd271273ac872c46dcfc3221fe9ce3f [Pipeline] } [2020-03-31T14:49:55.119Z] 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-03-31T14:49:56.256Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-31T14:49:56.558Z] ---> package-listing.sh [2020-03-31T14:49:56.558Z] ++ facter osfamily [2020-03-31T14:49:56.558Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-31T14:49:56.558Z] + OS_FAMILY=redhat [2020-03-31T14:49:56.558Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-432 [2020-03-31T14:49:56.558Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-31T14:49:56.558Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-31T14:49:56.558Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-31T14:49:56.558Z] + PACKAGES=/tmp/packages_start.txt [2020-03-31T14:49:56.558Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' [2020-03-31T14:49:56.558Z] + PACKAGES=/tmp/packages_end.txt [2020-03-31T14:49:56.558Z] + case "${OS_FAMILY}" in [2020-03-31T14:49:56.558Z] + rpm -qa [2020-03-31T14:49:56.558Z] + sort [2020-03-31T14:49:59.859Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-31T14:49:59.859Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-31T14:49:59.859Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-31T14:50:00.118Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' [2020-03-31T14:50:00.118Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-432/archives/ [2020-03-31T14:50:00.118Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-432/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-31T14:50:00.471Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-31T14:50:00.471Z] [2020-03-31T14:50:00.471Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-31T14:50:00.810Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-31T14:50:00.810Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-31T14:50:00.810Z] c9b1b535fdd9: Pulling fs layer [2020-03-31T14:50:00.810Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-31T14:50:00.810Z] 756a868c4378: Pulling fs layer [2020-03-31T14:50:00.810Z] 444b2fc9a129: Pulling fs layer [2020-03-31T14:50:00.810Z] ea15f1150254: Pulling fs layer [2020-03-31T14:50:00.810Z] 41b27a9f41bf: Pulling fs layer [2020-03-31T14:50:00.810Z] 28c525ee5125: Pulling fs layer [2020-03-31T14:50:00.810Z] 094b1ea09ed8: Pulling fs layer [2020-03-31T14:50:00.810Z] 138eaada9080: Pulling fs layer [2020-03-31T14:50:00.810Z] 0622d0fa9048: Pulling fs layer [2020-03-31T14:50:00.810Z] 41b27a9f41bf: Waiting [2020-03-31T14:50:00.810Z] 28c525ee5125: Waiting [2020-03-31T14:50:00.810Z] 094b1ea09ed8: Waiting [2020-03-31T14:50:00.810Z] 138eaada9080: Waiting [2020-03-31T14:50:00.810Z] 0622d0fa9048: Waiting [2020-03-31T14:50:00.810Z] ea15f1150254: Waiting [2020-03-31T14:50:00.810Z] 444b2fc9a129: Waiting [2020-03-31T14:50:00.810Z] 2cc5ad85d9ab: Download complete [2020-03-31T14:50:00.810Z] 444b2fc9a129: Verifying Checksum [2020-03-31T14:50:00.810Z] 444b2fc9a129: Download complete [2020-03-31T14:50:00.810Z] c9b1b535fdd9: Verifying Checksum [2020-03-31T14:50:00.810Z] c9b1b535fdd9: Download complete [2020-03-31T14:50:01.079Z] ea15f1150254: Verifying Checksum [2020-03-31T14:50:01.079Z] ea15f1150254: Download complete [2020-03-31T14:50:01.079Z] 28c525ee5125: Verifying Checksum [2020-03-31T14:50:01.079Z] 28c525ee5125: Download complete [2020-03-31T14:50:01.354Z] c9b1b535fdd9: Pull complete [2020-03-31T14:50:01.354Z] 756a868c4378: Download complete [2020-03-31T14:50:01.618Z] 138eaada9080: Verifying Checksum [2020-03-31T14:50:01.618Z] 138eaada9080: Download complete [2020-03-31T14:50:01.618Z] 2cc5ad85d9ab: Pull complete [2020-03-31T14:50:01.619Z] 0622d0fa9048: Verifying Checksum [2020-03-31T14:50:01.619Z] 0622d0fa9048: Download complete [2020-03-31T14:50:01.619Z] 094b1ea09ed8: Verifying Checksum [2020-03-31T14:50:01.619Z] 094b1ea09ed8: Download complete [2020-03-31T14:50:02.583Z] 41b27a9f41bf: Verifying Checksum [2020-03-31T14:50:02.583Z] 41b27a9f41bf: Download complete [2020-03-31T14:50:03.527Z] 756a868c4378: Pull complete [2020-03-31T14:50:03.527Z] 444b2fc9a129: Pull complete [2020-03-31T14:50:04.915Z] ea15f1150254: Pull complete [2020-03-31T14:50:08.246Z] 41b27a9f41bf: Pull complete [2020-03-31T14:50:08.246Z] 28c525ee5125: Pull complete [2020-03-31T14:50:10.465Z] 094b1ea09ed8: Pull complete [2020-03-31T14:50:10.465Z] 138eaada9080: Pull complete [2020-03-31T14:50:10.726Z] 0622d0fa9048: Pull complete [2020-03-31T14:50:10.726Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-31T14:50:10.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-31T14:50:10.916Z] prd-centos7-docker-4c-2g-1596 does not seem to be running inside a container [2020-03-31T14:50:10.963Z] $ 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-432 -v /w/workspace/dgexfoundry_device-sdk-go_PR-432:/w/workspace/dgexfoundry_device-sdk-go_PR-432:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-432@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-31T14:50:12.047Z] $ docker top d7acfb1395ec9fe4d8441dd02c00215a20381fc5e296d09ab567deee736ca5eb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-31T14:50:12.257Z] provisioning config files... [2020-03-31T14:50:12.269Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config962060751302075828tmp [Pipeline] { [Pipeline] echo [2020-03-31T14:50:12.319Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-31T14:50:12.610Z] ---> create-netrc.sh [Pipeline] echo [2020-03-31T14:50:12.617Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-31T14:50:12.906Z] ---> logs-deploy.sh [2020-03-31T14:50:12.906Z] + ARCHIVE_ARTIFACTS= [2020-03-31T14:50:12.906Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-31T14:50:12.906Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-31T14:50:12.906Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-31T14:50:12.906Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/9 [2020-03-31T14:50:12.906Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/9/ [2020-03-31T14:50:12.906Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/9 /w/workspace/dgexfoundry_device-sdk-go_PR-432 [2020-03-31T14:50:14.281Z] Archives upload complete. [2020-03-31T14:50:14.281Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/9 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/9/ [2020-03-31T14:50:14.847Z] ---> uname -a: [2020-03-31T14:50:14.847Z] Linux d7acfb1395ec 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux [2020-03-31T14:50:14.847Z] [2020-03-31T14:50:14.847Z] [2020-03-31T14:50:14.847Z] ---> lscpu: [2020-03-31T14:50:14.847Z] Architecture: x86_64 [2020-03-31T14:50:14.847Z] CPU op-mode(s): 32-bit, 64-bit [2020-03-31T14:50:14.847Z] Byte Order: Little Endian [2020-03-31T14:50:14.847Z] Address sizes: 40 bits physical, 48 bits virtual [2020-03-31T14:50:14.847Z] CPU(s): 4 [2020-03-31T14:50:14.847Z] On-line CPU(s) list: 0-3 [2020-03-31T14:50:14.847Z] Thread(s) per core: 1 [2020-03-31T14:50:14.847Z] Core(s) per socket: 1 [2020-03-31T14:50:14.847Z] Socket(s): 4 [2020-03-31T14:50:14.847Z] NUMA node(s): 1 [2020-03-31T14:50:14.847Z] Vendor ID: GenuineIntel [2020-03-31T14:50:14.847Z] CPU family: 6 [2020-03-31T14:50:14.847Z] Model: 44 [2020-03-31T14:50:14.847Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-03-31T14:50:14.847Z] Stepping: 1 [2020-03-31T14:50:14.847Z] CPU MHz: 2933.436 [2020-03-31T14:50:14.847Z] BogoMIPS: 5866.87 [2020-03-31T14:50:14.847Z] Virtualization: VT-x [2020-03-31T14:50:14.847Z] Hypervisor vendor: KVM [2020-03-31T14:50:14.847Z] Virtualization type: full [2020-03-31T14:50:14.847Z] L1d cache: 128 KiB [2020-03-31T14:50:14.847Z] L1i cache: 128 KiB [2020-03-31T14:50:14.847Z] L2 cache: 16 MiB [2020-03-31T14:50:14.847Z] L3 cache: 64 MiB [2020-03-31T14:50:14.847Z] NUMA node0 CPU(s): 0-3 [2020-03-31T14:50:14.847Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes [2020-03-31T14:50:14.847Z] Vulnerability Meltdown: Mitigation; PTI [2020-03-31T14:50:14.847Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-03-31T14:50:14.847Z] Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization [2020-03-31T14:50:14.847Z] Vulnerability Spectre v2: Mitigation; Full retpoline [2020-03-31T14:50:14.847Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2020-03-31T14:50:14.847Z] [2020-03-31T14:50:14.847Z] [2020-03-31T14:50:14.847Z] ---> nproc: [2020-03-31T14:50:14.847Z] 4 [2020-03-31T14:50:14.847Z] [2020-03-31T14:50:14.847Z] [2020-03-31T14:50:14.847Z] ---> df -h: [2020-03-31T14:50:14.847Z] Filesystem Size Used Available Use% Mounted on [2020-03-31T14:50:14.847Z] overlay 50.0G 6.4G 43.6G 13% / [2020-03-31T14:50:14.847Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-03-31T14:50:14.847Z] tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup [2020-03-31T14:50:14.847Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-03-31T14:50:14.847Z] /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf [2020-03-31T14:50:14.847Z] /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname [2020-03-31T14:50:14.847Z] /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts [2020-03-31T14:50:14.847Z] /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-432 [2020-03-31T14:50:14.847Z] /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp [2020-03-31T14:50:14.847Z] /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa [2020-03-31T14:50:14.847Z] [2020-03-31T14:50:14.847Z] [2020-03-31T14:50:14.847Z] ---> free -m: [2020-03-31T14:50:14.847Z] total used free shared buff/cache available [2020-03-31T14:50:14.847Z] Mem: 1838 595 75 0 1167 1138 [2020-03-31T14:50:14.847Z] Swap: 1023 1 1022 [2020-03-31T14:50:14.847Z] [2020-03-31T14:50:14.847Z] [2020-03-31T14:50:14.847Z] ---> ip addr: [2020-03-31T14:50:14.847Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2020-03-31T14:50:14.847Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2020-03-31T14:50:14.847Z] inet 127.0.0.1/8 scope host lo [2020-03-31T14:50:14.847Z] valid_lft forever preferred_lft forever [2020-03-31T14:50:14.847Z] 6: eth0@if7: mtu 1458 qdisc noqueue state UP [2020-03-31T14:50:14.847Z] link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff [2020-03-31T14:50:14.847Z] inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 [2020-03-31T14:50:14.847Z] valid_lft forever preferred_lft forever [2020-03-31T14:50:14.847Z] [2020-03-31T14:50:14.847Z]