Pull request #459 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2ef43937d162a773a5877fa376efacfc407db6fe+2731ca63cc475b67e9cc596139d210d033590fbd (f3c9acd4cdb19acc2de7faf3b0b801d846f259fc) 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 b810438aec07f555226556e3b59abf2bab733840 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 b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > 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-5132 in /w/workspace/dgexfoundry_device-sdk-go_PR-459 [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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-459 # 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/459/head:refs/remotes/origin/PR-459 +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/459/head:refs/remotes/origin/PR-459 # 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/459/head:refs/remotes/origin/PR-459 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 2731ca63cc475b67e9cc596139d210d033590fbd into PR head commit 2ef43937d162a773a5877fa376efacfc407db6fe Merge succeeded, producing 2ef43937d162a773a5877fa376efacfc407db6fe Checking out Revision 2ef43937d162a773a5877fa376efacfc407db6fe (PR-459) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ef43937d162a773a5877fa376efacfc407db6fe # 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 2731ca63cc475b67e9cc596139d210d033590fbd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ef43937d162a773a5877fa376efacfc407db6fe # timeout=10 Commit message: "Revert "Encode the float as base64 string by LB"" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-09T16:31:34.452Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-09T16:31:36.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-09T16:31:36.858Z] [2020-03-09T16:31:36.858Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-09T16:31:37.238Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-09T16:31:37.238Z] latest: Pulling from edgex-devops/git-semver [2020-03-09T16:31:37.238Z] 9123ac7c32f7: Pulling fs layer [2020-03-09T16:31:37.238Z] b8cc5d1170e3: Pulling fs layer [2020-03-09T16:31:37.238Z] 2924cbbf6a41: Pulling fs layer [2020-03-09T16:31:37.238Z] 93b08a4f1073: Pulling fs layer [2020-03-09T16:31:37.238Z] 93b08a4f1073: Waiting [2020-03-09T16:31:37.238Z] b8cc5d1170e3: Verifying Checksum [2020-03-09T16:31:37.238Z] b8cc5d1170e3: Download complete [2020-03-09T16:31:37.511Z] 9123ac7c32f7: Download complete [2020-03-09T16:31:37.511Z] 93b08a4f1073: Verifying Checksum [2020-03-09T16:31:37.511Z] 93b08a4f1073: Download complete [2020-03-09T16:31:37.511Z] 2924cbbf6a41: Verifying Checksum [2020-03-09T16:31:37.511Z] 2924cbbf6a41: Download complete [2020-03-09T16:31:37.777Z] 9123ac7c32f7: Pull complete [2020-03-09T16:31:37.777Z] b8cc5d1170e3: Pull complete [2020-03-09T16:31:38.728Z] 2924cbbf6a41: Pull complete [2020-03-09T16:31:38.994Z] 93b08a4f1073: Pull complete [2020-03-09T16:31:38.994Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-09T16:31:38.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-09T16:31:39.146Z] prd-centos7-docker-4c-2g-5132 does not seem to be running inside a container [2020-03-09T16:31:39.205Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-459 -v /w/workspace/dgexfoundry_device-sdk-go_PR-459:/w/workspace/dgexfoundry_device-sdk-go_PR-459:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-459@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-459@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-09T16:31:39.835Z] $ docker top de7f117c6349a64291c5f0b589e852c439e86c1460f3304d82db2b8c756dc266 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-09T16:31:40.638Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-09T16:31:40.638Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-09T16:31:40.925Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-09T16:31:40.930Z] $ docker exec de7f117c6349a64291c5f0b589e852c439e86c1460f3304d82db2b8c756dc266 ssh-agent [2020-03-09T16:31:41.158Z] SSH_AUTH_SOCK=/tmp/ssh-Plp7ic0eJgGg/agent.15 [2020-03-09T16:31:41.158Z] SSH_AGENT_PID=22 [2020-03-09T16:31:41.167Z] Running ssh-add (command line suppressed) [2020-03-09T16:31:41.352Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-459@tmp/private_key_4971982109312933444.key (/w/workspace/dgexfoundry_device-sdk-go_PR-459@tmp/private_key_4971982109312933444.key) [2020-03-09T16:31:41.419Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-09T16:31:41.779Z] + git describe --exact-match --tags HEAD [2020-03-09T16:31:41.779Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-09T16:31:41.930Z] $ docker exec --env ******** --env ******** de7f117c6349a64291c5f0b589e852c439e86c1460f3304d82db2b8c756dc266 ssh-agent -k [2020-03-09T16:31:42.149Z] unset SSH_AUTH_SOCK; [2020-03-09T16:31:42.149Z] unset SSH_AGENT_PID; [2020-03-09T16:31:42.150Z] echo Agent pid 22 killed; [2020-03-09T16:31:42.216Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-09T16:31:42.287Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-09T16:31:42.288Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-09T16:31:42.375Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-09T16:31:42.375Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-09T16:31:42.560Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-09T16:31:42.564Z] $ docker exec de7f117c6349a64291c5f0b589e852c439e86c1460f3304d82db2b8c756dc266 ssh-agent [2020-03-09T16:31:42.792Z] SSH_AUTH_SOCK=/tmp/ssh-oUASsslDU8zW/agent.58 [2020-03-09T16:31:42.792Z] SSH_AGENT_PID=65 [2020-03-09T16:31:42.801Z] Running ssh-add (command line suppressed) [2020-03-09T16:31:43.051Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-459@tmp/private_key_8264974288496084081.key (/w/workspace/dgexfoundry_device-sdk-go_PR-459@tmp/private_key_8264974288496084081.key) [2020-03-09T16:31:43.189Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-09T16:31:43.520Z] + git semver init [2020-03-09T16:31:43.520Z] # -> Open(): unable to determine branch for HEAD [2020-03-09T16:31:43.520Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-459/.git [2020-03-09T16:31:43.520Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-459 [2020-03-09T16:31:43.520Z] # $SEMVER_REMOTE_NAME = origin [2020-03-09T16:31:43.520Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-09T16:31:43.520Z] # $SEMVER_USER_NAME = jenkins [2020-03-09T16:31:43.520Z] # $SEMVER_BRANCH = PR-459 [2020-03-09T16:31:43.520Z] # $SEMVER_TEMP = /tmp/semver-689827879 [2020-03-09T16:31:43.520Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-09T16:31:44.100Z] # '/tmp/semver-689827879' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-459/.semver' [2020-03-09T16:31:44.100Z] # -> Force: false [2020-03-09T16:31:44.365Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-459/.semver [Pipeline] } [2020-03-09T16:31:44.375Z] $ docker exec --env ******** --env ******** de7f117c6349a64291c5f0b589e852c439e86c1460f3304d82db2b8c756dc266 ssh-agent -k [2020-03-09T16:31:44.569Z] unset SSH_AUTH_SOCK; [2020-03-09T16:31:44.569Z] unset SSH_AGENT_PID; [2020-03-09T16:31:44.569Z] echo Agent pid 65 killed; [2020-03-09T16:31:44.622Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-09T16:31:45.090Z] + git semver [Pipeline] } [2020-03-09T16:31:45.105Z] $ docker stop --time=1 de7f117c6349a64291c5f0b589e852c439e86c1460f3304d82db2b8c756dc266 [2020-03-09T16:31:46.578Z] $ docker rm -f de7f117c6349a64291c5f0b589e852c439e86c1460f3304d82db2b8c756dc266 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-09T16:31:47.464Z] Stashed 30 file(s) [Pipeline] echo [2020-03-09T16:31:47.466Z] [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-09T16:32:02.745Z] Still waiting to schedule task [2020-03-09T16:32:02.746Z] ‘prd-centos7-blackbox-4c-2g-3492’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-5146’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-5157’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-5159’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-5143’ is offline; ‘prd-centos7-docker-4c-2g-563’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2518’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5151’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-03-09T16:32:02.748Z] Still waiting to schedule task [2020-03-09T16:32:02.748Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-03-09T16:34:18.730Z] Running on prd-centos7-docker-4c-2g-5201 in /w/workspace/dgexfoundry_device-sdk-go_PR-459 [Pipeline] { [Pipeline] ws [2020-03-09T16:34:18.775Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-03-09T16:34:21.634Z] using credential edgex-jenkins-ssh [2020-03-09T16:34:21.688Z] Cloning the remote Git repository [2020-03-09T16:34:21.688Z] Cloning with configured refspecs honoured and without tags [2020-03-09T16:34:21.724Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T16:34:21.773Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-03-09T16:34:21.828Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T16:34:21.828Z] > git --version # timeout=10 [2020-03-09T16:34:21.837Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T16:34:21.874Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/459/head:refs/remotes/origin/PR-459 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T16:34:22.442Z] Fetching without tags [2020-03-09T16:34:22.817Z] Merging remotes/origin/master commit 2731ca63cc475b67e9cc596139d210d033590fbd into PR head commit 2ef43937d162a773a5877fa376efacfc407db6fe [2020-03-09T16:34:22.918Z] Merge succeeded, producing 2ef43937d162a773a5877fa376efacfc407db6fe [2020-03-09T16:34:22.919Z] Checking out Revision 2ef43937d162a773a5877fa376efacfc407db6fe (PR-459) [2020-03-09T16:34:22.412Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T16:34:22.418Z] > git config --add remote.origin.fetch +refs/pull/459/head:refs/remotes/origin/PR-459 # timeout=10 [2020-03-09T16:34:22.425Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T16:34:22.437Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T16:34:22.453Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T16:34:22.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T16:34:22.459Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/459/head:refs/remotes/origin/PR-459 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T16:34:22.832Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T16:34:22.837Z] > git checkout -f 2ef43937d162a773a5877fa376efacfc407db6fe # timeout=10 [2020-03-09T16:34:22.893Z] > git remote # timeout=10 [2020-03-09T16:34:22.899Z] > git config --get remote.origin.url # timeout=10 [2020-03-09T16:34:22.904Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T16:34:22.908Z] > git merge 2731ca63cc475b67e9cc596139d210d033590fbd # timeout=10 [2020-03-09T16:34:22.918Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-09T16:34:22.926Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T16:34:22.932Z] > git checkout -f 2ef43937d162a773a5877fa376efacfc407db6fe # timeout=10 [2020-03-09T16:34:26.944Z] Commit message: "Revert "Encode the float as base64 string by LB"" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-09T16:34:27.925Z] ========================================================= [2020-03-09T16:34:27.925Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-09T16:34:27.925Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-09T16:34:28.574Z] + 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-09T16:34:28.835Z] Sending build context to Docker daemon 2.685MB [2020-03-09T16:34:28.835Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-09T16:34:28.835Z] Step 2/8 : FROM ${BASE} [2020-03-09T16:34:28.835Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-09T16:34:28.835Z] e6b0cf9c0882: Pulling fs layer [2020-03-09T16:34:28.835Z] 2848faf0eed1: Pulling fs layer [2020-03-09T16:34:28.835Z] 0f37312ad70f: Pulling fs layer [2020-03-09T16:34:28.835Z] 5788d62ee057: Pulling fs layer [2020-03-09T16:34:28.835Z] 0e6b1d234666: Pulling fs layer [2020-03-09T16:34:28.835Z] bf5d7aec512f: Pulling fs layer [2020-03-09T16:34:28.835Z] 34c802a77dc8: Pulling fs layer [2020-03-09T16:34:28.835Z] 9eb99e56ec68: Pulling fs layer [2020-03-09T16:34:28.835Z] 27c7a5d97fbd: Pulling fs layer [2020-03-09T16:34:28.835Z] 5c102a31e300: Pulling fs layer [2020-03-09T16:34:28.835Z] dcfb455df0a1: Pulling fs layer [2020-03-09T16:34:28.835Z] 0e6b1d234666: Waiting [2020-03-09T16:34:28.835Z] bf5d7aec512f: Waiting [2020-03-09T16:34:28.835Z] 34c802a77dc8: Waiting [2020-03-09T16:34:28.835Z] 9eb99e56ec68: Waiting [2020-03-09T16:34:28.835Z] dcfb455df0a1: Waiting [2020-03-09T16:34:28.835Z] 27c7a5d97fbd: Waiting [2020-03-09T16:34:28.835Z] 5788d62ee057: Waiting [2020-03-09T16:34:28.835Z] 0f37312ad70f: Verifying Checksum [2020-03-09T16:34:28.835Z] 0f37312ad70f: Download complete [2020-03-09T16:34:29.098Z] 0e6b1d234666: Verifying Checksum [2020-03-09T16:34:29.098Z] 0e6b1d234666: Download complete [2020-03-09T16:34:29.098Z] e6b0cf9c0882: Download complete [2020-03-09T16:34:29.098Z] bf5d7aec512f: Verifying Checksum [2020-03-09T16:34:29.098Z] bf5d7aec512f: Download complete [2020-03-09T16:34:29.369Z] e6b0cf9c0882: Pull complete [2020-03-09T16:34:29.953Z] 34c802a77dc8: Verifying Checksum [2020-03-09T16:34:29.953Z] 34c802a77dc8: Download complete [2020-03-09T16:34:29.953Z] 27c7a5d97fbd: Verifying Checksum [2020-03-09T16:34:29.953Z] 27c7a5d97fbd: Download complete [2020-03-09T16:34:30.537Z] 5c102a31e300: Verifying Checksum [2020-03-09T16:34:30.537Z] 5c102a31e300: Download complete [2020-03-09T16:34:30.537Z] dcfb455df0a1: Verifying Checksum [2020-03-09T16:34:30.537Z] dcfb455df0a1: Download complete [2020-03-09T16:34:31.113Z] 9eb99e56ec68: Verifying Checksum [2020-03-09T16:34:31.113Z] 9eb99e56ec68: Download complete [2020-03-09T16:34:31.113Z] 5788d62ee057: Download complete [2020-03-09T16:34:31.371Z] 2848faf0eed1: Pull complete [2020-03-09T16:34:31.371Z] 0f37312ad70f: Pull complete [2020-03-09T16:34:36.674Z] 5788d62ee057: Pull complete [2020-03-09T16:34:36.674Z] 0e6b1d234666: Pull complete [2020-03-09T16:34:36.939Z] bf5d7aec512f: Pull complete [2020-03-09T16:34:46.954Z] 34c802a77dc8: Pull complete [2020-03-09T16:34:48.862Z] 9eb99e56ec68: Pull complete [2020-03-09T16:34:49.127Z] 27c7a5d97fbd: Pull complete [2020-03-09T16:34:50.068Z] 5c102a31e300: Pull complete [2020-03-09T16:34:50.068Z] dcfb455df0a1: Pull complete [2020-03-09T16:34:50.068Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-09T16:34:50.068Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-09T16:34:50.068Z] ---> 7c70fe431013 [2020-03-09T16:34:50.068Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T16:34:50.068Z] ---> Running in 35c2780e4f60 [2020-03-09T16:34:50.326Z] Removing intermediate container 35c2780e4f60 [2020-03-09T16:34:50.326Z] ---> ea81e69f128d [2020-03-09T16:34:50.326Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T16:34:50.326Z] ---> Running in 2c46bb0dfc54 [2020-03-09T16:34:51.709Z] Removing intermediate container 2c46bb0dfc54 [2020-03-09T16:34:51.709Z] ---> c5438e0348fc [2020-03-09T16:34:51.709Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-09T16:34:51.709Z] ---> Running in 8e384397c6a9 [2020-03-09T16:34:52.278Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-09T16:34:52.844Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-09T16:34:53.104Z] OK: 143 MiB in 39 packages [2020-03-09T16:34:53.365Z] Removing intermediate container 8e384397c6a9 [2020-03-09T16:34:53.366Z] ---> 7d1aad9839a4 [2020-03-09T16:34:53.366Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-09T16:34:53.625Z] ---> Running in 4c78c839429d [2020-03-09T16:34:53.625Z] Removing intermediate container 4c78c839429d [2020-03-09T16:34:53.625Z] ---> e8d0b635ada2 [2020-03-09T16:34:53.625Z] Step 7/8 : COPY . . [2020-03-09T16:34:54.194Z] ---> b4f42da0b38a [2020-03-09T16:34:54.194Z] Step 8/8 : RUN go mod download [2020-03-09T16:34:54.194Z] ---> Running in ae5348d3b7df [2020-03-09T16:34:56.733Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-09T16:34:56.733Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-09T16:34:56.733Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-09T16:34:56.733Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-09T16:34:56.733Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-09T16:34:56.992Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-09T16:34:56.992Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-09T16:34:56.992Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-09T16:34:56.992Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-09T16:34:56.992Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-09T16:34:56.992Z] go: finding github.com/fatih/color v1.7.0 [2020-03-09T16:34:56.992Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-09T16:34:56.992Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-09T16:34:56.992Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-09T16:34:56.992Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-09T16:34:56.992Z] go: finding github.com/google/uuid v1.1.0 [2020-03-09T16:34:56.992Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-09T16:34:57.254Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-09T16:34:57.254Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-09T16:34:57.254Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-09T16:34:57.254Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-09T16:34:57.254Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-09T16:34:57.254Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-09T16:34:57.254Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-09T16:34:57.515Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-09T16:34:57.515Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-09T16:34:57.515Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-09T16:34:57.515Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-09T16:34:57.515Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-09T16:34:57.515Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-09T16:34:57.515Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-09T16:34:57.515Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-09T16:34:57.515Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-09T16:34:57.774Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-09T16:34:57.774Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-09T16:34:57.774Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-09T16:34:57.774Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-09T16:34:57.775Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-09T16:34:57.775Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-09T16:34:57.775Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-09T16:34:57.775Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-09T16:34:57.775Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-09T16:34:57.775Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-09T16:34:58.034Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-09T16:34:58.034Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-09T16:34:58.034Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-09T16:34:58.034Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-09T16:34:58.034Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-09T16:34:58.034Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-09T16:34:58.034Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-09T16:34:58.034Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-09T16:34:58.034Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-09T16:34:58.034Z] go: finding github.com/posener/complete v1.1.1 [2020-03-09T16:34:58.034Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-09T16:34:58.300Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-09T16:34:58.300Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-09T16:34:58.300Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-09T16:34:58.300Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-09T16:34:58.300Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-09T16:34:58.300Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-09T16:34:58.300Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-09T16:34:58.300Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-09T16:34:58.300Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-09T16:34:58.559Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-09T16:35:06.687Z] Removing intermediate container ae5348d3b7df [2020-03-09T16:35:06.687Z] ---> 6540679d66ac [2020-03-09T16:35:06.687Z] Successfully built 6540679d66ac [2020-03-09T16:35:06.948Z] 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-09T16:35:07.541Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-09T16:35:07.542Z] . [Pipeline] withDockerContainer [2020-03-09T16:35:07.672Z] prd-centos7-docker-4c-2g-5201 does not seem to be running inside a container [2020-03-09T16:35:07.720Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-03-09T16:35:08.351Z] $ docker top f0116a56422b4111e1df6e2367720287683dbfe6b80998b24ef0cd0f3e8fe119 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-09T16:35:09.360Z] + go version [2020-03-09T16:35:09.360Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-09T16:35:09.674Z] + make test [2020-03-09T16:35:09.674Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-09T16:35:27.862Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-09T16:35:27.862Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-09T16:35:27.862Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-09T16:35:29.779Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.006s coverage: 23.1% of statements [2020-03-09T16:35:29.779Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.042s coverage: 95.8% of statements [2020-03-09T16:35:33.095Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.186s coverage: 12.7% of statements [2020-03-09T16:35:33.095Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.023s coverage: 25.6% of statements [2020-03-09T16:36:05.189Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.020s coverage: 30.0% of statements [2020-03-09T16:36:05.189Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.454s coverage: 42.3% of statements [2020-03-09T16:36:05.189Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-09T16:36:05.189Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-09T16:36:05.189Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.358s coverage: 79.5% of statements [2020-03-09T16:36:05.189Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-09T16:36:05.189Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-09T16:36:05.189Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-09T16:36:05.189Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.017s coverage: 52.6% of statements [2020-03-09T16:36:05.189Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.107s coverage: 76.1% of statements [2020-03-09T16:36:05.189Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-09T16:36:05.189Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-09T16:36:05.189Z] gofmt -l . [2020-03-09T16:36:05.189Z] [ "`gofmt -l .`" = "" ] [2020-03-09T16:36:05.189Z] ./bin/test-attribution-txt.sh [2020-03-09T16:36:05.448Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-09T16:36:05.966Z] Stashed 1 file(s) [Pipeline] } [2020-03-09T16:36:05.975Z] $ docker stop --time=1 f0116a56422b4111e1df6e2367720287683dbfe6b80998b24ef0cd0f3e8fe119 [2020-03-09T16:36:07.452Z] $ docker rm -f f0116a56422b4111e1df6e2367720287683dbfe6b80998b24ef0cd0f3e8fe119 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-09T16:36:08.469Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-09T16:36:08.760Z] + ls -al . [2020-03-09T16:36:08.760Z] total 200 [2020-03-09T16:36:08.760Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 9 16:36 . [2020-03-09T16:36:08.760Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 9 16:34 .. [2020-03-09T16:36:08.760Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 9 16:34 api [2020-03-09T16:36:08.760Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 9 16:34 async.go [2020-03-09T16:36:08.760Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 9 16:34 bin [2020-03-09T16:36:08.760Z] -rw-r--r--. 1 jenkins jenkins 100201 Mar 9 16:36 coverage.out [2020-03-09T16:36:08.760Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 9 16:34 Dockerfile.build [2020-03-09T16:36:08.760Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 9 16:34 .dockerignore [2020-03-09T16:36:08.760Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 9 16:34 example [2020-03-09T16:36:08.760Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 9 16:34 .git [2020-03-09T16:36:08.760Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 9 16:34 .github [2020-03-09T16:36:08.760Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 9 16:34 .gitignore [2020-03-09T16:36:08.760Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 9 16:36 go.mod [2020-03-09T16:36:08.760Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 9 16:36 go.sum [2020-03-09T16:36:08.760Z] drwxrwxr-x. 13 jenkins jenkins 176 Mar 9 16:34 internal [2020-03-09T16:36:08.760Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 9 16:34 Jenkinsfile [2020-03-09T16:36:08.760Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 9 16:34 LICENSE [2020-03-09T16:36:08.760Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 9 16:34 Makefile [2020-03-09T16:36:08.760Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 9 16:34 manageddevices.go [2020-03-09T16:36:08.760Z] -rw-rw-r--. 1 jenkins jenkins 5473 Mar 9 16:34 managedprofiles.go [2020-03-09T16:36:08.760Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 9 16:34 managedwatchers.go [2020-03-09T16:36:08.760Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 9 16:34 pkg [2020-03-09T16:36:08.760Z] -rw-rw-r--. 1 jenkins jenkins 761 Mar 9 16:34 README.md [2020-03-09T16:36:08.760Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 9 16:34 .semver [2020-03-09T16:36:08.760Z] -rw-rw-r--. 1 jenkins jenkins 9817 Mar 9 16:34 service.go [2020-03-09T16:36:08.760Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 9 16:34 snap [2020-03-09T16:36:08.760Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 9 16:31 VERSION [2020-03-09T16:36:08.760Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 9 16:34 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-09T16:36:09.062Z] + 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=2ef43937d162a773a5877fa376efacfc407db6fe --label arch=amd64 --label version=0.0.0 . [2020-03-09T16:36:09.062Z] Sending build context to Docker daemon 2.811MB [2020-03-09T16:36:09.321Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-09T16:36:09.321Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-09T16:36:09.321Z] ---> 6540679d66ac [2020-03-09T16:36:09.321Z] Step 3/20 : ARG MAKE='make build' [2020-03-09T16:36:09.321Z] ---> Running in 079e28da1c8c [2020-03-09T16:36:09.321Z] Removing intermediate container 079e28da1c8c [2020-03-09T16:36:09.321Z] ---> 972a480601b9 [2020-03-09T16:36:09.321Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-09T16:36:09.321Z] ---> Running in 24d03ea1947e [2020-03-09T16:36:09.580Z] Removing intermediate container 24d03ea1947e [2020-03-09T16:36:09.580Z] ---> 41a82095b662 [2020-03-09T16:36:09.580Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T16:36:09.580Z] ---> Running in 2308e61ef85b [2020-03-09T16:36:09.840Z] Removing intermediate container 2308e61ef85b [2020-03-09T16:36:09.840Z] ---> 214c14b65afd [2020-03-09T16:36:09.840Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T16:36:09.840Z] ---> Running in deb57b799099 [2020-03-09T16:36:10.777Z] Removing intermediate container deb57b799099 [2020-03-09T16:36:10.777Z] ---> 80e1e264644a [2020-03-09T16:36:10.777Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-09T16:36:10.777Z] ---> Running in d857052a0799 [2020-03-09T16:36:11.037Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-09T16:36:11.603Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-09T16:36:11.862Z] OK: 143 MiB in 39 packages [2020-03-09T16:36:12.122Z] Removing intermediate container d857052a0799 [2020-03-09T16:36:12.122Z] ---> 26b28036badd [2020-03-09T16:36:12.122Z] Step 8/20 : COPY . . [2020-03-09T16:36:12.380Z] ---> e38e6e9c01b1 [2020-03-09T16:36:12.380Z] Step 9/20 : RUN ${MAKE} [2020-03-09T16:36:12.638Z] ---> Running in 22cff09cafa5 [2020-03-09T16:36:12.897Z] 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-09T16:36:25.200Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-09T16:36:30.544Z] Removing intermediate container 22cff09cafa5 [2020-03-09T16:36:30.544Z] ---> 9e6fd3171a1c [2020-03-09T16:36:30.544Z] Step 10/20 : FROM scratch [2020-03-09T16:36:30.544Z] ---> [2020-03-09T16:36:30.544Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T16:36:30.544Z] ---> Running in 5fb558d5005e [2020-03-09T16:36:30.544Z] Removing intermediate container 5fb558d5005e [2020-03-09T16:36:30.544Z] ---> 4a5b2859cebc [2020-03-09T16:36:30.544Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-09T16:36:30.544Z] ---> Running in 14d93bb80c21 [2020-03-09T16:36:30.544Z] Removing intermediate container 14d93bb80c21 [2020-03-09T16:36:30.544Z] ---> a20c2299d437 [2020-03-09T16:36:30.544Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-09T16:36:30.544Z] ---> Running in 69a8ecfdea38 [2020-03-09T16:36:30.544Z] Removing intermediate container 69a8ecfdea38 [2020-03-09T16:36:30.544Z] ---> bfe9b3a33506 [2020-03-09T16:36:30.544Z] Step 14/20 : WORKDIR / [2020-03-09T16:36:30.544Z] ---> Running in 1a81cb1626bc [2020-03-09T16:36:30.544Z] Removing intermediate container 1a81cb1626bc [2020-03-09T16:36:30.544Z] ---> c85e08e95d25 [2020-03-09T16:36:30.544Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-09T16:36:30.803Z] ---> cb2c5e3ea53e [2020-03-09T16:36:30.803Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-09T16:36:31.062Z] ---> 25ceeaa1edd7 [2020-03-09T16:36:31.062Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-09T16:36:31.062Z] ---> Running in 6b8e77f2d6cd [2020-03-09T16:36:31.321Z] Removing intermediate container 6b8e77f2d6cd [2020-03-09T16:36:31.321Z] ---> b0b4e42bfa10 [2020-03-09T16:36:31.321Z] Step 18/20 : LABEL arch=amd64 [2020-03-09T16:36:31.321Z] ---> Running in 8e9b6d8e136b [2020-03-09T16:36:31.321Z] Removing intermediate container 8e9b6d8e136b [2020-03-09T16:36:31.321Z] ---> eac1b96212cc [2020-03-09T16:36:31.321Z] Step 19/20 : LABEL git_sha=2ef43937d162a773a5877fa376efacfc407db6fe [2020-03-09T16:36:31.321Z] ---> Running in 55c5a30007a4 [2020-03-09T16:36:31.583Z] Removing intermediate container 55c5a30007a4 [2020-03-09T16:36:31.583Z] ---> f457a487d5bd [2020-03-09T16:36:31.583Z] Step 20/20 : LABEL version=0.0.0 [2020-03-09T16:36:31.583Z] ---> Running in 93fa290762a7 [2020-03-09T16:36:31.843Z] Removing intermediate container 93fa290762a7 [2020-03-09T16:36:31.843Z] ---> 42935f425924 [2020-03-09T16:36:31.843Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-09T16:36:31.843Z] Successfully built 42935f425924 [2020-03-09T16:36:31.843Z] 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-09T18:08:48.067Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8193 in /w/workspace/dgexfoundry_device-sdk-go_PR-459 [Pipeline] { [Pipeline] ws [2020-03-09T18:08:48.123Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-03-09T18:08:53.994Z] using credential edgex-jenkins-ssh [2020-03-09T18:08:54.060Z] Cloning the remote Git repository [2020-03-09T18:08:54.061Z] Cloning with configured refspecs honoured and without tags [2020-03-09T18:08:54.114Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T18:08:54.196Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-03-09T18:08:54.266Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T18:08:54.267Z] > git --version # timeout=10 [2020-03-09T18:08:54.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T18:08:54.350Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/459/head:refs/remotes/origin/PR-459 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T18:08:55.617Z] Fetching without tags [2020-03-09T18:08:55.519Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T18:08:55.542Z] > git config --add remote.origin.fetch +refs/pull/459/head:refs/remotes/origin/PR-459 # timeout=10 [2020-03-09T18:08:55.568Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T18:08:55.593Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T18:08:55.628Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T18:08:55.628Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T18:08:55.650Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/459/head:refs/remotes/origin/PR-459 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-09T18:08:56.172Z] Merging remotes/origin/master commit 2731ca63cc475b67e9cc596139d210d033590fbd into PR head commit 2ef43937d162a773a5877fa376efacfc407db6fe [2020-03-09T18:08:56.558Z] Merge succeeded, producing 2ef43937d162a773a5877fa376efacfc407db6fe [2020-03-09T18:08:56.558Z] Checking out Revision 2ef43937d162a773a5877fa376efacfc407db6fe (PR-459) [2020-03-09T18:08:56.191Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T18:08:56.219Z] > git checkout -f 2ef43937d162a773a5877fa376efacfc407db6fe # timeout=10 [2020-03-09T18:08:56.339Z] > git remote # timeout=10 [2020-03-09T18:08:56.360Z] > git config --get remote.origin.url # timeout=10 [2020-03-09T18:08:56.390Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T18:08:56.400Z] > git merge 2731ca63cc475b67e9cc596139d210d033590fbd # timeout=10 [2020-03-09T18:08:56.520Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-09T18:08:56.573Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T18:08:56.607Z] > git checkout -f 2ef43937d162a773a5877fa376efacfc407db6fe # timeout=10 [2020-03-09T18:09:01.017Z] Commit message: "Revert "Encode the float as base64 string by LB"" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-09T18:09:04.721Z] ========================================================= [2020-03-09T18:09:04.722Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-09T18:09:04.722Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-09T18:09:05.812Z] + 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-09T18:09:06.793Z] Sending build context to Docker daemon 2.682MB [2020-03-09T18:09:06.793Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-09T18:09:06.793Z] Step 2/8 : FROM ${BASE} [2020-03-09T18:09:07.061Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-09T18:09:07.061Z] cde5963f3b93: Pulling fs layer [2020-03-09T18:09:07.061Z] 2a23fa8c16f7: Pulling fs layer [2020-03-09T18:09:07.061Z] 777b28850792: Pulling fs layer [2020-03-09T18:09:07.061Z] 8a11ddd9e578: Pulling fs layer [2020-03-09T18:09:07.061Z] 4cf88f913ddb: Pulling fs layer [2020-03-09T18:09:07.061Z] 1df406cf5192: Pulling fs layer [2020-03-09T18:09:07.061Z] cd6300453558: Pulling fs layer [2020-03-09T18:09:07.061Z] b9c365052c96: Pulling fs layer [2020-03-09T18:09:07.061Z] a2d8cc88f415: Pulling fs layer [2020-03-09T18:09:07.061Z] ea1d1ca13537: Pulling fs layer [2020-03-09T18:09:07.061Z] 3750a50a1c5e: Pulling fs layer [2020-03-09T18:09:07.061Z] 8a11ddd9e578: Waiting [2020-03-09T18:09:07.061Z] 4cf88f913ddb: Waiting [2020-03-09T18:09:07.061Z] 1df406cf5192: Waiting [2020-03-09T18:09:07.061Z] cd6300453558: Waiting [2020-03-09T18:09:07.061Z] ea1d1ca13537: Waiting [2020-03-09T18:09:07.061Z] b9c365052c96: Waiting [2020-03-09T18:09:07.061Z] a2d8cc88f415: Waiting [2020-03-09T18:09:07.061Z] 777b28850792: Verifying Checksum [2020-03-09T18:09:07.061Z] 777b28850792: Download complete [2020-03-09T18:09:07.061Z] 2a23fa8c16f7: Verifying Checksum [2020-03-09T18:09:07.061Z] 2a23fa8c16f7: Download complete [2020-03-09T18:09:07.061Z] 4cf88f913ddb: Verifying Checksum [2020-03-09T18:09:07.061Z] 4cf88f913ddb: Download complete [2020-03-09T18:09:07.061Z] 1df406cf5192: Verifying Checksum [2020-03-09T18:09:07.061Z] 1df406cf5192: Download complete [2020-03-09T18:09:07.333Z] cde5963f3b93: Verifying Checksum [2020-03-09T18:09:07.333Z] cde5963f3b93: Download complete [2020-03-09T18:09:08.314Z] cde5963f3b93: Pull complete [2020-03-09T18:09:08.588Z] 2a23fa8c16f7: Pull complete [2020-03-09T18:09:09.182Z] 777b28850792: Pull complete [2020-03-09T18:09:11.785Z] cd6300453558: Verifying Checksum [2020-03-09T18:09:11.785Z] cd6300453558: Download complete [2020-03-09T18:09:11.785Z] a2d8cc88f415: Verifying Checksum [2020-03-09T18:09:11.785Z] a2d8cc88f415: Download complete [2020-03-09T18:09:14.389Z] ea1d1ca13537: Verifying Checksum [2020-03-09T18:09:14.389Z] ea1d1ca13537: Download complete [2020-03-09T18:09:14.389Z] 3750a50a1c5e: Verifying Checksum [2020-03-09T18:09:14.389Z] 3750a50a1c5e: Download complete [2020-03-09T18:09:17.752Z] b9c365052c96: Verifying Checksum [2020-03-09T18:09:17.753Z] b9c365052c96: Download complete [2020-03-09T18:09:18.338Z] 8a11ddd9e578: Verifying Checksum [2020-03-09T18:09:18.338Z] 8a11ddd9e578: Download complete [2020-03-09T18:09:30.706Z] 8a11ddd9e578: Pull complete [2020-03-09T18:09:30.706Z] 4cf88f913ddb: Pull complete [2020-03-09T18:09:30.706Z] 1df406cf5192: Pull complete [2020-03-09T18:09:34.988Z] cd6300453558: Pull complete [2020-03-09T18:09:39.257Z] b9c365052c96: Pull complete [2020-03-09T18:09:39.526Z] a2d8cc88f415: Pull complete [2020-03-09T18:09:41.486Z] ea1d1ca13537: Pull complete [2020-03-09T18:09:42.084Z] 3750a50a1c5e: Pull complete [2020-03-09T18:09:42.084Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-09T18:09:42.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-09T18:09:42.084Z] ---> 78745c68409d [2020-03-09T18:09:42.084Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T18:09:46.351Z] ---> Running in adc0754e4821 [2020-03-09T18:09:46.351Z] Removing intermediate container adc0754e4821 [2020-03-09T18:09:46.351Z] ---> 1eb61eb43a36 [2020-03-09T18:09:46.351Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T18:09:46.351Z] ---> Running in 4477d0f92ff4 [2020-03-09T18:09:48.308Z] Removing intermediate container 4477d0f92ff4 [2020-03-09T18:09:48.308Z] ---> d4597b95967e [2020-03-09T18:09:48.308Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-09T18:09:48.308Z] ---> Running in 877ca78edd7d [2020-03-09T18:09:49.271Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-09T18:09:50.228Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-09T18:09:51.192Z] OK: 125 MiB in 39 packages [2020-03-09T18:09:52.160Z] Removing intermediate container 877ca78edd7d [2020-03-09T18:09:52.160Z] ---> e5bbfbdbbf91 [2020-03-09T18:09:52.160Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-09T18:09:52.428Z] ---> Running in ee7031957cf0 [2020-03-09T18:09:52.701Z] Removing intermediate container ee7031957cf0 [2020-03-09T18:09:52.701Z] ---> 74ab06e7b8ec [2020-03-09T18:09:52.701Z] Step 7/8 : COPY . . [2020-03-09T18:09:54.119Z] ---> 9504253e7405 [2020-03-09T18:09:54.119Z] Step 8/8 : RUN go mod download [2020-03-09T18:09:54.119Z] ---> Running in 0365a8c345ca [2020-03-09T18:09:55.538Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-09T18:09:55.538Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-09T18:09:55.538Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-09T18:09:55.538Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-09T18:09:55.538Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-09T18:09:55.538Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-09T18:09:55.538Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-09T18:09:55.538Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-09T18:09:55.806Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-09T18:09:55.806Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-09T18:09:55.806Z] go: finding github.com/fatih/color v1.7.0 [2020-03-09T18:09:55.806Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-09T18:09:55.806Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-09T18:09:55.806Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-09T18:09:55.806Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-09T18:09:55.806Z] go: finding github.com/google/uuid v1.1.0 [2020-03-09T18:09:55.806Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-09T18:09:55.806Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-09T18:09:55.806Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-09T18:09:55.806Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-09T18:09:55.806Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-09T18:09:55.806Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-09T18:09:55.806Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-09T18:09:55.806Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-09T18:09:55.806Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-09T18:09:55.806Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-09T18:09:55.806Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-09T18:09:55.806Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-09T18:09:55.806Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-09T18:09:55.806Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-09T18:09:55.806Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-09T18:09:55.806Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-09T18:09:55.806Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-09T18:09:55.806Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-09T18:09:55.806Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-09T18:09:55.806Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-09T18:09:55.806Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-09T18:09:55.806Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-09T18:09:56.076Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-09T18:09:56.076Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-09T18:09:56.076Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-09T18:09:56.076Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-09T18:09:56.076Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-09T18:09:56.076Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-09T18:09:56.076Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-09T18:09:56.076Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-09T18:09:56.076Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-09T18:09:56.076Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-09T18:09:56.076Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-09T18:09:56.076Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-09T18:09:56.076Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-09T18:09:56.076Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-09T18:09:56.076Z] go: finding github.com/posener/complete v1.1.1 [2020-03-09T18:09:56.076Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-09T18:09:56.076Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-09T18:09:56.076Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-09T18:09:56.076Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-09T18:09:56.076Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-09T18:09:56.076Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-09T18:09:56.076Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-09T18:09:56.076Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-09T18:09:56.076Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-09T18:09:56.076Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-09T18:09:56.076Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-09T18:10:11.117Z] Removing intermediate container 0365a8c345ca [2020-03-09T18:10:11.117Z] ---> 929eb184c4b1 [2020-03-09T18:10:11.117Z] Successfully built 929eb184c4b1 [2020-03-09T18:10:11.117Z] 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-09T18:10:11.873Z] + docker inspect -f . ci-base-image-arm64 [2020-03-09T18:10:12.143Z] . [Pipeline] withDockerContainer [2020-03-09T18:10:12.488Z] prd-ubuntu18.04-docker-arm64-4c-16g-8193 does not seem to be running inside a container [2020-03-09T18:10:12.576Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-03-09T18:10:14.047Z] $ docker top 9c166fd3dc0aab63bf05bb3948e0f5c89751d82a2d87170599d11d1e5b0d9b94 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-09T18:10:16.474Z] + go version [2020-03-09T18:10:16.474Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-09T18:10:17.138Z] + make test [2020-03-09T18:10:17.138Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-09T18:11:04.136Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-09T18:11:04.136Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-09T18:11:04.136Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-09T18:11:04.136Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.040s coverage: 23.1% of statements [2020-03-09T18:11:04.137Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.188s coverage: 95.8% of statements [2020-03-09T18:11:04.137Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.090s coverage: 12.7% of statements [2020-03-09T18:11:04.137Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.026s coverage: 25.6% of statements [2020-03-09T18:11:36.412Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.095s coverage: 30.0% of statements [2020-03-09T18:11:36.412Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.405s coverage: 42.3% of statements [2020-03-09T18:11:36.412Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-09T18:11:36.412Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-09T18:11:36.412Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.760s coverage: 79.5% of statements [2020-03-09T18:11:36.412Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-09T18:11:36.412Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-09T18:11:36.412Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-09T18:11:36.412Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.051s coverage: 52.6% of statements [2020-03-09T18:11:36.412Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.335s coverage: 76.1% of statements [2020-03-09T18:11:36.412Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-09T18:11:36.412Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-09T18:11:41.799Z] gofmt -l . [2020-03-09T18:11:42.067Z] [ "`gofmt -l .`" = "" ] [2020-03-09T18:11:42.336Z] ./bin/test-attribution-txt.sh [2020-03-09T18:11:43.302Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-09T18:11:43.588Z] Warning: overwriting stash ‘coverage-report’ [2020-03-09T18:11:44.084Z] Stashed 1 file(s) [Pipeline] } [2020-03-09T18:11:44.086Z] $ docker stop --time=1 9c166fd3dc0aab63bf05bb3948e0f5c89751d82a2d87170599d11d1e5b0d9b94 [2020-03-09T18:11:46.275Z] $ docker rm -f 9c166fd3dc0aab63bf05bb3948e0f5c89751d82a2d87170599d11d1e5b0d9b94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-09T18:11:47.566Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-09T18:11:47.962Z] + ls -al . [2020-03-09T18:11:47.962Z] total 240 [2020-03-09T18:11:47.962Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 9 18:11 . [2020-03-09T18:11:47.962Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 18:08 .. [2020-03-09T18:11:47.962Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 18:08 .dockerignore [2020-03-09T18:11:47.962Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 18:09 .git [2020-03-09T18:11:47.962Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 18:08 .github [2020-03-09T18:11:47.962Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 9 18:08 .gitignore [2020-03-09T18:11:47.962Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 18:09 .semver [2020-03-09T18:11:47.962Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 9 18:08 Dockerfile.build [2020-03-09T18:11:47.962Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 9 18:08 Jenkinsfile [2020-03-09T18:11:47.962Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 9 18:08 LICENSE [2020-03-09T18:11:47.962Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 9 18:08 Makefile [2020-03-09T18:11:47.962Z] -rw-rw-r-- 1 jenkins jenkins 761 Mar 9 18:08 README.md [2020-03-09T18:11:47.962Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 16:31 VERSION [2020-03-09T18:11:47.962Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 18:08 api [2020-03-09T18:11:47.962Z] -rw-rw-r-- 1 jenkins jenkins 3321 Mar 9 18:08 async.go [2020-03-09T18:11:47.963Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 18:08 bin [2020-03-09T18:11:47.963Z] -rw-r--r-- 1 jenkins jenkins 100201 Mar 9 18:11 coverage.out [2020-03-09T18:11:47.963Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 18:08 example [2020-03-09T18:11:47.963Z] -rw-r--r-- 1 jenkins jenkins 536 Mar 9 18:11 go.mod [2020-03-09T18:11:47.963Z] -rw-r--r-- 1 jenkins jenkins 11140 Mar 9 18:11 go.sum [2020-03-09T18:11:47.963Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 9 18:08 internal [2020-03-09T18:11:47.963Z] -rw-rw-r-- 1 jenkins jenkins 4352 Mar 9 18:08 manageddevices.go [2020-03-09T18:11:47.963Z] -rw-rw-r-- 1 jenkins jenkins 5473 Mar 9 18:08 managedprofiles.go [2020-03-09T18:11:47.963Z] -rw-rw-r-- 1 jenkins jenkins 3878 Mar 9 18:08 managedwatchers.go [2020-03-09T18:11:47.963Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 18:08 pkg [2020-03-09T18:11:47.963Z] -rw-rw-r-- 1 jenkins jenkins 9817 Mar 9 18:08 service.go [2020-03-09T18:11:47.963Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 18:08 snap [2020-03-09T18:11:47.963Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 9 18:08 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-09T18:11:48.357Z] + 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=2ef43937d162a773a5877fa376efacfc407db6fe --label arch=arm64 --label version=0.0.0 . [2020-03-09T18:11:48.640Z] Sending build context to Docker daemon 2.808MB [2020-03-09T18:11:48.915Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-09T18:11:48.915Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-09T18:11:48.915Z] ---> 929eb184c4b1 [2020-03-09T18:11:48.915Z] Step 3/20 : ARG MAKE='make build' [2020-03-09T18:11:49.186Z] ---> Running in 087ed4ee5401 [2020-03-09T18:11:49.457Z] Removing intermediate container 087ed4ee5401 [2020-03-09T18:11:49.457Z] ---> c7265f97c9a4 [2020-03-09T18:11:49.457Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-09T18:11:49.728Z] ---> Running in e96e8d0234d8 [2020-03-09T18:11:49.997Z] Removing intermediate container e96e8d0234d8 [2020-03-09T18:11:49.997Z] ---> 7b9a640288b7 [2020-03-09T18:11:49.997Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T18:11:50.264Z] ---> Running in 14d509262857 [2020-03-09T18:11:50.536Z] Removing intermediate container 14d509262857 [2020-03-09T18:11:50.536Z] ---> e2e4bc3be420 [2020-03-09T18:11:50.536Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T18:11:50.536Z] ---> Running in b065139898f5 [2020-03-09T18:11:52.506Z] Removing intermediate container b065139898f5 [2020-03-09T18:11:52.506Z] ---> 0ffcfc0ae6a4 [2020-03-09T18:11:52.506Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-09T18:11:52.506Z] ---> Running in e75b67cbdd7c [2020-03-09T18:11:53.471Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-09T18:11:54.432Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-09T18:11:55.017Z] OK: 125 MiB in 39 packages [2020-03-09T18:11:56.434Z] Removing intermediate container e75b67cbdd7c [2020-03-09T18:11:56.434Z] ---> 89f685b022ea [2020-03-09T18:11:56.434Z] Step 8/20 : COPY . . [2020-03-09T18:11:57.404Z] ---> de57fd5a7e9f [2020-03-09T18:11:57.404Z] Step 9/20 : RUN ${MAKE} [2020-03-09T18:11:57.404Z] ---> Running in e047daeb657d [2020-03-09T18:11:58.374Z] 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-09T18:12:37.343Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-09T18:12:49.739Z] Removing intermediate container e047daeb657d [2020-03-09T18:12:49.740Z] ---> e60adaf153e5 [2020-03-09T18:12:49.740Z] Step 10/20 : FROM scratch [2020-03-09T18:12:49.740Z] ---> [2020-03-09T18:12:49.740Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T18:12:49.740Z] ---> Running in 5ad47240305c [2020-03-09T18:12:49.740Z] Removing intermediate container 5ad47240305c [2020-03-09T18:12:49.740Z] ---> 06e5d2978f3b [2020-03-09T18:12:49.740Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-09T18:12:49.740Z] ---> Running in ab630442ae68 [2020-03-09T18:12:49.740Z] Removing intermediate container ab630442ae68 [2020-03-09T18:12:49.740Z] ---> 6fad28ffcc59 [2020-03-09T18:12:49.740Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-09T18:12:49.740Z] ---> Running in 216bf09352c8 [2020-03-09T18:12:49.740Z] Removing intermediate container 216bf09352c8 [2020-03-09T18:12:49.740Z] ---> 25298dd3ed6c [2020-03-09T18:12:49.740Z] Step 14/20 : WORKDIR / [2020-03-09T18:12:49.740Z] ---> Running in 2896b117a517 [2020-03-09T18:12:50.327Z] Removing intermediate container 2896b117a517 [2020-03-09T18:12:50.327Z] ---> b9a649d979dd [2020-03-09T18:12:50.327Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-09T18:12:51.305Z] ---> ced66c63e9c0 [2020-03-09T18:12:51.305Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-09T18:12:51.887Z] ---> c4ac21c90ef9 [2020-03-09T18:12:51.887Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-09T18:12:51.887Z] ---> Running in ede421e21374 [2020-03-09T18:12:52.152Z] Removing intermediate container ede421e21374 [2020-03-09T18:12:52.152Z] ---> 2fddb4a2d1a6 [2020-03-09T18:12:52.152Z] Step 18/20 : LABEL arch=arm64 [2020-03-09T18:12:52.420Z] ---> Running in 5b60903b858d [2020-03-09T18:12:52.687Z] Removing intermediate container 5b60903b858d [2020-03-09T18:12:52.687Z] ---> ff5c7a5ddc2b [2020-03-09T18:12:52.687Z] Step 19/20 : LABEL git_sha=2ef43937d162a773a5877fa376efacfc407db6fe [2020-03-09T18:12:52.687Z] ---> Running in d318e78718f9 [2020-03-09T18:12:53.273Z] Removing intermediate container d318e78718f9 [2020-03-09T18:12:53.273Z] ---> 7612a6f5f31a [2020-03-09T18:12:53.273Z] Step 20/20 : LABEL version=0.0.0 [2020-03-09T18:12:53.273Z] ---> Running in d421c58d1e73 [2020-03-09T18:12:53.540Z] Removing intermediate container d421c58d1e73 [2020-03-09T18:12:53.540Z] ---> 656dbf04dcea [2020-03-09T18:12:53.540Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-09T18:12:53.540Z] Successfully built 656dbf04dcea [2020-03-09T18:12:53.540Z] 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-09T18:12:54.650Z] provisioning config files... [2020-03-09T18:12:54.666Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-459@tmp/config3694121227943925344tmp [Pipeline] { [Pipeline] sh [2020-03-09T18:12:55.047Z] + curl -s https://codecov.io/bash [2020-03-09T18:12:55.047Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-459@tmp/config3694121227943925344tmp [2020-03-09T18:12:55.309Z] [2020-03-09T18:12:55.309Z] _____ _ [2020-03-09T18:12:55.309Z] / ____| | | [2020-03-09T18:12:55.309Z] | | ___ __| | ___ ___ _____ __ [2020-03-09T18:12:55.309Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-09T18:12:55.309Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-09T18:12:55.309Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-09T18:12:55.309Z] Bash-20200303-bc4d7e6 [2020-03-09T18:12:55.309Z] [2020-03-09T18:12:55.309Z] [2020-03-09T18:12:55.309Z] ==> Jenkins CI detected. [2020-03-09T18:12:55.309Z] project root: . [2020-03-09T18:12:55.309Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-09T18:12:55.309Z] ==> Running gcov in . (disable via -X gcov) [2020-03-09T18:12:55.309Z] ==> Python coveragepy not found [2020-03-09T18:12:55.309Z] ==> Searching for coverage reports in: [2020-03-09T18:12:55.309Z] + . [2020-03-09T18:12:55.309Z] -> Found 1 reports [2020-03-09T18:12:55.309Z] ==> Detecting git/mercurial file structure [2020-03-09T18:12:55.309Z] ==> Reading reports [2020-03-09T18:12:55.309Z] + ./coverage.out bytes=100201 [2020-03-09T18:12:55.309Z] ==> Appending adjustments [2020-03-09T18:12:55.309Z] http://docs.codecov.io/docs/fixing-reports [2020-03-09T18:12:55.878Z] + Found adjustments [2020-03-09T18:12:55.879Z] ==> Gzipping contents [2020-03-09T18:12:55.879Z] ==> Uploading reports [2020-03-09T18:12:55.879Z] url: https://codecov.io [2020-03-09T18:12:55.879Z] query: branch=PR-459&commit=2ef43937d162a773a5877fa376efacfc407db6fe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-459%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=459&job= [2020-03-09T18:12:55.879Z] -> Pinging Codecov [2020-03-09T18:12:55.879Z] https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=PR-459&commit=2ef43937d162a773a5877fa376efacfc407db6fe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-459%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=459&job= [2020-03-09T18:12:56.138Z] -> Uploading [2020-03-09T18:12:56.709Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2ef43937d162a773a5877fa376efacfc407db6fe [Pipeline] } [2020-03-09T18:12:56.716Z] 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-09T18:12:58.019Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T18:12:58.332Z] ---> package-listing.sh [2020-03-09T18:12:58.332Z] ++ facter osfamily [2020-03-09T18:12:58.332Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-09T18:12:58.332Z] + OS_FAMILY=redhat [2020-03-09T18:12:58.333Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-459 [2020-03-09T18:12:58.333Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-09T18:12:58.333Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-09T18:12:58.333Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-09T18:12:58.333Z] + PACKAGES=/tmp/packages_start.txt [2020-03-09T18:12:58.333Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-459 ']' [2020-03-09T18:12:58.333Z] + PACKAGES=/tmp/packages_end.txt [2020-03-09T18:12:58.333Z] + case "${OS_FAMILY}" in [2020-03-09T18:12:58.333Z] + rpm -qa [2020-03-09T18:12:58.333Z] + sort [2020-03-09T18:13:02.540Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-09T18:13:02.540Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-09T18:13:02.540Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-09T18:13:02.540Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-459 ']' [2020-03-09T18:13:02.540Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-459/archives/ [2020-03-09T18:13:02.541Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-459/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-09T18:13:03.087Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-09T18:13:03.088Z] [2020-03-09T18:13:03.088Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-09T18:13:03.466Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-09T18:13:03.466Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-09T18:13:03.466Z] c9b1b535fdd9: Pulling fs layer [2020-03-09T18:13:03.466Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-09T18:13:03.466Z] 756a868c4378: Pulling fs layer [2020-03-09T18:13:03.466Z] 444b2fc9a129: Pulling fs layer [2020-03-09T18:13:03.466Z] ea15f1150254: Pulling fs layer [2020-03-09T18:13:03.466Z] 41b27a9f41bf: Pulling fs layer [2020-03-09T18:13:03.466Z] 28c525ee5125: Pulling fs layer [2020-03-09T18:13:03.466Z] 094b1ea09ed8: Pulling fs layer [2020-03-09T18:13:03.466Z] 138eaada9080: Pulling fs layer [2020-03-09T18:13:03.466Z] 0622d0fa9048: Pulling fs layer [2020-03-09T18:13:03.466Z] 41b27a9f41bf: Waiting [2020-03-09T18:13:03.466Z] 28c525ee5125: Waiting [2020-03-09T18:13:03.466Z] 094b1ea09ed8: Waiting [2020-03-09T18:13:03.466Z] 138eaada9080: Waiting [2020-03-09T18:13:03.466Z] 0622d0fa9048: Waiting [2020-03-09T18:13:03.466Z] 444b2fc9a129: Waiting [2020-03-09T18:13:03.466Z] ea15f1150254: Waiting [2020-03-09T18:13:03.466Z] 2cc5ad85d9ab: Download complete [2020-03-09T18:13:03.466Z] 444b2fc9a129: Download complete [2020-03-09T18:13:03.466Z] c9b1b535fdd9: Download complete [2020-03-09T18:13:03.736Z] ea15f1150254: Verifying Checksum [2020-03-09T18:13:03.736Z] ea15f1150254: Download complete [2020-03-09T18:13:03.736Z] 28c525ee5125: Verifying Checksum [2020-03-09T18:13:03.736Z] 28c525ee5125: Download complete [2020-03-09T18:13:04.005Z] c9b1b535fdd9: Pull complete [2020-03-09T18:13:04.005Z] 756a868c4378: Download complete [2020-03-09T18:13:04.267Z] 138eaada9080: Verifying Checksum [2020-03-09T18:13:04.267Z] 138eaada9080: Download complete [2020-03-09T18:13:04.267Z] 094b1ea09ed8: Verifying Checksum [2020-03-09T18:13:04.267Z] 094b1ea09ed8: Download complete [2020-03-09T18:13:04.549Z] 0622d0fa9048: Verifying Checksum [2020-03-09T18:13:04.549Z] 0622d0fa9048: Download complete [2020-03-09T18:13:05.125Z] 41b27a9f41bf: Verifying Checksum [2020-03-09T18:13:05.125Z] 41b27a9f41bf: Download complete [2020-03-09T18:13:05.386Z] 2cc5ad85d9ab: Pull complete [2020-03-09T18:13:07.308Z] 756a868c4378: Pull complete [2020-03-09T18:13:07.308Z] 444b2fc9a129: Pull complete [2020-03-09T18:13:07.570Z] ea15f1150254: Pull complete [2020-03-09T18:13:11.805Z] 41b27a9f41bf: Pull complete [2020-03-09T18:13:11.805Z] 28c525ee5125: Pull complete [2020-03-09T18:13:14.356Z] 094b1ea09ed8: Pull complete [2020-03-09T18:13:14.623Z] 138eaada9080: Pull complete [2020-03-09T18:13:14.884Z] 0622d0fa9048: Pull complete [2020-03-09T18:13:14.884Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-09T18:13:14.884Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-09T18:13:15.099Z] prd-centos7-docker-4c-2g-5132 does not seem to be running inside a container [2020-03-09T18:13:15.157Z] $ 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-459 -v /w/workspace/dgexfoundry_device-sdk-go_PR-459:/w/workspace/dgexfoundry_device-sdk-go_PR-459:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-459@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-459@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-09T18:13:15.812Z] $ docker top 5f47f436e404d4cd91535573533f96c9e37585176596a22b54046ffd00c76b2b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-09T18:13:16.693Z] provisioning config files... [2020-03-09T18:13:16.718Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-459@tmp/config9043790907571188832tmp [Pipeline] { [Pipeline] echo [2020-03-09T18:13:16.787Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T18:13:17.102Z] ---> create-netrc.sh [Pipeline] echo [2020-03-09T18:13:17.111Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T18:13:17.425Z] ---> logs-deploy.sh [2020-03-09T18:13:17.425Z] + ARCHIVE_ARTIFACTS= [2020-03-09T18:13:17.425Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-09T18:13:17.425Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-09T18:13:17.425Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-09T18:13:17.425Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-459/2 [2020-03-09T18:13:17.425Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-459/2/ [2020-03-09T18:13:17.425Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-459/2 /w/workspace/dgexfoundry_device-sdk-go_PR-459 [2020-03-09T18:13:19.346Z] Archives upload complete. [2020-03-09T18:13:19.346Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-459/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-459/2/ [2020-03-09T18:13:20.288Z] ---> uname -a: [2020-03-09T18:13:20.288Z] Linux 5f47f436e404 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux [2020-03-09T18:13:20.288Z] [2020-03-09T18:13:20.288Z] [2020-03-09T18:13:20.288Z] ---> lscpu: [2020-03-09T18:13:20.288Z] Architecture: x86_64 [2020-03-09T18:13:20.288Z] CPU op-mode(s): 32-bit, 64-bit [2020-03-09T18:13:20.288Z] Byte Order: Little Endian [2020-03-09T18:13:20.288Z] Address sizes: 40 bits physical, 48 bits virtual [2020-03-09T18:13:20.288Z] CPU(s): 4 [2020-03-09T18:13:20.288Z] On-line CPU(s) list: 0-3 [2020-03-09T18:13:20.288Z] Thread(s) per core: 1 [2020-03-09T18:13:20.288Z] Core(s) per socket: 1 [2020-03-09T18:13:20.288Z] Socket(s): 4 [2020-03-09T18:13:20.288Z] NUMA node(s): 1 [2020-03-09T18:13:20.288Z] Vendor ID: GenuineIntel [2020-03-09T18:13:20.288Z] CPU family: 6 [2020-03-09T18:13:20.288Z] Model: 44 [2020-03-09T18:13:20.288Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-03-09T18:13:20.288Z] Stepping: 1 [2020-03-09T18:13:20.288Z] CPU MHz: 2933.436 [2020-03-09T18:13:20.288Z] BogoMIPS: 5866.87 [2020-03-09T18:13:20.288Z] Virtualization: VT-x [2020-03-09T18:13:20.288Z] Hypervisor vendor: KVM [2020-03-09T18:13:20.288Z] Virtualization type: full [2020-03-09T18:13:20.288Z] L1d cache: 128 KiB [2020-03-09T18:13:20.288Z] L1i cache: 128 KiB [2020-03-09T18:13:20.288Z] L2 cache: 16 MiB [2020-03-09T18:13:20.288Z] L3 cache: 64 MiB [2020-03-09T18:13:20.288Z] NUMA node0 CPU(s): 0-3 [2020-03-09T18:13:20.288Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes [2020-03-09T18:13:20.288Z] Vulnerability Meltdown: Mitigation; PTI [2020-03-09T18:13:20.288Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-03-09T18:13:20.288Z] Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization [2020-03-09T18:13:20.288Z] Vulnerability Spectre v2: Mitigation; Full retpoline [2020-03-09T18:13:20.288Z] 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-09T18:13:20.288Z] [2020-03-09T18:13:20.288Z] [2020-03-09T18:13:20.288Z] ---> nproc: [2020-03-09T18:13:20.288Z] 4 [2020-03-09T18:13:20.288Z] [2020-03-09T18:13:20.288Z] [2020-03-09T18:13:20.288Z] ---> df -h: [2020-03-09T18:13:20.288Z] Filesystem Size Used Available Use% Mounted on [2020-03-09T18:13:20.288Z] overlay 50.0G 6.1G 43.9G 12% / [2020-03-09T18:13:20.288Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-03-09T18:13:20.288Z] tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup [2020-03-09T18:13:20.288Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-03-09T18:13:20.288Z] /dev/vda1 50.0G 6.1G 43.9G 12% /etc/resolv.conf [2020-03-09T18:13:20.288Z] /dev/vda1 50.0G 6.1G 43.9G 12% /etc/hostname [2020-03-09T18:13:20.288Z] /dev/vda1 50.0G 6.1G 43.9G 12% /etc/hosts [2020-03-09T18:13:20.288Z] /dev/vda1 50.0G 6.1G 43.9G 12% /w/workspace/dgexfoundry_device-sdk-go_PR-459@tmp [2020-03-09T18:13:20.288Z] /dev/vda1 50.0G 6.1G 43.9G 12% /var/log/sa [2020-03-09T18:13:20.288Z] /dev/vda1 50.0G 6.1G 43.9G 12% /w/workspace/dgexfoundry_device-sdk-go_PR-459 [2020-03-09T18:13:20.288Z] [2020-03-09T18:13:20.288Z]