Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of akramtexas for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c9979804ccd04a40c7aa62bb85d5611f1e38dae2+1bb097ad4365b735bfef0648a55752ad7a9b68a1 (f20157f9cf1149309fa36b738f906c6be576295b) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3270 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [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 Fetching without tags > git init /w/workspace/dgexfoundry_device-sdk-go_PR-464 # 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/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # 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/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1bb097ad4365b735bfef0648a55752ad7a9b68a1 into PR head commit c9979804ccd04a40c7aa62bb85d5611f1e38dae2 Merge succeeded, producing d79618ee95b0f1bb9e8c991ef47751f8294e739c Checking out Revision d79618ee95b0f1bb9e8c991ef47751f8294e739c (PR-464) > git config core.sparsecheckout # timeout=10 > git checkout -f c9979804ccd04a40c7aa62bb85d5611f1e38dae2 # 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 1bb097ad4365b735bfef0648a55752ad7a9b68a1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d79618ee95b0f1bb9e8c991ef47751f8294e739c # timeout=10 Commit message: "Merge commit '1bb097ad4365b735bfef0648a55752ad7a9b68a1' into HEAD" > git rev-list --no-walk c9979804ccd04a40c7aa62bb85d5611f1e38dae2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-10T14:42:16.153Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-10T14:42:17.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-10T14:42:17.954Z] [2020-04-10T14:42:17.954Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-10T14:42:18.308Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-10T14:42:18.308Z] latest: Pulling from edgex-devops/git-semver [2020-04-10T14:42:18.308Z] 9123ac7c32f7: Pulling fs layer [2020-04-10T14:42:18.308Z] b8cc5d1170e3: Pulling fs layer [2020-04-10T14:42:18.308Z] 2924cbbf6a41: Pulling fs layer [2020-04-10T14:42:18.308Z] 93b08a4f1073: Pulling fs layer [2020-04-10T14:42:18.308Z] 93b08a4f1073: Waiting [2020-04-10T14:42:18.308Z] b8cc5d1170e3: Download complete [2020-04-10T14:42:18.568Z] 9123ac7c32f7: Verifying Checksum [2020-04-10T14:42:18.568Z] 9123ac7c32f7: Download complete [2020-04-10T14:42:18.568Z] 2924cbbf6a41: Verifying Checksum [2020-04-10T14:42:18.568Z] 2924cbbf6a41: Download complete [2020-04-10T14:42:18.568Z] 93b08a4f1073: Verifying Checksum [2020-04-10T14:42:18.568Z] 93b08a4f1073: Download complete [2020-04-10T14:42:18.827Z] 9123ac7c32f7: Pull complete [2020-04-10T14:42:18.827Z] b8cc5d1170e3: Pull complete [2020-04-10T14:42:19.403Z] 2924cbbf6a41: Pull complete [2020-04-10T14:42:19.662Z] 93b08a4f1073: Pull complete [2020-04-10T14:42:19.662Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-10T14:42:19.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-10T14:42:19.785Z] prd-centos7-docker-4c-2g-3270 does not seem to be running inside a container [2020-04-10T14:42:19.833Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@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-10T14:42:20.466Z] $ docker top 340596e2e4b353f92bb2e4e8f688b49731554adcfcc068b025af66f79f5eb62b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-10T14:42:20.748Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-10T14:42:20.748Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-10T14:42:20.947Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-10T14:42:20.953Z] $ docker exec 340596e2e4b353f92bb2e4e8f688b49731554adcfcc068b025af66f79f5eb62b ssh-agent [2020-04-10T14:42:21.134Z] SSH_AUTH_SOCK=/tmp/ssh-aZozOEemOihU/agent.15 [2020-04-10T14:42:21.134Z] SSH_AGENT_PID=22 [2020-04-10T14:42:21.146Z] Running ssh-add (command line suppressed) [2020-04-10T14:42:21.300Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_6753120359607783260.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_6753120359607783260.key) [2020-04-10T14:42:21.345Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-10T14:42:21.674Z] + git describe --exact-match --tags HEAD [2020-04-10T14:42:21.674Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-10T14:42:21.735Z] $ docker exec --env ******** --env ******** 340596e2e4b353f92bb2e4e8f688b49731554adcfcc068b025af66f79f5eb62b ssh-agent -k [2020-04-10T14:42:21.878Z] unset SSH_AUTH_SOCK; [2020-04-10T14:42:21.878Z] unset SSH_AGENT_PID; [2020-04-10T14:42:21.878Z] echo Agent pid 22 killed; [2020-04-10T14:42:21.919Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-10T14:42:21.984Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-10T14:42:21.984Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-10T14:42:22.069Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-10T14:42:22.069Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-10T14:42:22.265Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-10T14:42:22.272Z] $ docker exec 340596e2e4b353f92bb2e4e8f688b49731554adcfcc068b025af66f79f5eb62b ssh-agent [2020-04-10T14:42:22.500Z] SSH_AUTH_SOCK=/tmp/ssh-9wXedxL1v61U/agent.57 [2020-04-10T14:42:22.500Z] SSH_AGENT_PID=64 [2020-04-10T14:42:22.507Z] Running ssh-add (command line suppressed) [2020-04-10T14:42:22.660Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_1466081108525946128.key (/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/private_key_1466081108525946128.key) [2020-04-10T14:42:22.718Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-10T14:42:23.042Z] + git semver init [2020-04-10T14:42:23.042Z] # -> Open(): unable to determine branch for HEAD [2020-04-10T14:42:23.042Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.git [2020-04-10T14:42:23.042Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-464 [2020-04-10T14:42:23.042Z] # $SEMVER_REMOTE_NAME = origin [2020-04-10T14:42:23.042Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-10T14:42:23.042Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-10T14:42:23.042Z] # $SEMVER_BRANCH = PR-464 [2020-04-10T14:42:23.042Z] # $SEMVER_TEMP = /tmp/semver-833722645 [2020-04-10T14:42:23.042Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-10T14:42:23.613Z] # '/tmp/semver-833722645' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver' [2020-04-10T14:42:23.613Z] # -> Force: false [2020-04-10T14:42:23.613Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-464/.semver [Pipeline] } [2020-04-10T14:42:23.625Z] $ docker exec --env ******** --env ******** 340596e2e4b353f92bb2e4e8f688b49731554adcfcc068b025af66f79f5eb62b ssh-agent -k [2020-04-10T14:42:23.789Z] unset SSH_AUTH_SOCK; [2020-04-10T14:42:23.789Z] unset SSH_AGENT_PID; [2020-04-10T14:42:23.789Z] echo Agent pid 64 killed; [2020-04-10T14:42:23.847Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-10T14:42:24.269Z] + git semver [Pipeline] } [2020-04-10T14:42:24.289Z] $ docker stop --time=1 340596e2e4b353f92bb2e4e8f688b49731554adcfcc068b025af66f79f5eb62b [2020-04-10T14:42:25.639Z] $ docker rm -f 340596e2e4b353f92bb2e4e8f688b49731554adcfcc068b025af66f79f5eb62b [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-10T14:42:26.408Z] Stashed 40 file(s) [Pipeline] echo [2020-04-10T14:42:26.410Z] [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-10T14:42:41.649Z] Still waiting to schedule task [2020-04-10T14:42:41.649Z] ‘prd-centos7-blackbox-4c-2g-3263’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3272’ is offline [2020-04-10T14:42:41.649Z] Still waiting to schedule task [2020-04-10T14:42:41.649Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-10T14:43:46.250Z] Running on prd-centos7-docker-4c-2g-3274 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws [2020-04-10T14:43:46.317Z] Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout [2020-04-10T14:43:48.889Z] using credential edgex-jenkins-ssh [2020-04-10T14:43:48.964Z] Cloning the remote Git repository [2020-04-10T14:43:48.964Z] Cloning with configured refspecs honoured and without tags [2020-04-10T14:43:49.687Z] Fetching without tags [2020-04-10T14:43:48.995Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T14:43:49.032Z] > git init /w/workspace/device-sdk-go/16 # timeout=10 [2020-04-10T14:43:49.076Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T14:43:49.076Z] > git --version # timeout=10 [2020-04-10T14:43:49.084Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T14:43:49.110Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T14:43:49.657Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T14:43:49.664Z] > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 [2020-04-10T14:43:49.670Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T14:43:49.683Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T14:43:49.696Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T14:43:49.696Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T14:43:49.703Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T14:43:50.118Z] Merging remotes/origin/master commit 1bb097ad4365b735bfef0648a55752ad7a9b68a1 into PR head commit c9979804ccd04a40c7aa62bb85d5611f1e38dae2 [2020-04-10T14:43:50.244Z] Merge succeeded, producing f1b4b86c75a9041462e1612c18eeef821ff2de20 [2020-04-10T14:43:50.244Z] Checking out Revision f1b4b86c75a9041462e1612c18eeef821ff2de20 (PR-464) [2020-04-10T14:43:50.131Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T14:43:50.137Z] > git checkout -f c9979804ccd04a40c7aa62bb85d5611f1e38dae2 # timeout=10 [2020-04-10T14:43:50.188Z] > git remote # timeout=10 [2020-04-10T14:43:50.194Z] > git config --get remote.origin.url # timeout=10 [2020-04-10T14:43:50.200Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T14:43:50.204Z] > git merge 1bb097ad4365b735bfef0648a55752ad7a9b68a1 # timeout=10 [2020-04-10T14:43:50.240Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-10T14:43:50.250Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T14:43:50.254Z] > git checkout -f f1b4b86c75a9041462e1612c18eeef821ff2de20 # timeout=10 [2020-04-10T14:43:54.099Z] Commit message: "Merge commit '1bb097ad4365b735bfef0648a55752ad7a9b68a1' into HEAD" [2020-04-10T14:43:54.106Z] > git rev-list --no-walk c9979804ccd04a40c7aa62bb85d5611f1e38dae2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-10T14:43:54.913Z] ========================================================= [2020-04-10T14:43:54.913Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-10T14:43:54.913Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-10T14:43:55.542Z] + 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-10T14:43:55.805Z] Sending build context to Docker daemon 2.876MB [2020-04-10T14:43:55.805Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-10T14:43:55.805Z] Step 2/8 : FROM ${BASE} [2020-04-10T14:43:55.805Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-10T14:43:55.805Z] e6b0cf9c0882: Pulling fs layer [2020-04-10T14:43:55.805Z] 2848faf0eed1: Pulling fs layer [2020-04-10T14:43:55.805Z] 0f37312ad70f: Pulling fs layer [2020-04-10T14:43:55.805Z] 5788d62ee057: Pulling fs layer [2020-04-10T14:43:55.805Z] 0e6b1d234666: Pulling fs layer [2020-04-10T14:43:55.805Z] bf5d7aec512f: Pulling fs layer [2020-04-10T14:43:55.805Z] 34c802a77dc8: Pulling fs layer [2020-04-10T14:43:55.806Z] 9eb99e56ec68: Pulling fs layer [2020-04-10T14:43:55.806Z] 27c7a5d97fbd: Pulling fs layer [2020-04-10T14:43:55.806Z] 5c102a31e300: Pulling fs layer [2020-04-10T14:43:55.806Z] dcfb455df0a1: Pulling fs layer [2020-04-10T14:43:55.806Z] 5788d62ee057: Waiting [2020-04-10T14:43:55.806Z] 0e6b1d234666: Waiting [2020-04-10T14:43:55.806Z] bf5d7aec512f: Waiting [2020-04-10T14:43:55.806Z] 5c102a31e300: Waiting [2020-04-10T14:43:55.806Z] 34c802a77dc8: Waiting [2020-04-10T14:43:55.806Z] dcfb455df0a1: Waiting [2020-04-10T14:43:55.806Z] 9eb99e56ec68: Waiting [2020-04-10T14:43:55.806Z] 27c7a5d97fbd: Waiting [2020-04-10T14:43:55.806Z] 0f37312ad70f: Verifying Checksum [2020-04-10T14:43:55.806Z] 0f37312ad70f: Download complete [2020-04-10T14:43:55.806Z] 2848faf0eed1: Download complete [2020-04-10T14:43:55.806Z] 0e6b1d234666: Verifying Checksum [2020-04-10T14:43:55.806Z] 0e6b1d234666: Download complete [2020-04-10T14:43:55.806Z] bf5d7aec512f: Verifying Checksum [2020-04-10T14:43:55.806Z] bf5d7aec512f: Download complete [2020-04-10T14:43:56.069Z] e6b0cf9c0882: Verifying Checksum [2020-04-10T14:43:56.334Z] e6b0cf9c0882: Pull complete [2020-04-10T14:43:56.599Z] 2848faf0eed1: Pull complete [2020-04-10T14:43:56.870Z] 34c802a77dc8: Verifying Checksum [2020-04-10T14:43:56.870Z] 34c802a77dc8: Download complete [2020-04-10T14:43:56.870Z] 27c7a5d97fbd: Verifying Checksum [2020-04-10T14:43:56.870Z] 27c7a5d97fbd: Download complete [2020-04-10T14:43:57.457Z] 5c102a31e300: Download complete [2020-04-10T14:43:57.457Z] dcfb455df0a1: Verifying Checksum [2020-04-10T14:43:57.457Z] dcfb455df0a1: Download complete [2020-04-10T14:43:57.726Z] 5788d62ee057: Verifying Checksum [2020-04-10T14:43:57.726Z] 5788d62ee057: Download complete [2020-04-10T14:43:57.726Z] 9eb99e56ec68: Verifying Checksum [2020-04-10T14:43:57.726Z] 9eb99e56ec68: Download complete [2020-04-10T14:43:58.661Z] 0f37312ad70f: Pull complete [2020-04-10T14:44:05.244Z] 5788d62ee057: Pull complete [2020-04-10T14:44:05.244Z] 0e6b1d234666: Pull complete [2020-04-10T14:44:05.244Z] bf5d7aec512f: Pull complete [2020-04-10T14:44:09.452Z] 34c802a77dc8: Pull complete [2020-04-10T14:44:12.786Z] 9eb99e56ec68: Pull complete [2020-04-10T14:44:13.051Z] 27c7a5d97fbd: Pull complete [2020-04-10T14:44:13.988Z] 5c102a31e300: Pull complete [2020-04-10T14:44:13.988Z] dcfb455df0a1: Pull complete [2020-04-10T14:44:14.247Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-10T14:44:14.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-10T14:44:14.247Z] ---> 7c70fe431013 [2020-04-10T14:44:14.247Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T14:44:14.247Z] ---> Running in ea5b91d6ba19 [2020-04-10T14:44:14.247Z] Removing intermediate container ea5b91d6ba19 [2020-04-10T14:44:14.247Z] ---> a071a6207f20 [2020-04-10T14:44:14.247Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T14:44:14.506Z] ---> Running in 41a00f24d5fb [2020-04-10T14:44:15.442Z] Removing intermediate container 41a00f24d5fb [2020-04-10T14:44:15.442Z] ---> 55cc77c25c76 [2020-04-10T14:44:15.442Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-10T14:44:15.442Z] ---> Running in a5ec608d50e4 [2020-04-10T14:44:15.699Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-10T14:44:16.267Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-10T14:44:16.526Z] OK: 143 MiB in 39 packages [2020-04-10T14:44:16.785Z] Removing intermediate container a5ec608d50e4 [2020-04-10T14:44:16.785Z] ---> 7571bb4eba3e [2020-04-10T14:44:16.785Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-10T14:44:17.044Z] ---> Running in 2c1af55eb082 [2020-04-10T14:44:17.044Z] Removing intermediate container 2c1af55eb082 [2020-04-10T14:44:17.044Z] ---> 7a58681caa46 [2020-04-10T14:44:17.044Z] Step 7/8 : COPY . . [2020-04-10T14:44:17.614Z] ---> 1ffd6d8f7c7c [2020-04-10T14:44:17.614Z] Step 8/8 : RUN go mod download [2020-04-10T14:44:17.614Z] ---> Running in 5018797fe804 [2020-04-10T14:44:19.534Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-10T14:44:19.534Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-10T14:44:19.534Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-10T14:44:19.534Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-10T14:44:19.534Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-10T14:44:19.534Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-10T14:44:19.794Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-10T14:44:19.794Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-10T14:44:19.794Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-10T14:44:19.794Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-10T14:44:19.794Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-10T14:44:19.794Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-10T14:44:19.794Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-10T14:44:19.794Z] go: finding github.com/fatih/color v1.7.0 [2020-04-10T14:44:19.794Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-10T14:44:19.794Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-10T14:44:19.794Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-10T14:44:19.794Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-10T14:44:19.794Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-10T14:44:19.794Z] go: finding github.com/google/uuid v1.1.0 [2020-04-10T14:44:19.794Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-10T14:44:19.794Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-10T14:44:19.794Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-10T14:44:19.794Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-10T14:44:19.794Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-10T14:44:19.794Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-10T14:44:19.795Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-10T14:44:19.795Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-10T14:44:19.795Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-10T14:44:19.795Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-10T14:44:19.795Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-10T14:44:19.795Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-10T14:44:19.795Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-10T14:44:19.795Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-10T14:44:19.795Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-10T14:44:19.795Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-10T14:44:19.795Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-10T14:44:19.795Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-10T14:44:20.055Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-10T14:44:20.055Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-10T14:44:20.055Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-10T14:44:20.055Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-10T14:44:20.055Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-10T14:44:20.055Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-10T14:44:20.055Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-10T14:44:20.055Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-10T14:44:20.055Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-10T14:44:20.055Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-10T14:44:20.055Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-10T14:44:20.055Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-10T14:44:20.055Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-10T14:44:20.055Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-10T14:44:20.055Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-10T14:44:20.055Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-10T14:44:20.055Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-10T14:44:20.055Z] go: finding github.com/posener/complete v1.1.1 [2020-04-10T14:44:20.055Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-10T14:44:20.055Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-10T14:44:20.055Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-10T14:44:20.055Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-10T14:44:20.055Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-10T14:44:20.055Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-10T14:44:20.055Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-10T14:44:20.055Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-10T14:44:20.055Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-10T14:44:20.055Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-10T14:44:20.055Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-10T14:44:20.055Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-10T14:44:24.266Z] Removing intermediate container 5018797fe804 [2020-04-10T14:44:24.266Z] ---> 884f82684b05 [2020-04-10T14:44:24.266Z] Successfully built 884f82684b05 [2020-04-10T14:44:24.266Z] 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-10T14:44:24.822Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-10T14:44:24.822Z] . [Pipeline] withDockerContainer [2020-04-10T14:44:24.945Z] prd-centos7-docker-4c-2g-3274 does not seem to be running inside a container [2020-04-10T14:44:24.994Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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-10T14:44:25.625Z] $ docker top 5b5e3e4b3ba4534261a28c855bd62b67f8c0499322499f56f991545117027af4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-10T14:44:26.123Z] + go version [2020-04-10T14:44:26.123Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-10T14:44:26.434Z] + make test [2020-04-10T14:44:26.434Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-10T14:44:27.010Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-10T14:44:45.184Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-10T14:44:45.184Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-10T14:44:45.184Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.015s coverage: 22.1% of statements [2020-04-10T14:44:45.184Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.040s coverage: 95.8% of statements [2020-04-10T14:45:17.316Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.020s coverage: 11.4% of statements [2020-04-10T14:45:17.316Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 22.7% of statements [2020-04-10T14:45:17.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-10T14:45:17.316Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.098s coverage: 38.5% of statements [2020-04-10T14:45:17.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-10T14:45:17.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-10T14:45:17.316Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.443s coverage: 76.5% of statements [2020-04-10T14:45:17.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-10T14:45:17.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-10T14:45:17.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-10T14:45:17.316Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.014s coverage: 52.6% of statements [2020-04-10T14:45:17.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-10T14:45:17.316Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.106s coverage: 76.1% of statements [2020-04-10T14:45:17.316Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-10T14:45:17.316Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-10T14:45:17.316Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-10T14:45:17.577Z] gofmt -l . [2020-04-10T14:45:17.837Z] [ "`gofmt -l .`" = "" ] [2020-04-10T14:45:17.837Z] ./bin/test-attribution-txt.sh [2020-04-10T14:45:18.409Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-10T14:45:18.962Z] Stashed 1 file(s) [Pipeline] } [2020-04-10T14:45:18.971Z] $ docker stop --time=1 5b5e3e4b3ba4534261a28c855bd62b67f8c0499322499f56f991545117027af4 [2020-04-10T14:45:20.528Z] $ docker rm -f 5b5e3e4b3ba4534261a28c855bd62b67f8c0499322499f56f991545117027af4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-10T14:45:21.436Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-10T14:45:21.725Z] + ls -al . [2020-04-10T14:45:21.725Z] total 160 [2020-04-10T14:45:21.725Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 10 14:45 . [2020-04-10T14:45:21.725Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 10 14:43 .. [2020-04-10T14:45:21.725Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 10 14:43 api [2020-04-10T14:45:21.725Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 10 14:43 bin [2020-04-10T14:45:21.725Z] -rw-r--r--. 1 jenkins jenkins 96083 Apr 10 14:45 coverage.out [2020-04-10T14:45:21.725Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 10 14:43 Dockerfile.build [2020-04-10T14:45:21.725Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 10 14:43 .dockerignore [2020-04-10T14:45:21.725Z] drwxrwxr-x. 4 jenkins jenkins 31 Apr 10 14:43 example [2020-04-10T14:45:21.725Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 10 14:43 .git [2020-04-10T14:45:21.725Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 10 14:43 .github [2020-04-10T14:45:21.725Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 10 14:43 .gitignore [2020-04-10T14:45:21.725Z] -rw-r--r--. 1 jenkins jenkins 475 Apr 10 14:45 go.mod [2020-04-10T14:45:21.725Z] -rw-r--r--. 1 jenkins jenkins 12152 Apr 10 14:45 go.sum [2020-04-10T14:45:21.725Z] drwxrwxr-x. 14 jenkins jenkins 196 Apr 10 14:43 internal [2020-04-10T14:45:21.725Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 10 14:43 Jenkinsfile [2020-04-10T14:45:21.725Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 10 14:43 LICENSE [2020-04-10T14:45:21.725Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 10 14:43 Makefile [2020-04-10T14:45:21.725Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 10 14:43 pkg [2020-04-10T14:45:21.725Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 10 14:43 README.md [2020-04-10T14:45:21.725Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 10 14:43 .semver [2020-04-10T14:45:21.725Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 10 14:43 snap [2020-04-10T14:45:21.725Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 10 14:42 VERSION [2020-04-10T14:45:21.725Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 10 14:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-10T14:45:22.019Z] + 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=d79618ee95b0f1bb9e8c991ef47751f8294e739c --label arch=amd64 --label version=0.0.0 . [2020-04-10T14:45:22.019Z] Sending build context to Docker daemon 2.992MB [2020-04-10T14:45:22.019Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-10T14:45:22.019Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-10T14:45:22.019Z] ---> 884f82684b05 [2020-04-10T14:45:22.019Z] Step 3/21 : ARG MAKE='make build' [2020-04-10T14:45:22.279Z] ---> Running in 10e7aa04eac2 [2020-04-10T14:45:22.279Z] Removing intermediate container 10e7aa04eac2 [2020-04-10T14:45:22.279Z] ---> 3f950b402e1b [2020-04-10T14:45:22.279Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-10T14:45:22.538Z] ---> Running in 1d6a2c3b8495 [2020-04-10T14:45:22.538Z] Removing intermediate container 1d6a2c3b8495 [2020-04-10T14:45:22.538Z] ---> 323d159f288d [2020-04-10T14:45:22.538Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T14:45:22.538Z] ---> Running in 23658efd84fa [2020-04-10T14:45:22.797Z] Removing intermediate container 23658efd84fa [2020-04-10T14:45:22.797Z] ---> 02a53f887d84 [2020-04-10T14:45:22.797Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T14:45:22.797Z] ---> Running in 6ffdba082c8d [2020-04-10T14:45:23.734Z] Removing intermediate container 6ffdba082c8d [2020-04-10T14:45:23.734Z] ---> 553c9cd0b785 [2020-04-10T14:45:23.734Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-10T14:45:23.734Z] ---> Running in 8f28071db157 [2020-04-10T14:45:24.307Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-10T14:45:24.876Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-10T14:45:25.135Z] OK: 143 MiB in 39 packages [2020-04-10T14:45:25.701Z] Removing intermediate container 8f28071db157 [2020-04-10T14:45:25.701Z] ---> fa1d4c82aeff [2020-04-10T14:45:25.701Z] Step 8/21 : COPY . . [2020-04-10T14:45:25.961Z] ---> eee0608ef0a5 [2020-04-10T14:45:25.961Z] Step 9/21 : RUN ${MAKE} [2020-04-10T14:45:25.961Z] ---> Running in 477ba644aef8 [2020-04-10T14:45:26.534Z] 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-10T14:45:38.844Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-10T14:45:40.224Z] Removing intermediate container 477ba644aef8 [2020-04-10T14:45:40.224Z] ---> d5602ad6d2b5 [2020-04-10T14:45:40.224Z] Step 10/21 : FROM scratch [2020-04-10T14:45:40.224Z] ---> [2020-04-10T14:45:40.224Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T14:45:40.224Z] ---> Running in 05d47d840d41 [2020-04-10T14:45:40.484Z] Removing intermediate container 05d47d840d41 [2020-04-10T14:45:40.484Z] ---> dd83b0cc2c0c [2020-04-10T14:45:40.484Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-10T14:45:40.484Z] ---> Running in 1cd4ce8b66a7 [2020-04-10T14:45:40.484Z] Removing intermediate container 1cd4ce8b66a7 [2020-04-10T14:45:40.484Z] ---> 2acd887e023c [2020-04-10T14:45:40.484Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-10T14:45:40.484Z] ---> Running in 722395e6877e [2020-04-10T14:45:40.745Z] Removing intermediate container 722395e6877e [2020-04-10T14:45:40.745Z] ---> dc473eedb6cc [2020-04-10T14:45:40.745Z] Step 14/21 : WORKDIR / [2020-04-10T14:45:40.745Z] ---> Running in b158472fadf5 [2020-04-10T14:45:41.008Z] Removing intermediate container b158472fadf5 [2020-04-10T14:45:41.008Z] ---> 44c87a6205ee [2020-04-10T14:45:41.008Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-10T14:45:41.267Z] ---> 811b27f2cceb [2020-04-10T14:45:41.267Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-10T14:45:41.527Z] ---> d1e396d4077c [2020-04-10T14:45:41.527Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-10T14:45:41.787Z] ---> f50d7f45be5a [2020-04-10T14:45:41.787Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-10T14:45:41.787Z] ---> Running in 95aff5b02986 [2020-04-10T14:45:42.048Z] Removing intermediate container 95aff5b02986 [2020-04-10T14:45:42.048Z] ---> e6c486e75741 [2020-04-10T14:45:42.048Z] Step 19/21 : LABEL arch=amd64 [2020-04-10T14:45:42.048Z] ---> Running in 486fa961f7f8 [2020-04-10T14:45:42.048Z] Removing intermediate container 486fa961f7f8 [2020-04-10T14:45:42.048Z] ---> 944f651cabbe [2020-04-10T14:45:42.048Z] Step 20/21 : LABEL git_sha=d79618ee95b0f1bb9e8c991ef47751f8294e739c [2020-04-10T14:45:42.306Z] ---> Running in e450b22c2449 [2020-04-10T14:45:42.306Z] Removing intermediate container e450b22c2449 [2020-04-10T14:45:42.306Z] ---> 70a74a17c9f3 [2020-04-10T14:45:42.306Z] Step 21/21 : LABEL version=0.0.0 [2020-04-10T14:45:42.306Z] ---> Running in 9d6e5a1a89db [2020-04-10T14:45:42.565Z] Removing intermediate container 9d6e5a1a89db [2020-04-10T14:45:42.566Z] ---> ecd133f9ab2b [2020-04-10T14:45:42.566Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-10T14:45:42.566Z] Successfully built ecd133f9ab2b [2020-04-10T14:45:42.566Z] 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-10T14:47:29.856Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3278 in /w/workspace/dgexfoundry_device-sdk-go_PR-464 [Pipeline] { [Pipeline] ws [2020-04-10T14:47:29.899Z] Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout [2020-04-10T14:47:36.133Z] using credential edgex-jenkins-ssh [2020-04-10T14:47:36.180Z] Cloning the remote Git repository [2020-04-10T14:47:36.180Z] Cloning with configured refspecs honoured and without tags [2020-04-10T14:47:36.203Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T14:47:36.291Z] > git init /w/workspace/device-sdk-go/16 # timeout=10 [2020-04-10T14:47:36.386Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T14:47:36.388Z] > git --version # timeout=10 [2020-04-10T14:47:36.421Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T14:47:36.494Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T14:47:37.650Z] Fetching without tags [2020-04-10T14:47:38.115Z] Merging remotes/origin/master commit 1bb097ad4365b735bfef0648a55752ad7a9b68a1 into PR head commit c9979804ccd04a40c7aa62bb85d5611f1e38dae2 [2020-04-10T14:47:38.531Z] Merge succeeded, producing 80df1e3da3257774bc53f5ba96d53c8caab6918d [2020-04-10T14:47:38.531Z] Checking out Revision 80df1e3da3257774bc53f5ba96d53c8caab6918d (PR-464) [2020-04-10T14:47:37.486Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T14:47:37.531Z] > git config --add remote.origin.fetch +refs/pull/464/head:refs/remotes/origin/PR-464 # timeout=10 [2020-04-10T14:47:37.548Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T14:47:37.586Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-10T14:47:37.636Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-10T14:47:37.638Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T14:47:37.652Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/464/head:refs/remotes/origin/PR-464 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-10T14:47:38.111Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T14:47:38.164Z] > git checkout -f c9979804ccd04a40c7aa62bb85d5611f1e38dae2 # timeout=10 [2020-04-10T14:47:38.288Z] > git remote # timeout=10 [2020-04-10T14:47:38.321Z] > git config --get remote.origin.url # timeout=10 [2020-04-10T14:47:38.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-10T14:47:38.375Z] > git merge 1bb097ad4365b735bfef0648a55752ad7a9b68a1 # timeout=10 [2020-04-10T14:47:38.489Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-10T14:47:38.514Z] > git config core.sparsecheckout # timeout=10 [2020-04-10T14:47:38.552Z] > git checkout -f 80df1e3da3257774bc53f5ba96d53c8caab6918d # timeout=10 [2020-04-10T14:47:43.128Z] Commit message: "Merge commit '1bb097ad4365b735bfef0648a55752ad7a9b68a1' into HEAD" [2020-04-10T14:47:43.123Z] > git rev-list --no-walk c9979804ccd04a40c7aa62bb85d5611f1e38dae2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-10T14:47:44.513Z] ========================================================= [2020-04-10T14:47:44.513Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-10T14:47:44.513Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-10T14:47:45.596Z] + 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-10T14:47:46.575Z] Sending build context to Docker daemon 2.876MB [2020-04-10T14:47:46.575Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-10T14:47:46.575Z] Step 2/8 : FROM ${BASE} [2020-04-10T14:47:46.845Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-10T14:47:46.845Z] cde5963f3b93: Pulling fs layer [2020-04-10T14:47:46.845Z] 2a23fa8c16f7: Pulling fs layer [2020-04-10T14:47:46.845Z] 777b28850792: Pulling fs layer [2020-04-10T14:47:46.845Z] 8a11ddd9e578: Pulling fs layer [2020-04-10T14:47:46.845Z] 4cf88f913ddb: Pulling fs layer [2020-04-10T14:47:46.845Z] 1df406cf5192: Pulling fs layer [2020-04-10T14:47:46.845Z] cd6300453558: Pulling fs layer [2020-04-10T14:47:46.845Z] b9c365052c96: Pulling fs layer [2020-04-10T14:47:46.845Z] a2d8cc88f415: Pulling fs layer [2020-04-10T14:47:46.845Z] ea1d1ca13537: Pulling fs layer [2020-04-10T14:47:46.845Z] 3750a50a1c5e: Pulling fs layer [2020-04-10T14:47:46.845Z] 8a11ddd9e578: Waiting [2020-04-10T14:47:46.845Z] 4cf88f913ddb: Waiting [2020-04-10T14:47:46.845Z] 1df406cf5192: Waiting [2020-04-10T14:47:46.845Z] cd6300453558: Waiting [2020-04-10T14:47:46.845Z] a2d8cc88f415: Waiting [2020-04-10T14:47:46.845Z] b9c365052c96: Waiting [2020-04-10T14:47:46.845Z] ea1d1ca13537: Waiting [2020-04-10T14:47:46.845Z] 777b28850792: Download complete [2020-04-10T14:47:46.845Z] 2a23fa8c16f7: Verifying Checksum [2020-04-10T14:47:46.845Z] 2a23fa8c16f7: Download complete [2020-04-10T14:47:46.845Z] 4cf88f913ddb: Verifying Checksum [2020-04-10T14:47:46.845Z] 4cf88f913ddb: Download complete [2020-04-10T14:47:47.115Z] cde5963f3b93: Download complete [2020-04-10T14:47:48.088Z] cde5963f3b93: Pull complete [2020-04-10T14:47:48.088Z] 1df406cf5192: Download complete [2020-04-10T14:47:48.379Z] 2a23fa8c16f7: Pull complete [2020-04-10T14:47:48.975Z] 777b28850792: Pull complete [2020-04-10T14:47:51.586Z] cd6300453558: Download complete [2020-04-10T14:47:51.586Z] a2d8cc88f415: Download complete [2020-04-10T14:47:54.174Z] ea1d1ca13537: Verifying Checksum [2020-04-10T14:47:54.174Z] ea1d1ca13537: Download complete [2020-04-10T14:47:54.758Z] 3750a50a1c5e: Download complete [2020-04-10T14:47:58.112Z] b9c365052c96: Download complete [2020-04-10T14:47:59.081Z] 8a11ddd9e578: Verifying Checksum [2020-04-10T14:47:59.081Z] 8a11ddd9e578: Download complete [2020-04-10T14:48:11.434Z] 8a11ddd9e578: Pull complete [2020-04-10T14:48:11.434Z] 4cf88f913ddb: Pull complete [2020-04-10T14:48:11.434Z] 1df406cf5192: Pull complete [2020-04-10T14:48:16.801Z] cd6300453558: Pull complete [2020-04-10T14:48:21.063Z] b9c365052c96: Pull complete [2020-04-10T14:48:21.063Z] a2d8cc88f415: Pull complete [2020-04-10T14:48:23.659Z] ea1d1ca13537: Pull complete [2020-04-10T14:48:23.928Z] 3750a50a1c5e: Pull complete [2020-04-10T14:48:23.928Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-10T14:48:23.928Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-10T14:48:23.928Z] ---> 78745c68409d [2020-04-10T14:48:23.928Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T14:48:29.310Z] ---> Running in 3515358869cc [2020-04-10T14:48:29.310Z] Removing intermediate container 3515358869cc [2020-04-10T14:48:29.310Z] ---> 2744a4efe9eb [2020-04-10T14:48:29.310Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T14:48:29.581Z] ---> Running in dd885269883b [2020-04-10T14:48:31.534Z] Removing intermediate container dd885269883b [2020-04-10T14:48:31.534Z] ---> bca1fc8c64c6 [2020-04-10T14:48:31.534Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-10T14:48:31.807Z] ---> Running in 17ef0d765bb0 [2020-04-10T14:48:32.781Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-10T14:48:33.746Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-10T14:48:34.013Z] OK: 125 MiB in 39 packages [2020-04-10T14:48:35.422Z] Removing intermediate container 17ef0d765bb0 [2020-04-10T14:48:35.422Z] ---> 7ee2140574bf [2020-04-10T14:48:35.422Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-10T14:48:35.422Z] ---> Running in 9b4d65090153 [2020-04-10T14:48:36.006Z] Removing intermediate container 9b4d65090153 [2020-04-10T14:48:36.006Z] ---> 7ffdb6a418dc [2020-04-10T14:48:36.006Z] Step 7/8 : COPY . . [2020-04-10T14:48:36.966Z] ---> 5442681e4c02 [2020-04-10T14:48:36.966Z] Step 8/8 : RUN go mod download [2020-04-10T14:48:36.966Z] ---> Running in 5b6829e8654a [2020-04-10T14:48:38.914Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-10T14:48:38.914Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-10T14:48:38.914Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-10T14:48:38.914Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-10T14:48:38.914Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-10T14:48:38.914Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-10T14:48:38.914Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-10T14:48:38.914Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-10T14:48:38.914Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.26 [2020-04-10T14:48:38.914Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-10T14:48:38.914Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-10T14:48:38.914Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-10T14:48:38.914Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-10T14:48:39.184Z] go: finding github.com/fatih/color v1.7.0 [2020-04-10T14:48:39.184Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-10T14:48:39.184Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-10T14:48:39.184Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-10T14:48:39.184Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-10T14:48:39.184Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-10T14:48:39.184Z] go: finding github.com/google/uuid v1.1.0 [2020-04-10T14:48:39.184Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-10T14:48:39.184Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-10T14:48:39.184Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-10T14:48:39.184Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-10T14:48:39.184Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-10T14:48:39.184Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-10T14:48:39.184Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-10T14:48:39.184Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-10T14:48:39.184Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-10T14:48:39.184Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-10T14:48:39.184Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-10T14:48:39.184Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-10T14:48:39.184Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-10T14:48:39.184Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-10T14:48:39.184Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-10T14:48:39.184Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-10T14:48:39.184Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-10T14:48:39.184Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-10T14:48:39.184Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-10T14:48:39.184Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-10T14:48:39.185Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-10T14:48:39.454Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-10T14:48:39.454Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-10T14:48:39.454Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-10T14:48:39.454Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-10T14:48:39.454Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-10T14:48:39.454Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-10T14:48:39.454Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-10T14:48:39.454Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-10T14:48:39.454Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-10T14:48:39.454Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-10T14:48:39.454Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-10T14:48:39.454Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-10T14:48:39.454Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-10T14:48:39.454Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-10T14:48:39.454Z] go: finding github.com/posener/complete v1.1.1 [2020-04-10T14:48:39.454Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-10T14:48:39.454Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-10T14:48:39.454Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-10T14:48:39.454Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-10T14:48:39.454Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-10T14:48:39.454Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-10T14:48:39.725Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-10T14:48:39.725Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-10T14:48:39.725Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-10T14:48:39.725Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-10T14:48:39.725Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-10T14:48:39.725Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-10T14:48:49.826Z] Removing intermediate container 5b6829e8654a [2020-04-10T14:48:49.826Z] ---> b6cae6c7c7e0 [2020-04-10T14:48:49.826Z] Successfully built b6cae6c7c7e0 [2020-04-10T14:48:49.826Z] 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-10T14:48:50.426Z] + docker inspect -f . ci-base-image-arm64 [2020-04-10T14:48:50.696Z] . [Pipeline] withDockerContainer [2020-04-10T14:48:51.029Z] prd-ubuntu18.04-docker-arm64-4c-16g-3278 does not seem to be running inside a container [2020-04-10T14:48:51.120Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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-10T14:48:52.670Z] $ docker top cdcc51d6999395a18d80983f083018c7314b70185c6c79478091f21f8b1cc574 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-10T14:48:53.806Z] + go version [2020-04-10T14:48:53.807Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-10T14:48:54.478Z] + make test [2020-04-10T14:48:54.478Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-10T14:48:55.895Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-10T14:49:42.795Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-10T14:49:42.795Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-10T14:49:42.795Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.026s coverage: 22.1% of statements [2020-04-10T14:49:42.795Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.276s coverage: 95.8% of statements [2020-04-10T14:50:00.984Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.190s coverage: 11.4% of statements [2020-04-10T14:50:00.984Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.050s coverage: 22.7% of statements [2020-04-10T14:50:00.984Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-10T14:50:00.984Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.121s coverage: 38.5% of statements [2020-04-10T14:50:00.984Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-10T14:50:00.984Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-10T14:50:00.984Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.537s coverage: 76.5% of statements [2020-04-10T14:50:00.984Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-10T14:50:00.984Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-10T14:50:00.984Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-10T14:50:00.984Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.236s coverage: 52.6% of statements [2020-04-10T14:50:00.984Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-10T14:50:00.984Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.336s coverage: 76.1% of statements [2020-04-10T14:50:00.984Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-10T14:50:00.984Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-10T14:50:00.984Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-10T14:50:06.340Z] gofmt -l . [2020-04-10T14:50:06.340Z] [ "`gofmt -l .`" = "" ] [2020-04-10T14:50:06.930Z] ./bin/test-attribution-txt.sh [2020-04-10T14:50:07.888Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-10T14:50:08.170Z] Warning: overwriting stash ‘coverage-report’ [2020-04-10T14:50:08.659Z] Stashed 1 file(s) [Pipeline] } [2020-04-10T14:50:08.676Z] $ docker stop --time=1 cdcc51d6999395a18d80983f083018c7314b70185c6c79478091f21f8b1cc574 [2020-04-10T14:50:11.107Z] $ docker rm -f cdcc51d6999395a18d80983f083018c7314b70185c6c79478091f21f8b1cc574 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-10T14:50:12.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-10T14:50:12.719Z] + ls -al . [2020-04-10T14:50:12.719Z] total 200 [2020-04-10T14:50:12.719Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 14:50 . [2020-04-10T14:50:12.720Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 14:47 .. [2020-04-10T14:50:12.720Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 14:47 .dockerignore [2020-04-10T14:50:12.720Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 14:47 .git [2020-04-10T14:50:12.720Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 14:47 .github [2020-04-10T14:50:12.720Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 10 14:47 .gitignore [2020-04-10T14:50:12.720Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 14:47 .semver [2020-04-10T14:50:12.720Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 10 14:47 Dockerfile.build [2020-04-10T14:50:12.720Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 10 14:47 Jenkinsfile [2020-04-10T14:50:12.720Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 14:47 LICENSE [2020-04-10T14:50:12.720Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 10 14:47 Makefile [2020-04-10T14:50:12.720Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 10 14:47 README.md [2020-04-10T14:50:12.720Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 14:42 VERSION [2020-04-10T14:50:12.720Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 14:47 api [2020-04-10T14:50:12.720Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 14:47 bin [2020-04-10T14:50:12.720Z] -rw-r--r-- 1 jenkins jenkins 96083 Apr 10 14:49 coverage.out [2020-04-10T14:50:12.720Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 14:47 example [2020-04-10T14:50:12.720Z] -rw-r--r-- 1 jenkins jenkins 475 Apr 10 14:50 go.mod [2020-04-10T14:50:12.720Z] -rw-r--r-- 1 jenkins jenkins 12152 Apr 10 14:50 go.sum [2020-04-10T14:50:12.720Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 10 14:47 internal [2020-04-10T14:50:12.720Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 14:47 pkg [2020-04-10T14:50:12.720Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 14:47 snap [2020-04-10T14:50:12.720Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 14:47 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-10T14:50:13.047Z] + 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=d79618ee95b0f1bb9e8c991ef47751f8294e739c --label arch=arm64 --label version=0.0.0 . [2020-04-10T14:50:13.632Z] Sending build context to Docker daemon 2.992MB [2020-04-10T14:50:13.632Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-10T14:50:13.632Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-10T14:50:13.632Z] ---> b6cae6c7c7e0 [2020-04-10T14:50:13.632Z] Step 3/21 : ARG MAKE='make build' [2020-04-10T14:50:13.899Z] ---> Running in 84d6aad5821a [2020-04-10T14:50:14.169Z] Removing intermediate container 84d6aad5821a [2020-04-10T14:50:14.169Z] ---> f82de0e612b8 [2020-04-10T14:50:14.169Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-10T14:50:14.169Z] ---> Running in 87443b3a5f4c [2020-04-10T14:50:14.762Z] Removing intermediate container 87443b3a5f4c [2020-04-10T14:50:14.762Z] ---> 167027c9222c [2020-04-10T14:50:14.762Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T14:50:14.762Z] ---> Running in 081610b3e55d [2020-04-10T14:50:15.029Z] Removing intermediate container 081610b3e55d [2020-04-10T14:50:15.029Z] ---> 0dab050e429b [2020-04-10T14:50:15.029Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-10T14:50:15.299Z] ---> Running in bbf8920279db [2020-04-10T14:50:17.247Z] Removing intermediate container bbf8920279db [2020-04-10T14:50:17.247Z] ---> 637b8de0be2d [2020-04-10T14:50:17.247Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-10T14:50:17.247Z] ---> Running in bc12b13b4ae2 [2020-04-10T14:50:18.209Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-10T14:50:18.794Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-10T14:50:19.375Z] OK: 125 MiB in 39 packages [2020-04-10T14:50:20.786Z] Removing intermediate container bc12b13b4ae2 [2020-04-10T14:50:20.786Z] ---> ec6515a86f53 [2020-04-10T14:50:20.786Z] Step 8/21 : COPY . . [2020-04-10T14:50:21.788Z] ---> 1e469bb57f4a [2020-04-10T14:50:21.788Z] Step 9/21 : RUN ${MAKE} [2020-04-10T14:50:21.788Z] ---> Running in fb3bc25c2318 [2020-04-10T14:50:23.278Z] 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-10T14:51:02.226Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-10T14:51:02.226Z] Removing intermediate container fb3bc25c2318 [2020-04-10T14:51:02.226Z] ---> 35c83f2e38ec [2020-04-10T14:51:02.226Z] Step 10/21 : FROM scratch [2020-04-10T14:51:02.226Z] ---> [2020-04-10T14:51:02.226Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-10T14:51:02.226Z] ---> Running in ba2327421cef [2020-04-10T14:51:02.226Z] Removing intermediate container ba2327421cef [2020-04-10T14:51:02.226Z] ---> d0b3ad2d1e64 [2020-04-10T14:51:02.226Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-10T14:51:02.226Z] ---> Running in dbf7381656ee [2020-04-10T14:51:02.226Z] Removing intermediate container dbf7381656ee [2020-04-10T14:51:02.226Z] ---> 387dba3625e7 [2020-04-10T14:51:02.226Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-10T14:51:02.226Z] ---> Running in c567a94ac432 [2020-04-10T14:51:02.226Z] Removing intermediate container c567a94ac432 [2020-04-10T14:51:02.226Z] ---> bb41d7e77131 [2020-04-10T14:51:02.226Z] Step 14/21 : WORKDIR / [2020-04-10T14:51:02.226Z] ---> Running in 42d9b07feb2e [2020-04-10T14:51:02.226Z] Removing intermediate container 42d9b07feb2e [2020-04-10T14:51:02.226Z] ---> b4a0cc78abe0 [2020-04-10T14:51:02.226Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-10T14:51:03.195Z] ---> 9b0beade44fe [2020-04-10T14:51:03.195Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-10T14:51:03.780Z] ---> b91bb7ca31b2 [2020-04-10T14:51:03.780Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-10T14:51:04.364Z] ---> 3fa21b635ec1 [2020-04-10T14:51:04.364Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-10T14:51:04.364Z] ---> Running in f3902d2533db [2020-04-10T14:51:04.631Z] Removing intermediate container f3902d2533db [2020-04-10T14:51:04.631Z] ---> af015dff3de9 [2020-04-10T14:51:04.631Z] Step 19/21 : LABEL arch=arm64 [2020-04-10T14:51:04.898Z] ---> Running in 5665a58e0382 [2020-04-10T14:51:05.167Z] Removing intermediate container 5665a58e0382 [2020-04-10T14:51:05.167Z] ---> 8a086d3da243 [2020-04-10T14:51:05.167Z] Step 20/21 : LABEL git_sha=d79618ee95b0f1bb9e8c991ef47751f8294e739c [2020-04-10T14:51:05.167Z] ---> Running in 435012a16027 [2020-04-10T14:51:05.754Z] Removing intermediate container 435012a16027 [2020-04-10T14:51:05.754Z] ---> ccfdcaa37e52 [2020-04-10T14:51:05.754Z] Step 21/21 : LABEL version=0.0.0 [2020-04-10T14:51:05.754Z] ---> Running in 85be5e55d73b [2020-04-10T14:51:06.023Z] Removing intermediate container 85be5e55d73b [2020-04-10T14:51:06.023Z] ---> 030e4b1bb21d [2020-04-10T14:51:06.023Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-10T14:51:06.023Z] Successfully built 030e4b1bb21d [2020-04-10T14:51:06.023Z] 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-10T14:51:06.893Z] provisioning config files... [2020-04-10T14:51:06.903Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config8253029185350955962tmp [Pipeline] { [Pipeline] sh [2020-04-10T14:51:07.272Z] + curl -s https://codecov.io/bash [2020-04-10T14:51:07.272Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config8253029185350955962tmp [2020-04-10T14:51:07.531Z] [2020-04-10T14:51:07.531Z] _____ _ [2020-04-10T14:51:07.531Z] / ____| | | [2020-04-10T14:51:07.531Z] | | ___ __| | ___ ___ _____ __ [2020-04-10T14:51:07.532Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-10T14:51:07.532Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-10T14:51:07.532Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-10T14:51:07.532Z] Bash-20200410-0786dee [2020-04-10T14:51:07.532Z] [2020-04-10T14:51:07.532Z] [2020-04-10T14:51:07.532Z] ==> Jenkins CI detected. [2020-04-10T14:51:07.532Z] project root: . [2020-04-10T14:51:07.532Z] Fixing merge commit SHA [2020-04-10T14:51:07.532Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-10T14:51:07.532Z] ==> Running gcov in . (disable via -X gcov) [2020-04-10T14:51:07.532Z] ==> Python coveragepy not found [2020-04-10T14:51:07.532Z] ==> Searching for coverage reports in: [2020-04-10T14:51:07.532Z] + . [2020-04-10T14:51:07.532Z] -> Found 1 reports [2020-04-10T14:51:07.532Z] ==> Detecting git/mercurial file structure [2020-04-10T14:51:07.532Z] ==> Reading reports [2020-04-10T14:51:07.532Z] + ./coverage.out bytes=96083 [2020-04-10T14:51:07.532Z] ==> Appending adjustments [2020-04-10T14:51:07.532Z] http://docs.codecov.io/docs/fixing-reports [2020-04-10T14:51:07.792Z] + Found adjustments [2020-04-10T14:51:07.792Z] ==> Gzipping contents [2020-04-10T14:51:07.792Z] ==> Uploading reports [2020-04-10T14:51:07.792Z] url: https://codecov.io [2020-04-10T14:51:07.792Z] query: branch=PR-464&commit=1bb097ad4365b735bfef0648a55752ad7a9b68a1&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= [2020-04-10T14:51:07.792Z] -> Pinging Codecov [2020-04-10T14:51:07.792Z] https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=PR-464&commit=1bb097ad4365b735bfef0648a55752ad7a9b68a1&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= [2020-04-10T14:51:08.361Z] -> Uploading [2020-04-10T14:53:29.843Z] X> Failed to upload [2020-04-10T14:53:29.843Z] -> Sleeping for 30s and trying again... [2020-04-10T14:53:47.939Z] -> Pinging Codecov [2020-04-10T14:53:47.939Z] https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=PR-464&commit=1bb097ad4365b735bfef0648a55752ad7a9b68a1&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-464%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=464&job= [2020-04-10T14:53:47.939Z] -> Uploading [2020-04-10T14:53:47.939Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1bb097ad4365b735bfef0648a55752ad7a9b68a1 [Pipeline] } [2020-04-10T14:53:47.946Z] 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-10T14:53:49.149Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T14:53:49.454Z] ---> package-listing.sh [2020-04-10T14:53:49.454Z] ++ facter osfamily [2020-04-10T14:53:49.454Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-10T14:53:49.454Z] + OS_FAMILY=redhat [2020-04-10T14:53:49.454Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-464 [2020-04-10T14:53:49.455Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-10T14:53:49.455Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-10T14:53:49.455Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-10T14:53:49.455Z] + PACKAGES=/tmp/packages_start.txt [2020-04-10T14:53:49.455Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' [2020-04-10T14:53:49.455Z] + PACKAGES=/tmp/packages_end.txt [2020-04-10T14:53:49.455Z] + case "${OS_FAMILY}" in [2020-04-10T14:53:49.455Z] + rpm -qa [2020-04-10T14:53:49.455Z] + sort [2020-04-10T14:53:53.646Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-10T14:53:53.646Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-10T14:53:53.646Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-10T14:53:53.646Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-464 ']' [2020-04-10T14:53:53.646Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ [2020-04-10T14:53:53.646Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-464/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-10T14:53:53.995Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-10T14:53:53.995Z] [2020-04-10T14:53:53.995Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-10T14:53:54.347Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-10T14:53:54.347Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-10T14:53:54.347Z] c9b1b535fdd9: Pulling fs layer [2020-04-10T14:53:54.347Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-10T14:53:54.347Z] 756a868c4378: Pulling fs layer [2020-04-10T14:53:54.347Z] 444b2fc9a129: Pulling fs layer [2020-04-10T14:53:54.347Z] ea15f1150254: Pulling fs layer [2020-04-10T14:53:54.347Z] 41b27a9f41bf: Pulling fs layer [2020-04-10T14:53:54.347Z] 28c525ee5125: Pulling fs layer [2020-04-10T14:53:54.347Z] 094b1ea09ed8: Pulling fs layer [2020-04-10T14:53:54.347Z] 138eaada9080: Pulling fs layer [2020-04-10T14:53:54.347Z] 0622d0fa9048: Pulling fs layer [2020-04-10T14:53:54.347Z] 444b2fc9a129: Waiting [2020-04-10T14:53:54.347Z] ea15f1150254: Waiting [2020-04-10T14:53:54.347Z] 41b27a9f41bf: Waiting [2020-04-10T14:53:54.347Z] 28c525ee5125: Waiting [2020-04-10T14:53:54.347Z] 094b1ea09ed8: Waiting [2020-04-10T14:53:54.347Z] 138eaada9080: Waiting [2020-04-10T14:53:54.347Z] 0622d0fa9048: Waiting [2020-04-10T14:53:54.347Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-10T14:53:54.347Z] 2cc5ad85d9ab: Download complete [2020-04-10T14:53:54.347Z] 444b2fc9a129: Verifying Checksum [2020-04-10T14:53:54.347Z] 444b2fc9a129: Download complete [2020-04-10T14:53:54.347Z] c9b1b535fdd9: Verifying Checksum [2020-04-10T14:53:54.347Z] c9b1b535fdd9: Download complete [2020-04-10T14:53:54.615Z] ea15f1150254: Verifying Checksum [2020-04-10T14:53:54.615Z] ea15f1150254: Download complete [2020-04-10T14:53:54.615Z] 28c525ee5125: Verifying Checksum [2020-04-10T14:53:54.615Z] 28c525ee5125: Download complete [2020-04-10T14:53:54.882Z] c9b1b535fdd9: Pull complete [2020-04-10T14:53:54.882Z] 756a868c4378: Verifying Checksum [2020-04-10T14:53:54.882Z] 756a868c4378: Download complete [2020-04-10T14:53:55.151Z] 138eaada9080: Verifying Checksum [2020-04-10T14:53:55.151Z] 138eaada9080: Download complete [2020-04-10T14:53:55.151Z] 094b1ea09ed8: Verifying Checksum [2020-04-10T14:53:55.151Z] 094b1ea09ed8: Download complete [2020-04-10T14:53:55.151Z] 0622d0fa9048: Verifying Checksum [2020-04-10T14:53:55.151Z] 0622d0fa9048: Download complete [2020-04-10T14:53:55.151Z] 2cc5ad85d9ab: Pull complete [2020-04-10T14:53:55.722Z] 41b27a9f41bf: Verifying Checksum [2020-04-10T14:53:55.722Z] 41b27a9f41bf: Download complete [2020-04-10T14:53:57.106Z] 756a868c4378: Pull complete [2020-04-10T14:53:57.106Z] 444b2fc9a129: Pull complete [2020-04-10T14:53:57.364Z] ea15f1150254: Pull complete [2020-04-10T14:54:00.662Z] 41b27a9f41bf: Pull complete [2020-04-10T14:54:00.662Z] 28c525ee5125: Pull complete [2020-04-10T14:54:02.574Z] 094b1ea09ed8: Pull complete [2020-04-10T14:54:02.574Z] 138eaada9080: Pull complete [2020-04-10T14:54:02.832Z] 0622d0fa9048: Pull complete [2020-04-10T14:54:02.832Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-10T14:54:02.832Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-10T14:54:02.994Z] prd-centos7-docker-4c-2g-3270 does not seem to be running inside a container [2020-04-10T14:54:03.038Z] $ 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-464 -v /w/workspace/dgexfoundry_device-sdk-go_PR-464:/w/workspace/dgexfoundry_device-sdk-go_PR-464:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-464@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-10T14:54:03.605Z] $ docker top 7020f8532bd7ecdcf08beb58d7a1464a97fff53835311820863aaa073d731a0a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-10T14:54:03.847Z] provisioning config files... [2020-04-10T14:54:03.860Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp/config2832826606406493320tmp [Pipeline] { [Pipeline] echo [2020-04-10T14:54:03.914Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T14:54:04.553Z] ---> create-netrc.sh [Pipeline] echo [2020-04-10T14:54:04.559Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-10T14:54:04.860Z] ---> logs-deploy.sh [2020-04-10T14:54:04.860Z] + ARCHIVE_ARTIFACTS= [2020-04-10T14:54:04.860Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-10T14:54:04.860Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-10T14:54:04.860Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-10T14:54:04.860Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/16 [2020-04-10T14:54:04.860Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/16/ [2020-04-10T14:54:04.860Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/16 /w/workspace/dgexfoundry_device-sdk-go_PR-464 [2020-04-10T14:54:06.239Z] Archives upload complete. [2020-04-10T14:54:06.239Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-464/16 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-464/16/ [2020-04-10T14:54:06.808Z] ---> uname -a: [2020-04-10T14:54:06.808Z] Linux 7020f8532bd7 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux [2020-04-10T14:54:06.808Z] [2020-04-10T14:54:06.808Z] [2020-04-10T14:54:06.808Z] ---> lscpu: [2020-04-10T14:54:06.808Z] Architecture: x86_64 [2020-04-10T14:54:06.808Z] CPU op-mode(s): 32-bit, 64-bit [2020-04-10T14:54:06.808Z] Byte Order: Little Endian [2020-04-10T14:54:06.808Z] Address sizes: 40 bits physical, 48 bits virtual [2020-04-10T14:54:06.808Z] CPU(s): 4 [2020-04-10T14:54:06.808Z] On-line CPU(s) list: 0-3 [2020-04-10T14:54:06.808Z] Thread(s) per core: 1 [2020-04-10T14:54:06.808Z] Core(s) per socket: 1 [2020-04-10T14:54:06.808Z] Socket(s): 4 [2020-04-10T14:54:06.808Z] NUMA node(s): 1 [2020-04-10T14:54:06.808Z] Vendor ID: GenuineIntel [2020-04-10T14:54:06.808Z] CPU family: 6 [2020-04-10T14:54:06.808Z] Model: 44 [2020-04-10T14:54:06.808Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-04-10T14:54:06.808Z] Stepping: 1 [2020-04-10T14:54:06.808Z] CPU MHz: 2933.442 [2020-04-10T14:54:06.808Z] BogoMIPS: 5866.88 [2020-04-10T14:54:06.808Z] Virtualization: VT-x [2020-04-10T14:54:06.808Z] Hypervisor vendor: KVM [2020-04-10T14:54:06.808Z] Virtualization type: full [2020-04-10T14:54:06.808Z] L1d cache: 128 KiB [2020-04-10T14:54:06.808Z] L1i cache: 128 KiB [2020-04-10T14:54:06.808Z] L2 cache: 16 MiB [2020-04-10T14:54:06.808Z] L3 cache: 64 MiB [2020-04-10T14:54:06.808Z] NUMA node0 CPU(s): 0-3 [2020-04-10T14:54:06.808Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes [2020-04-10T14:54:06.808Z] Vulnerability Meltdown: Mitigation; PTI [2020-04-10T14:54:06.808Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-04-10T14:54:06.808Z] Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization [2020-04-10T14:54:06.808Z] Vulnerability Spectre v2: Mitigation; Full retpoline [2020-04-10T14:54:06.808Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2020-04-10T14:54:06.808Z] [2020-04-10T14:54:06.808Z] [2020-04-10T14:54:06.808Z] ---> nproc: [2020-04-10T14:54:06.808Z] 4 [2020-04-10T14:54:06.808Z] [2020-04-10T14:54:06.808Z] [2020-04-10T14:54:06.808Z] ---> df -h: [2020-04-10T14:54:06.808Z] Filesystem Size Used Available Use% Mounted on [2020-04-10T14:54:06.808Z] overlay 50.0G 6.4G 43.6G 13% / [2020-04-10T14:54:06.808Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-04-10T14:54:06.808Z] tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup [2020-04-10T14:54:06.808Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-04-10T14:54:06.808Z] /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf [2020-04-10T14:54:06.808Z] /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname [2020-04-10T14:54:06.808Z] /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts [2020-04-10T14:54:06.808Z] /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-464@tmp [2020-04-10T14:54:06.808Z] /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa [2020-04-10T14:54:06.808Z] /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-464 [2020-04-10T14:54:06.808Z] [2020-04-10T14:54:06.808Z] [2020-04-10T14:54:06.808Z] ---> free -m: [2020-04-10T14:54:06.808Z] total used free shared buff/cache available [2020-04-10T14:54:06.808Z] Mem: 1838 604 76 0 1157 1130 [2020-04-10T14:54:06.808Z] Swap: 1023 0 1023 [2020-04-10T14:54:06.808Z] [2020-04-10T14:54:06.808Z] [2020-04-10T14:54:06.808Z] ---> ip addr: [2020-04-10T14:54:06.808Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2020-04-10T14:54:06.808Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2020-04-10T14:54:06.808Z] inet 127.0.0.1/8 scope host lo [2020-04-10T14:54:06.808Z] valid_lft forever preferred_lft forever [2020-04-10T14:54:06.808Z] 6: eth0@if7: mtu 1458 qdisc noqueue state UP [2020-04-10T14:54:06.808Z] link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff [2020-04-10T14:54:06.808Z] inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 [2020-04-10T14:54:06.808Z] valid_lft forever preferred_lft forever [2020-04-10T14:54:06.808Z] [2020-04-10T14:54:06.808Z]