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 hahattan for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 1a07617a55e4200b889676e00db141fb8b6dd4d0 rather than 9a745bfe32a5a3404c99a3416363415dbe8e7da9 Obtained Jenkinsfile from 1a07617a55e4200b889676e00db141fb8b6dd4d0 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision b810438aec07f555226556e3b59abf2bab733840 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-10574 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-448 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 1a07617a55e4200b889676e00db141fb8b6dd4d0 into PR head commit 9a745bfe32a5a3404c99a3416363415dbe8e7da9 Merge succeeded, producing 14acdf32d090c0ca1c768ce998e1fa42246a0791 Checking out Revision 14acdf32d090c0ca1c768ce998e1fa42246a0791 (PR-448) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a745bfe32a5a3404c99a3416363415dbe8e7da9 # 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 1a07617a55e4200b889676e00db141fb8b6dd4d0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 14acdf32d090c0ca1c768ce998e1fa42246a0791 # timeout=10 Commit message: "Merge commit '1a07617a55e4200b889676e00db141fb8b6dd4d0' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-10T18:42:25.244Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 8e5822ca124ac0b4ae7795c492b60a29504fbe43 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-10T18:42:27.183Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-10T18:42:27.183Z] [2020-03-10T18:42:27.183Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-10T18:42:27.547Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-10T18:42:27.547Z] latest: Pulling from edgex-devops/git-semver [2020-03-10T18:42:27.547Z] 9123ac7c32f7: Pulling fs layer [2020-03-10T18:42:27.547Z] b8cc5d1170e3: Pulling fs layer [2020-03-10T18:42:27.547Z] 2924cbbf6a41: Pulling fs layer [2020-03-10T18:42:27.547Z] 93b08a4f1073: Pulling fs layer [2020-03-10T18:42:27.547Z] 93b08a4f1073: Waiting [2020-03-10T18:42:27.547Z] b8cc5d1170e3: Verifying Checksum [2020-03-10T18:42:27.547Z] b8cc5d1170e3: Download complete [2020-03-10T18:42:27.812Z] 9123ac7c32f7: Verifying Checksum [2020-03-10T18:42:27.812Z] 9123ac7c32f7: Download complete [2020-03-10T18:42:27.812Z] 2924cbbf6a41: Verifying Checksum [2020-03-10T18:42:27.812Z] 2924cbbf6a41: Download complete [2020-03-10T18:42:27.812Z] 93b08a4f1073: Verifying Checksum [2020-03-10T18:42:27.812Z] 93b08a4f1073: Download complete [2020-03-10T18:42:28.075Z] 9123ac7c32f7: Pull complete [2020-03-10T18:42:28.075Z] b8cc5d1170e3: Pull complete [2020-03-10T18:42:28.644Z] 2924cbbf6a41: Pull complete [2020-03-10T18:42:28.903Z] 93b08a4f1073: Pull complete [2020-03-10T18:42:28.903Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-10T18:42:28.903Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-10T18:42:29.033Z] prd-centos7-docker-4c-2g-10574 does not seem to be running inside a container [2020-03-10T18:42:29.078Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-448 -v /w/workspace/dgexfoundry_device-sdk-go_PR-448:/w/workspace/dgexfoundry_device-sdk-go_PR-448:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-10T18:42:29.681Z] $ docker top c7d86451b4f2d9142c17e37f6dfb1ae61d3c36a8b56a0bb0e7f605efc12dc7e5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-10T18:42:30.375Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-10T18:42:30.375Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-10T18:42:30.580Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-10T18:42:30.586Z] $ docker exec c7d86451b4f2d9142c17e37f6dfb1ae61d3c36a8b56a0bb0e7f605efc12dc7e5 ssh-agent [2020-03-10T18:42:30.757Z] SSH_AUTH_SOCK=/tmp/ssh-xq97ybHBaG8H/agent.14 [2020-03-10T18:42:30.757Z] SSH_AGENT_PID=20 [2020-03-10T18:42:30.767Z] Running ssh-add (command line suppressed) [2020-03-10T18:42:30.906Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_2713089517512692936.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_2713089517512692936.key) [2020-03-10T18:42:30.955Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-10T18:42:31.325Z] + git describe --exact-match --tags HEAD [2020-03-10T18:42:31.325Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-10T18:42:31.384Z] $ docker exec --env ******** --env ******** c7d86451b4f2d9142c17e37f6dfb1ae61d3c36a8b56a0bb0e7f605efc12dc7e5 ssh-agent -k [2020-03-10T18:42:31.542Z] unset SSH_AUTH_SOCK; [2020-03-10T18:42:31.542Z] unset SSH_AGENT_PID; [2020-03-10T18:42:31.542Z] echo Agent pid 20 killed; [2020-03-10T18:42:31.583Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-10T18:42:31.656Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-10T18:42:31.656Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-10T18:42:31.778Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-10T18:42:31.778Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-10T18:42:31.955Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-10T18:42:31.961Z] $ docker exec c7d86451b4f2d9142c17e37f6dfb1ae61d3c36a8b56a0bb0e7f605efc12dc7e5 ssh-agent [2020-03-10T18:42:32.134Z] SSH_AUTH_SOCK=/tmp/ssh-NmT0YPBMfqaK/agent.56 [2020-03-10T18:42:32.134Z] SSH_AGENT_PID=63 [2020-03-10T18:42:32.140Z] Running ssh-add (command line suppressed) [2020-03-10T18:42:32.289Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_3486113730984201964.key (/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/private_key_3486113730984201964.key) [2020-03-10T18:42:32.452Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-10T18:42:32.820Z] + git semver init [2020-03-10T18:42:32.820Z] # -> Open(): unable to determine branch for HEAD [2020-03-10T18:42:32.820Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.git [2020-03-10T18:42:32.820Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-448 [2020-03-10T18:42:32.820Z] # $SEMVER_REMOTE_NAME = origin [2020-03-10T18:42:32.820Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-10T18:42:32.820Z] # $SEMVER_USER_NAME = jenkins [2020-03-10T18:42:32.820Z] # $SEMVER_BRANCH = PR-448 [2020-03-10T18:42:32.820Z] # $SEMVER_TEMP = /tmp/semver-364833604 [2020-03-10T18:42:32.820Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-10T18:42:33.387Z] # '/tmp/semver-364833604' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver' [2020-03-10T18:42:33.387Z] # -> Force: false [2020-03-10T18:42:33.387Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-448/.semver [Pipeline] } [2020-03-10T18:42:33.400Z] $ docker exec --env ******** --env ******** c7d86451b4f2d9142c17e37f6dfb1ae61d3c36a8b56a0bb0e7f605efc12dc7e5 ssh-agent -k [2020-03-10T18:42:33.543Z] unset SSH_AUTH_SOCK; [2020-03-10T18:42:33.544Z] unset SSH_AGENT_PID; [2020-03-10T18:42:33.544Z] echo Agent pid 63 killed; [2020-03-10T18:42:33.574Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-10T18:42:34.070Z] + git semver [Pipeline] } [2020-03-10T18:42:34.087Z] $ docker stop --time=1 c7d86451b4f2d9142c17e37f6dfb1ae61d3c36a8b56a0bb0e7f605efc12dc7e5 [2020-03-10T18:42:35.423Z] $ docker rm -f c7d86451b4f2d9142c17e37f6dfb1ae61d3c36a8b56a0bb0e7f605efc12dc7e5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-10T18:42:36.282Z] Stashed 31 file(s) [Pipeline] echo [2020-03-10T18:42:36.283Z] [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-10T18:42:51.531Z] Still waiting to schedule task [2020-03-10T18:42:51.532Z] ‘prd-centos7-docker-4c-2g-10581’ is offline; ‘prd-centos7-docker-4c-2g-563’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-10459’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2518’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5709’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-03-10T18:42:51.533Z] Still waiting to schedule task [2020-03-10T18:42:51.533Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-03-10T18:43:36.652Z] Running on prd-centos7-docker-4c-2g-10587 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws [2020-03-10T18:43:36.690Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-03-10T18:43:39.072Z] using credential edgex-jenkins-ssh [2020-03-10T18:43:39.134Z] Cloning the remote Git repository [2020-03-10T18:43:39.134Z] Cloning with configured refspecs honoured and without tags [2020-03-10T18:43:39.918Z] Fetching without tags [2020-03-10T18:43:39.161Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-10T18:43:39.212Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2020-03-10T18:43:39.279Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-10T18:43:39.280Z] > git --version # timeout=10 [2020-03-10T18:43:39.286Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-10T18:43:39.321Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-10T18:43:39.886Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-10T18:43:39.892Z] > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 [2020-03-10T18:43:39.899Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-10T18:43:39.913Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-10T18:43:39.923Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-10T18:43:39.923Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-10T18:43:39.929Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-10T18:43:40.358Z] Merging remotes/origin/master commit 1a07617a55e4200b889676e00db141fb8b6dd4d0 into PR head commit 9a745bfe32a5a3404c99a3416363415dbe8e7da9 [2020-03-10T18:43:40.459Z] Merge succeeded, producing 48b972260a83a2bb2702412962c5b8247a8a6e73 [2020-03-10T18:43:40.459Z] Checking out Revision 48b972260a83a2bb2702412962c5b8247a8a6e73 (PR-448) [2020-03-10T18:43:40.367Z] > git config core.sparsecheckout # timeout=10 [2020-03-10T18:43:40.372Z] > git checkout -f 9a745bfe32a5a3404c99a3416363415dbe8e7da9 # timeout=10 [2020-03-10T18:43:40.420Z] > git remote # timeout=10 [2020-03-10T18:43:40.424Z] > git config --get remote.origin.url # timeout=10 [2020-03-10T18:43:40.432Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-10T18:43:40.435Z] > git merge 1a07617a55e4200b889676e00db141fb8b6dd4d0 # timeout=10 [2020-03-10T18:43:40.453Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-10T18:43:40.462Z] > git config core.sparsecheckout # timeout=10 [2020-03-10T18:43:40.467Z] > git checkout -f 48b972260a83a2bb2702412962c5b8247a8a6e73 # timeout=10 [2020-03-10T18:43:44.308Z] Commit message: "Merge commit '1a07617a55e4200b889676e00db141fb8b6dd4d0' into HEAD" [2020-03-10T18:43:44.320Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-03-10T18:43:44.313Z] > git rev-list --no-walk 8e5822ca124ac0b4ae7795c492b60a29504fbe43 # timeout=10 [Pipeline] echo [2020-03-10T18:43:45.273Z] ========================================================= [2020-03-10T18:43:45.273Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-10T18:43:45.273Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-10T18:43:45.918Z] + 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-10T18:43:46.180Z] Sending build context to Docker daemon 2.697MB [2020-03-10T18:43:46.180Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-10T18:43:46.180Z] Step 2/8 : FROM ${BASE} [2020-03-10T18:43:46.443Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-10T18:43:46.443Z] e6b0cf9c0882: Pulling fs layer [2020-03-10T18:43:46.443Z] 2848faf0eed1: Pulling fs layer [2020-03-10T18:43:46.443Z] 0f37312ad70f: Pulling fs layer [2020-03-10T18:43:46.443Z] 5788d62ee057: Pulling fs layer [2020-03-10T18:43:46.443Z] 0e6b1d234666: Pulling fs layer [2020-03-10T18:43:46.443Z] bf5d7aec512f: Pulling fs layer [2020-03-10T18:43:46.443Z] 34c802a77dc8: Pulling fs layer [2020-03-10T18:43:46.443Z] 9eb99e56ec68: Pulling fs layer [2020-03-10T18:43:46.443Z] 27c7a5d97fbd: Pulling fs layer [2020-03-10T18:43:46.443Z] 5c102a31e300: Pulling fs layer [2020-03-10T18:43:46.443Z] dcfb455df0a1: Pulling fs layer [2020-03-10T18:43:46.443Z] 34c802a77dc8: Waiting [2020-03-10T18:43:46.443Z] 9eb99e56ec68: Waiting [2020-03-10T18:43:46.443Z] 27c7a5d97fbd: Waiting [2020-03-10T18:43:46.443Z] 5c102a31e300: Waiting [2020-03-10T18:43:46.443Z] dcfb455df0a1: Waiting [2020-03-10T18:43:46.443Z] 5788d62ee057: Waiting [2020-03-10T18:43:46.443Z] 0e6b1d234666: Waiting [2020-03-10T18:43:46.443Z] bf5d7aec512f: Waiting [2020-03-10T18:43:46.443Z] 0f37312ad70f: Verifying Checksum [2020-03-10T18:43:46.443Z] 0f37312ad70f: Download complete [2020-03-10T18:43:46.443Z] 2848faf0eed1: Download complete [2020-03-10T18:43:46.443Z] 0e6b1d234666: Verifying Checksum [2020-03-10T18:43:46.443Z] 0e6b1d234666: Download complete [2020-03-10T18:43:46.443Z] bf5d7aec512f: Verifying Checksum [2020-03-10T18:43:46.443Z] bf5d7aec512f: Download complete [2020-03-10T18:43:46.443Z] e6b0cf9c0882: Verifying Checksum [2020-03-10T18:43:46.443Z] e6b0cf9c0882: Download complete [2020-03-10T18:43:46.707Z] e6b0cf9c0882: Pull complete [2020-03-10T18:43:46.971Z] 2848faf0eed1: Pull complete [2020-03-10T18:43:47.234Z] 0f37312ad70f: Pull complete [2020-03-10T18:43:47.511Z] 34c802a77dc8: Verifying Checksum [2020-03-10T18:43:47.511Z] 34c802a77dc8: Download complete [2020-03-10T18:43:47.511Z] 27c7a5d97fbd: Verifying Checksum [2020-03-10T18:43:47.511Z] 27c7a5d97fbd: Download complete [2020-03-10T18:43:48.498Z] 9eb99e56ec68: Verifying Checksum [2020-03-10T18:43:48.498Z] 9eb99e56ec68: Download complete [2020-03-10T18:43:48.498Z] 5c102a31e300: Verifying Checksum [2020-03-10T18:43:48.498Z] 5c102a31e300: Download complete [2020-03-10T18:43:48.498Z] dcfb455df0a1: Verifying Checksum [2020-03-10T18:43:48.498Z] dcfb455df0a1: Download complete [2020-03-10T18:43:48.498Z] 5788d62ee057: Verifying Checksum [2020-03-10T18:43:48.498Z] 5788d62ee057: Download complete [2020-03-10T18:43:55.106Z] 5788d62ee057: Pull complete [2020-03-10T18:43:55.106Z] 0e6b1d234666: Pull complete [2020-03-10T18:43:55.106Z] bf5d7aec512f: Pull complete [2020-03-10T18:43:59.325Z] 34c802a77dc8: Pull complete [2020-03-10T18:44:03.537Z] 9eb99e56ec68: Pull complete [2020-03-10T18:44:03.537Z] 27c7a5d97fbd: Pull complete [2020-03-10T18:44:03.809Z] 5c102a31e300: Pull complete [2020-03-10T18:44:04.071Z] dcfb455df0a1: Pull complete [2020-03-10T18:44:04.071Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-10T18:44:04.071Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-10T18:44:04.071Z] ---> 7c70fe431013 [2020-03-10T18:44:04.071Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-10T18:44:04.071Z] ---> Running in 4beecc4c5acc [2020-03-10T18:44:04.332Z] Removing intermediate container 4beecc4c5acc [2020-03-10T18:44:04.332Z] ---> 7e5f92318659 [2020-03-10T18:44:04.332Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-10T18:44:04.332Z] ---> Running in 9e276a86444d [2020-03-10T18:44:05.734Z] Removing intermediate container 9e276a86444d [2020-03-10T18:44:05.734Z] ---> 0031db51369b [2020-03-10T18:44:05.734Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-10T18:44:05.734Z] ---> Running in a5fad6f24469 [2020-03-10T18:44:06.303Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-10T18:44:06.871Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-10T18:44:07.443Z] OK: 143 MiB in 39 packages [2020-03-10T18:44:07.703Z] Removing intermediate container a5fad6f24469 [2020-03-10T18:44:07.703Z] ---> 2546d19b232f [2020-03-10T18:44:07.703Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-10T18:44:07.703Z] ---> Running in 3f043432712a [2020-03-10T18:44:07.963Z] Removing intermediate container 3f043432712a [2020-03-10T18:44:07.963Z] ---> 0f95a585c153 [2020-03-10T18:44:07.963Z] Step 7/8 : COPY . . [2020-03-10T18:44:08.531Z] ---> 8b5e365032f4 [2020-03-10T18:44:08.531Z] Step 8/8 : RUN go mod download [2020-03-10T18:44:08.531Z] ---> Running in ec38ca72373b [2020-03-10T18:44:09.910Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-10T18:44:09.910Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-10T18:44:09.910Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-10T18:44:09.910Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-10T18:44:09.910Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-10T18:44:09.910Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-10T18:44:09.910Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-10T18:44:09.910Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-10T18:44:09.910Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-10T18:44:09.910Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-10T18:44:09.910Z] go: finding github.com/fatih/color v1.7.0 [2020-03-10T18:44:09.910Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-10T18:44:09.910Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-10T18:44:09.910Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-10T18:44:09.910Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-10T18:44:09.910Z] go: finding github.com/google/uuid v1.1.0 [2020-03-10T18:44:09.910Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-10T18:44:09.910Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-10T18:44:09.910Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-10T18:44:09.910Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-10T18:44:10.172Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-10T18:44:10.172Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-10T18:44:10.172Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-10T18:44:10.172Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-10T18:44:10.172Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-10T18:44:10.172Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-10T18:44:10.172Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-10T18:44:10.172Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-10T18:44:10.172Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-10T18:44:10.172Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-10T18:44:10.172Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-10T18:44:10.172Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-10T18:44:10.172Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-10T18:44:10.172Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-10T18:44:10.172Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-10T18:44:10.172Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-10T18:44:10.172Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-10T18:44:10.172Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-10T18:44:10.172Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-10T18:44:10.172Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-10T18:44:10.172Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-10T18:44:10.172Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-10T18:44:10.172Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-10T18:44:10.172Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-10T18:44:10.172Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-10T18:44:10.172Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-10T18:44:10.173Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-10T18:44:10.173Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-10T18:44:10.173Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-10T18:44:10.432Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-10T18:44:10.432Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-10T18:44:10.432Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-10T18:44:10.432Z] go: finding github.com/posener/complete v1.1.1 [2020-03-10T18:44:10.432Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-10T18:44:10.432Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-10T18:44:10.432Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-10T18:44:10.432Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-10T18:44:10.432Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-10T18:44:10.432Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-10T18:44:10.432Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-10T18:44:10.432Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-10T18:44:10.432Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-10T18:44:10.432Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-10T18:44:10.432Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-10T18:44:18.576Z] Removing intermediate container ec38ca72373b [2020-03-10T18:44:18.576Z] ---> b6eb7fe4878f [2020-03-10T18:44:18.576Z] Successfully built b6eb7fe4878f [2020-03-10T18:44:18.576Z] 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-10T18:44:19.190Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-10T18:44:19.190Z] . [Pipeline] withDockerContainer [2020-03-10T18:44:19.308Z] prd-centos7-docker-4c-2g-10587 does not seem to be running inside a container [2020-03-10T18:44:19.354Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-03-10T18:44:19.932Z] $ docker top c970dcc1f150b879e5f6ee4d659e4ee8244ede41209531c2b0a5b5f76a1f6534 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-10T18:44:20.957Z] + go version [2020-03-10T18:44:20.957Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-10T18:44:21.258Z] + make test [2020-03-10T18:44:21.259Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-10T18:44:36.248Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-10T18:44:36.248Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-10T18:44:36.248Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-10T18:44:36.248Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-03-10T18:44:37.646Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.014s coverage: 23.1% of statements [2020-03-10T18:44:37.928Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.056s coverage: 95.8% of statements [2020-03-10T18:44:41.293Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.041s coverage: 12.7% of statements [2020-03-10T18:44:41.293Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 25.6% of statements [2020-03-10T18:45:13.425Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.015s coverage: 30.0% of statements [2020-03-10T18:45:13.425Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.453s coverage: 40.6% of statements [2020-03-10T18:45:13.425Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-10T18:45:13.425Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-10T18:45:13.425Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.369s coverage: 69.1% of statements [2020-03-10T18:45:13.425Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-10T18:45:13.425Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-10T18:45:13.425Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-10T18:45:13.425Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.017s coverage: 52.6% of statements [2020-03-10T18:45:13.425Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.119s coverage: 76.1% of statements [2020-03-10T18:45:13.425Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-10T18:45:13.425Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-10T18:45:13.425Z] gofmt -l . [2020-03-10T18:45:13.425Z] [ "`gofmt -l .`" = "" ] [2020-03-10T18:45:13.425Z] ./bin/test-attribution-txt.sh [2020-03-10T18:45:13.701Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-10T18:45:14.396Z] Stashed 1 file(s) [Pipeline] } [2020-03-10T18:45:14.403Z] $ docker stop --time=1 c970dcc1f150b879e5f6ee4d659e4ee8244ede41209531c2b0a5b5f76a1f6534 [2020-03-10T18:45:15.872Z] $ docker rm -f c970dcc1f150b879e5f6ee4d659e4ee8244ede41209531c2b0a5b5f76a1f6534 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-10T18:45:17.169Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-10T18:45:17.460Z] + ls -al . [2020-03-10T18:45:17.460Z] total 204 [2020-03-10T18:45:17.460Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 10 18:45 . [2020-03-10T18:45:17.460Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 10 18:43 .. [2020-03-10T18:45:17.460Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 10 18:43 api [2020-03-10T18:45:17.460Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 10 18:43 async.go [2020-03-10T18:45:17.460Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 10 18:43 bin [2020-03-10T18:45:17.460Z] -rw-r--r--. 1 jenkins jenkins 103117 Mar 10 18:45 coverage.out [2020-03-10T18:45:17.460Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 10 18:43 Dockerfile.build [2020-03-10T18:45:17.460Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 10 18:43 .dockerignore [2020-03-10T18:45:17.460Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 10 18:43 example [2020-03-10T18:45:17.460Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 10 18:43 .git [2020-03-10T18:45:17.460Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 10 18:43 .github [2020-03-10T18:45:17.460Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 10 18:43 .gitignore [2020-03-10T18:45:17.460Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 10 18:45 go.mod [2020-03-10T18:45:17.460Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 10 18:45 go.sum [2020-03-10T18:45:17.460Z] drwxrwxr-x. 14 jenkins jenkins 197 Mar 10 18:43 internal [2020-03-10T18:45:17.460Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 10 18:43 Jenkinsfile [2020-03-10T18:45:17.460Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 10 18:43 LICENSE [2020-03-10T18:45:17.460Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 10 18:43 Makefile [2020-03-10T18:45:17.460Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 10 18:43 manageddevices.go [2020-03-10T18:45:17.460Z] -rw-rw-r--. 1 jenkins jenkins 5473 Mar 10 18:43 managedprofiles.go [2020-03-10T18:45:17.460Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 10 18:43 managedwatchers.go [2020-03-10T18:45:17.460Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 10 18:43 pkg [2020-03-10T18:45:17.460Z] -rw-rw-r--. 1 jenkins jenkins 761 Mar 10 18:43 README.md [2020-03-10T18:45:17.460Z] drwxrwxr-x. 3 jenkins jenkins 58 Mar 10 18:43 .semver [2020-03-10T18:45:17.460Z] -rw-rw-r--. 1 jenkins jenkins 10377 Mar 10 18:43 service.go [2020-03-10T18:45:17.460Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 10 18:43 snap [2020-03-10T18:45:17.460Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 10 18:42 VERSION [2020-03-10T18:45:17.460Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 10 18:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-10T18:45:17.754Z] + 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=14acdf32d090c0ca1c768ce998e1fa42246a0791 --label arch=amd64 --label version=0.0.0 . [2020-03-10T18:45:18.015Z] Sending build context to Docker daemon 2.826MB [2020-03-10T18:45:18.015Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-10T18:45:18.015Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-10T18:45:18.015Z] ---> b6eb7fe4878f [2020-03-10T18:45:18.015Z] Step 3/20 : ARG MAKE='make build' [2020-03-10T18:45:18.015Z] ---> Running in dd26051037ba [2020-03-10T18:45:18.275Z] Removing intermediate container dd26051037ba [2020-03-10T18:45:18.275Z] ---> 0121a19f0c54 [2020-03-10T18:45:18.275Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-10T18:45:18.275Z] ---> Running in 47d54b415be4 [2020-03-10T18:45:18.275Z] Removing intermediate container 47d54b415be4 [2020-03-10T18:45:18.275Z] ---> 7a601142fcfa [2020-03-10T18:45:18.275Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-10T18:45:18.535Z] ---> Running in 14e08189f4a5 [2020-03-10T18:45:18.535Z] Removing intermediate container 14e08189f4a5 [2020-03-10T18:45:18.535Z] ---> 25c6fc404542 [2020-03-10T18:45:18.535Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-10T18:45:18.535Z] ---> Running in f6095b73b5e1 [2020-03-10T18:45:19.477Z] Removing intermediate container f6095b73b5e1 [2020-03-10T18:45:19.477Z] ---> 4ed19ece9d7a [2020-03-10T18:45:19.477Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-10T18:45:19.477Z] ---> Running in 7fc726119398 [2020-03-10T18:45:19.735Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-10T18:45:20.675Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-10T18:45:20.937Z] OK: 143 MiB in 39 packages [2020-03-10T18:45:21.507Z] Removing intermediate container 7fc726119398 [2020-03-10T18:45:21.507Z] ---> 858bd34ef326 [2020-03-10T18:45:21.507Z] Step 8/20 : COPY . . [2020-03-10T18:45:21.767Z] ---> e3ba1199a930 [2020-03-10T18:45:21.767Z] Step 9/20 : RUN ${MAKE} [2020-03-10T18:45:21.767Z] ---> Running in a89f600ddebd [2020-03-10T18:45:22.033Z] 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-10T18:45:34.314Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-10T18:45:39.625Z] Removing intermediate container a89f600ddebd [2020-03-10T18:45:39.625Z] ---> 40210d1b3c3c [2020-03-10T18:45:39.625Z] Step 10/20 : FROM scratch [2020-03-10T18:45:39.625Z] ---> [2020-03-10T18:45:39.625Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-10T18:45:39.625Z] ---> Running in ea7784d7c503 [2020-03-10T18:45:39.625Z] Removing intermediate container ea7784d7c503 [2020-03-10T18:45:39.625Z] ---> f179a079eb97 [2020-03-10T18:45:39.625Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-10T18:45:39.625Z] ---> Running in 8e8521a5ecb7 [2020-03-10T18:45:39.884Z] Removing intermediate container 8e8521a5ecb7 [2020-03-10T18:45:39.884Z] ---> 06471200d793 [2020-03-10T18:45:39.884Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-10T18:45:39.884Z] ---> Running in 19b164b51ce2 [2020-03-10T18:45:40.144Z] Removing intermediate container 19b164b51ce2 [2020-03-10T18:45:40.144Z] ---> c46123d65601 [2020-03-10T18:45:40.144Z] Step 14/20 : WORKDIR / [2020-03-10T18:45:40.144Z] ---> Running in 09f6f09ce61e [2020-03-10T18:45:40.144Z] Removing intermediate container 09f6f09ce61e [2020-03-10T18:45:40.144Z] ---> cc3d1229e249 [2020-03-10T18:45:40.144Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-10T18:45:40.713Z] ---> 068849c72cf9 [2020-03-10T18:45:40.713Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-10T18:45:40.974Z] ---> c6a2c67b6465 [2020-03-10T18:45:40.974Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-10T18:45:40.974Z] ---> Running in a255b962c18f [2020-03-10T18:45:40.974Z] Removing intermediate container a255b962c18f [2020-03-10T18:45:40.974Z] ---> 685d8253ff11 [2020-03-10T18:45:40.974Z] Step 18/20 : LABEL arch=amd64 [2020-03-10T18:45:40.974Z] ---> Running in 484065c33c28 [2020-03-10T18:45:41.232Z] Removing intermediate container 484065c33c28 [2020-03-10T18:45:41.232Z] ---> 2c98a3694dd7 [2020-03-10T18:45:41.232Z] Step 19/20 : LABEL git_sha=14acdf32d090c0ca1c768ce998e1fa42246a0791 [2020-03-10T18:45:41.232Z] ---> Running in 15c4bb02b5c4 [2020-03-10T18:45:41.492Z] Removing intermediate container 15c4bb02b5c4 [2020-03-10T18:45:41.492Z] ---> 3fe5abc30a46 [2020-03-10T18:45:41.492Z] Step 20/20 : LABEL version=0.0.0 [2020-03-10T18:45:41.492Z] ---> Running in 953fa4b58870 [2020-03-10T18:45:41.492Z] Removing intermediate container 953fa4b58870 [2020-03-10T18:45:41.492Z] ---> a792b17ea6f6 [2020-03-10T18:45:41.492Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-10T18:45:41.492Z] Successfully built a792b17ea6f6 [2020-03-10T18:45:41.492Z] 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-10T19:02:23.426Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-10964 in /w/workspace/dgexfoundry_device-sdk-go_PR-448 [Pipeline] { [Pipeline] ws [2020-03-10T19:02:23.466Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-03-10T19:02:29.803Z] using credential edgex-jenkins-ssh [2020-03-10T19:02:29.869Z] Cloning the remote Git repository [2020-03-10T19:02:29.869Z] Cloning with configured refspecs honoured and without tags [2020-03-10T19:02:29.931Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-10T19:02:30.033Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2020-03-10T19:02:30.110Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-10T19:02:30.112Z] > git --version # timeout=10 [2020-03-10T19:02:30.141Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-10T19:02:30.203Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-10T19:02:31.265Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-10T19:02:31.299Z] > git config --add remote.origin.fetch +refs/pull/448/head:refs/remotes/origin/PR-448 # timeout=10 [2020-03-10T19:02:31.319Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-10T19:02:31.451Z] Fetching without tags [2020-03-10T19:02:31.938Z] Merging remotes/origin/master commit 1a07617a55e4200b889676e00db141fb8b6dd4d0 into PR head commit 9a745bfe32a5a3404c99a3416363415dbe8e7da9 [2020-03-10T19:02:32.316Z] Merge succeeded, producing 58ad453554a62930208ef293f2f41ee54d8edb62 [2020-03-10T19:02:32.317Z] Checking out Revision 58ad453554a62930208ef293f2f41ee54d8edb62 (PR-448) [2020-03-10T19:02:31.375Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-10T19:02:31.464Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-10T19:02:31.465Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-10T19:02:31.483Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-10T19:02:31.986Z] > git config core.sparsecheckout # timeout=10 [2020-03-10T19:02:32.007Z] > git checkout -f 9a745bfe32a5a3404c99a3416363415dbe8e7da9 # timeout=10 [2020-03-10T19:02:32.144Z] > git remote # timeout=10 [2020-03-10T19:02:32.184Z] > git config --get remote.origin.url # timeout=10 [2020-03-10T19:02:32.217Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-10T19:02:32.236Z] > git merge 1a07617a55e4200b889676e00db141fb8b6dd4d0 # timeout=10 [2020-03-10T19:02:32.293Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-10T19:02:32.332Z] > git config core.sparsecheckout # timeout=10 [2020-03-10T19:02:32.363Z] > git checkout -f 58ad453554a62930208ef293f2f41ee54d8edb62 # timeout=10 [2020-03-10T19:02:37.003Z] Commit message: "Merge commit '1a07617a55e4200b889676e00db141fb8b6dd4d0' into HEAD" [2020-03-10T19:02:37.032Z] First time build. Skipping changelog. [2020-03-10T19:02:37.014Z] > git rev-list --no-walk 8e5822ca124ac0b4ae7795c492b60a29504fbe43 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-10T19:02:38.484Z] ========================================================= [2020-03-10T19:02:38.484Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-10T19:02:38.484Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-10T19:02:39.696Z] + 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-10T19:02:40.676Z] Sending build context to Docker daemon 2.697MB [2020-03-10T19:02:40.676Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-10T19:02:40.676Z] Step 2/8 : FROM ${BASE} [2020-03-10T19:02:41.265Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-10T19:02:41.265Z] cde5963f3b93: Pulling fs layer [2020-03-10T19:02:41.265Z] 2a23fa8c16f7: Pulling fs layer [2020-03-10T19:02:41.265Z] 777b28850792: Pulling fs layer [2020-03-10T19:02:41.265Z] 8a11ddd9e578: Pulling fs layer [2020-03-10T19:02:41.265Z] 4cf88f913ddb: Pulling fs layer [2020-03-10T19:02:41.265Z] 1df406cf5192: Pulling fs layer [2020-03-10T19:02:41.265Z] cd6300453558: Pulling fs layer [2020-03-10T19:02:41.265Z] b9c365052c96: Pulling fs layer [2020-03-10T19:02:41.265Z] a2d8cc88f415: Pulling fs layer [2020-03-10T19:02:41.265Z] ea1d1ca13537: Pulling fs layer [2020-03-10T19:02:41.265Z] 3750a50a1c5e: Pulling fs layer [2020-03-10T19:02:41.265Z] cd6300453558: Waiting [2020-03-10T19:02:41.265Z] b9c365052c96: Waiting [2020-03-10T19:02:41.265Z] 8a11ddd9e578: Waiting [2020-03-10T19:02:41.265Z] a2d8cc88f415: Waiting [2020-03-10T19:02:41.265Z] ea1d1ca13537: Waiting [2020-03-10T19:02:41.265Z] 4cf88f913ddb: Waiting [2020-03-10T19:02:41.265Z] 3750a50a1c5e: Waiting [2020-03-10T19:02:41.265Z] 1df406cf5192: Waiting [2020-03-10T19:02:41.265Z] 777b28850792: Verifying Checksum [2020-03-10T19:02:41.265Z] 777b28850792: Download complete [2020-03-10T19:02:41.265Z] 2a23fa8c16f7: Verifying Checksum [2020-03-10T19:02:41.265Z] 2a23fa8c16f7: Download complete [2020-03-10T19:02:41.265Z] 4cf88f913ddb: Download complete [2020-03-10T19:02:41.265Z] 1df406cf5192: Download complete [2020-03-10T19:02:41.265Z] cde5963f3b93: Download complete [2020-03-10T19:02:42.242Z] cde5963f3b93: Pull complete [2020-03-10T19:02:42.839Z] 2a23fa8c16f7: Pull complete [2020-03-10T19:02:43.109Z] 777b28850792: Pull complete [2020-03-10T19:02:45.697Z] cd6300453558: Verifying Checksum [2020-03-10T19:02:45.697Z] cd6300453558: Download complete [2020-03-10T19:02:45.697Z] a2d8cc88f415: Verifying Checksum [2020-03-10T19:02:45.697Z] a2d8cc88f415: Download complete [2020-03-10T19:02:48.308Z] ea1d1ca13537: Verifying Checksum [2020-03-10T19:02:48.308Z] ea1d1ca13537: Download complete [2020-03-10T19:02:48.308Z] 3750a50a1c5e: Download complete [2020-03-10T19:02:50.899Z] b9c365052c96: Verifying Checksum [2020-03-10T19:02:50.899Z] b9c365052c96: Download complete [2020-03-10T19:02:52.319Z] 8a11ddd9e578: Verifying Checksum [2020-03-10T19:02:52.319Z] 8a11ddd9e578: Download complete [2020-03-10T19:03:04.666Z] 8a11ddd9e578: Pull complete [2020-03-10T19:03:04.666Z] 4cf88f913ddb: Pull complete [2020-03-10T19:03:04.666Z] 1df406cf5192: Pull complete [2020-03-10T19:03:08.976Z] cd6300453558: Pull complete [2020-03-10T19:03:14.403Z] b9c365052c96: Pull complete [2020-03-10T19:03:14.403Z] a2d8cc88f415: Pull complete [2020-03-10T19:03:15.840Z] ea1d1ca13537: Pull complete [2020-03-10T19:03:16.445Z] 3750a50a1c5e: Pull complete [2020-03-10T19:03:16.445Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-10T19:03:16.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-10T19:03:16.445Z] ---> 78745c68409d [2020-03-10T19:03:16.445Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-10T19:03:21.829Z] ---> Running in ba2db5ce4544 [2020-03-10T19:03:21.829Z] Removing intermediate container ba2db5ce4544 [2020-03-10T19:03:21.829Z] ---> f1914e726151 [2020-03-10T19:03:21.829Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-10T19:03:21.829Z] ---> Running in b24e3a7ef682 [2020-03-10T19:03:23.247Z] Removing intermediate container b24e3a7ef682 [2020-03-10T19:03:23.247Z] ---> 3ab3d0e10996 [2020-03-10T19:03:23.247Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-10T19:03:23.514Z] ---> Running in 3d02390137fc [2020-03-10T19:03:24.477Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-10T19:03:25.061Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-10T19:03:25.645Z] OK: 125 MiB in 39 packages [2020-03-10T19:03:27.061Z] Removing intermediate container 3d02390137fc [2020-03-10T19:03:27.061Z] ---> cb9a49172f4a [2020-03-10T19:03:27.061Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-10T19:03:27.329Z] ---> Running in 149a45710529 [2020-03-10T19:03:27.598Z] Removing intermediate container 149a45710529 [2020-03-10T19:03:27.598Z] ---> 165443b24752 [2020-03-10T19:03:27.598Z] Step 7/8 : COPY . . [2020-03-10T19:03:28.562Z] ---> eb5618e448d4 [2020-03-10T19:03:28.562Z] Step 8/8 : RUN go mod download [2020-03-10T19:03:28.829Z] ---> Running in 35c28c6ac8bd [2020-03-10T19:03:30.775Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-10T19:03:30.775Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-10T19:03:30.775Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-10T19:03:30.775Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-10T19:03:30.775Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-10T19:03:30.775Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-10T19:03:30.775Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-10T19:03:30.775Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-10T19:03:30.775Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-10T19:03:30.775Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-10T19:03:30.775Z] go: finding github.com/fatih/color v1.7.0 [2020-03-10T19:03:30.775Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-10T19:03:30.775Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-10T19:03:30.775Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-10T19:03:30.775Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-10T19:03:30.775Z] go: finding github.com/google/uuid v1.1.0 [2020-03-10T19:03:30.775Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-10T19:03:30.775Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-10T19:03:30.775Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-10T19:03:30.775Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-10T19:03:30.775Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-10T19:03:30.775Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-10T19:03:30.775Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-10T19:03:30.775Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-10T19:03:30.775Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-10T19:03:30.775Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-10T19:03:30.775Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-10T19:03:30.775Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-10T19:03:30.775Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-10T19:03:30.775Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-10T19:03:30.775Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-10T19:03:30.775Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-10T19:03:30.775Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-10T19:03:31.043Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-10T19:03:31.043Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-10T19:03:31.043Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-10T19:03:31.043Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-10T19:03:31.043Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-10T19:03:31.043Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-10T19:03:31.043Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-10T19:03:31.043Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-10T19:03:31.043Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-10T19:03:31.043Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-10T19:03:31.043Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-10T19:03:31.043Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-10T19:03:31.043Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-10T19:03:31.043Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-10T19:03:31.043Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-10T19:03:31.043Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-10T19:03:31.043Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-10T19:03:31.043Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-10T19:03:31.043Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-10T19:03:31.043Z] go: finding github.com/posener/complete v1.1.1 [2020-03-10T19:03:31.043Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-10T19:03:31.043Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-10T19:03:31.043Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-10T19:03:31.043Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-10T19:03:31.043Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-10T19:03:31.043Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-10T19:03:31.043Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-10T19:03:31.043Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-10T19:03:31.315Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-10T19:03:31.315Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-10T19:03:31.315Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-10T19:03:49.553Z] Removing intermediate container 35c28c6ac8bd [2020-03-10T19:03:49.553Z] ---> c46e4fdccd1f [2020-03-10T19:03:49.553Z] Successfully built c46e4fdccd1f [2020-03-10T19:03:49.553Z] 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-10T19:03:50.227Z] + docker inspect -f . ci-base-image-arm64 [2020-03-10T19:03:50.498Z] . [Pipeline] withDockerContainer [2020-03-10T19:03:50.841Z] prd-ubuntu18.04-docker-arm64-4c-16g-10964 does not seem to be running inside a container [2020-03-10T19:03:50.933Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-10T19:03:52.387Z] $ docker top 61cfaff01490168c9d1a1986041534b774cdf9ac43255360d833391c9c0d8cbb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-10T19:03:54.810Z] + go version [2020-03-10T19:03:54.810Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-10T19:03:55.469Z] + make test [2020-03-10T19:03:55.469Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-10T19:04:42.406Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-10T19:04:42.406Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-10T19:04:42.406Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-10T19:04:42.406Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-03-10T19:04:42.406Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.035s coverage: 23.1% of statements [2020-03-10T19:04:42.406Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.197s coverage: 95.8% of statements [2020-03-10T19:04:42.406Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.093s coverage: 12.7% of statements [2020-03-10T19:04:42.406Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.024s coverage: 25.6% of statements [2020-03-10T19:05:14.683Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.068s coverage: 30.0% of statements [2020-03-10T19:05:14.683Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.935s coverage: 40.6% of statements [2020-03-10T19:05:14.683Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-10T19:05:14.683Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-10T19:05:14.683Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 2.128s coverage: 69.1% of statements [2020-03-10T19:05:14.683Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-10T19:05:14.683Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-10T19:05:14.683Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-10T19:05:14.683Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.082s coverage: 52.6% of statements [2020-03-10T19:05:14.683Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.379s coverage: 76.1% of statements [2020-03-10T19:05:14.683Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-10T19:05:14.683Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-10T19:05:22.963Z] gofmt -l . [2020-03-10T19:05:22.963Z] [ "`gofmt -l .`" = "" ] [2020-03-10T19:05:22.963Z] ./bin/test-attribution-txt.sh [2020-03-10T19:05:23.233Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-10T19:05:23.597Z] Warning: overwriting stash ‘coverage-report’ [2020-03-10T19:05:24.074Z] Stashed 1 file(s) [Pipeline] } [2020-03-10T19:05:24.087Z] $ docker stop --time=1 61cfaff01490168c9d1a1986041534b774cdf9ac43255360d833391c9c0d8cbb [2020-03-10T19:05:26.169Z] $ docker rm -f 61cfaff01490168c9d1a1986041534b774cdf9ac43255360d833391c9c0d8cbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-10T19:05:27.491Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-10T19:05:27.821Z] + ls -al . [2020-03-10T19:05:27.821Z] total 244 [2020-03-10T19:05:27.821Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 10 19:05 . [2020-03-10T19:05:27.821Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 19:02 .. [2020-03-10T19:05:27.821Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 10 19:02 .dockerignore [2020-03-10T19:05:27.821Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 19:02 .git [2020-03-10T19:05:27.821Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 19:02 .github [2020-03-10T19:05:27.821Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 10 19:02 .gitignore [2020-03-10T19:05:27.821Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 19:02 .semver [2020-03-10T19:05:27.821Z] -rw-rw-r-- 1 jenkins jenkins 936 Mar 10 19:02 Dockerfile.build [2020-03-10T19:05:27.821Z] -rw-rw-r-- 1 jenkins jenkins 808 Mar 10 19:02 Jenkinsfile [2020-03-10T19:05:27.821Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 10 19:02 LICENSE [2020-03-10T19:05:27.821Z] -rw-rw-r-- 1 jenkins jenkins 892 Mar 10 19:02 Makefile [2020-03-10T19:05:27.821Z] -rw-rw-r-- 1 jenkins jenkins 761 Mar 10 19:02 README.md [2020-03-10T19:05:27.821Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 10 18:42 VERSION [2020-03-10T19:05:27.821Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 19:02 api [2020-03-10T19:05:27.821Z] -rw-rw-r-- 1 jenkins jenkins 3321 Mar 10 19:02 async.go [2020-03-10T19:05:27.821Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 19:02 bin [2020-03-10T19:05:27.821Z] -rw-r--r-- 1 jenkins jenkins 103117 Mar 10 19:05 coverage.out [2020-03-10T19:05:27.821Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 19:02 example [2020-03-10T19:05:27.821Z] -rw-r--r-- 1 jenkins jenkins 536 Mar 10 19:05 go.mod [2020-03-10T19:05:27.821Z] -rw-r--r-- 1 jenkins jenkins 11140 Mar 10 19:05 go.sum [2020-03-10T19:05:27.821Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 10 19:02 internal [2020-03-10T19:05:27.821Z] -rw-rw-r-- 1 jenkins jenkins 4352 Mar 10 19:02 manageddevices.go [2020-03-10T19:05:27.821Z] -rw-rw-r-- 1 jenkins jenkins 5473 Mar 10 19:02 managedprofiles.go [2020-03-10T19:05:27.821Z] -rw-rw-r-- 1 jenkins jenkins 3878 Mar 10 19:02 managedwatchers.go [2020-03-10T19:05:27.821Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 19:02 pkg [2020-03-10T19:05:27.821Z] -rw-rw-r-- 1 jenkins jenkins 10377 Mar 10 19:02 service.go [2020-03-10T19:05:27.821Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 19:02 snap [2020-03-10T19:05:27.821Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 10 19:02 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-10T19:05:28.149Z] + 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=14acdf32d090c0ca1c768ce998e1fa42246a0791 --label arch=arm64 --label version=0.0.0 . [2020-03-10T19:05:28.749Z] Sending build context to Docker daemon 2.826MB [2020-03-10T19:05:28.749Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-10T19:05:28.749Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-10T19:05:28.749Z] ---> c46e4fdccd1f [2020-03-10T19:05:28.749Z] Step 3/20 : ARG MAKE='make build' [2020-03-10T19:05:29.016Z] ---> Running in e2a3569c570a [2020-03-10T19:05:29.284Z] Removing intermediate container e2a3569c570a [2020-03-10T19:05:29.284Z] ---> cd6fdc8b1195 [2020-03-10T19:05:29.284Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-10T19:05:29.284Z] ---> Running in 3cde1aa47107 [2020-03-10T19:05:29.872Z] Removing intermediate container 3cde1aa47107 [2020-03-10T19:05:29.872Z] ---> 7ad1d32edbba [2020-03-10T19:05:29.872Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-10T19:05:29.872Z] ---> Running in 7ff8f39d27c9 [2020-03-10T19:05:30.141Z] Removing intermediate container 7ff8f39d27c9 [2020-03-10T19:05:30.141Z] ---> fa2d865b2f87 [2020-03-10T19:05:30.141Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-10T19:05:30.411Z] ---> Running in aebced220c1b [2020-03-10T19:05:32.363Z] Removing intermediate container aebced220c1b [2020-03-10T19:05:32.363Z] ---> fd5971c35b25 [2020-03-10T19:05:32.363Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-10T19:05:32.363Z] ---> Running in 11a24ea31f9e [2020-03-10T19:05:33.332Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-10T19:05:33.919Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-10T19:05:34.882Z] OK: 125 MiB in 39 packages [2020-03-10T19:05:35.847Z] Removing intermediate container 11a24ea31f9e [2020-03-10T19:05:35.847Z] ---> 76ec51361885 [2020-03-10T19:05:35.847Z] Step 8/20 : COPY . . [2020-03-10T19:05:36.822Z] ---> f8ec586a2f49 [2020-03-10T19:05:36.822Z] Step 9/20 : RUN ${MAKE} [2020-03-10T19:05:36.822Z] ---> Running in c96f1e3ca21f [2020-03-10T19:05:37.859Z] 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-10T19:06:16.873Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-10T19:06:26.980Z] Removing intermediate container c96f1e3ca21f [2020-03-10T19:06:26.980Z] ---> 84f85c2aed13 [2020-03-10T19:06:26.980Z] Step 10/20 : FROM scratch [2020-03-10T19:06:26.980Z] ---> [2020-03-10T19:06:26.980Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-10T19:06:26.980Z] ---> Running in c7c31fb91211 [2020-03-10T19:06:26.980Z] Removing intermediate container c7c31fb91211 [2020-03-10T19:06:26.980Z] ---> 7dbefa8d9458 [2020-03-10T19:06:26.980Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-10T19:06:26.980Z] ---> Running in 191fb11970b7 [2020-03-10T19:06:26.980Z] Removing intermediate container 191fb11970b7 [2020-03-10T19:06:26.980Z] ---> f3a5aee936c1 [2020-03-10T19:06:26.980Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-10T19:06:26.980Z] ---> Running in e345ea8f2551 [2020-03-10T19:06:27.249Z] Removing intermediate container e345ea8f2551 [2020-03-10T19:06:27.249Z] ---> 9d0f83469870 [2020-03-10T19:06:27.249Z] Step 14/20 : WORKDIR / [2020-03-10T19:06:27.517Z] ---> Running in 66228f9e41ce [2020-03-10T19:06:27.786Z] Removing intermediate container 66228f9e41ce [2020-03-10T19:06:27.786Z] ---> 03207356219b [2020-03-10T19:06:27.786Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-10T19:06:29.208Z] ---> c247a79bb852 [2020-03-10T19:06:29.208Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-10T19:06:29.476Z] ---> 18022b2da4c4 [2020-03-10T19:06:29.476Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-10T19:06:29.744Z] ---> Running in f58a0b16d87b [2020-03-10T19:06:30.012Z] Removing intermediate container f58a0b16d87b [2020-03-10T19:06:30.012Z] ---> 6cb44ffd371a [2020-03-10T19:06:30.012Z] Step 18/20 : LABEL arch=arm64 [2020-03-10T19:06:30.279Z] ---> Running in 890e62fdb28b [2020-03-10T19:06:30.547Z] Removing intermediate container 890e62fdb28b [2020-03-10T19:06:30.547Z] ---> e6afc8acb079 [2020-03-10T19:06:30.547Z] Step 19/20 : LABEL git_sha=14acdf32d090c0ca1c768ce998e1fa42246a0791 [2020-03-10T19:06:30.815Z] ---> Running in 02c6bae43b9f [2020-03-10T19:06:31.082Z] Removing intermediate container 02c6bae43b9f [2020-03-10T19:06:31.082Z] ---> 1d3f531a8220 [2020-03-10T19:06:31.082Z] Step 20/20 : LABEL version=0.0.0 [2020-03-10T19:06:31.082Z] ---> Running in ea0d4d820415 [2020-03-10T19:06:31.349Z] Removing intermediate container ea0d4d820415 [2020-03-10T19:06:31.349Z] ---> b5e1a338c7bd [2020-03-10T19:06:31.349Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-10T19:06:31.616Z] Successfully built b5e1a338c7bd [2020-03-10T19:06:31.616Z] 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-10T19:06:32.820Z] provisioning config files... [2020-03-10T19:06:32.832Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config2143912486718679260tmp [Pipeline] { [Pipeline] sh [2020-03-10T19:06:33.185Z] + curl -s https://codecov.io/bash [2020-03-10T19:06:33.185Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config2143912486718679260tmp [2020-03-10T19:06:33.444Z] [2020-03-10T19:06:33.444Z] _____ _ [2020-03-10T19:06:33.444Z] / ____| | | [2020-03-10T19:06:33.444Z] | | ___ __| | ___ ___ _____ __ [2020-03-10T19:06:33.444Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-10T19:06:33.444Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-10T19:06:33.444Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-10T19:06:33.444Z] Bash-20200303-bc4d7e6 [2020-03-10T19:06:33.444Z] [2020-03-10T19:06:33.444Z] [2020-03-10T19:06:33.444Z] ==> Jenkins CI detected. [2020-03-10T19:06:33.444Z] project root: . [2020-03-10T19:06:33.444Z] Fixing merge commit SHA [2020-03-10T19:06:33.444Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-10T19:06:33.444Z] ==> Running gcov in . (disable via -X gcov) [2020-03-10T19:06:33.444Z] ==> Python coveragepy not found [2020-03-10T19:06:33.444Z] ==> Searching for coverage reports in: [2020-03-10T19:06:33.444Z] + . [2020-03-10T19:06:33.444Z] -> Found 1 reports [2020-03-10T19:06:33.444Z] ==> Detecting git/mercurial file structure [2020-03-10T19:06:33.444Z] ==> Reading reports [2020-03-10T19:06:33.444Z] + ./coverage.out bytes=103117 [2020-03-10T19:06:33.444Z] ==> Appending adjustments [2020-03-10T19:06:33.444Z] http://docs.codecov.io/docs/fixing-reports [2020-03-10T19:06:33.707Z] + Found adjustments [2020-03-10T19:06:33.707Z] ==> Gzipping contents [2020-03-10T19:06:33.707Z] ==> Uploading reports [2020-03-10T19:06:33.707Z] url: https://codecov.io [2020-03-10T19:06:33.707Z] query: branch=PR-448&commit=1a07617a55e4200b889676e00db141fb8b6dd4d0&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-448%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=448&job= [2020-03-10T19:06:33.707Z] -> Pinging Codecov [2020-03-10T19:06:33.707Z] https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=PR-448&commit=1a07617a55e4200b889676e00db141fb8b6dd4d0&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-448%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=448&job= [2020-03-10T19:06:34.276Z] -> Uploading [2020-03-10T19:06:34.534Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1a07617a55e4200b889676e00db141fb8b6dd4d0 [Pipeline] } [2020-03-10T19:06:34.541Z] 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-10T19:06:35.782Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-10T19:06:36.092Z] ---> package-listing.sh [2020-03-10T19:06:36.092Z] ++ facter osfamily [2020-03-10T19:06:36.092Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-10T19:06:36.092Z] + OS_FAMILY=redhat [2020-03-10T19:06:36.092Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-448 [2020-03-10T19:06:36.092Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-10T19:06:36.092Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-10T19:06:36.092Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-10T19:06:36.092Z] + PACKAGES=/tmp/packages_start.txt [2020-03-10T19:06:36.092Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' [2020-03-10T19:06:36.092Z] + PACKAGES=/tmp/packages_end.txt [2020-03-10T19:06:36.092Z] + case "${OS_FAMILY}" in [2020-03-10T19:06:36.092Z] + rpm -qa [2020-03-10T19:06:36.092Z] + sort [2020-03-10T19:06:39.386Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-10T19:06:39.386Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-10T19:06:39.386Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-10T19:06:39.386Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-448 ']' [2020-03-10T19:06:39.386Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-448/archives/ [2020-03-10T19:06:39.386Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-448/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-10T19:06:39.751Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-10T19:06:39.751Z] [2020-03-10T19:06:39.751Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-10T19:06:40.147Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-10T19:06:40.147Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-10T19:06:40.147Z] c9b1b535fdd9: Pulling fs layer [2020-03-10T19:06:40.147Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-10T19:06:40.147Z] 756a868c4378: Pulling fs layer [2020-03-10T19:06:40.147Z] 444b2fc9a129: Pulling fs layer [2020-03-10T19:06:40.147Z] ea15f1150254: Pulling fs layer [2020-03-10T19:06:40.147Z] 41b27a9f41bf: Pulling fs layer [2020-03-10T19:06:40.147Z] 28c525ee5125: Pulling fs layer [2020-03-10T19:06:40.147Z] 094b1ea09ed8: Pulling fs layer [2020-03-10T19:06:40.147Z] 138eaada9080: Pulling fs layer [2020-03-10T19:06:40.147Z] 0622d0fa9048: Pulling fs layer [2020-03-10T19:06:40.147Z] 28c525ee5125: Waiting [2020-03-10T19:06:40.147Z] 094b1ea09ed8: Waiting [2020-03-10T19:06:40.147Z] 138eaada9080: Waiting [2020-03-10T19:06:40.147Z] 444b2fc9a129: Waiting [2020-03-10T19:06:40.147Z] 0622d0fa9048: Waiting [2020-03-10T19:06:40.147Z] ea15f1150254: Waiting [2020-03-10T19:06:40.147Z] 41b27a9f41bf: Waiting [2020-03-10T19:06:40.147Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-10T19:06:40.147Z] 2cc5ad85d9ab: Download complete [2020-03-10T19:06:40.147Z] 444b2fc9a129: Verifying Checksum [2020-03-10T19:06:40.147Z] 444b2fc9a129: Download complete [2020-03-10T19:06:40.147Z] c9b1b535fdd9: Download complete [2020-03-10T19:06:40.147Z] ea15f1150254: Verifying Checksum [2020-03-10T19:06:40.147Z] ea15f1150254: Download complete [2020-03-10T19:06:40.419Z] 28c525ee5125: Verifying Checksum [2020-03-10T19:06:40.419Z] 28c525ee5125: Download complete [2020-03-10T19:06:40.696Z] c9b1b535fdd9: Pull complete [2020-03-10T19:06:40.696Z] 756a868c4378: Verifying Checksum [2020-03-10T19:06:40.696Z] 756a868c4378: Download complete [2020-03-10T19:06:40.963Z] 138eaada9080: Verifying Checksum [2020-03-10T19:06:40.963Z] 138eaada9080: Download complete [2020-03-10T19:06:40.963Z] 2cc5ad85d9ab: Pull complete [2020-03-10T19:06:40.963Z] 094b1ea09ed8: Verifying Checksum [2020-03-10T19:06:40.963Z] 094b1ea09ed8: Download complete [2020-03-10T19:06:40.963Z] 0622d0fa9048: Verifying Checksum [2020-03-10T19:06:40.963Z] 0622d0fa9048: Download complete [2020-03-10T19:06:41.538Z] 41b27a9f41bf: Verifying Checksum [2020-03-10T19:06:41.538Z] 41b27a9f41bf: Download complete [2020-03-10T19:06:42.476Z] 756a868c4378: Pull complete [2020-03-10T19:06:42.476Z] 444b2fc9a129: Pull complete [2020-03-10T19:06:42.737Z] ea15f1150254: Pull complete [2020-03-10T19:06:46.049Z] 41b27a9f41bf: Pull complete [2020-03-10T19:06:46.049Z] 28c525ee5125: Pull complete [2020-03-10T19:06:47.962Z] 094b1ea09ed8: Pull complete [2020-03-10T19:06:47.962Z] 138eaada9080: Pull complete [2020-03-10T19:06:48.221Z] 0622d0fa9048: Pull complete [2020-03-10T19:06:48.221Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-10T19:06:48.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-10T19:06:48.370Z] prd-centos7-docker-4c-2g-10574 does not seem to be running inside a container [2020-03-10T19:06:48.418Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-448 -v /w/workspace/dgexfoundry_device-sdk-go_PR-448:/w/workspace/dgexfoundry_device-sdk-go_PR-448:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-10T19:06:49.441Z] $ docker top f228ae05d87dd06ba285598536719521a931a48cceecd2a0884b2d8e676212f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-10T19:06:50.154Z] provisioning config files... [2020-03-10T19:06:50.173Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp/config1151849162376688497tmp [Pipeline] { [Pipeline] echo [2020-03-10T19:06:50.239Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-10T19:06:50.533Z] ---> create-netrc.sh [Pipeline] echo [2020-03-10T19:06:50.540Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-10T19:06:50.832Z] ---> logs-deploy.sh [2020-03-10T19:06:50.832Z] + ARCHIVE_ARTIFACTS= [2020-03-10T19:06:50.832Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-10T19:06:50.832Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-10T19:06:50.832Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-10T19:06:50.832Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/9 [2020-03-10T19:06:50.832Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/9/ [2020-03-10T19:06:50.832Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/9 /w/workspace/dgexfoundry_device-sdk-go_PR-448 [2020-03-10T19:06:52.211Z] Archives upload complete. [2020-03-10T19:06:52.211Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-448/9 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-448/9/ [2020-03-10T19:06:52.783Z] ---> uname -a: [2020-03-10T19:06:52.783Z] Linux f228ae05d87d 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux [2020-03-10T19:06:52.783Z] [2020-03-10T19:06:52.783Z] [2020-03-10T19:06:52.783Z] ---> lscpu: [2020-03-10T19:06:52.783Z] Architecture: x86_64 [2020-03-10T19:06:52.783Z] CPU op-mode(s): 32-bit, 64-bit [2020-03-10T19:06:52.783Z] Byte Order: Little Endian [2020-03-10T19:06:52.783Z] Address sizes: 40 bits physical, 48 bits virtual [2020-03-10T19:06:52.783Z] CPU(s): 4 [2020-03-10T19:06:52.783Z] On-line CPU(s) list: 0-3 [2020-03-10T19:06:52.783Z] Thread(s) per core: 1 [2020-03-10T19:06:52.783Z] Core(s) per socket: 1 [2020-03-10T19:06:52.783Z] Socket(s): 4 [2020-03-10T19:06:52.783Z] NUMA node(s): 1 [2020-03-10T19:06:52.783Z] Vendor ID: GenuineIntel [2020-03-10T19:06:52.783Z] CPU family: 6 [2020-03-10T19:06:52.783Z] Model: 44 [2020-03-10T19:06:52.783Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-03-10T19:06:52.783Z] Stepping: 1 [2020-03-10T19:06:52.783Z] CPU MHz: 2933.396 [2020-03-10T19:06:52.783Z] BogoMIPS: 5866.79 [2020-03-10T19:06:52.783Z] Virtualization: VT-x [2020-03-10T19:06:52.783Z] Hypervisor vendor: KVM [2020-03-10T19:06:52.783Z] Virtualization type: full [2020-03-10T19:06:52.783Z] L1d cache: 128 KiB [2020-03-10T19:06:52.783Z] L1i cache: 128 KiB [2020-03-10T19:06:52.783Z] L2 cache: 16 MiB [2020-03-10T19:06:52.783Z] L3 cache: 64 MiB [2020-03-10T19:06:52.783Z] NUMA node0 CPU(s): 0-3 [2020-03-10T19:06:52.783Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes [2020-03-10T19:06:52.783Z] Vulnerability Meltdown: Mitigation; PTI [2020-03-10T19:06:52.783Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-03-10T19:06:52.783Z] Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization [2020-03-10T19:06:52.783Z] Vulnerability Spectre v2: Mitigation; Full retpoline [2020-03-10T19:06:52.783Z] 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-10T19:06:52.783Z] [2020-03-10T19:06:52.783Z] [2020-03-10T19:06:52.783Z] ---> nproc: [2020-03-10T19:06:52.783Z] 4 [2020-03-10T19:06:52.783Z] [2020-03-10T19:06:52.783Z] [2020-03-10T19:06:52.783Z] ---> df -h: [2020-03-10T19:06:52.783Z] Filesystem Size Used Available Use% Mounted on [2020-03-10T19:06:52.783Z] overlay 50.0G 6.1G 43.9G 12% / [2020-03-10T19:06:52.783Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-03-10T19:06:52.783Z] tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup [2020-03-10T19:06:52.783Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-03-10T19:06:52.783Z] /dev/vda1 50.0G 6.1G 43.9G 12% /etc/resolv.conf [2020-03-10T19:06:52.783Z] /dev/vda1 50.0G 6.1G 43.9G 12% /etc/hostname [2020-03-10T19:06:52.783Z] /dev/vda1 50.0G 6.1G 43.9G 12% /etc/hosts [2020-03-10T19:06:52.783Z] /dev/vda1 50.0G 6.1G 43.9G 12% /w/workspace/dgexfoundry_device-sdk-go_PR-448 [2020-03-10T19:06:52.783Z] /dev/vda1 50.0G 6.1G 43.9G 12% /w/workspace/dgexfoundry_device-sdk-go_PR-448@tmp [2020-03-10T19:06:52.783Z] /dev/vda1 50.0G 6.1G 43.9G 12% /var/log/sa [2020-03-10T19:06:52.783Z] [2020-03-10T19:06:52.783Z]