Push event to branch revert-458-issue-457 Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/revert-458-issue-457/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > 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 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 > git --version # 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-3708 in /w/workspace/vice-sdk-go_revert-458-issue-457 [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/vice-sdk-go_revert-458-issue-457 # timeout=10 Fetching without tags 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/heads/revert-458-issue-457:refs/remotes/origin/revert-458-issue-457 # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/revert-458-issue-457:refs/remotes/origin/revert-458-issue-457 # 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/heads/revert-458-issue-457:refs/remotes/origin/revert-458-issue-457 # timeout=10 Checking out Revision e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb (revert-458-issue-457) > git config core.sparsecheckout # timeout=10 > git checkout -f e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb # timeout=10 Commit message: "Revert "Encode the float as base64 string by little-endian binary"" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object b810438aec07f555226556e3b59abf2bab733840 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-09T15:16:55.278Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-09T15:16:57.800Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-09T15:16:57.800Z] [2020-03-09T15:16:57.800Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-09T15:16:58.189Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-09T15:16:58.189Z] latest: Pulling from edgex-devops/git-semver [2020-03-09T15:16:58.189Z] 9123ac7c32f7: Pulling fs layer [2020-03-09T15:16:58.189Z] b8cc5d1170e3: Pulling fs layer [2020-03-09T15:16:58.189Z] 2924cbbf6a41: Pulling fs layer [2020-03-09T15:16:58.189Z] 93b08a4f1073: Pulling fs layer [2020-03-09T15:16:58.189Z] 93b08a4f1073: Waiting [2020-03-09T15:16:58.189Z] b8cc5d1170e3: Verifying Checksum [2020-03-09T15:16:58.189Z] b8cc5d1170e3: Download complete [2020-03-09T15:16:58.454Z] 9123ac7c32f7: Verifying Checksum [2020-03-09T15:16:58.454Z] 9123ac7c32f7: Download complete [2020-03-09T15:16:58.454Z] 93b08a4f1073: Verifying Checksum [2020-03-09T15:16:58.454Z] 93b08a4f1073: Download complete [2020-03-09T15:16:58.454Z] 2924cbbf6a41: Verifying Checksum [2020-03-09T15:16:58.454Z] 2924cbbf6a41: Download complete [2020-03-09T15:16:58.715Z] 9123ac7c32f7: Pull complete [2020-03-09T15:16:58.715Z] b8cc5d1170e3: Pull complete [2020-03-09T15:16:59.651Z] 2924cbbf6a41: Pull complete [2020-03-09T15:16:59.651Z] 93b08a4f1073: Pull complete [2020-03-09T15:16:59.651Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-09T15:16:59.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-09T15:16:59.801Z] prd-centos7-docker-4c-2g-3708 does not seem to be running inside a container [2020-03-09T15:16:59.842Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/vice-sdk-go_revert-458-issue-457 -v /w/workspace/vice-sdk-go_revert-458-issue-457:/w/workspace/vice-sdk-go_revert-458-issue-457:rw,z -v /w/workspace/vice-sdk-go_revert-458-issue-457@tmp:/w/workspace/vice-sdk-go_revert-458-issue-457@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-09T15:17:00.517Z] $ docker top 3104b6ff049b562af48b909e2f60ae1c917629393e05c9d2a4eb7d9139c90255 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-09T15:17:01.327Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-09T15:17:01.327Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-09T15:17:01.553Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-09T15:17:01.555Z] $ docker exec 3104b6ff049b562af48b909e2f60ae1c917629393e05c9d2a4eb7d9139c90255 ssh-agent [2020-03-09T15:17:01.742Z] SSH_AUTH_SOCK=/tmp/ssh-Ca8aZqzTgFxu/agent.15 [2020-03-09T15:17:01.742Z] SSH_AGENT_PID=22 [2020-03-09T15:17:01.751Z] Running ssh-add (command line suppressed) [2020-03-09T15:17:01.904Z] Identity added: /w/workspace/vice-sdk-go_revert-458-issue-457@tmp/private_key_1452615688010336747.key (/w/workspace/vice-sdk-go_revert-458-issue-457@tmp/private_key_1452615688010336747.key) [2020-03-09T15:17:01.953Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-09T15:17:02.310Z] + git describe --exact-match --tags HEAD [2020-03-09T15:17:02.310Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-09T15:17:02.374Z] $ docker exec --env ******** --env ******** 3104b6ff049b562af48b909e2f60ae1c917629393e05c9d2a4eb7d9139c90255 ssh-agent -k [2020-03-09T15:17:02.510Z] unset SSH_AUTH_SOCK; [2020-03-09T15:17:02.510Z] unset SSH_AGENT_PID; [2020-03-09T15:17:02.510Z] echo Agent pid 22 killed; [2020-03-09T15:17:02.559Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-09T15:17:02.766Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-09T15:17:02.766Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-09T15:17:02.858Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-09T15:17:02.858Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-09T15:17:03.043Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-09T15:17:03.045Z] $ docker exec 3104b6ff049b562af48b909e2f60ae1c917629393e05c9d2a4eb7d9139c90255 ssh-agent [2020-03-09T15:17:03.229Z] SSH_AUTH_SOCK=/tmp/ssh-CGDshfbkbrpa/agent.57 [2020-03-09T15:17:03.229Z] SSH_AGENT_PID=63 [2020-03-09T15:17:03.236Z] Running ssh-add (command line suppressed) [2020-03-09T15:17:03.374Z] Identity added: /w/workspace/vice-sdk-go_revert-458-issue-457@tmp/private_key_2919869671817858927.key (/w/workspace/vice-sdk-go_revert-458-issue-457@tmp/private_key_2919869671817858927.key) [2020-03-09T15:17:03.423Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-09T15:17:03.790Z] + git semver init [2020-03-09T15:17:03.790Z] # -> Open(): unable to determine branch for HEAD [2020-03-09T15:17:03.790Z] # $GIT_DIR = /w/workspace/vice-sdk-go_revert-458-issue-457/.git [2020-03-09T15:17:03.790Z] # $GIT_WORK_TREE = /w/workspace/vice-sdk-go_revert-458-issue-457 [2020-03-09T15:17:03.790Z] # $SEMVER_REMOTE_NAME = origin [2020-03-09T15:17:03.790Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-09T15:17:03.790Z] # $SEMVER_USER_NAME = jenkins [2020-03-09T15:17:03.790Z] # $SEMVER_BRANCH = revert-458-issue-457 [2020-03-09T15:17:03.790Z] # $SEMVER_TEMP = /tmp/semver-109067540 [2020-03-09T15:17:03.791Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-03-09T15:17:05.172Z] # '/tmp/semver-109067540' -> '/w/workspace/vice-sdk-go_revert-458-issue-457/.semver' [2020-03-09T15:17:05.172Z] # -> Force: false [2020-03-09T15:17:05.172Z] # $SEMVER_DIR = /w/workspace/vice-sdk-go_revert-458-issue-457/.semver [Pipeline] } [2020-03-09T15:17:05.194Z] $ docker exec --env ******** --env ******** 3104b6ff049b562af48b909e2f60ae1c917629393e05c9d2a4eb7d9139c90255 ssh-agent -k [2020-03-09T15:17:05.338Z] unset SSH_AUTH_SOCK; [2020-03-09T15:17:05.339Z] unset SSH_AGENT_PID; [2020-03-09T15:17:05.339Z] echo Agent pid 63 killed; [2020-03-09T15:17:05.387Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-09T15:17:05.942Z] + git semver [Pipeline] } [2020-03-09T15:17:05.969Z] $ docker stop --time=1 3104b6ff049b562af48b909e2f60ae1c917629393e05c9d2a4eb7d9139c90255 [2020-03-09T15:17:07.322Z] $ docker rm -f 3104b6ff049b562af48b909e2f60ae1c917629393e05c9d2a4eb7d9139c90255 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-09T15:17:08.245Z] Stashed 30 file(s) [Pipeline] echo [2020-03-09T15:17:08.262Z] [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-09T15:17:23.702Z] Still waiting to schedule task [2020-03-09T15:17:23.702Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-03-09T15:17:23.722Z] Still waiting to schedule task [2020-03-09T15:17:23.722Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-03-09T15:19:38.665Z] Running on prd-centos7-docker-4c-2g-3711 in /w/workspace/vice-sdk-go_revert-458-issue-457 [Pipeline] { [Pipeline] ws [2020-03-09T15:19:38.769Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-03-09T15:19:41.085Z] using credential edgex-jenkins-ssh [2020-03-09T15:19:41.126Z] Cloning the remote Git repository [2020-03-09T15:19:41.126Z] Cloning with configured refspecs honoured and without tags [2020-03-09T15:19:41.826Z] Fetching without tags [2020-03-09T15:19:40.571Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T15:19:40.610Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-03-09T15:19:40.670Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T15:19:40.670Z] > git --version # timeout=10 [2020-03-09T15:19:40.679Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T15:19:40.710Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/revert-458-issue-457:refs/remotes/origin/revert-458-issue-457 # timeout=10 [2020-03-09T15:19:41.268Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T15:19:41.277Z] > git config --add remote.origin.fetch +refs/heads/revert-458-issue-457:refs/remotes/origin/revert-458-issue-457 # timeout=10 [2020-03-09T15:19:41.295Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-03-09T15:19:41.307Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-03-09T15:19:41.307Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-09T15:19:41.312Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/revert-458-issue-457:refs/remotes/origin/revert-458-issue-457 # timeout=10 [2020-03-09T15:19:42.186Z] Checking out Revision e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb (revert-458-issue-457) [2020-03-09T15:19:41.701Z] > git config core.sparsecheckout # timeout=10 [2020-03-09T15:19:41.706Z] > git checkout -f e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb # timeout=10 [2020-03-09T15:19:46.893Z] Commit message: "Revert "Encode the float as base64 string by little-endian binary"" [2020-03-09T15:19:46.820Z] > git --version # timeout=10 [2020-03-09T15:19:46.828Z] fatal: bad object b810438aec07f555226556e3b59abf2bab733840 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-09T15:19:48.115Z] ========================================================= [2020-03-09T15:19:48.115Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-09T15:19:48.115Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-09T15:19:48.799Z] + 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-09T15:19:49.062Z] Sending build context to Docker daemon 2.673MB [2020-03-09T15:19:49.062Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-03-09T15:19:49.062Z] Step 2/8 : FROM ${BASE} [2020-03-09T15:19:49.062Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-09T15:19:49.062Z] e6b0cf9c0882: Pulling fs layer [2020-03-09T15:19:49.062Z] 2848faf0eed1: Pulling fs layer [2020-03-09T15:19:49.062Z] 0f37312ad70f: Pulling fs layer [2020-03-09T15:19:49.062Z] 5788d62ee057: Pulling fs layer [2020-03-09T15:19:49.062Z] 0e6b1d234666: Pulling fs layer [2020-03-09T15:19:49.062Z] bf5d7aec512f: Pulling fs layer [2020-03-09T15:19:49.062Z] 34c802a77dc8: Pulling fs layer [2020-03-09T15:19:49.062Z] 9eb99e56ec68: Pulling fs layer [2020-03-09T15:19:49.062Z] 27c7a5d97fbd: Pulling fs layer [2020-03-09T15:19:49.062Z] 5c102a31e300: Pulling fs layer [2020-03-09T15:19:49.062Z] dcfb455df0a1: Pulling fs layer [2020-03-09T15:19:49.062Z] 5c102a31e300: Waiting [2020-03-09T15:19:49.062Z] dcfb455df0a1: Waiting [2020-03-09T15:19:49.062Z] 34c802a77dc8: Waiting [2020-03-09T15:19:49.062Z] 5788d62ee057: Waiting [2020-03-09T15:19:49.062Z] 0e6b1d234666: Waiting [2020-03-09T15:19:49.062Z] bf5d7aec512f: Waiting [2020-03-09T15:19:49.062Z] 27c7a5d97fbd: Waiting [2020-03-09T15:19:49.062Z] 9eb99e56ec68: Waiting [2020-03-09T15:19:49.062Z] 0f37312ad70f: Verifying Checksum [2020-03-09T15:19:49.062Z] 0f37312ad70f: Download complete [2020-03-09T15:19:49.062Z] 2848faf0eed1: Download complete [2020-03-09T15:19:49.331Z] 0e6b1d234666: Verifying Checksum [2020-03-09T15:19:49.331Z] 0e6b1d234666: Download complete [2020-03-09T15:19:49.331Z] bf5d7aec512f: Verifying Checksum [2020-03-09T15:19:49.331Z] bf5d7aec512f: Download complete [2020-03-09T15:19:49.331Z] e6b0cf9c0882: Verifying Checksum [2020-03-09T15:19:49.331Z] e6b0cf9c0882: Download complete [2020-03-09T15:19:49.594Z] e6b0cf9c0882: Pull complete [2020-03-09T15:19:50.180Z] 34c802a77dc8: Verifying Checksum [2020-03-09T15:19:50.180Z] 34c802a77dc8: Download complete [2020-03-09T15:19:50.180Z] 27c7a5d97fbd: Verifying Checksum [2020-03-09T15:19:50.180Z] 27c7a5d97fbd: Download complete [2020-03-09T15:19:50.450Z] 5c102a31e300: Verifying Checksum [2020-03-09T15:19:50.450Z] 5c102a31e300: Download complete [2020-03-09T15:19:50.710Z] dcfb455df0a1: Verifying Checksum [2020-03-09T15:19:50.710Z] dcfb455df0a1: Download complete [2020-03-09T15:19:50.976Z] 9eb99e56ec68: Verifying Checksum [2020-03-09T15:19:50.976Z] 9eb99e56ec68: Download complete [2020-03-09T15:19:50.976Z] 5788d62ee057: Verifying Checksum [2020-03-09T15:19:50.976Z] 5788d62ee057: Download complete [2020-03-09T15:19:51.919Z] 2848faf0eed1: Pull complete [2020-03-09T15:19:51.919Z] 0f37312ad70f: Pull complete [2020-03-09T15:19:58.504Z] 5788d62ee057: Pull complete [2020-03-09T15:19:58.504Z] 0e6b1d234666: Pull complete [2020-03-09T15:19:58.504Z] bf5d7aec512f: Pull complete [2020-03-09T15:20:02.693Z] 34c802a77dc8: Pull complete [2020-03-09T15:20:06.009Z] 9eb99e56ec68: Pull complete [2020-03-09T15:20:06.009Z] 27c7a5d97fbd: Pull complete [2020-03-09T15:20:06.268Z] 5c102a31e300: Pull complete [2020-03-09T15:20:06.268Z] dcfb455df0a1: Pull complete [2020-03-09T15:20:06.268Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-09T15:20:06.530Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-09T15:20:06.530Z] ---> 7c70fe431013 [2020-03-09T15:20:06.530Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T15:20:06.530Z] ---> Running in e1d81bc0aa93 [2020-03-09T15:20:06.530Z] Removing intermediate container e1d81bc0aa93 [2020-03-09T15:20:06.530Z] ---> 7786a0bf7e31 [2020-03-09T15:20:06.530Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T15:20:06.530Z] ---> Running in a210fb611ef2 [2020-03-09T15:20:07.916Z] Removing intermediate container a210fb611ef2 [2020-03-09T15:20:07.916Z] ---> 30cd3b86849c [2020-03-09T15:20:07.916Z] Step 5/8 : RUN apk add --no-cache make git [2020-03-09T15:20:07.916Z] ---> Running in 93daf0b2a8c5 [2020-03-09T15:20:08.487Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-09T15:20:09.056Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-09T15:20:09.314Z] OK: 143 MiB in 39 packages [2020-03-09T15:20:09.576Z] Removing intermediate container 93daf0b2a8c5 [2020-03-09T15:20:09.576Z] ---> d0d4d73af2e0 [2020-03-09T15:20:09.576Z] Step 6/8 : WORKDIR /device-sdk-go [2020-03-09T15:20:09.835Z] ---> Running in 9a3df3d81e04 [2020-03-09T15:20:09.835Z] Removing intermediate container 9a3df3d81e04 [2020-03-09T15:20:09.835Z] ---> 4a5ae8bc8a6a [2020-03-09T15:20:09.835Z] Step 7/8 : COPY . . [2020-03-09T15:20:10.407Z] ---> 2cc09a9adf7d [2020-03-09T15:20:10.407Z] Step 8/8 : RUN go mod download [2020-03-09T15:20:10.407Z] ---> Running in eefe9ba65a32 [2020-03-09T15:20:12.313Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-03-09T15:20:12.313Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-03-09T15:20:12.313Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-03-09T15:20:12.313Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-03-09T15:20:12.313Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-03-09T15:20:12.313Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-03-09T15:20:12.313Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-03-09T15:20:12.313Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-03-09T15:20:12.313Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.36 [2020-03-09T15:20:12.313Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-03-09T15:20:12.313Z] go: finding github.com/fatih/color v1.7.0 [2020-03-09T15:20:12.313Z] go: finding github.com/go-kit/kit v0.8.0 [2020-03-09T15:20:12.313Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-03-09T15:20:12.313Z] go: finding github.com/go-stack/stack v1.8.0 [2020-03-09T15:20:12.313Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-03-09T15:20:12.313Z] go: finding github.com/google/uuid v1.1.0 [2020-03-09T15:20:12.313Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-03-09T15:20:12.313Z] go: finding github.com/gorilla/mux v1.6.2 [2020-03-09T15:20:12.313Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-03-09T15:20:12.313Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-03-09T15:20:12.313Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-03-09T15:20:12.313Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-03-09T15:20:12.313Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-03-09T15:20:12.313Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-03-09T15:20:12.313Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-03-09T15:20:12.313Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-03-09T15:20:12.313Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-03-09T15:20:12.313Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-03-09T15:20:12.313Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-03-09T15:20:12.313Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-03-09T15:20:12.313Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-03-09T15:20:12.313Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-03-09T15:20:12.313Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-03-09T15:20:12.313Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-03-09T15:20:12.313Z] go: finding github.com/jessevdk/go-flags v1.4.0 [2020-03-09T15:20:12.313Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-03-09T15:20:12.313Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-03-09T15:20:12.313Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-03-09T15:20:12.313Z] go: finding github.com/miekg/dns v1.0.14 [2020-03-09T15:20:12.313Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-03-09T15:20:12.313Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-03-09T15:20:12.313Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-03-09T15:20:12.572Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-03-09T15:20:12.572Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-03-09T15:20:12.572Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-03-09T15:20:12.572Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-03-09T15:20:12.572Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-03-09T15:20:12.572Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-03-09T15:20:12.572Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-03-09T15:20:12.572Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-03-09T15:20:12.572Z] go: finding github.com/pkg/errors v0.8.1 [2020-03-09T15:20:12.572Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-09T15:20:12.572Z] go: finding github.com/posener/complete v1.1.1 [2020-03-09T15:20:12.572Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-03-09T15:20:12.572Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-03-09T15:20:12.572Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-09T15:20:12.572Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-09T15:20:12.572Z] go: finding github.com/ugorji/go v1.1.4 [2020-03-09T15:20:12.572Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-03-09T15:20:12.572Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-03-09T15:20:12.572Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-03-09T15:20:12.572Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-03-09T15:20:12.572Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-03-09T15:20:12.572Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-03-09T15:20:22.560Z] Removing intermediate container eefe9ba65a32 [2020-03-09T15:20:22.560Z] ---> ee1fbab31295 [2020-03-09T15:20:22.560Z] Successfully built ee1fbab31295 [2020-03-09T15:20:22.560Z] 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-09T15:20:23.390Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-09T15:20:23.390Z] . [Pipeline] withDockerContainer [2020-03-09T15:20:23.558Z] prd-centos7-docker-4c-2g-3711 does not seem to be running inside a container [2020-03-09T15:20:23.617Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2020-03-09T15:20:24.206Z] $ docker top a6741571bd8bd69f86c73dfd4511d6a29f7470d292988da440166428faab3be5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-09T15:20:25.571Z] + go version [2020-03-09T15:20:25.854Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-09T15:20:26.185Z] + make test [2020-03-09T15:20:26.185Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-03-09T15:20:41.151Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-03-09T15:20:41.151Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-03-09T15:20:41.151Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-03-09T15:20:43.088Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.012s coverage: 23.1% of statements [2020-03-09T15:20:43.088Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.047s coverage: 95.8% of statements [2020-03-09T15:20:45.640Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 3.037s coverage: 12.7% of statements [2020-03-09T15:20:45.640Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.007s coverage: 25.6% of statements [2020-03-09T15:21:17.754Z] ok github.com/edgexfoundry/device-sdk-go/internal/config 31.013s coverage: 30.0% of statements [2020-03-09T15:21:17.754Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.455s coverage: 42.3% of statements [2020-03-09T15:21:17.754Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-03-09T15:21:17.754Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-03-09T15:21:17.754Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.387s coverage: 79.5% of statements [2020-03-09T15:21:17.754Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-03-09T15:21:17.755Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-03-09T15:21:17.755Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-03-09T15:21:17.755Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.013s coverage: 52.6% of statements [2020-03-09T15:21:17.755Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.105s coverage: 76.1% of statements [2020-03-09T15:21:17.755Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-03-09T15:21:17.755Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-03-09T15:21:17.755Z] gofmt -l . [2020-03-09T15:21:18.015Z] [ "`gofmt -l .`" = "" ] [2020-03-09T15:21:18.015Z] ./bin/test-attribution-txt.sh [2020-03-09T15:21:18.588Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-03-09T15:21:19.270Z] Stashed 1 file(s) [Pipeline] } [2020-03-09T15:21:19.289Z] $ docker stop --time=1 a6741571bd8bd69f86c73dfd4511d6a29f7470d292988da440166428faab3be5 [2020-03-09T15:21:20.725Z] $ docker rm -f a6741571bd8bd69f86c73dfd4511d6a29f7470d292988da440166428faab3be5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-03-09T15:21:22.243Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-03-09T15:21:22.554Z] + ls -al . [2020-03-09T15:21:22.554Z] total 200 [2020-03-09T15:21:22.554Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 9 15:21 . [2020-03-09T15:21:22.554Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 9 15:19 .. [2020-03-09T15:21:22.554Z] drwxrwxr-x. 3 jenkins jenkins 20 Mar 9 15:19 api [2020-03-09T15:21:22.554Z] -rw-rw-r--. 1 jenkins jenkins 3321 Mar 9 15:19 async.go [2020-03-09T15:21:22.554Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 9 15:19 bin [2020-03-09T15:21:22.554Z] -rw-r--r--. 1 jenkins jenkins 100201 Mar 9 15:21 coverage.out [2020-03-09T15:21:22.554Z] -rw-rw-r--. 1 jenkins jenkins 936 Mar 9 15:19 Dockerfile.build [2020-03-09T15:21:22.554Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 9 15:19 .dockerignore [2020-03-09T15:21:22.554Z] drwxrwxr-x. 4 jenkins jenkins 31 Mar 9 15:19 example [2020-03-09T15:21:22.554Z] drwxrwxr-x. 8 jenkins jenkins 162 Mar 9 15:19 .git [2020-03-09T15:21:22.554Z] drwxrwxr-x. 2 jenkins jenkins 38 Mar 9 15:19 .github [2020-03-09T15:21:22.554Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 9 15:19 .gitignore [2020-03-09T15:21:22.554Z] -rw-r--r--. 1 jenkins jenkins 536 Mar 9 15:21 go.mod [2020-03-09T15:21:22.554Z] -rw-r--r--. 1 jenkins jenkins 11140 Mar 9 15:21 go.sum [2020-03-09T15:21:22.554Z] drwxrwxr-x. 13 jenkins jenkins 176 Mar 9 15:19 internal [2020-03-09T15:21:22.554Z] -rw-rw-r--. 1 jenkins jenkins 808 Mar 9 15:19 Jenkinsfile [2020-03-09T15:21:22.554Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 9 15:19 LICENSE [2020-03-09T15:21:22.554Z] -rw-rw-r--. 1 jenkins jenkins 892 Mar 9 15:19 Makefile [2020-03-09T15:21:22.554Z] -rw-rw-r--. 1 jenkins jenkins 4352 Mar 9 15:19 manageddevices.go [2020-03-09T15:21:22.554Z] -rw-rw-r--. 1 jenkins jenkins 5473 Mar 9 15:19 managedprofiles.go [2020-03-09T15:21:22.554Z] -rw-rw-r--. 1 jenkins jenkins 3878 Mar 9 15:19 managedwatchers.go [2020-03-09T15:21:22.554Z] drwxrwxr-x. 4 jenkins jenkins 35 Mar 9 15:19 pkg [2020-03-09T15:21:22.554Z] -rw-rw-r--. 1 jenkins jenkins 761 Mar 9 15:19 README.md [2020-03-09T15:21:22.554Z] drwxrwxr-x. 3 jenkins jenkins 72 Mar 9 15:19 .semver [2020-03-09T15:21:22.554Z] -rw-rw-r--. 1 jenkins jenkins 9817 Mar 9 15:19 service.go [2020-03-09T15:21:22.554Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 9 15:19 snap [2020-03-09T15:21:22.554Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 9 15:17 VERSION [2020-03-09T15:21:22.554Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 9 15:19 version.go [Pipeline] isUnix [Pipeline] sh [2020-03-09T15:21:22.879Z] + 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=e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb --label arch=amd64 --label version=0.0.0 . [2020-03-09T15:21:22.880Z] Sending build context to Docker daemon 2.799MB [2020-03-09T15:21:22.880Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-03-09T15:21:22.880Z] Step 2/20 : FROM ${BASE} AS builder [2020-03-09T15:21:23.140Z] ---> ee1fbab31295 [2020-03-09T15:21:23.141Z] Step 3/20 : ARG MAKE='make build' [2020-03-09T15:21:23.141Z] ---> Running in 3f6ca494d407 [2020-03-09T15:21:23.141Z] Removing intermediate container 3f6ca494d407 [2020-03-09T15:21:23.141Z] ---> 209b4af2c9f2 [2020-03-09T15:21:23.141Z] Step 4/20 : WORKDIR /device-sdk-go [2020-03-09T15:21:23.141Z] ---> Running in 004aa7415c24 [2020-03-09T15:21:23.399Z] Removing intermediate container 004aa7415c24 [2020-03-09T15:21:23.400Z] ---> c789ff7477f5 [2020-03-09T15:21:23.400Z] Step 5/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T15:21:23.400Z] ---> Running in 7fff42473989 [2020-03-09T15:21:23.658Z] Removing intermediate container 7fff42473989 [2020-03-09T15:21:23.658Z] ---> 6c3ad8fad2bb [2020-03-09T15:21:23.658Z] Step 6/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-03-09T15:21:23.658Z] ---> Running in d627888e05a2 [2020-03-09T15:21:24.244Z] Removing intermediate container d627888e05a2 [2020-03-09T15:21:24.244Z] ---> 11bd283066d5 [2020-03-09T15:21:24.244Z] Step 7/20 : RUN apk add --update --no-cache make git [2020-03-09T15:21:24.244Z] ---> Running in 9488c5104cd1 [2020-03-09T15:21:24.813Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-09T15:21:25.380Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-09T15:21:25.638Z] OK: 143 MiB in 39 packages [2020-03-09T15:21:25.897Z] Removing intermediate container 9488c5104cd1 [2020-03-09T15:21:25.897Z] ---> 11a0e16536f4 [2020-03-09T15:21:25.897Z] Step 8/20 : COPY . . [2020-03-09T15:21:26.466Z] ---> d34713a96595 [2020-03-09T15:21:26.466Z] Step 9/20 : RUN ${MAKE} [2020-03-09T15:21:26.466Z] ---> Running in fb0c8d29c521 [2020-03-09T15:21:26.725Z] 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-09T15:21:39.024Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-03-09T15:21:43.267Z] Removing intermediate container fb0c8d29c521 [2020-03-09T15:21:43.267Z] ---> 51ddeffb7060 [2020-03-09T15:21:43.267Z] Step 10/20 : FROM scratch [2020-03-09T15:21:43.267Z] ---> [2020-03-09T15:21:43.267Z] Step 11/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-03-09T15:21:43.267Z] ---> Running in bacc90b14885 [2020-03-09T15:21:43.267Z] Removing intermediate container bacc90b14885 [2020-03-09T15:21:43.267Z] ---> 3aec2c575552 [2020-03-09T15:21:43.267Z] Step 12/20 : ENV APP_PORT=49990 [2020-03-09T15:21:43.267Z] ---> Running in b2aec61eb285 [2020-03-09T15:21:43.267Z] Removing intermediate container b2aec61eb285 [2020-03-09T15:21:43.267Z] ---> aab17b9ed25c [2020-03-09T15:21:43.267Z] Step 13/20 : EXPOSE $APP_PORT [2020-03-09T15:21:43.267Z] ---> Running in d6c468d46191 [2020-03-09T15:21:43.267Z] Removing intermediate container d6c468d46191 [2020-03-09T15:21:43.267Z] ---> ef7246bc6d2b [2020-03-09T15:21:43.267Z] Step 14/20 : WORKDIR / [2020-03-09T15:21:43.527Z] ---> Running in fb9cfb5e28c2 [2020-03-09T15:21:43.527Z] Removing intermediate container fb9cfb5e28c2 [2020-03-09T15:21:43.527Z] ---> 451fa6f412c1 [2020-03-09T15:21:43.527Z] Step 15/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-03-09T15:21:44.096Z] ---> 403b232f5f7d [2020-03-09T15:21:44.096Z] Step 16/20 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/docker/configuration.toml /res/docker/configuration.toml [2020-03-09T15:21:44.096Z] ---> 93911f0b58db [2020-03-09T15:21:44.096Z] Step 17/20 : CMD [ "/usr/local/bin/device-simple","--profile=docker","--confdir=/res"] [2020-03-09T15:21:44.356Z] ---> Running in 98cf4e71d898 [2020-03-09T15:21:44.356Z] Removing intermediate container 98cf4e71d898 [2020-03-09T15:21:44.356Z] ---> 4187bf16566f [2020-03-09T15:21:44.356Z] Step 18/20 : LABEL arch=amd64 [2020-03-09T15:21:44.356Z] ---> Running in c8e991b5231b [2020-03-09T15:21:44.615Z] Removing intermediate container c8e991b5231b [2020-03-09T15:21:44.615Z] ---> 7a471903acef [2020-03-09T15:21:44.615Z] Step 19/20 : LABEL git_sha=e9888ab3ea31b7b01b70d4eb0b98ba99a710f4cb [2020-03-09T15:21:44.615Z] ---> Running in 71e7ebdfada2 [2020-03-09T15:21:44.615Z] Removing intermediate container 71e7ebdfada2 [2020-03-09T15:21:44.615Z] ---> c4d3472e4f0f [2020-03-09T15:21:44.615Z] Step 20/20 : LABEL version=0.0.0 [2020-03-09T15:21:44.874Z] ---> Running in 08e3e2635a15 [2020-03-09T15:21:44.874Z] Removing intermediate container 08e3e2635a15 [2020-03-09T15:21:44.874Z] ---> ed37abc6428f [2020-03-09T15:21:44.874Z] [Warning] One or more build-args [ARCH] were not consumed [2020-03-09T15:21:44.874Z] Successfully built ed37abc6428f [2020-03-09T15:21:44.874Z] 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-09T16:32:21.177Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5151 in /w/workspace/vice-sdk-go_revert-458-issue-457 [Pipeline] { [Pipeline] ws [2020-03-09T16:32:21.252Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-09T16:32:22.902Z] ========================================================= [2020-03-09T16:32:22.903Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-09T16:32:22.903Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-09T16:32:25.591Z] + 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-09T16:32:26.598Z] unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /w/workspace/device-sdk-go/1/Dockerfile.build: no such file or directory [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-03-09T16:32:28.163Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [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-09T16:32:30.412Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T16:32:30.762Z] ---> package-listing.sh [2020-03-09T16:32:30.762Z] ++ facter osfamily [2020-03-09T16:32:30.762Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-09T16:32:30.762Z] + OS_FAMILY=redhat [2020-03-09T16:32:30.762Z] + workspace=/w/workspace/vice-sdk-go_revert-458-issue-457 [2020-03-09T16:32:30.762Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-09T16:32:30.762Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-09T16:32:30.762Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-09T16:32:30.762Z] + PACKAGES=/tmp/packages_start.txt [2020-03-09T16:32:30.762Z] + '[' /w/workspace/vice-sdk-go_revert-458-issue-457 ']' [2020-03-09T16:32:30.762Z] + PACKAGES=/tmp/packages_end.txt [2020-03-09T16:32:30.762Z] + case "${OS_FAMILY}" in [2020-03-09T16:32:30.762Z] + rpm -qa [2020-03-09T16:32:30.762Z] + sort [2020-03-09T16:32:34.955Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-09T16:32:34.955Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-09T16:32:34.955Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-09T16:32:34.955Z] + '[' /w/workspace/vice-sdk-go_revert-458-issue-457 ']' [2020-03-09T16:32:34.955Z] + mkdir -p /w/workspace/vice-sdk-go_revert-458-issue-457/archives/ [2020-03-09T16:32:34.955Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/vice-sdk-go_revert-458-issue-457/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-09T16:32:35.477Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-09T16:32:35.478Z] [2020-03-09T16:32:35.478Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-09T16:32:35.861Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-09T16:32:35.861Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-09T16:32:35.861Z] c9b1b535fdd9: Pulling fs layer [2020-03-09T16:32:35.861Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-09T16:32:35.861Z] 756a868c4378: Pulling fs layer [2020-03-09T16:32:35.861Z] 444b2fc9a129: Pulling fs layer [2020-03-09T16:32:35.861Z] ea15f1150254: Pulling fs layer [2020-03-09T16:32:35.861Z] 41b27a9f41bf: Pulling fs layer [2020-03-09T16:32:35.861Z] 28c525ee5125: Pulling fs layer [2020-03-09T16:32:35.861Z] 094b1ea09ed8: Pulling fs layer [2020-03-09T16:32:35.861Z] 138eaada9080: Pulling fs layer [2020-03-09T16:32:35.861Z] 0622d0fa9048: Pulling fs layer [2020-03-09T16:32:35.861Z] ea15f1150254: Waiting [2020-03-09T16:32:35.861Z] 41b27a9f41bf: Waiting [2020-03-09T16:32:35.861Z] 28c525ee5125: Waiting [2020-03-09T16:32:35.861Z] 094b1ea09ed8: Waiting [2020-03-09T16:32:35.861Z] 138eaada9080: Waiting [2020-03-09T16:32:35.861Z] 0622d0fa9048: Waiting [2020-03-09T16:32:35.861Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-09T16:32:35.861Z] 2cc5ad85d9ab: Download complete [2020-03-09T16:32:36.133Z] 444b2fc9a129: Verifying Checksum [2020-03-09T16:32:36.133Z] 444b2fc9a129: Download complete [2020-03-09T16:32:36.133Z] c9b1b535fdd9: Verifying Checksum [2020-03-09T16:32:36.133Z] c9b1b535fdd9: Download complete [2020-03-09T16:32:36.133Z] ea15f1150254: Verifying Checksum [2020-03-09T16:32:36.133Z] ea15f1150254: Download complete [2020-03-09T16:32:36.404Z] 28c525ee5125: Verifying Checksum [2020-03-09T16:32:36.404Z] 28c525ee5125: Download complete [2020-03-09T16:32:36.404Z] c9b1b535fdd9: Pull complete [2020-03-09T16:32:36.685Z] 2cc5ad85d9ab: Pull complete [2020-03-09T16:32:36.685Z] 756a868c4378: Verifying Checksum [2020-03-09T16:32:36.685Z] 756a868c4378: Download complete [2020-03-09T16:32:36.959Z] 094b1ea09ed8: Verifying Checksum [2020-03-09T16:32:36.959Z] 094b1ea09ed8: Download complete [2020-03-09T16:32:36.959Z] 138eaada9080: Verifying Checksum [2020-03-09T16:32:36.959Z] 138eaada9080: Download complete [2020-03-09T16:32:36.959Z] 0622d0fa9048: Verifying Checksum [2020-03-09T16:32:36.959Z] 0622d0fa9048: Download complete [2020-03-09T16:32:37.536Z] 41b27a9f41bf: Verifying Checksum [2020-03-09T16:32:37.536Z] 41b27a9f41bf: Download complete [2020-03-09T16:32:38.483Z] 756a868c4378: Pull complete [2020-03-09T16:32:38.483Z] 444b2fc9a129: Pull complete [2020-03-09T16:32:38.744Z] ea15f1150254: Pull complete [2020-03-09T16:32:42.950Z] 41b27a9f41bf: Pull complete [2020-03-09T16:32:43.211Z] 28c525ee5125: Pull complete [2020-03-09T16:32:46.518Z] 094b1ea09ed8: Pull complete [2020-03-09T16:32:46.518Z] 138eaada9080: Pull complete [2020-03-09T16:32:46.518Z] 0622d0fa9048: Pull complete [2020-03-09T16:32:46.518Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-09T16:32:46.518Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-09T16:32:46.726Z] prd-centos7-docker-4c-2g-3708 does not seem to be running inside a container [2020-03-09T16:32:46.771Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/vice-sdk-go_revert-458-issue-457 -v /w/workspace/vice-sdk-go_revert-458-issue-457:/w/workspace/vice-sdk-go_revert-458-issue-457:rw,z -v /w/workspace/vice-sdk-go_revert-458-issue-457@tmp:/w/workspace/vice-sdk-go_revert-458-issue-457@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-09T16:32:47.468Z] $ docker top cb8151e51b42e604ef97953e2e3d52e97294f547229b10962022ae4b41b65937 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-09T16:32:48.335Z] provisioning config files... [2020-03-09T16:32:48.350Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/vice-sdk-go_revert-458-issue-457@tmp/config6774492636063944406tmp [Pipeline] { [Pipeline] echo [2020-03-09T16:32:48.438Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T16:32:48.760Z] ---> create-netrc.sh [Pipeline] echo [2020-03-09T16:32:48.787Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-09T16:32:49.104Z] ---> logs-deploy.sh [2020-03-09T16:32:49.104Z] + ARCHIVE_ARTIFACTS= [2020-03-09T16:32:49.104Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-09T16:32:49.104Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-09T16:32:49.104Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-09T16:32:49.104Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/revert-458-issue-457/1 [2020-03-09T16:32:49.104Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/revert-458-issue-457/1/ [2020-03-09T16:32:49.104Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/revert-458-issue-457/1 /w/workspace/vice-sdk-go_revert-458-issue-457 [2020-03-09T16:32:51.639Z] Archives upload complete. [2020-03-09T16:32:51.639Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/revert-458-issue-457/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/revert-458-issue-457/1/