Pull request #503 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from fb4ef531f7f89b04d3574cd50796b36f2b0daafe+0e104270bcdba6d57d1eb654a33ea3a0d313d58c (1050ff37c837f2228a8637a0272df187756cdb7c) 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5322 in /w/workspace/dgexfoundry_device-sdk-go_PR-503 [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-503 # 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/503/head:refs/remotes/origin/PR-503 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 0e104270bcdba6d57d1eb654a33ea3a0d313d58c into PR head commit fb4ef531f7f89b04d3574cd50796b36f2b0daafe Merge succeeded, producing fb4ef531f7f89b04d3574cd50796b36f2b0daafe Checking out Revision fb4ef531f7f89b04d3574cd50796b36f2b0daafe (PR-503) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/503/head:refs/remotes/origin/PR-503 # 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/503/head:refs/remotes/origin/PR-503 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb4ef531f7f89b04d3574cd50796b36f2b0daafe # 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 0e104270bcdba6d57d1eb654a33ea3a0d313d58c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb4ef531f7f89b04d3574cd50796b36f2b0daafe # timeout=10 Commit message: "feature(environment): Allow uppercase environment overrides" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-21T17:48:13.538Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-21T17:48:13.806Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-21T17:48:13.908Z] ========================================================= [2020-04-21T17:48:13.908Z] EdgeX Global Pipelines Version Info [2020-04-21T17:48:13.908Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-21T17:48:15.362Z] ------------------- [2020-04-21T17:48:15.362Z] stable info: [2020-04-21T17:48:15.362Z] ------------------- [2020-04-21T17:48:15.362Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-21T17:48:15.362Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T17:48:15.362Z] Message: update stable to v1.0.73 [2020-04-21T17:48:15.932Z] ------------------- [2020-04-21T17:48:15.932Z] experimental info: [2020-04-21T17:48:15.932Z] ------------------- [2020-04-21T17:48:15.932Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-21T17:48:15.932Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T17:48:15.932Z] Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-21T17:48:17.683Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T17:48:17.943Z] [2020-04-21T17:48:17.943Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-21T17:48:18.274Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T17:48:18.274Z] latest: Pulling from edgex-devops/git-semver [2020-04-21T17:48:18.274Z] 9123ac7c32f7: Pulling fs layer [2020-04-21T17:48:18.274Z] b8cc5d1170e3: Pulling fs layer [2020-04-21T17:48:18.274Z] 2924cbbf6a41: Pulling fs layer [2020-04-21T17:48:18.274Z] 93b08a4f1073: Pulling fs layer [2020-04-21T17:48:18.274Z] 93b08a4f1073: Waiting [2020-04-21T17:48:18.274Z] b8cc5d1170e3: Verifying Checksum [2020-04-21T17:48:18.274Z] b8cc5d1170e3: Download complete [2020-04-21T17:48:18.542Z] 9123ac7c32f7: Download complete [2020-04-21T17:48:18.542Z] 93b08a4f1073: Verifying Checksum [2020-04-21T17:48:18.542Z] 93b08a4f1073: Download complete [2020-04-21T17:48:18.542Z] 2924cbbf6a41: Verifying Checksum [2020-04-21T17:48:18.542Z] 2924cbbf6a41: Download complete [2020-04-21T17:48:18.802Z] 9123ac7c32f7: Pull complete [2020-04-21T17:48:18.802Z] b8cc5d1170e3: Pull complete [2020-04-21T17:48:19.739Z] 2924cbbf6a41: Pull complete [2020-04-21T17:48:19.998Z] 93b08a4f1073: Pull complete [2020-04-21T17:48:19.998Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-21T17:48:19.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-21T17:48:20.137Z] prd-centos7-docker-4c-2g-5322 does not seem to be running inside a container [2020-04-21T17:48:20.190Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-503 -v /w/workspace/dgexfoundry_device-sdk-go_PR-503:/w/workspace/dgexfoundry_device-sdk-go_PR-503:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-21T17:48:20.889Z] $ docker top 03d77bebb5f3f73af040f2a1f1daad574ffee3b66564a51f860bc719aaa1028f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T17:48:21.193Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T17:48:21.193Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T17:48:21.488Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T17:48:21.496Z] $ docker exec 03d77bebb5f3f73af040f2a1f1daad574ffee3b66564a51f860bc719aaa1028f ssh-agent [2020-04-21T17:48:21.708Z] SSH_AUTH_SOCK=/tmp/ssh-ymYvzwLdTVaE/agent.16 [2020-04-21T17:48:21.708Z] SSH_AGENT_PID=23 [2020-04-21T17:48:21.760Z] Running ssh-add (command line suppressed) [2020-04-21T17:48:21.955Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp/private_key_1387726436282162581.key (/w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp/private_key_1387726436282162581.key) [2020-04-21T17:48:22.043Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T17:48:22.365Z] + git describe --exact-match --tags HEAD [2020-04-21T17:48:22.365Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-21T17:48:22.425Z] $ docker exec --env ******** --env ******** 03d77bebb5f3f73af040f2a1f1daad574ffee3b66564a51f860bc719aaa1028f ssh-agent -k [2020-04-21T17:48:22.582Z] unset SSH_AUTH_SOCK; [2020-04-21T17:48:22.585Z] unset SSH_AGENT_PID; [2020-04-21T17:48:22.585Z] echo Agent pid 23 killed; [2020-04-21T17:48:22.635Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-21T17:48:22.703Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-21T17:48:22.703Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-21T17:48:22.776Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T17:48:22.776Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T17:48:22.985Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T17:48:22.988Z] $ docker exec 03d77bebb5f3f73af040f2a1f1daad574ffee3b66564a51f860bc719aaa1028f ssh-agent [2020-04-21T17:48:23.182Z] SSH_AUTH_SOCK=/tmp/ssh-UHTxarDtxJ8a/agent.58 [2020-04-21T17:48:23.182Z] SSH_AGENT_PID=65 [2020-04-21T17:48:23.199Z] Running ssh-add (command line suppressed) [2020-04-21T17:48:23.350Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp/private_key_2534491172936145583.key (/w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp/private_key_2534491172936145583.key) [2020-04-21T17:48:23.403Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T17:48:23.731Z] + git semver init [2020-04-21T17:48:23.731Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T17:48:23.731Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-503/.git [2020-04-21T17:48:23.731Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-503 [2020-04-21T17:48:23.731Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T17:48:23.731Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T17:48:23.731Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T17:48:23.731Z] # $SEMVER_BRANCH = PR-503 [2020-04-21T17:48:23.731Z] # $SEMVER_TEMP = /tmp/semver-079239405 [2020-04-21T17:48:23.731Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-21T17:48:24.302Z] # '/tmp/semver-079239405' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-503/.semver' [2020-04-21T17:48:24.302Z] # -> Force: false [2020-04-21T17:48:24.302Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-503/.semver [Pipeline] } [2020-04-21T17:48:24.312Z] $ docker exec --env ******** --env ******** 03d77bebb5f3f73af040f2a1f1daad574ffee3b66564a51f860bc719aaa1028f ssh-agent -k [2020-04-21T17:48:24.465Z] unset SSH_AUTH_SOCK; [2020-04-21T17:48:24.465Z] unset SSH_AGENT_PID; [2020-04-21T17:48:24.465Z] echo Agent pid 65 killed; [2020-04-21T17:48:24.514Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T17:48:24.985Z] + git semver [Pipeline] } [2020-04-21T17:48:25.000Z] $ docker stop --time=1 03d77bebb5f3f73af040f2a1f1daad574ffee3b66564a51f860bc719aaa1028f [2020-04-21T17:48:26.345Z] $ docker rm -f 03d77bebb5f3f73af040f2a1f1daad574ffee3b66564a51f860bc719aaa1028f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-21T17:48:27.228Z] Stashed 52 file(s) [Pipeline] echo [2020-04-21T17:48:27.229Z] [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-21T17:48:42.456Z] Still waiting to schedule task [2020-04-21T17:48:42.457Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-21T17:48:42.458Z] Still waiting to schedule task [2020-04-21T17:48:42.458Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-21T17:50:13.644Z] Running on prd-centos7-docker-4c-2g-5324 in /w/workspace/dgexfoundry_device-sdk-go_PR-503 [Pipeline] { [Pipeline] ws [2020-04-21T17:50:13.702Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-04-21T17:50:15.858Z] using credential edgex-jenkins-ssh [2020-04-21T17:50:15.902Z] Cloning the remote Git repository [2020-04-21T17:50:15.902Z] Cloning with configured refspecs honoured and without tags [2020-04-21T17:50:15.825Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T17:50:15.868Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-04-21T17:50:15.911Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T17:50:15.912Z] > git --version # timeout=10 [2020-04-21T17:50:15.919Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T17:50:15.955Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/503/head:refs/remotes/origin/PR-503 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T17:50:16.652Z] Fetching without tags [2020-04-21T17:50:17.014Z] Merging remotes/origin/master commit 0e104270bcdba6d57d1eb654a33ea3a0d313d58c into PR head commit fb4ef531f7f89b04d3574cd50796b36f2b0daafe [2020-04-21T17:50:17.105Z] Merge succeeded, producing fb4ef531f7f89b04d3574cd50796b36f2b0daafe [2020-04-21T17:50:17.105Z] Checking out Revision fb4ef531f7f89b04d3574cd50796b36f2b0daafe (PR-503) [2020-04-21T17:50:16.527Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T17:50:16.534Z] > git config --add remote.origin.fetch +refs/pull/503/head:refs/remotes/origin/PR-503 # timeout=10 [2020-04-21T17:50:16.539Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T17:50:16.551Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T17:50:16.567Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T17:50:16.568Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T17:50:16.572Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/503/head:refs/remotes/origin/PR-503 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T17:50:16.963Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T17:50:16.978Z] > git checkout -f fb4ef531f7f89b04d3574cd50796b36f2b0daafe # timeout=10 [2020-04-21T17:50:17.023Z] > git remote # timeout=10 [2020-04-21T17:50:17.030Z] > git config --get remote.origin.url # timeout=10 [2020-04-21T17:50:17.034Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T17:50:17.038Z] > git merge 0e104270bcdba6d57d1eb654a33ea3a0d313d58c # timeout=10 [2020-04-21T17:50:17.047Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-21T17:50:17.057Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T17:50:17.067Z] > git checkout -f fb4ef531f7f89b04d3574cd50796b36f2b0daafe # timeout=10 [2020-04-21T17:50:20.893Z] Commit message: "feature(environment): Allow uppercase environment overrides" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T17:50:21.696Z] ========================================================= [2020-04-21T17:50:21.696Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-21T17:50:21.696Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T17:50:22.430Z] + 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-21T17:50:22.692Z] Sending build context to Docker daemon 3.008MB [2020-04-21T17:50:22.692Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T17:50:22.692Z] Step 2/8 : FROM ${BASE} [2020-04-21T17:50:22.692Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-21T17:50:22.692Z] e6b0cf9c0882: Pulling fs layer [2020-04-21T17:50:22.692Z] 2848faf0eed1: Pulling fs layer [2020-04-21T17:50:22.692Z] 0f37312ad70f: Pulling fs layer [2020-04-21T17:50:22.692Z] 5788d62ee057: Pulling fs layer [2020-04-21T17:50:22.692Z] 0e6b1d234666: Pulling fs layer [2020-04-21T17:50:22.692Z] bf5d7aec512f: Pulling fs layer [2020-04-21T17:50:22.692Z] 34c802a77dc8: Pulling fs layer [2020-04-21T17:50:22.692Z] 9eb99e56ec68: Pulling fs layer [2020-04-21T17:50:22.692Z] 27c7a5d97fbd: Pulling fs layer [2020-04-21T17:50:22.692Z] 5c102a31e300: Pulling fs layer [2020-04-21T17:50:22.692Z] dcfb455df0a1: Pulling fs layer [2020-04-21T17:50:22.692Z] 34c802a77dc8: Waiting [2020-04-21T17:50:22.692Z] 9eb99e56ec68: Waiting [2020-04-21T17:50:22.692Z] 27c7a5d97fbd: Waiting [2020-04-21T17:50:22.692Z] 5c102a31e300: Waiting [2020-04-21T17:50:22.692Z] dcfb455df0a1: Waiting [2020-04-21T17:50:22.692Z] 0e6b1d234666: Waiting [2020-04-21T17:50:22.692Z] bf5d7aec512f: Waiting [2020-04-21T17:50:22.692Z] 5788d62ee057: Waiting [2020-04-21T17:50:22.692Z] 0f37312ad70f: Verifying Checksum [2020-04-21T17:50:22.692Z] 0f37312ad70f: Download complete [2020-04-21T17:50:22.692Z] 2848faf0eed1: Download complete [2020-04-21T17:50:22.692Z] 0e6b1d234666: Verifying Checksum [2020-04-21T17:50:22.692Z] 0e6b1d234666: Download complete [2020-04-21T17:50:22.692Z] bf5d7aec512f: Verifying Checksum [2020-04-21T17:50:22.692Z] bf5d7aec512f: Download complete [2020-04-21T17:50:22.692Z] e6b0cf9c0882: Verifying Checksum [2020-04-21T17:50:22.692Z] e6b0cf9c0882: Download complete [2020-04-21T17:50:22.953Z] e6b0cf9c0882: Pull complete [2020-04-21T17:50:23.213Z] 2848faf0eed1: Pull complete [2020-04-21T17:50:23.213Z] 0f37312ad70f: Pull complete [2020-04-21T17:50:23.798Z] 34c802a77dc8: Verifying Checksum [2020-04-21T17:50:23.798Z] 34c802a77dc8: Download complete [2020-04-21T17:50:23.798Z] 27c7a5d97fbd: Verifying Checksum [2020-04-21T17:50:23.798Z] 27c7a5d97fbd: Download complete [2020-04-21T17:50:24.062Z] 5c102a31e300: Verifying Checksum [2020-04-21T17:50:24.062Z] 5c102a31e300: Download complete [2020-04-21T17:50:24.321Z] dcfb455df0a1: Verifying Checksum [2020-04-21T17:50:24.321Z] dcfb455df0a1: Download complete [2020-04-21T17:50:24.321Z] 9eb99e56ec68: Verifying Checksum [2020-04-21T17:50:24.321Z] 9eb99e56ec68: Download complete [2020-04-21T17:50:24.580Z] 5788d62ee057: Verifying Checksum [2020-04-21T17:50:24.580Z] 5788d62ee057: Download complete [2020-04-21T17:50:31.142Z] 5788d62ee057: Pull complete [2020-04-21T17:50:31.142Z] 0e6b1d234666: Pull complete [2020-04-21T17:50:31.142Z] bf5d7aec512f: Pull complete [2020-04-21T17:50:34.452Z] 34c802a77dc8: Pull complete [2020-04-21T17:50:37.758Z] 9eb99e56ec68: Pull complete [2020-04-21T17:50:38.016Z] 27c7a5d97fbd: Pull complete [2020-04-21T17:50:38.584Z] 5c102a31e300: Pull complete [2020-04-21T17:50:38.842Z] dcfb455df0a1: Pull complete [2020-04-21T17:50:38.842Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-21T17:50:38.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-21T17:50:38.842Z] ---> 7c70fe431013 [2020-04-21T17:50:38.842Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T17:50:38.842Z] ---> Running in 60aa1c1480aa [2020-04-21T17:50:39.100Z] Removing intermediate container 60aa1c1480aa [2020-04-21T17:50:39.100Z] ---> 9710b106562a [2020-04-21T17:50:39.100Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T17:50:39.100Z] ---> Running in 2454143f80a9 [2020-04-21T17:50:40.473Z] Removing intermediate container 2454143f80a9 [2020-04-21T17:50:40.473Z] ---> f851fb7f8357 [2020-04-21T17:50:40.473Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-21T17:50:40.473Z] ---> Running in a3d64f2294d2 [2020-04-21T17:50:40.732Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T17:50:41.669Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T17:50:42.605Z] OK: 143 MiB in 39 packages [2020-04-21T17:50:42.864Z] Removing intermediate container a3d64f2294d2 [2020-04-21T17:50:42.864Z] ---> 5ec2ea4433eb [2020-04-21T17:50:42.864Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-21T17:50:43.122Z] ---> Running in 2ebcc7552caa [2020-04-21T17:50:43.122Z] Removing intermediate container 2ebcc7552caa [2020-04-21T17:50:43.122Z] ---> 6d76bc847973 [2020-04-21T17:50:43.122Z] Step 7/8 : COPY . . [2020-04-21T17:50:43.697Z] ---> 3a5023d6c6c2 [2020-04-21T17:50:43.697Z] Step 8/8 : RUN go mod download [2020-04-21T17:50:43.697Z] ---> Running in 13a9d8f81ae8 [2020-04-21T17:50:45.078Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T17:50:45.078Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T17:50:45.078Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T17:50:45.078Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T17:50:45.078Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T17:50:45.078Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T17:50:45.078Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T17:50:45.078Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T17:50:45.078Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-21T17:50:45.078Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T17:50:45.078Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T17:50:45.078Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T17:50:45.078Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T17:50:45.337Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T17:50:45.337Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T17:50:45.337Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T17:50:45.337Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T17:50:45.337Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T17:50:45.337Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T17:50:45.337Z] go: finding github.com/google/uuid v1.1.0 [2020-04-21T17:50:45.337Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T17:50:45.337Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T17:50:45.337Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T17:50:45.337Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T17:50:45.337Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T17:50:45.337Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T17:50:45.337Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T17:50:45.337Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T17:50:45.337Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T17:50:45.337Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-21T17:50:45.337Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T17:50:45.337Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T17:50:45.337Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T17:50:45.337Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-21T17:50:45.337Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T17:50:45.337Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T17:50:45.337Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T17:50:45.337Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T17:50:45.337Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T17:50:45.337Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T17:50:45.337Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T17:50:45.337Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-21T17:50:45.337Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T17:50:45.337Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T17:50:45.337Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T17:50:45.337Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-21T17:50:45.337Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T17:50:45.337Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T17:50:45.337Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T17:50:45.337Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T17:50:45.337Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T17:50:45.598Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T17:50:45.598Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T17:50:45.598Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T17:50:45.598Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T17:50:45.598Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T17:50:45.598Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-21T17:50:45.598Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T17:50:45.598Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T17:50:45.598Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T17:50:45.598Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T17:50:45.598Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T17:50:45.598Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T17:50:45.598Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-21T17:50:45.598Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T17:50:45.598Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T17:50:45.598Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T17:50:45.598Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T17:50:49.789Z] Removing intermediate container 13a9d8f81ae8 [2020-04-21T17:50:49.789Z] ---> 0cb8fd16bfa0 [2020-04-21T17:50:49.789Z] Successfully built 0cb8fd16bfa0 [2020-04-21T17:50:49.789Z] 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-21T17:50:50.367Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-21T17:50:50.367Z] . [Pipeline] withDockerContainer [2020-04-21T17:50:50.495Z] prd-centos7-docker-4c-2g-5324 does not seem to be running inside a container [2020-04-21T17:50:50.534Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-21T17:50:51.055Z] $ docker top 557a3a1b88f1eeefb625869a1cb323193ffdbf7e0d2d5223b7847d71153d5823 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T17:50:51.555Z] + go version [2020-04-21T17:50:51.555Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-21T17:50:51.856Z] + make test [2020-04-21T17:50:51.856Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-21T17:50:52.435Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-21T17:51:02.467Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-21T17:51:02.467Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-21T17:51:02.467Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-21T17:51:02.467Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.017s coverage: 21.9% of statements [2020-04-21T17:51:09.043Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.076s coverage: 95.8% of statements [2020-04-21T17:51:35.588Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.077s coverage: 11.4% of statements [2020-04-21T17:51:35.588Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 21.7% of statements [2020-04-21T17:51:35.588Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-21T17:51:35.588Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.053s coverage: 36.9% of statements [2020-04-21T17:51:35.588Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-21T17:51:35.588Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-21T17:51:35.588Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.468s coverage: 65.2% of statements [2020-04-21T17:51:35.588Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-21T17:51:35.588Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-21T17:51:35.588Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-21T17:51:35.588Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.014s coverage: 52.6% of statements [2020-04-21T17:51:35.588Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-21T17:51:35.588Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.098s coverage: 68.9% of statements [2020-04-21T17:51:35.588Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-21T17:51:35.588Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-21T17:51:35.588Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T17:51:36.158Z] gofmt -l . [2020-04-21T17:51:36.158Z] [ "`gofmt -l .`" = "" ] [2020-04-21T17:51:36.417Z] ./bin/test-attribution-txt.sh [2020-04-21T17:51:36.984Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T17:51:37.658Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T17:51:37.661Z] $ docker stop --time=1 557a3a1b88f1eeefb625869a1cb323193ffdbf7e0d2d5223b7847d71153d5823 [2020-04-21T17:51:39.109Z] $ docker rm -f 557a3a1b88f1eeefb625869a1cb323193ffdbf7e0d2d5223b7847d71153d5823 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T17:51:40.092Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T17:51:40.381Z] + ls -al . [2020-04-21T17:51:40.382Z] total 176 [2020-04-21T17:51:40.382Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 21 17:51 . [2020-04-21T17:51:40.382Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 21 17:50 .. [2020-04-21T17:51:40.382Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 17:50 api [2020-04-21T17:51:40.382Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 21 17:50 bin [2020-04-21T17:51:40.382Z] -rw-r--r--. 1 jenkins jenkins 110966 Apr 21 17:51 coverage.out [2020-04-21T17:51:40.382Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 21 17:50 Dockerfile.build [2020-04-21T17:51:40.382Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 17:50 .dockerignore [2020-04-21T17:51:40.382Z] drwxrwxr-x. 4 jenkins jenkins 48 Apr 21 17:50 example [2020-04-21T17:51:40.382Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 17:50 .git [2020-04-21T17:51:40.382Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 21 17:50 .github [2020-04-21T17:51:40.382Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 21 17:50 .gitignore [2020-04-21T17:51:40.382Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 21 17:51 go.mod [2020-04-21T17:51:40.382Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 21 17:51 go.sum [2020-04-21T17:51:40.382Z] drwxrwxr-x. 15 jenkins jenkins 217 Apr 21 17:50 internal [2020-04-21T17:51:40.382Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 21 17:50 Jenkinsfile [2020-04-21T17:51:40.382Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 21 17:50 LICENSE [2020-04-21T17:51:40.382Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 21 17:50 Makefile [2020-04-21T17:51:40.382Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 21 17:50 pkg [2020-04-21T17:51:40.382Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 21 17:50 README.md [2020-04-21T17:51:40.382Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 21 17:50 .semver [2020-04-21T17:51:40.382Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 17:50 snap [2020-04-21T17:51:40.382Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 17:48 VERSION [2020-04-21T17:51:40.382Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 21 17:50 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T17:51:40.679Z] + 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=fb4ef531f7f89b04d3574cd50796b36f2b0daafe --label arch=amd64 --label version=0.0.0 . [2020-04-21T17:51:40.679Z] Sending build context to Docker daemon 3.136MB [2020-04-21T17:51:40.679Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-21T17:51:40.679Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-21T17:51:40.679Z] ---> 0cb8fd16bfa0 [2020-04-21T17:51:40.679Z] Step 3/21 : ARG MAKE='make build' [2020-04-21T17:51:40.937Z] ---> Running in 9d2fdc65c9e9 [2020-04-21T17:51:40.937Z] Removing intermediate container 9d2fdc65c9e9 [2020-04-21T17:51:40.937Z] ---> cd16c52e746d [2020-04-21T17:51:40.937Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-21T17:51:40.937Z] ---> Running in ddd1e8cb3941 [2020-04-21T17:51:41.196Z] Removing intermediate container ddd1e8cb3941 [2020-04-21T17:51:41.196Z] ---> 4e9ffb4c209a [2020-04-21T17:51:41.196Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T17:51:41.196Z] ---> Running in a9ad1fe86790 [2020-04-21T17:51:41.455Z] Removing intermediate container a9ad1fe86790 [2020-04-21T17:51:41.455Z] ---> 9b3deca31948 [2020-04-21T17:51:41.455Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T17:51:41.455Z] ---> Running in d3e7bd35dc0b [2020-04-21T17:51:42.024Z] Removing intermediate container d3e7bd35dc0b [2020-04-21T17:51:42.024Z] ---> 101754e6c36b [2020-04-21T17:51:42.024Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-21T17:51:42.024Z] ---> Running in bdd6d449bf32 [2020-04-21T17:51:43.398Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T17:51:44.337Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T17:51:44.597Z] OK: 143 MiB in 39 packages [2020-04-21T17:51:45.167Z] Removing intermediate container bdd6d449bf32 [2020-04-21T17:51:45.167Z] ---> f6d82cb11bb3 [2020-04-21T17:51:45.167Z] Step 8/21 : COPY . . [2020-04-21T17:51:45.430Z] ---> 9732339d508e [2020-04-21T17:51:45.430Z] Step 9/21 : RUN ${MAKE} [2020-04-21T17:51:45.430Z] ---> Running in 38a4340a9c60 [2020-04-21T17:51:45.695Z] 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-21T17:51:53.919Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-21T17:51:54.179Z] Removing intermediate container 38a4340a9c60 [2020-04-21T17:51:54.179Z] ---> a28f2a47a81e [2020-04-21T17:51:54.179Z] Step 10/21 : FROM scratch [2020-04-21T17:51:54.179Z] ---> [2020-04-21T17:51:54.179Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T17:51:54.179Z] ---> Running in ec4a48d9d42a [2020-04-21T17:51:54.179Z] Removing intermediate container ec4a48d9d42a [2020-04-21T17:51:54.179Z] ---> 16b0efcba5cc [2020-04-21T17:51:54.179Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-21T17:51:54.437Z] ---> Running in 1274c61a6b69 [2020-04-21T17:51:54.437Z] Removing intermediate container 1274c61a6b69 [2020-04-21T17:51:54.437Z] ---> c4083925324a [2020-04-21T17:51:54.437Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-21T17:51:54.437Z] ---> Running in ade8f6f7f2bf [2020-04-21T17:51:54.696Z] Removing intermediate container ade8f6f7f2bf [2020-04-21T17:51:54.696Z] ---> 65521ba0d99c [2020-04-21T17:51:54.696Z] Step 14/21 : WORKDIR / [2020-04-21T17:51:54.696Z] ---> Running in 66d8d770b1b9 [2020-04-21T17:51:54.696Z] Removing intermediate container 66d8d770b1b9 [2020-04-21T17:51:54.696Z] ---> 38a9621e0f9e [2020-04-21T17:51:54.696Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-21T17:51:55.262Z] ---> 6e1078eca6d3 [2020-04-21T17:51:55.262Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-21T17:51:55.262Z] ---> f8003ec777a6 [2020-04-21T17:51:55.262Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-21T17:51:55.522Z] ---> 4f543d8dcce5 [2020-04-21T17:51:55.522Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-21T17:51:55.522Z] ---> Running in 76ed54d92a9b [2020-04-21T17:51:55.522Z] Removing intermediate container 76ed54d92a9b [2020-04-21T17:51:55.522Z] ---> 98b99e196085 [2020-04-21T17:51:55.522Z] Step 19/21 : LABEL arch=amd64 [2020-04-21T17:51:55.522Z] ---> Running in eb79443694a2 [2020-04-21T17:51:55.781Z] Removing intermediate container eb79443694a2 [2020-04-21T17:51:55.781Z] ---> 13892cbc179c [2020-04-21T17:51:55.781Z] Step 20/21 : LABEL git_sha=fb4ef531f7f89b04d3574cd50796b36f2b0daafe [2020-04-21T17:51:55.781Z] ---> Running in e5729e9af23e [2020-04-21T17:51:56.040Z] Removing intermediate container e5729e9af23e [2020-04-21T17:51:56.040Z] ---> 107057136a34 [2020-04-21T17:51:56.040Z] Step 21/21 : LABEL version=0.0.0 [2020-04-21T17:51:56.040Z] ---> Running in f97338b53f14 [2020-04-21T17:51:56.040Z] Removing intermediate container f97338b53f14 [2020-04-21T17:51:56.040Z] ---> eb4e1846de10 [2020-04-21T17:51:56.040Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T17:51:56.040Z] Successfully built eb4e1846de10 [2020-04-21T17:51:56.040Z] 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] stage [Pipeline] { (Snap) Stage "Snap" 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-21T17:52:17.655Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5325 in /w/workspace/dgexfoundry_device-sdk-go_PR-503 [Pipeline] { [Pipeline] ws [2020-04-21T17:52:17.696Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-04-21T17:52:23.461Z] using credential edgex-jenkins-ssh [2020-04-21T17:52:23.530Z] Cloning the remote Git repository [2020-04-21T17:52:23.530Z] Cloning with configured refspecs honoured and without tags [2020-04-21T17:52:23.614Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T17:52:23.719Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-04-21T17:52:23.795Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T17:52:23.796Z] > git --version # timeout=10 [2020-04-21T17:52:23.819Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T17:52:23.877Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/503/head:refs/remotes/origin/PR-503 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T17:52:24.947Z] Fetching without tags [2020-04-21T17:52:25.403Z] Merging remotes/origin/master commit 0e104270bcdba6d57d1eb654a33ea3a0d313d58c into PR head commit fb4ef531f7f89b04d3574cd50796b36f2b0daafe [2020-04-21T17:52:25.672Z] Merge succeeded, producing fb4ef531f7f89b04d3574cd50796b36f2b0daafe [2020-04-21T17:52:25.672Z] Checking out Revision fb4ef531f7f89b04d3574cd50796b36f2b0daafe (PR-503) [2020-04-21T17:52:24.815Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T17:52:24.866Z] > git config --add remote.origin.fetch +refs/pull/503/head:refs/remotes/origin/PR-503 # timeout=10 [2020-04-21T17:52:24.883Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T17:52:24.922Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T17:52:24.957Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T17:52:24.958Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T17:52:24.970Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/503/head:refs/remotes/origin/PR-503 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T17:52:25.425Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T17:52:25.449Z] > git checkout -f fb4ef531f7f89b04d3574cd50796b36f2b0daafe # timeout=10 [2020-04-21T17:52:25.556Z] > git remote # timeout=10 [2020-04-21T17:52:25.599Z] > git config --get remote.origin.url # timeout=10 [2020-04-21T17:52:25.620Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T17:52:25.633Z] > git merge 0e104270bcdba6d57d1eb654a33ea3a0d313d58c # timeout=10 [2020-04-21T17:52:25.654Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-21T17:52:25.678Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T17:52:25.713Z] > git checkout -f fb4ef531f7f89b04d3574cd50796b36f2b0daafe # timeout=10 [2020-04-21T17:52:30.239Z] Commit message: "feature(environment): Allow uppercase environment overrides" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T17:52:31.404Z] ========================================================= [2020-04-21T17:52:31.405Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-21T17:52:31.405Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T17:52:32.421Z] + 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-21T17:52:33.390Z] Sending build context to Docker daemon 3.008MB [2020-04-21T17:52:33.390Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T17:52:33.390Z] Step 2/8 : FROM ${BASE} [2020-04-21T17:52:33.678Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-21T17:52:33.678Z] cde5963f3b93: Pulling fs layer [2020-04-21T17:52:33.678Z] 2a23fa8c16f7: Pulling fs layer [2020-04-21T17:52:33.678Z] 777b28850792: Pulling fs layer [2020-04-21T17:52:33.678Z] 8a11ddd9e578: Pulling fs layer [2020-04-21T17:52:33.678Z] 4cf88f913ddb: Pulling fs layer [2020-04-21T17:52:33.678Z] 1df406cf5192: Pulling fs layer [2020-04-21T17:52:33.678Z] cd6300453558: Pulling fs layer [2020-04-21T17:52:33.678Z] b9c365052c96: Pulling fs layer [2020-04-21T17:52:33.678Z] a2d8cc88f415: Pulling fs layer [2020-04-21T17:52:33.678Z] ea1d1ca13537: Pulling fs layer [2020-04-21T17:52:33.678Z] 3750a50a1c5e: Pulling fs layer [2020-04-21T17:52:33.678Z] b9c365052c96: Waiting [2020-04-21T17:52:33.678Z] 8a11ddd9e578: Waiting [2020-04-21T17:52:33.678Z] a2d8cc88f415: Waiting [2020-04-21T17:52:33.678Z] 4cf88f913ddb: Waiting [2020-04-21T17:52:33.678Z] ea1d1ca13537: Waiting [2020-04-21T17:52:33.678Z] 1df406cf5192: Waiting [2020-04-21T17:52:33.678Z] 3750a50a1c5e: Waiting [2020-04-21T17:52:33.678Z] cd6300453558: Waiting [2020-04-21T17:52:33.678Z] 777b28850792: Verifying Checksum [2020-04-21T17:52:33.678Z] 777b28850792: Download complete [2020-04-21T17:52:33.678Z] 2a23fa8c16f7: Verifying Checksum [2020-04-21T17:52:33.678Z] 2a23fa8c16f7: Download complete [2020-04-21T17:52:33.678Z] 4cf88f913ddb: Verifying Checksum [2020-04-21T17:52:33.678Z] 4cf88f913ddb: Download complete [2020-04-21T17:52:33.678Z] 1df406cf5192: Verifying Checksum [2020-04-21T17:52:33.678Z] 1df406cf5192: Download complete [2020-04-21T17:52:33.946Z] cde5963f3b93: Download complete [2020-04-21T17:52:34.914Z] cde5963f3b93: Pull complete [2020-04-21T17:52:35.508Z] 2a23fa8c16f7: Pull complete [2020-04-21T17:52:35.777Z] 777b28850792: Pull complete [2020-04-21T17:52:37.739Z] cd6300453558: Verifying Checksum [2020-04-21T17:52:37.740Z] cd6300453558: Download complete [2020-04-21T17:52:38.010Z] a2d8cc88f415: Verifying Checksum [2020-04-21T17:52:38.010Z] a2d8cc88f415: Download complete [2020-04-21T17:52:40.613Z] ea1d1ca13537: Verifying Checksum [2020-04-21T17:52:40.613Z] ea1d1ca13537: Download complete [2020-04-21T17:52:40.613Z] 3750a50a1c5e: Verifying Checksum [2020-04-21T17:52:40.613Z] 3750a50a1c5e: Download complete [2020-04-21T17:52:43.197Z] b9c365052c96: Verifying Checksum [2020-04-21T17:52:43.197Z] b9c365052c96: Download complete [2020-04-21T17:52:44.607Z] 8a11ddd9e578: Verifying Checksum [2020-04-21T17:52:44.607Z] 8a11ddd9e578: Download complete [2020-04-21T17:52:56.949Z] 8a11ddd9e578: Pull complete [2020-04-21T17:52:56.949Z] 4cf88f913ddb: Pull complete [2020-04-21T17:52:56.949Z] 1df406cf5192: Pull complete [2020-04-21T17:53:02.345Z] cd6300453558: Pull complete [2020-04-21T17:53:06.614Z] b9c365052c96: Pull complete [2020-04-21T17:53:06.614Z] a2d8cc88f415: Pull complete [2020-04-21T17:53:09.204Z] ea1d1ca13537: Pull complete [2020-04-21T17:53:09.204Z] 3750a50a1c5e: Pull complete [2020-04-21T17:53:09.204Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-21T17:53:09.204Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-21T17:53:09.204Z] ---> 78745c68409d [2020-04-21T17:53:09.204Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T17:53:13.457Z] ---> Running in da5a025c71e7 [2020-04-21T17:53:13.723Z] Removing intermediate container da5a025c71e7 [2020-04-21T17:53:13.724Z] ---> e98a4e9f6c5e [2020-04-21T17:53:13.724Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T17:53:13.724Z] ---> Running in 86fe8a661e1c [2020-04-21T17:53:15.668Z] Removing intermediate container 86fe8a661e1c [2020-04-21T17:53:15.668Z] ---> e1fa033d7f94 [2020-04-21T17:53:15.668Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-21T17:53:15.945Z] ---> Running in f5e3220db5d8 [2020-04-21T17:53:16.918Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T17:53:17.501Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T17:53:18.092Z] OK: 125 MiB in 39 packages [2020-04-21T17:53:19.054Z] Removing intermediate container f5e3220db5d8 [2020-04-21T17:53:19.054Z] ---> 3a36852f8307 [2020-04-21T17:53:19.054Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-21T17:53:19.321Z] ---> Running in 4ef9a2659271 [2020-04-21T17:53:19.593Z] Removing intermediate container 4ef9a2659271 [2020-04-21T17:53:19.593Z] ---> 7d171be538e3 [2020-04-21T17:53:19.593Z] Step 7/8 : COPY . . [2020-04-21T17:53:21.008Z] ---> acab421719e4 [2020-04-21T17:53:21.008Z] Step 8/8 : RUN go mod download [2020-04-21T17:53:21.008Z] ---> Running in a050b9262ece [2020-04-21T17:53:22.972Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T17:53:22.972Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T17:53:22.972Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T17:53:22.972Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T17:53:22.972Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T17:53:22.972Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T17:53:22.972Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T17:53:22.972Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T17:53:22.972Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-21T17:53:22.972Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T17:53:22.972Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T17:53:22.972Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T17:53:22.972Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T17:53:22.972Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T17:53:22.972Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T17:53:22.972Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T17:53:22.972Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T17:53:22.972Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T17:53:22.972Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T17:53:22.972Z] go: finding github.com/google/uuid v1.1.0 [2020-04-21T17:53:22.972Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T17:53:22.972Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T17:53:22.972Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T17:53:22.972Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T17:53:22.972Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T17:53:22.972Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T17:53:22.972Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T17:53:22.972Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T17:53:22.972Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T17:53:22.972Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-21T17:53:22.972Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T17:53:22.972Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T17:53:22.972Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T17:53:22.972Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-21T17:53:22.972Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T17:53:23.238Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T17:53:23.238Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T17:53:23.238Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T17:53:23.238Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T17:53:23.238Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T17:53:23.238Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T17:53:23.238Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-21T17:53:23.238Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T17:53:23.238Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T17:53:23.238Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T17:53:23.238Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-21T17:53:23.238Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T17:53:23.238Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T17:53:23.238Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T17:53:23.238Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T17:53:23.238Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T17:53:23.238Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T17:53:23.238Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T17:53:23.238Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T17:53:23.238Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T17:53:23.238Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T17:53:23.238Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-21T17:53:23.238Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T17:53:23.238Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T17:53:23.238Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T17:53:23.238Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T17:53:23.238Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T17:53:23.238Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T17:53:23.238Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-21T17:53:23.505Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T17:53:23.505Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T17:53:23.505Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T17:53:23.505Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T17:53:31.733Z] Removing intermediate container a050b9262ece [2020-04-21T17:53:31.733Z] ---> 4571d17db338 [2020-04-21T17:53:31.733Z] Successfully built 4571d17db338 [2020-04-21T17:53:32.001Z] 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-21T17:53:32.617Z] + docker inspect -f . ci-base-image-arm64 [2020-04-21T17:53:32.897Z] . [Pipeline] withDockerContainer [2020-04-21T17:53:33.231Z] prd-ubuntu18.04-docker-arm64-4c-16g-5325 does not seem to be running inside a container [2020-04-21T17:53:33.317Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-21T17:53:34.806Z] $ docker top d1fb41eacef54146142009aa38a895cc0053d567ae1905e92e0f18a806b5709c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T17:53:35.785Z] + go version [2020-04-21T17:53:35.785Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-21T17:53:36.471Z] + make test [2020-04-21T17:53:36.471Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-21T17:53:37.887Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-21T17:54:04.655Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-21T17:54:04.655Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-21T17:54:04.655Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-21T17:54:06.627Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.016s coverage: 21.9% of statements [2020-04-21T17:54:08.613Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.150s coverage: 95.8% of statements [2020-04-21T17:54:40.864Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.035s coverage: 11.4% of statements [2020-04-21T17:54:40.864Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.018s coverage: 21.7% of statements [2020-04-21T17:54:40.864Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-21T17:54:40.864Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.124s coverage: 36.9% of statements [2020-04-21T17:54:40.864Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-21T17:54:40.864Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-21T17:54:40.864Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.560s coverage: 65.2% of statements [2020-04-21T17:54:40.864Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-21T17:54:40.864Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-21T17:54:40.864Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-21T17:54:40.864Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.059s coverage: 52.6% of statements [2020-04-21T17:54:40.864Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-21T17:54:40.864Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.329s coverage: 68.9% of statements [2020-04-21T17:54:40.864Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-21T17:54:40.864Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-21T17:54:40.864Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T17:54:45.132Z] gofmt -l . [2020-04-21T17:54:45.132Z] [ "`gofmt -l .`" = "" ] [2020-04-21T17:54:45.401Z] ./bin/test-attribution-txt.sh [2020-04-21T17:54:45.989Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T17:54:46.655Z] Warning: overwriting stash ‘coverage-report’ [2020-04-21T17:54:47.098Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T17:54:47.105Z] $ docker stop --time=1 d1fb41eacef54146142009aa38a895cc0053d567ae1905e92e0f18a806b5709c [2020-04-21T17:54:49.270Z] $ docker rm -f d1fb41eacef54146142009aa38a895cc0053d567ae1905e92e0f18a806b5709c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T17:54:50.557Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T17:54:50.882Z] + ls -al . [2020-04-21T17:54:50.882Z] total 216 [2020-04-21T17:54:50.882Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 21 17:54 . [2020-04-21T17:54:50.882Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 17:52 .. [2020-04-21T17:54:50.882Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 17:52 .dockerignore [2020-04-21T17:54:50.882Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 17:52 .git [2020-04-21T17:54:50.882Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 17:52 .github [2020-04-21T17:54:50.882Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 21 17:52 .gitignore [2020-04-21T17:54:50.882Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 17:52 .semver [2020-04-21T17:54:50.882Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 21 17:52 Dockerfile.build [2020-04-21T17:54:50.882Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 21 17:52 Jenkinsfile [2020-04-21T17:54:50.882Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 17:52 LICENSE [2020-04-21T17:54:50.882Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 21 17:52 Makefile [2020-04-21T17:54:50.882Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 21 17:52 README.md [2020-04-21T17:54:50.882Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 17:48 VERSION [2020-04-21T17:54:50.882Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 17:52 api [2020-04-21T17:54:50.882Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 17:52 bin [2020-04-21T17:54:50.882Z] -rw-r--r-- 1 jenkins jenkins 110966 Apr 21 17:54 coverage.out [2020-04-21T17:54:50.882Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 17:52 example [2020-04-21T17:54:50.882Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 21 17:54 go.mod [2020-04-21T17:54:50.882Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 21 17:54 go.sum [2020-04-21T17:54:50.882Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 21 17:52 internal [2020-04-21T17:54:50.882Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 17:52 pkg [2020-04-21T17:54:50.882Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 17:52 snap [2020-04-21T17:54:50.882Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 17:52 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T17:54:51.211Z] + 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=fb4ef531f7f89b04d3574cd50796b36f2b0daafe --label arch=arm64 --label version=0.0.0 . [2020-04-21T17:54:51.794Z] Sending build context to Docker daemon 3.136MB [2020-04-21T17:54:51.794Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-21T17:54:51.794Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-21T17:54:51.794Z] ---> 4571d17db338 [2020-04-21T17:54:51.794Z] Step 3/21 : ARG MAKE='make build' [2020-04-21T17:54:51.794Z] ---> Running in d7ed0c1a3f2e [2020-04-21T17:54:52.384Z] Removing intermediate container d7ed0c1a3f2e [2020-04-21T17:54:52.384Z] ---> b5f8b96844a1 [2020-04-21T17:54:52.384Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-21T17:54:52.384Z] ---> Running in 0b78e6209be4 [2020-04-21T17:54:52.656Z] Removing intermediate container 0b78e6209be4 [2020-04-21T17:54:52.656Z] ---> f40192759b1a [2020-04-21T17:54:52.656Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T17:54:52.922Z] ---> Running in ec05c5878a01 [2020-04-21T17:54:53.188Z] Removing intermediate container ec05c5878a01 [2020-04-21T17:54:53.188Z] ---> ae8b8567d1b0 [2020-04-21T17:54:53.188Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T17:54:53.455Z] ---> Running in 27d6c2e2249d [2020-04-21T17:54:55.407Z] Removing intermediate container 27d6c2e2249d [2020-04-21T17:54:55.407Z] ---> 629d37c3c814 [2020-04-21T17:54:55.407Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-21T17:54:55.407Z] ---> Running in 57b8680a6eaa [2020-04-21T17:54:56.370Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T17:54:56.952Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T17:54:57.537Z] OK: 125 MiB in 39 packages [2020-04-21T17:54:58.501Z] Removing intermediate container 57b8680a6eaa [2020-04-21T17:54:58.501Z] ---> bb180d0d560b [2020-04-21T17:54:58.501Z] Step 8/21 : COPY . . [2020-04-21T17:54:59.460Z] ---> 73fc992f22ad [2020-04-21T17:54:59.460Z] Step 9/21 : RUN ${MAKE} [2020-04-21T17:54:59.729Z] ---> Running in 48a49067e4ad [2020-04-21T17:55:00.693Z] 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-21T17:55:22.787Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-21T17:55:25.380Z] Removing intermediate container 48a49067e4ad [2020-04-21T17:55:25.380Z] ---> 5aa04bbb0bbd [2020-04-21T17:55:25.380Z] Step 10/21 : FROM scratch [2020-04-21T17:55:25.380Z] ---> [2020-04-21T17:55:25.380Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T17:55:25.380Z] ---> Running in ded85bc1cec4 [2020-04-21T17:55:25.646Z] Removing intermediate container ded85bc1cec4 [2020-04-21T17:55:25.646Z] ---> e163c37a8810 [2020-04-21T17:55:25.646Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-21T17:55:25.646Z] ---> Running in 7843302d08e6 [2020-04-21T17:55:25.917Z] Removing intermediate container 7843302d08e6 [2020-04-21T17:55:25.917Z] ---> 666a9084aca9 [2020-04-21T17:55:25.917Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-21T17:55:25.917Z] ---> Running in 7a63032f2866 [2020-04-21T17:55:26.185Z] Removing intermediate container 7a63032f2866 [2020-04-21T17:55:26.185Z] ---> 88101ed28f20 [2020-04-21T17:55:26.185Z] Step 14/21 : WORKDIR / [2020-04-21T17:55:26.454Z] ---> Running in e5ee233d501c [2020-04-21T17:55:26.722Z] Removing intermediate container e5ee233d501c [2020-04-21T17:55:26.722Z] ---> ffd917134540 [2020-04-21T17:55:26.722Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-21T17:55:27.688Z] ---> 39e81f0f2683 [2020-04-21T17:55:27.688Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-21T17:55:28.272Z] ---> 904633630f12 [2020-04-21T17:55:28.272Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-21T17:55:28.858Z] ---> f78025e2599f [2020-04-21T17:55:28.858Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-21T17:55:28.858Z] ---> Running in c5dd2e715ab1 [2020-04-21T17:55:29.125Z] Removing intermediate container c5dd2e715ab1 [2020-04-21T17:55:29.125Z] ---> 138682e94f85 [2020-04-21T17:55:29.125Z] Step 19/21 : LABEL arch=arm64 [2020-04-21T17:55:29.392Z] ---> Running in 16a5f307a869 [2020-04-21T17:55:29.661Z] Removing intermediate container 16a5f307a869 [2020-04-21T17:55:29.661Z] ---> 28950108b869 [2020-04-21T17:55:29.661Z] Step 20/21 : LABEL git_sha=fb4ef531f7f89b04d3574cd50796b36f2b0daafe [2020-04-21T17:55:29.661Z] ---> Running in ddfe1398c283 [2020-04-21T17:55:30.246Z] Removing intermediate container ddfe1398c283 [2020-04-21T17:55:30.246Z] ---> e95dba93cb43 [2020-04-21T17:55:30.246Z] Step 21/21 : LABEL version=0.0.0 [2020-04-21T17:55:30.246Z] ---> Running in a0b8f45ae049 [2020-04-21T17:55:30.512Z] Removing intermediate container a0b8f45ae049 [2020-04-21T17:55:30.512Z] ---> 4c2c24067405 [2020-04-21T17:55:30.512Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T17:55:30.512Z] Successfully built 4c2c24067405 [2020-04-21T17:55:30.512Z] 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] stage [Pipeline] { (Snap) Stage "Snap" 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-21T17:55:31.924Z] provisioning config files... [2020-04-21T17:55:31.936Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp/config5677628551857415166tmp [Pipeline] { [Pipeline] sh [2020-04-21T17:55:32.303Z] + curl -s https://codecov.io/bash [2020-04-21T17:55:32.303Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp/config5677628551857415166tmp [2020-04-21T17:55:32.562Z] [2020-04-21T17:55:32.562Z] _____ _ [2020-04-21T17:55:32.562Z] / ____| | | [2020-04-21T17:55:32.562Z] | | ___ __| | ___ ___ _____ __ [2020-04-21T17:55:32.562Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-21T17:55:32.562Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-21T17:55:32.562Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-21T17:55:32.562Z] Bash-tbd [2020-04-21T17:55:32.562Z] [2020-04-21T17:55:32.562Z] [2020-04-21T17:55:32.562Z] ==> Jenkins CI detected. [2020-04-21T17:55:32.562Z] project root: . [2020-04-21T17:55:32.562Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-21T17:55:32.562Z] ==> Running gcov in . (disable via -X gcov) [2020-04-21T17:55:32.562Z] ==> Python coveragepy not found [2020-04-21T17:55:32.562Z] ==> Searching for coverage reports in: [2020-04-21T17:55:32.562Z] + . [2020-04-21T17:55:32.562Z] -> Found 1 reports [2020-04-21T17:55:32.562Z] ==> Detecting git/mercurial file structure [2020-04-21T17:55:32.562Z] ==> Reading reports [2020-04-21T17:55:32.562Z] + ./coverage.out bytes=110966 [2020-04-21T17:55:32.562Z] ==> Appending adjustments [2020-04-21T17:55:32.562Z] http://docs.codecov.io/docs/fixing-reports [2020-04-21T17:55:32.821Z] + Found adjustments [2020-04-21T17:55:32.821Z] ==> Gzipping contents [2020-04-21T17:55:32.821Z] ==> Uploading reports [2020-04-21T17:55:32.821Z] url: https://codecov.io [2020-04-21T17:55:32.821Z] query: branch=PR-503&commit=fb4ef531f7f89b04d3574cd50796b36f2b0daafe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-503%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=503&job= [2020-04-21T17:55:32.821Z] -> Pinging Codecov [2020-04-21T17:55:32.821Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-503&commit=fb4ef531f7f89b04d3574cd50796b36f2b0daafe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-503%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=503&job= [2020-04-21T17:55:33.387Z] -> Uploading [2020-04-21T17:55:33.955Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fb4ef531f7f89b04d3574cd50796b36f2b0daafe [Pipeline] } [2020-04-21T17:55:33.962Z] 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-21T17:55:35.146Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T17:55:35.448Z] ---> package-listing.sh [2020-04-21T17:55:35.448Z] ++ facter osfamily [2020-04-21T17:55:35.448Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-21T17:55:35.448Z] + OS_FAMILY=redhat [2020-04-21T17:55:35.448Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-503 [2020-04-21T17:55:35.448Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-21T17:55:35.448Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-21T17:55:35.448Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-21T17:55:35.448Z] + PACKAGES=/tmp/packages_start.txt [2020-04-21T17:55:35.448Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-503 ']' [2020-04-21T17:55:35.448Z] + PACKAGES=/tmp/packages_end.txt [2020-04-21T17:55:35.448Z] + case "${OS_FAMILY}" in [2020-04-21T17:55:35.448Z] + rpm -qa [2020-04-21T17:55:35.448Z] + sort [2020-04-21T17:55:39.644Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-21T17:55:39.644Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-21T17:55:39.644Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-21T17:55:39.644Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-503 ']' [2020-04-21T17:55:39.644Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-503/archives/ [2020-04-21T17:55:39.644Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-503/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-21T17:55:40.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T17:55:40.014Z] [2020-04-21T17:55:40.014Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-21T17:55:40.357Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T17:55:40.357Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-21T17:55:40.357Z] c9b1b535fdd9: Pulling fs layer [2020-04-21T17:55:40.357Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-21T17:55:40.357Z] 756a868c4378: Pulling fs layer [2020-04-21T17:55:40.357Z] 444b2fc9a129: Pulling fs layer [2020-04-21T17:55:40.357Z] ea15f1150254: Pulling fs layer [2020-04-21T17:55:40.357Z] 41b27a9f41bf: Pulling fs layer [2020-04-21T17:55:40.357Z] 28c525ee5125: Pulling fs layer [2020-04-21T17:55:40.357Z] 094b1ea09ed8: Pulling fs layer [2020-04-21T17:55:40.357Z] 138eaada9080: Pulling fs layer [2020-04-21T17:55:40.357Z] 0622d0fa9048: Pulling fs layer [2020-04-21T17:55:40.357Z] ea15f1150254: Waiting [2020-04-21T17:55:40.357Z] 41b27a9f41bf: Waiting [2020-04-21T17:55:40.357Z] 138eaada9080: Waiting [2020-04-21T17:55:40.357Z] 28c525ee5125: Waiting [2020-04-21T17:55:40.357Z] 0622d0fa9048: Waiting [2020-04-21T17:55:40.358Z] 094b1ea09ed8: Waiting [2020-04-21T17:55:40.358Z] 444b2fc9a129: Waiting [2020-04-21T17:55:40.358Z] 2cc5ad85d9ab: Download complete [2020-04-21T17:55:40.358Z] 444b2fc9a129: Verifying Checksum [2020-04-21T17:55:40.358Z] 444b2fc9a129: Download complete [2020-04-21T17:55:40.358Z] c9b1b535fdd9: Verifying Checksum [2020-04-21T17:55:40.358Z] c9b1b535fdd9: Download complete [2020-04-21T17:55:40.358Z] ea15f1150254: Download complete [2020-04-21T17:55:40.623Z] 28c525ee5125: Verifying Checksum [2020-04-21T17:55:40.623Z] 28c525ee5125: Download complete [2020-04-21T17:55:40.886Z] 756a868c4378: Verifying Checksum [2020-04-21T17:55:40.886Z] 756a868c4378: Download complete [2020-04-21T17:55:40.886Z] c9b1b535fdd9: Pull complete [2020-04-21T17:55:40.886Z] 138eaada9080: Verifying Checksum [2020-04-21T17:55:40.886Z] 138eaada9080: Download complete [2020-04-21T17:55:41.162Z] 0622d0fa9048: Verifying Checksum [2020-04-21T17:55:41.162Z] 0622d0fa9048: Download complete [2020-04-21T17:55:41.162Z] 094b1ea09ed8: Verifying Checksum [2020-04-21T17:55:41.162Z] 094b1ea09ed8: Download complete [2020-04-21T17:55:41.162Z] 2cc5ad85d9ab: Pull complete [2020-04-21T17:55:41.742Z] 41b27a9f41bf: Verifying Checksum [2020-04-21T17:55:41.742Z] 41b27a9f41bf: Download complete [2020-04-21T17:55:43.128Z] 756a868c4378: Pull complete [2020-04-21T17:55:43.128Z] 444b2fc9a129: Pull complete [2020-04-21T17:55:43.387Z] ea15f1150254: Pull complete [2020-04-21T17:55:46.681Z] 41b27a9f41bf: Pull complete [2020-04-21T17:55:46.681Z] 28c525ee5125: Pull complete [2020-04-21T17:55:49.222Z] 094b1ea09ed8: Pull complete [2020-04-21T17:55:49.222Z] 138eaada9080: Pull complete [2020-04-21T17:55:49.222Z] 0622d0fa9048: Pull complete [2020-04-21T17:55:49.222Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-21T17:55:49.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-21T17:55:49.371Z] prd-centos7-docker-4c-2g-5322 does not seem to be running inside a container [2020-04-21T17:55:49.414Z] $ 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-503 -v /w/workspace/dgexfoundry_device-sdk-go_PR-503:/w/workspace/dgexfoundry_device-sdk-go_PR-503:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-21T17:55:50.523Z] $ docker top dabf8928069d34bc38c4afdd59c5bface2a76de98656d91f870305ddd57811e8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-21T17:55:50.762Z] provisioning config files... [2020-04-21T17:55:50.797Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-503@tmp/config6827728083446601994tmp [Pipeline] { [Pipeline] echo [2020-04-21T17:55:50.875Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T17:55:51.167Z] ---> create-netrc.sh [Pipeline] echo [2020-04-21T17:55:51.174Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T17:55:51.465Z] ---> logs-deploy.sh [2020-04-21T17:55:51.465Z] + ARCHIVE_ARTIFACTS= [2020-04-21T17:55:51.465Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-21T17:55:51.465Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-21T17:55:51.465Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-21T17:55:51.465Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-503/2 [2020-04-21T17:55:51.465Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-503/2/ [2020-04-21T17:55:51.465Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-503/2 /w/workspace/dgexfoundry_device-sdk-go_PR-503 [2020-04-21T17:55:52.844Z] Archives upload complete. [2020-04-21T17:55:52.844Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-503/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-503/2/