Pull request #481 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from f7d2781892840f183e580a6cc2de34ebbbdf1084+1bb097ad4365b735bfef0648a55752ad7a9b68a1 (534eb21500eac4e450223a1dc5d500c64a72e580) 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-3288 in /w/workspace/dgexfoundry_device-sdk-go_PR-481 [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-481 # 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/481/head:refs/remotes/origin/PR-481 +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/481/head:refs/remotes/origin/PR-481 # 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/481/head:refs/remotes/origin/PR-481 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1bb097ad4365b735bfef0648a55752ad7a9b68a1 into PR head commit f7d2781892840f183e580a6cc2de34ebbbdf1084 Merge succeeded, producing f7d2781892840f183e580a6cc2de34ebbbdf1084 Checking out Revision f7d2781892840f183e580a6cc2de34ebbbdf1084 (PR-481) > git config core.sparsecheckout # timeout=10 > git checkout -f f7d2781892840f183e580a6cc2de34ebbbdf1084 # 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 1bb097ad4365b735bfef0648a55752ad7a9b68a1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f7d2781892840f183e580a6cc2de34ebbbdf1084 # timeout=10 Commit message: "Check device profile from metadata" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-10T16:17:50.621Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 309e7b1213e46cb52c19a3ab9e8ba618d89f41d1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:17:52.472Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-10T16:17:52.472Z] [2020-04-10T16:17:52.472Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:17:52.836Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-10T16:17:52.836Z] latest: Pulling from edgex-devops/git-semver [2020-04-10T16:17:52.836Z] 9123ac7c32f7: Pulling fs layer [2020-04-10T16:17:52.836Z] b8cc5d1170e3: Pulling fs layer [2020-04-10T16:17:52.836Z] 2924cbbf6a41: Pulling fs layer [2020-04-10T16:17:52.836Z] 93b08a4f1073: Pulling fs layer [2020-04-10T16:17:52.836Z] 93b08a4f1073: Waiting [2020-04-10T16:17:52.836Z] b8cc5d1170e3: Verifying Checksum [2020-04-10T16:17:52.836Z] b8cc5d1170e3: Download complete [2020-04-10T16:17:52.836Z] 9123ac7c32f7: Verifying Checksum [2020-04-10T16:17:52.836Z] 9123ac7c32f7: Download complete [2020-04-10T16:17:53.096Z] 93b08a4f1073: Verifying Checksum [2020-04-10T16:17:53.096Z] 93b08a4f1073: Download complete [2020-04-10T16:17:53.096Z] 2924cbbf6a41: Verifying Checksum [2020-04-10T16:17:53.096Z] 2924cbbf6a41: Download complete [2020-04-10T16:17:53.356Z] 9123ac7c32f7: Pull complete [2020-04-10T16:17:53.356Z] b8cc5d1170e3: Pull complete [2020-04-10T16:17:54.299Z] 2924cbbf6a41: Pull complete [2020-04-10T16:17:54.299Z] 93b08a4f1073: Pull complete [2020-04-10T16:17:54.299Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-10T16:17:54.299Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-10T16:17:54.426Z] prd-centos7-docker-4c-2g-3288 does not seem to be running inside a container [2020-04-10T16:17:54.473Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-481 -v /w/workspace/dgexfoundry_device-sdk-go_PR-481:/w/workspace/dgexfoundry_device-sdk-go_PR-481:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-10T16:17:55.076Z] $ docker top f3b4ae4f7be8023034ee02a7ab2d775b8ea79c7c372fecf12011761494331b70 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-10T16:17:55.367Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-10T16:17:55.367Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-10T16:17:55.593Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-10T16:17:55.595Z] $ docker exec f3b4ae4f7be8023034ee02a7ab2d775b8ea79c7c372fecf12011761494331b70 ssh-agent [2020-04-10T16:17:55.811Z] SSH_AUTH_SOCK=/tmp/ssh-E5URixqhelxD/agent.14 [2020-04-10T16:17:55.811Z] SSH_AGENT_PID=21 [2020-04-10T16:17:55.824Z] Running ssh-add (command line suppressed) [2020-04-10T16:17:55.998Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/private_key_7601255916407936378.key (/w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/private_key_7601255916407936378.key) [2020-04-10T16:17:56.078Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-10T16:17:56.402Z] + git describe --exact-match --tags HEAD [2020-04-10T16:17:56.402Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-10T16:17:56.457Z] $ docker exec --env ******** --env ******** f3b4ae4f7be8023034ee02a7ab2d775b8ea79c7c372fecf12011761494331b70 ssh-agent -k [2020-04-10T16:17:56.628Z] unset SSH_AUTH_SOCK; [2020-04-10T16:17:56.628Z] unset SSH_AGENT_PID; [2020-04-10T16:17:56.628Z] echo Agent pid 21 killed; [2020-04-10T16:17:56.679Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-10T16:17:56.739Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-10T16:17:56.739Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-10T16:17:56.873Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-10T16:17:56.873Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-10T16:17:57.093Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-10T16:17:57.096Z] $ docker exec f3b4ae4f7be8023034ee02a7ab2d775b8ea79c7c372fecf12011761494331b70 ssh-agent [2020-04-10T16:17:57.311Z] SSH_AUTH_SOCK=/tmp/ssh-f4uIVcd0SftB/agent.55 [2020-04-10T16:17:57.311Z] SSH_AGENT_PID=61 [2020-04-10T16:17:57.318Z] Running ssh-add (command line suppressed) [2020-04-10T16:17:57.468Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/private_key_3278167972386302450.key (/w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/private_key_3278167972386302450.key) [2020-04-10T16:17:57.518Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-10T16:17:57.853Z] + git semver init [2020-04-10T16:17:57.853Z] # -> Open(): unable to determine branch for HEAD [2020-04-10T16:17:57.853Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-481/.git [2020-04-10T16:17:57.853Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-481 [2020-04-10T16:17:57.853Z] # $SEMVER_REMOTE_NAME = origin [2020-04-10T16:17:57.853Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-10T16:17:57.853Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-10T16:17:57.853Z] # $SEMVER_BRANCH = PR-481 [2020-04-10T16:17:57.853Z] # $SEMVER_TEMP = /tmp/semver-164327753 [2020-04-10T16:17:57.853Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-10T16:17:58.430Z] # '/tmp/semver-164327753' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-481/.semver' [2020-04-10T16:17:58.430Z] # -> Force: false [2020-04-10T16:17:58.430Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-481/.semver [Pipeline] } [2020-04-10T16:17:58.441Z] $ docker exec --env ******** --env ******** f3b4ae4f7be8023034ee02a7ab2d775b8ea79c7c372fecf12011761494331b70 ssh-agent -k [2020-04-10T16:17:58.615Z] unset SSH_AUTH_SOCK; [2020-04-10T16:17:58.616Z] unset SSH_AGENT_PID; [2020-04-10T16:17:58.616Z] echo Agent pid 61 killed; [2020-04-10T16:17:58.678Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-10T16:17:59.113Z] + git semver [Pipeline] } [2020-04-10T16:17:59.124Z] $ docker stop --time=1 f3b4ae4f7be8023034ee02a7ab2d775b8ea79c7c372fecf12011761494331b70 [2020-04-10T16:18:00.525Z] $ docker rm -f f3b4ae4f7be8023034ee02a7ab2d775b8ea79c7c372fecf12011761494331b70 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-10T16:18:01.355Z] Stashed 40 file(s) [Pipeline] echo [2020-04-10T16:18:01.357Z] [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-04-10T16:18:16.629Z] Still waiting to schedule task [2020-04-10T16:18:16.629Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-10T16:18:16.631Z] Still waiting to schedule task [2020-04-10T16:18:16.631Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-10T16:19:43.026Z] Running on prd-centos7-docker-4c-2g-3291 in /w/workspace/dgexfoundry_device-sdk-go_PR-481 [Pipeline] { [Pipeline] ws [2020-04-10T16:19:43.067Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-04-10T16:19:45.880Z] using credential edgex-jenkins-ssh [2020-04-10T16:19:45.936Z] Cloning the remote Git repository [2020-04-10T16:19:45.937Z] Cloning with configured refspecs honoured and without tags [2020-04-10T16:19:45.979Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:19:46.022Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-04-10T16:19:46.082Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:19:46.083Z] > git --version # timeout=10 [2020-04-10T16:19:46.096Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:19:46.139Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/481/head:refs/remotes/origin/PR-481 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T16:19:46.783Z] Fetching without tags [2020-04-10T16:19:47.179Z] Merging remotes/origin/master commit 1bb097ad4365b735bfef0648a55752ad7a9b68a1 into PR head commit f7d2781892840f183e580a6cc2de34ebbbdf1084 [2020-04-10T16:19:47.276Z] Merge succeeded, producing f7d2781892840f183e580a6cc2de34ebbbdf1084 [2020-04-10T16:19:47.276Z] Checking out Revision f7d2781892840f183e580a6cc2de34ebbbdf1084 (PR-481) [2020-04-10T16:19:46.752Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T16:19:46.758Z] > git config --add remote.origin.fetch +refs/pull/481/head:refs/remotes/origin/PR-481 # timeout=10 [2020-04-10T16:19:46.764Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T16:19:46.776Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T16:19:46.789Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:19:46.789Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:19:46.794Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/481/head:refs/remotes/origin/PR-481 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T16:19:47.187Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T16:19:47.193Z] > git checkout -f f7d2781892840f183e580a6cc2de34ebbbdf1084 # timeout=10 [2020-04-10T16:19:47.238Z] > git remote # timeout=10 [2020-04-10T16:19:47.244Z] > git config --get remote.origin.url # timeout=10 [2020-04-10T16:19:47.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:19:47.256Z] > git merge 1bb097ad4365b735bfef0648a55752ad7a9b68a1 # timeout=10 [2020-04-10T16:19:47.269Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-10T16:19:47.279Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T16:19:47.286Z] > git checkout -f f7d2781892840f183e580a6cc2de34ebbbdf1084 # timeout=10 [2020-04-10T16:19:52.216Z] Commit message: "Check device profile from metadata" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-10T16:19:53.058Z] ========================================================= [2020-04-10T16:19:53.058Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-10T16:19:53.058Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:19:53.920Z] + 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-04-10T16:19:54.184Z] Sending build context to Docker daemon 2.856MB [2020-04-10T16:19:54.184Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-10T16:19:54.184Z] Step 2/8 : FROM ${BASE} [2020-04-10T16:19:54.444Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-10T16:19:54.444Z] e6b0cf9c0882: Pulling fs layer [2020-04-10T16:19:54.444Z] 2848faf0eed1: Pulling fs layer [2020-04-10T16:19:54.444Z] 0f37312ad70f: Pulling fs layer [2020-04-10T16:19:54.444Z] 5788d62ee057: Pulling fs layer [2020-04-10T16:19:54.444Z] 0e6b1d234666: Pulling fs layer [2020-04-10T16:19:54.444Z] bf5d7aec512f: Pulling fs layer [2020-04-10T16:19:54.444Z] 34c802a77dc8: Pulling fs layer [2020-04-10T16:19:54.444Z] 9eb99e56ec68: Pulling fs layer [2020-04-10T16:19:54.444Z] 27c7a5d97fbd: Pulling fs layer [2020-04-10T16:19:54.444Z] 5c102a31e300: Pulling fs layer [2020-04-10T16:19:54.444Z] dcfb455df0a1: Pulling fs layer [2020-04-10T16:19:54.444Z] 5788d62ee057: Waiting [2020-04-10T16:19:54.444Z] 0e6b1d234666: Waiting [2020-04-10T16:19:54.444Z] 5c102a31e300: Waiting [2020-04-10T16:19:54.444Z] 27c7a5d97fbd: Waiting [2020-04-10T16:19:54.444Z] dcfb455df0a1: Waiting [2020-04-10T16:19:54.444Z] bf5d7aec512f: Waiting [2020-04-10T16:19:54.444Z] 9eb99e56ec68: Waiting [2020-04-10T16:19:54.444Z] 34c802a77dc8: Waiting [2020-04-10T16:19:54.444Z] 0f37312ad70f: Verifying Checksum [2020-04-10T16:19:54.444Z] 0f37312ad70f: Download complete [2020-04-10T16:19:54.444Z] 2848faf0eed1: Verifying Checksum [2020-04-10T16:19:54.444Z] 2848faf0eed1: Download complete [2020-04-10T16:19:54.444Z] 0e6b1d234666: Verifying Checksum [2020-04-10T16:19:54.444Z] 0e6b1d234666: Download complete [2020-04-10T16:19:54.444Z] bf5d7aec512f: Verifying Checksum [2020-04-10T16:19:54.444Z] bf5d7aec512f: Download complete [2020-04-10T16:19:54.444Z] e6b0cf9c0882: Verifying Checksum [2020-04-10T16:19:54.444Z] e6b0cf9c0882: Download complete [2020-04-10T16:19:54.706Z] e6b0cf9c0882: Pull complete [2020-04-10T16:19:54.967Z] 2848faf0eed1: Pull complete [2020-04-10T16:19:55.235Z] 0f37312ad70f: Pull complete [2020-04-10T16:19:55.500Z] 34c802a77dc8: Verifying Checksum [2020-04-10T16:19:55.500Z] 34c802a77dc8: Download complete [2020-04-10T16:19:55.500Z] 27c7a5d97fbd: Verifying Checksum [2020-04-10T16:19:55.500Z] 27c7a5d97fbd: Download complete [2020-04-10T16:19:55.770Z] 5c102a31e300: Verifying Checksum [2020-04-10T16:19:55.770Z] 5c102a31e300: Download complete [2020-04-10T16:19:56.032Z] dcfb455df0a1: Verifying Checksum [2020-04-10T16:19:56.032Z] dcfb455df0a1: Download complete [2020-04-10T16:19:56.290Z] 9eb99e56ec68: Verifying Checksum [2020-04-10T16:19:56.549Z] 5788d62ee057: Download complete [2020-04-10T16:20:03.123Z] 5788d62ee057: Pull complete [2020-04-10T16:20:03.123Z] 0e6b1d234666: Pull complete [2020-04-10T16:20:03.123Z] bf5d7aec512f: Pull complete [2020-04-10T16:20:09.709Z] 34c802a77dc8: Pull complete [2020-04-10T16:20:13.051Z] 9eb99e56ec68: Pull complete [2020-04-10T16:20:13.051Z] 27c7a5d97fbd: Pull complete [2020-04-10T16:20:13.633Z] 5c102a31e300: Pull complete [2020-04-10T16:20:13.897Z] dcfb455df0a1: Pull complete [2020-04-10T16:20:13.897Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-10T16:20:13.897Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-10T16:20:13.897Z] ---> 7c70fe431013 [2020-04-10T16:20:13.897Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:20:13.897Z] ---> Running in 10bbb703b11e [2020-04-10T16:20:14.157Z] Removing intermediate container 10bbb703b11e [2020-04-10T16:20:14.157Z] ---> 0ad10759d956 [2020-04-10T16:20:14.157Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T16:20:14.157Z] ---> Running in b7ebe57b630f [2020-04-10T16:20:15.097Z] Removing intermediate container b7ebe57b630f [2020-04-10T16:20:15.097Z] ---> 45a5ab2cf2db [2020-04-10T16:20:15.097Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-10T16:20:15.097Z] ---> Running in b1008188ae6d [2020-04-10T16:20:16.038Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-10T16:20:16.609Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-10T16:20:17.178Z] OK: 143 MiB in 39 packages [2020-04-10T16:20:17.437Z] Removing intermediate container b1008188ae6d [2020-04-10T16:20:17.437Z] ---> 951dd929d349 [2020-04-10T16:20:17.437Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-10T16:20:17.697Z] ---> Running in 0f2927f3ac0f [2020-04-10T16:20:17.697Z] Removing intermediate container 0f2927f3ac0f [2020-04-10T16:20:17.697Z] ---> b0148e635f0b [2020-04-10T16:20:17.697Z] Step 7/8 : COPY . . [2020-04-10T16:20:18.266Z] ---> cfdae1c4981d [2020-04-10T16:20:18.267Z] Step 8/8 : RUN go mod download [2020-04-10T16:20:18.267Z] ---> Running in 068c9cd4f18c [2020-04-10T16:20:19.649Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-10T16:20:19.649Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-10T16:20:19.649Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-10T16:20:19.649Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-10T16:20:19.649Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-10T16:20:19.649Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-10T16:20:19.649Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-10T16:20:19.649Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-10T16:20:19.649Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-10T16:20:19.649Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-10T16:20:19.649Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-10T16:20:19.649Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-10T16:20:19.649Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-10T16:20:19.649Z] go: finding github.com/fatih/color v1.7.0 [2020-04-10T16:20:19.649Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-10T16:20:19.649Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-10T16:20:19.908Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-10T16:20:19.908Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-10T16:20:19.908Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-10T16:20:19.908Z] go: finding github.com/google/uuid v1.1.0 [2020-04-10T16:20:19.908Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-10T16:20:19.908Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-10T16:20:19.908Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-10T16:20:19.908Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-10T16:20:19.908Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-10T16:20:19.908Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-10T16:20:19.908Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-10T16:20:19.908Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-10T16:20:19.908Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-10T16:20:19.908Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-10T16:20:19.908Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-10T16:20:19.908Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-10T16:20:19.908Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-10T16:20:19.908Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-10T16:20:19.909Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-10T16:20:19.909Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-10T16:20:19.909Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-10T16:20:19.909Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-10T16:20:19.909Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-10T16:20:19.909Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-10T16:20:19.909Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-10T16:20:19.909Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-10T16:20:19.909Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-10T16:20:19.909Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-10T16:20:19.909Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-10T16:20:19.909Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-10T16:20:19.909Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-10T16:20:19.909Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-10T16:20:19.909Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-10T16:20:19.909Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-10T16:20:19.909Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-10T16:20:19.909Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-10T16:20:19.909Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-10T16:20:20.172Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-10T16:20:20.172Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-10T16:20:20.172Z] go: finding github.com/posener/complete v1.1.1 [2020-04-10T16:20:20.172Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-10T16:20:20.172Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-10T16:20:20.172Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-10T16:20:20.172Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-10T16:20:20.172Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-10T16:20:20.172Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-10T16:20:20.172Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-10T16:20:20.172Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-10T16:20:20.172Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-10T16:20:20.172Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-10T16:20:20.172Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-10T16:20:20.172Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-10T16:20:28.295Z] Removing intermediate container 068c9cd4f18c [2020-04-10T16:20:28.295Z] ---> 5e67914ff7d7 [2020-04-10T16:20:28.295Z] Successfully built 5e67914ff7d7 [2020-04-10T16:20:28.295Z] 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-04-10T16:20:28.872Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-10T16:20:28.872Z] . [Pipeline] withDockerContainer [2020-04-10T16:20:28.996Z] prd-centos7-docker-4c-2g-3291 does not seem to be running inside a container [2020-04-10T16:20:29.043Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-10T16:20:29.661Z] $ docker top 1cb2d1e008da51faf349bc9c5d83a7dd45b8c1f03f7d5f740ae9516f12dfd078 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-10T16:20:30.165Z] + go version [2020-04-10T16:20:30.165Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-10T16:20:30.471Z] + make test [2020-04-10T16:20:30.471Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-10T16:20:31.046Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-10T16:20:41.109Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-10T16:20:41.109Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-10T16:20:41.680Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.004s coverage: 22.1% of statements [2020-04-10T16:20:49.810Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.046s coverage: 95.8% of statements [2020-04-10T16:21:21.923Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.024s coverage: 11.4% of statements [2020-04-10T16:21:21.923Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 22.7% of statements [2020-04-10T16:21:21.923Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-10T16:21:21.923Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.129s coverage: 38.5% of statements [2020-04-10T16:21:21.923Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-10T16:21:21.923Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-10T16:21:21.923Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 1.220s coverage: 79.8% of statements [2020-04-10T16:21:21.923Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-10T16:21:21.923Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-10T16:21:21.923Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-10T16:21:21.923Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.041s coverage: 52.6% of statements [2020-04-10T16:21:21.923Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-10T16:21:21.923Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.107s coverage: 76.1% of statements [2020-04-10T16:21:21.923Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-10T16:21:21.923Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-10T16:21:21.923Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-10T16:21:21.923Z] gofmt -l . [2020-04-10T16:21:21.923Z] [ "`gofmt -l .`" = "" ] [2020-04-10T16:21:21.923Z] ./bin/test-attribution-txt.sh [2020-04-10T16:21:21.923Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-10T16:21:22.406Z] Stashed 1 file(s) [Pipeline] } [2020-04-10T16:21:22.413Z] $ docker stop --time=1 1cb2d1e008da51faf349bc9c5d83a7dd45b8c1f03f7d5f740ae9516f12dfd078 [2020-04-10T16:21:23.869Z] $ docker rm -f 1cb2d1e008da51faf349bc9c5d83a7dd45b8c1f03f7d5f740ae9516f12dfd078 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-10T16:21:24.836Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-10T16:21:25.128Z] + ls -al . [2020-04-10T16:21:25.128Z] total 160 [2020-04-10T16:21:25.128Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 10 16:21 . [2020-04-10T16:21:25.128Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 10 16:19 .. [2020-04-10T16:21:25.128Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 10 16:19 api [2020-04-10T16:21:25.128Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 10 16:19 bin [2020-04-10T16:21:25.128Z] -rw-r--r--. 1 jenkins jenkins 94997 Apr 10 16:21 coverage.out [2020-04-10T16:21:25.128Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 10 16:19 Dockerfile.build [2020-04-10T16:21:25.128Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 10 16:19 .dockerignore [2020-04-10T16:21:25.128Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 10 16:19 example [2020-04-10T16:21:25.128Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 10 16:19 .git [2020-04-10T16:21:25.128Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 10 16:19 .github [2020-04-10T16:21:25.128Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 10 16:19 .gitignore [2020-04-10T16:21:25.128Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 10 16:21 go.mod [2020-04-10T16:21:25.128Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 10 16:21 go.sum [2020-04-10T16:21:25.128Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 10 16:19 internal [2020-04-10T16:21:25.128Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 10 16:19 Jenkinsfile [2020-04-10T16:21:25.128Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 10 16:19 LICENSE [2020-04-10T16:21:25.128Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 10 16:19 Makefile [2020-04-10T16:21:25.128Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 10 16:19 pkg [2020-04-10T16:21:25.128Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 10 16:19 README.md [2020-04-10T16:21:25.128Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 10 16:19 .semver [2020-04-10T16:21:25.128Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 10 16:19 snap [2020-04-10T16:21:25.128Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 10 16:18 VERSION [2020-04-10T16:21:25.129Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 10 16:19 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:21:25.431Z] + 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=f7d2781892840f183e580a6cc2de34ebbbdf1084 --label arch=amd64 --label version=0.0.0 . [2020-04-10T16:21:25.692Z] Sending build context to Docker daemon 2.973MB [2020-04-10T16:21:25.692Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-10T16:21:25.692Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-10T16:21:25.692Z] ---> 5e67914ff7d7 [2020-04-10T16:21:25.692Z] Step 3/21 : ARG MAKE='make build' [2020-04-10T16:21:25.692Z] ---> Running in 265529abaecd [2020-04-10T16:21:25.692Z] Removing intermediate container 265529abaecd [2020-04-10T16:21:25.692Z] ---> 840baad57118 [2020-04-10T16:21:25.692Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-10T16:21:25.953Z] ---> Running in c19070f1ac42 [2020-04-10T16:21:25.953Z] Removing intermediate container c19070f1ac42 [2020-04-10T16:21:25.953Z] ---> 8ff23e32a359 [2020-04-10T16:21:25.953Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:21:25.953Z] ---> Running in bec9fe44eabb [2020-04-10T16:21:26.213Z] Removing intermediate container bec9fe44eabb [2020-04-10T16:21:26.213Z] ---> a54794712dd0 [2020-04-10T16:21:26.213Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T16:21:26.213Z] ---> Running in 588e75a72d84 [2020-04-10T16:21:26.786Z] Removing intermediate container 588e75a72d84 [2020-04-10T16:21:26.786Z] ---> 305938b049dd [2020-04-10T16:21:26.786Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-10T16:21:26.786Z] ---> Running in 26327beb3dfb [2020-04-10T16:21:27.357Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-10T16:21:29.268Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-10T16:21:30.648Z] OK: 143 MiB in 39 packages [2020-04-10T16:21:30.908Z] Removing intermediate container 26327beb3dfb [2020-04-10T16:21:30.908Z] ---> ca00766d94cd [2020-04-10T16:21:30.908Z] Step 8/21 : COPY . . [2020-04-10T16:21:31.494Z] ---> 3168f4eaa47d [2020-04-10T16:21:31.494Z] Step 9/21 : RUN ${MAKE} [2020-04-10T16:21:31.494Z] ---> Running in 716bc36d7cab [2020-04-10T16:21:31.752Z] 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-04-10T16:21:39.937Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-10T16:21:40.878Z] Removing intermediate container 716bc36d7cab [2020-04-10T16:21:40.878Z] ---> 9d596f30a74d [2020-04-10T16:21:40.878Z] Step 10/21 : FROM scratch [2020-04-10T16:21:40.878Z] ---> [2020-04-10T16:21:40.878Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:21:40.878Z] ---> Running in 2a8eabad6013 [2020-04-10T16:21:41.137Z] Removing intermediate container 2a8eabad6013 [2020-04-10T16:21:41.137Z] ---> 7a0961c55ba9 [2020-04-10T16:21:41.137Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-10T16:21:41.137Z] ---> Running in 10db8a2eb597 [2020-04-10T16:21:41.137Z] Removing intermediate container 10db8a2eb597 [2020-04-10T16:21:41.137Z] ---> 3741e06487f1 [2020-04-10T16:21:41.137Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-10T16:21:41.137Z] ---> Running in b4ee4a0f692d [2020-04-10T16:21:41.396Z] Removing intermediate container b4ee4a0f692d [2020-04-10T16:21:41.396Z] ---> 7adb13c62c7e [2020-04-10T16:21:41.396Z] Step 14/21 : WORKDIR / [2020-04-10T16:21:41.396Z] ---> Running in 130bb159b60c [2020-04-10T16:21:41.396Z] Removing intermediate container 130bb159b60c [2020-04-10T16:21:41.396Z] ---> ca8a454b0ba9 [2020-04-10T16:21:41.396Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-10T16:21:42.779Z] ---> 72c7db329c29 [2020-04-10T16:21:42.779Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-10T16:21:42.779Z] ---> 5718a5591d76 [2020-04-10T16:21:42.779Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-10T16:21:43.038Z] ---> 23d546ecd72f [2020-04-10T16:21:43.038Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-10T16:21:43.038Z] ---> Running in 002092925e0b [2020-04-10T16:21:43.038Z] Removing intermediate container 002092925e0b [2020-04-10T16:21:43.038Z] ---> 561828452f83 [2020-04-10T16:21:43.038Z] Step 19/21 : LABEL arch=amd64 [2020-04-10T16:21:43.296Z] ---> Running in 22f2592a3dd4 [2020-04-10T16:21:43.296Z] Removing intermediate container 22f2592a3dd4 [2020-04-10T16:21:43.296Z] ---> c8125ba266b6 [2020-04-10T16:21:43.296Z] Step 20/21 : LABEL git_sha=f7d2781892840f183e580a6cc2de34ebbbdf1084 [2020-04-10T16:21:43.296Z] ---> Running in 7c4074339d97 [2020-04-10T16:21:43.556Z] Removing intermediate container 7c4074339d97 [2020-04-10T16:21:43.556Z] ---> e9ae512e2885 [2020-04-10T16:21:43.556Z] Step 21/21 : LABEL version=0.0.0 [2020-04-10T16:21:43.556Z] ---> Running in b783784ffd42 [2020-04-10T16:21:43.556Z] Removing intermediate container b783784ffd42 [2020-04-10T16:21:43.556Z] ---> 6bcc4320be04 [2020-04-10T16:21:43.556Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-10T16:21:43.556Z] Successfully built 6bcc4320be04 [2020-04-10T16:21:43.814Z] 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-04-10T16:21:58.907Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3293 in /w/workspace/dgexfoundry_device-sdk-go_PR-481 [Pipeline] { [Pipeline] ws [2020-04-10T16:21:58.987Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-04-10T16:22:05.435Z] using credential edgex-jenkins-ssh [2020-04-10T16:22:05.495Z] Cloning the remote Git repository [2020-04-10T16:22:05.495Z] Cloning with configured refspecs honoured and without tags [2020-04-10T16:22:05.575Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:22:05.697Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-04-10T16:22:05.817Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:22:05.821Z] > git --version # timeout=10 [2020-04-10T16:22:05.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:22:05.948Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/481/head:refs/remotes/origin/PR-481 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T16:22:07.092Z] Fetching without tags [2020-04-10T16:22:07.611Z] Merging remotes/origin/master commit 1bb097ad4365b735bfef0648a55752ad7a9b68a1 into PR head commit f7d2781892840f183e580a6cc2de34ebbbdf1084 [2020-04-10T16:22:07.902Z] Merge succeeded, producing f7d2781892840f183e580a6cc2de34ebbbdf1084 [2020-04-10T16:22:07.902Z] Checking out Revision f7d2781892840f183e580a6cc2de34ebbbdf1084 (PR-481) [2020-04-10T16:22:06.944Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T16:22:06.957Z] > git config --add remote.origin.fetch +refs/pull/481/head:refs/remotes/origin/PR-481 # timeout=10 [2020-04-10T16:22:06.995Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T16:22:07.035Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T16:22:07.104Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T16:22:07.105Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:22:07.135Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/481/head:refs/remotes/origin/PR-481 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T16:22:07.632Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T16:22:07.661Z] > git checkout -f f7d2781892840f183e580a6cc2de34ebbbdf1084 # timeout=10 [2020-04-10T16:22:07.789Z] > git remote # timeout=10 [2020-04-10T16:22:07.821Z] > git config --get remote.origin.url # timeout=10 [2020-04-10T16:22:07.846Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T16:22:07.856Z] > git merge 1bb097ad4365b735bfef0648a55752ad7a9b68a1 # timeout=10 [2020-04-10T16:22:07.881Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-10T16:22:07.912Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T16:22:07.936Z] > git checkout -f f7d2781892840f183e580a6cc2de34ebbbdf1084 # timeout=10 [2020-04-10T16:22:12.871Z] Commit message: "Check device profile from metadata" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-10T16:22:14.516Z] ========================================================= [2020-04-10T16:22:14.516Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-10T16:22:14.516Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:22:15.769Z] + 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-04-10T16:22:16.741Z] Sending build context to Docker daemon 2.856MB [2020-04-10T16:22:16.741Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-10T16:22:16.741Z] Step 2/8 : FROM ${BASE} [2020-04-10T16:22:17.009Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-10T16:22:17.009Z] cde5963f3b93: Pulling fs layer [2020-04-10T16:22:17.009Z] 2a23fa8c16f7: Pulling fs layer [2020-04-10T16:22:17.009Z] 777b28850792: Pulling fs layer [2020-04-10T16:22:17.009Z] 8a11ddd9e578: Pulling fs layer [2020-04-10T16:22:17.009Z] 4cf88f913ddb: Pulling fs layer [2020-04-10T16:22:17.009Z] 1df406cf5192: Pulling fs layer [2020-04-10T16:22:17.009Z] 8a11ddd9e578: Waiting [2020-04-10T16:22:17.009Z] 4cf88f913ddb: Waiting [2020-04-10T16:22:17.009Z] cd6300453558: Pulling fs layer [2020-04-10T16:22:17.009Z] b9c365052c96: Pulling fs layer [2020-04-10T16:22:17.009Z] a2d8cc88f415: Pulling fs layer [2020-04-10T16:22:17.009Z] ea1d1ca13537: Pulling fs layer [2020-04-10T16:22:17.009Z] 1df406cf5192: Waiting [2020-04-10T16:22:17.009Z] 3750a50a1c5e: Pulling fs layer [2020-04-10T16:22:17.009Z] ea1d1ca13537: Waiting [2020-04-10T16:22:17.009Z] 3750a50a1c5e: Waiting [2020-04-10T16:22:17.009Z] cd6300453558: Waiting [2020-04-10T16:22:17.009Z] a2d8cc88f415: Waiting [2020-04-10T16:22:17.009Z] b9c365052c96: Waiting [2020-04-10T16:22:17.009Z] 777b28850792: Verifying Checksum [2020-04-10T16:22:17.009Z] 777b28850792: Download complete [2020-04-10T16:22:17.009Z] 2a23fa8c16f7: Verifying Checksum [2020-04-10T16:22:17.009Z] 2a23fa8c16f7: Download complete [2020-04-10T16:22:17.009Z] 4cf88f913ddb: Verifying Checksum [2020-04-10T16:22:17.009Z] 4cf88f913ddb: Download complete [2020-04-10T16:22:17.009Z] 1df406cf5192: Download complete [2020-04-10T16:22:17.279Z] cde5963f3b93: Verifying Checksum [2020-04-10T16:22:17.279Z] cde5963f3b93: Download complete [2020-04-10T16:22:18.251Z] cde5963f3b93: Pull complete [2020-04-10T16:22:18.858Z] 2a23fa8c16f7: Pull complete [2020-04-10T16:22:19.132Z] 777b28850792: Pull complete [2020-04-10T16:22:21.747Z] cd6300453558: Verifying Checksum [2020-04-10T16:22:21.747Z] cd6300453558: Download complete [2020-04-10T16:22:21.747Z] a2d8cc88f415: Verifying Checksum [2020-04-10T16:22:21.747Z] a2d8cc88f415: Download complete [2020-04-10T16:22:24.338Z] ea1d1ca13537: Verifying Checksum [2020-04-10T16:22:24.338Z] ea1d1ca13537: Download complete [2020-04-10T16:22:24.338Z] 3750a50a1c5e: Download complete [2020-04-10T16:22:27.705Z] b9c365052c96: Verifying Checksum [2020-04-10T16:22:27.705Z] b9c365052c96: Download complete [2020-04-10T16:22:29.119Z] 8a11ddd9e578: Verifying Checksum [2020-04-10T16:22:29.119Z] 8a11ddd9e578: Download complete [2020-04-10T16:22:41.473Z] 8a11ddd9e578: Pull complete [2020-04-10T16:22:41.473Z] 4cf88f913ddb: Pull complete [2020-04-10T16:22:41.473Z] 1df406cf5192: Pull complete [2020-04-10T16:22:45.761Z] cd6300453558: Pull complete [2020-04-10T16:22:51.128Z] b9c365052c96: Pull complete [2020-04-10T16:22:51.128Z] a2d8cc88f415: Pull complete [2020-04-10T16:22:52.550Z] ea1d1ca13537: Pull complete [2020-04-10T16:22:52.819Z] 3750a50a1c5e: Pull complete [2020-04-10T16:22:53.090Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-10T16:22:53.090Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-10T16:22:53.090Z] ---> 78745c68409d [2020-04-10T16:22:53.090Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:22:57.369Z] ---> Running in 06bd55bfc07e [2020-04-10T16:22:57.958Z] Removing intermediate container 06bd55bfc07e [2020-04-10T16:22:57.958Z] ---> a9d6a987f948 [2020-04-10T16:22:57.958Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T16:22:57.958Z] ---> Running in fe9af588b99c [2020-04-10T16:23:00.563Z] Removing intermediate container fe9af588b99c [2020-04-10T16:23:00.563Z] ---> 4454576512d4 [2020-04-10T16:23:00.563Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-10T16:23:00.563Z] ---> Running in 6561651ce8c8 [2020-04-10T16:23:01.148Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-10T16:23:02.111Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-10T16:23:02.379Z] OK: 125 MiB in 39 packages [2020-04-10T16:23:03.808Z] Removing intermediate container 6561651ce8c8 [2020-04-10T16:23:03.808Z] ---> 39e09f8257f8 [2020-04-10T16:23:03.808Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-10T16:23:03.808Z] ---> Running in 477aebac4d7d [2020-04-10T16:23:04.395Z] Removing intermediate container 477aebac4d7d [2020-04-10T16:23:04.395Z] ---> b51605d614d3 [2020-04-10T16:23:04.395Z] Step 7/8 : COPY . . [2020-04-10T16:23:05.371Z] ---> f438d0d13ed9 [2020-04-10T16:23:05.371Z] Step 8/8 : RUN go mod download [2020-04-10T16:23:05.371Z] ---> Running in 1a07185579a1 [2020-04-10T16:23:07.323Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-10T16:23:07.323Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-10T16:23:07.323Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-10T16:23:07.323Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-10T16:23:07.323Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-10T16:23:07.590Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-10T16:23:07.590Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-10T16:23:07.590Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-10T16:23:07.590Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-10T16:23:07.590Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-10T16:23:07.590Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-10T16:23:07.590Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-10T16:23:07.590Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-10T16:23:07.590Z] go: finding github.com/fatih/color v1.7.0 [2020-04-10T16:23:07.590Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-10T16:23:07.590Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-10T16:23:07.590Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-10T16:23:07.590Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-10T16:23:07.590Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-10T16:23:07.590Z] go: finding github.com/google/uuid v1.1.0 [2020-04-10T16:23:07.590Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-10T16:23:07.590Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-10T16:23:07.590Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-10T16:23:07.858Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-10T16:23:07.858Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-10T16:23:07.858Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-10T16:23:07.859Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-10T16:23:07.859Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-10T16:23:07.859Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-10T16:23:07.859Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-10T16:23:07.859Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-10T16:23:07.859Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-10T16:23:07.859Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-10T16:23:07.859Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-10T16:23:07.859Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-10T16:23:07.859Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-10T16:23:07.859Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-10T16:23:07.859Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-10T16:23:07.859Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-10T16:23:07.859Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-10T16:23:07.859Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-10T16:23:07.859Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-10T16:23:07.859Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-10T16:23:07.859Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-10T16:23:07.859Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-10T16:23:07.859Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-10T16:23:07.859Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-10T16:23:08.127Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-10T16:23:08.127Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-10T16:23:08.127Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-10T16:23:08.127Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-10T16:23:08.127Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-10T16:23:08.127Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-10T16:23:08.127Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-10T16:23:08.127Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-10T16:23:08.127Z] go: finding github.com/posener/complete v1.1.1 [2020-04-10T16:23:08.127Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-10T16:23:08.127Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-10T16:23:08.127Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-10T16:23:08.127Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-10T16:23:08.127Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-10T16:23:08.127Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-10T16:23:08.127Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-10T16:23:08.127Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-10T16:23:08.395Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-10T16:23:08.395Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-10T16:23:08.396Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-10T16:23:08.396Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-10T16:23:18.501Z] Removing intermediate container 1a07185579a1 [2020-04-10T16:23:18.501Z] ---> 41c3a3bec447 [2020-04-10T16:23:18.501Z] Successfully built 41c3a3bec447 [2020-04-10T16:23:18.501Z] 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-04-10T16:23:19.130Z] + docker inspect -f . ci-base-image-arm64 [2020-04-10T16:23:19.398Z] . [Pipeline] withDockerContainer [2020-04-10T16:23:19.749Z] prd-ubuntu18.04-docker-arm64-4c-16g-3293 does not seem to be running inside a container [2020-04-10T16:23:19.821Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-10T16:23:21.397Z] $ docker top d1895264cda744b919b09222a4dc08836ff56d82ddffc6959b307c6cd16b7c60 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-10T16:23:22.547Z] + go version [2020-04-10T16:23:22.547Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-10T16:23:23.249Z] + make test [2020-04-10T16:23:23.249Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-10T16:23:24.679Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-10T16:23:56.977Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-10T16:23:56.977Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-10T16:23:56.977Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.015s coverage: 22.1% of statements [2020-04-10T16:23:56.977Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.174s coverage: 95.8% of statements [2020-04-10T16:24:29.224Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.070s coverage: 11.4% of statements [2020-04-10T16:24:29.224Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 22.7% of statements [2020-04-10T16:24:29.224Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-10T16:24:29.224Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.181s coverage: 38.5% of statements [2020-04-10T16:24:29.224Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-10T16:24:29.224Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-10T16:24:29.224Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.832s coverage: 79.8% of statements [2020-04-10T16:24:29.224Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-10T16:24:29.224Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-10T16:24:29.224Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-10T16:24:29.224Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.046s coverage: 52.6% of statements [2020-04-10T16:24:29.224Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-10T16:24:29.224Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.329s coverage: 76.1% of statements [2020-04-10T16:24:29.224Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-10T16:24:29.224Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-10T16:24:29.224Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-10T16:24:33.509Z] gofmt -l . [2020-04-10T16:24:33.776Z] [ "`gofmt -l .`" = "" ] [2020-04-10T16:24:34.047Z] ./bin/test-attribution-txt.sh [2020-04-10T16:24:35.013Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-10T16:24:35.645Z] Warning: overwriting stash ‘coverage-report’ [2020-04-10T16:24:36.108Z] Stashed 1 file(s) [Pipeline] } [2020-04-10T16:24:36.106Z] $ docker stop --time=1 d1895264cda744b919b09222a4dc08836ff56d82ddffc6959b307c6cd16b7c60 [2020-04-10T16:24:38.212Z] $ docker rm -f d1895264cda744b919b09222a4dc08836ff56d82ddffc6959b307c6cd16b7c60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-10T16:24:39.490Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-10T16:24:39.809Z] + ls -al . [2020-04-10T16:24:39.809Z] total 200 [2020-04-10T16:24:39.809Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 16:24 . [2020-04-10T16:24:39.809Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 16:22 .. [2020-04-10T16:24:39.809Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 16:22 .dockerignore [2020-04-10T16:24:39.809Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 16:22 .git [2020-04-10T16:24:39.809Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 16:22 .github [2020-04-10T16:24:39.809Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 10 16:22 .gitignore [2020-04-10T16:24:39.809Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 16:22 .semver [2020-04-10T16:24:39.809Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 10 16:22 Dockerfile.build [2020-04-10T16:24:39.809Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 10 16:22 Jenkinsfile [2020-04-10T16:24:39.809Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 16:22 LICENSE [2020-04-10T16:24:39.809Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 10 16:22 Makefile [2020-04-10T16:24:39.809Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 10 16:22 README.md [2020-04-10T16:24:39.809Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 16:18 VERSION [2020-04-10T16:24:39.809Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 16:22 api [2020-04-10T16:24:39.809Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 16:22 bin [2020-04-10T16:24:39.809Z] -rw-r--r-- 1 jenkins jenkins 94997 Apr 10 16:24 coverage.out [2020-04-10T16:24:39.809Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 16:22 example [2020-04-10T16:24:39.809Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 10 16:24 go.mod [2020-04-10T16:24:39.809Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 10 16:24 go.sum [2020-04-10T16:24:39.809Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 10 16:22 internal [2020-04-10T16:24:39.809Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 16:22 pkg [2020-04-10T16:24:39.809Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 16:22 snap [2020-04-10T16:24:39.809Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 16:22 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:24:40.135Z] + 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=f7d2781892840f183e580a6cc2de34ebbbdf1084 --label arch=arm64 --label version=0.0.0 . [2020-04-10T16:24:40.727Z] Sending build context to Docker daemon 2.973MB [2020-04-10T16:24:40.727Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-10T16:24:40.727Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-10T16:24:40.727Z] ---> 41c3a3bec447 [2020-04-10T16:24:40.727Z] Step 3/21 : ARG MAKE='make build' [2020-04-10T16:24:40.727Z] ---> Running in 3edc9d8131e5 [2020-04-10T16:24:41.312Z] Removing intermediate container 3edc9d8131e5 [2020-04-10T16:24:41.312Z] ---> 94e551ac70b0 [2020-04-10T16:24:41.312Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-10T16:24:41.312Z] ---> Running in cbc28332c4e3 [2020-04-10T16:24:41.577Z] Removing intermediate container cbc28332c4e3 [2020-04-10T16:24:41.577Z] ---> 4bc2d4980904 [2020-04-10T16:24:41.577Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:24:41.845Z] ---> Running in dd97cb083f61 [2020-04-10T16:24:42.113Z] Removing intermediate container dd97cb083f61 [2020-04-10T16:24:42.113Z] ---> e5c48e1a7fd0 [2020-04-10T16:24:42.113Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T16:24:42.113Z] ---> Running in 6b21ee421913 [2020-04-10T16:24:44.065Z] Removing intermediate container 6b21ee421913 [2020-04-10T16:24:44.065Z] ---> 6721921a7191 [2020-04-10T16:24:44.065Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-10T16:24:44.065Z] ---> Running in a2ae02e6a92e [2020-04-10T16:24:45.033Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-10T16:24:45.991Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-10T16:24:46.575Z] OK: 125 MiB in 39 packages [2020-04-10T16:24:48.044Z] Removing intermediate container a2ae02e6a92e [2020-04-10T16:24:48.044Z] ---> 78ab6377e007 [2020-04-10T16:24:48.044Z] Step 8/21 : COPY . . [2020-04-10T16:24:49.056Z] ---> 19c112bc4247 [2020-04-10T16:24:49.056Z] Step 9/21 : RUN ${MAKE} [2020-04-10T16:24:49.056Z] ---> Running in 4ee35b8c6d12 [2020-04-10T16:24:50.067Z] 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-04-10T16:25:12.171Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-10T16:25:15.524Z] Removing intermediate container 4ee35b8c6d12 [2020-04-10T16:25:15.524Z] ---> f7dacd18923d [2020-04-10T16:25:15.524Z] Step 10/21 : FROM scratch [2020-04-10T16:25:15.524Z] ---> [2020-04-10T16:25:15.524Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T16:25:15.524Z] ---> Running in da0f30aadcc8 [2020-04-10T16:25:15.793Z] Removing intermediate container da0f30aadcc8 [2020-04-10T16:25:15.793Z] ---> c2be488ed60a [2020-04-10T16:25:15.793Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-10T16:25:15.793Z] ---> Running in 57cf3c0623a9 [2020-04-10T16:25:16.061Z] Removing intermediate container 57cf3c0623a9 [2020-04-10T16:25:16.061Z] ---> a36e47aef5a4 [2020-04-10T16:25:16.061Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-10T16:25:16.333Z] ---> Running in 320edbf7c38e [2020-04-10T16:25:16.602Z] Removing intermediate container 320edbf7c38e [2020-04-10T16:25:16.602Z] ---> 4968bfb0f1bb [2020-04-10T16:25:16.602Z] Step 14/21 : WORKDIR / [2020-04-10T16:25:16.602Z] ---> Running in ff3af9968bef [2020-04-10T16:25:16.869Z] Removing intermediate container ff3af9968bef [2020-04-10T16:25:16.869Z] ---> 8c5e3d3b6697 [2020-04-10T16:25:16.869Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-10T16:25:18.288Z] ---> dd54a9ddb50c [2020-04-10T16:25:18.288Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-10T16:25:18.557Z] ---> a8fa2322d4d0 [2020-04-10T16:25:18.557Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-10T16:25:19.144Z] ---> 9f06dd7ecb53 [2020-04-10T16:25:19.144Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-10T16:25:19.144Z] ---> Running in 26d52b69b7d0 [2020-04-10T16:25:19.413Z] Removing intermediate container 26d52b69b7d0 [2020-04-10T16:25:19.413Z] ---> cdcbb26ac312 [2020-04-10T16:25:19.413Z] Step 19/21 : LABEL arch=arm64 [2020-04-10T16:25:19.680Z] ---> Running in 23bcc5aea9ce [2020-04-10T16:25:19.947Z] Removing intermediate container 23bcc5aea9ce [2020-04-10T16:25:19.947Z] ---> 4e29f8ed9da2 [2020-04-10T16:25:19.947Z] Step 20/21 : LABEL git_sha=f7d2781892840f183e580a6cc2de34ebbbdf1084 [2020-04-10T16:25:19.947Z] ---> Running in 10f36ea4b37b [2020-04-10T16:25:20.212Z] Removing intermediate container 10f36ea4b37b [2020-04-10T16:25:20.212Z] ---> 1d71b256c36c [2020-04-10T16:25:20.212Z] Step 21/21 : LABEL version=0.0.0 [2020-04-10T16:25:20.483Z] ---> Running in 8018e466b371 [2020-04-10T16:25:20.750Z] Removing intermediate container 8018e466b371 [2020-04-10T16:25:20.750Z] ---> e7fe961d7766 [2020-04-10T16:25:20.750Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-10T16:25:20.750Z] Successfully built e7fe961d7766 [2020-04-10T16:25:20.750Z] 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-04-10T16:25:21.759Z] provisioning config files... [2020-04-10T16:25:21.771Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/config7066125589456072770tmp [Pipeline] { [Pipeline] sh [2020-04-10T16:25:22.134Z] + curl -s https://codecov.io/bash [2020-04-10T16:25:22.134Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/config7066125589456072770tmp [2020-04-10T16:25:22.394Z] [2020-04-10T16:25:22.394Z] _____ _ [2020-04-10T16:25:22.394Z] / ____| | | [2020-04-10T16:25:22.394Z] | | ___ __| | ___ ___ _____ __ [2020-04-10T16:25:22.394Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-10T16:25:22.394Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-10T16:25:22.394Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-10T16:25:22.394Z] Bash-20200410-0786dee [2020-04-10T16:25:22.394Z] [2020-04-10T16:25:22.394Z] [2020-04-10T16:25:22.394Z] ==> Jenkins CI detected. [2020-04-10T16:25:22.394Z] project root: . [2020-04-10T16:25:22.394Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-10T16:25:22.394Z] ==> Running gcov in . (disable via -X gcov) [2020-04-10T16:25:22.394Z] ==> Python coveragepy not found [2020-04-10T16:25:22.394Z] ==> Searching for coverage reports in: [2020-04-10T16:25:22.394Z] + . [2020-04-10T16:25:22.394Z] -> Found 1 reports [2020-04-10T16:25:22.394Z] ==> Detecting git/mercurial file structure [2020-04-10T16:25:22.394Z] ==> Reading reports [2020-04-10T16:25:22.394Z] + ./coverage.out bytes=94997 [2020-04-10T16:25:22.394Z] ==> Appending adjustments [2020-04-10T16:25:22.394Z] http://docs.codecov.io/docs/fixing-reports [2020-04-10T16:25:22.654Z] + Found adjustments [2020-04-10T16:25:22.654Z] ==> Gzipping contents [2020-04-10T16:25:22.654Z] ==> Uploading reports [2020-04-10T16:25:22.654Z] url: https://codecov.io [2020-04-10T16:25:22.654Z] query: branch=PR-481&commit=f7d2781892840f183e580a6cc2de34ebbbdf1084&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-481%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=481&job= [2020-04-10T16:25:22.654Z] -> Pinging Codecov [2020-04-10T16:25:22.654Z] https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=PR-481&commit=f7d2781892840f183e580a6cc2de34ebbbdf1084&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-481%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=481&job= [2020-04-10T16:25:23.225Z] -> Uploading [2020-04-10T16:25:23.793Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f7d2781892840f183e580a6cc2de34ebbbdf1084 [Pipeline] } [2020-04-10T16:25:23.800Z] 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-04-10T16:25:24.888Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T16:25:25.187Z] ---> package-listing.sh [2020-04-10T16:25:25.187Z] ++ facter osfamily [2020-04-10T16:25:25.187Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-10T16:25:25.187Z] + OS_FAMILY=redhat [2020-04-10T16:25:25.187Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-481 [2020-04-10T16:25:25.187Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-10T16:25:25.187Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-10T16:25:25.187Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-10T16:25:25.187Z] + PACKAGES=/tmp/packages_start.txt [2020-04-10T16:25:25.187Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-481 ']' [2020-04-10T16:25:25.187Z] + PACKAGES=/tmp/packages_end.txt [2020-04-10T16:25:25.187Z] + case "${OS_FAMILY}" in [2020-04-10T16:25:25.187Z] + rpm -qa [2020-04-10T16:25:25.187Z] + sort [2020-04-10T16:25:29.393Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-10T16:25:29.393Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-10T16:25:29.393Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-10T16:25:29.393Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-481 ']' [2020-04-10T16:25:29.393Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-481/archives/ [2020-04-10T16:25:29.393Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-481/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:25:29.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-10T16:25:29.747Z] [2020-04-10T16:25:29.747Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-10T16:25:30.098Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-10T16:25:30.098Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-10T16:25:30.098Z] c9b1b535fdd9: Pulling fs layer [2020-04-10T16:25:30.098Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-10T16:25:30.098Z] 756a868c4378: Pulling fs layer [2020-04-10T16:25:30.098Z] 444b2fc9a129: Pulling fs layer [2020-04-10T16:25:30.098Z] ea15f1150254: Pulling fs layer [2020-04-10T16:25:30.098Z] 41b27a9f41bf: Pulling fs layer [2020-04-10T16:25:30.098Z] 28c525ee5125: Pulling fs layer [2020-04-10T16:25:30.098Z] 094b1ea09ed8: Pulling fs layer [2020-04-10T16:25:30.098Z] 138eaada9080: Pulling fs layer [2020-04-10T16:25:30.098Z] 0622d0fa9048: Pulling fs layer [2020-04-10T16:25:30.098Z] 444b2fc9a129: Waiting [2020-04-10T16:25:30.098Z] 28c525ee5125: Waiting [2020-04-10T16:25:30.098Z] 094b1ea09ed8: Waiting [2020-04-10T16:25:30.098Z] 138eaada9080: Waiting [2020-04-10T16:25:30.098Z] 0622d0fa9048: Waiting [2020-04-10T16:25:30.098Z] 41b27a9f41bf: Waiting [2020-04-10T16:25:30.098Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-10T16:25:30.098Z] 2cc5ad85d9ab: Download complete [2020-04-10T16:25:30.098Z] 444b2fc9a129: Verifying Checksum [2020-04-10T16:25:30.098Z] 444b2fc9a129: Download complete [2020-04-10T16:25:30.098Z] c9b1b535fdd9: Verifying Checksum [2020-04-10T16:25:30.360Z] ea15f1150254: Download complete [2020-04-10T16:25:30.360Z] 28c525ee5125: Verifying Checksum [2020-04-10T16:25:30.360Z] 28c525ee5125: Download complete [2020-04-10T16:25:30.635Z] c9b1b535fdd9: Pull complete [2020-04-10T16:25:30.635Z] 756a868c4378: Verifying Checksum [2020-04-10T16:25:30.635Z] 756a868c4378: Download complete [2020-04-10T16:25:30.912Z] 2cc5ad85d9ab: Pull complete [2020-04-10T16:25:30.912Z] 138eaada9080: Verifying Checksum [2020-04-10T16:25:30.912Z] 138eaada9080: Download complete [2020-04-10T16:25:30.912Z] 094b1ea09ed8: Verifying Checksum [2020-04-10T16:25:30.912Z] 094b1ea09ed8: Download complete [2020-04-10T16:25:30.912Z] 0622d0fa9048: Verifying Checksum [2020-04-10T16:25:30.912Z] 0622d0fa9048: Download complete [2020-04-10T16:25:31.495Z] 41b27a9f41bf: Verifying Checksum [2020-04-10T16:25:31.495Z] 41b27a9f41bf: Download complete [2020-04-10T16:25:32.873Z] 756a868c4378: Pull complete [2020-04-10T16:25:32.873Z] 444b2fc9a129: Pull complete [2020-04-10T16:25:32.873Z] ea15f1150254: Pull complete [2020-04-10T16:25:36.175Z] 41b27a9f41bf: Pull complete [2020-04-10T16:25:36.175Z] 28c525ee5125: Pull complete [2020-04-10T16:25:38.105Z] 094b1ea09ed8: Pull complete [2020-04-10T16:25:38.364Z] 138eaada9080: Pull complete [2020-04-10T16:25:38.624Z] 0622d0fa9048: Pull complete [2020-04-10T16:25:38.624Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-10T16:25:38.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-10T16:25:38.817Z] prd-centos7-docker-4c-2g-3288 does not seem to be running inside a container [2020-04-10T16:25:38.861Z] $ 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-481 -v /w/workspace/dgexfoundry_device-sdk-go_PR-481:/w/workspace/dgexfoundry_device-sdk-go_PR-481:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-10T16:25:39.907Z] $ docker top 957227712da66b9c7457b46e22dcaa65511393fd954cf2afcc2d75af63e69c50 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-10T16:25:40.136Z] provisioning config files... [2020-04-10T16:25:40.149Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-481@tmp/config6838935549888725471tmp [Pipeline] { [Pipeline] echo [2020-04-10T16:25:40.233Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T16:25:40.524Z] ---> create-netrc.sh [Pipeline] echo [2020-04-10T16:25:40.532Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T16:25:40.827Z] ---> logs-deploy.sh [2020-04-10T16:25:40.827Z] + ARCHIVE_ARTIFACTS= [2020-04-10T16:25:40.827Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-10T16:25:40.827Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-10T16:25:40.827Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-10T16:25:40.827Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-481/3 [2020-04-10T16:25:40.827Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-481/3/ [2020-04-10T16:25:40.827Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-481/3 /w/workspace/dgexfoundry_device-sdk-go_PR-481 [2020-04-10T16:25:42.204Z] Archives upload complete. [2020-04-10T16:25:42.204Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-481/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-481/3/