Pull request #448 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 Loading trusted files from base branch master at 1a07617a55e4200b889676e00db141fb8b6dd4d0 rather than aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 Obtained Jenkinsfile from 1a07617a55e4200b889676e00db141fb8b6dd4d0 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-79 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [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-448 # 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/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 1a07617a55e4200b889676e00db141fb8b6dd4d0 into PR head commit aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 Merge succeeded, producing aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 Checking out Revision aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 (PR-448) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # 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/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 # 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 1a07617a55e4200b889676e00db141fb8b6dd4d0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 # timeout=10 Commit message: "Avoid updating duplicated device" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-11T09:03:13.053Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk e243a0be09b248537150e916e97b28b553ffc63a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-11T09:03:14.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-11T09:03:14.869Z] [2020-03-11T09:03:14.869Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-11T09:03:15.309Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-11T09:03:15.309Z] latest: Pulling from edgex-devops/git-semver [2020-03-11T09:03:15.309Z] 9123ac7c32f7: Pulling fs layer [2020-03-11T09:03:15.309Z] b8cc5d1170e3: Pulling fs layer [2020-03-11T09:03:15.309Z] 2924cbbf6a41: Pulling fs layer [2020-03-11T09:03:15.309Z] 93b08a4f1073: Pulling fs layer [2020-03-11T09:03:15.309Z] 93b08a4f1073: Waiting [2020-03-11T09:03:15.309Z] b8cc5d1170e3: Verifying Checksum [2020-03-11T09:03:15.309Z] b8cc5d1170e3: Download complete [2020-03-11T09:03:15.569Z] 9123ac7c32f7: Verifying Checksum [2020-03-11T09:03:15.569Z] 9123ac7c32f7: Download complete [2020-03-11T09:03:15.569Z] 93b08a4f1073: Verifying Checksum [2020-03-11T09:03:15.569Z] 93b08a4f1073: Download complete [2020-03-11T09:03:15.569Z] 2924cbbf6a41: Verifying Checksum [2020-03-11T09:03:15.569Z] 2924cbbf6a41: Download complete [2020-03-11T09:03:15.830Z] 9123ac7c32f7: Pull complete [2020-03-11T09:03:15.830Z] b8cc5d1170e3: Pull complete [2020-03-11T09:03:16.788Z] 2924cbbf6a41: Pull complete [2020-03-11T09:03:17.048Z] 93b08a4f1073: Pull complete [2020-03-11T09:03:17.048Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-11T09:03:17.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-11T09:03:17.190Z] prd-centos7-docker-4c-2g-79 does not seem to be running inside a container [2020-03-11T09:03:17.239Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-448 -v /w/workspace/dgexfoundry_device-sdk-go_PR-448:/w/workspace/dgexfoundry_device-sdk-go_PR-448:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-11T09:03:17.989Z] $ docker top a456d3ee08c2d307358ffd3c265b048418d1364436360ee7cc1f1245dd7fdebc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-11T09:03:18.263Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-11T09:03:18.263Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-11T09:03:18.508Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-11T09:03:18.508Z] $ docker exec a456d3ee08c2d307358ffd3c265b048418d1364436360ee7cc1f1245dd7fdebc ssh-agent [2020-03-11T09:03:18.729Z] SSH_AUTH_SOCK=/tmp/ssh-7qXcPRmW4VSJ/agent.15 [2020-03-11T09:03:18.729Z] SSH_AGENT_PID=22 [2020-03-11T09:03:18.738Z] Running ssh-add (command line suppressed) [2020-03-11T09:03:18.927Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_894515552027758158.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_894515552027758158.key) [2020-03-11T09:03:18.983Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-11T09:03:19.305Z] + git describe --exact-match --tags HEAD [2020-03-11T09:03:19.305Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-11T09:03:19.363Z] $ docker exec --env ******** --env ******** a456d3ee08c2d307358ffd3c265b048418d1364436360ee7cc1f1245dd7fdebc ssh-agent -k [2020-03-11T09:03:19.537Z] unset SSH_AUTH_SOCK; [2020-03-11T09:03:19.538Z] unset SSH_AGENT_PID; [2020-03-11T09:03:19.538Z] echo Agent pid 22 killed; [2020-03-11T09:03:19.598Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-11T09:03:19.668Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-11T09:03:19.669Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-11T09:03:19.760Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-11T09:03:19.760Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-11T09:03:20.007Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-11T09:03:20.013Z] $ docker exec a456d3ee08c2d307358ffd3c265b048418d1364436360ee7cc1f1245dd7fdebc ssh-agent [2020-03-11T09:03:20.333Z] SSH_AUTH_SOCK=/tmp/ssh-RIuNOOvLlZZC/agent.58 [2020-03-11T09:03:20.333Z] SSH_AGENT_PID=64 [2020-03-11T09:03:20.340Z] Running ssh-add (command line suppressed) [2020-03-11T09:03:20.498Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_550246466227293515.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_550246466227293515.key) [2020-03-11T09:03:20.558Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-11T09:03:20.881Z] + git semver init [2020-03-11T09:03:20.882Z] # -> Open(): unable to determine branch for HEAD [2020-03-11T09:03:20.882Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.git [2020-03-11T09:03:20.882Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-448 [2020-03-11T09:03:20.882Z] # $SEMVER_REMOTE_NAME = origin [2020-03-11T09:03:20.882Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-11T09:03:20.882Z] # $SEMVER_USER_NAME = jenkins [2020-03-11T09:03:20.882Z] # $SEMVER_BRANCH = PR-448 [2020-03-11T09:03:20.882Z] # $SEMVER_TEMP = /tmp/semver-358588460 [2020-03-11T09:03:20.882Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-11T09:03:21.460Z] # '/tmp/semver-358588460' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver' [2020-03-11T09:03:21.460Z] # -> Force: false [2020-03-11T09:03:21.460Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver [Pipeline] } [2020-03-11T09:03:21.467Z] $ docker exec --env ******** --env ******** a456d3ee08c2d307358ffd3c265b048418d1364436360ee7cc1f1245dd7fdebc ssh-agent -k [2020-03-11T09:03:21.671Z] unset SSH_AUTH_SOCK; [2020-03-11T09:03:21.671Z] unset SSH_AGENT_PID; [2020-03-11T09:03:21.672Z] echo Agent pid 64 killed; [2020-03-11T09:03:21.768Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-11T09:03:22.206Z] + git semver [Pipeline] } [2020-03-11T09:03:22.222Z] $ docker stop --time=1 a456d3ee08c2d307358ffd3c265b048418d1364436360ee7cc1f1245dd7fdebc [2020-03-11T09:03:23.771Z] $ docker rm -f a456d3ee08c2d307358ffd3c265b048418d1364436360ee7cc1f1245dd7fdebc [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-11T09:03:24.682Z] Stashed 31 file(s) [Pipeline] echo [2020-03-11T09:03:24.684Z] [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-11T09:03:39.926Z] Still waiting to schedule task [2020-03-11T09:03:39.926Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-03-11T09:03:39.929Z] Still waiting to schedule task [2020-03-11T09:03:39.929Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-03-11T09:05:10.610Z] Running on prd-centos7-docker-4c-2g-81 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws [2020-03-11T09:05:10.683Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2020-03-11T09:05:12.860Z] using credential edgex-jenkins-ssh [2020-03-11T09:05:12.954Z] Cloning the remote Git repository [2020-03-11T09:05:12.954Z] Cloning with configured refspecs honoured and without tags [2020-03-11T09:05:12.209Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-11T09:05:12.255Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2020-03-11T09:05:12.302Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-11T09:05:12.303Z] > git --version # timeout=10 [2020-03-11T09:05:12.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-11T09:05:13.666Z] Fetching without tags [2020-03-11T09:05:14.065Z] Merging remotes/origin/master commit 1a07617a55e4200b889676e00db141fb8b6dd4d0 into PR head commit aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 [2020-03-11T09:05:12.344Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-11T09:05:12.928Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-11T09:05:12.934Z] > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 [2020-03-11T09:05:12.938Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-11T09:05:12.947Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-11T09:05:12.959Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-11T09:05:12.960Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-11T09:05:12.965Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-11T09:05:13.395Z] > git config core.sparsecheckout # timeout=10 [2020-03-11T09:05:13.402Z] > git checkout -f aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 # timeout=10 [2020-03-11T09:05:14.153Z] Merge succeeded, producing aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 [2020-03-11T09:05:14.153Z] Checking out Revision aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 (PR-448) [2020-03-11T09:05:13.450Z] > git remote # timeout=10 [2020-03-11T09:05:13.455Z] > git config --get remote.origin.url # timeout=10 [2020-03-11T09:05:13.460Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-11T09:05:13.465Z] > git merge 1a07617a55e4200b889676e00db141fb8b6dd4d0 # timeout=10 [2020-03-11T09:05:13.473Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-11T09:05:13.485Z] > git config core.sparsecheckout # timeout=10 [2020-03-11T09:05:13.493Z] > git checkout -f aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 # timeout=10 [2020-03-11T09:05:18.004Z] Commit message: "Avoid updating duplicated device" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-11T09:05:18.808Z] ========================================================= [2020-03-11T09:05:18.808Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-11T09:05:18.808Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-11T09:05:19.457Z] + 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-11T09:05:19.718Z] Sending build context to Docker daemon 2.704MB [2020-03-11T09:05:19.718Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-11T09:05:19.718Z] Step 2/8 : FROM ${BASE} [2020-03-11T09:05:19.718Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-11T09:05:19.718Z] e6b0cf9c0882: Pulling fs layer [2020-03-11T09:05:19.718Z] 2848faf0eed1: Pulling fs layer [2020-03-11T09:05:19.718Z] 0f37312ad70f: Pulling fs layer [2020-03-11T09:05:19.718Z] 5788d62ee057: Pulling fs layer [2020-03-11T09:05:19.718Z] 0e6b1d234666: Pulling fs layer [2020-03-11T09:05:19.718Z] bf5d7aec512f: Pulling fs layer [2020-03-11T09:05:19.718Z] 34c802a77dc8: Pulling fs layer [2020-03-11T09:05:19.718Z] 9eb99e56ec68: Pulling fs layer [2020-03-11T09:05:19.718Z] 27c7a5d97fbd: Pulling fs layer [2020-03-11T09:05:19.718Z] 5c102a31e300: Pulling fs layer [2020-03-11T09:05:19.718Z] dcfb455df0a1: Pulling fs layer [2020-03-11T09:05:19.718Z] 34c802a77dc8: Waiting [2020-03-11T09:05:19.718Z] 9eb99e56ec68: Waiting [2020-03-11T09:05:19.718Z] 27c7a5d97fbd: Waiting [2020-03-11T09:05:19.718Z] dcfb455df0a1: Waiting [2020-03-11T09:05:19.718Z] 5c102a31e300: Waiting [2020-03-11T09:05:19.718Z] 0e6b1d234666: Waiting [2020-03-11T09:05:19.718Z] bf5d7aec512f: Waiting [2020-03-11T09:05:19.718Z] 0f37312ad70f: Verifying Checksum [2020-03-11T09:05:19.718Z] 0f37312ad70f: Download complete [2020-03-11T09:05:19.718Z] 2848faf0eed1: Download complete [2020-03-11T09:05:19.718Z] 0e6b1d234666: Verifying Checksum [2020-03-11T09:05:19.718Z] 0e6b1d234666: Download complete [2020-03-11T09:05:19.979Z] bf5d7aec512f: Verifying Checksum [2020-03-11T09:05:19.979Z] bf5d7aec512f: Download complete [2020-03-11T09:05:19.979Z] e6b0cf9c0882: Verifying Checksum [2020-03-11T09:05:19.979Z] e6b0cf9c0882: Download complete [2020-03-11T09:05:20.255Z] e6b0cf9c0882: Pull complete [2020-03-11T09:05:20.524Z] 2848faf0eed1: Pull complete [2020-03-11T09:05:20.789Z] 34c802a77dc8: Verifying Checksum [2020-03-11T09:05:20.789Z] 34c802a77dc8: Download complete [2020-03-11T09:05:20.789Z] 27c7a5d97fbd: Verifying Checksum [2020-03-11T09:05:20.789Z] 27c7a5d97fbd: Download complete [2020-03-11T09:05:21.359Z] 5c102a31e300: Verifying Checksum [2020-03-11T09:05:21.359Z] 5c102a31e300: Download complete [2020-03-11T09:05:21.359Z] dcfb455df0a1: Verifying Checksum [2020-03-11T09:05:21.359Z] dcfb455df0a1: Download complete [2020-03-11T09:05:21.619Z] 9eb99e56ec68: Verifying Checksum [2020-03-11T09:05:21.619Z] 9eb99e56ec68: Download complete [2020-03-11T09:05:21.619Z] 5788d62ee057: Verifying Checksum [2020-03-11T09:05:21.619Z] 5788d62ee057: Download complete [2020-03-11T09:05:22.556Z] 0f37312ad70f: Pull complete [2020-03-11T09:05:29.134Z] 5788d62ee057: Pull complete [2020-03-11T09:05:29.134Z] 0e6b1d234666: Pull complete [2020-03-11T09:05:29.134Z] bf5d7aec512f: Pull complete [2020-03-11T09:05:34.426Z] 34c802a77dc8: Pull complete [2020-03-11T09:05:36.992Z] 9eb99e56ec68: Pull complete [2020-03-11T09:05:37.254Z] 27c7a5d97fbd: Pull complete [2020-03-11T09:05:38.208Z] 5c102a31e300: Pull complete [2020-03-11T09:05:38.208Z] dcfb455df0a1: Pull complete [2020-03-11T09:05:38.208Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-11T09:05:38.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-11T09:05:38.208Z] ---> 7c70fe431013 [2020-03-11T09:05:38.208Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-11T09:05:38.470Z] ---> Running in f8c51930f7bf [2020-03-11T09:05:38.470Z] Removing intermediate container f8c51930f7bf [2020-03-11T09:05:38.470Z] ---> 06b4e595b712 [2020-03-11T09:05:38.470Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-11T09:05:38.470Z] ---> Running in a8cca830a764 [2020-03-11T09:05:39.411Z] Removing intermediate container a8cca830a764 [2020-03-11T09:05:39.411Z] ---> 79d7309be7a9 [2020-03-11T09:05:39.411Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-11T09:05:39.411Z] ---> Running in 360d122fa2e3 [2020-03-11T09:05:39.982Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-11T09:05:40.548Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-11T09:05:40.806Z] OK: 143 MiB in 39 packages [2020-03-11T09:05:41.375Z] Removing intermediate container 360d122fa2e3 [2020-03-11T09:05:41.375Z] ---> 77961599523a [2020-03-11T09:05:41.375Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-11T09:05:41.375Z] ---> Running in fb1771de1d13 [2020-03-11T09:05:41.375Z] Removing intermediate container fb1771de1d13 [2020-03-11T09:05:41.375Z] ---> 0feff45170fe [2020-03-11T09:05:41.375Z] Step 7/8 : COPY . . [2020-03-11T09:05:41.945Z] ---> 8c75043df362 [2020-03-11T09:05:41.945Z] Step 8/8 : RUN go mod download [2020-03-11T09:05:41.945Z] ---> Running in 5dfd73f5369a [2020-03-11T09:05:43.854Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-11T09:05:43.854Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-11T09:05:43.854Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-11T09:05:43.854Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-11T09:05:43.854Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-11T09:05:43.854Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-11T09:05:43.854Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-11T09:05:43.854Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-11T09:05:43.854Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-11T09:05:43.854Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-11T09:05:43.854Z] go: finding github.com/fatih/color v1.7.0 [2020-03-11T09:05:44.113Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-11T09:05:44.113Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-11T09:05:44.113Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-11T09:05:44.113Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-11T09:05:44.113Z] go: finding github.com/google/uuid v1.1.0 [2020-03-11T09:05:44.113Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-11T09:05:44.113Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-11T09:05:44.113Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-11T09:05:44.113Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-11T09:05:44.113Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-11T09:05:44.113Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-11T09:05:44.113Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-11T09:05:44.113Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-11T09:05:44.113Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-11T09:05:44.113Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-11T09:05:44.113Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-11T09:05:44.113Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-11T09:05:44.113Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-11T09:05:44.113Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-11T09:05:44.113Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-11T09:05:44.113Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-11T09:05:44.113Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-11T09:05:44.113Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-11T09:05:44.113Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-11T09:05:44.113Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-11T09:05:44.113Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-11T09:05:44.113Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-11T09:05:44.113Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-11T09:05:44.113Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-11T09:05:44.113Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-11T09:05:44.113Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-11T09:05:44.113Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-11T09:05:44.113Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-11T09:05:44.113Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-11T09:05:44.113Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-11T09:05:44.373Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-11T09:05:44.373Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-11T09:05:44.373Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-11T09:05:44.373Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-11T09:05:44.373Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-11T09:05:44.373Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-11T09:05:44.373Z] go: finding github.com/posener/complete v1.1.1 [2020-03-11T09:05:44.373Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-11T09:05:44.373Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-11T09:05:44.373Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-11T09:05:44.373Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-11T09:05:44.373Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-11T09:05:44.373Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-11T09:05:44.373Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-11T09:05:44.373Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-11T09:05:44.373Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-11T09:05:44.373Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-11T09:05:44.373Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-11T09:05:52.529Z] Removing intermediate container 5dfd73f5369a [2020-03-11T09:05:52.529Z] ---> 9daef0a6fa85 [2020-03-11T09:05:52.529Z] Successfully built 9daef0a6fa85 [2020-03-11T09:05:52.529Z] 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-11T09:05:53.290Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-11T09:05:53.290Z] . [Pipeline] withDockerContainer [2020-03-11T09:05:53.412Z] prd-centos7-docker-4c-2g-81 does not seem to be running inside a container [2020-03-11T09:05:53.450Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-03-11T09:05:54.156Z] $ docker top 9c19998928dee001ba12788a9796648c5debcccc0719f35aa22303719687acaf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-11T09:05:54.652Z] + go version [2020-03-11T09:05:54.652Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-11T09:05:54.962Z] + make test [2020-03-11T09:05:54.962Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-11T09:06:13.125Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-11T09:06:13.126Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-11T09:06:13.126Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-11T09:06:13.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-03-11T09:06:13.126Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.010s coverage: 23.1% of statements [2020-03-11T09:06:13.126Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.049s coverage: 95.8% of statements [2020-03-11T09:06:15.689Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.062s coverage: 12.7% of statements [2020-03-11T09:06:15.689Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 25.6% of statements [2020-03-11T09:06:42.486Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-82 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws [2020-03-11T09:06:42.528Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2020-03-11T09:06:47.868Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.027s coverage: 30.0% of statements [2020-03-11T09:06:47.868Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.244s coverage: 40.6% of statements [2020-03-11T09:06:47.868Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-11T09:06:47.868Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-11T09:06:47.868Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.304s coverage: 67.7% of statements [2020-03-11T09:06:47.868Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-11T09:06:47.868Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-11T09:06:47.868Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-11T09:06:47.868Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.016s coverage: 52.6% of statements [2020-03-11T09:06:47.868Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.105s coverage: 76.1% of statements [2020-03-11T09:06:47.868Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-11T09:06:47.868Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-11T09:06:47.868Z] gofmt -l . [2020-03-11T09:06:47.868Z] [ "`gofmt -l .`" = "" ] [2020-03-11T09:06:47.868Z] ./bin/test-attribution-txt.sh [2020-03-11T09:06:47.868Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-11T09:06:48.264Z] Stashed 1 file(s) [Pipeline] } [2020-03-11T09:06:48.265Z] $ docker stop --time=1 9c19998928dee001ba12788a9796648c5debcccc0719f35aa22303719687acaf [2020-03-11T09:06:48.433Z] using credential edgex-jenkins-ssh [2020-03-11T09:06:48.489Z] Cloning the remote Git repository [2020-03-11T09:06:48.489Z] Cloning with configured refspecs honoured and without tags [2020-03-11T09:06:48.564Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-11T09:06:48.663Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2020-03-11T09:06:48.762Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-11T09:06:48.763Z] > git --version # timeout=10 [2020-03-11T09:06:48.805Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-11T09:06:48.876Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-11T09:06:49.795Z] $ docker rm -f 9c19998928dee001ba12788a9796648c5debcccc0719f35aa22303719687acaf [2020-03-11T09:06:49.894Z] Fetching without tags [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-03-11T09:06:49.781Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-11T09:06:49.818Z] > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 [2020-03-11T09:06:49.840Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-11T09:06:49.865Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-11T09:06:49.904Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-11T09:06:49.905Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-11T09:06:49.939Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 [Pipeline] script [Pipeline] { [2020-03-11T09:06:50.425Z] Merging remotes/origin/master commit 1a07617a55e4200b889676e00db141fb8b6dd4d0 into PR head commit aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 [2020-03-11T09:06:50.701Z] Merge succeeded, producing aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 [2020-03-11T09:06:50.702Z] Checking out Revision aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 (PR-448) [Pipeline] sh [2020-03-11T09:06:51.095Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-11T09:06:51.386Z] + ls -al . [2020-03-11T09:06:51.386Z] total 204 [2020-03-11T09:06:51.386Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 11 09:06 . [2020-03-11T09:06:51.386Z] drwxrwxr-x. 4 jenkins jenkins 30 Mar 11 09:05 .. [2020-03-11T09:06:51.386Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 11 09:05 api [2020-03-11T09:06:51.386Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 11 09:05 async.go [2020-03-11T09:06:51.386Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 11 09:05 bin [2020-03-11T09:06:51.386Z] -rw-r--r--. 1 jenkins jenkins 103450 Mar 11 09:06 coverage.out [2020-03-11T09:06:51.386Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 11 09:05 Dockerfile.build [2020-03-11T09:06:51.386Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 11 09:05 .dockerignore [2020-03-11T09:06:51.386Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 11 09:05 example [2020-03-11T09:06:51.386Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 11 09:05 .git [2020-03-11T09:06:51.386Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 11 09:05 .github [2020-03-11T09:06:51.386Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 11 09:05 .gitignore [2020-03-11T09:06:51.386Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 11 09:06 go.mod [2020-03-11T09:06:51.386Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 11 09:06 go.sum [2020-03-11T09:06:51.386Z] drwxrwxr-x. 14 jenkins jenkins 197 Mar 11 09:05 internal [2020-03-11T09:06:51.386Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 11 09:05 Jenkinsfile [2020-03-11T09:06:51.386Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 11 09:05 LICENSE [2020-03-11T09:06:51.386Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 11 09:05 Makefile [2020-03-11T09:06:51.386Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 11 09:05 manageddevices.go [2020-03-11T09:06:51.386Z] -rw-rw-r--. 1 jenkins jenkins 5473 Mar 11 09:05 managedprofiles.go [2020-03-11T09:06:51.386Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 11 09:05 managedwatchers.go [2020-03-11T09:06:51.386Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 11 09:05 pkg [2020-03-11T09:06:51.386Z] -rw-rw-r--. 1 jenkins jenkins 761 Mar 11 09:05 README.md [2020-03-11T09:06:51.386Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 11 09:05 .semver [2020-03-11T09:06:51.386Z] -rw-rw-r--. 1 jenkins jenkins 10309 Mar 11 09:05 service.go [2020-03-11T09:06:51.386Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 11 09:05 snap [2020-03-11T09:06:51.386Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 11 09:03 VERSION [2020-03-11T09:06:51.386Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 11 09:05 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-11T09:06:50.445Z] > git config core.sparsecheckout # timeout=10 [2020-03-11T09:06:50.474Z] > git checkout -f aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 # timeout=10 [2020-03-11T09:06:50.588Z] > git remote # timeout=10 [2020-03-11T09:06:50.608Z] > git config --get remote.origin.url # timeout=10 [2020-03-11T09:06:50.639Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-11T09:06:50.650Z] > git merge 1a07617a55e4200b889676e00db141fb8b6dd4d0 # timeout=10 [2020-03-11T09:06:50.677Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-11T09:06:50.708Z] > git config core.sparsecheckout # timeout=10 [2020-03-11T09:06:50.738Z] > git checkout -f aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 # timeout=10 [2020-03-11T09:06:51.689Z] + 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=aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 --label arch=amd64 --label version=0.0.0 . [2020-03-11T09:06:51.951Z] Sending build context to Docker daemon 2.834MB [2020-03-11T09:06:51.951Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-11T09:06:51.951Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-11T09:06:51.951Z] ---> 9daef0a6fa85 [2020-03-11T09:06:51.951Z] Step 3/20 : ARG MAKE='make build' [2020-03-11T09:06:51.951Z] ---> Running in afe6cd59b1af [2020-03-11T09:06:51.951Z] Removing intermediate container afe6cd59b1af [2020-03-11T09:06:51.951Z] ---> 71112e0eedb6 [2020-03-11T09:06:51.951Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-11T09:06:51.951Z] ---> Running in 72635dec4b9f [2020-03-11T09:06:52.211Z] Removing intermediate container 72635dec4b9f [2020-03-11T09:06:52.211Z] ---> ffedde8be0e4 [2020-03-11T09:06:52.211Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-11T09:06:52.211Z] ---> Running in fc61e3918bf1 [2020-03-11T09:06:52.473Z] Removing intermediate container fc61e3918bf1 [2020-03-11T09:06:52.473Z] ---> 3d343360054c [2020-03-11T09:06:52.473Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-11T09:06:52.473Z] ---> Running in 4082b23bf7a8 [2020-03-11T09:06:53.057Z] Removing intermediate container 4082b23bf7a8 [2020-03-11T09:06:53.057Z] ---> 32d72b1dfcfb [2020-03-11T09:06:53.057Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-11T09:06:53.057Z] ---> Running in 7a0371ec32b8 [2020-03-11T09:06:53.628Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-11T09:06:54.195Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-11T09:06:54.454Z] OK: 143 MiB in 39 packages [2020-03-11T09:06:54.713Z] Removing intermediate container 7a0371ec32b8 [2020-03-11T09:06:54.713Z] ---> cac1b4a790a2 [2020-03-11T09:06:54.713Z] Step 8/20 : COPY . . [2020-03-11T09:06:55.284Z] ---> cc930b4311b5 [2020-03-11T09:06:55.284Z] Step 9/20 : RUN ${MAKE} [2020-03-11T09:06:55.284Z] ---> Running in 6e9f3375dc91 [2020-03-11T09:06:55.303Z] Commit message: "Avoid updating duplicated device" [2020-03-11T09:06:55.551Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-11T09:06:56.958Z] ========================================================= [2020-03-11T09:06:56.958Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-11T09:06:56.958Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-11T09:06:58.059Z] + 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-11T09:06:59.084Z] Sending build context to Docker daemon 2.702MB [2020-03-11T09:06:59.084Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-11T09:06:59.084Z] Step 2/8 : FROM ${BASE} [2020-03-11T09:06:59.357Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-11T09:06:59.357Z] cde5963f3b93: Pulling fs layer [2020-03-11T09:06:59.357Z] 2a23fa8c16f7: Pulling fs layer [2020-03-11T09:06:59.357Z] 777b28850792: Pulling fs layer [2020-03-11T09:06:59.357Z] 8a11ddd9e578: Pulling fs layer [2020-03-11T09:06:59.357Z] 4cf88f913ddb: Pulling fs layer [2020-03-11T09:06:59.357Z] 1df406cf5192: Pulling fs layer [2020-03-11T09:06:59.357Z] cd6300453558: Pulling fs layer [2020-03-11T09:06:59.357Z] b9c365052c96: Pulling fs layer [2020-03-11T09:06:59.357Z] a2d8cc88f415: Pulling fs layer [2020-03-11T09:06:59.357Z] ea1d1ca13537: Pulling fs layer [2020-03-11T09:06:59.357Z] 3750a50a1c5e: Pulling fs layer [2020-03-11T09:06:59.357Z] 4cf88f913ddb: Waiting [2020-03-11T09:06:59.357Z] 1df406cf5192: Waiting [2020-03-11T09:06:59.357Z] cd6300453558: Waiting [2020-03-11T09:06:59.357Z] b9c365052c96: Waiting [2020-03-11T09:06:59.357Z] a2d8cc88f415: Waiting [2020-03-11T09:06:59.357Z] ea1d1ca13537: Waiting [2020-03-11T09:06:59.357Z] 3750a50a1c5e: Waiting [2020-03-11T09:06:59.357Z] 8a11ddd9e578: Waiting [2020-03-11T09:06:59.357Z] 777b28850792: Verifying Checksum [2020-03-11T09:06:59.357Z] 777b28850792: Download complete [2020-03-11T09:06:59.633Z] 2a23fa8c16f7: Download complete [2020-03-11T09:06:59.633Z] 4cf88f913ddb: Verifying Checksum [2020-03-11T09:06:59.633Z] 4cf88f913ddb: Download complete [2020-03-11T09:06:59.633Z] 1df406cf5192: Verifying Checksum [2020-03-11T09:06:59.633Z] 1df406cf5192: Download complete [2020-03-11T09:06:59.633Z] cde5963f3b93: Verifying Checksum [2020-03-11T09:06:59.633Z] cde5963f3b93: Download complete [2020-03-11T09:07:00.632Z] cde5963f3b93: Pull complete [2020-03-11T09:07:01.254Z] 2a23fa8c16f7: Pull complete [2020-03-11T09:07:01.526Z] 777b28850792: Pull complete [2020-03-11T09:07:04.195Z] cd6300453558: Verifying Checksum [2020-03-11T09:07:04.195Z] cd6300453558: Download complete [2020-03-11T09:07:04.195Z] a2d8cc88f415: Verifying Checksum [2020-03-11T09:07:04.195Z] a2d8cc88f415: Download complete [2020-03-11T09:07:07.618Z] ea1d1ca13537: Verifying Checksum [2020-03-11T09:07:07.618Z] ea1d1ca13537: Download complete [2020-03-11T09:07:07.618Z] 3750a50a1c5e: Verifying Checksum [2020-03-11T09:07:07.618Z] 3750a50a1c5e: Download complete [2020-03-11T09:07:10.268Z] b9c365052c96: Verifying Checksum [2020-03-11T09:07:10.268Z] b9c365052c96: Download complete [2020-03-11T09:07:10.617Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-11T09:07:12.248Z] 8a11ddd9e578: Verifying Checksum [2020-03-11T09:07:12.248Z] 8a11ddd9e578: Download complete [2020-03-11T09:07:14.898Z] Removing intermediate container 6e9f3375dc91 [2020-03-11T09:07:14.898Z] ---> fbe2861b7f47 [2020-03-11T09:07:14.898Z] Step 10/20 : FROM scratch [2020-03-11T09:07:14.898Z] ---> [2020-03-11T09:07:14.898Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-11T09:07:14.898Z] ---> Running in 57bac19e9e2f [2020-03-11T09:07:14.898Z] Removing intermediate container 57bac19e9e2f [2020-03-11T09:07:14.898Z] ---> fb5f02dca51a [2020-03-11T09:07:14.898Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-11T09:07:14.898Z] ---> Running in 40ea3ec710f0 [2020-03-11T09:07:14.898Z] Removing intermediate container 40ea3ec710f0 [2020-03-11T09:07:14.898Z] ---> d250c8a8a3e5 [2020-03-11T09:07:14.898Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-11T09:07:14.898Z] ---> Running in 7d78649dea45 [2020-03-11T09:07:15.158Z] Removing intermediate container 7d78649dea45 [2020-03-11T09:07:15.158Z] ---> 5755ff15b611 [2020-03-11T09:07:15.158Z] Step 14/20 : WORKDIR / [2020-03-11T09:07:15.158Z] ---> Running in 90ff9004c28b [2020-03-11T09:07:15.420Z] Removing intermediate container 90ff9004c28b [2020-03-11T09:07:15.420Z] ---> d005e4d97ad1 [2020-03-11T09:07:15.420Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-11T09:07:16.002Z] ---> 0cf0d7f6dc7a [2020-03-11T09:07:16.002Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-11T09:07:16.002Z] ---> 16c8a9349a2b [2020-03-11T09:07:16.002Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-11T09:07:16.002Z] ---> Running in 571cc17207fb [2020-03-11T09:07:16.267Z] Removing intermediate container 571cc17207fb [2020-03-11T09:07:16.267Z] ---> 8b42d17f60a7 [2020-03-11T09:07:16.267Z] Step 18/20 : LABEL arch=amd64 [2020-03-11T09:07:16.267Z] ---> Running in 750e38426c5e [2020-03-11T09:07:16.267Z] Removing intermediate container 750e38426c5e [2020-03-11T09:07:16.267Z] ---> 0edf47c851c4 [2020-03-11T09:07:16.267Z] Step 19/20 : LABEL git_sha=aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 [2020-03-11T09:07:16.549Z] ---> Running in 3a8f8aae2b57 [2020-03-11T09:07:16.549Z] Removing intermediate container 3a8f8aae2b57 [2020-03-11T09:07:16.549Z] ---> 4c007e228c03 [2020-03-11T09:07:16.549Z] Step 20/20 : LABEL version=0.0.0 [2020-03-11T09:07:16.549Z] ---> Running in 3737caa1301b [2020-03-11T09:07:16.812Z] Removing intermediate container 3737caa1301b [2020-03-11T09:07:16.812Z] ---> f253f819b723 [2020-03-11T09:07:16.812Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-11T09:07:16.812Z] Successfully built f253f819b723 [2020-03-11T09:07:16.812Z] 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-11T09:07:24.692Z] 8a11ddd9e578: Pull complete [2020-03-11T09:07:24.692Z] 4cf88f913ddb: Pull complete [2020-03-11T09:07:24.692Z] 1df406cf5192: Pull complete [2020-03-11T09:07:28.072Z] cd6300453558: Pull complete [2020-03-11T09:07:33.447Z] b9c365052c96: Pull complete [2020-03-11T09:07:33.447Z] a2d8cc88f415: Pull complete [2020-03-11T09:07:35.447Z] ea1d1ca13537: Pull complete [2020-03-11T09:07:35.447Z] 3750a50a1c5e: Pull complete [2020-03-11T09:07:35.447Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-11T09:07:35.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-11T09:07:35.721Z] ---> 78745c68409d [2020-03-11T09:07:35.721Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-11T09:07:40.015Z] ---> Running in 98873e900d4e [2020-03-11T09:07:40.603Z] Removing intermediate container 98873e900d4e [2020-03-11T09:07:40.603Z] ---> a38db72471c0 [2020-03-11T09:07:40.603Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-11T09:07:40.603Z] ---> Running in 71d02b36a686 [2020-03-11T09:07:43.205Z] Removing intermediate container 71d02b36a686 [2020-03-11T09:07:43.205Z] ---> d777282bde57 [2020-03-11T09:07:43.205Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-11T09:07:43.205Z] ---> Running in 98af554b890a [2020-03-11T09:07:43.793Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-11T09:07:44.764Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-11T09:07:45.035Z] OK: 125 MiB in 39 packages [2020-03-11T09:07:46.458Z] Removing intermediate container 98af554b890a [2020-03-11T09:07:46.458Z] ---> 9b67e305cbcd [2020-03-11T09:07:46.458Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-11T09:07:46.458Z] ---> Running in 74d52fac0446 [2020-03-11T09:07:46.732Z] Removing intermediate container 74d52fac0446 [2020-03-11T09:07:46.733Z] ---> 4ab35f642423 [2020-03-11T09:07:46.733Z] Step 7/8 : COPY . . [2020-03-11T09:07:48.158Z] ---> 4996fcd270cf [2020-03-11T09:07:48.158Z] Step 8/8 : RUN go mod download [2020-03-11T09:07:48.158Z] ---> Running in 52b5689779f8 [2020-03-11T09:07:50.114Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-11T09:07:50.114Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-11T09:07:50.114Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-11T09:07:50.114Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-11T09:07:50.114Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-11T09:07:50.114Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-11T09:07:50.114Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-11T09:07:50.114Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-11T09:07:50.114Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-11T09:07:50.114Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-11T09:07:50.114Z] go: finding github.com/fatih/color v1.7.0 [2020-03-11T09:07:50.114Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-11T09:07:50.114Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-11T09:07:50.384Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-11T09:07:50.384Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-11T09:07:50.384Z] go: finding github.com/google/uuid v1.1.0 [2020-03-11T09:07:50.384Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-11T09:07:50.384Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-11T09:07:50.384Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-11T09:07:50.384Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-11T09:07:50.384Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-11T09:07:50.384Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-11T09:07:50.384Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-11T09:07:50.384Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-11T09:07:50.384Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-11T09:07:50.384Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-11T09:07:50.384Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-11T09:07:50.384Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-11T09:07:50.384Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-11T09:07:50.384Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-11T09:07:50.384Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-11T09:07:50.384Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-11T09:07:50.384Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-11T09:07:50.384Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-11T09:07:50.384Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-11T09:07:50.384Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-11T09:07:50.384Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-11T09:07:50.384Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-11T09:07:50.653Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-11T09:07:50.653Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-11T09:07:50.653Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-11T09:07:50.653Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-11T09:07:50.653Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-11T09:07:50.653Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-11T09:07:50.653Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-11T09:07:50.653Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-11T09:07:50.653Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-11T09:07:50.653Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-11T09:07:50.653Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-11T09:07:50.653Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-11T09:07:50.653Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-11T09:07:50.653Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-11T09:07:50.653Z] go: finding github.com/posener/complete v1.1.1 [2020-03-11T09:07:50.653Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-11T09:07:50.653Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-11T09:07:50.653Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-11T09:07:50.653Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-11T09:07:50.653Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-11T09:07:50.653Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-11T09:07:50.924Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-11T09:07:50.924Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-11T09:07:50.924Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-11T09:07:50.924Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-11T09:07:51.201Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-11T09:08:09.483Z] Removing intermediate container 52b5689779f8 [2020-03-11T09:08:09.483Z] ---> d431dc6b5e2a [2020-03-11T09:08:09.483Z] Successfully built d431dc6b5e2a [2020-03-11T09:08:09.483Z] 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-11T09:08:10.195Z] + docker inspect -f . ci-base-image-arm64 [2020-03-11T09:08:10.466Z] . [Pipeline] withDockerContainer [2020-03-11T09:08:10.868Z] prd-ubuntu18.04-docker-arm64-4c-16g-82 does not seem to be running inside a container [2020-03-11T09:08:11.019Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-03-11T09:08:12.659Z] $ docker top 17bd0616cfac97e68b1cd4b10374c52a7060f0cafdafc8332f1ccc22c0074475 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-11T09:08:13.793Z] + go version [2020-03-11T09:08:13.793Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-11T09:08:14.511Z] + make test [2020-03-11T09:08:14.511Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-11T09:09:01.528Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-11T09:09:01.528Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-11T09:09:01.528Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-11T09:09:01.528Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-03-11T09:09:01.528Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.022s coverage: 23.1% of statements [2020-03-11T09:09:01.528Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.152s coverage: 95.8% of statements [2020-03-11T09:09:01.528Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.082s coverage: 12.7% of statements [2020-03-11T09:09:01.528Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.027s coverage: 25.6% of statements [2020-03-11T09:09:33.925Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.040s coverage: 30.0% of statements [2020-03-11T09:09:33.925Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.604s coverage: 40.6% of statements [2020-03-11T09:09:33.925Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-11T09:09:33.925Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-11T09:09:33.925Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.789s coverage: 67.7% of statements [2020-03-11T09:09:33.925Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-11T09:09:33.925Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-11T09:09:33.925Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-11T09:09:33.925Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.048s coverage: 52.6% of statements [2020-03-11T09:09:33.925Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.369s coverage: 76.1% of statements [2020-03-11T09:09:33.925Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-11T09:09:34.200Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-11T09:09:42.457Z] gofmt -l . [2020-03-11T09:09:43.046Z] [ "`gofmt -l .`" = "" ] [2020-03-11T09:09:43.315Z] ./bin/test-attribution-txt.sh [2020-03-11T09:09:43.901Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-11T09:09:44.605Z] Warning: overwriting stash ‘coverage-report’ [2020-03-11T09:09:45.189Z] Stashed 1 file(s) [Pipeline] } [2020-03-11T09:09:45.202Z] $ docker stop --time=1 17bd0616cfac97e68b1cd4b10374c52a7060f0cafdafc8332f1ccc22c0074475 [2020-03-11T09:09:47.432Z] $ docker rm -f 17bd0616cfac97e68b1cd4b10374c52a7060f0cafdafc8332f1ccc22c0074475 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-11T09:09:48.712Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-11T09:09:49.046Z] + ls -al . [2020-03-11T09:09:49.046Z] total 244 [2020-03-11T09:09:49.046Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 11 09:09 . [2020-03-11T09:09:49.046Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 09:06 .. [2020-03-11T09:09:49.046Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 11 09:06 .dockerignore [2020-03-11T09:09:49.046Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 09:06 .git [2020-03-11T09:09:49.046Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 09:06 .github [2020-03-11T09:09:49.046Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 11 09:06 .gitignore [2020-03-11T09:09:49.046Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 09:06 .semver [2020-03-11T09:09:49.046Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 11 09:06 Dockerfile.build [2020-03-11T09:09:49.046Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 11 09:06 Jenkinsfile [2020-03-11T09:09:49.046Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 11 09:06 LICENSE [2020-03-11T09:09:49.046Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 11 09:06 Makefile [2020-03-11T09:09:49.046Z] -rw-rw-r-- 1 jenkins jenkins 761 Mar 11 09:06 README.md [2020-03-11T09:09:49.046Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 09:03 VERSION [2020-03-11T09:09:49.046Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 09:06 api [2020-03-11T09:09:49.046Z] -rw-rw-r-- 1 jenkins jenkins 3321 Mar 11 09:06 async.go [2020-03-11T09:09:49.046Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 09:06 bin [2020-03-11T09:09:49.046Z] -rw-r--r-- 1 jenkins jenkins 103450 Mar 11 09:09 coverage.out [2020-03-11T09:09:49.046Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 09:06 example [2020-03-11T09:09:49.046Z] -rw-r--r-- 1 jenkins jenkins 536 Mar 11 09:09 go.mod [2020-03-11T09:09:49.046Z] -rw-r--r-- 1 jenkins jenkins 11140 Mar 11 09:09 go.sum [2020-03-11T09:09:49.046Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 11 09:06 internal [2020-03-11T09:09:49.046Z] -rw-rw-r-- 1 jenkins jenkins 4352 Mar 11 09:06 manageddevices.go [2020-03-11T09:09:49.046Z] -rw-rw-r-- 1 jenkins jenkins 5473 Mar 11 09:06 managedprofiles.go [2020-03-11T09:09:49.046Z] -rw-rw-r-- 1 jenkins jenkins 3878 Mar 11 09:06 managedwatchers.go [2020-03-11T09:09:49.046Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 09:06 pkg [2020-03-11T09:09:49.046Z] -rw-rw-r-- 1 jenkins jenkins 10309 Mar 11 09:06 service.go [2020-03-11T09:09:49.046Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 09:06 snap [2020-03-11T09:09:49.046Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 11 09:06 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-11T09:09:49.390Z] + 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=aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 --label arch=arm64 --label version=0.0.0 . [2020-03-11T09:09:49.978Z] Sending build context to Docker daemon 2.832MB [2020-03-11T09:09:49.978Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-11T09:09:49.978Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-11T09:09:49.978Z] ---> d431dc6b5e2a [2020-03-11T09:09:49.978Z] Step 3/20 : ARG MAKE='make build' [2020-03-11T09:09:50.246Z] ---> Running in c1570efed680 [2020-03-11T09:09:50.514Z] Removing intermediate container c1570efed680 [2020-03-11T09:09:50.514Z] ---> 750c4bcc83d8 [2020-03-11T09:09:50.514Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-11T09:09:50.816Z] ---> Running in 3c3d2dcc116c [2020-03-11T09:09:51.128Z] Removing intermediate container 3c3d2dcc116c [2020-03-11T09:09:51.128Z] ---> 284e5cf92d3c [2020-03-11T09:09:51.128Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-11T09:09:51.405Z] ---> Running in 90c35334a973 [2020-03-11T09:09:51.685Z] Removing intermediate container 90c35334a973 [2020-03-11T09:09:51.685Z] ---> d7aa1dbac034 [2020-03-11T09:09:51.685Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-11T09:09:51.966Z] ---> Running in 2733ae2ecc75 [2020-03-11T09:09:53.947Z] Removing intermediate container 2733ae2ecc75 [2020-03-11T09:09:53.947Z] ---> 9e9a10a6e467 [2020-03-11T09:09:53.947Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-11T09:09:54.218Z] ---> Running in 2e9ca23c6d76 [2020-03-11T09:09:55.187Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-11T09:09:55.777Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-11T09:09:56.366Z] OK: 125 MiB in 39 packages [2020-03-11T09:09:57.336Z] Removing intermediate container 2e9ca23c6d76 [2020-03-11T09:09:57.336Z] ---> 0d1d67e4973f [2020-03-11T09:09:57.336Z] Step 8/20 : COPY . . [2020-03-11T09:09:58.755Z] ---> 832e76adf21a [2020-03-11T09:09:58.755Z] Step 9/20 : RUN ${MAKE} [2020-03-11T09:09:58.755Z] ---> Running in 26afb802221b [2020-03-11T09:09:59.721Z] 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-11T09:10:38.683Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-11T09:10:55.480Z] Removing intermediate container 26afb802221b [2020-03-11T09:10:55.480Z] ---> 5e10dd472157 [2020-03-11T09:10:55.480Z] Step 10/20 : FROM scratch [2020-03-11T09:10:55.480Z] ---> [2020-03-11T09:10:55.480Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-11T09:10:55.480Z] ---> Running in bbeb73bc0e57 [2020-03-11T09:10:55.480Z] Removing intermediate container bbeb73bc0e57 [2020-03-11T09:10:55.480Z] ---> 15a344b8c4d8 [2020-03-11T09:10:55.480Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-11T09:10:55.480Z] ---> Running in 394f40f7a870 [2020-03-11T09:10:55.480Z] Removing intermediate container 394f40f7a870 [2020-03-11T09:10:55.480Z] ---> a86cae054f50 [2020-03-11T09:10:55.480Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-11T09:10:55.480Z] ---> Running in 72fdf46effbb [2020-03-11T09:10:55.749Z] Removing intermediate container 72fdf46effbb [2020-03-11T09:10:55.749Z] ---> c264f609f416 [2020-03-11T09:10:55.749Z] Step 14/20 : WORKDIR / [2020-03-11T09:10:55.749Z] ---> Running in 5e5bd4aef4f9 [2020-03-11T09:10:56.344Z] Removing intermediate container 5e5bd4aef4f9 [2020-03-11T09:10:56.344Z] ---> dc39ce1d0bf4 [2020-03-11T09:10:56.344Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-11T09:10:57.765Z] ---> 18859a163f42 [2020-03-11T09:10:57.765Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-11T09:10:58.355Z] ---> c91447906cf2 [2020-03-11T09:10:58.355Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-11T09:10:58.355Z] ---> Running in 2e722ba62d60 [2020-03-11T09:10:58.626Z] Removing intermediate container 2e722ba62d60 [2020-03-11T09:10:58.626Z] ---> b7479fbf5217 [2020-03-11T09:10:58.626Z] Step 18/20 : LABEL arch=arm64 [2020-03-11T09:10:58.894Z] ---> Running in 406854e1a885 [2020-03-11T09:10:59.164Z] Removing intermediate container 406854e1a885 [2020-03-11T09:10:59.164Z] ---> 26813c77b868 [2020-03-11T09:10:59.164Z] Step 19/20 : LABEL git_sha=aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 [2020-03-11T09:10:59.436Z] ---> Running in 85721d5d5680 [2020-03-11T09:10:59.705Z] Removing intermediate container 85721d5d5680 [2020-03-11T09:10:59.705Z] ---> c047a8cdbb17 [2020-03-11T09:10:59.705Z] Step 20/20 : LABEL version=0.0.0 [2020-03-11T09:10:59.976Z] ---> Running in ceb91b9124ce [2020-03-11T09:11:00.246Z] Removing intermediate container ceb91b9124ce [2020-03-11T09:11:00.246Z] ---> 9148f502bb53 [2020-03-11T09:11:00.246Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-11T09:11:00.518Z] Successfully built 9148f502bb53 [2020-03-11T09:11:00.518Z] 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-11T09:11:01.571Z] provisioning config files... [2020-03-11T09:11:01.584Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config943609004518612162tmp [Pipeline] { [Pipeline] sh [2020-03-11T09:11:01.942Z] + curl -s https://codecov.io/bash [2020-03-11T09:11:01.942Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config943609004518612162tmp [2020-03-11T09:11:02.208Z] [2020-03-11T09:11:02.208Z] _____ _ [2020-03-11T09:11:02.208Z] / ____| | | [2020-03-11T09:11:02.208Z] | | ___ __| | ___ ___ _____ __ [2020-03-11T09:11:02.208Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-11T09:11:02.208Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-11T09:11:02.208Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-11T09:11:02.208Z] Bash-20200303-bc4d7e6 [2020-03-11T09:11:02.208Z] [2020-03-11T09:11:02.208Z] [2020-03-11T09:11:02.208Z] ==> Jenkins CI detected. [2020-03-11T09:11:02.208Z] project root: . [2020-03-11T09:11:02.208Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-11T09:11:02.208Z] ==> Running gcov in . (disable via -X gcov) [2020-03-11T09:11:02.208Z] ==> Python coveragepy not found [2020-03-11T09:11:02.208Z] ==> Searching for coverage reports in: [2020-03-11T09:11:02.208Z] + . [2020-03-11T09:11:02.208Z] -> Found 1 reports [2020-03-11T09:11:02.208Z] ==> Detecting git/mercurial file structure [2020-03-11T09:11:02.208Z] ==> Reading reports [2020-03-11T09:11:02.208Z] + ./coverage.out bytes=103450 [2020-03-11T09:11:02.208Z] ==> Appending adjustments [2020-03-11T09:11:02.208Z] http://docs.codecov.io/docs/fixing-reports [2020-03-11T09:11:02.777Z] + Found adjustments [2020-03-11T09:11:02.777Z] ==> Gzipping contents [2020-03-11T09:11:02.777Z] ==> Uploading reports [2020-03-11T09:11:02.777Z] url: https://codecov.io [2020-03-11T09:11:02.777Z] query: branch=PR-448&commit=aca5cfd749fd2f7960c4bd8fa1b537f462fe3212&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-448%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=448&job= [2020-03-11T09:11:02.777Z] -> Pinging Codecov [2020-03-11T09:11:02.777Z] https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=PR-448&commit=aca5cfd749fd2f7960c4bd8fa1b537f462fe3212&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-448%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=448&job= [2020-03-11T09:11:03.036Z] -> Uploading [2020-03-11T09:11:03.604Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/aca5cfd749fd2f7960c4bd8fa1b537f462fe3212 [Pipeline] } [2020-03-11T09:11:03.611Z] 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-11T09:11:04.749Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-11T09:11:05.056Z] ---> package-listing.sh [2020-03-11T09:11:05.056Z] ++ facter osfamily [2020-03-11T09:11:05.056Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-11T09:11:05.056Z] + OS_FAMILY=redhat [2020-03-11T09:11:05.056Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-448 [2020-03-11T09:11:05.056Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-11T09:11:05.056Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-11T09:11:05.056Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-11T09:11:05.056Z] + PACKAGES=/tmp/packages_start.txt [2020-03-11T09:11:05.056Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' [2020-03-11T09:11:05.056Z] + PACKAGES=/tmp/packages_end.txt [2020-03-11T09:11:05.056Z] + case "${OS_FAMILY}" in [2020-03-11T09:11:05.056Z] + rpm -qa [2020-03-11T09:11:05.056Z] + sort [2020-03-11T09:11:08.356Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-11T09:11:08.356Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-11T09:11:08.356Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-11T09:11:08.356Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' [2020-03-11T09:11:08.356Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-448/archives/ [2020-03-11T09:11:08.356Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-448/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-11T09:11:08.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-11T09:11:08.739Z] [2020-03-11T09:11:08.739Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-11T09:11:09.068Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-11T09:11:09.068Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-11T09:11:09.068Z] c9b1b535fdd9: Pulling fs layer [2020-03-11T09:11:09.068Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-11T09:11:09.068Z] 756a868c4378: Pulling fs layer [2020-03-11T09:11:09.068Z] 444b2fc9a129: Pulling fs layer [2020-03-11T09:11:09.068Z] ea15f1150254: Pulling fs layer [2020-03-11T09:11:09.068Z] 41b27a9f41bf: Pulling fs layer [2020-03-11T09:11:09.068Z] 28c525ee5125: Pulling fs layer [2020-03-11T09:11:09.068Z] 094b1ea09ed8: Pulling fs layer [2020-03-11T09:11:09.068Z] 138eaada9080: Pulling fs layer [2020-03-11T09:11:09.068Z] 0622d0fa9048: Pulling fs layer [2020-03-11T09:11:09.068Z] 41b27a9f41bf: Waiting [2020-03-11T09:11:09.068Z] 28c525ee5125: Waiting [2020-03-11T09:11:09.068Z] 094b1ea09ed8: Waiting [2020-03-11T09:11:09.068Z] 138eaada9080: Waiting [2020-03-11T09:11:09.068Z] 0622d0fa9048: Waiting [2020-03-11T09:11:09.068Z] 444b2fc9a129: Waiting [2020-03-11T09:11:09.068Z] ea15f1150254: Waiting [2020-03-11T09:11:09.068Z] 2cc5ad85d9ab: Download complete [2020-03-11T09:11:09.330Z] 444b2fc9a129: Verifying Checksum [2020-03-11T09:11:09.330Z] 444b2fc9a129: Download complete [2020-03-11T09:11:09.594Z] ea15f1150254: Verifying Checksum [2020-03-11T09:11:09.594Z] ea15f1150254: Download complete [2020-03-11T09:11:09.854Z] c9b1b535fdd9: Verifying Checksum [2020-03-11T09:11:09.854Z] c9b1b535fdd9: Download complete [2020-03-11T09:11:10.122Z] 28c525ee5125: Verifying Checksum [2020-03-11T09:11:10.122Z] 28c525ee5125: Download complete [2020-03-11T09:11:10.122Z] c9b1b535fdd9: Pull complete [2020-03-11T09:11:10.391Z] 2cc5ad85d9ab: Pull complete [2020-03-11T09:11:15.687Z] 094b1ea09ed8: Verifying Checksum [2020-03-11T09:11:15.687Z] 094b1ea09ed8: Download complete [2020-03-11T09:11:15.687Z] 756a868c4378: Verifying Checksum [2020-03-11T09:11:15.687Z] 756a868c4378: Download complete [2020-03-11T09:11:15.973Z] 0622d0fa9048: Verifying Checksum [2020-03-11T09:11:15.973Z] 0622d0fa9048: Download complete [2020-03-11T09:11:15.973Z] 138eaada9080: Verifying Checksum [2020-03-11T09:11:15.973Z] 138eaada9080: Download complete [2020-03-11T09:11:16.549Z] 41b27a9f41bf: Download complete [2020-03-11T09:11:17.494Z] 756a868c4378: Pull complete [2020-03-11T09:11:17.752Z] 444b2fc9a129: Pull complete [2020-03-11T09:11:18.011Z] ea15f1150254: Pull complete [2020-03-11T09:11:22.214Z] 41b27a9f41bf: Pull complete [2020-03-11T09:11:22.214Z] 28c525ee5125: Pull complete [2020-03-11T09:11:24.123Z] 094b1ea09ed8: Pull complete [2020-03-11T09:11:24.384Z] 138eaada9080: Pull complete [2020-03-11T09:11:24.643Z] 0622d0fa9048: Pull complete [2020-03-11T09:11:24.643Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-11T09:11:24.643Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-11T09:11:24.822Z] prd-centos7-docker-4c-2g-79 does not seem to be running inside a container [2020-03-11T09:11:24.864Z] $ 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-448 -v /w/workspace/dgexfoundry_device-sdk-go_PR-448:/w/workspace/dgexfoundry_device-sdk-go_PR-448:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-11T09:11:25.972Z] $ docker top 541ee98b95d38e0db3b78ba8b0c07ba10b535a43e28cc8433c1dbf3a97d1d35a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-11T09:11:26.222Z] provisioning config files... [2020-03-11T09:11:26.239Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config8076988266391321085tmp [Pipeline] { [Pipeline] echo [2020-03-11T09:11:26.305Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-11T09:11:26.606Z] ---> create-netrc.sh [Pipeline] echo [2020-03-11T09:11:26.614Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-11T09:11:26.911Z] ---> logs-deploy.sh [2020-03-11T09:11:26.911Z] + ARCHIVE_ARTIFACTS= [2020-03-11T09:11:26.911Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-11T09:11:26.911Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-11T09:11:26.911Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-11T09:11:26.911Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/11 [2020-03-11T09:11:26.911Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/11/ [2020-03-11T09:11:26.911Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/11 /w/workspace/dgexfoundry_device-sdk-go_PR-448 [2020-03-11T09:11:28.287Z] Archives upload complete. [2020-03-11T09:11:28.287Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/11 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/11/