Pull request #432 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 IOTechSystems for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 216cade7f2e553cd85bebefedf8dad939aae0897 rather than 33fda1e722890a4926abd3329d8fb23bb0fb405b Obtained Jenkinsfile from 216cade7f2e553cd85bebefedf8dad939aae0897 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-1538 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [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-432 # 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/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 216cade7f2e553cd85bebefedf8dad939aae0897 into PR head commit 33fda1e722890a4926abd3329d8fb23bb0fb405b Merge succeeded, producing 33fda1e722890a4926abd3329d8fb23bb0fb405b Checking out Revision 33fda1e722890a4926abd3329d8fb23bb0fb405b (PR-432) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # 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/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33fda1e722890a4926abd3329d8fb23bb0fb405b # 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 216cade7f2e553cd85bebefedf8dad939aae0897 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33fda1e722890a4926abd3329d8fb23bb0fb405b # timeout=10 Commit message: "Refactor to use common go-mod-bootstrap package" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-31T07:50:45.988Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 4fe0f186cd77d8ce93183ec219415967046faa08 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-31T07:50:48.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-31T07:50:48.064Z] [2020-03-31T07:50:48.064Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-31T07:50:48.426Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-31T07:50:48.426Z] latest: Pulling from edgex-devops/git-semver [2020-03-31T07:50:48.426Z] 9123ac7c32f7: Pulling fs layer [2020-03-31T07:50:48.426Z] b8cc5d1170e3: Pulling fs layer [2020-03-31T07:50:48.426Z] 2924cbbf6a41: Pulling fs layer [2020-03-31T07:50:48.426Z] 93b08a4f1073: Pulling fs layer [2020-03-31T07:50:48.426Z] 93b08a4f1073: Waiting [2020-03-31T07:50:48.426Z] b8cc5d1170e3: Verifying Checksum [2020-03-31T07:50:48.426Z] b8cc5d1170e3: Download complete [2020-03-31T07:50:48.686Z] 9123ac7c32f7: Verifying Checksum [2020-03-31T07:50:48.686Z] 9123ac7c32f7: Download complete [2020-03-31T07:50:48.686Z] 93b08a4f1073: Verifying Checksum [2020-03-31T07:50:48.686Z] 93b08a4f1073: Download complete [2020-03-31T07:50:48.687Z] 2924cbbf6a41: Verifying Checksum [2020-03-31T07:50:48.687Z] 2924cbbf6a41: Download complete [2020-03-31T07:50:48.687Z] 9123ac7c32f7: Pull complete [2020-03-31T07:50:48.946Z] b8cc5d1170e3: Pull complete [2020-03-31T07:50:49.524Z] 2924cbbf6a41: Pull complete [2020-03-31T07:50:49.783Z] 93b08a4f1073: Pull complete [2020-03-31T07:50:49.783Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-31T07:50:49.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-31T07:50:49.912Z] prd-centos7-docker-4c-2g-1538 does not seem to be running inside a container [2020-03-31T07:50:49.955Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-432 -v /w/workspace/dgexfoundry_device-sdk-go_PR-432:/w/workspace/dgexfoundry_device-sdk-go_PR-432:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-31T07:50:50.567Z] $ docker top 632b1f87f1c117d160aa0f5c7f28f5b54ea9c8dbf544cb3e4dc1c26d5127a023 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-31T07:50:50.826Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-31T07:50:50.826Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-31T07:50:51.027Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-31T07:50:51.031Z] $ docker exec 632b1f87f1c117d160aa0f5c7f28f5b54ea9c8dbf544cb3e4dc1c26d5127a023 ssh-agent [2020-03-31T07:50:51.205Z] SSH_AUTH_SOCK=/tmp/ssh-TwKzTC7AYNEx/agent.15 [2020-03-31T07:50:51.205Z] SSH_AGENT_PID=22 [2020-03-31T07:50:51.214Z] Running ssh-add (command line suppressed) [2020-03-31T07:50:51.350Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_6180673198209709434.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_6180673198209709434.key) [2020-03-31T07:50:51.396Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-31T07:50:51.709Z] + git describe --exact-match --tags HEAD [2020-03-31T07:50:51.709Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-31T07:50:51.763Z] $ docker exec --env ******** --env ******** 632b1f87f1c117d160aa0f5c7f28f5b54ea9c8dbf544cb3e4dc1c26d5127a023 ssh-agent -k [2020-03-31T07:50:51.902Z] unset SSH_AUTH_SOCK; [2020-03-31T07:50:51.902Z] unset SSH_AGENT_PID; [2020-03-31T07:50:51.902Z] echo Agent pid 22 killed; [2020-03-31T07:50:51.946Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-31T07:50:52.012Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-31T07:50:52.012Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-31T07:50:52.090Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-31T07:50:52.090Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-31T07:50:52.268Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-31T07:50:52.272Z] $ docker exec 632b1f87f1c117d160aa0f5c7f28f5b54ea9c8dbf544cb3e4dc1c26d5127a023 ssh-agent [2020-03-31T07:50:52.443Z] SSH_AUTH_SOCK=/tmp/ssh-ADdJFEcqFnwo/agent.57 [2020-03-31T07:50:52.443Z] SSH_AGENT_PID=63 [2020-03-31T07:50:52.448Z] Running ssh-add (command line suppressed) [2020-03-31T07:50:52.584Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_6851773136961217296.key (/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/private_key_6851773136961217296.key) [2020-03-31T07:50:52.629Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-31T07:50:52.964Z] + git semver init [2020-03-31T07:50:52.964Z] # -> Open(): unable to determine branch for HEAD [2020-03-31T07:50:52.964Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.git [2020-03-31T07:50:52.964Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-432 [2020-03-31T07:50:52.964Z] # $SEMVER_REMOTE_NAME = origin [2020-03-31T07:50:52.964Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-31T07:50:52.964Z] # $SEMVER_USER_NAME = jenkins [2020-03-31T07:50:52.964Z] # $SEMVER_BRANCH = PR-432 [2020-03-31T07:50:52.964Z] # $SEMVER_TEMP = /tmp/semver-717378843 [2020-03-31T07:50:52.964Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-31T07:50:53.903Z] # '/tmp/semver-717378843' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver' [2020-03-31T07:50:53.903Z] # -> Force: false [2020-03-31T07:50:53.903Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-432/.semver [Pipeline] } [2020-03-31T07:50:53.912Z] $ docker exec --env ******** --env ******** 632b1f87f1c117d160aa0f5c7f28f5b54ea9c8dbf544cb3e4dc1c26d5127a023 ssh-agent -k [2020-03-31T07:50:54.046Z] unset SSH_AUTH_SOCK; [2020-03-31T07:50:54.046Z] unset SSH_AGENT_PID; [2020-03-31T07:50:54.046Z] echo Agent pid 63 killed; [2020-03-31T07:50:54.093Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-31T07:50:54.529Z] + git semver [Pipeline] } [2020-03-31T07:50:54.543Z] $ docker stop --time=1 632b1f87f1c117d160aa0f5c7f28f5b54ea9c8dbf544cb3e4dc1c26d5127a023 [2020-03-31T07:50:55.885Z] $ docker rm -f 632b1f87f1c117d160aa0f5c7f28f5b54ea9c8dbf544cb3e4dc1c26d5127a023 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-31T07:50:56.715Z] Stashed 34 file(s) [Pipeline] echo [2020-03-31T07:50:56.717Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-03-31T07:51:11.944Z] Still waiting to schedule task [2020-03-31T07:51:11.944Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1538’ [2020-03-31T07:51:11.945Z] Still waiting to schedule task [2020-03-31T07:51:11.945Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-03-31T07:53:32.349Z] Running on prd-centos7-docker-4c-2g-1539 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws [2020-03-31T07:53:32.437Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-03-31T07:53:34.779Z] using credential edgex-jenkins-ssh [2020-03-31T07:53:34.833Z] Cloning the remote Git repository [2020-03-31T07:53:34.833Z] Cloning with configured refspecs honoured and without tags [2020-03-31T07:53:35.656Z] Fetching without tags [2020-03-31T07:53:34.123Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-31T07:53:34.164Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-03-31T07:53:34.213Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-31T07:53:34.213Z] > git --version # timeout=10 [2020-03-31T07:53:34.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-31T07:53:34.262Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-31T07:53:34.922Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-31T07:53:34.934Z] > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 [2020-03-31T07:53:34.946Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-31T07:53:34.971Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-31T07:53:34.991Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-31T07:53:34.991Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-31T07:53:34.997Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-31T07:53:36.086Z] Merging remotes/origin/master commit 216cade7f2e553cd85bebefedf8dad939aae0897 into PR head commit 33fda1e722890a4926abd3329d8fb23bb0fb405b [2020-03-31T07:53:36.487Z] Merge succeeded, producing 33fda1e722890a4926abd3329d8fb23bb0fb405b [2020-03-31T07:53:36.488Z] Checking out Revision 33fda1e722890a4926abd3329d8fb23bb0fb405b (PR-432) [2020-03-31T07:53:35.460Z] > git config core.sparsecheckout # timeout=10 [2020-03-31T07:53:35.467Z] > git checkout -f 33fda1e722890a4926abd3329d8fb23bb0fb405b # timeout=10 [2020-03-31T07:53:35.848Z] > git remote # timeout=10 [2020-03-31T07:53:35.857Z] > git config --get remote.origin.url # timeout=10 [2020-03-31T07:53:35.866Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-31T07:53:35.870Z] > git merge 216cade7f2e553cd85bebefedf8dad939aae0897 # timeout=10 [2020-03-31T07:53:35.880Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-31T07:53:35.890Z] > git config core.sparsecheckout # timeout=10 [2020-03-31T07:53:35.897Z] > git checkout -f 33fda1e722890a4926abd3329d8fb23bb0fb405b # timeout=10 [2020-03-31T07:53:40.438Z] Commit message: "Refactor to use common go-mod-bootstrap package" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-31T07:53:41.688Z] ========================================================= [2020-03-31T07:53:41.688Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-31T07:53:41.688Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-31T07:53:42.356Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-03-31T07:53:42.616Z] Sending build context to Docker daemon 2.695MB [2020-03-31T07:53:42.616Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-31T07:53:42.616Z] Step 2/8 : FROM ${BASE} [2020-03-31T07:53:42.876Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-31T07:53:42.876Z] e6b0cf9c0882: Pulling fs layer [2020-03-31T07:53:42.876Z] 2848faf0eed1: Pulling fs layer [2020-03-31T07:53:42.876Z] 0f37312ad70f: Pulling fs layer [2020-03-31T07:53:42.876Z] 5788d62ee057: Pulling fs layer [2020-03-31T07:53:42.876Z] 0e6b1d234666: Pulling fs layer [2020-03-31T07:53:42.876Z] bf5d7aec512f: Pulling fs layer [2020-03-31T07:53:42.876Z] 34c802a77dc8: Pulling fs layer [2020-03-31T07:53:42.876Z] 9eb99e56ec68: Pulling fs layer [2020-03-31T07:53:42.876Z] 27c7a5d97fbd: Pulling fs layer [2020-03-31T07:53:42.876Z] 5c102a31e300: Pulling fs layer [2020-03-31T07:53:42.876Z] dcfb455df0a1: Pulling fs layer [2020-03-31T07:53:42.876Z] 5788d62ee057: Waiting [2020-03-31T07:53:42.876Z] 0e6b1d234666: Waiting [2020-03-31T07:53:42.876Z] bf5d7aec512f: Waiting [2020-03-31T07:53:42.876Z] 34c802a77dc8: Waiting [2020-03-31T07:53:42.876Z] 9eb99e56ec68: Waiting [2020-03-31T07:53:42.876Z] 27c7a5d97fbd: Waiting [2020-03-31T07:53:42.876Z] 0f37312ad70f: Download complete [2020-03-31T07:53:42.876Z] 2848faf0eed1: Verifying Checksum [2020-03-31T07:53:42.876Z] 2848faf0eed1: Download complete [2020-03-31T07:53:42.876Z] bf5d7aec512f: Verifying Checksum [2020-03-31T07:53:42.876Z] bf5d7aec512f: Download complete [2020-03-31T07:53:43.447Z] e6b0cf9c0882: Verifying Checksum [2020-03-31T07:53:43.447Z] e6b0cf9c0882: Download complete [2020-03-31T07:53:43.447Z] e6b0cf9c0882: Pull complete [2020-03-31T07:53:43.706Z] 2848faf0eed1: Pull complete [2020-03-31T07:53:43.706Z] 0f37312ad70f: Pull complete [2020-03-31T07:53:50.283Z] 34c802a77dc8: Verifying Checksum [2020-03-31T07:53:50.283Z] 34c802a77dc8: Download complete [2020-03-31T07:53:50.283Z] 27c7a5d97fbd: Verifying Checksum [2020-03-31T07:53:50.283Z] 27c7a5d97fbd: Download complete [2020-03-31T07:53:50.283Z] 5c102a31e300: Verifying Checksum [2020-03-31T07:53:50.283Z] 5c102a31e300: Download complete [2020-03-31T07:53:50.283Z] dcfb455df0a1: Verifying Checksum [2020-03-31T07:53:50.283Z] dcfb455df0a1: Download complete [2020-03-31T07:53:50.543Z] 9eb99e56ec68: Verifying Checksum [2020-03-31T07:53:50.543Z] 9eb99e56ec68: Download complete [2020-03-31T07:53:50.808Z] 5788d62ee057: Verifying Checksum [2020-03-31T07:53:50.808Z] 5788d62ee057: Download complete [2020-03-31T07:53:56.098Z] 5788d62ee057: Pull complete [2020-03-31T07:53:56.098Z] 0e6b1d234666: Pull complete [2020-03-31T07:53:56.098Z] bf5d7aec512f: Pull complete [2020-03-31T07:54:01.373Z] 34c802a77dc8: Pull complete [2020-03-31T07:54:04.691Z] 9eb99e56ec68: Pull complete [2020-03-31T07:54:04.691Z] 27c7a5d97fbd: Pull complete [2020-03-31T07:54:05.632Z] 5c102a31e300: Pull complete [2020-03-31T07:54:05.633Z] dcfb455df0a1: Pull complete [2020-03-31T07:54:05.633Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-31T07:54:05.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-31T07:54:05.633Z] ---> 7c70fe431013 [2020-03-31T07:54:05.633Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-31T07:54:05.633Z] ---> Running in 18df71509fda [2020-03-31T07:54:05.892Z] Removing intermediate container 18df71509fda [2020-03-31T07:54:05.892Z] ---> 1d01ced0ece9 [2020-03-31T07:54:05.892Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-31T07:54:05.892Z] ---> Running in e7b4a093493e [2020-03-31T07:54:06.831Z] Removing intermediate container e7b4a093493e [2020-03-31T07:54:06.831Z] ---> 0c80cf7624bd [2020-03-31T07:54:06.831Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-31T07:54:06.831Z] ---> Running in 88de31b56508 [2020-03-31T07:54:07.768Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-31T07:54:08.335Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-31T07:54:08.595Z] OK: 143 MiB in 39 packages [2020-03-31T07:54:09.161Z] Removing intermediate container 88de31b56508 [2020-03-31T07:54:09.161Z] ---> e677ae9c5e56 [2020-03-31T07:54:09.161Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-31T07:54:09.161Z] ---> Running in 6a506d32657a [2020-03-31T07:54:09.161Z] Removing intermediate container 6a506d32657a [2020-03-31T07:54:09.161Z] ---> 78c17094402f [2020-03-31T07:54:09.161Z] Step 7/8 : COPY . . [2020-03-31T07:54:09.738Z] ---> 3777e7672119 [2020-03-31T07:54:09.738Z] Step 8/8 : RUN go mod download [2020-03-31T07:54:09.738Z] ---> Running in f457bb1fdbbb [2020-03-31T07:54:13.027Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-31T07:54:13.027Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-31T07:54:13.027Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-31T07:54:13.027Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-31T07:54:13.027Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-31T07:54:13.027Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-31T07:54:13.027Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-03-31T07:54:13.027Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-31T07:54:13.027Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.25 [2020-03-31T07:54:13.027Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-03-31T07:54:13.027Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-31T07:54:13.027Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-03-31T07:54:13.027Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-03-31T07:54:13.027Z] go: finding github.com/fatih/color v1.7.0 [2020-03-31T07:54:13.027Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-31T07:54:13.285Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-31T07:54:13.285Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-31T07:54:13.285Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-31T07:54:13.285Z] go: finding github.com/google/uuid v1.1.0 [2020-03-31T07:54:13.285Z] go: finding github.com/gorilla/mux v1.7.1 [2020-03-31T07:54:13.285Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-03-31T07:54:13.285Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-03-31T07:54:13.544Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-31T07:54:13.544Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-03-31T07:54:13.544Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-31T07:54:13.544Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-31T07:54:13.544Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-31T07:54:13.544Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-31T07:54:13.544Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-31T07:54:13.803Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-31T07:54:13.803Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-31T07:54:13.803Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-31T07:54:13.803Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-31T07:54:13.803Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-31T07:54:13.803Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-31T07:54:13.803Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-31T07:54:14.062Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-31T07:54:14.062Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-31T07:54:14.062Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-31T07:54:14.062Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-31T07:54:14.062Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-31T07:54:14.062Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-31T07:54:14.324Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-31T07:54:14.324Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-31T07:54:14.324Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-31T07:54:14.324Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-31T07:54:14.324Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-31T07:54:14.324Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-31T07:54:14.324Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-31T07:54:14.583Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-31T07:54:14.583Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-31T07:54:14.583Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-31T07:54:14.583Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-31T07:54:14.583Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-31T07:54:14.583Z] go: finding github.com/posener/complete v1.1.1 [2020-03-31T07:54:14.583Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-31T07:54:14.843Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-31T07:54:14.843Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-31T07:54:14.843Z] go: finding github.com/stretchr/testify v1.5.1 [2020-03-31T07:54:14.843Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-31T07:54:14.843Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-31T07:54:14.843Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-31T07:54:14.843Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-31T07:54:15.107Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-31T07:54:15.107Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-31T07:54:15.107Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-03-31T07:54:20.406Z] Removing intermediate container f457bb1fdbbb [2020-03-31T07:54:20.406Z] ---> c9f0e5f5a678 [2020-03-31T07:54:20.406Z] Successfully built c9f0e5f5a678 [2020-03-31T07:54:20.406Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-31T07:54:21.020Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-31T07:54:21.020Z] . [Pipeline] withDockerContainer [2020-03-31T07:54:21.213Z] prd-centos7-docker-4c-2g-1539 does not seem to be running inside a container [2020-03-31T07:54:21.350Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-03-31T07:54:22.625Z] $ docker top 9f45defaa7a131d2a6af53b301d71c4c7dffe0e7fcd1bd90c6f0e2065c00e905 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-31T07:54:23.110Z] + go version [2020-03-31T07:54:23.111Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-31T07:54:23.438Z] + make test [2020-03-31T07:54:23.438Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-31T07:54:24.011Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-31T07:54:38.986Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-31T07:54:38.986Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-31T07:54:42.277Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.007s coverage: 23.1% of statements [2020-03-31T07:54:42.277Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.044s coverage: 95.8% of statements [2020-03-31T07:54:45.606Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.077s coverage: 7.9% of statements [2020-03-31T07:54:45.606Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.022s coverage: 22.1% of statements [2020-03-31T07:54:45.606Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-03-31T07:54:45.606Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.285s coverage: 38.5% of statements [2020-03-31T07:54:45.606Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-31T07:54:45.606Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-31T07:54:45.606Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.403s coverage: 79.9% of statements [2020-03-31T07:54:45.606Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-31T07:54:45.606Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-31T07:54:45.606Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-31T07:54:45.606Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.029s coverage: 52.6% of statements [2020-03-31T07:54:45.606Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.104s coverage: 76.1% of statements [2020-03-31T07:54:45.606Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-03-31T07:54:45.606Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-31T07:54:45.606Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-31T07:54:48.184Z] gofmt -l . [2020-03-31T07:54:48.184Z] [ "`gofmt -l .`" = "" ] [2020-03-31T07:54:48.184Z] ./bin/test-attribution-txt.sh [2020-03-31T07:54:48.755Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-31T07:54:49.500Z] Stashed 1 file(s) [Pipeline] } [2020-03-31T07:54:49.514Z] $ docker stop --time=1 9f45defaa7a131d2a6af53b301d71c4c7dffe0e7fcd1bd90c6f0e2065c00e905 [2020-03-31T07:54:51.049Z] $ docker rm -f 9f45defaa7a131d2a6af53b301d71c4c7dffe0e7fcd1bd90c6f0e2065c00e905 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-31T07:54:52.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-31T07:54:52.720Z] + ls -al . [2020-03-31T07:54:52.720Z] total 160 [2020-03-31T07:54:52.720Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 31 07:54 . [2020-03-31T07:54:52.720Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 31 07:53 .. [2020-03-31T07:54:52.720Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 31 07:53 api [2020-03-31T07:54:52.720Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 31 07:53 bin [2020-03-31T07:54:52.720Z] -rw-r--r--. 1 jenkins jenkins 94650 Mar 31 07:54 coverage.out [2020-03-31T07:54:52.720Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 31 07:53 Dockerfile.build [2020-03-31T07:54:52.720Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 31 07:53 .dockerignore [2020-03-31T07:54:52.720Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 31 07:53 example [2020-03-31T07:54:52.720Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 31 07:53 .git [2020-03-31T07:54:52.720Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 31 07:53 .github [2020-03-31T07:54:52.720Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 31 07:53 .gitignore [2020-03-31T07:54:52.720Z] -rw-r--r--. 1 jenkins jenkins 438 Mar 31 07:54 go.mod [2020-03-31T07:54:52.720Z] -rw-r--r--. 1 jenkins jenkins 11812 Mar 31 07:54 go.sum [2020-03-31T07:54:52.720Z] drwxrwxr-x. 13 jenkins jenkins 179 Mar 31 07:53 internal [2020-03-31T07:54:52.720Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 31 07:53 Jenkinsfile [2020-03-31T07:54:52.720Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 31 07:53 LICENSE [2020-03-31T07:54:52.720Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 31 07:53 Makefile [2020-03-31T07:54:52.720Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 31 07:53 pkg [2020-03-31T07:54:52.720Z] -rw-rw-r--. 1 jenkins jenkins 2249 Mar 31 07:53 README.md [2020-03-31T07:54:52.720Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 31 07:53 .semver [2020-03-31T07:54:52.720Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 31 07:53 snap [2020-03-31T07:54:52.720Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 31 07:50 VERSION [2020-03-31T07:54:52.720Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 31 07:53 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-31T07:54:53.021Z] + 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=33fda1e722890a4926abd3329d8fb23bb0fb405b --label arch=amd64 --label version=0.0.0 . [2020-03-31T07:54:53.281Z] Sending build context to Docker daemon 2.81MB [2020-03-31T07:54:53.281Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-31T07:54:53.281Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-31T07:54:53.281Z] ---> c9f0e5f5a678 [2020-03-31T07:54:53.281Z] Step 3/20 : ARG MAKE='make build' [2020-03-31T07:54:53.281Z] ---> Running in ce144b22b22b [2020-03-31T07:54:53.281Z] Removing intermediate container ce144b22b22b [2020-03-31T07:54:53.281Z] ---> a3d59ef2f0ef [2020-03-31T07:54:53.281Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-31T07:54:53.541Z] ---> Running in e6ee9bf6ab8c [2020-03-31T07:54:53.541Z] Removing intermediate container e6ee9bf6ab8c [2020-03-31T07:54:53.541Z] ---> 8a0255dd7cc5 [2020-03-31T07:54:53.541Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-31T07:54:53.803Z] ---> Running in fa355142bba0 [2020-03-31T07:54:53.803Z] Removing intermediate container fa355142bba0 [2020-03-31T07:54:53.803Z] ---> 858c24e33bfd [2020-03-31T07:54:53.803Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-31T07:54:53.803Z] ---> Running in 6780f868d123 [2020-03-31T07:54:54.750Z] Removing intermediate container 6780f868d123 [2020-03-31T07:54:54.750Z] ---> abe642d4e6b7 [2020-03-31T07:54:54.750Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-31T07:54:54.750Z] ---> Running in fd1d6b41dda7 [2020-03-31T07:54:55.320Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-31T07:54:55.889Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-31T07:54:56.460Z] OK: 143 MiB in 39 packages [2020-03-31T07:54:56.721Z] Removing intermediate container fd1d6b41dda7 [2020-03-31T07:54:56.721Z] ---> 4f3e4e4baac1 [2020-03-31T07:54:56.721Z] Step 8/20 : COPY . . [2020-03-31T07:54:57.291Z] ---> e860c3401f93 [2020-03-31T07:54:57.291Z] Step 9/20 : RUN ${MAKE} [2020-03-31T07:54:57.291Z] ---> Running in e20fffaa1c79 [2020-03-31T07:54:57.552Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-03-31T07:55:09.861Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-31T07:55:10.431Z] Removing intermediate container e20fffaa1c79 [2020-03-31T07:55:10.431Z] ---> 69c97a8da98e [2020-03-31T07:55:10.431Z] Step 10/20 : FROM scratch [2020-03-31T07:55:10.431Z] ---> [2020-03-31T07:55:10.431Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-31T07:55:10.431Z] ---> Running in 3eb8d94ad056 [2020-03-31T07:55:10.431Z] Removing intermediate container 3eb8d94ad056 [2020-03-31T07:55:10.431Z] ---> e9d709885fb8 [2020-03-31T07:55:10.431Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-31T07:55:10.431Z] ---> Running in 6a82891b8bd1 [2020-03-31T07:55:10.692Z] Removing intermediate container 6a82891b8bd1 [2020-03-31T07:55:10.692Z] ---> aa09b32c960c [2020-03-31T07:55:10.692Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-31T07:55:10.692Z] ---> Running in a1d6d8bcff50 [2020-03-31T07:55:10.951Z] Removing intermediate container a1d6d8bcff50 [2020-03-31T07:55:10.951Z] ---> ae9ee8b63615 [2020-03-31T07:55:10.951Z] Step 14/20 : WORKDIR / [2020-03-31T07:55:10.951Z] ---> Running in 3c04c904f6fe [2020-03-31T07:55:10.951Z] Removing intermediate container 3c04c904f6fe [2020-03-31T07:55:10.951Z] ---> 66c9cf742c2b [2020-03-31T07:55:10.951Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-31T07:55:11.519Z] ---> 637d28659ab1 [2020-03-31T07:55:11.519Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-31T07:55:11.519Z] ---> c15340a5edb2 [2020-03-31T07:55:11.519Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-31T07:55:11.778Z] ---> Running in 41acbface151 [2020-03-31T07:55:11.778Z] Removing intermediate container 41acbface151 [2020-03-31T07:55:11.778Z] ---> 5456b32af8d9 [2020-03-31T07:55:11.778Z] Step 18/20 : LABEL arch=amd64 [2020-03-31T07:55:11.778Z] ---> Running in dbdffa8b1267 [2020-03-31T07:55:12.038Z] Removing intermediate container dbdffa8b1267 [2020-03-31T07:55:12.038Z] ---> 15ca856e8f10 [2020-03-31T07:55:12.038Z] Step 19/20 : LABEL git_sha=33fda1e722890a4926abd3329d8fb23bb0fb405b [2020-03-31T07:55:12.038Z] ---> Running in bec8edde960e [2020-03-31T07:55:12.038Z] Removing intermediate container bec8edde960e [2020-03-31T07:55:12.038Z] ---> a622b70b39ad [2020-03-31T07:55:12.038Z] Step 20/20 : LABEL version=0.0.0 [2020-03-31T07:55:12.297Z] ---> Running in a4694d76a9c9 [2020-03-31T07:55:12.297Z] Removing intermediate container a4694d76a9c9 [2020-03-31T07:55:12.297Z] ---> 12ffd3a7c5fb [2020-03-31T07:55:12.297Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-31T07:55:12.297Z] Successfully built 12ffd3a7c5fb [2020-03-31T07:55:12.297Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-31T07:55:27.700Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1540 in /w/workspace/dgexfoundry_device-sdk-go_PR-432 [Pipeline] { [Pipeline] ws [2020-03-31T07:55:27.745Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-03-31T07:55:33.466Z] using credential edgex-jenkins-ssh [2020-03-31T07:55:33.524Z] Cloning the remote Git repository [2020-03-31T07:55:33.524Z] Cloning with configured refspecs honoured and without tags [2020-03-31T07:55:33.591Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-31T07:55:33.688Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-03-31T07:55:33.794Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-31T07:55:33.797Z] > git --version # timeout=10 [2020-03-31T07:55:33.832Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-31T07:55:33.910Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-31T07:55:35.022Z] Fetching without tags [2020-03-31T07:55:34.886Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-31T07:55:34.905Z] > git config --add remote.origin.fetch +refs/pull/432/head:refs/remotes/origin/PR-432 # timeout=10 [2020-03-31T07:55:34.918Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-31T07:55:34.968Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-31T07:55:35.020Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-31T07:55:35.021Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-31T07:55:35.037Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-31T07:55:35.513Z] Merging remotes/origin/master commit 216cade7f2e553cd85bebefedf8dad939aae0897 into PR head commit 33fda1e722890a4926abd3329d8fb23bb0fb405b [2020-03-31T07:55:35.814Z] Merge succeeded, producing 33fda1e722890a4926abd3329d8fb23bb0fb405b [2020-03-31T07:55:35.814Z] Checking out Revision 33fda1e722890a4926abd3329d8fb23bb0fb405b (PR-432) [2020-03-31T07:55:35.528Z] > git config core.sparsecheckout # timeout=10 [2020-03-31T07:55:35.561Z] > git checkout -f 33fda1e722890a4926abd3329d8fb23bb0fb405b # timeout=10 [2020-03-31T07:55:35.683Z] > git remote # timeout=10 [2020-03-31T07:55:35.740Z] > git config --get remote.origin.url # timeout=10 [2020-03-31T07:55:35.751Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-31T07:55:35.761Z] > git merge 216cade7f2e553cd85bebefedf8dad939aae0897 # timeout=10 [2020-03-31T07:55:35.783Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-31T07:55:35.811Z] > git config core.sparsecheckout # timeout=10 [2020-03-31T07:55:35.825Z] > git checkout -f 33fda1e722890a4926abd3329d8fb23bb0fb405b # timeout=10 [2020-03-31T07:55:40.317Z] Commit message: "Refactor to use common go-mod-bootstrap package" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-31T07:55:41.601Z] ========================================================= [2020-03-31T07:55:41.601Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-31T07:55:41.601Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-31T07:55:42.729Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-03-31T07:55:43.693Z] Sending build context to Docker daemon 2.698MB [2020-03-31T07:55:43.693Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-31T07:55:43.693Z] Step 2/8 : FROM ${BASE} [2020-03-31T07:55:43.961Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-31T07:55:43.961Z] cde5963f3b93: Pulling fs layer [2020-03-31T07:55:43.961Z] 2a23fa8c16f7: Pulling fs layer [2020-03-31T07:55:43.961Z] 777b28850792: Pulling fs layer [2020-03-31T07:55:43.961Z] 8a11ddd9e578: Pulling fs layer [2020-03-31T07:55:43.961Z] 4cf88f913ddb: Pulling fs layer [2020-03-31T07:55:43.961Z] 1df406cf5192: Pulling fs layer [2020-03-31T07:55:43.961Z] cd6300453558: Pulling fs layer [2020-03-31T07:55:43.961Z] b9c365052c96: Pulling fs layer [2020-03-31T07:55:43.961Z] a2d8cc88f415: Pulling fs layer [2020-03-31T07:55:43.961Z] ea1d1ca13537: Pulling fs layer [2020-03-31T07:55:43.961Z] 3750a50a1c5e: Pulling fs layer [2020-03-31T07:55:43.961Z] 4cf88f913ddb: Waiting [2020-03-31T07:55:43.961Z] 1df406cf5192: Waiting [2020-03-31T07:55:43.961Z] 8a11ddd9e578: Waiting [2020-03-31T07:55:43.961Z] cd6300453558: Waiting [2020-03-31T07:55:43.961Z] ea1d1ca13537: Waiting [2020-03-31T07:55:43.961Z] b9c365052c96: Waiting [2020-03-31T07:55:43.961Z] a2d8cc88f415: Waiting [2020-03-31T07:55:43.961Z] 3750a50a1c5e: Waiting [2020-03-31T07:55:43.961Z] 777b28850792: Download complete [2020-03-31T07:55:43.961Z] 2a23fa8c16f7: Download complete [2020-03-31T07:55:43.961Z] 4cf88f913ddb: Verifying Checksum [2020-03-31T07:55:43.961Z] 4cf88f913ddb: Download complete [2020-03-31T07:55:43.961Z] 1df406cf5192: Download complete [2020-03-31T07:55:44.237Z] cde5963f3b93: Verifying Checksum [2020-03-31T07:55:44.237Z] cde5963f3b93: Download complete [2020-03-31T07:55:45.201Z] cde5963f3b93: Pull complete [2020-03-31T07:55:45.471Z] 2a23fa8c16f7: Pull complete [2020-03-31T07:55:46.056Z] 777b28850792: Pull complete [2020-03-31T07:55:48.001Z] cd6300453558: Verifying Checksum [2020-03-31T07:55:48.001Z] cd6300453558: Download complete [2020-03-31T07:55:48.271Z] a2d8cc88f415: Verifying Checksum [2020-03-31T07:55:48.271Z] a2d8cc88f415: Download complete [2020-03-31T07:55:50.856Z] ea1d1ca13537: Verifying Checksum [2020-03-31T07:55:50.857Z] ea1d1ca13537: Download complete [2020-03-31T07:55:50.857Z] 3750a50a1c5e: Verifying Checksum [2020-03-31T07:55:50.857Z] 3750a50a1c5e: Download complete [2020-03-31T07:55:53.451Z] b9c365052c96: Verifying Checksum [2020-03-31T07:55:53.451Z] b9c365052c96: Download complete [2020-03-31T07:55:54.854Z] 8a11ddd9e578: Download complete [2020-03-31T07:56:07.201Z] 8a11ddd9e578: Pull complete [2020-03-31T07:56:07.201Z] 4cf88f913ddb: Pull complete [2020-03-31T07:56:07.201Z] 1df406cf5192: Pull complete [2020-03-31T07:56:10.580Z] cd6300453558: Pull complete [2020-03-31T07:56:15.970Z] b9c365052c96: Pull complete [2020-03-31T07:56:15.970Z] a2d8cc88f415: Pull complete [2020-03-31T07:56:17.391Z] ea1d1ca13537: Pull complete [2020-03-31T07:56:17.984Z] 3750a50a1c5e: Pull complete [2020-03-31T07:56:17.984Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-31T07:56:17.984Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-31T07:56:17.984Z] ---> 78745c68409d [2020-03-31T07:56:17.984Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-31T07:56:22.259Z] ---> Running in 9001d1aa3125 [2020-03-31T07:56:22.847Z] Removing intermediate container 9001d1aa3125 [2020-03-31T07:56:22.847Z] ---> b9b6bb13c6e0 [2020-03-31T07:56:22.847Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-31T07:56:22.847Z] ---> Running in da48fe097fd0 [2020-03-31T07:56:24.804Z] Removing intermediate container da48fe097fd0 [2020-03-31T07:56:24.804Z] ---> ad411aa0028c [2020-03-31T07:56:24.804Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-31T07:56:25.072Z] ---> Running in a5b1df548caf [2020-03-31T07:56:26.039Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-31T07:56:26.999Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-31T07:56:27.268Z] OK: 125 MiB in 39 packages [2020-03-31T07:56:28.683Z] Removing intermediate container a5b1df548caf [2020-03-31T07:56:28.683Z] ---> de744df9b18b [2020-03-31T07:56:28.683Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-31T07:56:28.683Z] ---> Running in 142a71e32b1b [2020-03-31T07:56:28.951Z] Removing intermediate container 142a71e32b1b [2020-03-31T07:56:28.951Z] ---> fd8b09e0cc84 [2020-03-31T07:56:28.951Z] Step 7/8 : COPY . . [2020-03-31T07:56:30.376Z] ---> f2f3aacab9aa [2020-03-31T07:56:30.376Z] Step 8/8 : RUN go mod download [2020-03-31T07:56:30.376Z] ---> Running in 3e3e5de81f11 [2020-03-31T07:56:32.966Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-31T07:56:32.966Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-31T07:56:32.966Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-31T07:56:32.966Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-31T07:56:32.966Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-31T07:56:32.966Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-31T07:56:32.966Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-03-31T07:56:32.966Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-31T07:56:32.966Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.25 [2020-03-31T07:56:33.232Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-03-31T07:56:33.232Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-31T07:56:33.232Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-03-31T07:56:33.232Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-03-31T07:56:33.232Z] go: finding github.com/fatih/color v1.7.0 [2020-03-31T07:56:33.232Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-31T07:56:33.232Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-31T07:56:33.232Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-31T07:56:33.232Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-31T07:56:33.497Z] go: finding github.com/google/uuid v1.1.0 [2020-03-31T07:56:33.497Z] go: finding github.com/gorilla/mux v1.7.1 [2020-03-31T07:56:33.497Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-03-31T07:56:33.497Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-03-31T07:56:33.497Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-31T07:56:33.497Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-03-31T07:56:33.497Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-31T07:56:33.497Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-31T07:56:33.497Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-31T07:56:33.762Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-31T07:56:33.762Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-31T07:56:33.762Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-31T07:56:33.762Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-31T07:56:33.762Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-31T07:56:33.762Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-31T07:56:33.762Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-31T07:56:34.028Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-31T07:56:34.028Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-31T07:56:34.028Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-31T07:56:34.028Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-31T07:56:34.028Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-31T07:56:34.028Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-31T07:56:34.028Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-31T07:56:34.296Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-31T07:56:34.296Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-31T07:56:34.296Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-31T07:56:34.296Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-31T07:56:34.296Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-31T07:56:34.296Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-31T07:56:34.296Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-31T07:56:34.563Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-31T07:56:34.563Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-31T07:56:34.563Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-31T07:56:34.563Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-31T07:56:34.563Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-31T07:56:34.563Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-31T07:56:34.563Z] go: finding github.com/posener/complete v1.1.1 [2020-03-31T07:56:34.831Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-31T07:56:34.831Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-31T07:56:34.831Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-31T07:56:34.831Z] go: finding github.com/stretchr/testify v1.5.1 [2020-03-31T07:56:34.831Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-31T07:56:34.831Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-31T07:56:35.099Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-31T07:56:35.099Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-31T07:56:35.099Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-31T07:56:35.099Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-31T07:56:35.099Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-03-31T07:56:45.178Z] Removing intermediate container 3e3e5de81f11 [2020-03-31T07:56:45.178Z] ---> 5ef4d7812744 [2020-03-31T07:56:45.178Z] Successfully built 5ef4d7812744 [2020-03-31T07:56:45.178Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-03-31T07:56:45.875Z] + docker inspect -f . ci-base-image-arm64 [2020-03-31T07:56:45.875Z] . [Pipeline] withDockerContainer [2020-03-31T07:56:46.221Z] prd-ubuntu18.04-docker-arm64-4c-16g-1540 does not seem to be running inside a container [2020-03-31T07:56:46.301Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-03-31T07:56:47.571Z] $ docker top 13071165a2b854a3cc4b2791b4b1f0d01fed2b4ac4be204b0fdfeff8ff8d74ed -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-31T07:56:48.588Z] + go version [2020-03-31T07:56:48.588Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-31T07:56:49.231Z] + make test [2020-03-31T07:56:49.231Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-31T07:56:50.641Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-31T07:57:37.549Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-31T07:57:37.550Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-31T07:57:37.550Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.057s coverage: 23.1% of statements [2020-03-31T07:57:37.550Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.192s coverage: 95.8% of statements [2020-03-31T07:57:37.550Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.127s coverage: 7.9% of statements [2020-03-31T07:57:37.550Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.075s coverage: 22.1% of statements [2020-03-31T07:57:37.550Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-03-31T07:57:37.550Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.158s coverage: 38.5% of statements [2020-03-31T07:57:37.550Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-31T07:57:37.550Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-31T07:57:38.528Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.767s coverage: 79.9% of statements [2020-03-31T07:57:38.528Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-31T07:57:38.528Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-31T07:57:38.528Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-31T07:57:39.945Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.063s coverage: 52.6% of statements [2020-03-31T07:57:40.915Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.363s coverage: 76.1% of statements [2020-03-31T07:57:40.915Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-03-31T07:57:40.915Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-31T07:57:41.182Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-31T07:57:49.412Z] gofmt -l . [2020-03-31T07:57:49.412Z] [ "`gofmt -l .`" = "" ] [2020-03-31T07:57:49.412Z] ./bin/test-attribution-txt.sh [2020-03-31T07:57:49.998Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-31T07:57:50.312Z] Warning: overwriting stash ‘coverage-report’ [2020-03-31T07:57:50.753Z] Stashed 1 file(s) [Pipeline] } [2020-03-31T07:57:50.762Z] $ docker stop --time=1 13071165a2b854a3cc4b2791b4b1f0d01fed2b4ac4be204b0fdfeff8ff8d74ed [2020-03-31T07:57:53.128Z] $ docker rm -f 13071165a2b854a3cc4b2791b4b1f0d01fed2b4ac4be204b0fdfeff8ff8d74ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-31T07:57:54.289Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-31T07:57:54.614Z] + ls -al . [2020-03-31T07:57:54.614Z] total 200 [2020-03-31T07:57:54.614Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 31 07:57 . [2020-03-31T07:57:54.614Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 07:55 .. [2020-03-31T07:57:54.614Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 07:55 .dockerignore [2020-03-31T07:57:54.614Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 07:55 .git [2020-03-31T07:57:54.614Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 07:55 .github [2020-03-31T07:57:54.614Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 31 07:55 .gitignore [2020-03-31T07:57:54.614Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 07:55 .semver [2020-03-31T07:57:54.614Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 31 07:55 Dockerfile.build [2020-03-31T07:57:54.614Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 31 07:55 Jenkinsfile [2020-03-31T07:57:54.614Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 31 07:55 LICENSE [2020-03-31T07:57:54.614Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 31 07:55 Makefile [2020-03-31T07:57:54.614Z] -rw-rw-r-- 1 jenkins jenkins 2249 Mar 31 07:55 README.md [2020-03-31T07:57:54.614Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 07:50 VERSION [2020-03-31T07:57:54.614Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 07:55 api [2020-03-31T07:57:54.614Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 07:55 bin [2020-03-31T07:57:54.614Z] -rw-r--r-- 1 jenkins jenkins 94650 Mar 31 07:57 coverage.out [2020-03-31T07:57:54.614Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 07:55 example [2020-03-31T07:57:54.614Z] -rw-r--r-- 1 jenkins jenkins 438 Mar 31 07:57 go.mod [2020-03-31T07:57:54.614Z] -rw-r--r-- 1 jenkins jenkins 11812 Mar 31 07:57 go.sum [2020-03-31T07:57:54.614Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 31 07:55 internal [2020-03-31T07:57:54.614Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 07:55 pkg [2020-03-31T07:57:54.614Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 07:55 snap [2020-03-31T07:57:54.614Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 31 07:55 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-31T07:57:54.944Z] + 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=33fda1e722890a4926abd3329d8fb23bb0fb405b --label arch=arm64 --label version=0.0.0 . [2020-03-31T07:57:55.209Z] Sending build context to Docker daemon 2.813MB [2020-03-31T07:57:55.526Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-31T07:57:55.526Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-31T07:57:55.526Z] ---> 5ef4d7812744 [2020-03-31T07:57:55.526Z] Step 3/20 : ARG MAKE='make build' [2020-03-31T07:57:55.526Z] ---> Running in 436f687624f2 [2020-03-31T07:57:55.805Z] Removing intermediate container 436f687624f2 [2020-03-31T07:57:55.805Z] ---> 07ea23a637d1 [2020-03-31T07:57:55.805Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-31T07:57:56.079Z] ---> Running in c372a533a783 [2020-03-31T07:57:56.348Z] Removing intermediate container c372a533a783 [2020-03-31T07:57:56.348Z] ---> 32c2ed620a45 [2020-03-31T07:57:56.348Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-31T07:57:56.623Z] ---> Running in 18347d0c4c93 [2020-03-31T07:57:56.891Z] Removing intermediate container 18347d0c4c93 [2020-03-31T07:57:56.891Z] ---> 55d607c0db24 [2020-03-31T07:57:56.891Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-31T07:57:57.174Z] ---> Running in 600d5158e1bc [2020-03-31T07:57:59.116Z] Removing intermediate container 600d5158e1bc [2020-03-31T07:57:59.116Z] ---> 898e8a938b0f [2020-03-31T07:57:59.116Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-31T07:57:59.116Z] ---> Running in 2522d0329036 [2020-03-31T07:57:59.700Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-31T07:58:00.658Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-31T07:58:01.250Z] OK: 125 MiB in 39 packages [2020-03-31T07:58:02.212Z] Removing intermediate container 2522d0329036 [2020-03-31T07:58:02.212Z] ---> 257455a9df69 [2020-03-31T07:58:02.212Z] Step 8/20 : COPY . . [2020-03-31T07:58:03.174Z] ---> 8073fee77974 [2020-03-31T07:58:03.174Z] Step 9/20 : RUN ${MAKE} [2020-03-31T07:58:03.174Z] ---> Running in 0c3e33e2d07e [2020-03-31T07:58:04.135Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-03-31T07:58:43.057Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-31T07:58:43.057Z] Removing intermediate container 0c3e33e2d07e [2020-03-31T07:58:43.057Z] ---> f5f02082e7bb [2020-03-31T07:58:43.057Z] Step 10/20 : FROM scratch [2020-03-31T07:58:43.057Z] ---> [2020-03-31T07:58:43.057Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-31T07:58:43.057Z] ---> Running in 7b4f706d04aa [2020-03-31T07:58:43.057Z] Removing intermediate container 7b4f706d04aa [2020-03-31T07:58:43.057Z] ---> f0180ac463e8 [2020-03-31T07:58:43.057Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-31T07:58:43.057Z] ---> Running in 9f9082456f42 [2020-03-31T07:58:43.057Z] Removing intermediate container 9f9082456f42 [2020-03-31T07:58:43.057Z] ---> 766d41fada76 [2020-03-31T07:58:43.057Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-31T07:58:43.057Z] ---> Running in 2761b5855913 [2020-03-31T07:58:43.057Z] Removing intermediate container 2761b5855913 [2020-03-31T07:58:43.057Z] ---> f5f9a4066a79 [2020-03-31T07:58:43.057Z] Step 14/20 : WORKDIR / [2020-03-31T07:58:43.057Z] ---> Running in 57dd35ac8eca [2020-03-31T07:58:43.057Z] Removing intermediate container 57dd35ac8eca [2020-03-31T07:58:43.057Z] ---> 24e7383f34be [2020-03-31T07:58:43.057Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-31T07:58:44.469Z] ---> 73415afb5057 [2020-03-31T07:58:44.469Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-31T07:58:44.739Z] ---> e10c4561071f [2020-03-31T07:58:44.739Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-31T07:58:45.006Z] ---> Running in 5fa16e79ef38 [2020-03-31T07:58:45.274Z] Removing intermediate container 5fa16e79ef38 [2020-03-31T07:58:45.274Z] ---> e1eaae7ed20a [2020-03-31T07:58:45.274Z] Step 18/20 : LABEL arch=arm64 [2020-03-31T07:58:45.274Z] ---> Running in c9f93fb43cb4 [2020-03-31T07:58:45.543Z] Removing intermediate container c9f93fb43cb4 [2020-03-31T07:58:45.543Z] ---> fcbf230f97f5 [2020-03-31T07:58:45.543Z] Step 19/20 : LABEL git_sha=33fda1e722890a4926abd3329d8fb23bb0fb405b [2020-03-31T07:58:45.811Z] ---> Running in 374b2ee4f94b [2020-03-31T07:58:46.078Z] Removing intermediate container 374b2ee4f94b [2020-03-31T07:58:46.078Z] ---> 6dcbf15b28ab [2020-03-31T07:58:46.078Z] Step 20/20 : LABEL version=0.0.0 [2020-03-31T07:58:46.078Z] ---> Running in ccf892528181 [2020-03-31T07:58:46.658Z] Removing intermediate container ccf892528181 [2020-03-31T07:58:46.658Z] ---> 107b9ed79f86 [2020-03-31T07:58:46.658Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-31T07:58:46.658Z] Successfully built 107b9ed79f86 [2020-03-31T07:58:46.658Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-03-31T07:58:47.721Z] provisioning config files... [2020-03-31T07:58:47.735Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config8886745383404930133tmp [Pipeline] { [Pipeline] sh [2020-03-31T07:58:48.100Z] + curl -s https://codecov.io/bash [2020-03-31T07:58:48.100Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config8886745383404930133tmp [2020-03-31T07:58:48.371Z] [2020-03-31T07:58:48.371Z] _____ _ [2020-03-31T07:58:48.371Z] / ____| | | [2020-03-31T07:58:48.371Z] | | ___ __| | ___ ___ _____ __ [2020-03-31T07:58:48.371Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-31T07:58:48.371Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-31T07:58:48.371Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-31T07:58:48.371Z] Bash-tbd [2020-03-31T07:58:48.371Z] [2020-03-31T07:58:48.371Z] [2020-03-31T07:58:48.371Z] ==> Jenkins CI detected. [2020-03-31T07:58:48.371Z] project root: . [2020-03-31T07:58:48.371Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-31T07:58:48.371Z] ==> Running gcov in . (disable via -X gcov) [2020-03-31T07:58:48.371Z] ==> Python coveragepy not found [2020-03-31T07:58:48.371Z] ==> Searching for coverage reports in: [2020-03-31T07:58:48.371Z] + . [2020-03-31T07:58:48.371Z] -> Found 1 reports [2020-03-31T07:58:48.371Z] ==> Detecting git/mercurial file structure [2020-03-31T07:58:48.371Z] ==> Reading reports [2020-03-31T07:58:48.371Z] + ./coverage.out bytes=94650 [2020-03-31T07:58:48.371Z] ==> Appending adjustments [2020-03-31T07:58:48.371Z] http://docs.codecov.io/docs/fixing-reports [2020-03-31T07:58:48.631Z] + Found adjustments [2020-03-31T07:58:48.631Z] ==> Gzipping contents [2020-03-31T07:58:48.631Z] ==> Uploading reports [2020-03-31T07:58:48.631Z] url: https://codecov.io [2020-03-31T07:58:48.631Z] query: branch=PR-432&commit=33fda1e722890a4926abd3329d8fb23bb0fb405b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-432%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=432&job= [2020-03-31T07:58:48.631Z] -> Pinging Codecov [2020-03-31T07:58:48.631Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-432&commit=33fda1e722890a4926abd3329d8fb23bb0fb405b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-432%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=432&job= [2020-03-31T07:58:49.201Z] -> Uploading [2020-03-31T07:58:49.463Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/33fda1e722890a4926abd3329d8fb23bb0fb405b [Pipeline] } [2020-03-31T07:58:49.472Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-03-31T07:58:50.652Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-31T07:58:50.962Z] ---> package-listing.sh [2020-03-31T07:58:50.962Z] ++ facter osfamily [2020-03-31T07:58:50.962Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-31T07:58:50.962Z] + OS_FAMILY=redhat [2020-03-31T07:58:50.962Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-432 [2020-03-31T07:58:50.962Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-31T07:58:50.962Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-31T07:58:50.962Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-31T07:58:50.962Z] + PACKAGES=/tmp/packages_start.txt [2020-03-31T07:58:50.962Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' [2020-03-31T07:58:50.962Z] + PACKAGES=/tmp/packages_end.txt [2020-03-31T07:58:50.962Z] + case "${OS_FAMILY}" in [2020-03-31T07:58:50.962Z] + rpm -qa [2020-03-31T07:58:50.962Z] + sort [2020-03-31T07:58:55.177Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-31T07:58:55.177Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-31T07:58:55.177Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-31T07:58:55.177Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-432 ']' [2020-03-31T07:58:55.177Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-432/archives/ [2020-03-31T07:58:55.177Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-432/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-31T07:58:55.639Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-31T07:58:55.639Z] [2020-03-31T07:58:55.639Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-31T07:58:55.975Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-31T07:58:55.976Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-31T07:58:55.976Z] c9b1b535fdd9: Pulling fs layer [2020-03-31T07:58:55.976Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-31T07:58:55.976Z] 756a868c4378: Pulling fs layer [2020-03-31T07:58:55.976Z] 444b2fc9a129: Pulling fs layer [2020-03-31T07:58:55.976Z] ea15f1150254: Pulling fs layer [2020-03-31T07:58:55.976Z] 41b27a9f41bf: Pulling fs layer [2020-03-31T07:58:55.976Z] 28c525ee5125: Pulling fs layer [2020-03-31T07:58:55.976Z] 094b1ea09ed8: Pulling fs layer [2020-03-31T07:58:55.976Z] 138eaada9080: Pulling fs layer [2020-03-31T07:58:55.976Z] 0622d0fa9048: Pulling fs layer [2020-03-31T07:58:55.976Z] 41b27a9f41bf: Waiting [2020-03-31T07:58:55.976Z] 28c525ee5125: Waiting [2020-03-31T07:58:55.976Z] 094b1ea09ed8: Waiting [2020-03-31T07:58:55.976Z] 138eaada9080: Waiting [2020-03-31T07:58:55.976Z] 0622d0fa9048: Waiting [2020-03-31T07:58:55.976Z] 444b2fc9a129: Waiting [2020-03-31T07:58:55.976Z] ea15f1150254: Waiting [2020-03-31T07:58:55.976Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-31T07:58:55.976Z] 2cc5ad85d9ab: Download complete [2020-03-31T07:58:55.976Z] 444b2fc9a129: Verifying Checksum [2020-03-31T07:58:55.976Z] 444b2fc9a129: Download complete [2020-03-31T07:58:55.976Z] c9b1b535fdd9: Verifying Checksum [2020-03-31T07:58:55.976Z] c9b1b535fdd9: Download complete [2020-03-31T07:58:55.976Z] ea15f1150254: Verifying Checksum [2020-03-31T07:58:55.976Z] ea15f1150254: Download complete [2020-03-31T07:58:56.238Z] 28c525ee5125: Verifying Checksum [2020-03-31T07:58:56.238Z] 28c525ee5125: Download complete [2020-03-31T07:58:56.500Z] c9b1b535fdd9: Pull complete [2020-03-31T07:58:56.500Z] 756a868c4378: Verifying Checksum [2020-03-31T07:58:56.500Z] 756a868c4378: Download complete [2020-03-31T07:58:56.500Z] 138eaada9080: Verifying Checksum [2020-03-31T07:58:56.500Z] 138eaada9080: Download complete [2020-03-31T07:58:56.500Z] 0622d0fa9048: Verifying Checksum [2020-03-31T07:58:56.500Z] 0622d0fa9048: Download complete [2020-03-31T07:58:56.500Z] 094b1ea09ed8: Verifying Checksum [2020-03-31T07:58:56.500Z] 094b1ea09ed8: Download complete [2020-03-31T07:58:56.764Z] 2cc5ad85d9ab: Pull complete [2020-03-31T07:58:57.343Z] 41b27a9f41bf: Verifying Checksum [2020-03-31T07:58:57.343Z] 41b27a9f41bf: Download complete [2020-03-31T07:58:58.285Z] 756a868c4378: Pull complete [2020-03-31T07:58:58.285Z] 444b2fc9a129: Pull complete [2020-03-31T07:58:58.548Z] ea15f1150254: Pull complete [2020-03-31T07:59:01.855Z] 41b27a9f41bf: Pull complete [2020-03-31T07:59:01.855Z] 28c525ee5125: Pull complete [2020-03-31T07:59:04.401Z] 094b1ea09ed8: Pull complete [2020-03-31T07:59:04.401Z] 138eaada9080: Pull complete [2020-03-31T07:59:04.401Z] 0622d0fa9048: Pull complete [2020-03-31T07:59:04.401Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-31T07:59:04.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-31T07:59:04.822Z] prd-centos7-docker-4c-2g-1538 does not seem to be running inside a container [2020-03-31T07:59:04.874Z] $ 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-432 -v /w/workspace/dgexfoundry_device-sdk-go_PR-432:/w/workspace/dgexfoundry_device-sdk-go_PR-432:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-31T07:59:05.935Z] $ docker top 3308548fed010fa578131ea9e8135850b468bdbef34bbebfb291cbb6e58b21bd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-31T07:59:06.150Z] provisioning config files... [2020-03-31T07:59:06.161Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp/config6059224783628775tmp [Pipeline] { [Pipeline] echo [2020-03-31T07:59:06.217Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-31T07:59:06.506Z] ---> create-netrc.sh [Pipeline] echo [2020-03-31T07:59:06.513Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-31T07:59:06.803Z] ---> logs-deploy.sh [2020-03-31T07:59:06.803Z] + ARCHIVE_ARTIFACTS= [2020-03-31T07:59:06.803Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-31T07:59:06.803Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-31T07:59:06.803Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-31T07:59:06.803Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/4 [2020-03-31T07:59:06.803Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/4/ [2020-03-31T07:59:06.803Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/4 /w/workspace/dgexfoundry_device-sdk-go_PR-432 [2020-03-31T07:59:08.178Z] Archives upload complete. [2020-03-31T07:59:08.178Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-432/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-432/4/ [2020-03-31T07:59:08.745Z] ---> uname -a: [2020-03-31T07:59:08.745Z] Linux 3308548fed01 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux [2020-03-31T07:59:08.745Z] [2020-03-31T07:59:08.745Z] [2020-03-31T07:59:08.745Z] ---> lscpu: [2020-03-31T07:59:08.745Z] Architecture: x86_64 [2020-03-31T07:59:08.745Z] CPU op-mode(s): 32-bit, 64-bit [2020-03-31T07:59:08.745Z] Byte Order: Little Endian [2020-03-31T07:59:08.745Z] Address sizes: 40 bits physical, 48 bits virtual [2020-03-31T07:59:08.745Z] CPU(s): 4 [2020-03-31T07:59:08.745Z] On-line CPU(s) list: 0-3 [2020-03-31T07:59:08.745Z] Thread(s) per core: 1 [2020-03-31T07:59:08.745Z] Core(s) per socket: 1 [2020-03-31T07:59:08.745Z] Socket(s): 4 [2020-03-31T07:59:08.745Z] NUMA node(s): 1 [2020-03-31T07:59:08.745Z] Vendor ID: GenuineIntel [2020-03-31T07:59:08.745Z] CPU family: 6 [2020-03-31T07:59:08.745Z] Model: 44 [2020-03-31T07:59:08.745Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-03-31T07:59:08.745Z] Stepping: 1 [2020-03-31T07:59:08.745Z] CPU MHz: 2933.442 [2020-03-31T07:59:08.745Z] BogoMIPS: 5866.88 [2020-03-31T07:59:08.745Z] Virtualization: VT-x [2020-03-31T07:59:08.745Z] Hypervisor vendor: KVM [2020-03-31T07:59:08.745Z] Virtualization type: full [2020-03-31T07:59:08.745Z] L1d cache: 128 KiB [2020-03-31T07:59:08.745Z] L1i cache: 128 KiB [2020-03-31T07:59:08.745Z] L2 cache: 16 MiB [2020-03-31T07:59:08.745Z] L3 cache: 64 MiB [2020-03-31T07:59:08.745Z] NUMA node0 CPU(s): 0-3 [2020-03-31T07:59:08.745Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes [2020-03-31T07:59:08.745Z] Vulnerability Meltdown: Mitigation; PTI [2020-03-31T07:59:08.745Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-03-31T07:59:08.745Z] Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization [2020-03-31T07:59:08.745Z] Vulnerability Spectre v2: Mitigation; Full retpoline [2020-03-31T07:59:08.745Z] 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-03-31T07:59:08.745Z] [2020-03-31T07:59:08.745Z] [2020-03-31T07:59:08.745Z] ---> nproc: [2020-03-31T07:59:08.745Z] 4 [2020-03-31T07:59:08.745Z] [2020-03-31T07:59:08.745Z] [2020-03-31T07:59:08.745Z] ---> df -h: [2020-03-31T07:59:08.745Z] Filesystem Size Used Available Use% Mounted on [2020-03-31T07:59:08.745Z] overlay 50.0G 6.4G 43.6G 13% / [2020-03-31T07:59:08.745Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-03-31T07:59:08.745Z] tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup [2020-03-31T07:59:08.745Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-03-31T07:59:08.745Z] /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf [2020-03-31T07:59:08.745Z] /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname [2020-03-31T07:59:08.745Z] /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts [2020-03-31T07:59:08.745Z] /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa [2020-03-31T07:59:08.745Z] /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-432 [2020-03-31T07:59:08.745Z] /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-432@tmp [2020-03-31T07:59:08.745Z] [2020-03-31T07:59:08.745Z] [2020-03-31T07:59:08.745Z] ---> free -m: [2020-03-31T07:59:08.745Z] total used free shared buff/cache available [2020-03-31T07:59:08.745Z] Mem: 1838 645 75 0 1117 1088 [2020-03-31T07:59:08.745Z] Swap: 1023 1 1022 [2020-03-31T07:59:08.745Z] [2020-03-31T07:59:08.745Z] [2020-03-31T07:59:08.745Z] ---> ip addr: [2020-03-31T07:59:08.745Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2020-03-31T07:59:08.745Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2020-03-31T07:59:08.745Z] inet 127.0.0.1/8 scope host lo [2020-03-31T07:59:08.745Z] valid_lft forever preferred_lft forever [2020-03-31T07:59:08.745Z] 6: eth0@if7: mtu 1458 qdisc noqueue state UP [2020-03-31T07:59:08.745Z] link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff [2020-03-31T07:59:08.745Z] inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 [2020-03-31T07:59:08.745Z] valid_lft forever preferred_lft forever [2020-03-31T07:59:08.745Z] [2020-03-31T07:59:08.745Z]