Pull request #467 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 iain-anderson for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e0c3522bbcc0c413b40336820f360d01cf058287+9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 (f4aad7b96e41d59eca1d065d910ab8706aeb6ccd) 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1080 in /w/workspace/dgexfoundry_device-sdk-go_PR-467 [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-467 # timeout=10 Fetching without tags 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/467/head:refs/remotes/origin/PR-467 +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/467/head:refs/remotes/origin/PR-467 # 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/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit e0c3522bbcc0c413b40336820f360d01cf058287 Merge succeeded, producing e0c3522bbcc0c413b40336820f360d01cf058287 Checking out Revision e0c3522bbcc0c413b40336820f360d01cf058287 (PR-467) > git config core.sparsecheckout # timeout=10 > git checkout -f e0c3522bbcc0c413b40336820f360d01cf058287 # 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 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0c3522bbcc0c413b40336820f360d01cf058287 # timeout=10 Commit message: "Add v2 REST API specification" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-27T15:49:24.317Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 11d4872db3734b7bf982478baf8418864f62165c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-27T15:49:27.137Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-27T15:49:27.438Z] [2020-03-27T15:49:27.438Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-27T15:49:27.939Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-27T15:49:28.219Z] latest: Pulling from edgex-devops/git-semver [2020-03-27T15:49:28.219Z] 9123ac7c32f7: Pulling fs layer [2020-03-27T15:49:28.219Z] b8cc5d1170e3: Pulling fs layer [2020-03-27T15:49:28.219Z] 2924cbbf6a41: Pulling fs layer [2020-03-27T15:49:28.219Z] 93b08a4f1073: Pulling fs layer [2020-03-27T15:49:28.219Z] 93b08a4f1073: Waiting [2020-03-27T15:49:28.219Z] b8cc5d1170e3: Verifying Checksum [2020-03-27T15:49:28.219Z] b8cc5d1170e3: Download complete [2020-03-27T15:49:28.560Z] 9123ac7c32f7: Verifying Checksum [2020-03-27T15:49:28.560Z] 9123ac7c32f7: Download complete [2020-03-27T15:49:28.560Z] 2924cbbf6a41: Verifying Checksum [2020-03-27T15:49:28.560Z] 2924cbbf6a41: Download complete [2020-03-27T15:49:28.852Z] 93b08a4f1073: Verifying Checksum [2020-03-27T15:49:28.852Z] 93b08a4f1073: Download complete [2020-03-27T15:49:28.852Z] 9123ac7c32f7: Pull complete [2020-03-27T15:49:29.132Z] b8cc5d1170e3: Pull complete [2020-03-27T15:49:30.644Z] 2924cbbf6a41: Pull complete [2020-03-27T15:49:30.913Z] 93b08a4f1073: Pull complete [2020-03-27T15:49:30.913Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-27T15:49:30.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-27T15:49:31.206Z] prd-centos7-docker-4c-2g-1080 does not seem to be running inside a container [2020-03-27T15:49:31.266Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-467 -v /w/workspace/dgexfoundry_device-sdk-go_PR-467:/w/workspace/dgexfoundry_device-sdk-go_PR-467:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-27T15:49:32.083Z] $ docker top 4b89f2041d9ecf1bb4b4fec9159e4c1f24089fde700f71a087a8672b3bf1ff3d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-27T15:49:32.404Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-27T15:49:32.404Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-27T15:49:32.839Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-27T15:49:32.847Z] $ docker exec 4b89f2041d9ecf1bb4b4fec9159e4c1f24089fde700f71a087a8672b3bf1ff3d ssh-agent [2020-03-27T15:49:33.237Z] SSH_AUTH_SOCK=/tmp/ssh-bGZkTjN3kkvX/agent.15 [2020-03-27T15:49:33.237Z] SSH_AGENT_PID=21 [2020-03-27T15:49:33.282Z] Running ssh-add (command line suppressed) [2020-03-27T15:49:33.600Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_9070615235116291101.key (/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_9070615235116291101.key) [2020-03-27T15:49:33.694Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-27T15:49:34.123Z] + git describe --exact-match --tags HEAD [2020-03-27T15:49:34.123Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-27T15:49:34.303Z] $ docker exec --env ******** --env ******** 4b89f2041d9ecf1bb4b4fec9159e4c1f24089fde700f71a087a8672b3bf1ff3d ssh-agent -k [2020-03-27T15:49:34.817Z] unset SSH_AUTH_SOCK; [2020-03-27T15:49:34.818Z] unset SSH_AGENT_PID; [2020-03-27T15:49:34.818Z] echo Agent pid 21 killed; [2020-03-27T15:49:34.911Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-27T15:49:34.978Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-27T15:49:34.978Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-27T15:49:35.058Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-27T15:49:35.058Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-27T15:49:35.604Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-27T15:49:35.611Z] $ docker exec 4b89f2041d9ecf1bb4b4fec9159e4c1f24089fde700f71a087a8672b3bf1ff3d ssh-agent [2020-03-27T15:49:36.203Z] SSH_AUTH_SOCK=/tmp/ssh-hW1d9nAZA5s1/agent.56 [2020-03-27T15:49:36.203Z] SSH_AGENT_PID=63 [2020-03-27T15:49:36.222Z] Running ssh-add (command line suppressed) [2020-03-27T15:49:36.840Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_6266798529153154451.key (/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_6266798529153154451.key) [2020-03-27T15:49:37.102Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-27T15:49:38.089Z] + git semver init [2020-03-27T15:49:38.089Z] # -> Open(): unable to determine branch for HEAD [2020-03-27T15:49:38.089Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-467/.git [2020-03-27T15:49:38.089Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-467 [2020-03-27T15:49:38.089Z] # $SEMVER_REMOTE_NAME = origin [2020-03-27T15:49:38.089Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-27T15:49:38.089Z] # $SEMVER_USER_NAME = jenkins [2020-03-27T15:49:38.089Z] # $SEMVER_BRANCH = PR-467 [2020-03-27T15:49:38.089Z] # $SEMVER_TEMP = /tmp/semver-374359155 [2020-03-27T15:49:38.089Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-27T15:49:39.063Z] # '/tmp/semver-374359155' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-467/.semver' [2020-03-27T15:49:39.063Z] # -> Force: false [2020-03-27T15:49:39.063Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-467/.semver [Pipeline] } [2020-03-27T15:49:39.096Z] $ docker exec --env ******** --env ******** 4b89f2041d9ecf1bb4b4fec9159e4c1f24089fde700f71a087a8672b3bf1ff3d ssh-agent -k [2020-03-27T15:49:39.498Z] unset SSH_AUTH_SOCK; [2020-03-27T15:49:39.498Z] unset SSH_AGENT_PID; [2020-03-27T15:49:39.499Z] echo Agent pid 63 killed; [2020-03-27T15:49:39.631Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-27T15:49:40.495Z] + git semver [Pipeline] } [2020-03-27T15:49:40.531Z] $ docker stop --time=1 4b89f2041d9ecf1bb4b4fec9159e4c1f24089fde700f71a087a8672b3bf1ff3d [2020-03-27T15:49:42.351Z] $ docker rm -f 4b89f2041d9ecf1bb4b4fec9159e4c1f24089fde700f71a087a8672b3bf1ff3d [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-27T15:49:44.351Z] Stashed 32 file(s) [Pipeline] echo [2020-03-27T15:49:44.353Z] [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-27T15:49:59.596Z] Still waiting to schedule task [2020-03-27T15:49:59.596Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-03-27T15:49:59.598Z] Still waiting to schedule task [2020-03-27T15:49:59.598Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-03-27T15:51:46.028Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1081 in /w/workspace/dgexfoundry_device-sdk-go_PR-467 [Pipeline] { [Pipeline] ws [2020-03-27T15:51:46.070Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2020-03-27T15:51:52.848Z] using credential edgex-jenkins-ssh [2020-03-27T15:51:52.971Z] Cloning the remote Git repository [2020-03-27T15:51:52.971Z] Cloning with configured refspecs honoured and without tags [2020-03-27T15:51:53.068Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-27T15:51:53.162Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2020-03-27T15:51:53.271Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-27T15:51:53.271Z] > git --version # timeout=10 [2020-03-27T15:51:53.301Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-27T15:51:53.358Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-27T15:51:54.426Z] Fetching without tags [2020-03-27T15:51:54.978Z] Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit e0c3522bbcc0c413b40336820f360d01cf058287 [2020-03-27T15:51:54.277Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-27T15:51:54.301Z] > git config --add remote.origin.fetch +refs/pull/467/head:refs/remotes/origin/PR-467 # timeout=10 [2020-03-27T15:51:54.319Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-27T15:51:54.372Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-27T15:51:54.441Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-27T15:51:54.442Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-27T15:51:54.452Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-27T15:51:55.002Z] > git config core.sparsecheckout # timeout=10 [2020-03-27T15:51:55.028Z] > git checkout -f e0c3522bbcc0c413b40336820f360d01cf058287 # timeout=10 [2020-03-27T15:51:55.154Z] > git remote # timeout=10 [2020-03-27T15:51:55.182Z] > git config --get remote.origin.url # timeout=10 [2020-03-27T15:51:55.210Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-27T15:51:55.221Z] > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 [2020-03-27T15:51:55.255Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-27T15:51:55.306Z] Merge succeeded, producing e0c3522bbcc0c413b40336820f360d01cf058287 [2020-03-27T15:51:55.306Z] Checking out Revision e0c3522bbcc0c413b40336820f360d01cf058287 (PR-467) [2020-03-27T15:51:55.913Z] Running on prd-centos7-docker-4c-2g-1082 in /w/workspace/dgexfoundry_device-sdk-go_PR-467 [Pipeline] { [Pipeline] ws [2020-03-27T15:51:55.950Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2020-03-27T15:51:55.315Z] > git config core.sparsecheckout # timeout=10 [2020-03-27T15:51:55.335Z] > git checkout -f e0c3522bbcc0c413b40336820f360d01cf058287 # timeout=10 [2020-03-27T15:52:00.006Z] using credential edgex-jenkins-ssh [2020-03-27T15:52:00.008Z] Commit message: "Add v2 REST API specification" [2020-03-27T15:52:00.055Z] Cloning the remote Git repository [2020-03-27T15:52:00.055Z] Cloning with configured refspecs honoured and without tags [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-03-27T15:52:00.102Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-27T15:52:00.189Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2020-03-27T15:52:00.268Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-27T15:52:00.268Z] > git --version # timeout=10 [2020-03-27T15:52:00.300Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-27T15:52:00.340Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-27T15:52:00.984Z] Fetching without tags [2020-03-27T15:52:01.444Z] Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit e0c3522bbcc0c413b40336820f360d01cf058287 [Pipeline] echo [2020-03-27T15:52:01.580Z] ========================================================= [2020-03-27T15:52:01.580Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-27T15:52:01.580Z] ========================================================= [2020-03-27T15:52:01.600Z] Merge succeeded, producing e0c3522bbcc0c413b40336820f360d01cf058287 [2020-03-27T15:52:01.601Z] Checking out Revision e0c3522bbcc0c413b40336820f360d01cf058287 (PR-467) [Pipeline] isUnix [Pipeline] sh [2020-03-27T15:52:00.908Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-27T15:52:00.953Z] > git config --add remote.origin.fetch +refs/pull/467/head:refs/remotes/origin/PR-467 # timeout=10 [2020-03-27T15:52:00.959Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-27T15:52:00.979Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-27T15:52:01.001Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-27T15:52:01.001Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-27T15:52:01.013Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-27T15:52:01.458Z] > git config core.sparsecheckout # timeout=10 [2020-03-27T15:52:01.497Z] > git checkout -f e0c3522bbcc0c413b40336820f360d01cf058287 # timeout=10 [2020-03-27T15:52:01.567Z] > git remote # timeout=10 [2020-03-27T15:52:01.574Z] > git config --get remote.origin.url # timeout=10 [2020-03-27T15:52:01.580Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-27T15:52:01.584Z] > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 [2020-03-27T15:52:01.594Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-27T15:52:01.607Z] > git config core.sparsecheckout # timeout=10 [2020-03-27T15:52:01.617Z] > git checkout -f e0c3522bbcc0c413b40336820f360d01cf058287 # timeout=10 [2020-03-27T15:52:03.214Z] + 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-27T15:52:04.190Z] Sending build context to Docker daemon 2.734MB [2020-03-27T15:52:04.464Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-27T15:52:04.465Z] Step 2/8 : FROM ${BASE} [2020-03-27T15:52:04.736Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-27T15:52:04.736Z] cde5963f3b93: Pulling fs layer [2020-03-27T15:52:04.736Z] 2a23fa8c16f7: Pulling fs layer [2020-03-27T15:52:04.736Z] 777b28850792: Pulling fs layer [2020-03-27T15:52:04.736Z] 8a11ddd9e578: Pulling fs layer [2020-03-27T15:52:04.736Z] 4cf88f913ddb: Pulling fs layer [2020-03-27T15:52:04.736Z] 1df406cf5192: Pulling fs layer [2020-03-27T15:52:04.736Z] cd6300453558: Pulling fs layer [2020-03-27T15:52:04.736Z] b9c365052c96: Pulling fs layer [2020-03-27T15:52:04.736Z] a2d8cc88f415: Pulling fs layer [2020-03-27T15:52:04.736Z] ea1d1ca13537: Pulling fs layer [2020-03-27T15:52:04.736Z] 3750a50a1c5e: Pulling fs layer [2020-03-27T15:52:04.736Z] 1df406cf5192: Waiting [2020-03-27T15:52:04.736Z] cd6300453558: Waiting [2020-03-27T15:52:04.736Z] b9c365052c96: Waiting [2020-03-27T15:52:04.736Z] a2d8cc88f415: Waiting [2020-03-27T15:52:04.736Z] ea1d1ca13537: Waiting [2020-03-27T15:52:04.736Z] 3750a50a1c5e: Waiting [2020-03-27T15:52:04.736Z] 8a11ddd9e578: Waiting [2020-03-27T15:52:04.736Z] 4cf88f913ddb: Waiting [2020-03-27T15:52:04.736Z] 777b28850792: Verifying Checksum [2020-03-27T15:52:04.736Z] 777b28850792: Download complete [2020-03-27T15:52:04.736Z] 2a23fa8c16f7: Download complete [2020-03-27T15:52:04.736Z] 4cf88f913ddb: Verifying Checksum [2020-03-27T15:52:04.736Z] 4cf88f913ddb: Download complete [2020-03-27T15:52:04.736Z] 1df406cf5192: Verifying Checksum [2020-03-27T15:52:04.736Z] 1df406cf5192: Download complete [2020-03-27T15:52:05.015Z] cde5963f3b93: Verifying Checksum [2020-03-27T15:52:05.015Z] cde5963f3b93: Download complete [2020-03-27T15:52:06.015Z] cde5963f3b93: Pull complete [2020-03-27T15:52:06.490Z] Commit message: "Add v2 REST API specification" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2020-03-27T15:52:06.994Z] 2a23fa8c16f7: Pull complete [2020-03-27T15:52:06.994Z] 777b28850792: Pull complete [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-27T15:52:07.381Z] ========================================================= [2020-03-27T15:52:07.381Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-27T15:52:07.381Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-27T15:52:08.064Z] + 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-27T15:52:08.639Z] Sending build context to Docker daemon 2.734MB [2020-03-27T15:52:08.639Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-27T15:52:08.639Z] Step 2/8 : FROM ${BASE} [2020-03-27T15:52:08.639Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-27T15:52:08.639Z] e6b0cf9c0882: Pulling fs layer [2020-03-27T15:52:08.639Z] 2848faf0eed1: Pulling fs layer [2020-03-27T15:52:08.639Z] 0f37312ad70f: Pulling fs layer [2020-03-27T15:52:08.639Z] 5788d62ee057: Pulling fs layer [2020-03-27T15:52:08.639Z] 0e6b1d234666: Pulling fs layer [2020-03-27T15:52:08.639Z] bf5d7aec512f: Pulling fs layer [2020-03-27T15:52:08.639Z] 34c802a77dc8: Pulling fs layer [2020-03-27T15:52:08.639Z] 9eb99e56ec68: Pulling fs layer [2020-03-27T15:52:08.639Z] 27c7a5d97fbd: Pulling fs layer [2020-03-27T15:52:08.639Z] 5c102a31e300: Pulling fs layer [2020-03-27T15:52:08.639Z] dcfb455df0a1: Pulling fs layer [2020-03-27T15:52:08.639Z] 34c802a77dc8: Waiting [2020-03-27T15:52:08.639Z] 9eb99e56ec68: Waiting [2020-03-27T15:52:08.639Z] 27c7a5d97fbd: Waiting [2020-03-27T15:52:08.639Z] 5c102a31e300: Waiting [2020-03-27T15:52:08.639Z] dcfb455df0a1: Waiting [2020-03-27T15:52:08.639Z] 0e6b1d234666: Waiting [2020-03-27T15:52:08.639Z] bf5d7aec512f: Waiting [2020-03-27T15:52:08.639Z] 0f37312ad70f: Verifying Checksum [2020-03-27T15:52:08.639Z] 0f37312ad70f: Download complete [2020-03-27T15:52:08.639Z] 2848faf0eed1: Verifying Checksum [2020-03-27T15:52:08.639Z] 2848faf0eed1: Download complete [2020-03-27T15:52:08.910Z] 0e6b1d234666: Verifying Checksum [2020-03-27T15:52:08.910Z] 0e6b1d234666: Download complete [2020-03-27T15:52:08.910Z] bf5d7aec512f: Download complete [2020-03-27T15:52:08.910Z] e6b0cf9c0882: Verifying Checksum [2020-03-27T15:52:09.184Z] e6b0cf9c0882: Pull complete [2020-03-27T15:52:09.448Z] 2848faf0eed1: Pull complete [2020-03-27T15:52:09.602Z] cd6300453558: Verifying Checksum [2020-03-27T15:52:09.602Z] cd6300453558: Download complete [2020-03-27T15:52:09.602Z] a2d8cc88f415: Verifying Checksum [2020-03-27T15:52:09.602Z] a2d8cc88f415: Download complete [2020-03-27T15:52:10.052Z] 34c802a77dc8: Verifying Checksum [2020-03-27T15:52:10.052Z] 34c802a77dc8: Download complete [2020-03-27T15:52:10.052Z] 27c7a5d97fbd: Verifying Checksum [2020-03-27T15:52:10.052Z] 27c7a5d97fbd: Download complete [2020-03-27T15:52:10.346Z] 5c102a31e300: Verifying Checksum [2020-03-27T15:52:10.346Z] 5c102a31e300: Download complete [2020-03-27T15:52:10.610Z] 9eb99e56ec68: Verifying Checksum [2020-03-27T15:52:10.610Z] 9eb99e56ec68: Download complete [2020-03-27T15:52:10.610Z] dcfb455df0a1: Verifying Checksum [2020-03-27T15:52:10.610Z] dcfb455df0a1: Download complete [2020-03-27T15:52:10.610Z] 0f37312ad70f: Pull complete [2020-03-27T15:52:10.870Z] 5788d62ee057: Download complete [2020-03-27T15:52:12.199Z] ea1d1ca13537: Verifying Checksum [2020-03-27T15:52:12.199Z] ea1d1ca13537: Download complete [2020-03-27T15:52:12.199Z] 3750a50a1c5e: Verifying Checksum [2020-03-27T15:52:12.199Z] 3750a50a1c5e: Download complete [2020-03-27T15:52:14.787Z] b9c365052c96: Verifying Checksum [2020-03-27T15:52:14.787Z] b9c365052c96: Download complete [2020-03-27T15:52:16.737Z] 8a11ddd9e578: Verifying Checksum [2020-03-27T15:52:16.738Z] 8a11ddd9e578: Download complete [2020-03-27T15:52:17.462Z] 5788d62ee057: Pull complete [2020-03-27T15:52:17.462Z] 0e6b1d234666: Pull complete [2020-03-27T15:52:17.462Z] bf5d7aec512f: Pull complete [2020-03-27T15:52:21.683Z] 34c802a77dc8: Pull complete [2020-03-27T15:52:25.034Z] 9eb99e56ec68: Pull complete [2020-03-27T15:52:25.034Z] 27c7a5d97fbd: Pull complete [2020-03-27T15:52:26.003Z] 5c102a31e300: Pull complete [2020-03-27T15:52:26.003Z] dcfb455df0a1: Pull complete [2020-03-27T15:52:26.003Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-27T15:52:26.003Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-27T15:52:26.003Z] ---> 7c70fe431013 [2020-03-27T15:52:26.003Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-27T15:52:26.263Z] ---> Running in 8338ea3e27b9 [2020-03-27T15:52:26.263Z] Removing intermediate container 8338ea3e27b9 [2020-03-27T15:52:26.263Z] ---> 95a5d0c61b23 [2020-03-27T15:52:26.263Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-27T15:52:26.263Z] ---> Running in abb78f098176 [2020-03-27T15:52:27.644Z] Removing intermediate container abb78f098176 [2020-03-27T15:52:27.644Z] ---> 00ede8b497c0 [2020-03-27T15:52:27.644Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-27T15:52:27.903Z] ---> Running in 487951e5a617 [2020-03-27T15:52:28.163Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-27T15:52:29.084Z] 8a11ddd9e578: Pull complete [2020-03-27T15:52:29.084Z] 4cf88f913ddb: Pull complete [2020-03-27T15:52:29.084Z] 1df406cf5192: Pull complete [2020-03-27T15:52:29.101Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-27T15:52:29.101Z] OK: 143 MiB in 39 packages [2020-03-27T15:52:29.668Z] Removing intermediate container 487951e5a617 [2020-03-27T15:52:29.668Z] ---> ab9dc3e981e6 [2020-03-27T15:52:29.668Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-27T15:52:29.668Z] ---> Running in 10c9136ae8a7 [2020-03-27T15:52:29.668Z] Removing intermediate container 10c9136ae8a7 [2020-03-27T15:52:29.668Z] ---> 27d9844a8847 [2020-03-27T15:52:29.668Z] Step 7/8 : COPY . . [2020-03-27T15:52:30.238Z] ---> f1123c85962d [2020-03-27T15:52:30.238Z] Step 8/8 : RUN go mod download [2020-03-27T15:52:30.238Z] ---> Running in a0c15c987c22 [2020-03-27T15:52:32.153Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-27T15:52:32.153Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-27T15:52:32.153Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-27T15:52:32.163Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-27T15:52:32.163Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-27T15:52:32.163Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-27T15:52:32.163Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-27T15:52:32.163Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-27T15:52:32.163Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-27T15:52:32.163Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-27T15:52:32.163Z] go: finding github.com/fatih/color v1.7.0 [2020-03-27T15:52:32.163Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-27T15:52:32.163Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-27T15:52:32.163Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-27T15:52:32.163Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-27T15:52:32.163Z] go: finding github.com/google/uuid v1.1.0 [2020-03-27T15:52:32.163Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-27T15:52:32.163Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-27T15:52:32.163Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-27T15:52:32.163Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-27T15:52:32.163Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-27T15:52:32.163Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-27T15:52:32.163Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-27T15:52:32.163Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-27T15:52:32.163Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-27T15:52:32.163Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-27T15:52:32.163Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-27T15:52:32.163Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-27T15:52:32.163Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-27T15:52:32.423Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-27T15:52:32.423Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-27T15:52:32.423Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-27T15:52:32.423Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-27T15:52:32.423Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-27T15:52:32.423Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-27T15:52:32.423Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-27T15:52:32.423Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-27T15:52:32.423Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-27T15:52:32.423Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-27T15:52:32.447Z] cd6300453558: Pull complete [2020-03-27T15:52:32.683Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-27T15:52:32.683Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-27T15:52:32.683Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-27T15:52:32.683Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-27T15:52:32.683Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-27T15:52:32.683Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-27T15:52:32.683Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-27T15:52:32.683Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-27T15:52:32.683Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-27T15:52:32.683Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-27T15:52:32.943Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-27T15:52:32.943Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-27T15:52:32.943Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-27T15:52:32.943Z] go: finding github.com/posener/complete v1.1.1 [2020-03-27T15:52:32.943Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-27T15:52:32.943Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-27T15:52:32.943Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-27T15:52:32.943Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-27T15:52:32.943Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-27T15:52:32.943Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-27T15:52:32.943Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-27T15:52:32.943Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-27T15:52:32.943Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-27T15:52:32.943Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-27T15:52:33.204Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-27T15:52:37.801Z] b9c365052c96: Pull complete [2020-03-27T15:52:37.801Z] a2d8cc88f415: Pull complete [2020-03-27T15:52:39.229Z] ea1d1ca13537: Pull complete [2020-03-27T15:52:39.499Z] 3750a50a1c5e: Pull complete [2020-03-27T15:52:39.499Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-27T15:52:39.499Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-27T15:52:39.499Z] ---> 78745c68409d [2020-03-27T15:52:39.499Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-27T15:52:43.229Z] Removing intermediate container a0c15c987c22 [2020-03-27T15:52:43.229Z] ---> 516d241c6c77 [2020-03-27T15:52:43.229Z] Successfully built 516d241c6c77 [2020-03-27T15:52:43.229Z] 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-27T15:52:43.770Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-27T15:52:43.770Z] . [2020-03-27T15:52:43.770Z] ---> Running in 8da1df490651 [2020-03-27T15:52:43.770Z] Removing intermediate container 8da1df490651 [2020-03-27T15:52:43.770Z] ---> 8689056a6417 [2020-03-27T15:52:43.770Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] withDockerContainer [2020-03-27T15:52:43.905Z] prd-centos7-docker-4c-2g-1082 does not seem to be running inside a container [2020-03-27T15:52:43.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-03-27T15:52:44.038Z] ---> Running in df93eab085ec [2020-03-27T15:52:44.729Z] $ docker top bc4f0f6f660f8c14c0b1381168fd1e2c95a00fdca72aca01cc61aa1d46f47bb4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-27T15:52:45.229Z] + go version [2020-03-27T15:52:45.229Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-27T15:52:45.529Z] + make test [2020-03-27T15:52:45.529Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-27T15:52:45.996Z] Removing intermediate container df93eab085ec [2020-03-27T15:52:45.996Z] ---> 3502a2871616 [2020-03-27T15:52:45.997Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-27T15:52:46.267Z] ---> Running in 69c7812acd5e [2020-03-27T15:52:47.232Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-27T15:52:48.191Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-27T15:52:48.460Z] OK: 125 MiB in 39 packages [2020-03-27T15:52:49.880Z] Removing intermediate container 69c7812acd5e [2020-03-27T15:52:49.880Z] ---> 2cadb3f3232b [2020-03-27T15:52:49.880Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-27T15:52:49.880Z] ---> Running in 13aefc4a3744 [2020-03-27T15:52:50.156Z] Removing intermediate container 13aefc4a3744 [2020-03-27T15:52:50.156Z] ---> cf6cba6b980a [2020-03-27T15:52:50.156Z] Step 7/8 : COPY . . [2020-03-27T15:52:51.571Z] ---> 61b7d145cd10 [2020-03-27T15:52:51.571Z] Step 8/8 : RUN go mod download [2020-03-27T15:52:51.571Z] ---> Running in 69397d8371a6 [2020-03-27T15:52:53.522Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-27T15:52:53.522Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-27T15:52:53.522Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-27T15:52:53.522Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-27T15:52:53.522Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-27T15:52:53.522Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-27T15:52:53.522Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-27T15:52:53.522Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-27T15:52:53.522Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-27T15:52:53.522Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-27T15:52:53.522Z] go: finding github.com/fatih/color v1.7.0 [2020-03-27T15:52:53.522Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-27T15:52:53.522Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-27T15:52:53.522Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-27T15:52:53.522Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-27T15:52:53.522Z] go: finding github.com/google/uuid v1.1.0 [2020-03-27T15:52:53.522Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-27T15:52:53.522Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-27T15:52:53.522Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-27T15:52:53.522Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-27T15:52:53.522Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-27T15:52:53.522Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-27T15:52:53.522Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-27T15:52:53.522Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-27T15:52:53.522Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-27T15:52:53.522Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-27T15:52:53.522Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-27T15:52:53.522Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-27T15:52:53.522Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-27T15:52:53.522Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-27T15:52:53.522Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-27T15:52:53.522Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-27T15:52:53.522Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-27T15:52:53.522Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-27T15:52:53.522Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-27T15:52:53.522Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-27T15:52:53.522Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-27T15:52:53.522Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-27T15:52:53.522Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-27T15:52:53.522Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-27T15:52:53.522Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-27T15:52:53.522Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-27T15:52:53.522Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-27T15:52:53.522Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-27T15:52:53.522Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-27T15:52:53.790Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-27T15:52:53.790Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-27T15:52:53.790Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-27T15:52:53.790Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-27T15:52:53.790Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-27T15:52:53.790Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-27T15:52:53.790Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-27T15:52:53.790Z] go: finding github.com/posener/complete v1.1.1 [2020-03-27T15:52:53.790Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-27T15:52:53.790Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-27T15:52:53.790Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-27T15:52:53.790Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-27T15:52:53.790Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-27T15:52:53.790Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-27T15:52:53.790Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-27T15:52:53.790Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-27T15:52:53.790Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-27T15:52:53.790Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-27T15:52:53.790Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-27T15:53:03.834Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-27T15:53:03.834Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-27T15:53:03.834Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-27T15:53:10.428Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.018s coverage: 23.1% of statements [2020-03-27T15:53:10.428Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.061s coverage: 95.8% of statements [2020-03-27T15:53:12.048Z] Removing intermediate container 69397d8371a6 [2020-03-27T15:53:12.049Z] ---> d10dbe578bf0 [2020-03-27T15:53:12.049Z] Successfully built d10dbe578bf0 [2020-03-27T15:53:12.049Z] 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-27T15:53:12.710Z] + docker inspect -f . ci-base-image-arm64 [2020-03-27T15:53:12.979Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.044s coverage: 12.7% of statements [2020-03-27T15:53:12.979Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.012s coverage: 25.6% of statements [2020-03-27T15:53:12.979Z] . [Pipeline] withDockerContainer [2020-03-27T15:53:13.304Z] prd-ubuntu18.04-docker-arm64-4c-16g-1081 does not seem to be running inside a container [2020-03-27T15:53:13.387Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-27T15:53:14.990Z] $ docker top e8d3e1c6e39a82556da25e8338c6dd923fd51bdca1fc8df870bcc163e2b18086 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-27T15:53:16.071Z] + go version [2020-03-27T15:53:16.072Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-27T15:53:16.725Z] + make test [2020-03-27T15:53:16.725Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-27T15:53:45.085Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.020s coverage: 30.0% of statements [2020-03-27T15:53:45.085Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.395s coverage: 42.3% of statements [2020-03-27T15:53:45.085Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-27T15:53:45.085Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-27T15:53:45.085Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.439s coverage: 79.5% of statements [2020-03-27T15:53:45.085Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-27T15:53:45.085Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-27T15:53:45.085Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-27T15:53:45.085Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.096s coverage: 52.6% of statements [2020-03-27T15:53:45.085Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.115s coverage: 76.1% of statements [2020-03-27T15:53:45.085Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-27T15:53:45.085Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-27T15:53:45.085Z] gofmt -l . [2020-03-27T15:53:45.348Z] [ "`gofmt -l .`" = "" ] [2020-03-27T15:53:45.348Z] ./bin/test-attribution-txt.sh [2020-03-27T15:53:45.929Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-27T15:53:46.721Z] Stashed 1 file(s) [Pipeline] } [2020-03-27T15:53:46.731Z] $ docker stop --time=1 bc4f0f6f660f8c14c0b1381168fd1e2c95a00fdca72aca01cc61aa1d46f47bb4 [2020-03-27T15:53:48.291Z] $ docker rm -f bc4f0f6f660f8c14c0b1381168fd1e2c95a00fdca72aca01cc61aa1d46f47bb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-27T15:53:49.747Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-27T15:53:50.039Z] + ls -al . [2020-03-27T15:53:50.040Z] total 200 [2020-03-27T15:53:50.040Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 27 15:53 . [2020-03-27T15:53:50.040Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 27 15:52 .. [2020-03-27T15:53:50.040Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 27 15:52 api [2020-03-27T15:53:50.040Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 27 15:52 async.go [2020-03-27T15:53:50.040Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 27 15:52 bin [2020-03-27T15:53:50.040Z] -rw-r--r--. 1 jenkins jenkins 100201 Mar 27 15:53 coverage.out [2020-03-27T15:53:50.040Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 27 15:52 Dockerfile.build [2020-03-27T15:53:50.040Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 27 15:52 .dockerignore [2020-03-27T15:53:50.040Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 27 15:52 example [2020-03-27T15:53:50.040Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 27 15:52 .git [2020-03-27T15:53:50.040Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 27 15:52 .github [2020-03-27T15:53:50.040Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 27 15:52 .gitignore [2020-03-27T15:53:50.040Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 27 15:53 go.mod [2020-03-27T15:53:50.040Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 27 15:53 go.sum [2020-03-27T15:53:50.040Z] drwxrwxr-x. 13 jenkins jenkins 176 Mar 27 15:52 internal [2020-03-27T15:53:50.040Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 27 15:52 Jenkinsfile [2020-03-27T15:53:50.040Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 27 15:52 LICENSE [2020-03-27T15:53:50.040Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 27 15:52 Makefile [2020-03-27T15:53:50.040Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 27 15:52 manageddevices.go [2020-03-27T15:53:50.040Z] -rw-rw-r--. 1 jenkins jenkins 5473 Mar 27 15:52 managedprofiles.go [2020-03-27T15:53:50.040Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 27 15:52 managedwatchers.go [2020-03-27T15:53:50.040Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 27 15:52 pkg [2020-03-27T15:53:50.040Z] -rw-rw-r--. 1 jenkins jenkins 761 Mar 27 15:52 README.md [2020-03-27T15:53:50.040Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 27 15:52 .semver [2020-03-27T15:53:50.040Z] -rw-rw-r--. 1 jenkins jenkins 9817 Mar 27 15:52 service.go [2020-03-27T15:53:50.040Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 27 15:52 snap [2020-03-27T15:53:50.040Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 27 15:49 VERSION [2020-03-27T15:53:50.040Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 27 15:52 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-27T15:53:50.340Z] + 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=e0c3522bbcc0c413b40336820f360d01cf058287 --label arch=amd64 --label version=0.0.0 . [2020-03-27T15:53:50.603Z] Sending build context to Docker daemon 2.86MB [2020-03-27T15:53:50.603Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-27T15:53:50.603Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-27T15:53:50.603Z] ---> 516d241c6c77 [2020-03-27T15:53:50.603Z] Step 3/20 : ARG MAKE='make build' [2020-03-27T15:53:50.603Z] ---> Running in 4b51c701a3a4 [2020-03-27T15:53:50.603Z] Removing intermediate container 4b51c701a3a4 [2020-03-27T15:53:50.603Z] ---> 79581beef405 [2020-03-27T15:53:50.603Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-27T15:53:50.864Z] ---> Running in 863102c3b199 [2020-03-27T15:53:50.864Z] Removing intermediate container 863102c3b199 [2020-03-27T15:53:50.864Z] ---> 187d50d8e9b5 [2020-03-27T15:53:50.864Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-27T15:53:50.864Z] ---> Running in f29ec86ac9a8 [2020-03-27T15:53:51.124Z] Removing intermediate container f29ec86ac9a8 [2020-03-27T15:53:51.124Z] ---> dedb90346d71 [2020-03-27T15:53:51.124Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-27T15:53:51.124Z] ---> Running in b4d16171e743 [2020-03-27T15:53:52.510Z] Removing intermediate container b4d16171e743 [2020-03-27T15:53:52.510Z] ---> 4f796160b30e [2020-03-27T15:53:52.510Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-27T15:53:52.510Z] ---> Running in 70842db95bf5 [2020-03-27T15:53:53.081Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-27T15:53:56.375Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-27T15:53:56.375Z] OK: 143 MiB in 39 packages [2020-03-27T15:53:56.957Z] Removing intermediate container 70842db95bf5 [2020-03-27T15:53:56.957Z] ---> e54bbfcce167 [2020-03-27T15:53:56.957Z] Step 8/20 : COPY . . [2020-03-27T15:53:57.218Z] ---> a13b0768b64b [2020-03-27T15:53:57.218Z] Step 9/20 : RUN ${MAKE} [2020-03-27T15:53:57.218Z] ---> Running in 062df8ece5fd [2020-03-27T15:53:57.480Z] 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-27T15:54:03.641Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-27T15:54:03.641Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-27T15:54:03.641Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-27T15:54:03.641Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.020s coverage: 23.1% of statements [2020-03-27T15:54:03.641Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.198s coverage: 95.8% of statements [2020-03-27T15:54:03.641Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.068s coverage: 12.7% of statements [2020-03-27T15:54:03.641Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.020s coverage: 25.6% of statements [2020-03-27T15:54:12.502Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-27T15:54:17.813Z] Removing intermediate container 062df8ece5fd [2020-03-27T15:54:17.813Z] ---> 41c191e91e2c [2020-03-27T15:54:17.813Z] Step 10/20 : FROM scratch [2020-03-27T15:54:17.813Z] ---> [2020-03-27T15:54:17.813Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-27T15:54:17.813Z] ---> Running in 14c365cb7742 [2020-03-27T15:54:17.813Z] Removing intermediate container 14c365cb7742 [2020-03-27T15:54:17.813Z] ---> 4aa1be79007f [2020-03-27T15:54:17.813Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-27T15:54:17.813Z] ---> Running in e6b0520a789a [2020-03-27T15:54:17.813Z] Removing intermediate container e6b0520a789a [2020-03-27T15:54:17.813Z] ---> 21a03ea9e909 [2020-03-27T15:54:17.813Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-27T15:54:17.813Z] ---> Running in 5110d0bda25b [2020-03-27T15:54:17.813Z] Removing intermediate container 5110d0bda25b [2020-03-27T15:54:17.813Z] ---> c6f870737c56 [2020-03-27T15:54:17.813Z] Step 14/20 : WORKDIR / [2020-03-27T15:54:17.813Z] ---> Running in b5f6d7032f8b [2020-03-27T15:54:18.074Z] Removing intermediate container b5f6d7032f8b [2020-03-27T15:54:18.074Z] ---> 2f000ceae70a [2020-03-27T15:54:18.074Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-27T15:54:18.642Z] ---> f091962c23b1 [2020-03-27T15:54:18.642Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-27T15:54:18.642Z] ---> f36e7a9c2dac [2020-03-27T15:54:18.642Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-27T15:54:18.642Z] ---> Running in a185b2af43b0 [2020-03-27T15:54:18.903Z] Removing intermediate container a185b2af43b0 [2020-03-27T15:54:18.903Z] ---> 0ff0d011bdf1 [2020-03-27T15:54:18.903Z] Step 18/20 : LABEL arch=amd64 [2020-03-27T15:54:18.903Z] ---> Running in 90825181879c [2020-03-27T15:54:18.903Z] Removing intermediate container 90825181879c [2020-03-27T15:54:18.903Z] ---> b1456e647cf2 [2020-03-27T15:54:18.904Z] Step 19/20 : LABEL git_sha=e0c3522bbcc0c413b40336820f360d01cf058287 [2020-03-27T15:54:19.163Z] ---> Running in 5297e175c115 [2020-03-27T15:54:19.163Z] Removing intermediate container 5297e175c115 [2020-03-27T15:54:19.163Z] ---> cddabc692470 [2020-03-27T15:54:19.163Z] Step 20/20 : LABEL version=0.0.0 [2020-03-27T15:54:19.163Z] ---> Running in ed5a7cd9cc99 [2020-03-27T15:54:19.421Z] Removing intermediate container ed5a7cd9cc99 [2020-03-27T15:54:19.421Z] ---> 1699226296e2 [2020-03-27T15:54:19.421Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-27T15:54:19.421Z] Successfully built 1699226296e2 [2020-03-27T15:54:19.421Z] 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-27T15:54:35.873Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.061s coverage: 30.0% of statements [2020-03-27T15:54:35.873Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.337s coverage: 42.3% of statements [2020-03-27T15:54:35.873Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-27T15:54:35.873Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-27T15:54:35.873Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.857s coverage: 79.5% of statements [2020-03-27T15:54:35.873Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-27T15:54:35.873Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-27T15:54:35.873Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-27T15:54:35.873Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.053s coverage: 52.6% of statements [2020-03-27T15:54:35.873Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.335s coverage: 76.1% of statements [2020-03-27T15:54:35.873Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-27T15:54:35.873Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-27T15:54:41.239Z] gofmt -l . [2020-03-27T15:54:41.505Z] [ "`gofmt -l .`" = "" ] [2020-03-27T15:54:41.772Z] ./bin/test-attribution-txt.sh [2020-03-27T15:54:42.360Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-27T15:54:42.966Z] Warning: overwriting stash ‘coverage-report’ [2020-03-27T15:54:43.465Z] Stashed 1 file(s) [Pipeline] } [2020-03-27T15:54:43.472Z] $ docker stop --time=1 e8d3e1c6e39a82556da25e8338c6dd923fd51bdca1fc8df870bcc163e2b18086 [2020-03-27T15:54:45.651Z] $ docker rm -f e8d3e1c6e39a82556da25e8338c6dd923fd51bdca1fc8df870bcc163e2b18086 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-27T15:54:46.941Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-27T15:54:47.264Z] + ls -al . [2020-03-27T15:54:47.264Z] total 240 [2020-03-27T15:54:47.264Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 27 15:54 . [2020-03-27T15:54:47.264Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 15:51 .. [2020-03-27T15:54:47.264Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 27 15:51 .dockerignore [2020-03-27T15:54:47.264Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 27 15:51 .git [2020-03-27T15:54:47.264Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 15:51 .github [2020-03-27T15:54:47.264Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 27 15:51 .gitignore [2020-03-27T15:54:47.264Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 15:52 .semver [2020-03-27T15:54:47.264Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 27 15:51 Dockerfile.build [2020-03-27T15:54:47.264Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 27 15:51 Jenkinsfile [2020-03-27T15:54:47.264Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 27 15:51 LICENSE [2020-03-27T15:54:47.264Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 27 15:51 Makefile [2020-03-27T15:54:47.264Z] -rw-rw-r-- 1 jenkins jenkins 761 Mar 27 15:51 README.md [2020-03-27T15:54:47.264Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 27 15:49 VERSION [2020-03-27T15:54:47.264Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 15:51 api [2020-03-27T15:54:47.264Z] -rw-rw-r-- 1 jenkins jenkins 3321 Mar 27 15:51 async.go [2020-03-27T15:54:47.264Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 15:51 bin [2020-03-27T15:54:47.264Z] -rw-r--r-- 1 jenkins jenkins 100201 Mar 27 15:54 coverage.out [2020-03-27T15:54:47.264Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 15:51 example [2020-03-27T15:54:47.264Z] -rw-r--r-- 1 jenkins jenkins 536 Mar 27 15:54 go.mod [2020-03-27T15:54:47.264Z] -rw-r--r-- 1 jenkins jenkins 11140 Mar 27 15:54 go.sum [2020-03-27T15:54:47.264Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 27 15:51 internal [2020-03-27T15:54:47.264Z] -rw-rw-r-- 1 jenkins jenkins 4352 Mar 27 15:51 manageddevices.go [2020-03-27T15:54:47.264Z] -rw-rw-r-- 1 jenkins jenkins 5473 Mar 27 15:51 managedprofiles.go [2020-03-27T15:54:47.264Z] -rw-rw-r-- 1 jenkins jenkins 3878 Mar 27 15:51 managedwatchers.go [2020-03-27T15:54:47.264Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 15:51 pkg [2020-03-27T15:54:47.264Z] -rw-rw-r-- 1 jenkins jenkins 9817 Mar 27 15:51 service.go [2020-03-27T15:54:47.264Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 15:51 snap [2020-03-27T15:54:47.264Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 27 15:51 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-27T15:54:47.601Z] + 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=e0c3522bbcc0c413b40336820f360d01cf058287 --label arch=arm64 --label version=0.0.0 . [2020-03-27T15:54:48.190Z] Sending build context to Docker daemon 2.86MB [2020-03-27T15:54:48.190Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-27T15:54:48.190Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-27T15:54:48.190Z] ---> d10dbe578bf0 [2020-03-27T15:54:48.190Z] Step 3/20 : ARG MAKE='make build' [2020-03-27T15:54:48.190Z] ---> Running in a29d538aaa6a [2020-03-27T15:54:48.775Z] Removing intermediate container a29d538aaa6a [2020-03-27T15:54:48.775Z] ---> e9634d32241b [2020-03-27T15:54:48.775Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-27T15:54:48.775Z] ---> Running in 3873de43f451 [2020-03-27T15:54:49.043Z] Removing intermediate container 3873de43f451 [2020-03-27T15:54:49.043Z] ---> e3bce5bcd3ce [2020-03-27T15:54:49.043Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-27T15:54:49.310Z] ---> Running in 7bb921302145 [2020-03-27T15:54:49.578Z] Removing intermediate container 7bb921302145 [2020-03-27T15:54:49.578Z] ---> 26029fba4347 [2020-03-27T15:54:49.578Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-27T15:54:49.847Z] ---> Running in 51451df4ca4b [2020-03-27T15:54:51.809Z] Removing intermediate container 51451df4ca4b [2020-03-27T15:54:51.809Z] ---> 8fe58fe7126a [2020-03-27T15:54:51.809Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-27T15:54:51.809Z] ---> Running in e9d4a32a241d [2020-03-27T15:54:52.776Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-27T15:54:53.358Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-27T15:54:53.940Z] OK: 125 MiB in 39 packages [2020-03-27T15:54:54.904Z] Removing intermediate container e9d4a32a241d [2020-03-27T15:54:54.904Z] ---> d880b8bbe0f5 [2020-03-27T15:54:54.904Z] Step 8/20 : COPY . . [2020-03-27T15:54:55.870Z] ---> a88961ac245e [2020-03-27T15:54:55.870Z] Step 9/20 : RUN ${MAKE} [2020-03-27T15:54:55.870Z] ---> Running in 54e494ea7993 [2020-03-27T15:54:56.856Z] 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-27T15:55:35.766Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-27T15:55:45.868Z] Removing intermediate container 54e494ea7993 [2020-03-27T15:55:45.868Z] ---> 6a1404fd56a4 [2020-03-27T15:55:45.868Z] Step 10/20 : FROM scratch [2020-03-27T15:55:45.868Z] ---> [2020-03-27T15:55:45.868Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-27T15:55:45.868Z] ---> Running in d77c2aad013d [2020-03-27T15:55:45.868Z] Removing intermediate container d77c2aad013d [2020-03-27T15:55:45.868Z] ---> 9d898cbe38c5 [2020-03-27T15:55:45.868Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-27T15:55:45.868Z] ---> Running in b309373199fb [2020-03-27T15:55:46.137Z] Removing intermediate container b309373199fb [2020-03-27T15:55:46.137Z] ---> cdbaeb85f759 [2020-03-27T15:55:46.137Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-27T15:55:46.137Z] ---> Running in d10d21843bea [2020-03-27T15:55:46.725Z] Removing intermediate container d10d21843bea [2020-03-27T15:55:46.725Z] ---> e075d4ed768e [2020-03-27T15:55:46.725Z] Step 14/20 : WORKDIR / [2020-03-27T15:55:46.725Z] ---> Running in dd2c296c7967 [2020-03-27T15:55:46.992Z] Removing intermediate container dd2c296c7967 [2020-03-27T15:55:46.992Z] ---> 22062c790874 [2020-03-27T15:55:46.992Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-27T15:55:48.428Z] ---> 250c375956d4 [2020-03-27T15:55:48.428Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-27T15:55:48.698Z] ---> 65a5c7ac418e [2020-03-27T15:55:48.698Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-27T15:55:48.698Z] ---> Running in f090000e494f [2020-03-27T15:55:49.292Z] Removing intermediate container f090000e494f [2020-03-27T15:55:49.292Z] ---> 15f6a8127eb3 [2020-03-27T15:55:49.292Z] Step 18/20 : LABEL arch=arm64 [2020-03-27T15:55:49.292Z] ---> Running in ac90ef8d8903 [2020-03-27T15:55:49.559Z] Removing intermediate container ac90ef8d8903 [2020-03-27T15:55:49.559Z] ---> 9c0a1ed09f6d [2020-03-27T15:55:49.559Z] Step 19/20 : LABEL git_sha=e0c3522bbcc0c413b40336820f360d01cf058287 [2020-03-27T15:55:49.826Z] ---> Running in 9dfcfd1797ed [2020-03-27T15:55:50.093Z] Removing intermediate container 9dfcfd1797ed [2020-03-27T15:55:50.093Z] ---> b47c0bbe463b [2020-03-27T15:55:50.093Z] Step 20/20 : LABEL version=0.0.0 [2020-03-27T15:55:50.363Z] ---> Running in 5dcb64e449de [2020-03-27T15:55:50.631Z] Removing intermediate container 5dcb64e449de [2020-03-27T15:55:50.631Z] ---> 057095322641 [2020-03-27T15:55:50.631Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-27T15:55:50.631Z] Successfully built 057095322641 [2020-03-27T15:55:50.631Z] 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-27T15:55:51.843Z] provisioning config files... [2020-03-27T15:55:51.861Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/config2963014786614138700tmp [Pipeline] { [Pipeline] sh [2020-03-27T15:55:52.271Z] + curl -s https://codecov.io/bash [2020-03-27T15:55:52.271Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/config2963014786614138700tmp [2020-03-27T15:55:52.554Z] [2020-03-27T15:55:52.554Z] _____ _ [2020-03-27T15:55:52.554Z] / ____| | | [2020-03-27T15:55:52.554Z] | | ___ __| | ___ ___ _____ __ [2020-03-27T15:55:52.554Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-27T15:55:52.554Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-27T15:55:52.554Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-27T15:55:52.554Z] Bash-tbd [2020-03-27T15:55:52.554Z] [2020-03-27T15:55:52.554Z] [2020-03-27T15:55:52.554Z] ==> Jenkins CI detected. [2020-03-27T15:55:52.554Z] project root: . [2020-03-27T15:55:52.554Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-27T15:55:52.844Z] ==> Running gcov in . (disable via -X gcov) [2020-03-27T15:55:52.844Z] ==> Python coveragepy not found [2020-03-27T15:55:52.844Z] ==> Searching for coverage reports in: [2020-03-27T15:55:52.844Z] + . [2020-03-27T15:55:52.844Z] -> Found 1 reports [2020-03-27T15:55:52.844Z] ==> Detecting git/mercurial file structure [2020-03-27T15:55:52.844Z] ==> Reading reports [2020-03-27T15:55:52.844Z] + ./coverage.out bytes=100201 [2020-03-27T15:55:52.844Z] ==> Appending adjustments [2020-03-27T15:55:52.844Z] http://docs.codecov.io/docs/fixing-reports [2020-03-27T15:55:53.830Z] + Found adjustments [2020-03-27T15:55:53.830Z] ==> Gzipping contents [2020-03-27T15:55:53.830Z] ==> Uploading reports [2020-03-27T15:55:53.830Z] url: https://codecov.io [2020-03-27T15:55:53.830Z] query: branch=PR-467&commit=e0c3522bbcc0c413b40336820f360d01cf058287&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-467%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=467&job= [2020-03-27T15:55:53.830Z] -> Pinging Codecov [2020-03-27T15:55:53.830Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-467&commit=e0c3522bbcc0c413b40336820f360d01cf058287&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-467%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=467&job= [2020-03-27T15:55:54.094Z] -> Uploading [2020-03-27T15:55:54.718Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e0c3522bbcc0c413b40336820f360d01cf058287 [Pipeline] } [2020-03-27T15:55:54.726Z] 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-27T15:55:55.930Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-27T15:55:56.591Z] ---> package-listing.sh [2020-03-27T15:55:56.591Z] ++ facter osfamily [2020-03-27T15:55:56.591Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-27T15:55:56.591Z] + OS_FAMILY=redhat [2020-03-27T15:55:56.591Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-467 [2020-03-27T15:55:56.591Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-27T15:55:56.591Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-27T15:55:56.591Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-27T15:55:56.591Z] + PACKAGES=/tmp/packages_start.txt [2020-03-27T15:55:56.591Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-467 ']' [2020-03-27T15:55:56.591Z] + PACKAGES=/tmp/packages_end.txt [2020-03-27T15:55:56.591Z] + case "${OS_FAMILY}" in [2020-03-27T15:55:56.591Z] + rpm -qa [2020-03-27T15:55:56.591Z] + sort [2020-03-27T15:56:01.477Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-27T15:56:01.477Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-27T15:56:01.477Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-27T15:56:01.477Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-467 ']' [2020-03-27T15:56:01.477Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-467/archives/ [2020-03-27T15:56:01.477Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-467/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-27T15:56:02.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-27T15:56:02.336Z] [2020-03-27T15:56:02.336Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-27T15:56:02.756Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-27T15:56:03.054Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-27T15:56:03.054Z] c9b1b535fdd9: Pulling fs layer [2020-03-27T15:56:03.054Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-27T15:56:03.054Z] 756a868c4378: Pulling fs layer [2020-03-27T15:56:03.054Z] 444b2fc9a129: Pulling fs layer [2020-03-27T15:56:03.054Z] ea15f1150254: Pulling fs layer [2020-03-27T15:56:03.054Z] 41b27a9f41bf: Pulling fs layer [2020-03-27T15:56:03.054Z] 28c525ee5125: Pulling fs layer [2020-03-27T15:56:03.054Z] 094b1ea09ed8: Pulling fs layer [2020-03-27T15:56:03.054Z] 138eaada9080: Pulling fs layer [2020-03-27T15:56:03.054Z] 0622d0fa9048: Pulling fs layer [2020-03-27T15:56:03.054Z] 41b27a9f41bf: Waiting [2020-03-27T15:56:03.054Z] 28c525ee5125: Waiting [2020-03-27T15:56:03.054Z] 444b2fc9a129: Waiting [2020-03-27T15:56:03.054Z] ea15f1150254: Waiting [2020-03-27T15:56:03.054Z] 094b1ea09ed8: Waiting [2020-03-27T15:56:03.054Z] 138eaada9080: Waiting [2020-03-27T15:56:03.054Z] 0622d0fa9048: Waiting [2020-03-27T15:56:03.054Z] 2cc5ad85d9ab: Download complete [2020-03-27T15:56:03.054Z] 444b2fc9a129: Verifying Checksum [2020-03-27T15:56:03.054Z] 444b2fc9a129: Download complete [2020-03-27T15:56:03.908Z] c9b1b535fdd9: Verifying Checksum [2020-03-27T15:56:03.908Z] c9b1b535fdd9: Download complete [2020-03-27T15:56:03.908Z] ea15f1150254: Verifying Checksum [2020-03-27T15:56:03.908Z] ea15f1150254: Download complete [2020-03-27T15:56:03.908Z] 28c525ee5125: Verifying Checksum [2020-03-27T15:56:03.908Z] 28c525ee5125: Download complete [2020-03-27T15:56:04.781Z] c9b1b535fdd9: Pull complete [2020-03-27T15:56:05.284Z] 2cc5ad85d9ab: Pull complete [2020-03-27T15:56:06.385Z] 756a868c4378: Verifying Checksum [2020-03-27T15:56:06.385Z] 756a868c4378: Download complete [2020-03-27T15:56:06.385Z] 138eaada9080: Verifying Checksum [2020-03-27T15:56:06.385Z] 138eaada9080: Download complete [2020-03-27T15:56:06.889Z] 0622d0fa9048: Verifying Checksum [2020-03-27T15:56:06.889Z] 0622d0fa9048: Download complete [2020-03-27T15:56:07.173Z] 094b1ea09ed8: Verifying Checksum [2020-03-27T15:56:07.173Z] 094b1ea09ed8: Download complete [2020-03-27T15:56:08.793Z] 41b27a9f41bf: Verifying Checksum [2020-03-27T15:56:08.793Z] 41b27a9f41bf: Download complete [2020-03-27T15:56:11.621Z] 756a868c4378: Pull complete [2020-03-27T15:56:11.621Z] 444b2fc9a129: Pull complete [2020-03-27T15:56:12.346Z] ea15f1150254: Pull complete [2020-03-27T15:56:19.411Z] 41b27a9f41bf: Pull complete [2020-03-27T15:56:19.411Z] 28c525ee5125: Pull complete [2020-03-27T15:56:22.799Z] 094b1ea09ed8: Pull complete [2020-03-27T15:56:23.069Z] 138eaada9080: Pull complete [2020-03-27T15:56:23.069Z] 0622d0fa9048: Pull complete [2020-03-27T15:56:23.069Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-27T15:56:23.069Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-27T15:56:23.384Z] prd-centos7-docker-4c-2g-1080 does not seem to be running inside a container [2020-03-27T15:56:23.479Z] $ 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-467 -v /w/workspace/dgexfoundry_device-sdk-go_PR-467:/w/workspace/dgexfoundry_device-sdk-go_PR-467:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-27T15:56:24.288Z] $ docker top aef2407b8a9072d3a71c0a3adf2e3e26d9ddcc8bffa9389b74b45a0658bf566a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-27T15:56:24.633Z] provisioning config files... [2020-03-27T15:56:24.683Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/config2064300878238067836tmp [Pipeline] { [Pipeline] echo [2020-03-27T15:56:24.750Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-27T15:56:25.164Z] ---> create-netrc.sh [Pipeline] echo [2020-03-27T15:56:25.467Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-27T15:56:26.054Z] ---> logs-deploy.sh [2020-03-27T15:56:26.055Z] + ARCHIVE_ARTIFACTS= [2020-03-27T15:56:26.055Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-27T15:56:26.055Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-27T15:56:26.055Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-27T15:56:26.055Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-467/6 [2020-03-27T15:56:26.055Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-467/6/ [2020-03-27T15:56:26.055Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-467/6 /w/workspace/dgexfoundry_device-sdk-go_PR-467 [2020-03-27T15:56:28.216Z] Archives upload complete. [2020-03-27T15:56:28.216Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-467/6 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-467/6/