Pull request #448 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 0605716f3fd271273ac872c46dcfc3221fe9ce3f rather than 7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef Obtained Jenkinsfile from 0605716f3fd271273ac872c46dcfc3221fe9ce3f Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-1660’ is offline Running on prd-centos7-docker-4c-2g-1867 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-448 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit 7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef Merge succeeded, producing 7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef Checking out Revision 7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef (PR-448) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef # 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 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef # timeout=10 Commit message: "Fix the requested changes in PR: - Change interval to duration type - Use mutex instead of atomic package - Make device filterAndAdd be a long-running goroutine" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-02T12:04:19.901Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 35d152dfcfdb88777d3de51c0f3c7b7045e4e706 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-02T12:04:22.508Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-02T12:04:22.806Z] [2020-04-02T12:04:22.806Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-02T12:04:23.230Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-02T12:04:23.563Z] latest: Pulling from edgex-devops/git-semver [2020-04-02T12:04:23.563Z] 9123ac7c32f7: Pulling fs layer [2020-04-02T12:04:23.563Z] b8cc5d1170e3: Pulling fs layer [2020-04-02T12:04:23.563Z] 2924cbbf6a41: Pulling fs layer [2020-04-02T12:04:23.563Z] 93b08a4f1073: Pulling fs layer [2020-04-02T12:04:23.563Z] 93b08a4f1073: Waiting [2020-04-02T12:04:23.563Z] b8cc5d1170e3: Verifying Checksum [2020-04-02T12:04:23.563Z] b8cc5d1170e3: Download complete [2020-04-02T12:04:23.563Z] 9123ac7c32f7: Verifying Checksum [2020-04-02T12:04:23.563Z] 9123ac7c32f7: Download complete [2020-04-02T12:04:23.864Z] 93b08a4f1073: Verifying Checksum [2020-04-02T12:04:23.864Z] 93b08a4f1073: Download complete [2020-04-02T12:04:24.134Z] 2924cbbf6a41: Verifying Checksum [2020-04-02T12:04:24.134Z] 2924cbbf6a41: Download complete [2020-04-02T12:04:24.395Z] 9123ac7c32f7: Pull complete [2020-04-02T12:04:24.395Z] b8cc5d1170e3: Pull complete [2020-04-02T12:04:25.369Z] 2924cbbf6a41: Pull complete [2020-04-02T12:04:25.643Z] 93b08a4f1073: Pull complete [2020-04-02T12:04:25.643Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-02T12:04:25.643Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-02T12:04:25.861Z] prd-centos7-docker-4c-2g-1867 does not seem to be running inside a container [2020-04-02T12:04:25.949Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-448 -v /w/workspace/dgexfoundry_device-sdk-go_PR-448:/w/workspace/dgexfoundry_device-sdk-go_PR-448:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-02T12:04:26.901Z] $ docker top 1622b3273ea7bf1632ae9157f6a47768b7ca0806ffa6bb6a0d43cf8dc25827bc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-02T12:04:27.244Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-02T12:04:27.244Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-02T12:04:27.565Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-02T12:04:27.571Z] $ docker exec 1622b3273ea7bf1632ae9157f6a47768b7ca0806ffa6bb6a0d43cf8dc25827bc ssh-agent [2020-04-02T12:04:27.798Z] SSH_AUTH_SOCK=/tmp/ssh-gEAGf4fhQQxO/agent.15 [2020-04-02T12:04:27.798Z] SSH_AGENT_PID=22 [2020-04-02T12:04:27.812Z] Running ssh-add (command line suppressed) [2020-04-02T12:04:28.010Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_3854348721643293839.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_3854348721643293839.key) [2020-04-02T12:04:28.108Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-02T12:04:28.443Z] + git describe --exact-match --tags HEAD [2020-04-02T12:04:28.443Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-02T12:04:28.533Z] $ docker exec --env ******** --env ******** 1622b3273ea7bf1632ae9157f6a47768b7ca0806ffa6bb6a0d43cf8dc25827bc ssh-agent -k [2020-04-02T12:04:28.894Z] unset SSH_AUTH_SOCK; [2020-04-02T12:04:28.895Z] unset SSH_AGENT_PID; [2020-04-02T12:04:28.896Z] echo Agent pid 22 killed; [2020-04-02T12:04:29.062Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-02T12:04:29.122Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-02T12:04:29.122Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-02T12:04:29.216Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-02T12:04:29.216Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-02T12:04:29.775Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-02T12:04:29.781Z] $ docker exec 1622b3273ea7bf1632ae9157f6a47768b7ca0806ffa6bb6a0d43cf8dc25827bc ssh-agent [2020-04-02T12:04:30.154Z] SSH_AUTH_SOCK=/tmp/ssh-sEVCLDZzZzFF/agent.57 [2020-04-02T12:04:30.154Z] SSH_AGENT_PID=64 [2020-04-02T12:04:30.165Z] Running ssh-add (command line suppressed) [2020-04-02T12:04:30.476Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_5124478215708165776.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_5124478215708165776.key) [2020-04-02T12:04:30.697Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-02T12:04:31.158Z] + git semver init [2020-04-02T12:04:31.158Z] # -> Open(): unable to determine branch for HEAD [2020-04-02T12:04:31.158Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.git [2020-04-02T12:04:31.158Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-448 [2020-04-02T12:04:31.158Z] # $SEMVER_REMOTE_NAME = origin [2020-04-02T12:04:31.159Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-02T12:04:31.159Z] # $SEMVER_USER_NAME = jenkins [2020-04-02T12:04:31.159Z] # $SEMVER_BRANCH = PR-448 [2020-04-02T12:04:31.159Z] # $SEMVER_TEMP = /tmp/semver-494148914 [2020-04-02T12:04:31.159Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-02T12:04:32.173Z] # '/tmp/semver-494148914' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver' [2020-04-02T12:04:32.173Z] # -> Force: false [2020-04-02T12:04:32.173Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver [Pipeline] } [2020-04-02T12:04:32.264Z] $ docker exec --env ******** --env ******** 1622b3273ea7bf1632ae9157f6a47768b7ca0806ffa6bb6a0d43cf8dc25827bc ssh-agent -k [2020-04-02T12:04:32.824Z] unset SSH_AUTH_SOCK; [2020-04-02T12:04:32.826Z] unset SSH_AGENT_PID; [2020-04-02T12:04:32.826Z] echo Agent pid 64 killed; [2020-04-02T12:04:32.910Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-02T12:04:33.403Z] + git semver [Pipeline] } [2020-04-02T12:04:33.465Z] $ docker stop --time=1 1622b3273ea7bf1632ae9157f6a47768b7ca0806ffa6bb6a0d43cf8dc25827bc [2020-04-02T12:04:35.159Z] $ docker rm -f 1622b3273ea7bf1632ae9157f6a47768b7ca0806ffa6bb6a0d43cf8dc25827bc [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-02T12:04:37.112Z] Stashed 35 file(s) [Pipeline] echo [2020-04-02T12:04:37.114Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-04-02T12:04:52.327Z] Still waiting to schedule task [2020-04-02T12:04:52.327Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-02T12:04:52.329Z] Still waiting to schedule task [2020-04-02T12:04:52.329Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1788’ is offline [2020-04-02T12:06:30.874Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1869 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws [2020-04-02T12:06:30.910Z] Running in /w/workspace/device-sdk-go/18 [Pipeline] { [Pipeline] checkout [2020-04-02T12:06:36.601Z] using credential edgex-jenkins-ssh [2020-04-02T12:06:36.649Z] Cloning the remote Git repository [2020-04-02T12:06:36.649Z] Cloning with configured refspecs honoured and without tags [2020-04-02T12:06:36.717Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-02T12:06:36.806Z] > git init /w/workspace/device-sdk-go/18 # timeout=10 [2020-04-02T12:06:36.925Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-02T12:06:36.928Z] > git --version # timeout=10 [2020-04-02T12:06:36.959Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-02T12:06:37.039Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-02T12:06:38.208Z] Fetching without tags [2020-04-02T12:06:38.020Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-02T12:06:38.049Z] > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 [2020-04-02T12:06:38.075Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-02T12:06:38.146Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-02T12:06:38.230Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-02T12:06:38.231Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-02T12:06:38.245Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-02T12:06:38.680Z] Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit 7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef [2020-04-02T12:06:38.974Z] Merge succeeded, producing 7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef [2020-04-02T12:06:38.975Z] Checking out Revision 7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef (PR-448) [2020-04-02T12:06:38.702Z] > git config core.sparsecheckout # timeout=10 [2020-04-02T12:06:38.756Z] > git checkout -f 7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef # timeout=10 [2020-04-02T12:06:38.877Z] > git remote # timeout=10 [2020-04-02T12:06:38.902Z] > git config --get remote.origin.url # timeout=10 [2020-04-02T12:06:38.924Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-02T12:06:38.935Z] > git merge 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 [2020-04-02T12:06:38.960Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-02T12:06:38.983Z] > git config core.sparsecheckout # timeout=10 [2020-04-02T12:06:38.996Z] > git checkout -f 7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef # timeout=10 [2020-04-02T12:06:43.517Z] Commit message: "Fix the requested changes in PR: - Change interval to duration type - Use mutex instead of atomic package - Make device filterAndAdd be a long-running goroutine" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-02T12:06:44.761Z] ========================================================= [2020-04-02T12:06:44.761Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-02T12:06:44.761Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-02T12:06:45.734Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-04-02T12:06:46.701Z] Sending build context to Docker daemon 2.805MB [2020-04-02T12:06:46.701Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-02T12:06:46.701Z] Step 2/8 : FROM ${BASE} [2020-04-02T12:06:46.970Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-02T12:06:46.970Z] cde5963f3b93: Pulling fs layer [2020-04-02T12:06:46.970Z] 2a23fa8c16f7: Pulling fs layer [2020-04-02T12:06:46.970Z] 777b28850792: Pulling fs layer [2020-04-02T12:06:46.970Z] 8a11ddd9e578: Pulling fs layer [2020-04-02T12:06:46.970Z] 4cf88f913ddb: Pulling fs layer [2020-04-02T12:06:46.970Z] 1df406cf5192: Pulling fs layer [2020-04-02T12:06:46.970Z] cd6300453558: Pulling fs layer [2020-04-02T12:06:46.970Z] b9c365052c96: Pulling fs layer [2020-04-02T12:06:46.970Z] a2d8cc88f415: Pulling fs layer [2020-04-02T12:06:46.970Z] ea1d1ca13537: Pulling fs layer [2020-04-02T12:06:46.970Z] 3750a50a1c5e: Pulling fs layer [2020-04-02T12:06:46.970Z] 8a11ddd9e578: Waiting [2020-04-02T12:06:46.970Z] b9c365052c96: Waiting [2020-04-02T12:06:46.970Z] a2d8cc88f415: Waiting [2020-04-02T12:06:46.970Z] ea1d1ca13537: Waiting [2020-04-02T12:06:46.970Z] 4cf88f913ddb: Waiting [2020-04-02T12:06:46.970Z] 3750a50a1c5e: Waiting [2020-04-02T12:06:46.970Z] cd6300453558: Waiting [2020-04-02T12:06:46.970Z] 2a23fa8c16f7: Verifying Checksum [2020-04-02T12:06:46.970Z] 2a23fa8c16f7: Download complete [2020-04-02T12:06:47.244Z] 4cf88f913ddb: Verifying Checksum [2020-04-02T12:06:47.244Z] 4cf88f913ddb: Download complete [2020-04-02T12:06:47.244Z] 1df406cf5192: Verifying Checksum [2020-04-02T12:06:47.244Z] 1df406cf5192: Download complete [2020-04-02T12:06:47.244Z] cde5963f3b93: Download complete [2020-04-02T12:06:48.225Z] cde5963f3b93: Pull complete [2020-04-02T12:06:48.820Z] 2a23fa8c16f7: Pull complete [2020-04-02T12:06:49.092Z] 777b28850792: Pull complete [2020-04-02T12:06:51.681Z] cd6300453558: Verifying Checksum [2020-04-02T12:06:51.681Z] cd6300453558: Download complete [2020-04-02T12:06:51.681Z] a2d8cc88f415: Download complete [2020-04-02T12:06:54.275Z] ea1d1ca13537: Verifying Checksum [2020-04-02T12:06:54.275Z] ea1d1ca13537: Download complete [2020-04-02T12:06:54.275Z] 3750a50a1c5e: Verifying Checksum [2020-04-02T12:06:54.275Z] 3750a50a1c5e: Download complete [2020-04-02T12:06:56.856Z] b9c365052c96: Verifying Checksum [2020-04-02T12:06:56.856Z] b9c365052c96: Download complete [2020-04-02T12:06:58.261Z] 8a11ddd9e578: Verifying Checksum [2020-04-02T12:06:58.261Z] 8a11ddd9e578: Download complete [2020-04-02T12:07:10.600Z] 8a11ddd9e578: Pull complete [2020-04-02T12:07:10.600Z] 4cf88f913ddb: Pull complete [2020-04-02T12:07:10.600Z] 1df406cf5192: Pull complete [2020-04-02T12:07:13.950Z] cd6300453558: Pull complete [2020-04-02T12:07:15.077Z] Running on prd-centos7-docker-4c-2g-1870 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws [2020-04-02T12:07:15.119Z] Running in /w/workspace/device-sdk-go/18 [Pipeline] { [Pipeline] checkout [2020-04-02T12:07:18.677Z] using credential edgex-jenkins-ssh [2020-04-02T12:07:18.772Z] Cloning the remote Git repository [2020-04-02T12:07:18.772Z] Cloning with configured refspecs honoured and without tags [2020-04-02T12:07:18.673Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-02T12:07:18.721Z] > git init /w/workspace/device-sdk-go/18 # timeout=10 [2020-04-02T12:07:18.777Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-02T12:07:18.777Z] > git --version # timeout=10 [2020-04-02T12:07:18.787Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-02T12:07:18.826Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-02T12:07:19.333Z] b9c365052c96: Pull complete [2020-04-02T12:07:19.333Z] a2d8cc88f415: Pull complete [2020-04-02T12:07:19.878Z] Fetching without tags [2020-04-02T12:07:19.782Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-02T12:07:19.789Z] > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 [2020-04-02T12:07:19.802Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-02T12:07:19.817Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-02T12:07:19.839Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-02T12:07:19.839Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-02T12:07:19.849Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-02T12:07:20.295Z] Merging remotes/origin/master commit 0605716f3fd271273ac872c46dcfc3221fe9ce3f into PR head commit 7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef [2020-04-02T12:07:20.385Z] Merge succeeded, producing 7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef [2020-04-02T12:07:20.385Z] Checking out Revision 7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef (PR-448) [2020-04-02T12:07:21.282Z] ea1d1ca13537: Pull complete [2020-04-02T12:07:21.282Z] 3750a50a1c5e: Pull complete [2020-04-02T12:07:21.282Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-02T12:07:21.282Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-02T12:07:21.282Z] ---> 78745c68409d [2020-04-02T12:07:21.282Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-02T12:07:20.285Z] > git config core.sparsecheckout # timeout=10 [2020-04-02T12:07:20.291Z] > git checkout -f 7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef # timeout=10 [2020-04-02T12:07:20.337Z] > git remote # timeout=10 [2020-04-02T12:07:20.344Z] > git config --get remote.origin.url # timeout=10 [2020-04-02T12:07:20.352Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-02T12:07:20.356Z] > git merge 0605716f3fd271273ac872c46dcfc3221fe9ce3f # timeout=10 [2020-04-02T12:07:20.365Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-02T12:07:20.375Z] > git config core.sparsecheckout # timeout=10 [2020-04-02T12:07:20.381Z] > git checkout -f 7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef # timeout=10 [2020-04-02T12:07:24.522Z] Commit message: "Fix the requested changes in PR: - Change interval to duration type - Use mutex instead of atomic package - Make device filterAndAdd be a long-running goroutine" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-02T12:07:25.344Z] ========================================================= [2020-04-02T12:07:25.344Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-02T12:07:25.344Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-02T12:07:25.540Z] ---> Running in 2371042490db [2020-04-02T12:07:26.025Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-04-02T12:07:26.128Z] Removing intermediate container 2371042490db [2020-04-02T12:07:26.128Z] ---> 0f2125c97cd0 [2020-04-02T12:07:26.128Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-02T12:07:26.128Z] ---> Running in 695dce31ca63 [2020-04-02T12:07:26.614Z] Sending build context to Docker daemon 2.808MB [2020-04-02T12:07:26.614Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-02T12:07:26.614Z] Step 2/8 : FROM ${BASE} [2020-04-02T12:07:26.615Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-02T12:07:26.615Z] e6b0cf9c0882: Pulling fs layer [2020-04-02T12:07:26.615Z] 2848faf0eed1: Pulling fs layer [2020-04-02T12:07:26.615Z] 0f37312ad70f: Pulling fs layer [2020-04-02T12:07:26.615Z] 5788d62ee057: Pulling fs layer [2020-04-02T12:07:26.615Z] 0e6b1d234666: Pulling fs layer [2020-04-02T12:07:26.615Z] bf5d7aec512f: Pulling fs layer [2020-04-02T12:07:26.615Z] 34c802a77dc8: Pulling fs layer [2020-04-02T12:07:26.615Z] 9eb99e56ec68: Pulling fs layer [2020-04-02T12:07:26.615Z] 27c7a5d97fbd: Pulling fs layer [2020-04-02T12:07:26.615Z] 5c102a31e300: Pulling fs layer [2020-04-02T12:07:26.615Z] dcfb455df0a1: Pulling fs layer [2020-04-02T12:07:26.615Z] 34c802a77dc8: Waiting [2020-04-02T12:07:26.615Z] 5788d62ee057: Waiting [2020-04-02T12:07:26.615Z] 0e6b1d234666: Waiting [2020-04-02T12:07:26.615Z] 9eb99e56ec68: Waiting [2020-04-02T12:07:26.615Z] 27c7a5d97fbd: Waiting [2020-04-02T12:07:26.615Z] dcfb455df0a1: Waiting [2020-04-02T12:07:26.615Z] 5c102a31e300: Waiting [2020-04-02T12:07:26.615Z] 0f37312ad70f: Verifying Checksum [2020-04-02T12:07:26.615Z] 0f37312ad70f: Download complete [2020-04-02T12:07:26.615Z] 2848faf0eed1: Download complete [2020-04-02T12:07:26.615Z] 0e6b1d234666: Verifying Checksum [2020-04-02T12:07:26.615Z] 0e6b1d234666: Download complete [2020-04-02T12:07:26.615Z] bf5d7aec512f: Verifying Checksum [2020-04-02T12:07:26.615Z] bf5d7aec512f: Download complete [2020-04-02T12:07:26.615Z] e6b0cf9c0882: Verifying Checksum [2020-04-02T12:07:26.615Z] e6b0cf9c0882: Download complete [2020-04-02T12:07:27.217Z] e6b0cf9c0882: Pull complete [2020-04-02T12:07:27.494Z] 34c802a77dc8: Download complete [2020-04-02T12:07:27.494Z] 27c7a5d97fbd: Verifying Checksum [2020-04-02T12:07:27.494Z] 27c7a5d97fbd: Download complete [2020-04-02T12:07:28.078Z] 5c102a31e300: Verifying Checksum [2020-04-02T12:07:28.078Z] 5c102a31e300: Download complete [2020-04-02T12:07:28.089Z] Removing intermediate container 695dce31ca63 [2020-04-02T12:07:28.089Z] ---> a6e2ba049066 [2020-04-02T12:07:28.089Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-02T12:07:28.089Z] ---> Running in 8be97e949b1d [2020-04-02T12:07:28.341Z] dcfb455df0a1: Verifying Checksum [2020-04-02T12:07:28.341Z] dcfb455df0a1: Download complete [2020-04-02T12:07:28.611Z] 5788d62ee057: Verifying Checksum [2020-04-02T12:07:28.611Z] 5788d62ee057: Download complete [2020-04-02T12:07:28.871Z] 9eb99e56ec68: Verifying Checksum [2020-04-02T12:07:28.871Z] 9eb99e56ec68: Download complete [2020-04-02T12:07:29.047Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-02T12:07:29.632Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-02T12:07:29.811Z] 2848faf0eed1: Pull complete [2020-04-02T12:07:29.811Z] 0f37312ad70f: Pull complete [2020-04-02T12:07:30.214Z] OK: 125 MiB in 39 packages [2020-04-02T12:07:31.171Z] Removing intermediate container 8be97e949b1d [2020-04-02T12:07:31.171Z] ---> 4d6ac800921c [2020-04-02T12:07:31.171Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-02T12:07:31.437Z] ---> Running in eef2747e58af [2020-04-02T12:07:31.702Z] Removing intermediate container eef2747e58af [2020-04-02T12:07:31.703Z] ---> d7e1ba33ca73 [2020-04-02T12:07:31.703Z] Step 7/8 : COPY . . [2020-04-02T12:07:32.663Z] ---> 42c6bf310408 [2020-04-02T12:07:32.663Z] Step 8/8 : RUN go mod download [2020-04-02T12:07:32.933Z] ---> Running in f5637a22695a [2020-04-02T12:07:35.568Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-02T12:07:35.568Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-02T12:07:35.568Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-02T12:07:35.568Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-02T12:07:35.834Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-02T12:07:35.834Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-02T12:07:35.834Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-04-02T12:07:35.834Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-02T12:07:36.100Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-04-02T12:07:36.101Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-04-02T12:07:36.101Z] go: finding github.com/fatih/color v1.7.0 [2020-04-02T12:07:36.101Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-02T12:07:36.101Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-02T12:07:36.101Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-02T12:07:36.101Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-02T12:07:36.101Z] go: finding github.com/google/uuid v1.1.0 [2020-04-02T12:07:36.101Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-04-02T12:07:36.101Z] go: finding github.com/gorilla/mux v1.6.2 [2020-04-02T12:07:36.367Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-04-02T12:07:36.367Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-02T12:07:36.367Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-04-02T12:07:36.367Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-02T12:07:36.367Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-02T12:07:36.367Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-02T12:07:36.367Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-02T12:07:36.635Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-02T12:07:36.635Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-02T12:07:36.635Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-02T12:07:36.635Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-02T12:07:36.635Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-02T12:07:36.635Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-02T12:07:36.902Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-02T12:07:36.902Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-02T12:07:36.902Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-02T12:07:36.902Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-04-02T12:07:36.902Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-02T12:07:36.902Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-02T12:07:36.902Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-02T12:07:36.902Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-02T12:07:37.170Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-02T12:07:37.170Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-02T12:07:37.170Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-02T12:07:37.170Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-02T12:07:37.170Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-02T12:07:37.437Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-02T12:07:37.437Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-02T12:07:37.437Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-02T12:07:37.437Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-02T12:07:37.437Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-02T12:07:37.437Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-02T12:07:37.437Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-02T12:07:37.437Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-02T12:07:37.437Z] go: finding github.com/posener/complete v1.1.1 [2020-04-02T12:07:37.704Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-02T12:07:37.704Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-02T12:07:37.704Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-02T12:07:37.704Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-02T12:07:37.704Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-02T12:07:37.704Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-02T12:07:37.972Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-02T12:07:37.972Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-02T12:07:37.972Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-02T12:07:37.972Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-02T12:07:37.972Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-04-02T12:07:37.990Z] 5788d62ee057: Pull complete [2020-04-02T12:07:37.990Z] 0e6b1d234666: Pull complete [2020-04-02T12:07:37.990Z] bf5d7aec512f: Pull complete [2020-04-02T12:07:43.272Z] 34c802a77dc8: Pull complete [2020-04-02T12:07:46.623Z] 9eb99e56ec68: Pull complete [2020-04-02T12:07:46.623Z] 27c7a5d97fbd: Pull complete [2020-04-02T12:07:47.569Z] 5c102a31e300: Pull complete [2020-04-02T12:07:47.569Z] dcfb455df0a1: Pull complete [2020-04-02T12:07:47.569Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-02T12:07:47.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-02T12:07:47.569Z] ---> 7c70fe431013 [2020-04-02T12:07:47.569Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-02T12:07:47.832Z] ---> Running in fdbe01c54e8a [2020-04-02T12:07:47.832Z] Removing intermediate container fdbe01c54e8a [2020-04-02T12:07:47.832Z] ---> 232eb1581ef6 [2020-04-02T12:07:47.832Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-02T12:07:47.832Z] ---> Running in 4aa64ce0c2ac [2020-04-02T12:07:49.222Z] Removing intermediate container 4aa64ce0c2ac [2020-04-02T12:07:49.222Z] ---> f070461ddea6 [2020-04-02T12:07:49.222Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-02T12:07:49.222Z] ---> Running in 602cec6fc655 [2020-04-02T12:07:50.164Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-02T12:07:51.102Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-02T12:07:51.102Z] OK: 143 MiB in 39 packages [2020-04-02T12:07:51.671Z] Removing intermediate container 602cec6fc655 [2020-04-02T12:07:51.671Z] ---> 530eafe06413 [2020-04-02T12:07:51.671Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-02T12:07:51.671Z] ---> Running in 863302352b19 [2020-04-02T12:07:51.932Z] Removing intermediate container 863302352b19 [2020-04-02T12:07:51.932Z] ---> 03645c9efe3b [2020-04-02T12:07:51.932Z] Step 7/8 : COPY . . [2020-04-02T12:07:52.573Z] ---> 250d99d9d51d [2020-04-02T12:07:52.573Z] Step 8/8 : RUN go mod download [2020-04-02T12:07:52.573Z] ---> Running in 56d489c548b2 [2020-04-02T12:07:52.971Z] Removing intermediate container f5637a22695a [2020-04-02T12:07:52.972Z] ---> 852c421af380 [2020-04-02T12:07:52.972Z] Successfully built 852c421af380 [2020-04-02T12:07:52.972Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-02T12:07:54.005Z] + docker inspect -f . ci-base-image-arm64 [2020-04-02T12:07:54.276Z] . [Pipeline] withDockerContainer [2020-04-02T12:07:54.605Z] prd-ubuntu18.04-docker-arm64-4c-16g-1869 does not seem to be running inside a container [2020-04-02T12:07:54.685Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-02T12:07:55.140Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-02T12:07:55.140Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-02T12:07:55.140Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-02T12:07:55.140Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-02T12:07:55.140Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-02T12:07:55.140Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-02T12:07:55.140Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-04-02T12:07:55.140Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-02T12:07:55.140Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-04-02T12:07:55.140Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-04-02T12:07:55.140Z] go: finding github.com/fatih/color v1.7.0 [2020-04-02T12:07:55.140Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-02T12:07:55.140Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-02T12:07:55.140Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-02T12:07:55.140Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-02T12:07:55.140Z] go: finding github.com/google/uuid v1.1.0 [2020-04-02T12:07:55.400Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-04-02T12:07:55.400Z] go: finding github.com/gorilla/mux v1.6.2 [2020-04-02T12:07:55.400Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-04-02T12:07:55.400Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-02T12:07:55.400Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-04-02T12:07:55.400Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-02T12:07:55.400Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-02T12:07:55.660Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-02T12:07:55.660Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-02T12:07:55.660Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-02T12:07:55.660Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-02T12:07:55.660Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-02T12:07:55.660Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-02T12:07:55.660Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-02T12:07:55.920Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-02T12:07:55.920Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-02T12:07:55.920Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-02T12:07:55.920Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-02T12:07:55.920Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-04-02T12:07:55.920Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-02T12:07:56.025Z] $ docker top 09bf40de630a8dc0d9f6baf921a5a6bb3b42117572454f96ed51b55d42db8ebb -eo pid,comm [2020-04-02T12:07:56.181Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-02T12:07:56.181Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-02T12:07:56.181Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-02T12:07:56.181Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-02T12:07:56.181Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-02T12:07:56.181Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-02T12:07:56.181Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [Pipeline] { [2020-04-02T12:07:56.441Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-02T12:07:56.441Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-02T12:07:56.441Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-02T12:07:56.441Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-02T12:07:56.441Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [Pipeline] sh [2020-04-02T12:07:56.701Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-02T12:07:56.701Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-02T12:07:56.701Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-02T12:07:56.701Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-02T12:07:56.701Z] go: finding github.com/posener/complete v1.1.1 [2020-04-02T12:07:56.701Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-02T12:07:56.701Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-02T12:07:56.960Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-02T12:07:56.960Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-02T12:07:56.960Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-02T12:07:56.960Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-02T12:07:56.960Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-02T12:07:56.960Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-02T12:07:57.099Z] + go version [2020-04-02T12:07:57.099Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-02T12:07:57.221Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-02T12:07:57.221Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-02T12:07:57.221Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-04-02T12:07:57.756Z] + make test [2020-04-02T12:07:57.756Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-02T12:08:07.248Z] Removing intermediate container 56d489c548b2 [2020-04-02T12:08:07.248Z] ---> e7c8f2f922f0 [2020-04-02T12:08:07.248Z] Successfully built e7c8f2f922f0 [2020-04-02T12:08:07.248Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-02T12:08:07.810Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-02T12:08:07.810Z] . [Pipeline] withDockerContainer [2020-04-02T12:08:07.994Z] prd-centos7-docker-4c-2g-1870 does not seem to be running inside a container [2020-04-02T12:08:08.122Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-02T12:08:08.795Z] $ docker top bbd54fcd1e9f4064897f4d7b9cb9ec80fa8175bb40f572d31505f8423ebee6d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-02T12:08:09.312Z] + go version [2020-04-02T12:08:09.312Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-02T12:08:09.623Z] + make test [2020-04-02T12:08:09.623Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-02T12:08:27.951Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-02T12:08:27.951Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-02T12:08:27.951Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-02T12:08:27.951Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-02T12:08:29.348Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.016s coverage: 23.1% of statements [2020-04-02T12:08:29.348Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.108s coverage: 95.8% of statements [2020-04-02T12:08:32.707Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.034s coverage: 12.7% of statements [2020-04-02T12:08:32.707Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.032s coverage: 25.2% of statements [2020-04-02T12:08:44.649Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-02T12:08:44.649Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-02T12:08:44.649Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-02T12:08:44.649Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-02T12:08:44.649Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.024s coverage: 23.1% of statements [2020-04-02T12:08:44.649Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.208s coverage: 95.8% of statements [2020-04-02T12:08:44.649Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.182s coverage: 12.7% of statements [2020-04-02T12:08:44.649Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.094s coverage: 25.2% of statements [2020-04-02T12:09:04.830Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.021s coverage: 30.0% of statements [2020-04-02T12:09:04.831Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 1.216s coverage: 40.6% of statements [2020-04-02T12:09:04.831Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-02T12:09:04.831Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-02T12:09:04.831Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.423s coverage: 75.0% of statements [2020-04-02T12:09:04.831Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-02T12:09:04.831Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-02T12:09:04.831Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-02T12:09:04.831Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.027s coverage: 52.6% of statements [2020-04-02T12:09:04.831Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.121s coverage: 76.1% of statements [2020-04-02T12:09:04.831Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-02T12:09:04.831Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-02T12:09:05.785Z] gofmt -l . [2020-04-02T12:09:05.785Z] [ "`gofmt -l .`" = "" ] [2020-04-02T12:09:05.785Z] ./bin/test-attribution-txt.sh [2020-04-02T12:09:06.728Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-02T12:09:07.393Z] Stashed 1 file(s) [Pipeline] } [2020-04-02T12:09:07.399Z] $ docker stop --time=1 bbd54fcd1e9f4064897f4d7b9cb9ec80fa8175bb40f572d31505f8423ebee6d0 [2020-04-02T12:09:08.996Z] $ docker rm -f bbd54fcd1e9f4064897f4d7b9cb9ec80fa8175bb40f572d31505f8423ebee6d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-02T12:09:10.319Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-02T12:09:10.616Z] + ls -al . [2020-04-02T12:09:10.616Z] total 204 [2020-04-02T12:09:10.616Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 2 12:09 . [2020-04-02T12:09:10.616Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 2 12:07 .. [2020-04-02T12:09:10.616Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 2 12:07 api [2020-04-02T12:09:10.616Z] -rw-rw-r--. 1 jenkins jenkins 6161 Apr 2 12:07 async.go [2020-04-02T12:09:10.616Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 2 12:07 bin [2020-04-02T12:09:10.616Z] -rw-r--r--. 1 jenkins jenkins 101454 Apr 2 12:09 coverage.out [2020-04-02T12:09:10.616Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 2 12:07 Dockerfile.build [2020-04-02T12:09:10.616Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 2 12:07 .dockerignore [2020-04-02T12:09:10.616Z] drwxrwxr-x. 4 jenkins jenkins 48 Apr 2 12:07 example [2020-04-02T12:09:10.616Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 2 12:07 .git [2020-04-02T12:09:10.616Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 2 12:07 .github [2020-04-02T12:09:10.616Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 2 12:07 .gitignore [2020-04-02T12:09:10.616Z] -rw-r--r--. 1 jenkins jenkins 536 Apr 2 12:09 go.mod [2020-04-02T12:09:10.616Z] -rw-r--r--. 1 jenkins jenkins 11140 Apr 2 12:09 go.sum [2020-04-02T12:09:10.616Z] drwxrwxr-x. 14 jenkins jenkins 197 Apr 2 12:07 internal [2020-04-02T12:09:10.616Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 2 12:07 Jenkinsfile [2020-04-02T12:09:10.616Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 2 12:07 LICENSE [2020-04-02T12:09:10.616Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 2 12:07 Makefile [2020-04-02T12:09:10.616Z] -rw-rw-r--. 1 jenkins jenkins 4352 Apr 2 12:07 manageddevices.go [2020-04-02T12:09:10.616Z] -rw-rw-r--. 1 jenkins jenkins 5473 Apr 2 12:07 managedprofiles.go [2020-04-02T12:09:10.616Z] -rw-rw-r--. 1 jenkins jenkins 3878 Apr 2 12:07 managedwatchers.go [2020-04-02T12:09:10.616Z] drwxrwxr-x. 4 jenkins jenkins 35 Apr 2 12:07 pkg [2020-04-02T12:09:10.616Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 2 12:07 README.md [2020-04-02T12:09:10.616Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 2 12:07 .semver [2020-04-02T12:09:10.616Z] -rw-rw-r--. 1 jenkins jenkins 10333 Apr 2 12:07 service.go [2020-04-02T12:09:10.616Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 2 12:07 snap [2020-04-02T12:09:10.616Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 2 12:04 VERSION [2020-04-02T12:09:10.616Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 2 12:07 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-02T12:09:10.919Z] + 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=7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef --label arch=amd64 --label version=0.0.0 . [2020-04-02T12:09:11.184Z] Sending build context to Docker daemon 2.935MB [2020-04-02T12:09:11.184Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-04-02T12:09:11.184Z] Step 2/20 : FROM ${BASE} AS builder [2020-04-02T12:09:11.184Z] ---> e7c8f2f922f0 [2020-04-02T12:09:11.184Z] Step 3/20 : ARG MAKE='make build' [2020-04-02T12:09:11.184Z] ---> Running in 20a07855d115 [2020-04-02T12:09:11.452Z] Removing intermediate container 20a07855d115 [2020-04-02T12:09:11.452Z] ---> 3b1e226b2673 [2020-04-02T12:09:11.452Z] Step 4/20 : WORKDIR /device-sdk-go [2020-04-02T12:09:11.452Z] ---> Running in 344f63cc32e8 [2020-04-02T12:09:11.712Z] Removing intermediate container 344f63cc32e8 [2020-04-02T12:09:11.712Z] ---> b194e9767493 [2020-04-02T12:09:11.712Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-02T12:09:11.712Z] ---> Running in 6d493eadf961 [2020-04-02T12:09:11.973Z] Removing intermediate container 6d493eadf961 [2020-04-02T12:09:11.973Z] ---> 641d6f8d52f7 [2020-04-02T12:09:11.973Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-02T12:09:11.973Z] ---> Running in c3cfc8e8824d [2020-04-02T12:09:12.939Z] Removing intermediate container c3cfc8e8824d [2020-04-02T12:09:12.939Z] ---> c082440abaf6 [2020-04-02T12:09:12.939Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-04-02T12:09:12.939Z] ---> Running in 385e16fe8ec2 [2020-04-02T12:09:14.377Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-02T12:09:14.948Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-02T12:09:15.210Z] OK: 143 MiB in 39 packages [2020-04-02T12:09:15.803Z] Removing intermediate container 385e16fe8ec2 [2020-04-02T12:09:15.803Z] ---> f57ec75f3e7a [2020-04-02T12:09:15.803Z] Step 8/20 : COPY . . [2020-04-02T12:09:16.399Z] ---> a05c8d35dc28 [2020-04-02T12:09:16.399Z] Step 9/20 : RUN ${MAKE} [2020-04-02T12:09:16.399Z] ---> Running in 55621a957df1 [2020-04-02T12:09:16.881Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.062s coverage: 30.0% of statements [2020-04-02T12:09:16.881Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.334s coverage: 40.6% of statements [2020-04-02T12:09:16.881Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-02T12:09:16.881Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-02T12:09:16.881Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 1.030s coverage: 75.0% of statements [2020-04-02T12:09:16.881Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-02T12:09:16.881Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-02T12:09:16.881Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-02T12:09:16.881Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements [2020-04-02T12:09:16.881Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.329s coverage: 76.1% of statements [2020-04-02T12:09:16.881Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-02T12:09:16.881Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-02T12:09:16.999Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-02T12:09:22.261Z] gofmt -l . [2020-04-02T12:09:22.846Z] [ "`gofmt -l .`" = "" ] [2020-04-02T12:09:23.113Z] ./bin/test-attribution-txt.sh [2020-04-02T12:09:23.696Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-02T12:09:23.977Z] Warning: overwriting stash ‘coverage-report’ [2020-04-02T12:09:24.440Z] Stashed 1 file(s) [Pipeline] } [2020-04-02T12:09:24.445Z] $ docker stop --time=1 09bf40de630a8dc0d9f6baf921a5a6bb3b42117572454f96ed51b55d42db8ebb [2020-04-02T12:09:26.542Z] $ docker rm -f 09bf40de630a8dc0d9f6baf921a5a6bb3b42117572454f96ed51b55d42db8ebb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-02T12:09:27.800Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-02T12:09:28.121Z] + ls -al . [2020-04-02T12:09:28.121Z] total 244 [2020-04-02T12:09:28.121Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 2 12:09 . [2020-04-02T12:09:28.121Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 12:06 .. [2020-04-02T12:09:28.121Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 2 12:06 .dockerignore [2020-04-02T12:09:28.121Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 2 12:06 .git [2020-04-02T12:09:28.121Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 12:06 .github [2020-04-02T12:09:28.121Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 2 12:06 .gitignore [2020-04-02T12:09:28.121Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 12:06 .semver [2020-04-02T12:09:28.121Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 2 12:06 Dockerfile.build [2020-04-02T12:09:28.121Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 2 12:06 Jenkinsfile [2020-04-02T12:09:28.121Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 2 12:06 LICENSE [2020-04-02T12:09:28.121Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 2 12:06 Makefile [2020-04-02T12:09:28.121Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 2 12:06 README.md [2020-04-02T12:09:28.121Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 2 12:04 VERSION [2020-04-02T12:09:28.121Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 12:06 api [2020-04-02T12:09:28.121Z] -rw-rw-r-- 1 jenkins jenkins 6161 Apr 2 12:06 async.go [2020-04-02T12:09:28.121Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 12:06 bin [2020-04-02T12:09:28.121Z] -rw-r--r-- 1 jenkins jenkins 101454 Apr 2 12:09 coverage.out [2020-04-02T12:09:28.121Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 12:06 example [2020-04-02T12:09:28.121Z] -rw-r--r-- 1 jenkins jenkins 536 Apr 2 12:09 go.mod [2020-04-02T12:09:28.121Z] -rw-r--r-- 1 jenkins jenkins 11140 Apr 2 12:09 go.sum [2020-04-02T12:09:28.121Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 2 12:06 internal [2020-04-02T12:09:28.121Z] -rw-rw-r-- 1 jenkins jenkins 4352 Apr 2 12:06 manageddevices.go [2020-04-02T12:09:28.121Z] -rw-rw-r-- 1 jenkins jenkins 5473 Apr 2 12:06 managedprofiles.go [2020-04-02T12:09:28.121Z] -rw-rw-r-- 1 jenkins jenkins 3878 Apr 2 12:06 managedwatchers.go [2020-04-02T12:09:28.121Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 12:06 pkg [2020-04-02T12:09:28.121Z] -rw-rw-r-- 1 jenkins jenkins 10333 Apr 2 12:06 service.go [2020-04-02T12:09:28.121Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 12:06 snap [2020-04-02T12:09:28.121Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 2 12:06 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-02T12:09:28.443Z] + 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=7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef --label arch=arm64 --label version=0.0.0 . [2020-04-02T12:09:29.026Z] Sending build context to Docker daemon 2.932MB [2020-04-02T12:09:29.026Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-04-02T12:09:29.026Z] Step 2/20 : FROM ${BASE} AS builder [2020-04-02T12:09:29.026Z] ---> 852c421af380 [2020-04-02T12:09:29.026Z] Step 3/20 : ARG MAKE='make build' [2020-04-02T12:09:29.026Z] ---> Running in 0b23c94f11ef [2020-04-02T12:09:29.608Z] Removing intermediate container 0b23c94f11ef [2020-04-02T12:09:29.608Z] ---> 212d8ae30551 [2020-04-02T12:09:29.608Z] Step 4/20 : WORKDIR /device-sdk-go [2020-04-02T12:09:29.608Z] ---> Running in 1a26e0449ff5 [2020-04-02T12:09:29.872Z] Removing intermediate container 1a26e0449ff5 [2020-04-02T12:09:29.872Z] ---> c78a0f3a69fc [2020-04-02T12:09:29.872Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-02T12:09:30.139Z] ---> Running in ec5e3cb98c59 [2020-04-02T12:09:30.409Z] Removing intermediate container ec5e3cb98c59 [2020-04-02T12:09:30.409Z] ---> 0118c82bf725 [2020-04-02T12:09:30.409Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-02T12:09:30.409Z] ---> Running in d5d47a81acf5 [2020-04-02T12:09:32.356Z] Removing intermediate container d5d47a81acf5 [2020-04-02T12:09:32.356Z] ---> e53e448ea40a [2020-04-02T12:09:32.356Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-04-02T12:09:32.356Z] ---> Running in af26044fb754 [2020-04-02T12:09:33.316Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-02T12:09:33.896Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-02T12:09:34.482Z] OK: 125 MiB in 39 packages [2020-04-02T12:09:35.312Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-02T12:09:35.437Z] Removing intermediate container af26044fb754 [2020-04-02T12:09:35.437Z] ---> 94c1d474fe1d [2020-04-02T12:09:35.437Z] Step 8/20 : COPY . . [2020-04-02T12:09:36.393Z] ---> 78722e1b46b3 [2020-04-02T12:09:36.393Z] Step 9/20 : RUN ${MAKE} [2020-04-02T12:09:36.393Z] ---> Running in 63c1879f55b2 [2020-04-02T12:09:37.359Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-02T12:09:41.996Z] Removing intermediate container 55621a957df1 [2020-04-02T12:09:41.996Z] ---> dd0cadca6518 [2020-04-02T12:09:41.996Z] Step 10/20 : FROM scratch [2020-04-02T12:09:41.996Z] ---> [2020-04-02T12:09:41.996Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-02T12:09:41.996Z] ---> Running in 5400abb81587 [2020-04-02T12:09:41.996Z] Removing intermediate container 5400abb81587 [2020-04-02T12:09:41.996Z] ---> 79c8f7028b1b [2020-04-02T12:09:41.996Z] Step 12/20 : ENV APP_PORT=49990 [2020-04-02T12:09:41.996Z] ---> Running in b23df34ae145 [2020-04-02T12:09:41.996Z] Removing intermediate container b23df34ae145 [2020-04-02T12:09:41.997Z] ---> bd20aa529164 [2020-04-02T12:09:41.997Z] Step 13/20 : EXPOSE $APP_PORT [2020-04-02T12:09:41.997Z] ---> Running in 75a8b4b89220 [2020-04-02T12:09:41.997Z] Removing intermediate container 75a8b4b89220 [2020-04-02T12:09:41.997Z] ---> 3d71239e7ea8 [2020-04-02T12:09:41.997Z] Step 14/20 : WORKDIR / [2020-04-02T12:09:41.997Z] ---> Running in d4fedd440645 [2020-04-02T12:09:41.997Z] Removing intermediate container d4fedd440645 [2020-04-02T12:09:41.997Z] ---> fbe2d3f780c8 [2020-04-02T12:09:41.997Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-02T12:09:42.264Z] ---> 292ca780f544 [2020-04-02T12:09:42.264Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-04-02T12:09:42.533Z] ---> 9325c0481ba6 [2020-04-02T12:09:42.533Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-04-02T12:09:42.533Z] ---> Running in 35c64e30b299 [2020-04-02T12:09:42.797Z] Removing intermediate container 35c64e30b299 [2020-04-02T12:09:42.797Z] ---> 14e8d5c6b69c [2020-04-02T12:09:42.797Z] Step 18/20 : LABEL arch=amd64 [2020-04-02T12:09:42.797Z] ---> Running in 90ecae414c2d [2020-04-02T12:09:43.372Z] Removing intermediate container 90ecae414c2d [2020-04-02T12:09:43.372Z] ---> ae08bcdc9db1 [2020-04-02T12:09:43.372Z] Step 19/20 : LABEL git_sha=7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef [2020-04-02T12:09:43.372Z] ---> Running in 9eb7ebc085ea [2020-04-02T12:09:43.372Z] Removing intermediate container 9eb7ebc085ea [2020-04-02T12:09:43.372Z] ---> 5d10d867ebc9 [2020-04-02T12:09:43.372Z] Step 20/20 : LABEL version=0.0.0 [2020-04-02T12:09:43.372Z] ---> Running in 444dc4439eb7 [2020-04-02T12:09:44.309Z] Removing intermediate container 444dc4439eb7 [2020-04-02T12:09:44.309Z] ---> 090d8e3813a0 [2020-04-02T12:09:44.309Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-02T12:09:44.309Z] Successfully built 090d8e3813a0 [2020-04-02T12:09:44.309Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-02T12:10:16.631Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-02T12:10:28.934Z] Removing intermediate container 63c1879f55b2 [2020-04-02T12:10:28.934Z] ---> 5d213caef755 [2020-04-02T12:10:28.934Z] Step 10/20 : FROM scratch [2020-04-02T12:10:28.934Z] ---> [2020-04-02T12:10:28.934Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-02T12:10:28.934Z] ---> Running in 082329db3008 [2020-04-02T12:10:28.934Z] Removing intermediate container 082329db3008 [2020-04-02T12:10:28.934Z] ---> 5dbbdc09f9d6 [2020-04-02T12:10:28.934Z] Step 12/20 : ENV APP_PORT=49990 [2020-04-02T12:10:28.934Z] ---> Running in 034f9f42bffa [2020-04-02T12:10:28.934Z] Removing intermediate container 034f9f42bffa [2020-04-02T12:10:28.934Z] ---> f58b7d7be632 [2020-04-02T12:10:28.934Z] Step 13/20 : EXPOSE $APP_PORT [2020-04-02T12:10:28.934Z] ---> Running in 61f0957e443f [2020-04-02T12:10:28.934Z] Removing intermediate container 61f0957e443f [2020-04-02T12:10:28.934Z] ---> 82854d51ab0e [2020-04-02T12:10:28.934Z] Step 14/20 : WORKDIR / [2020-04-02T12:10:28.934Z] ---> Running in 0af186c785bb [2020-04-02T12:10:28.934Z] Removing intermediate container 0af186c785bb [2020-04-02T12:10:28.934Z] ---> 17713f17a7a4 [2020-04-02T12:10:28.934Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-02T12:10:29.896Z] ---> bcf9399a45be [2020-04-02T12:10:29.896Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-04-02T12:10:30.480Z] ---> b292467743ce [2020-04-02T12:10:30.480Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-04-02T12:10:30.480Z] ---> Running in 18965c2913d1 [2020-04-02T12:10:30.747Z] Removing intermediate container 18965c2913d1 [2020-04-02T12:10:30.747Z] ---> 36d097e02bb7 [2020-04-02T12:10:30.747Z] Step 18/20 : LABEL arch=arm64 [2020-04-02T12:10:31.013Z] ---> Running in 690119e8da37 [2020-04-02T12:10:31.283Z] Removing intermediate container 690119e8da37 [2020-04-02T12:10:31.283Z] ---> 6271b32cc60a [2020-04-02T12:10:31.283Z] Step 19/20 : LABEL git_sha=7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef [2020-04-02T12:10:31.283Z] ---> Running in 81a387182a74 [2020-04-02T12:10:31.862Z] Removing intermediate container 81a387182a74 [2020-04-02T12:10:31.862Z] ---> e440b5deefea [2020-04-02T12:10:31.862Z] Step 20/20 : LABEL version=0.0.0 [2020-04-02T12:10:31.862Z] ---> Running in cb664fe671fa [2020-04-02T12:10:32.128Z] Removing intermediate container cb664fe671fa [2020-04-02T12:10:32.128Z] ---> 8933c1aaa59f [2020-04-02T12:10:32.128Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-02T12:10:32.128Z] Successfully built 8933c1aaa59f [2020-04-02T12:10:32.128Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-04-02T12:10:33.156Z] provisioning config files... [2020-04-02T12:10:33.173Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config828039857674298348tmp [Pipeline] { [Pipeline] sh [2020-04-02T12:10:33.529Z] + curl -s https://codecov.io/bash [2020-04-02T12:10:33.529Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config828039857674298348tmp [2020-04-02T12:10:33.792Z] [2020-04-02T12:10:33.792Z] _____ _ [2020-04-02T12:10:33.792Z] / ____| | | [2020-04-02T12:10:33.792Z] | | ___ __| | ___ ___ _____ __ [2020-04-02T12:10:33.792Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-02T12:10:33.792Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-02T12:10:33.792Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-02T12:10:33.792Z] Bash-tbd [2020-04-02T12:10:33.792Z] [2020-04-02T12:10:33.792Z] [2020-04-02T12:10:33.792Z] ==> Jenkins CI detected. [2020-04-02T12:10:33.792Z] project root: . [2020-04-02T12:10:33.792Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-02T12:10:34.050Z] ==> Running gcov in . (disable via -X gcov) [2020-04-02T12:10:34.051Z] ==> Python coveragepy not found [2020-04-02T12:10:34.051Z] ==> Searching for coverage reports in: [2020-04-02T12:10:34.051Z] + . [2020-04-02T12:10:34.051Z] -> Found 1 reports [2020-04-02T12:10:34.051Z] ==> Detecting git/mercurial file structure [2020-04-02T12:10:34.051Z] ==> Reading reports [2020-04-02T12:10:34.051Z] + ./coverage.out bytes=101454 [2020-04-02T12:10:34.051Z] ==> Appending adjustments [2020-04-02T12:10:34.051Z] http://docs.codecov.io/docs/fixing-reports [2020-04-02T12:10:34.309Z] + Found adjustments [2020-04-02T12:10:34.309Z] ==> Gzipping contents [2020-04-02T12:10:34.309Z] ==> Uploading reports [2020-04-02T12:10:34.309Z] url: https://codecov.io [2020-04-02T12:10:34.309Z] query: branch=PR-448&commit=7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-448%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=448&job= [2020-04-02T12:10:34.309Z] -> Pinging Codecov [2020-04-02T12:10:34.309Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-448&commit=7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-448%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=448&job= [2020-04-02T12:10:34.877Z] -> Uploading [2020-04-02T12:10:35.452Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7ec8ff9f5abb00aa859cf9bb141b9107cc2fccef [Pipeline] } [2020-04-02T12:10:35.459Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-04-02T12:10:36.669Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-02T12:10:36.968Z] ---> package-listing.sh [2020-04-02T12:10:36.968Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-02T12:10:36.968Z] ++ facter osfamily [2020-04-02T12:10:36.968Z] + OS_FAMILY=redhat [2020-04-02T12:10:36.968Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-448 [2020-04-02T12:10:36.968Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-02T12:10:36.968Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-02T12:10:36.968Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-02T12:10:36.968Z] + PACKAGES=/tmp/packages_start.txt [2020-04-02T12:10:36.968Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' [2020-04-02T12:10:36.968Z] + PACKAGES=/tmp/packages_end.txt [2020-04-02T12:10:36.968Z] + case "${OS_FAMILY}" in [2020-04-02T12:10:36.968Z] + rpm -qa [2020-04-02T12:10:36.968Z] + sort [2020-04-02T12:10:41.202Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-02T12:10:41.202Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-02T12:10:41.202Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-02T12:10:41.479Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' [2020-04-02T12:10:41.479Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-448/archives/ [2020-04-02T12:10:41.479Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-448/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-02T12:10:41.981Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-02T12:10:42.245Z] [2020-04-02T12:10:42.245Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-02T12:10:42.594Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-02T12:10:42.594Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-02T12:10:42.594Z] c9b1b535fdd9: Pulling fs layer [2020-04-02T12:10:42.594Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-02T12:10:42.594Z] 756a868c4378: Pulling fs layer [2020-04-02T12:10:42.594Z] 444b2fc9a129: Pulling fs layer [2020-04-02T12:10:42.594Z] ea15f1150254: Pulling fs layer [2020-04-02T12:10:42.594Z] 41b27a9f41bf: Pulling fs layer [2020-04-02T12:10:42.594Z] 28c525ee5125: Pulling fs layer [2020-04-02T12:10:42.594Z] 094b1ea09ed8: Pulling fs layer [2020-04-02T12:10:42.594Z] 138eaada9080: Pulling fs layer [2020-04-02T12:10:42.594Z] 0622d0fa9048: Pulling fs layer [2020-04-02T12:10:42.594Z] 41b27a9f41bf: Waiting [2020-04-02T12:10:42.594Z] 28c525ee5125: Waiting [2020-04-02T12:10:42.594Z] 094b1ea09ed8: Waiting [2020-04-02T12:10:42.594Z] 138eaada9080: Waiting [2020-04-02T12:10:42.594Z] 0622d0fa9048: Waiting [2020-04-02T12:10:42.594Z] 444b2fc9a129: Waiting [2020-04-02T12:10:42.594Z] ea15f1150254: Waiting [2020-04-02T12:10:42.594Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-02T12:10:42.594Z] 2cc5ad85d9ab: Download complete [2020-04-02T12:10:42.870Z] 444b2fc9a129: Verifying Checksum [2020-04-02T12:10:42.870Z] 444b2fc9a129: Download complete [2020-04-02T12:10:42.870Z] c9b1b535fdd9: Verifying Checksum [2020-04-02T12:10:42.870Z] c9b1b535fdd9: Download complete [2020-04-02T12:10:43.153Z] ea15f1150254: Download complete [2020-04-02T12:10:43.484Z] c9b1b535fdd9: Pull complete [2020-04-02T12:10:43.484Z] 28c525ee5125: Verifying Checksum [2020-04-02T12:10:43.484Z] 28c525ee5125: Download complete [2020-04-02T12:10:43.781Z] 2cc5ad85d9ab: Pull complete [2020-04-02T12:10:44.065Z] 756a868c4378: Verifying Checksum [2020-04-02T12:10:44.065Z] 756a868c4378: Download complete [2020-04-02T12:10:44.771Z] 138eaada9080: Verifying Checksum [2020-04-02T12:10:44.771Z] 138eaada9080: Download complete [2020-04-02T12:10:44.771Z] 0622d0fa9048: Verifying Checksum [2020-04-02T12:10:44.771Z] 0622d0fa9048: Download complete [2020-04-02T12:10:45.163Z] 094b1ea09ed8: Verifying Checksum [2020-04-02T12:10:45.163Z] 094b1ea09ed8: Download complete [2020-04-02T12:10:45.754Z] 41b27a9f41bf: Verifying Checksum [2020-04-02T12:10:45.754Z] 41b27a9f41bf: Download complete [2020-04-02T12:10:47.207Z] 756a868c4378: Pull complete [2020-04-02T12:10:47.487Z] 444b2fc9a129: Pull complete [2020-04-02T12:10:47.765Z] ea15f1150254: Pull complete [2020-04-02T12:10:52.081Z] 41b27a9f41bf: Pull complete [2020-04-02T12:10:52.357Z] 28c525ee5125: Pull complete [2020-04-02T12:10:55.703Z] 094b1ea09ed8: Pull complete [2020-04-02T12:10:55.703Z] 138eaada9080: Pull complete [2020-04-02T12:10:55.703Z] 0622d0fa9048: Pull complete [2020-04-02T12:10:55.703Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-02T12:10:55.703Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-02T12:10:55.956Z] prd-centos7-docker-4c-2g-1867 does not seem to be running inside a container [2020-04-02T12:10:56.037Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-448 -v /w/workspace/dgexfoundry_device-sdk-go_PR-448:/w/workspace/dgexfoundry_device-sdk-go_PR-448:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-02T12:10:57.519Z] $ docker top 0fcba3f5e970c04c4695c5fb57e1e36a6a69598f5dcfe8eb846e7af8629eb916 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-04-02T12:10:57.844Z] provisioning config files... [2020-04-02T12:10:57.862Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config7146533088011027815tmp [Pipeline] { [Pipeline] echo [2020-04-02T12:10:57.922Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-02T12:10:58.755Z] ---> create-netrc.sh [Pipeline] echo [2020-04-02T12:10:58.774Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-02T12:10:59.418Z] ---> logs-deploy.sh [2020-04-02T12:10:59.418Z] + ARCHIVE_ARTIFACTS= [2020-04-02T12:10:59.418Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-02T12:10:59.418Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-02T12:10:59.418Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-02T12:10:59.418Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/18 [2020-04-02T12:10:59.418Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/18/ [2020-04-02T12:10:59.418Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/18 /w/workspace/dgexfoundry_device-sdk-go_PR-448 [2020-04-02T12:11:00.820Z] Archives upload complete. [2020-04-02T12:11:01.403Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/18 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/18/