Pull request #467 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 0d7b0c518a2913b712e90387fbb0d2e19d83f755+9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 (f318a7913809564497e743755347b3f92f82412c) 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 Running on prd-centos7-docker-4c-2g-144 in /w/workspace/dgexfoundry_device-sdk-go_PR-467 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-467 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 0d7b0c518a2913b712e90387fbb0d2e19d83f755 Merge succeeded, producing 0d7b0c518a2913b712e90387fbb0d2e19d83f755 Checking out Revision 0d7b0c518a2913b712e90387fbb0d2e19d83f755 (PR-467) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/467/head:refs/remotes/origin/PR-467 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d7b0c518a2913b712e90387fbb0d2e19d83f755 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d7b0c518a2913b712e90387fbb0d2e19d83f755 # timeout=10 Commit message: "Add v2 REST API specification" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-20T14:29:12.557Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 7e6779071d1785200f65a0fe8010a7017e900106 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-20T14:29:14.640Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-20T14:29:14.640Z] [2020-03-20T14:29:14.640Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-20T14:29:15.014Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-20T14:29:15.014Z] latest: Pulling from edgex-devops/git-semver [2020-03-20T14:29:15.014Z] 9123ac7c32f7: Pulling fs layer [2020-03-20T14:29:15.014Z] b8cc5d1170e3: Pulling fs layer [2020-03-20T14:29:15.014Z] 2924cbbf6a41: Pulling fs layer [2020-03-20T14:29:15.014Z] 93b08a4f1073: Pulling fs layer [2020-03-20T14:29:15.014Z] 93b08a4f1073: Waiting [2020-03-20T14:29:15.014Z] b8cc5d1170e3: Verifying Checksum [2020-03-20T14:29:15.014Z] b8cc5d1170e3: Download complete [2020-03-20T14:29:15.276Z] 9123ac7c32f7: Verifying Checksum [2020-03-20T14:29:15.276Z] 9123ac7c32f7: Download complete [2020-03-20T14:29:15.276Z] 93b08a4f1073: Verifying Checksum [2020-03-20T14:29:15.276Z] 2924cbbf6a41: Verifying Checksum [2020-03-20T14:29:15.276Z] 2924cbbf6a41: Download complete [2020-03-20T14:29:15.535Z] 9123ac7c32f7: Pull complete [2020-03-20T14:29:15.535Z] b8cc5d1170e3: Pull complete [2020-03-20T14:29:16.472Z] 2924cbbf6a41: Pull complete [2020-03-20T14:29:16.472Z] 93b08a4f1073: Pull complete [2020-03-20T14:29:16.472Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-20T14:29:16.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-20T14:29:16.866Z] prd-centos7-docker-4c-2g-144 does not seem to be running inside a container [2020-03-20T14:29:16.913Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-467 -v /w/workspace/dgexfoundry_device-sdk-go_PR-467:/w/workspace/dgexfoundry_device-sdk-go_PR-467:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-20T14:29:17.578Z] $ docker top f7026bafcd29dc4010b5754c27da1c098b6e4059fa0d1aee3cb3901dbce26302 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-20T14:29:17.871Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-20T14:29:17.871Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-20T14:29:18.079Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-20T14:29:18.083Z] $ docker exec f7026bafcd29dc4010b5754c27da1c098b6e4059fa0d1aee3cb3901dbce26302 ssh-agent [2020-03-20T14:29:18.263Z] SSH_AUTH_SOCK=/tmp/ssh-eXUkONXKuQCR/agent.15 [2020-03-20T14:29:18.263Z] SSH_AGENT_PID=22 [2020-03-20T14:29:18.273Z] Running ssh-add (command line suppressed) [2020-03-20T14:29:18.423Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_2818084049198656784.key (/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_2818084049198656784.key) [2020-03-20T14:29:18.479Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-20T14:29:18.799Z] + git describe --exact-match --tags HEAD [2020-03-20T14:29:18.799Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-20T14:29:18.855Z] $ docker exec --env ******** --env ******** f7026bafcd29dc4010b5754c27da1c098b6e4059fa0d1aee3cb3901dbce26302 ssh-agent -k [2020-03-20T14:29:18.993Z] unset SSH_AUTH_SOCK; [2020-03-20T14:29:18.993Z] unset SSH_AGENT_PID; [2020-03-20T14:29:18.993Z] echo Agent pid 22 killed; [2020-03-20T14:29:19.041Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-20T14:29:19.111Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-20T14:29:19.111Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-20T14:29:19.200Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-20T14:29:19.200Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-20T14:29:19.376Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-20T14:29:19.380Z] $ docker exec f7026bafcd29dc4010b5754c27da1c098b6e4059fa0d1aee3cb3901dbce26302 ssh-agent [2020-03-20T14:29:19.560Z] SSH_AUTH_SOCK=/tmp/ssh-FjNb91LYCjrZ/agent.56 [2020-03-20T14:29:19.560Z] SSH_AGENT_PID=62 [2020-03-20T14:29:19.565Z] Running ssh-add (command line suppressed) [2020-03-20T14:29:19.706Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_7759907898286256128.key (/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/private_key_7759907898286256128.key) [2020-03-20T14:29:19.757Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-20T14:29:20.081Z] + git semver init [2020-03-20T14:29:20.081Z] # -> Open(): unable to determine branch for HEAD [2020-03-20T14:29:20.081Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-467/.git [2020-03-20T14:29:20.081Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-467 [2020-03-20T14:29:20.081Z] # $SEMVER_REMOTE_NAME = origin [2020-03-20T14:29:20.081Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-20T14:29:20.081Z] # $SEMVER_USER_NAME = jenkins [2020-03-20T14:29:20.081Z] # $SEMVER_BRANCH = PR-467 [2020-03-20T14:29:20.081Z] # $SEMVER_TEMP = /tmp/semver-059129055 [2020-03-20T14:29:20.081Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-20T14:29:20.648Z] # '/tmp/semver-059129055' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-467/.semver' [2020-03-20T14:29:20.648Z] # -> Force: false [2020-03-20T14:29:20.648Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-467/.semver [Pipeline] } [2020-03-20T14:29:20.657Z] $ docker exec --env ******** --env ******** f7026bafcd29dc4010b5754c27da1c098b6e4059fa0d1aee3cb3901dbce26302 ssh-agent -k [2020-03-20T14:29:20.791Z] unset SSH_AUTH_SOCK; [2020-03-20T14:29:20.791Z] unset SSH_AGENT_PID; [2020-03-20T14:29:20.792Z] echo Agent pid 62 killed; [2020-03-20T14:29:20.836Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-20T14:29:21.294Z] + git semver [Pipeline] } [2020-03-20T14:29:21.310Z] $ docker stop --time=1 f7026bafcd29dc4010b5754c27da1c098b6e4059fa0d1aee3cb3901dbce26302 [2020-03-20T14:29:22.646Z] $ docker rm -f f7026bafcd29dc4010b5754c27da1c098b6e4059fa0d1aee3cb3901dbce26302 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-20T14:29:23.391Z] Stashed 32 file(s) [Pipeline] echo [2020-03-20T14:29:23.393Z] [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-20T14:29:38.614Z] Still waiting to schedule task [2020-03-20T14:29:38.614Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-144’ [2020-03-20T14:29:38.616Z] Still waiting to schedule task [2020-03-20T14:29:38.616Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-03-20T14:31:26.520Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-145 in /w/workspace/dgexfoundry_device-sdk-go_PR-467 [Pipeline] { [Pipeline] ws [2020-03-20T14:31:26.554Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-03-20T14:31:32.076Z] using credential edgex-jenkins-ssh [2020-03-20T14:31:32.159Z] Cloning the remote Git repository [2020-03-20T14:31:32.159Z] Cloning with configured refspecs honoured and without tags [2020-03-20T14:31:32.191Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-20T14:31:32.272Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-03-20T14:31:32.357Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-20T14:31:32.358Z] > git --version # timeout=10 [2020-03-20T14:31:32.381Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-20T14:31:32.447Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-20T14:31:33.528Z] Fetching without tags [2020-03-20T14:31:34.047Z] Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 0d7b0c518a2913b712e90387fbb0d2e19d83f755 [2020-03-20T14:31:33.366Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-20T14:31:33.418Z] > git config --add remote.origin.fetch +refs/pull/467/head:refs/remotes/origin/PR-467 # timeout=10 [2020-03-20T14:31:33.439Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-20T14:31:33.460Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-20T14:31:33.500Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-20T14:31:33.501Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-20T14:31:33.512Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-20T14:31:34.031Z] > git config core.sparsecheckout # timeout=10 [2020-03-20T14:31:34.057Z] > git checkout -f 0d7b0c518a2913b712e90387fbb0d2e19d83f755 # timeout=10 [2020-03-20T14:31:34.175Z] > git remote # timeout=10 [2020-03-20T14:31:34.195Z] > git config --get remote.origin.url # timeout=10 [2020-03-20T14:31:34.225Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-20T14:31:34.311Z] Merge succeeded, producing 0d7b0c518a2913b712e90387fbb0d2e19d83f755 [2020-03-20T14:31:34.312Z] Checking out Revision 0d7b0c518a2913b712e90387fbb0d2e19d83f755 (PR-467) [2020-03-20T14:31:34.236Z] > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 [2020-03-20T14:31:34.258Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-20T14:31:34.283Z] > git config core.sparsecheckout # timeout=10 [2020-03-20T14:31:34.310Z] > git checkout -f 0d7b0c518a2913b712e90387fbb0d2e19d83f755 # timeout=10 [2020-03-20T14:31:38.907Z] Commit message: "Add v2 REST API specification" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-20T14:31:40.099Z] ========================================================= [2020-03-20T14:31:40.100Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-20T14:31:40.100Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-20T14:31:41.072Z] + 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-20T14:31:42.047Z] Sending build context to Docker daemon 2.729MB [2020-03-20T14:31:42.047Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-20T14:31:42.047Z] Step 2/8 : FROM ${BASE} [2020-03-20T14:31:42.316Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-20T14:31:42.316Z] cde5963f3b93: Pulling fs layer [2020-03-20T14:31:42.316Z] 2a23fa8c16f7: Pulling fs layer [2020-03-20T14:31:42.316Z] 777b28850792: Pulling fs layer [2020-03-20T14:31:42.316Z] 8a11ddd9e578: Pulling fs layer [2020-03-20T14:31:42.316Z] 4cf88f913ddb: Pulling fs layer [2020-03-20T14:31:42.316Z] 1df406cf5192: Pulling fs layer [2020-03-20T14:31:42.316Z] cd6300453558: Pulling fs layer [2020-03-20T14:31:42.316Z] b9c365052c96: Pulling fs layer [2020-03-20T14:31:42.316Z] a2d8cc88f415: Pulling fs layer [2020-03-20T14:31:42.316Z] ea1d1ca13537: Pulling fs layer [2020-03-20T14:31:42.316Z] 3750a50a1c5e: Pulling fs layer [2020-03-20T14:31:42.316Z] 8a11ddd9e578: Waiting [2020-03-20T14:31:42.316Z] 4cf88f913ddb: Waiting [2020-03-20T14:31:42.316Z] 1df406cf5192: Waiting [2020-03-20T14:31:42.316Z] cd6300453558: Waiting [2020-03-20T14:31:42.316Z] b9c365052c96: Waiting [2020-03-20T14:31:42.316Z] a2d8cc88f415: Waiting [2020-03-20T14:31:42.316Z] ea1d1ca13537: Waiting [2020-03-20T14:31:42.316Z] 3750a50a1c5e: Waiting [2020-03-20T14:31:42.316Z] 777b28850792: Download complete [2020-03-20T14:31:42.587Z] 2a23fa8c16f7: Verifying Checksum [2020-03-20T14:31:42.587Z] 2a23fa8c16f7: Download complete [2020-03-20T14:31:42.587Z] 4cf88f913ddb: Verifying Checksum [2020-03-20T14:31:42.587Z] 4cf88f913ddb: Download complete [2020-03-20T14:31:42.587Z] 1df406cf5192: Verifying Checksum [2020-03-20T14:31:42.587Z] 1df406cf5192: Download complete [2020-03-20T14:31:42.860Z] cde5963f3b93: Download complete [2020-03-20T14:31:43.832Z] cde5963f3b93: Pull complete [2020-03-20T14:31:44.420Z] 2a23fa8c16f7: Pull complete [2020-03-20T14:31:44.692Z] 777b28850792: Pull complete [2020-03-20T14:31:47.323Z] cd6300453558: Verifying Checksum [2020-03-20T14:31:47.323Z] cd6300453558: Download complete [2020-03-20T14:31:47.323Z] a2d8cc88f415: Verifying Checksum [2020-03-20T14:31:47.323Z] a2d8cc88f415: Download complete [2020-03-20T14:31:49.940Z] ea1d1ca13537: Verifying Checksum [2020-03-20T14:31:49.940Z] ea1d1ca13537: Download complete [2020-03-20T14:31:50.212Z] 3750a50a1c5e: Verifying Checksum [2020-03-20T14:31:50.212Z] 3750a50a1c5e: Download complete [2020-03-20T14:31:53.579Z] b9c365052c96: Download complete [2020-03-20T14:31:54.546Z] 8a11ddd9e578: Verifying Checksum [2020-03-20T14:31:54.546Z] 8a11ddd9e578: Download complete [2020-03-20T14:32:06.914Z] 8a11ddd9e578: Pull complete [2020-03-20T14:32:06.914Z] 4cf88f913ddb: Pull complete [2020-03-20T14:32:06.914Z] 1df406cf5192: Pull complete [2020-03-20T14:32:12.305Z] cd6300453558: Pull complete [2020-03-20T14:32:16.581Z] b9c365052c96: Pull complete [2020-03-20T14:32:17.170Z] a2d8cc88f415: Pull complete [2020-03-20T14:32:18.051Z] Running on prd-centos7-docker-4c-2g-146 in /w/workspace/dgexfoundry_device-sdk-go_PR-467 [Pipeline] { [Pipeline] ws [2020-03-20T14:32:18.084Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-03-20T14:32:19.127Z] ea1d1ca13537: Pull complete [2020-03-20T14:32:19.398Z] 3750a50a1c5e: Pull complete [2020-03-20T14:32:19.398Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-20T14:32:19.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-20T14:32:19.398Z] ---> 78745c68409d [2020-03-20T14:32:19.398Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-20T14:32:23.517Z] using credential edgex-jenkins-ssh [2020-03-20T14:32:23.564Z] Cloning the remote Git repository [2020-03-20T14:32:23.564Z] Cloning with configured refspecs honoured and without tags [2020-03-20T14:32:23.682Z] ---> Running in 85fea34b789b [2020-03-20T14:32:23.957Z] Removing intermediate container 85fea34b789b [2020-03-20T14:32:23.957Z] ---> f6cebf79a3c5 [2020-03-20T14:32:23.957Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-20T14:32:24.229Z] ---> Running in a030dbb554b6 [2020-03-20T14:32:23.619Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-20T14:32:23.697Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-03-20T14:32:23.758Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-20T14:32:23.759Z] > git --version # timeout=10 [2020-03-20T14:32:23.771Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-20T14:32:23.815Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-20T14:32:24.666Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-20T14:32:24.746Z] Fetching without tags [2020-03-20T14:32:25.217Z] Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 0d7b0c518a2913b712e90387fbb0d2e19d83f755 [2020-03-20T14:32:25.763Z] Merge succeeded, producing 0d7b0c518a2913b712e90387fbb0d2e19d83f755 [2020-03-20T14:32:25.764Z] Checking out Revision 0d7b0c518a2913b712e90387fbb0d2e19d83f755 (PR-467) [2020-03-20T14:32:24.678Z] > git config --add remote.origin.fetch +refs/pull/467/head:refs/remotes/origin/PR-467 # timeout=10 [2020-03-20T14:32:24.685Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-20T14:32:24.709Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-20T14:32:24.752Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-20T14:32:24.753Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-20T14:32:24.775Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-20T14:32:25.228Z] > git config core.sparsecheckout # timeout=10 [2020-03-20T14:32:25.240Z] > git checkout -f 0d7b0c518a2913b712e90387fbb0d2e19d83f755 # timeout=10 [2020-03-20T14:32:25.391Z] > git remote # timeout=10 [2020-03-20T14:32:25.615Z] > git config --get remote.origin.url # timeout=10 [2020-03-20T14:32:25.626Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-20T14:32:25.644Z] > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 [2020-03-20T14:32:25.688Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-20T14:32:25.771Z] > git config core.sparsecheckout # timeout=10 [2020-03-20T14:32:25.804Z] > git checkout -f 0d7b0c518a2913b712e90387fbb0d2e19d83f755 # timeout=10 [2020-03-20T14:32:26.844Z] Removing intermediate container a030dbb554b6 [2020-03-20T14:32:26.844Z] ---> 6d3378ab5b15 [2020-03-20T14:32:26.844Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-20T14:32:26.844Z] ---> Running in 7e8e17650cc6 [2020-03-20T14:32:27.433Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-20T14:32:28.400Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-20T14:32:28.985Z] OK: 125 MiB in 39 packages [2020-03-20T14:32:30.121Z] Commit message: "Add v2 REST API specification" [2020-03-20T14:32:30.410Z] Removing intermediate container 7e8e17650cc6 [2020-03-20T14:32:30.410Z] ---> a7a0975f674c [2020-03-20T14:32:30.410Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-20T14:32:30.410Z] ---> Running in 8efd1c5e3c9b [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-03-20T14:32:30.689Z] Removing intermediate container 8efd1c5e3c9b [2020-03-20T14:32:30.689Z] ---> e9c2f0222e55 [2020-03-20T14:32:30.689Z] Step 7/8 : COPY . . [Pipeline] echo [2020-03-20T14:32:31.051Z] ========================================================= [2020-03-20T14:32:31.051Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-20T14:32:31.051Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-20T14:32:32.117Z] ---> 2539f3a4a5ed [2020-03-20T14:32:32.118Z] Step 8/8 : RUN go mod download [2020-03-20T14:32:32.118Z] ---> Running in e05b0a350374 [2020-03-20T14:32:32.355Z] + 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-20T14:32:32.633Z] Sending build context to Docker daemon 2.729MB [2020-03-20T14:32:32.633Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-20T14:32:32.633Z] Step 2/8 : FROM ${BASE} [2020-03-20T14:32:32.934Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-20T14:32:32.934Z] e6b0cf9c0882: Pulling fs layer [2020-03-20T14:32:32.934Z] 2848faf0eed1: Pulling fs layer [2020-03-20T14:32:32.934Z] 0f37312ad70f: Pulling fs layer [2020-03-20T14:32:32.934Z] 5788d62ee057: Pulling fs layer [2020-03-20T14:32:32.934Z] 0e6b1d234666: Pulling fs layer [2020-03-20T14:32:32.934Z] bf5d7aec512f: Pulling fs layer [2020-03-20T14:32:32.934Z] 34c802a77dc8: Pulling fs layer [2020-03-20T14:32:32.934Z] 9eb99e56ec68: Pulling fs layer [2020-03-20T14:32:32.934Z] 27c7a5d97fbd: Pulling fs layer [2020-03-20T14:32:32.934Z] 5c102a31e300: Pulling fs layer [2020-03-20T14:32:32.934Z] dcfb455df0a1: Pulling fs layer [2020-03-20T14:32:32.934Z] 5788d62ee057: Waiting [2020-03-20T14:32:32.934Z] 0e6b1d234666: Waiting [2020-03-20T14:32:32.934Z] bf5d7aec512f: Waiting [2020-03-20T14:32:32.934Z] 34c802a77dc8: Waiting [2020-03-20T14:32:32.934Z] 9eb99e56ec68: Waiting [2020-03-20T14:32:32.934Z] 27c7a5d97fbd: Waiting [2020-03-20T14:32:32.934Z] 5c102a31e300: Waiting [2020-03-20T14:32:32.934Z] dcfb455df0a1: Waiting [2020-03-20T14:32:32.934Z] 0f37312ad70f: Verifying Checksum [2020-03-20T14:32:32.934Z] 0f37312ad70f: Download complete [2020-03-20T14:32:32.934Z] 2848faf0eed1: Download complete [2020-03-20T14:32:33.218Z] 0e6b1d234666: Verifying Checksum [2020-03-20T14:32:33.219Z] 0e6b1d234666: Download complete [2020-03-20T14:32:33.219Z] e6b0cf9c0882: Verifying Checksum [2020-03-20T14:32:33.219Z] e6b0cf9c0882: Download complete [2020-03-20T14:32:33.219Z] bf5d7aec512f: Verifying Checksum [2020-03-20T14:32:33.219Z] bf5d7aec512f: Download complete [2020-03-20T14:32:33.962Z] e6b0cf9c0882: Pull complete [2020-03-20T14:32:34.285Z] 2848faf0eed1: Pull complete [2020-03-20T14:32:34.658Z] 0f37312ad70f: Pull complete [2020-03-20T14:32:34.703Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-20T14:32:34.704Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-20T14:32:34.704Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-20T14:32:34.704Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-20T14:32:34.704Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-20T14:32:34.704Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-20T14:32:34.704Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-20T14:32:34.704Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-20T14:32:34.704Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-20T14:32:34.704Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-20T14:32:34.704Z] go: finding github.com/fatih/color v1.7.0 [2020-03-20T14:32:34.704Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-20T14:32:34.971Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-20T14:32:34.971Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-20T14:32:34.971Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-20T14:32:34.971Z] go: finding github.com/google/uuid v1.1.0 [2020-03-20T14:32:34.971Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-20T14:32:34.971Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-20T14:32:34.971Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-20T14:32:34.971Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-20T14:32:34.971Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-20T14:32:34.971Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-20T14:32:34.971Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-20T14:32:35.241Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-20T14:32:35.241Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-20T14:32:35.241Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-20T14:32:35.241Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-20T14:32:35.241Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-20T14:32:35.241Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-20T14:32:35.241Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-20T14:32:35.241Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-20T14:32:35.241Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-20T14:32:35.241Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-20T14:32:35.241Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-20T14:32:35.241Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-20T14:32:35.241Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-20T14:32:35.241Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-20T14:32:35.241Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-20T14:32:35.241Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-20T14:32:35.241Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-20T14:32:35.241Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-20T14:32:35.241Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-20T14:32:35.241Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-20T14:32:35.241Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-20T14:32:35.241Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-20T14:32:35.512Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-20T14:32:35.512Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-20T14:32:35.512Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-20T14:32:35.512Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-20T14:32:35.512Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-20T14:32:35.512Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-20T14:32:35.512Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-20T14:32:35.512Z] go: finding github.com/posener/complete v1.1.1 [2020-03-20T14:32:35.512Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-20T14:32:35.512Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-20T14:32:35.512Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-20T14:32:35.512Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-20T14:32:35.512Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-20T14:32:35.513Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-20T14:32:35.513Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-20T14:32:35.513Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-20T14:32:35.513Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-20T14:32:35.783Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-20T14:32:35.783Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-20T14:32:37.784Z] 34c802a77dc8: Verifying Checksum [2020-03-20T14:32:37.784Z] 34c802a77dc8: Download complete [2020-03-20T14:32:37.784Z] 27c7a5d97fbd: Verifying Checksum [2020-03-20T14:32:37.784Z] 27c7a5d97fbd: Download complete [2020-03-20T14:32:40.143Z] 9eb99e56ec68: Verifying Checksum [2020-03-20T14:32:40.143Z] 9eb99e56ec68: Download complete [2020-03-20T14:32:40.143Z] 5788d62ee057: Verifying Checksum [2020-03-20T14:32:40.143Z] 5788d62ee057: Download complete [2020-03-20T14:32:40.143Z] 5c102a31e300: Verifying Checksum [2020-03-20T14:32:40.143Z] 5c102a31e300: Download complete [2020-03-20T14:32:40.143Z] dcfb455df0a1: Verifying Checksum [2020-03-20T14:32:40.143Z] dcfb455df0a1: Download complete [2020-03-20T14:32:48.830Z] 5788d62ee057: Pull complete [2020-03-20T14:32:48.830Z] 0e6b1d234666: Pull complete [2020-03-20T14:32:49.101Z] bf5d7aec512f: Pull complete [2020-03-20T14:32:54.030Z] Removing intermediate container e05b0a350374 [2020-03-20T14:32:54.030Z] ---> 4bc34afeb3d9 [2020-03-20T14:32:54.030Z] Successfully built 4bc34afeb3d9 [2020-03-20T14:32:54.030Z] 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-20T14:32:54.658Z] + docker inspect -f . ci-base-image-arm64 [2020-03-20T14:32:54.658Z] . [Pipeline] withDockerContainer [2020-03-20T14:32:54.992Z] prd-ubuntu18.04-docker-arm64-4c-16g-145 does not seem to be running inside a container [2020-03-20T14:32:55.089Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-03-20T14:32:55.353Z] 34c802a77dc8: Pull complete [2020-03-20T14:32:56.473Z] $ docker top 1636a249729440d71bbaa67b7c405fec865de8f1c88ee5a43a7312ed2fa52788 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-20T14:32:57.526Z] + go version [2020-03-20T14:32:57.526Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-20T14:32:58.183Z] + make test [2020-03-20T14:32:58.184Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-20T14:32:59.691Z] 9eb99e56ec68: Pull complete [2020-03-20T14:32:59.691Z] 27c7a5d97fbd: Pull complete [2020-03-20T14:33:01.673Z] 5c102a31e300: Pull complete [2020-03-20T14:33:01.673Z] dcfb455df0a1: Pull complete [2020-03-20T14:33:01.673Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-20T14:33:01.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-20T14:33:01.673Z] ---> 7c70fe431013 [2020-03-20T14:33:01.673Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-20T14:33:01.673Z] ---> Running in 6d4ce58ccb43 [2020-03-20T14:33:01.950Z] Removing intermediate container 6d4ce58ccb43 [2020-03-20T14:33:01.950Z] ---> 76591d95d2b1 [2020-03-20T14:33:01.950Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-20T14:33:01.950Z] ---> Running in e02d048758f6 [2020-03-20T14:33:03.378Z] Removing intermediate container e02d048758f6 [2020-03-20T14:33:03.378Z] ---> 93f2bdac0a48 [2020-03-20T14:33:03.378Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-20T14:33:03.378Z] ---> Running in d741bc8d73ca [2020-03-20T14:33:03.963Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-20T14:33:04.957Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-20T14:33:05.263Z] OK: 143 MiB in 39 packages [2020-03-20T14:33:06.721Z] Removing intermediate container d741bc8d73ca [2020-03-20T14:33:06.721Z] ---> 843d456dedbe [2020-03-20T14:33:06.721Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-20T14:33:06.721Z] ---> Running in 46a7a14c046d [2020-03-20T14:33:07.005Z] Removing intermediate container 46a7a14c046d [2020-03-20T14:33:07.005Z] ---> bd7ff48dcbbe [2020-03-20T14:33:07.005Z] Step 7/8 : COPY . . [2020-03-20T14:33:08.955Z] ---> d52321f2da49 [2020-03-20T14:33:08.955Z] Step 8/8 : RUN go mod download [2020-03-20T14:33:08.955Z] ---> Running in 04f5e9196651 [2020-03-20T14:33:11.797Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-20T14:33:11.797Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-20T14:33:11.797Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-20T14:33:11.797Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-20T14:33:11.797Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-20T14:33:11.797Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-20T14:33:11.797Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-20T14:33:11.797Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-20T14:33:11.797Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-20T14:33:11.797Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-20T14:33:11.797Z] go: finding github.com/fatih/color v1.7.0 [2020-03-20T14:33:11.797Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-20T14:33:11.797Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-20T14:33:11.797Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-20T14:33:11.797Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-20T14:33:11.797Z] go: finding github.com/google/uuid v1.1.0 [2020-03-20T14:33:11.797Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-20T14:33:11.797Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-20T14:33:11.797Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-20T14:33:11.797Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-20T14:33:11.797Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-20T14:33:11.797Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-20T14:33:11.797Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-20T14:33:11.797Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-20T14:33:11.797Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-20T14:33:11.797Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-20T14:33:11.797Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-20T14:33:11.797Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-20T14:33:11.797Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-20T14:33:11.797Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-20T14:33:11.797Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-20T14:33:11.797Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-20T14:33:11.797Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-20T14:33:11.797Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-20T14:33:11.797Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-20T14:33:11.797Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-20T14:33:11.797Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-20T14:33:11.797Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-20T14:33:11.797Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-20T14:33:11.797Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-20T14:33:11.797Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-20T14:33:12.069Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-20T14:33:12.069Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-20T14:33:12.069Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-20T14:33:12.069Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-20T14:33:12.069Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-20T14:33:12.069Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-20T14:33:12.069Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-20T14:33:12.069Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-20T14:33:12.069Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-20T14:33:12.069Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-20T14:33:12.069Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-20T14:33:12.069Z] go: finding github.com/posener/complete v1.1.1 [2020-03-20T14:33:12.069Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-20T14:33:12.069Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-20T14:33:12.069Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-20T14:33:12.069Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-20T14:33:12.069Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-20T14:33:12.069Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-20T14:33:12.665Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-20T14:33:12.665Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-20T14:33:12.665Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-20T14:33:12.665Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-20T14:33:12.665Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-20T14:33:23.377Z] Removing intermediate container 04f5e9196651 [2020-03-20T14:33:23.377Z] ---> f9022fdf9930 [2020-03-20T14:33:23.673Z] Successfully built f9022fdf9930 [2020-03-20T14:33:23.673Z] 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-20T14:33:24.409Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-20T14:33:24.708Z] . [Pipeline] withDockerContainer [2020-03-20T14:33:24.977Z] prd-centos7-docker-4c-2g-146 does not seem to be running inside a container [2020-03-20T14:33:25.131Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-03-20T14:33:26.225Z] $ docker top 9f27a53772ad77a931d3ad27011df1da00d11a8447dfc0e2290bcfdc35e88188 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-20T14:33:26.810Z] + go version [2020-03-20T14:33:26.811Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-20T14:33:27.624Z] + make test [2020-03-20T14:33:27.624Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-20T14:33:45.092Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-20T14:33:45.092Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-20T14:33:45.092Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-20T14:33:45.092Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.027s coverage: 23.1% of statements [2020-03-20T14:33:45.092Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.314s coverage: 95.8% of statements [2020-03-20T14:33:45.092Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.076s coverage: 12.7% of statements [2020-03-20T14:33:45.092Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.021s coverage: 25.6% of statements [2020-03-20T14:33:54.698Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-20T14:33:54.698Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-20T14:33:54.698Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-20T14:33:54.698Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.027s coverage: 23.1% of statements [2020-03-20T14:33:54.698Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.094s coverage: 95.8% of statements [2020-03-20T14:33:56.759Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.112s coverage: 12.7% of statements [2020-03-20T14:33:56.759Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.037s coverage: 25.6% of statements [2020-03-20T14:34:17.367Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.042s coverage: 30.0% of statements [2020-03-20T14:34:17.367Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.423s coverage: 42.3% of statements [2020-03-20T14:34:17.367Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-20T14:34:17.367Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-20T14:34:17.367Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.925s coverage: 79.5% of statements [2020-03-20T14:34:17.367Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-20T14:34:17.367Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-20T14:34:17.367Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-20T14:34:17.367Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.096s coverage: 52.6% of statements [2020-03-20T14:34:17.367Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.332s coverage: 76.1% of statements [2020-03-20T14:34:17.367Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-20T14:34:17.367Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-20T14:34:22.728Z] gofmt -l . [2020-03-20T14:34:22.728Z] [ "`gofmt -l .`" = "" ] [2020-03-20T14:34:22.729Z] ./bin/test-attribution-txt.sh [2020-03-20T14:34:23.319Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-20T14:34:24.088Z] Stashed 1 file(s) [Pipeline] } [2020-03-20T14:34:24.110Z] $ docker stop --time=1 1636a249729440d71bbaa67b7c405fec865de8f1c88ee5a43a7312ed2fa52788 [2020-03-20T14:34:26.269Z] $ docker rm -f 1636a249729440d71bbaa67b7c405fec865de8f1c88ee5a43a7312ed2fa52788 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-20T14:34:27.968Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-20T14:34:28.295Z] + ls -al . [2020-03-20T14:34:28.295Z] total 240 [2020-03-20T14:34:28.295Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 14:34 . [2020-03-20T14:34:28.295Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 14:31 .. [2020-03-20T14:34:28.295Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 20 14:31 .dockerignore [2020-03-20T14:34:28.295Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 14:31 .git [2020-03-20T14:34:28.295Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 14:31 .github [2020-03-20T14:34:28.295Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 20 14:31 .gitignore [2020-03-20T14:34:28.295Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 14:31 .semver [2020-03-20T14:34:28.295Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 20 14:31 Dockerfile.build [2020-03-20T14:34:28.295Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 20 14:31 Jenkinsfile [2020-03-20T14:34:28.295Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 20 14:31 LICENSE [2020-03-20T14:34:28.295Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 20 14:31 Makefile [2020-03-20T14:34:28.295Z] -rw-rw-r-- 1 jenkins jenkins 761 Mar 20 14:31 README.md [2020-03-20T14:34:28.295Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 14:29 VERSION [2020-03-20T14:34:28.295Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 14:31 api [2020-03-20T14:34:28.295Z] -rw-rw-r-- 1 jenkins jenkins 3321 Mar 20 14:31 async.go [2020-03-20T14:34:28.295Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 14:31 bin [2020-03-20T14:34:28.295Z] -rw-r--r-- 1 jenkins jenkins 100201 Mar 20 14:34 coverage.out [2020-03-20T14:34:28.295Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 14:31 example [2020-03-20T14:34:28.295Z] -rw-r--r-- 1 jenkins jenkins 536 Mar 20 14:34 go.mod [2020-03-20T14:34:28.295Z] -rw-r--r-- 1 jenkins jenkins 11140 Mar 20 14:34 go.sum [2020-03-20T14:34:28.295Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 20 14:31 internal [2020-03-20T14:34:28.295Z] -rw-rw-r-- 1 jenkins jenkins 4352 Mar 20 14:31 manageddevices.go [2020-03-20T14:34:28.295Z] -rw-rw-r-- 1 jenkins jenkins 5473 Mar 20 14:31 managedprofiles.go [2020-03-20T14:34:28.295Z] -rw-rw-r-- 1 jenkins jenkins 3878 Mar 20 14:31 managedwatchers.go [2020-03-20T14:34:28.295Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 14:31 pkg [2020-03-20T14:34:28.295Z] -rw-rw-r-- 1 jenkins jenkins 9817 Mar 20 14:31 service.go [2020-03-20T14:34:28.295Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 14:31 snap [2020-03-20T14:34:28.295Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 20 14:31 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-20T14:34:28.630Z] + 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=0d7b0c518a2913b712e90387fbb0d2e19d83f755 --label arch=arm64 --label version=0.0.0 . [2020-03-20T14:34:29.047Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.036s coverage: 30.0% of statements [2020-03-20T14:34:29.047Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.393s coverage: 42.3% of statements [2020-03-20T14:34:29.047Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-20T14:34:29.047Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-20T14:34:29.047Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.393s coverage: 79.5% of statements [2020-03-20T14:34:29.047Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-20T14:34:29.047Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-20T14:34:29.047Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-20T14:34:29.047Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.037s coverage: 52.6% of statements [2020-03-20T14:34:29.047Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.121s coverage: 76.1% of statements [2020-03-20T14:34:29.047Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-20T14:34:29.047Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-20T14:34:29.222Z] Sending build context to Docker daemon 2.855MB [2020-03-20T14:34:29.223Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-20T14:34:29.223Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-20T14:34:29.223Z] ---> 4bc34afeb3d9 [2020-03-20T14:34:29.223Z] Step 3/20 : ARG MAKE='make build' [2020-03-20T14:34:29.223Z] ---> Running in ceab154842cb [2020-03-20T14:34:29.811Z] Removing intermediate container ceab154842cb [2020-03-20T14:34:29.811Z] ---> 3aa03e9526e2 [2020-03-20T14:34:29.811Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-20T14:34:29.811Z] ---> Running in a62402579662 [2020-03-20T14:34:30.078Z] Removing intermediate container a62402579662 [2020-03-20T14:34:30.078Z] ---> e159518773a5 [2020-03-20T14:34:30.078Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-20T14:34:30.346Z] ---> Running in b52c84523ac4 [2020-03-20T14:34:30.614Z] Removing intermediate container b52c84523ac4 [2020-03-20T14:34:30.614Z] ---> 79290a8b5738 [2020-03-20T14:34:30.614Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-20T14:34:30.886Z] ---> Running in ef91a419861e [2020-03-20T14:34:32.837Z] Removing intermediate container ef91a419861e [2020-03-20T14:34:32.837Z] ---> 507d5a9d8963 [2020-03-20T14:34:32.837Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-20T14:34:32.837Z] ---> Running in bd00330dd54f [2020-03-20T14:34:33.424Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-20T14:34:33.604Z] gofmt -l . [2020-03-20T14:34:33.604Z] [ "`gofmt -l .`" = "" ] [2020-03-20T14:34:33.892Z] ./bin/test-attribution-txt.sh [2020-03-20T14:34:34.004Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-20T14:34:34.586Z] OK: 125 MiB in 39 packages [2020-03-20T14:34:34.869Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-20T14:34:35.220Z] Warning: overwriting stash ‘coverage-report’ [2020-03-20T14:34:35.549Z] Removing intermediate container bd00330dd54f [2020-03-20T14:34:35.549Z] ---> d4d0b5b6c851 [2020-03-20T14:34:35.549Z] Step 8/20 : COPY . . [2020-03-20T14:34:36.391Z] Stashed 1 file(s) [Pipeline] } [2020-03-20T14:34:36.422Z] $ docker stop --time=1 9f27a53772ad77a931d3ad27011df1da00d11a8447dfc0e2290bcfdc35e88188 [2020-03-20T14:34:36.512Z] ---> 66d7f96a771b [2020-03-20T14:34:36.512Z] Step 9/20 : RUN ${MAKE} [2020-03-20T14:34:36.782Z] ---> Running in 47850a0471d5 [2020-03-20T14:34:37.749Z] 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-20T14:34:38.052Z] $ docker rm -f 9f27a53772ad77a931d3ad27011df1da00d11a8447dfc0e2290bcfdc35e88188 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-20T14:34:39.409Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-20T14:34:39.791Z] + ls -al . [2020-03-20T14:34:39.791Z] total 200 [2020-03-20T14:34:39.791Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 20 14:34 . [2020-03-20T14:34:39.791Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 20 14:32 .. [2020-03-20T14:34:39.791Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 20 14:32 api [2020-03-20T14:34:39.791Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 20 14:32 async.go [2020-03-20T14:34:39.791Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 20 14:32 bin [2020-03-20T14:34:39.791Z] -rw-r--r--. 1 jenkins jenkins 100201 Mar 20 14:34 coverage.out [2020-03-20T14:34:39.791Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 20 14:32 Dockerfile.build [2020-03-20T14:34:39.791Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 20 14:32 .dockerignore [2020-03-20T14:34:39.791Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 20 14:32 example [2020-03-20T14:34:39.791Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 20 14:32 .git [2020-03-20T14:34:39.791Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 20 14:32 .github [2020-03-20T14:34:39.791Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 20 14:32 .gitignore [2020-03-20T14:34:39.791Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 20 14:34 go.mod [2020-03-20T14:34:39.791Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 20 14:34 go.sum [2020-03-20T14:34:39.791Z] drwxrwxr-x. 13 jenkins jenkins 176 Mar 20 14:32 internal [2020-03-20T14:34:39.791Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 20 14:32 Jenkinsfile [2020-03-20T14:34:39.791Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 20 14:32 LICENSE [2020-03-20T14:34:39.791Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 20 14:32 Makefile [2020-03-20T14:34:39.791Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 20 14:32 manageddevices.go [2020-03-20T14:34:39.791Z] -rw-rw-r--. 1 jenkins jenkins 5473 Mar 20 14:32 managedprofiles.go [2020-03-20T14:34:39.791Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 20 14:32 managedwatchers.go [2020-03-20T14:34:39.791Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 20 14:32 pkg [2020-03-20T14:34:39.791Z] -rw-rw-r--. 1 jenkins jenkins 761 Mar 20 14:32 README.md [2020-03-20T14:34:39.791Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 20 14:32 .semver [2020-03-20T14:34:39.791Z] -rw-rw-r--. 1 jenkins jenkins 9817 Mar 20 14:32 service.go [2020-03-20T14:34:39.791Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 20 14:32 snap [2020-03-20T14:34:39.791Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 20 14:29 VERSION [2020-03-20T14:34:39.791Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 20 14:32 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-20T14:34:40.175Z] + 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=0d7b0c518a2913b712e90387fbb0d2e19d83f755 --label arch=amd64 --label version=0.0.0 . [2020-03-20T14:34:40.452Z] Sending build context to Docker daemon 2.855MB [2020-03-20T14:34:40.452Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-20T14:34:40.452Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-20T14:34:40.452Z] ---> f9022fdf9930 [2020-03-20T14:34:40.452Z] Step 3/20 : ARG MAKE='make build' [2020-03-20T14:34:40.749Z] ---> Running in 12aebdc5fa8b [2020-03-20T14:34:40.749Z] Removing intermediate container 12aebdc5fa8b [2020-03-20T14:34:40.749Z] ---> 407ece85d300 [2020-03-20T14:34:40.749Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-20T14:34:40.749Z] ---> Running in 3befbb3094f6 [2020-03-20T14:34:41.012Z] Removing intermediate container 3befbb3094f6 [2020-03-20T14:34:41.012Z] ---> 64a42f0d8982 [2020-03-20T14:34:41.012Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-20T14:34:41.012Z] ---> Running in 2cdb95118101 [2020-03-20T14:34:41.298Z] Removing intermediate container 2cdb95118101 [2020-03-20T14:34:41.298Z] ---> 0d57bcdb1f28 [2020-03-20T14:34:41.298Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-20T14:34:41.298Z] ---> Running in f6b44d329daa [2020-03-20T14:34:42.312Z] Removing intermediate container f6b44d329daa [2020-03-20T14:34:42.312Z] ---> a804fd52d955 [2020-03-20T14:34:42.312Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-20T14:34:42.312Z] ---> Running in 677eba62a534 [2020-03-20T14:34:43.303Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-20T14:34:44.270Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-20T14:34:44.592Z] OK: 143 MiB in 39 packages [2020-03-20T14:34:45.190Z] Removing intermediate container 677eba62a534 [2020-03-20T14:34:45.190Z] ---> 83b70eeb58f4 [2020-03-20T14:34:45.190Z] Step 8/20 : COPY . . [2020-03-20T14:34:45.772Z] ---> 6e78beec4369 [2020-03-20T14:34:45.772Z] Step 9/20 : RUN ${MAKE} [2020-03-20T14:34:45.772Z] ---> Running in ed3701a4061d [2020-03-20T14:34:46.767Z] 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-20T14:35:14.137Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-20T14:35:16.688Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-20T14:35:24.548Z] Removing intermediate container ed3701a4061d [2020-03-20T14:35:24.548Z] ---> 99ebe1b4616c [2020-03-20T14:35:24.548Z] Step 10/20 : FROM scratch [2020-03-20T14:35:24.548Z] ---> [2020-03-20T14:35:24.548Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-20T14:35:24.548Z] ---> Running in 4725e19b1973 [2020-03-20T14:35:24.548Z] Removing intermediate container 4725e19b1973 [2020-03-20T14:35:24.548Z] ---> 734503f175a1 [2020-03-20T14:35:24.548Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-20T14:35:24.548Z] ---> Running in 7d8fb3e02c2d [2020-03-20T14:35:24.548Z] Removing intermediate container 7d8fb3e02c2d [2020-03-20T14:35:24.548Z] ---> 1102ebf10485 [2020-03-20T14:35:24.548Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-20T14:35:24.548Z] ---> Running in 701a43b01afb [2020-03-20T14:35:24.548Z] Removing intermediate container 701a43b01afb [2020-03-20T14:35:24.548Z] ---> 5e19a36b5a8a [2020-03-20T14:35:24.548Z] Step 14/20 : WORKDIR / [2020-03-20T14:35:24.548Z] ---> Running in c530476500b9 [2020-03-20T14:35:24.548Z] Removing intermediate container c530476500b9 [2020-03-20T14:35:24.548Z] ---> 7b953eebae97 [2020-03-20T14:35:24.548Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-20T14:35:24.548Z] ---> a2ec5a6e58d7 [2020-03-20T14:35:24.548Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-20T14:35:24.811Z] ---> 976d679383b1 [2020-03-20T14:35:24.811Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-20T14:35:24.811Z] ---> Running in 2e9a61d8d73b [2020-03-20T14:35:25.076Z] Removing intermediate container 2e9a61d8d73b [2020-03-20T14:35:25.076Z] ---> f2b608e98afc [2020-03-20T14:35:25.076Z] Step 18/20 : LABEL arch=amd64 [2020-03-20T14:35:25.076Z] ---> Running in 0816decce428 [2020-03-20T14:35:25.076Z] Removing intermediate container 0816decce428 [2020-03-20T14:35:25.076Z] ---> 3637f58b6b00 [2020-03-20T14:35:25.076Z] Step 19/20 : LABEL git_sha=0d7b0c518a2913b712e90387fbb0d2e19d83f755 [2020-03-20T14:35:25.341Z] ---> Running in 9106e4f5541b [2020-03-20T14:35:25.606Z] Removing intermediate container 9106e4f5541b [2020-03-20T14:35:25.606Z] ---> 6906606e3744 [2020-03-20T14:35:25.606Z] Step 20/20 : LABEL version=0.0.0 [2020-03-20T14:35:25.606Z] ---> Running in b6dbabd962ea [2020-03-20T14:35:25.866Z] Removing intermediate container b6dbabd962ea [2020-03-20T14:35:25.866Z] ---> 302819b7cf41 [2020-03-20T14:35:25.866Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-20T14:35:25.866Z] Successfully built 302819b7cf41 [2020-03-20T14:35:25.866Z] 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-20T14:35:26.798Z] Removing intermediate container 47850a0471d5 [2020-03-20T14:35:26.798Z] ---> 9a08ebbeb733 [2020-03-20T14:35:26.798Z] Step 10/20 : FROM scratch [2020-03-20T14:35:26.798Z] ---> [2020-03-20T14:35:26.798Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-20T14:35:26.798Z] ---> Running in f5630b53c648 [2020-03-20T14:35:26.798Z] Removing intermediate container f5630b53c648 [2020-03-20T14:35:26.798Z] ---> 9c8a192f3a4e [2020-03-20T14:35:26.798Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-20T14:35:26.798Z] ---> Running in 361b6877fd67 [2020-03-20T14:35:27.069Z] Removing intermediate container 361b6877fd67 [2020-03-20T14:35:27.069Z] ---> 136e99bb2ad5 [2020-03-20T14:35:27.069Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-20T14:35:27.340Z] ---> Running in 6b507cc6e896 [2020-03-20T14:35:27.612Z] Removing intermediate container 6b507cc6e896 [2020-03-20T14:35:27.612Z] ---> 53e8904e2418 [2020-03-20T14:35:27.612Z] Step 14/20 : WORKDIR / [2020-03-20T14:35:27.612Z] ---> Running in 224aedd16176 [2020-03-20T14:35:28.207Z] Removing intermediate container 224aedd16176 [2020-03-20T14:35:28.207Z] ---> fab11831eea8 [2020-03-20T14:35:28.207Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-20T14:35:29.179Z] ---> 625f1dfe2c48 [2020-03-20T14:35:29.179Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-20T14:35:29.768Z] ---> 28793f13cda8 [2020-03-20T14:35:29.768Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-20T14:35:29.768Z] ---> Running in e67095c1b81e [2020-03-20T14:35:30.356Z] Removing intermediate container e67095c1b81e [2020-03-20T14:35:30.356Z] ---> 2a5036abfb4c [2020-03-20T14:35:30.356Z] Step 18/20 : LABEL arch=arm64 [2020-03-20T14:35:30.356Z] ---> Running in 456ee9a2cf03 [2020-03-20T14:35:30.624Z] Removing intermediate container 456ee9a2cf03 [2020-03-20T14:35:30.624Z] ---> eab19582d91b [2020-03-20T14:35:30.624Z] Step 19/20 : LABEL git_sha=0d7b0c518a2913b712e90387fbb0d2e19d83f755 [2020-03-20T14:35:30.893Z] ---> Running in 0d9824e63980 [2020-03-20T14:35:31.162Z] Removing intermediate container 0d9824e63980 [2020-03-20T14:35:31.162Z] ---> 4fd70b6a4d1c [2020-03-20T14:35:31.162Z] Step 20/20 : LABEL version=0.0.0 [2020-03-20T14:35:31.162Z] ---> Running in 6d5017ae50b6 [2020-03-20T14:35:31.749Z] Removing intermediate container 6d5017ae50b6 [2020-03-20T14:35:31.749Z] ---> 4db1057b4194 [2020-03-20T14:35:31.749Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-20T14:35:31.749Z] Successfully built 4db1057b4194 [2020-03-20T14:35:31.749Z] 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-20T14:35:32.852Z] provisioning config files... [2020-03-20T14:35:32.876Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/config1964181444615723346tmp [Pipeline] { [Pipeline] sh [2020-03-20T14:35:33.255Z] + curl -s https://codecov.io/bash [2020-03-20T14:35:33.255Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/config1964181444615723346tmp [2020-03-20T14:35:41.379Z] [2020-03-20T14:35:41.379Z] _____ _ [2020-03-20T14:35:41.379Z] / ____| | | [2020-03-20T14:35:41.379Z] | | ___ __| | ___ ___ _____ __ [2020-03-20T14:35:41.379Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-20T14:35:41.379Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-20T14:35:41.379Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-20T14:35:41.379Z] Bash-tbd [2020-03-20T14:35:41.379Z] [2020-03-20T14:35:41.379Z] [2020-03-20T14:35:41.379Z] ==> Jenkins CI detected. [2020-03-20T14:35:41.379Z] project root: . [2020-03-20T14:35:41.379Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-20T14:35:41.379Z] ==> Running gcov in . (disable via -X gcov) [2020-03-20T14:35:41.379Z] ==> Python coveragepy not found [2020-03-20T14:35:41.379Z] ==> Searching for coverage reports in: [2020-03-20T14:35:41.379Z] + . [2020-03-20T14:35:41.379Z] -> Found 1 reports [2020-03-20T14:35:41.379Z] ==> Detecting git/mercurial file structure [2020-03-20T14:35:41.379Z] ==> Reading reports [2020-03-20T14:35:41.379Z] + ./coverage.out bytes=100201 [2020-03-20T14:35:41.379Z] ==> Appending adjustments [2020-03-20T14:35:41.379Z] http://docs.codecov.io/docs/fixing-reports [2020-03-20T14:35:41.379Z] + Found adjustments [2020-03-20T14:35:41.379Z] ==> Gzipping contents [2020-03-20T14:35:41.379Z] ==> Uploading reports [2020-03-20T14:35:41.379Z] url: https://codecov.io [2020-03-20T14:35:41.379Z] query: branch=PR-467&commit=0d7b0c518a2913b712e90387fbb0d2e19d83f755&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-467%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=467&job= [2020-03-20T14:35:41.379Z] -> Pinging Codecov [2020-03-20T14:35:41.379Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-467&commit=0d7b0c518a2913b712e90387fbb0d2e19d83f755&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-467%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=467&job= [2020-03-20T14:35:41.957Z] -> Uploading [2020-03-20T14:35:42.531Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0d7b0c518a2913b712e90387fbb0d2e19d83f755 [Pipeline] } [2020-03-20T14:35:42.538Z] 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-20T14:35:43.737Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-20T14:35:44.048Z] ---> package-listing.sh [2020-03-20T14:35:44.048Z] ++ facter osfamily [2020-03-20T14:35:44.048Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-20T14:35:44.048Z] + OS_FAMILY=redhat [2020-03-20T14:35:44.048Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-467 [2020-03-20T14:35:44.048Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-20T14:35:44.048Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-20T14:35:44.048Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-20T14:35:44.048Z] + PACKAGES=/tmp/packages_start.txt [2020-03-20T14:35:44.048Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-467 ']' [2020-03-20T14:35:44.048Z] + PACKAGES=/tmp/packages_end.txt [2020-03-20T14:35:44.048Z] + case "${OS_FAMILY}" in [2020-03-20T14:35:44.048Z] + rpm -qa [2020-03-20T14:35:44.048Z] + sort [2020-03-20T14:35:48.260Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-20T14:35:48.260Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-20T14:35:48.260Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-20T14:35:48.260Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-467 ']' [2020-03-20T14:35:48.260Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-467/archives/ [2020-03-20T14:35:48.260Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-467/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-20T14:35:48.775Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-20T14:35:48.775Z] [2020-03-20T14:35:48.775Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-20T14:35:49.146Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-20T14:35:49.146Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-20T14:35:49.146Z] c9b1b535fdd9: Pulling fs layer [2020-03-20T14:35:49.146Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-20T14:35:49.146Z] 756a868c4378: Pulling fs layer [2020-03-20T14:35:49.146Z] 444b2fc9a129: Pulling fs layer [2020-03-20T14:35:49.146Z] ea15f1150254: Pulling fs layer [2020-03-20T14:35:49.146Z] 41b27a9f41bf: Pulling fs layer [2020-03-20T14:35:49.146Z] 28c525ee5125: Pulling fs layer [2020-03-20T14:35:49.146Z] 094b1ea09ed8: Pulling fs layer [2020-03-20T14:35:49.146Z] 138eaada9080: Pulling fs layer [2020-03-20T14:35:49.146Z] 0622d0fa9048: Pulling fs layer [2020-03-20T14:35:49.146Z] 41b27a9f41bf: Waiting [2020-03-20T14:35:49.146Z] 28c525ee5125: Waiting [2020-03-20T14:35:49.146Z] 094b1ea09ed8: Waiting [2020-03-20T14:35:49.146Z] 138eaada9080: Waiting [2020-03-20T14:35:49.146Z] 0622d0fa9048: Waiting [2020-03-20T14:35:49.146Z] 444b2fc9a129: Waiting [2020-03-20T14:35:49.146Z] ea15f1150254: Waiting [2020-03-20T14:35:49.146Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-20T14:35:49.146Z] 2cc5ad85d9ab: Download complete [2020-03-20T14:35:49.146Z] 444b2fc9a129: Verifying Checksum [2020-03-20T14:35:49.146Z] 444b2fc9a129: Download complete [2020-03-20T14:35:49.146Z] c9b1b535fdd9: Verifying Checksum [2020-03-20T14:35:49.146Z] c9b1b535fdd9: Download complete [2020-03-20T14:35:49.146Z] ea15f1150254: Download complete [2020-03-20T14:35:49.414Z] 28c525ee5125: Verifying Checksum [2020-03-20T14:35:49.414Z] 28c525ee5125: Download complete [2020-03-20T14:35:49.689Z] c9b1b535fdd9: Pull complete [2020-03-20T14:35:49.689Z] 756a868c4378: Verifying Checksum [2020-03-20T14:35:49.689Z] 756a868c4378: Download complete [2020-03-20T14:35:49.689Z] 2cc5ad85d9ab: Pull complete [2020-03-20T14:35:49.949Z] 138eaada9080: Verifying Checksum [2020-03-20T14:35:49.949Z] 138eaada9080: Download complete [2020-03-20T14:35:49.949Z] 0622d0fa9048: Verifying Checksum [2020-03-20T14:35:49.949Z] 0622d0fa9048: Download complete [2020-03-20T14:35:49.949Z] 094b1ea09ed8: Verifying Checksum [2020-03-20T14:35:49.949Z] 094b1ea09ed8: Download complete [2020-03-20T14:35:50.524Z] 41b27a9f41bf: Verifying Checksum [2020-03-20T14:35:50.524Z] 41b27a9f41bf: Download complete [2020-03-20T14:35:51.677Z] 756a868c4378: Pull complete [2020-03-20T14:35:51.936Z] 444b2fc9a129: Pull complete [2020-03-20T14:35:52.195Z] ea15f1150254: Pull complete [2020-03-20T14:35:55.492Z] 41b27a9f41bf: Pull complete [2020-03-20T14:35:55.492Z] 28c525ee5125: Pull complete [2020-03-20T14:35:58.035Z] 094b1ea09ed8: Pull complete [2020-03-20T14:35:58.035Z] 138eaada9080: Pull complete [2020-03-20T14:35:58.035Z] 0622d0fa9048: Pull complete [2020-03-20T14:35:58.035Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-20T14:35:58.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-20T14:35:58.177Z] prd-centos7-docker-4c-2g-144 does not seem to be running inside a container [2020-03-20T14:35:58.216Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-467 -v /w/workspace/dgexfoundry_device-sdk-go_PR-467:/w/workspace/dgexfoundry_device-sdk-go_PR-467:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-20T14:35:59.285Z] $ docker top 4d1e70a00ce6f6e3111a5c6470b17cd9869b0c21b2cabd338160cea6d860bbfe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-20T14:35:59.532Z] provisioning config files... [2020-03-20T14:35:59.546Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-467@tmp/config1982101635091543772tmp [Pipeline] { [Pipeline] echo [2020-03-20T14:35:59.643Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-20T14:35:59.939Z] ---> create-netrc.sh [Pipeline] echo [2020-03-20T14:35:59.946Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-20T14:36:00.241Z] ---> logs-deploy.sh [2020-03-20T14:36:00.241Z] + ARCHIVE_ARTIFACTS= [2020-03-20T14:36:00.241Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-20T14:36:00.241Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-20T14:36:00.241Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-20T14:36:00.241Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-467/2 [2020-03-20T14:36:00.241Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-467/2/ [2020-03-20T14:36:00.241Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-467/2 /w/workspace/dgexfoundry_device-sdk-go_PR-467 [2020-03-20T14:36:01.622Z] Archives upload complete. [2020-03-20T14:36:01.622Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-467/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-467/2/