Branch indexing 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 IOTechSystems for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 rather than 0fc675572b153d99f6acb20426b41e745295abcf Obtained Jenkinsfile from 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 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-210 in /w/workspace/dgexfoundry_device-sdk-go_PR-429 [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-429 # 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/429/head:refs/remotes/origin/PR-429 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 0fc675572b153d99f6acb20426b41e745295abcf Merge succeeded, producing 967fc596d104cd3de29b9da9f4866e0708061fd6 Checking out Revision 967fc596d104cd3de29b9da9f4866e0708061fd6 (PR-429) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/429/head:refs/remotes/origin/PR-429 # 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/429/head:refs/remotes/origin/PR-429 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0fc675572b153d99f6acb20426b41e745295abcf # 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 967fc596d104cd3de29b9da9f4866e0708061fd6 # timeout=10 Commit message: "Merge commit '9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91' into HEAD" > git rev-list --no-walk 0fc675572b153d99f6acb20426b41e745295abcf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-12T02:45:18.326Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-12T02:45:20.336Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-12T02:45:20.337Z] [2020-03-12T02:45:20.337Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-12T02:45:20.729Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-12T02:45:20.729Z] latest: Pulling from edgex-devops/git-semver [2020-03-12T02:45:20.729Z] 9123ac7c32f7: Pulling fs layer [2020-03-12T02:45:20.729Z] b8cc5d1170e3: Pulling fs layer [2020-03-12T02:45:20.729Z] 2924cbbf6a41: Pulling fs layer [2020-03-12T02:45:20.729Z] 93b08a4f1073: Pulling fs layer [2020-03-12T02:45:20.729Z] 93b08a4f1073: Waiting [2020-03-12T02:45:20.729Z] b8cc5d1170e3: Verifying Checksum [2020-03-12T02:45:20.729Z] b8cc5d1170e3: Download complete [2020-03-12T02:45:21.007Z] 9123ac7c32f7: Verifying Checksum [2020-03-12T02:45:21.007Z] 9123ac7c32f7: Download complete [2020-03-12T02:45:21.282Z] 9123ac7c32f7: Pull complete [2020-03-12T02:45:21.545Z] b8cc5d1170e3: Pull complete [2020-03-12T02:45:21.545Z] 93b08a4f1073: Verifying Checksum [2020-03-12T02:45:21.545Z] 93b08a4f1073: Download complete [2020-03-12T02:45:21.545Z] 2924cbbf6a41: Verifying Checksum [2020-03-12T02:45:21.545Z] 2924cbbf6a41: Download complete [2020-03-12T02:45:23.365Z] 2924cbbf6a41: Pull complete [2020-03-12T02:45:23.754Z] 93b08a4f1073: Pull complete [2020-03-12T02:45:23.754Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-12T02:45:23.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-12T02:45:24.160Z] prd-centos7-docker-4c-2g-210 does not seem to be running inside a container [2020-03-12T02:45:24.480Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-429 -v /w/workspace/dgexfoundry_device-sdk-go_PR-429:/w/workspace/dgexfoundry_device-sdk-go_PR-429:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-429@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-12T02:45:25.532Z] $ docker top 1a79310655a3336e2601c6c5e7a80bc0bbb77c179b2b751bc3b44cfeb49f33ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-12T02:45:25.846Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-12T02:45:25.846Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-12T02:45:26.360Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-12T02:45:26.369Z] $ docker exec 1a79310655a3336e2601c6c5e7a80bc0bbb77c179b2b751bc3b44cfeb49f33ac ssh-agent [2020-03-12T02:45:27.040Z] SSH_AUTH_SOCK=/tmp/ssh-ShC16Zk9qzvH/agent.15 [2020-03-12T02:45:27.040Z] SSH_AGENT_PID=21 [2020-03-12T02:45:27.069Z] Running ssh-add (command line suppressed) [2020-03-12T02:45:27.794Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/private_key_975058571231337507.key (/w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/private_key_975058571231337507.key) [2020-03-12T02:45:27.969Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-12T02:45:28.668Z] + git describe --exact-match --tags HEAD [2020-03-12T02:45:28.668Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-12T02:45:28.903Z] $ docker exec --env ******** --env ******** 1a79310655a3336e2601c6c5e7a80bc0bbb77c179b2b751bc3b44cfeb49f33ac ssh-agent -k [2020-03-12T02:45:29.458Z] unset SSH_AUTH_SOCK; [2020-03-12T02:45:29.459Z] unset SSH_AGENT_PID; [2020-03-12T02:45:29.459Z] echo Agent pid 21 killed; [2020-03-12T02:45:29.628Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-12T02:45:29.711Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-12T02:45:29.711Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-12T02:45:29.828Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-12T02:45:29.828Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-12T02:45:31.134Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-12T02:45:31.143Z] $ docker exec 1a79310655a3336e2601c6c5e7a80bc0bbb77c179b2b751bc3b44cfeb49f33ac ssh-agent [2020-03-12T02:45:32.559Z] SSH_AUTH_SOCK=/tmp/ssh-FpD0CN6dysQ9/agent.56 [2020-03-12T02:45:32.559Z] SSH_AGENT_PID=63 [2020-03-12T02:45:32.568Z] Running ssh-add (command line suppressed) [2020-03-12T02:45:32.853Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/private_key_5209150145515284232.key (/w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/private_key_5209150145515284232.key) [2020-03-12T02:45:33.159Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-12T02:45:33.884Z] + git semver init [2020-03-12T02:45:34.160Z] # -> Open(): unable to determine branch for HEAD [2020-03-12T02:45:34.160Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-429/.git [2020-03-12T02:45:34.160Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-429 [2020-03-12T02:45:34.160Z] # $SEMVER_REMOTE_NAME = origin [2020-03-12T02:45:34.160Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-12T02:45:34.160Z] # $SEMVER_USER_NAME = jenkins [2020-03-12T02:45:34.160Z] # $SEMVER_BRANCH = PR-429 [2020-03-12T02:45:34.160Z] # $SEMVER_TEMP = /tmp/semver-586782810 [2020-03-12T02:45:34.160Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-12T02:45:35.216Z] # '/tmp/semver-586782810' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-429/.semver' [2020-03-12T02:45:35.216Z] # -> Force: false [2020-03-12T02:45:35.216Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-429/.semver [Pipeline] } [2020-03-12T02:45:35.247Z] $ docker exec --env ******** --env ******** 1a79310655a3336e2601c6c5e7a80bc0bbb77c179b2b751bc3b44cfeb49f33ac ssh-agent -k [2020-03-12T02:45:36.000Z] unset SSH_AUTH_SOCK; [2020-03-12T02:45:36.001Z] unset SSH_AGENT_PID; [2020-03-12T02:45:36.001Z] echo Agent pid 63 killed; [2020-03-12T02:45:36.120Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-12T02:45:37.016Z] + git semver [Pipeline] } [2020-03-12T02:45:37.071Z] $ docker stop --time=1 1a79310655a3336e2601c6c5e7a80bc0bbb77c179b2b751bc3b44cfeb49f33ac [2020-03-12T02:45:38.977Z] $ docker rm -f 1a79310655a3336e2601c6c5e7a80bc0bbb77c179b2b751bc3b44cfeb49f33ac [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-12T02:45:40.750Z] Stashed 32 file(s) [Pipeline] echo [2020-03-12T02:45:40.752Z] [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-12T02:45:42.492Z] Running on prd-centos7-docker-4c-2g-212 in /w/workspace/dgexfoundry_device-sdk-go_PR-429 [Pipeline] { [Pipeline] ws [2020-03-12T02:45:42.532Z] Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout [2020-03-12T02:45:44.727Z] using credential edgex-jenkins-ssh [2020-03-12T02:45:44.775Z] Cloning the remote Git repository [2020-03-12T02:45:44.775Z] Cloning with configured refspecs honoured and without tags [2020-03-12T02:45:44.811Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-12T02:45:44.851Z] > git init /w/workspace/device-sdk-go/12 # timeout=10 [2020-03-12T02:45:44.903Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-12T02:45:44.903Z] > git --version # timeout=10 [2020-03-12T02:45:44.913Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-12T02:45:44.949Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-12T02:45:45.533Z] Fetching without tags [2020-03-12T02:45:45.951Z] Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 0fc675572b153d99f6acb20426b41e745295abcf [2020-03-12T02:45:46.059Z] Merge succeeded, producing 16cda8d00329831adf339ef42409955679630f61 [2020-03-12T02:45:46.060Z] Checking out Revision 16cda8d00329831adf339ef42409955679630f61 (PR-429) [2020-03-12T02:45:45.510Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-12T02:45:45.515Z] > git config --add remote.origin.fetch +refs/pull/429/head:refs/remotes/origin/PR-429 # timeout=10 [2020-03-12T02:45:45.521Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-12T02:45:45.533Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-12T02:45:45.543Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-12T02:45:45.543Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-12T02:45:45.548Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-12T02:45:45.965Z] > git config core.sparsecheckout # timeout=10 [2020-03-12T02:45:45.971Z] > git checkout -f 0fc675572b153d99f6acb20426b41e745295abcf # timeout=10 [2020-03-12T02:45:46.018Z] > git remote # timeout=10 [2020-03-12T02:45:46.023Z] > git config --get remote.origin.url # timeout=10 [2020-03-12T02:45:46.031Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-12T02:45:46.035Z] > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 [2020-03-12T02:45:46.058Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-12T02:45:46.069Z] > git config core.sparsecheckout # timeout=10 [2020-03-12T02:45:46.078Z] > git checkout -f 16cda8d00329831adf339ef42409955679630f61 # timeout=10 [2020-03-12T02:45:49.830Z] Commit message: "Merge commit '9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91' into HEAD" [2020-03-12T02:45:49.841Z] > git rev-list --no-walk 0fc675572b153d99f6acb20426b41e745295abcf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-12T02:45:50.622Z] ========================================================= [2020-03-12T02:45:50.622Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-12T02:45:50.622Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-12T02:45:51.250Z] + 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-12T02:45:51.512Z] Sending build context to Docker daemon 2.684MB [2020-03-12T02:45:51.512Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-12T02:45:51.512Z] Step 2/8 : FROM ${BASE} [2020-03-12T02:45:51.776Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-12T02:45:51.776Z] e6b0cf9c0882: Pulling fs layer [2020-03-12T02:45:51.776Z] 2848faf0eed1: Pulling fs layer [2020-03-12T02:45:51.776Z] 0f37312ad70f: Pulling fs layer [2020-03-12T02:45:51.776Z] 5788d62ee057: Pulling fs layer [2020-03-12T02:45:51.776Z] 0e6b1d234666: Pulling fs layer [2020-03-12T02:45:51.776Z] bf5d7aec512f: Pulling fs layer [2020-03-12T02:45:51.776Z] 34c802a77dc8: Pulling fs layer [2020-03-12T02:45:51.776Z] 9eb99e56ec68: Pulling fs layer [2020-03-12T02:45:51.776Z] 27c7a5d97fbd: Pulling fs layer [2020-03-12T02:45:51.776Z] 5c102a31e300: Pulling fs layer [2020-03-12T02:45:51.776Z] dcfb455df0a1: Pulling fs layer [2020-03-12T02:45:51.776Z] 5788d62ee057: Waiting [2020-03-12T02:45:51.776Z] 0e6b1d234666: Waiting [2020-03-12T02:45:51.776Z] bf5d7aec512f: Waiting [2020-03-12T02:45:51.776Z] 34c802a77dc8: Waiting [2020-03-12T02:45:51.776Z] 9eb99e56ec68: Waiting [2020-03-12T02:45:51.776Z] 27c7a5d97fbd: Waiting [2020-03-12T02:45:51.776Z] 5c102a31e300: Waiting [2020-03-12T02:45:51.776Z] dcfb455df0a1: Waiting [2020-03-12T02:45:51.776Z] 0f37312ad70f: Verifying Checksum [2020-03-12T02:45:51.776Z] 0f37312ad70f: Download complete [2020-03-12T02:45:51.776Z] 2848faf0eed1: Verifying Checksum [2020-03-12T02:45:51.776Z] 2848faf0eed1: Download complete [2020-03-12T02:45:51.776Z] 0e6b1d234666: Verifying Checksum [2020-03-12T02:45:51.776Z] 0e6b1d234666: Download complete [2020-03-12T02:45:51.776Z] bf5d7aec512f: Verifying Checksum [2020-03-12T02:45:51.776Z] bf5d7aec512f: Download complete [2020-03-12T02:45:51.776Z] e6b0cf9c0882: Verifying Checksum [2020-03-12T02:45:51.776Z] e6b0cf9c0882: Download complete [2020-03-12T02:45:52.352Z] e6b0cf9c0882: Pull complete [2020-03-12T02:45:52.617Z] 34c802a77dc8: Verifying Checksum [2020-03-12T02:45:52.617Z] 34c802a77dc8: Download complete [2020-03-12T02:45:52.617Z] 27c7a5d97fbd: Verifying Checksum [2020-03-12T02:45:52.617Z] 27c7a5d97fbd: Download complete [2020-03-12T02:45:53.579Z] 5c102a31e300: Verifying Checksum [2020-03-12T02:45:53.579Z] 5c102a31e300: Download complete [2020-03-12T02:45:53.579Z] dcfb455df0a1: Verifying Checksum [2020-03-12T02:45:53.579Z] dcfb455df0a1: Download complete [2020-03-12T02:45:53.579Z] 9eb99e56ec68: Verifying Checksum [2020-03-12T02:45:53.579Z] 9eb99e56ec68: Download complete [2020-03-12T02:45:53.838Z] 5788d62ee057: Verifying Checksum [2020-03-12T02:45:54.406Z] 2848faf0eed1: Pull complete [2020-03-12T02:45:54.406Z] 0f37312ad70f: Pull complete [2020-03-12T02:45:55.988Z] Still waiting to schedule task [2020-03-12T02:45:55.988Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-03-12T02:46:00.995Z] 5788d62ee057: Pull complete [2020-03-12T02:46:00.995Z] 0e6b1d234666: Pull complete [2020-03-12T02:46:00.995Z] bf5d7aec512f: Pull complete [2020-03-12T02:46:11.109Z] 34c802a77dc8: Pull complete [2020-03-12T02:46:13.026Z] 9eb99e56ec68: Pull complete [2020-03-12T02:46:13.026Z] 27c7a5d97fbd: Pull complete [2020-03-12T02:46:13.593Z] 5c102a31e300: Pull complete [2020-03-12T02:46:13.856Z] dcfb455df0a1: Pull complete [2020-03-12T02:46:13.856Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-12T02:46:13.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-12T02:46:13.856Z] ---> 7c70fe431013 [2020-03-12T02:46:13.856Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-12T02:46:13.856Z] ---> Running in 117e1f50355d [2020-03-12T02:46:14.116Z] Removing intermediate container 117e1f50355d [2020-03-12T02:46:14.116Z] ---> 5b50be115e7e [2020-03-12T02:46:14.116Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-12T02:46:14.116Z] ---> Running in cd63dc1b16ee [2020-03-12T02:46:15.054Z] Removing intermediate container cd63dc1b16ee [2020-03-12T02:46:15.054Z] ---> ea2be8d01fba [2020-03-12T02:46:15.054Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-12T02:46:15.054Z] ---> Running in 261048a137d4 [2020-03-12T02:46:15.319Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-12T02:46:16.256Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-12T02:46:16.256Z] OK: 143 MiB in 39 packages [2020-03-12T02:46:16.824Z] Removing intermediate container 261048a137d4 [2020-03-12T02:46:16.824Z] ---> 3d783d74f545 [2020-03-12T02:46:16.824Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-12T02:46:16.824Z] ---> Running in 6aa823cd96e2 [2020-03-12T02:46:16.824Z] Removing intermediate container 6aa823cd96e2 [2020-03-12T02:46:16.824Z] ---> 0afac8b13108 [2020-03-12T02:46:16.824Z] Step 7/8 : COPY . . [2020-03-12T02:46:17.394Z] ---> 02a6c8574181 [2020-03-12T02:46:17.394Z] Step 8/8 : RUN go mod download [2020-03-12T02:46:17.655Z] ---> Running in 3e3eb16329c0 [2020-03-12T02:46:19.048Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-12T02:46:19.048Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-12T02:46:19.048Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-12T02:46:19.048Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-12T02:46:19.048Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-12T02:46:19.048Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-12T02:46:19.048Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-12T02:46:19.048Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-12T02:46:19.048Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-12T02:46:19.048Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-12T02:46:19.048Z] go: finding github.com/fatih/color v1.7.0 [2020-03-12T02:46:19.048Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-12T02:46:19.048Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-12T02:46:19.048Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-12T02:46:19.048Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-12T02:46:19.048Z] go: finding github.com/google/uuid v1.1.0 [2020-03-12T02:46:19.048Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-12T02:46:19.048Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-12T02:46:19.048Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-12T02:46:19.048Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-12T02:46:19.048Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-12T02:46:19.308Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-12T02:46:19.308Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-12T02:46:19.308Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-12T02:46:19.308Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-12T02:46:19.308Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-12T02:46:19.308Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-12T02:46:19.308Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-12T02:46:19.308Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-12T02:46:19.308Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-12T02:46:19.308Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-12T02:46:19.308Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-12T02:46:19.308Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-12T02:46:19.308Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-12T02:46:19.308Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-12T02:46:19.308Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-12T02:46:19.308Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-12T02:46:19.308Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-12T02:46:19.308Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-12T02:46:19.308Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-12T02:46:19.308Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-12T02:46:19.308Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-12T02:46:19.308Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-12T02:46:19.308Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-12T02:46:19.308Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-12T02:46:19.308Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-12T02:46:19.308Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-12T02:46:19.308Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-12T02:46:19.308Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-12T02:46:19.308Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-12T02:46:19.308Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-12T02:46:19.308Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-12T02:46:19.308Z] go: finding github.com/posener/complete v1.1.1 [2020-03-12T02:46:19.569Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-12T02:46:19.569Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-12T02:46:19.569Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-12T02:46:19.569Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-12T02:46:19.569Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-12T02:46:19.569Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-12T02:46:19.569Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-12T02:46:19.569Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-12T02:46:19.569Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-12T02:46:19.569Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-12T02:46:19.569Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-12T02:46:27.696Z] Removing intermediate container 3e3eb16329c0 [2020-03-12T02:46:27.696Z] ---> f97f52d604cf [2020-03-12T02:46:27.696Z] Successfully built f97f52d604cf [2020-03-12T02:46:27.696Z] 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-12T02:46:28.244Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-12T02:46:28.244Z] . [Pipeline] withDockerContainer [2020-03-12T02:46:28.367Z] prd-centos7-docker-4c-2g-212 does not seem to be running inside a container [2020-03-12T02:46:28.416Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-03-12T02:46:28.941Z] $ docker top 30f23baaefdd42b039d9091f4d1aaedbff99a2fa1ad949f94c9a32e7013efdd4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-12T02:46:29.423Z] + go version [2020-03-12T02:46:29.423Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-12T02:46:29.729Z] + make test [2020-03-12T02:46:29.729Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-12T02:46:44.683Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-12T02:46:44.683Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-12T02:46:44.683Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-12T02:46:47.227Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.016s coverage: 23.1% of statements [2020-03-12T02:46:47.227Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.066s coverage: 95.8% of statements [2020-03-12T02:46:50.534Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.504s coverage: 12.7% of statements [2020-03-12T02:46:50.534Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 24.2% of statements [2020-03-12T02:47:22.643Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.017s coverage: 30.0% of statements [2020-03-12T02:47:22.643Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.427s coverage: 42.3% of statements [2020-03-12T02:47:22.643Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-12T02:47:22.643Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-12T02:47:22.643Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.355s coverage: 79.3% of statements [2020-03-12T02:47:22.643Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-12T02:47:22.643Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-12T02:47:22.643Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-12T02:47:22.643Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.018s coverage: 52.6% of statements [2020-03-12T02:47:22.643Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.113s coverage: 76.1% of statements [2020-03-12T02:47:22.643Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-12T02:47:22.643Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-12T02:47:22.643Z] gofmt -l . [2020-03-12T02:47:22.643Z] [ "`gofmt -l .`" = "" ] [2020-03-12T02:47:22.643Z] ./bin/test-attribution-txt.sh [2020-03-12T02:47:22.905Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-12T02:47:23.588Z] Stashed 1 file(s) [Pipeline] } [2020-03-12T02:47:23.599Z] $ docker stop --time=1 30f23baaefdd42b039d9091f4d1aaedbff99a2fa1ad949f94c9a32e7013efdd4 [2020-03-12T02:47:25.130Z] $ docker rm -f 30f23baaefdd42b039d9091f4d1aaedbff99a2fa1ad949f94c9a32e7013efdd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-12T02:47:26.084Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-12T02:47:26.376Z] + ls -al . [2020-03-12T02:47:26.376Z] total 200 [2020-03-12T02:47:26.376Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 12 02:47 . [2020-03-12T02:47:26.376Z] drwxrwxr-x. 4 jenkins jenkins 30 Mar 12 02:45 .. [2020-03-12T02:47:26.376Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 12 02:45 api [2020-03-12T02:47:26.376Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 12 02:45 async.go [2020-03-12T02:47:26.376Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 12 02:45 bin [2020-03-12T02:47:26.376Z] -rw-r--r--. 1 jenkins jenkins 100521 Mar 12 02:47 coverage.out [2020-03-12T02:47:26.376Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 12 02:45 Dockerfile.build [2020-03-12T02:47:26.376Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 12 02:45 .dockerignore [2020-03-12T02:47:26.376Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 12 02:45 example [2020-03-12T02:47:26.376Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 12 02:45 .git [2020-03-12T02:47:26.376Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 12 02:45 .github [2020-03-12T02:47:26.376Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 12 02:45 .gitignore [2020-03-12T02:47:26.376Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 12 02:47 go.mod [2020-03-12T02:47:26.376Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 12 02:47 go.sum [2020-03-12T02:47:26.376Z] drwxrwxr-x. 13 jenkins jenkins 176 Mar 12 02:45 internal [2020-03-12T02:47:26.376Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 12 02:45 Jenkinsfile [2020-03-12T02:47:26.376Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 12 02:45 LICENSE [2020-03-12T02:47:26.376Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 12 02:45 Makefile [2020-03-12T02:47:26.376Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 12 02:45 manageddevices.go [2020-03-12T02:47:26.376Z] -rw-rw-r--. 1 jenkins jenkins 5473 Mar 12 02:45 managedprofiles.go [2020-03-12T02:47:26.376Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 12 02:45 managedwatchers.go [2020-03-12T02:47:26.376Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 12 02:45 pkg [2020-03-12T02:47:26.376Z] -rw-rw-r--. 1 jenkins jenkins 761 Mar 12 02:45 README.md [2020-03-12T02:47:26.376Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 12 02:45 .semver [2020-03-12T02:47:26.377Z] -rw-rw-r--. 1 jenkins jenkins 9817 Mar 12 02:45 service.go [2020-03-12T02:47:26.377Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 12 02:45 snap [2020-03-12T02:47:26.377Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 12 02:45 VERSION [2020-03-12T02:47:26.377Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 12 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-12T02:47:26.672Z] + 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=967fc596d104cd3de29b9da9f4866e0708061fd6 --label arch=amd64 --label version=0.0.0 . [2020-03-12T02:47:26.672Z] Sending build context to Docker daemon 2.811MB [2020-03-12T02:47:26.672Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-12T02:47:26.672Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-12T02:47:26.672Z] ---> f97f52d604cf [2020-03-12T02:47:26.672Z] Step 3/20 : ARG MAKE='make build' [2020-03-12T02:47:26.931Z] ---> Running in 97747df1c553 [2020-03-12T02:47:26.931Z] Removing intermediate container 97747df1c553 [2020-03-12T02:47:26.931Z] ---> d44d1069e896 [2020-03-12T02:47:26.931Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-12T02:47:26.931Z] ---> Running in c099e87c2181 [2020-03-12T02:47:27.189Z] Removing intermediate container c099e87c2181 [2020-03-12T02:47:27.189Z] ---> 1f627f860274 [2020-03-12T02:47:27.189Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-12T02:47:27.189Z] ---> Running in 338dce75c209 [2020-03-12T02:47:27.448Z] Removing intermediate container 338dce75c209 [2020-03-12T02:47:27.448Z] ---> d489235f284e [2020-03-12T02:47:27.448Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-12T02:47:27.448Z] ---> Running in 4c4153bc9a4a [2020-03-12T02:47:28.389Z] Removing intermediate container 4c4153bc9a4a [2020-03-12T02:47:28.389Z] ---> b9a08308005f [2020-03-12T02:47:28.389Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-12T02:47:28.389Z] ---> Running in 8d8337069f38 [2020-03-12T02:47:28.648Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-12T02:47:29.216Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-12T02:47:29.475Z] OK: 143 MiB in 39 packages [2020-03-12T02:47:30.042Z] Removing intermediate container 8d8337069f38 [2020-03-12T02:47:30.042Z] ---> 6b37337e3ad2 [2020-03-12T02:47:30.042Z] Step 8/20 : COPY . . [2020-03-12T02:47:30.300Z] ---> 66d8cfecf009 [2020-03-12T02:47:30.300Z] Step 9/20 : RUN ${MAKE} [2020-03-12T02:47:30.300Z] ---> Running in 1f0919da4125 [2020-03-12T02:47:30.879Z] 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-12T02:47:43.210Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-12T02:47:47.469Z] Removing intermediate container 1f0919da4125 [2020-03-12T02:47:47.469Z] ---> 478ef617cd26 [2020-03-12T02:47:47.469Z] Step 10/20 : FROM scratch [2020-03-12T02:47:47.469Z] ---> [2020-03-12T02:47:47.469Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-12T02:47:47.728Z] ---> Running in fa83ce5f35f0 [2020-03-12T02:47:47.728Z] Removing intermediate container fa83ce5f35f0 [2020-03-12T02:47:47.728Z] ---> d457d6f81e20 [2020-03-12T02:47:47.728Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-12T02:47:47.728Z] ---> Running in 1925d506854d [2020-03-12T02:47:47.987Z] Removing intermediate container 1925d506854d [2020-03-12T02:47:47.987Z] ---> e576e64b8359 [2020-03-12T02:47:47.987Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-12T02:47:47.987Z] ---> Running in a34588e35bec [2020-03-12T02:47:48.253Z] Removing intermediate container a34588e35bec [2020-03-12T02:47:48.253Z] ---> 17c37cdfc1fd [2020-03-12T02:47:48.253Z] Step 14/20 : WORKDIR / [2020-03-12T02:47:48.253Z] ---> Running in 0ba5bad915e9 [2020-03-12T02:47:48.253Z] Removing intermediate container 0ba5bad915e9 [2020-03-12T02:47:48.253Z] ---> 8cab655976ed [2020-03-12T02:47:48.253Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-12T02:47:48.823Z] ---> a5a18af22336 [2020-03-12T02:47:48.823Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-12T02:47:49.081Z] ---> d60b79c1bf58 [2020-03-12T02:47:49.081Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-12T02:47:49.081Z] ---> Running in 2e75e2b487c8 [2020-03-12T02:47:49.081Z] Removing intermediate container 2e75e2b487c8 [2020-03-12T02:47:49.081Z] ---> 29edc056483d [2020-03-12T02:47:49.081Z] Step 18/20 : LABEL arch=amd64 [2020-03-12T02:47:49.340Z] ---> Running in 2cba4fdfbdd9 [2020-03-12T02:47:49.340Z] Removing intermediate container 2cba4fdfbdd9 [2020-03-12T02:47:49.340Z] ---> 46d19da1b65a [2020-03-12T02:47:49.340Z] Step 19/20 : LABEL git_sha=967fc596d104cd3de29b9da9f4866e0708061fd6 [2020-03-12T02:47:49.340Z] ---> Running in c9d9540f4e3e [2020-03-12T02:47:49.598Z] Removing intermediate container c9d9540f4e3e [2020-03-12T02:47:49.598Z] ---> 0ea9c2638e2e [2020-03-12T02:47:49.598Z] Step 20/20 : LABEL version=0.0.0 [2020-03-12T02:47:49.598Z] ---> Running in 01ae093b99ab [2020-03-12T02:47:49.598Z] Removing intermediate container 01ae093b99ab [2020-03-12T02:47:49.598Z] ---> 17168bf31e42 [2020-03-12T02:47:49.598Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-12T02:47:49.598Z] Successfully built 17168bf31e42 [2020-03-12T02:47:49.598Z] 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-12T02:49:22.372Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-215 in /w/workspace/dgexfoundry_device-sdk-go_PR-429 [Pipeline] { [Pipeline] ws [2020-03-12T02:49:22.441Z] Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout [2020-03-12T02:49:29.328Z] using credential edgex-jenkins-ssh [2020-03-12T02:49:29.382Z] Cloning the remote Git repository [2020-03-12T02:49:29.382Z] Cloning with configured refspecs honoured and without tags [2020-03-12T02:49:29.459Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-12T02:49:29.568Z] > git init /w/workspace/device-sdk-go/12 # timeout=10 [2020-03-12T02:49:29.681Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-12T02:49:29.682Z] > git --version # timeout=10 [2020-03-12T02:49:29.716Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-12T02:49:29.785Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-12T02:49:30.995Z] Fetching without tags [2020-03-12T02:49:31.477Z] Merging remotes/origin/master commit 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 into PR head commit 0fc675572b153d99f6acb20426b41e745295abcf [2020-03-12T02:49:30.861Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-12T02:49:30.885Z] > git config --add remote.origin.fetch +refs/pull/429/head:refs/remotes/origin/PR-429 # timeout=10 [2020-03-12T02:49:30.918Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-12T02:49:30.968Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-12T02:49:31.017Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-12T02:49:31.018Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-12T02:49:31.040Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-12T02:49:31.500Z] > git config core.sparsecheckout # timeout=10 [2020-03-12T02:49:31.542Z] > git checkout -f 0fc675572b153d99f6acb20426b41e745295abcf # timeout=10 [2020-03-12T02:49:31.845Z] Merge succeeded, producing 93a793ccd07ac4e4ed08323d9231f4c13c349299 [2020-03-12T02:49:31.845Z] Checking out Revision 93a793ccd07ac4e4ed08323d9231f4c13c349299 (PR-429) [2020-03-12T02:49:31.673Z] > git remote # timeout=10 [2020-03-12T02:49:31.691Z] > git config --get remote.origin.url # timeout=10 [2020-03-12T02:49:31.723Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-12T02:49:31.733Z] > git merge 9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 # timeout=10 [2020-03-12T02:49:31.820Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-12T02:49:31.855Z] > git config core.sparsecheckout # timeout=10 [2020-03-12T02:49:31.880Z] > git checkout -f 93a793ccd07ac4e4ed08323d9231f4c13c349299 # timeout=10 [2020-03-12T02:49:36.777Z] Commit message: "Merge commit '9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91' into HEAD" [2020-03-12T02:49:36.789Z] > git rev-list --no-walk 0fc675572b153d99f6acb20426b41e745295abcf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-12T02:49:38.094Z] ========================================================= [2020-03-12T02:49:38.094Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-12T02:49:38.094Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-12T02:49:39.201Z] + 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-12T02:49:40.173Z] Sending build context to Docker daemon 2.687MB [2020-03-12T02:49:40.173Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-12T02:49:40.173Z] Step 2/8 : FROM ${BASE} [2020-03-12T02:49:40.443Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-12T02:49:40.443Z] cde5963f3b93: Pulling fs layer [2020-03-12T02:49:40.443Z] 2a23fa8c16f7: Pulling fs layer [2020-03-12T02:49:40.443Z] 777b28850792: Pulling fs layer [2020-03-12T02:49:40.443Z] 8a11ddd9e578: Pulling fs layer [2020-03-12T02:49:40.443Z] 4cf88f913ddb: Pulling fs layer [2020-03-12T02:49:40.443Z] 1df406cf5192: Pulling fs layer [2020-03-12T02:49:40.443Z] cd6300453558: Pulling fs layer [2020-03-12T02:49:40.443Z] b9c365052c96: Pulling fs layer [2020-03-12T02:49:40.443Z] a2d8cc88f415: Pulling fs layer [2020-03-12T02:49:40.443Z] ea1d1ca13537: Pulling fs layer [2020-03-12T02:49:40.443Z] 3750a50a1c5e: Pulling fs layer [2020-03-12T02:49:40.443Z] cd6300453558: Waiting [2020-03-12T02:49:40.443Z] b9c365052c96: Waiting [2020-03-12T02:49:40.443Z] 8a11ddd9e578: Waiting [2020-03-12T02:49:40.443Z] a2d8cc88f415: Waiting [2020-03-12T02:49:40.443Z] 4cf88f913ddb: Waiting [2020-03-12T02:49:40.443Z] 1df406cf5192: Waiting [2020-03-12T02:49:40.443Z] ea1d1ca13537: Waiting [2020-03-12T02:49:40.443Z] 3750a50a1c5e: Waiting [2020-03-12T02:49:40.443Z] 777b28850792: Verifying Checksum [2020-03-12T02:49:40.443Z] 777b28850792: Download complete [2020-03-12T02:49:40.443Z] 2a23fa8c16f7: Verifying Checksum [2020-03-12T02:49:40.443Z] 2a23fa8c16f7: Download complete [2020-03-12T02:49:40.443Z] 4cf88f913ddb: Verifying Checksum [2020-03-12T02:49:40.443Z] 4cf88f913ddb: Download complete [2020-03-12T02:49:40.443Z] 1df406cf5192: Verifying Checksum [2020-03-12T02:49:40.443Z] 1df406cf5192: Download complete [2020-03-12T02:49:40.714Z] cde5963f3b93: Verifying Checksum [2020-03-12T02:49:40.714Z] cde5963f3b93: Download complete [2020-03-12T02:49:41.676Z] cde5963f3b93: Pull complete [2020-03-12T02:49:42.265Z] 2a23fa8c16f7: Pull complete [2020-03-12T02:49:42.534Z] 777b28850792: Pull complete [2020-03-12T02:49:45.128Z] cd6300453558: Verifying Checksum [2020-03-12T02:49:45.128Z] cd6300453558: Download complete [2020-03-12T02:49:45.128Z] a2d8cc88f415: Verifying Checksum [2020-03-12T02:49:45.128Z] a2d8cc88f415: Download complete [2020-03-12T02:49:47.719Z] ea1d1ca13537: Verifying Checksum [2020-03-12T02:49:47.719Z] ea1d1ca13537: Download complete [2020-03-12T02:49:47.719Z] 3750a50a1c5e: Verifying Checksum [2020-03-12T02:49:47.719Z] 3750a50a1c5e: Download complete [2020-03-12T02:49:50.315Z] b9c365052c96: Verifying Checksum [2020-03-12T02:49:50.315Z] b9c365052c96: Download complete [2020-03-12T02:49:51.734Z] 8a11ddd9e578: Verifying Checksum [2020-03-12T02:49:51.734Z] 8a11ddd9e578: Download complete [2020-03-12T02:50:04.095Z] 8a11ddd9e578: Pull complete [2020-03-12T02:50:04.095Z] 4cf88f913ddb: Pull complete [2020-03-12T02:50:04.095Z] 1df406cf5192: Pull complete [2020-03-12T02:50:08.388Z] cd6300453558: Pull complete [2020-03-12T02:50:13.782Z] b9c365052c96: Pull complete [2020-03-12T02:50:13.782Z] a2d8cc88f415: Pull complete [2020-03-12T02:50:15.204Z] ea1d1ca13537: Pull complete [2020-03-12T02:50:15.789Z] 3750a50a1c5e: Pull complete [2020-03-12T02:50:15.790Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-12T02:50:15.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-12T02:50:15.790Z] ---> 78745c68409d [2020-03-12T02:50:15.790Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-12T02:50:20.080Z] ---> Running in 7329a77eb2ae [2020-03-12T02:50:20.348Z] Removing intermediate container 7329a77eb2ae [2020-03-12T02:50:20.348Z] ---> ab8c0dd7602d [2020-03-12T02:50:20.348Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-12T02:50:20.618Z] ---> Running in 23115ea6ece2 [2020-03-12T02:50:22.572Z] Removing intermediate container 23115ea6ece2 [2020-03-12T02:50:22.572Z] ---> 6f804f35b7a8 [2020-03-12T02:50:22.572Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-12T02:50:22.572Z] ---> Running in fc568247405e [2020-03-12T02:50:23.547Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-12T02:50:24.141Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-12T02:50:24.730Z] OK: 125 MiB in 39 packages [2020-03-12T02:50:25.703Z] Removing intermediate container fc568247405e [2020-03-12T02:50:25.703Z] ---> fc10cef6af2e [2020-03-12T02:50:25.703Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-12T02:50:25.703Z] ---> Running in c487d2ac77d4 [2020-03-12T02:50:26.290Z] Removing intermediate container c487d2ac77d4 [2020-03-12T02:50:26.290Z] ---> 172e25811636 [2020-03-12T02:50:26.290Z] Step 7/8 : COPY . . [2020-03-12T02:50:27.257Z] ---> 1ee2baf4aef8 [2020-03-12T02:50:27.257Z] Step 8/8 : RUN go mod download [2020-03-12T02:50:27.257Z] ---> Running in b9cfb237e138 [2020-03-12T02:50:29.883Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-12T02:50:29.883Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-12T02:50:29.883Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-12T02:50:29.883Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-12T02:50:29.883Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-12T02:50:29.883Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-12T02:50:29.883Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-12T02:50:29.883Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-12T02:50:29.883Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-12T02:50:29.883Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-12T02:50:29.883Z] go: finding github.com/fatih/color v1.7.0 [2020-03-12T02:50:29.883Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-12T02:50:29.883Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-12T02:50:29.883Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-12T02:50:29.883Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-12T02:50:29.883Z] go: finding github.com/google/uuid v1.1.0 [2020-03-12T02:50:29.883Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-12T02:50:29.883Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-12T02:50:29.883Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-12T02:50:29.883Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-12T02:50:29.883Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-12T02:50:29.883Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-12T02:50:29.883Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-12T02:50:29.883Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-12T02:50:29.883Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-12T02:50:29.883Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-12T02:50:29.883Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-12T02:50:29.883Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-12T02:50:29.883Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-12T02:50:29.883Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-12T02:50:29.883Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-12T02:50:29.883Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-12T02:50:29.883Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-12T02:50:29.883Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-12T02:50:29.883Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-12T02:50:29.883Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-12T02:50:29.883Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-12T02:50:29.883Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-12T02:50:29.883Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-12T02:50:29.883Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-12T02:50:29.883Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-12T02:50:29.883Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-12T02:50:29.883Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-12T02:50:29.883Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-12T02:50:29.883Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-12T02:50:29.883Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-12T02:50:29.883Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-12T02:50:29.883Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-12T02:50:29.883Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-12T02:50:29.883Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-12T02:50:29.883Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-12T02:50:29.883Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-12T02:50:30.158Z] go: finding github.com/posener/complete v1.1.1 [2020-03-12T02:50:30.159Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-12T02:50:30.159Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-12T02:50:30.159Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-12T02:50:30.159Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-12T02:50:30.159Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-12T02:50:30.159Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-12T02:50:30.159Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-12T02:50:30.159Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-12T02:50:30.159Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-12T02:50:30.159Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-12T02:50:30.159Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-12T02:50:48.474Z] Removing intermediate container b9cfb237e138 [2020-03-12T02:50:48.474Z] ---> 7f3d114af448 [2020-03-12T02:50:48.474Z] Successfully built 7f3d114af448 [2020-03-12T02:50:48.474Z] 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-12T02:50:49.274Z] + docker inspect -f . ci-base-image-arm64 [2020-03-12T02:50:49.548Z] . [Pipeline] withDockerContainer [2020-03-12T02:50:49.903Z] prd-ubuntu18.04-docker-arm64-4c-16g-215 does not seem to be running inside a container [2020-03-12T02:50:50.009Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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-12T02:50:51.534Z] $ docker top 6bdd235c4f829980a98d96bc5432572f50eba98a590914ef9ba0dc23f7fd15b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-12T02:50:52.644Z] + go version [2020-03-12T02:50:52.644Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-12T02:50:53.313Z] + make test [2020-03-12T02:50:53.313Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-12T02:51:40.257Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-12T02:51:40.257Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-12T02:51:40.257Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-12T02:51:40.257Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.023s coverage: 23.1% of statements [2020-03-12T02:51:40.257Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.196s coverage: 95.8% of statements [2020-03-12T02:51:40.257Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.097s coverage: 12.7% of statements [2020-03-12T02:51:41.222Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.036s coverage: 24.2% of statements [2020-03-12T02:52:13.534Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.046s coverage: 30.0% of statements [2020-03-12T02:52:13.534Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.379s coverage: 42.3% of statements [2020-03-12T02:52:13.534Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-12T02:52:13.534Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-12T02:52:13.534Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.782s coverage: 79.3% of statements [2020-03-12T02:52:13.534Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-12T02:52:13.534Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-12T02:52:13.534Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-12T02:52:13.534Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.068s coverage: 52.6% of statements [2020-03-12T02:52:13.534Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.363s coverage: 76.1% of statements [2020-03-12T02:52:13.534Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-12T02:52:13.534Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-12T02:52:21.809Z] gofmt -l . [2020-03-12T02:52:21.809Z] [ "`gofmt -l .`" = "" ] [2020-03-12T02:52:21.809Z] ./bin/test-attribution-txt.sh [2020-03-12T02:52:22.402Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-12T02:52:23.083Z] Warning: overwriting stash ‘coverage-report’ [2020-03-12T02:52:23.589Z] Stashed 1 file(s) [Pipeline] } [2020-03-12T02:52:23.601Z] $ docker stop --time=1 6bdd235c4f829980a98d96bc5432572f50eba98a590914ef9ba0dc23f7fd15b0 [2020-03-12T02:52:25.910Z] $ docker rm -f 6bdd235c4f829980a98d96bc5432572f50eba98a590914ef9ba0dc23f7fd15b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-12T02:52:27.225Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-12T02:52:27.629Z] + ls -al . [2020-03-12T02:52:27.629Z] total 240 [2020-03-12T02:52:27.629Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 12 02:52 . [2020-03-12T02:52:27.629Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 02:49 .. [2020-03-12T02:52:27.629Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 12 02:49 .dockerignore [2020-03-12T02:52:27.629Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 02:49 .git [2020-03-12T02:52:27.629Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 02:49 .github [2020-03-12T02:52:27.629Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 12 02:49 .gitignore [2020-03-12T02:52:27.629Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 02:49 .semver [2020-03-12T02:52:27.629Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 12 02:49 Dockerfile.build [2020-03-12T02:52:27.629Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 12 02:49 Jenkinsfile [2020-03-12T02:52:27.629Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 12 02:49 LICENSE [2020-03-12T02:52:27.629Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 12 02:49 Makefile [2020-03-12T02:52:27.629Z] -rw-rw-r-- 1 jenkins jenkins 761 Mar 12 02:49 README.md [2020-03-12T02:52:27.629Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 02:45 VERSION [2020-03-12T02:52:27.629Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 02:49 api [2020-03-12T02:52:27.629Z] -rw-rw-r-- 1 jenkins jenkins 3321 Mar 12 02:49 async.go [2020-03-12T02:52:27.629Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 02:49 bin [2020-03-12T02:52:27.629Z] -rw-r--r-- 1 jenkins jenkins 100521 Mar 12 02:52 coverage.out [2020-03-12T02:52:27.629Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 02:49 example [2020-03-12T02:52:27.629Z] -rw-r--r-- 1 jenkins jenkins 536 Mar 12 02:52 go.mod [2020-03-12T02:52:27.629Z] -rw-r--r-- 1 jenkins jenkins 11140 Mar 12 02:52 go.sum [2020-03-12T02:52:27.629Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 12 02:49 internal [2020-03-12T02:52:27.629Z] -rw-rw-r-- 1 jenkins jenkins 4352 Mar 12 02:49 manageddevices.go [2020-03-12T02:52:27.629Z] -rw-rw-r-- 1 jenkins jenkins 5473 Mar 12 02:49 managedprofiles.go [2020-03-12T02:52:27.629Z] -rw-rw-r-- 1 jenkins jenkins 3878 Mar 12 02:49 managedwatchers.go [2020-03-12T02:52:27.629Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 02:49 pkg [2020-03-12T02:52:27.629Z] -rw-rw-r-- 1 jenkins jenkins 9817 Mar 12 02:49 service.go [2020-03-12T02:52:27.629Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 02:49 snap [2020-03-12T02:52:27.629Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 12 02:49 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-12T02:52:28.020Z] + 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=967fc596d104cd3de29b9da9f4866e0708061fd6 --label arch=arm64 --label version=0.0.0 . [2020-03-12T02:52:28.635Z] Sending build context to Docker daemon 2.813MB [2020-03-12T02:52:28.635Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-12T02:52:28.635Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-12T02:52:28.635Z] ---> 7f3d114af448 [2020-03-12T02:52:28.635Z] Step 3/20 : ARG MAKE='make build' [2020-03-12T02:52:28.911Z] ---> Running in 6071250ff2be [2020-03-12T02:52:29.182Z] Removing intermediate container 6071250ff2be [2020-03-12T02:52:29.182Z] ---> f649666a1375 [2020-03-12T02:52:29.182Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-12T02:52:29.471Z] ---> Running in c32ada30fc98 [2020-03-12T02:52:29.741Z] Removing intermediate container c32ada30fc98 [2020-03-12T02:52:29.741Z] ---> 887944baed81 [2020-03-12T02:52:29.741Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-12T02:52:30.014Z] ---> Running in 99848d59d2ff [2020-03-12T02:52:30.283Z] Removing intermediate container 99848d59d2ff [2020-03-12T02:52:30.283Z] ---> 3cc5887ad3dd [2020-03-12T02:52:30.283Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-12T02:52:30.553Z] ---> Running in c6886cc2c4de [2020-03-12T02:52:32.508Z] Removing intermediate container c6886cc2c4de [2020-03-12T02:52:32.508Z] ---> 8fd9a940d85b [2020-03-12T02:52:32.508Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-12T02:52:32.508Z] ---> Running in cf8a35c9eed4 [2020-03-12T02:52:33.095Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-12T02:52:34.057Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-12T02:52:34.325Z] OK: 125 MiB in 39 packages [2020-03-12T02:52:35.736Z] Removing intermediate container cf8a35c9eed4 [2020-03-12T02:52:35.736Z] ---> c87e3a2af885 [2020-03-12T02:52:35.736Z] Step 8/20 : COPY . . [2020-03-12T02:52:36.699Z] ---> b8b5900ed1e7 [2020-03-12T02:52:36.699Z] Step 9/20 : RUN ${MAKE} [2020-03-12T02:52:36.699Z] ---> Running in bb68fc799ef7 [2020-03-12T02:52:37.662Z] 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-12T02:53:16.579Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-12T02:53:31.602Z] Removing intermediate container bb68fc799ef7 [2020-03-12T02:53:31.602Z] ---> 8a18f8d66ada [2020-03-12T02:53:31.602Z] Step 10/20 : FROM scratch [2020-03-12T02:53:31.602Z] ---> [2020-03-12T02:53:31.602Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-12T02:53:31.602Z] ---> Running in 50e8b6a35501 [2020-03-12T02:53:31.602Z] Removing intermediate container 50e8b6a35501 [2020-03-12T02:53:31.602Z] ---> b432fafe5907 [2020-03-12T02:53:31.602Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-12T02:53:31.602Z] ---> Running in 3903439fb292 [2020-03-12T02:53:31.602Z] Removing intermediate container 3903439fb292 [2020-03-12T02:53:31.602Z] ---> 26114afc0cc6 [2020-03-12T02:53:31.602Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-12T02:53:31.602Z] ---> Running in 72d0d61f2241 [2020-03-12T02:53:31.602Z] Removing intermediate container 72d0d61f2241 [2020-03-12T02:53:31.602Z] ---> 0d853396d96a [2020-03-12T02:53:31.602Z] Step 14/20 : WORKDIR / [2020-03-12T02:53:31.602Z] ---> Running in 4f0fdf409750 [2020-03-12T02:53:31.603Z] Removing intermediate container 4f0fdf409750 [2020-03-12T02:53:31.603Z] ---> 08cf7dc1cbe5 [2020-03-12T02:53:31.603Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-12T02:53:33.009Z] ---> 627dbfcede98 [2020-03-12T02:53:33.009Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-12T02:53:33.275Z] ---> 9929b12c0046 [2020-03-12T02:53:33.275Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-12T02:53:33.275Z] ---> Running in 747f45bee7d5 [2020-03-12T02:53:33.859Z] Removing intermediate container 747f45bee7d5 [2020-03-12T02:53:33.859Z] ---> c5d294d02098 [2020-03-12T02:53:33.859Z] Step 18/20 : LABEL arch=arm64 [2020-03-12T02:53:33.859Z] ---> Running in b371fee77623 [2020-03-12T02:53:34.126Z] Removing intermediate container b371fee77623 [2020-03-12T02:53:34.126Z] ---> 39a79aa41092 [2020-03-12T02:53:34.126Z] Step 19/20 : LABEL git_sha=967fc596d104cd3de29b9da9f4866e0708061fd6 [2020-03-12T02:53:34.126Z] ---> Running in 468a0ccaa74d [2020-03-12T02:53:34.706Z] Removing intermediate container 468a0ccaa74d [2020-03-12T02:53:34.706Z] ---> 23f194c89de0 [2020-03-12T02:53:34.706Z] Step 20/20 : LABEL version=0.0.0 [2020-03-12T02:53:34.706Z] ---> Running in 9bfa661ec24d [2020-03-12T02:53:34.971Z] Removing intermediate container 9bfa661ec24d [2020-03-12T02:53:34.971Z] ---> e88f5fdd27b3 [2020-03-12T02:53:34.971Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-12T02:53:34.971Z] Successfully built e88f5fdd27b3 [2020-03-12T02:53:34.971Z] 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-12T02:53:36.010Z] provisioning config files... [2020-03-12T02:53:36.031Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/config497737345916911808tmp [Pipeline] { [Pipeline] sh [2020-03-12T02:53:36.392Z] + curl -s https://codecov.io/bash [2020-03-12T02:53:36.392Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/config497737345916911808tmp [2020-03-12T02:53:36.655Z] [2020-03-12T02:53:36.655Z] _____ _ [2020-03-12T02:53:36.655Z] / ____| | | [2020-03-12T02:53:36.655Z] | | ___ __| | ___ ___ _____ __ [2020-03-12T02:53:36.655Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-12T02:53:36.655Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-12T02:53:36.655Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-12T02:53:36.655Z] Bash-20200303-bc4d7e6 [2020-03-12T02:53:36.655Z] [2020-03-12T02:53:36.655Z] [2020-03-12T02:53:36.655Z] ==> Jenkins CI detected. [2020-03-12T02:53:36.655Z] project root: . [2020-03-12T02:53:36.655Z] Fixing merge commit SHA [2020-03-12T02:53:36.655Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-12T02:53:36.655Z] ==> Running gcov in . (disable via -X gcov) [2020-03-12T02:53:36.655Z] ==> Python coveragepy not found [2020-03-12T02:53:36.655Z] ==> Searching for coverage reports in: [2020-03-12T02:53:36.655Z] + . [2020-03-12T02:53:36.655Z] -> Found 1 reports [2020-03-12T02:53:36.655Z] ==> Detecting git/mercurial file structure [2020-03-12T02:53:36.655Z] ==> Reading reports [2020-03-12T02:53:36.655Z] + ./coverage.out bytes=100521 [2020-03-12T02:53:36.655Z] ==> Appending adjustments [2020-03-12T02:53:36.655Z] http://docs.codecov.io/docs/fixing-reports [2020-03-12T02:53:37.237Z] + Found adjustments [2020-03-12T02:53:37.237Z] ==> Gzipping contents [2020-03-12T02:53:37.237Z] ==> Uploading reports [2020-03-12T02:53:37.237Z] url: https://codecov.io [2020-03-12T02:53:37.237Z] query: branch=PR-429&commit=9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-429%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=429&job= [2020-03-12T02:53:37.237Z] -> Pinging Codecov [2020-03-12T02:53:37.237Z] https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=PR-429&commit=9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-429%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=429&job= [2020-03-12T02:53:37.832Z] -> Uploading [2020-03-12T02:53:38.420Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9e6d46c2b077c5ce04ff29192bd4c5718c8c2e91 [Pipeline] } [2020-03-12T02:53:38.430Z] 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-12T02:53:39.762Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-12T02:53:40.088Z] ---> package-listing.sh [2020-03-12T02:53:40.088Z] ++ facter osfamily [2020-03-12T02:53:40.088Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-12T02:53:40.088Z] + OS_FAMILY=redhat [2020-03-12T02:53:40.088Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-429 [2020-03-12T02:53:40.088Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-12T02:53:40.088Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-12T02:53:40.088Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-12T02:53:40.088Z] + PACKAGES=/tmp/packages_start.txt [2020-03-12T02:53:40.088Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-429 ']' [2020-03-12T02:53:40.088Z] + PACKAGES=/tmp/packages_end.txt [2020-03-12T02:53:40.088Z] + case "${OS_FAMILY}" in [2020-03-12T02:53:40.088Z] + rpm -qa [2020-03-12T02:53:40.088Z] + sort [2020-03-12T02:53:44.310Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-12T02:53:44.310Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-12T02:53:44.310Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-12T02:53:44.310Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-429 ']' [2020-03-12T02:53:44.310Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-429/archives/ [2020-03-12T02:53:44.310Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-429/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-12T02:53:44.701Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-12T02:53:44.977Z] [2020-03-12T02:53:44.977Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-12T02:53:45.340Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-12T02:53:45.340Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-12T02:53:45.340Z] c9b1b535fdd9: Pulling fs layer [2020-03-12T02:53:45.340Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-12T02:53:45.340Z] 756a868c4378: Pulling fs layer [2020-03-12T02:53:45.340Z] 444b2fc9a129: Pulling fs layer [2020-03-12T02:53:45.340Z] ea15f1150254: Pulling fs layer [2020-03-12T02:53:45.340Z] 41b27a9f41bf: Pulling fs layer [2020-03-12T02:53:45.340Z] 28c525ee5125: Pulling fs layer [2020-03-12T02:53:45.340Z] 094b1ea09ed8: Pulling fs layer [2020-03-12T02:53:45.340Z] 138eaada9080: Pulling fs layer [2020-03-12T02:53:45.340Z] 0622d0fa9048: Pulling fs layer [2020-03-12T02:53:45.340Z] 444b2fc9a129: Waiting [2020-03-12T02:53:45.340Z] ea15f1150254: Waiting [2020-03-12T02:53:45.340Z] 094b1ea09ed8: Waiting [2020-03-12T02:53:45.340Z] 41b27a9f41bf: Waiting [2020-03-12T02:53:45.340Z] 138eaada9080: Waiting [2020-03-12T02:53:45.340Z] 0622d0fa9048: Waiting [2020-03-12T02:53:45.340Z] 28c525ee5125: Waiting [2020-03-12T02:53:45.340Z] 2cc5ad85d9ab: Download complete [2020-03-12T02:53:45.340Z] 444b2fc9a129: Verifying Checksum [2020-03-12T02:53:45.340Z] 444b2fc9a129: Download complete [2020-03-12T02:53:45.652Z] c9b1b535fdd9: Verifying Checksum [2020-03-12T02:53:45.652Z] c9b1b535fdd9: Download complete [2020-03-12T02:53:45.652Z] ea15f1150254: Verifying Checksum [2020-03-12T02:53:45.652Z] ea15f1150254: Download complete [2020-03-12T02:53:45.994Z] 28c525ee5125: Verifying Checksum [2020-03-12T02:53:45.994Z] 28c525ee5125: Download complete [2020-03-12T02:53:46.299Z] c9b1b535fdd9: Pull complete [2020-03-12T02:53:46.644Z] 2cc5ad85d9ab: Pull complete [2020-03-12T02:53:47.836Z] 756a868c4378: Verifying Checksum [2020-03-12T02:53:47.836Z] 756a868c4378: Download complete [2020-03-12T02:53:48.182Z] 138eaada9080: Download complete [2020-03-12T02:53:48.468Z] 094b1ea09ed8: Verifying Checksum [2020-03-12T02:53:48.468Z] 094b1ea09ed8: Download complete [2020-03-12T02:53:48.468Z] 0622d0fa9048: Verifying Checksum [2020-03-12T02:53:48.468Z] 0622d0fa9048: Download complete [2020-03-12T02:53:49.636Z] 41b27a9f41bf: Verifying Checksum [2020-03-12T02:53:49.637Z] 41b27a9f41bf: Download complete [2020-03-12T02:53:50.594Z] 756a868c4378: Pull complete [2020-03-12T02:53:50.857Z] 444b2fc9a129: Pull complete [2020-03-12T02:53:51.445Z] ea15f1150254: Pull complete [2020-03-12T02:53:56.050Z] 41b27a9f41bf: Pull complete [2020-03-12T02:53:56.050Z] 28c525ee5125: Pull complete [2020-03-12T02:53:58.924Z] 094b1ea09ed8: Pull complete [2020-03-12T02:53:59.190Z] 138eaada9080: Pull complete [2020-03-12T02:53:59.470Z] 0622d0fa9048: Pull complete [2020-03-12T02:53:59.470Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-12T02:53:59.470Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-12T02:53:59.863Z] prd-centos7-docker-4c-2g-210 does not seem to be running inside a container [2020-03-12T02:53:59.950Z] $ 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-429 -v /w/workspace/dgexfoundry_device-sdk-go_PR-429:/w/workspace/dgexfoundry_device-sdk-go_PR-429:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-429@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-12T02:54:01.155Z] $ docker top c0b40be963ad62f75f9a3adbdfe0c1a2b21aacef9c91d07745a72fae33273c2d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-12T02:54:01.474Z] provisioning config files... [2020-03-12T02:54:01.494Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-429@tmp/config6710779307849548574tmp [Pipeline] { [Pipeline] echo [2020-03-12T02:54:01.583Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-12T02:54:02.307Z] ---> create-netrc.sh [Pipeline] echo [2020-03-12T02:54:02.317Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-12T02:54:03.001Z] ---> logs-deploy.sh [2020-03-12T02:54:03.001Z] + ARCHIVE_ARTIFACTS= [2020-03-12T02:54:03.001Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-12T02:54:03.001Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-12T02:54:03.001Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-12T02:54:03.001Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-429/12 [2020-03-12T02:54:03.001Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-429/12/ [2020-03-12T02:54:03.001Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-429/12 /w/workspace/dgexfoundry_device-sdk-go_PR-429 [2020-03-12T02:54:04.429Z] Archives upload complete. [2020-03-12T02:54:04.698Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-429/12 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-429/12/