Pull request #536 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ada00874e8d721bd0a5d9189d642e78d0512fd6f+3a565b71685442c2ff1ef3a41526fe46f740cbbe (860b22965929e6fd10ba64950d31bcda84bf27dd) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2533 in /w/workspace/dgexfoundry_device-sdk-go_PR-536 [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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-536 # 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/536/head:refs/remotes/origin/PR-536 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/536/head:refs/remotes/origin/PR-536 # 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/536/head:refs/remotes/origin/PR-536 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3a565b71685442c2ff1ef3a41526fe46f740cbbe into PR head commit ada00874e8d721bd0a5d9189d642e78d0512fd6f Merge succeeded, producing ada00874e8d721bd0a5d9189d642e78d0512fd6f Checking out Revision ada00874e8d721bd0a5d9189d642e78d0512fd6f (PR-536) > git config core.sparsecheckout # timeout=10 > git checkout -f ada00874e8d721bd0a5d9189d642e78d0512fd6f # 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 3a565b71685442c2ff1ef3a41526fe46f740cbbe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ada00874e8d721bd0a5d9189d642e78d0512fd6f # timeout=10 Commit message: "Update go-mod-bootstrap version and increase device-simple timeout" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-11T03:44:29.296Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-11T03:44:29.404Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-11T03:44:29.443Z] ========================================================= [2020-06-11T03:44:29.443Z] EdgeX Global Pipelines Version Info [2020-06-11T03:44:29.443Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f0d03bfb6530324afd54d83f0a15ae6fd4719453 # timeout=10 [2020-06-11T03:44:31.312Z] ------------------- [2020-06-11T03:44:31.312Z] stable info: [2020-06-11T03:44:31.312Z] ------------------- [2020-06-11T03:44:31.313Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-11T03:44:31.313Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-11T03:44:31.313Z] Message: update stable to v1.0.89 [2020-06-11T03:44:31.884Z] ------------------- [2020-06-11T03:44:31.884Z] experimental info: [2020-06-11T03:44:31.884Z] ------------------- [2020-06-11T03:44:31.884Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-11T03:44:31.884Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-11T03:44:31.884Z] Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-06-11T03:44:33.108Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-11T03:44:33.368Z] [2020-06-11T03:44:33.368Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-11T03:44:33.694Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-11T03:44:33.694Z] latest: Pulling from edgex-devops/git-semver [2020-06-11T03:44:33.694Z] 9123ac7c32f7: Pulling fs layer [2020-06-11T03:44:33.694Z] b8cc5d1170e3: Pulling fs layer [2020-06-11T03:44:33.694Z] 2924cbbf6a41: Pulling fs layer [2020-06-11T03:44:33.694Z] 93b08a4f1073: Pulling fs layer [2020-06-11T03:44:33.694Z] 93b08a4f1073: Waiting [2020-06-11T03:44:33.694Z] b8cc5d1170e3: Verifying Checksum [2020-06-11T03:44:33.694Z] b8cc5d1170e3: Download complete [2020-06-11T03:44:33.694Z] 9123ac7c32f7: Verifying Checksum [2020-06-11T03:44:33.694Z] 9123ac7c32f7: Download complete [2020-06-11T03:44:33.958Z] 93b08a4f1073: Verifying Checksum [2020-06-11T03:44:33.958Z] 93b08a4f1073: Download complete [2020-06-11T03:44:33.958Z] 2924cbbf6a41: Verifying Checksum [2020-06-11T03:44:33.958Z] 2924cbbf6a41: Download complete [2020-06-11T03:44:33.958Z] 9123ac7c32f7: Pull complete [2020-06-11T03:44:34.219Z] b8cc5d1170e3: Pull complete [2020-06-11T03:44:34.796Z] 2924cbbf6a41: Pull complete [2020-06-11T03:44:35.058Z] 93b08a4f1073: Pull complete [2020-06-11T03:44:35.058Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-11T03:44:35.058Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-11T03:44:35.058Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-11T03:44:35.164Z] prd-centos7-docker-4c-2g-2533 does not seem to be running inside a container [2020-06-11T03:44:35.208Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-536 -v /w/workspace/dgexfoundry_device-sdk-go_PR-536:/w/workspace/dgexfoundry_device-sdk-go_PR-536:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-11T03:44:37.384Z] $ docker top a173905541d6641411c995c35bac3c1c92f9dbb992d62f35953f4c076e37b03e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-11T03:44:37.553Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-11T03:44:37.553Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-11T03:44:37.722Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-11T03:44:37.728Z] $ docker exec a173905541d6641411c995c35bac3c1c92f9dbb992d62f35953f4c076e37b03e ssh-agent [2020-06-11T03:44:37.874Z] SSH_AUTH_SOCK=/tmp/ssh-WAzyHk1fG2jN/agent.11 [2020-06-11T03:44:37.874Z] SSH_AGENT_PID=16 [2020-06-11T03:44:37.886Z] Running ssh-add (command line suppressed) [2020-06-11T03:44:38.006Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp/private_key_861275202884514155.key (/w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp/private_key_861275202884514155.key) [2020-06-11T03:44:38.051Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-11T03:44:38.365Z] + git describe --exact-match --tags HEAD [2020-06-11T03:44:38.366Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-11T03:44:38.422Z] $ docker exec --env ******** --env ******** a173905541d6641411c995c35bac3c1c92f9dbb992d62f35953f4c076e37b03e ssh-agent -k [2020-06-11T03:44:38.534Z] unset SSH_AUTH_SOCK; [2020-06-11T03:44:38.534Z] unset SSH_AGENT_PID; [2020-06-11T03:44:38.534Z] echo Agent pid 16 killed; [2020-06-11T03:44:38.572Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-11T03:44:38.612Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-11T03:44:38.612Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-11T03:44:38.658Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-11T03:44:38.658Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-11T03:44:38.813Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-11T03:44:38.820Z] $ docker exec a173905541d6641411c995c35bac3c1c92f9dbb992d62f35953f4c076e37b03e ssh-agent [2020-06-11T03:44:38.958Z] SSH_AUTH_SOCK=/tmp/ssh-waXcW5DT2cjy/agent.47 [2020-06-11T03:44:38.959Z] SSH_AGENT_PID=52 [2020-06-11T03:44:38.965Z] Running ssh-add (command line suppressed) [2020-06-11T03:44:39.076Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp/private_key_932004891954588220.key (/w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp/private_key_932004891954588220.key) [2020-06-11T03:44:39.118Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-11T03:44:39.421Z] + git semver init [2020-06-11T03:44:39.421Z] # -> Open(): unable to determine branch for HEAD [2020-06-11T03:44:39.421Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-536/.git [2020-06-11T03:44:39.421Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-536 [2020-06-11T03:44:39.421Z] # $SEMVER_REMOTE_NAME = origin [2020-06-11T03:44:39.421Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-11T03:44:39.421Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-11T03:44:39.421Z] # $SEMVER_BRANCH = PR-536 [2020-06-11T03:44:39.421Z] # $SEMVER_TEMP = /tmp/semver-773511684 [2020-06-11T03:44:39.421Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-06-11T03:44:39.991Z] # '/tmp/semver-773511684' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-536/.semver' [2020-06-11T03:44:39.991Z] # -> Force: false [2020-06-11T03:44:39.991Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-536/.semver [Pipeline] } [2020-06-11T03:44:40.005Z] $ docker exec --env ******** --env ******** a173905541d6641411c995c35bac3c1c92f9dbb992d62f35953f4c076e37b03e ssh-agent -k [2020-06-11T03:44:40.117Z] unset SSH_AUTH_SOCK; [2020-06-11T03:44:40.117Z] unset SSH_AGENT_PID; [2020-06-11T03:44:40.117Z] echo Agent pid 52 killed; [2020-06-11T03:44:40.157Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-11T03:44:40.522Z] + git semver [Pipeline] } [2020-06-11T03:44:40.549Z] $ docker stop --time=1 a173905541d6641411c995c35bac3c1c92f9dbb992d62f35953f4c076e37b03e [2020-06-11T03:44:42.127Z] $ docker rm -f a173905541d6641411c995c35bac3c1c92f9dbb992d62f35953f4c076e37b03e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-11T03:44:42.873Z] Stashed 67 file(s) [Pipeline] echo [2020-06-11T03:44:42.875Z] [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-06-11T03:44:58.036Z] Still waiting to schedule task [2020-06-11T03:44:58.036Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-06-11T03:44:58.038Z] Still waiting to schedule task [2020-06-11T03:44:58.038Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-06-11T03:46:13.262Z] Running on prd-centos7-docker-4c-2g-2535 in /w/workspace/dgexfoundry_device-sdk-go_PR-536 [Pipeline] { [Pipeline] ws [2020-06-11T03:46:13.289Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-06-11T03:46:15.780Z] using credential edgex-jenkins-ssh [2020-06-11T03:46:15.807Z] Cloning the remote Git repository [2020-06-11T03:46:15.807Z] Cloning with configured refspecs honoured and without tags [2020-06-11T03:46:16.619Z] Fetching without tags [2020-06-11T03:46:15.840Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-06-11T03:46:15.912Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-06-11T03:46:15.984Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-11T03:46:15.985Z] > git --version # timeout=10 [2020-06-11T03:46:15.992Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T03:46:16.027Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/536/head:refs/remotes/origin/PR-536 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T03:46:16.588Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-11T03:46:16.595Z] > git config --add remote.origin.fetch +refs/pull/536/head:refs/remotes/origin/PR-536 # timeout=10 [2020-06-11T03:46:16.605Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T03:46:16.618Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-11T03:46:16.630Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-11T03:46:16.631Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T03:46:16.636Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/536/head:refs/remotes/origin/PR-536 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T03:46:17.011Z] Merging remotes/origin/master commit 3a565b71685442c2ff1ef3a41526fe46f740cbbe into PR head commit ada00874e8d721bd0a5d9189d642e78d0512fd6f [2020-06-11T03:46:17.106Z] Merge succeeded, producing ada00874e8d721bd0a5d9189d642e78d0512fd6f [2020-06-11T03:46:17.107Z] Checking out Revision ada00874e8d721bd0a5d9189d642e78d0512fd6f (PR-536) [2020-06-11T03:46:17.027Z] > git config core.sparsecheckout # timeout=10 [2020-06-11T03:46:17.036Z] > git checkout -f ada00874e8d721bd0a5d9189d642e78d0512fd6f # timeout=10 [2020-06-11T03:46:17.083Z] > git remote # timeout=10 [2020-06-11T03:46:17.090Z] > git config --get remote.origin.url # timeout=10 [2020-06-11T03:46:17.094Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T03:46:17.098Z] > git merge 3a565b71685442c2ff1ef3a41526fe46f740cbbe # timeout=10 [2020-06-11T03:46:17.107Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-11T03:46:17.117Z] > git config core.sparsecheckout # timeout=10 [2020-06-11T03:46:17.123Z] > git checkout -f ada00874e8d721bd0a5d9189d642e78d0512fd6f # timeout=10 [2020-06-11T03:46:20.938Z] Commit message: "Update go-mod-bootstrap version and increase device-simple timeout" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-11T03:46:21.890Z] ========================================================= [2020-06-11T03:46:21.890Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-06-11T03:46:21.890Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-11T03:46:23.308Z] + 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-06-11T03:46:23.580Z] Sending build context to Docker daemon 3.069MB [2020-06-11T03:46:23.580Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-06-11T03:46:23.580Z] Step 2/8 : FROM ${BASE} [2020-06-11T03:46:23.849Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-06-11T03:46:23.849Z] e6b0cf9c0882: Pulling fs layer [2020-06-11T03:46:23.849Z] 2848faf0eed1: Pulling fs layer [2020-06-11T03:46:23.849Z] 0f37312ad70f: Pulling fs layer [2020-06-11T03:46:23.849Z] 5788d62ee057: Pulling fs layer [2020-06-11T03:46:23.849Z] 0e6b1d234666: Pulling fs layer [2020-06-11T03:46:23.849Z] bf5d7aec512f: Pulling fs layer [2020-06-11T03:46:23.849Z] 34c802a77dc8: Pulling fs layer [2020-06-11T03:46:23.849Z] 9eb99e56ec68: Pulling fs layer [2020-06-11T03:46:23.849Z] 27c7a5d97fbd: Pulling fs layer [2020-06-11T03:46:23.849Z] 5c102a31e300: Pulling fs layer [2020-06-11T03:46:23.849Z] dcfb455df0a1: Pulling fs layer [2020-06-11T03:46:23.849Z] 34c802a77dc8: Waiting [2020-06-11T03:46:23.849Z] 9eb99e56ec68: Waiting [2020-06-11T03:46:23.849Z] 27c7a5d97fbd: Waiting [2020-06-11T03:46:23.849Z] 5c102a31e300: Waiting [2020-06-11T03:46:23.849Z] dcfb455df0a1: Waiting [2020-06-11T03:46:23.849Z] 5788d62ee057: Waiting [2020-06-11T03:46:23.849Z] 0e6b1d234666: Waiting [2020-06-11T03:46:23.849Z] bf5d7aec512f: Waiting [2020-06-11T03:46:23.849Z] 0f37312ad70f: Verifying Checksum [2020-06-11T03:46:23.849Z] 0f37312ad70f: Download complete [2020-06-11T03:46:23.849Z] 2848faf0eed1: Verifying Checksum [2020-06-11T03:46:23.849Z] 2848faf0eed1: Download complete [2020-06-11T03:46:23.849Z] 0e6b1d234666: Verifying Checksum [2020-06-11T03:46:23.849Z] 0e6b1d234666: Download complete [2020-06-11T03:46:23.849Z] bf5d7aec512f: Download complete [2020-06-11T03:46:23.849Z] e6b0cf9c0882: Verifying Checksum [2020-06-11T03:46:23.849Z] e6b0cf9c0882: Download complete [2020-06-11T03:46:24.430Z] e6b0cf9c0882: Pull complete [2020-06-11T03:46:24.697Z] 34c802a77dc8: Verifying Checksum [2020-06-11T03:46:24.697Z] 34c802a77dc8: Download complete [2020-06-11T03:46:24.697Z] 27c7a5d97fbd: Verifying Checksum [2020-06-11T03:46:24.697Z] 27c7a5d97fbd: Download complete [2020-06-11T03:46:25.298Z] 5c102a31e300: Verifying Checksum [2020-06-11T03:46:25.298Z] 5c102a31e300: Download complete [2020-06-11T03:46:25.298Z] dcfb455df0a1: Verifying Checksum [2020-06-11T03:46:25.298Z] dcfb455df0a1: Download complete [2020-06-11T03:46:25.565Z] 5788d62ee057: Verifying Checksum [2020-06-11T03:46:25.565Z] 5788d62ee057: Download complete [2020-06-11T03:46:25.565Z] 9eb99e56ec68: Download complete [2020-06-11T03:46:26.507Z] 2848faf0eed1: Pull complete [2020-06-11T03:46:26.770Z] 0f37312ad70f: Pull complete [2020-06-11T03:46:33.398Z] 5788d62ee057: Pull complete [2020-06-11T03:46:33.398Z] 0e6b1d234666: Pull complete [2020-06-11T03:46:33.398Z] bf5d7aec512f: Pull complete [2020-06-11T03:46:36.708Z] 34c802a77dc8: Pull complete [2020-06-11T03:46:40.017Z] 9eb99e56ec68: Pull complete [2020-06-11T03:46:40.017Z] 27c7a5d97fbd: Pull complete [2020-06-11T03:46:40.963Z] 5c102a31e300: Pull complete [2020-06-11T03:46:40.963Z] dcfb455df0a1: Pull complete [2020-06-11T03:46:40.963Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-06-11T03:46:40.963Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-06-11T03:46:40.963Z] ---> 7c70fe431013 [2020-06-11T03:46:40.963Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-11T03:46:42.358Z] ---> Running in 3b74663aba5c [2020-06-11T03:46:42.620Z] Removing intermediate container 3b74663aba5c [2020-06-11T03:46:42.620Z] ---> a098a1ebbf91 [2020-06-11T03:46:42.620Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-11T03:46:42.620Z] ---> Running in e30736af36fd [2020-06-11T03:46:44.014Z] Removing intermediate container e30736af36fd [2020-06-11T03:46:44.014Z] ---> 6ec799c01c66 [2020-06-11T03:46:44.014Z] Step 5/8 : RUN apk add --no-cache make git [2020-06-11T03:46:44.014Z] ---> Running in 852a286e15a0 [2020-06-11T03:46:44.589Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-11T03:46:45.532Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-11T03:46:45.794Z] OK: 143 MiB in 39 packages [2020-06-11T03:46:46.369Z] Removing intermediate container 852a286e15a0 [2020-06-11T03:46:46.369Z] ---> a47417706996 [2020-06-11T03:46:46.369Z] Step 6/8 : WORKDIR /device-sdk-go [2020-06-11T03:46:46.369Z] ---> Running in 596be62a23af [2020-06-11T03:46:46.631Z] Removing intermediate container 596be62a23af [2020-06-11T03:46:46.631Z] ---> d875adf575b9 [2020-06-11T03:46:46.631Z] Step 7/8 : COPY . . [2020-06-11T03:46:48.029Z] ---> 99318e7e6b28 [2020-06-11T03:46:48.029Z] Step 8/8 : RUN go mod download [2020-06-11T03:46:48.029Z] ---> Running in e235df19a5ac [2020-06-11T03:46:49.961Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-11T03:46:49.961Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-11T03:46:49.961Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-11T03:46:49.961Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-11T03:46:49.961Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-11T03:46:49.961Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-11T03:46:49.961Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-11T03:46:49.961Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-11T03:46:49.961Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-11T03:46:49.961Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-11T03:46:49.961Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-11T03:46:49.961Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-11T03:46:49.961Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-11T03:46:49.961Z] go: finding github.com/fatih/color v1.7.0 [2020-06-11T03:46:49.961Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-11T03:46:49.961Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-11T03:46:49.961Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-11T03:46:49.961Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-11T03:46:49.961Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-11T03:46:49.961Z] go: finding github.com/google/uuid v1.1.0 [2020-06-11T03:46:49.961Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-11T03:46:49.961Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-11T03:46:49.961Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-11T03:46:49.961Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-11T03:46:49.961Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-11T03:46:49.961Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-11T03:46:49.961Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-11T03:46:49.961Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-11T03:46:50.224Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-11T03:46:50.224Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-11T03:46:50.224Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-11T03:46:50.225Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-11T03:46:50.225Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-11T03:46:50.225Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-11T03:46:50.225Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-11T03:46:50.225Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-11T03:46:50.225Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-11T03:46:50.225Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-11T03:46:50.225Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-11T03:46:50.225Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-11T03:46:50.225Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-11T03:46:50.225Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-11T03:46:50.225Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-11T03:46:50.225Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-11T03:46:50.225Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-11T03:46:50.225Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-11T03:46:50.225Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-11T03:46:50.225Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-11T03:46:50.225Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-11T03:46:50.225Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-11T03:46:50.225Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-11T03:46:50.225Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-11T03:46:50.225Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-11T03:46:50.225Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-11T03:46:50.225Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-11T03:46:50.225Z] go: finding github.com/posener/complete v1.1.1 [2020-06-11T03:46:50.225Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-11T03:46:50.225Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-11T03:46:50.225Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-11T03:46:50.225Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-11T03:46:50.225Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-11T03:46:50.225Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-11T03:46:50.225Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-11T03:46:50.489Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-11T03:46:50.489Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-11T03:46:50.489Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-11T03:46:50.489Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-11T03:46:50.489Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-11T03:46:58.656Z] Removing intermediate container e235df19a5ac [2020-06-11T03:46:58.656Z] ---> e359fd9467fd [2020-06-11T03:46:58.656Z] Successfully built e359fd9467fd [2020-06-11T03:46:58.656Z] 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-06-11T03:46:59.259Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-11T03:46:59.259Z] . [Pipeline] withDockerContainer [2020-06-11T03:46:59.357Z] prd-centos7-docker-4c-2g-2535 does not seem to be running inside a container [2020-06-11T03:46:59.405Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-06-11T03:47:00.496Z] $ docker top 9e055c656585d7d004fd90bbc816e947b548846fa4d712c19c6bb9f075ed83e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-11T03:47:00.928Z] + go version [2020-06-11T03:47:00.928Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-06-11T03:47:01.239Z] + make test [2020-06-11T03:47:01.239Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-11T03:47:02.195Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-06-11T03:47:07.991Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2536 in /w/workspace/dgexfoundry_device-sdk-go_PR-536 [Pipeline] { [Pipeline] ws [2020-06-11T03:47:08.024Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-06-11T03:47:12.365Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-06-11T03:47:12.366Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-06-11T03:47:12.366Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-06-11T03:47:12.366Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.043s coverage: 22.1% of statements [2020-06-11T03:47:12.710Z] using credential edgex-jenkins-ssh [2020-06-11T03:47:12.742Z] Cloning the remote Git repository [2020-06-11T03:47:12.742Z] Cloning with configured refspecs honoured and without tags [2020-06-11T03:47:12.785Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-06-11T03:47:12.929Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-06-11T03:47:13.032Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-11T03:47:13.032Z] > git --version # timeout=10 [2020-06-11T03:47:13.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T03:47:13.312Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.051s coverage: 95.8% of statements [2020-06-11T03:47:14.157Z] Fetching without tags [2020-06-11T03:47:13.129Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/536/head:refs/remotes/origin/PR-536 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T03:47:14.043Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-11T03:47:14.059Z] > git config --add remote.origin.fetch +refs/pull/536/head:refs/remotes/origin/PR-536 # timeout=10 [2020-06-11T03:47:14.081Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T03:47:14.111Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-06-11T03:47:14.142Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-06-11T03:47:14.143Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T03:47:14.156Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/536/head:refs/remotes/origin/PR-536 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T03:47:14.612Z] Merging remotes/origin/master commit 3a565b71685442c2ff1ef3a41526fe46f740cbbe into PR head commit ada00874e8d721bd0a5d9189d642e78d0512fd6f [2020-06-11T03:47:14.879Z] Merge succeeded, producing ada00874e8d721bd0a5d9189d642e78d0512fd6f [2020-06-11T03:47:14.879Z] Checking out Revision ada00874e8d721bd0a5d9189d642e78d0512fd6f (PR-536) [2020-06-11T03:47:14.610Z] > git config core.sparsecheckout # timeout=10 [2020-06-11T03:47:14.628Z] > git checkout -f ada00874e8d721bd0a5d9189d642e78d0512fd6f # timeout=10 [2020-06-11T03:47:14.756Z] > git remote # timeout=10 [2020-06-11T03:47:14.775Z] > git config --get remote.origin.url # timeout=10 [2020-06-11T03:47:14.788Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T03:47:14.809Z] > git merge 3a565b71685442c2ff1ef3a41526fe46f740cbbe # timeout=10 [2020-06-11T03:47:14.835Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-11T03:47:14.860Z] > git config core.sparsecheckout # timeout=10 [2020-06-11T03:47:14.872Z] > git checkout -f ada00874e8d721bd0a5d9189d642e78d0512fd6f # timeout=10 [2020-06-11T03:47:19.464Z] Commit message: "Update go-mod-bootstrap version and increase device-simple timeout" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-11T03:47:20.522Z] ========================================================= [2020-06-11T03:47:20.522Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-06-11T03:47:20.522Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-11T03:47:21.496Z] + 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-06-11T03:47:22.503Z] Sending build context to Docker daemon 3.071MB [2020-06-11T03:47:22.503Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-06-11T03:47:22.503Z] Step 2/8 : FROM ${BASE} [2020-06-11T03:47:22.777Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-06-11T03:47:22.777Z] cde5963f3b93: Pulling fs layer [2020-06-11T03:47:22.777Z] 2a23fa8c16f7: Pulling fs layer [2020-06-11T03:47:22.777Z] 777b28850792: Pulling fs layer [2020-06-11T03:47:22.777Z] 8a11ddd9e578: Pulling fs layer [2020-06-11T03:47:22.777Z] 4cf88f913ddb: Pulling fs layer [2020-06-11T03:47:22.777Z] 1df406cf5192: Pulling fs layer [2020-06-11T03:47:22.777Z] cd6300453558: Pulling fs layer [2020-06-11T03:47:22.777Z] b9c365052c96: Pulling fs layer [2020-06-11T03:47:22.777Z] a2d8cc88f415: Pulling fs layer [2020-06-11T03:47:22.777Z] ea1d1ca13537: Pulling fs layer [2020-06-11T03:47:22.777Z] 3750a50a1c5e: Pulling fs layer [2020-06-11T03:47:22.777Z] 8a11ddd9e578: Waiting [2020-06-11T03:47:22.777Z] 4cf88f913ddb: Waiting [2020-06-11T03:47:22.777Z] 1df406cf5192: Waiting [2020-06-11T03:47:22.777Z] cd6300453558: Waiting [2020-06-11T03:47:22.777Z] b9c365052c96: Waiting [2020-06-11T03:47:22.777Z] a2d8cc88f415: Waiting [2020-06-11T03:47:22.777Z] ea1d1ca13537: Waiting [2020-06-11T03:47:22.777Z] 3750a50a1c5e: Waiting [2020-06-11T03:47:22.777Z] 777b28850792: Verifying Checksum [2020-06-11T03:47:22.777Z] 777b28850792: Download complete [2020-06-11T03:47:22.777Z] 2a23fa8c16f7: Verifying Checksum [2020-06-11T03:47:22.777Z] 2a23fa8c16f7: Download complete [2020-06-11T03:47:22.777Z] 4cf88f913ddb: Verifying Checksum [2020-06-11T03:47:22.777Z] 4cf88f913ddb: Download complete [2020-06-11T03:47:22.777Z] 1df406cf5192: Verifying Checksum [2020-06-11T03:47:22.777Z] 1df406cf5192: Download complete [2020-06-11T03:47:22.777Z] cde5963f3b93: Download complete [2020-06-11T03:47:23.784Z] cde5963f3b93: Pull complete [2020-06-11T03:47:24.453Z] 2a23fa8c16f7: Pull complete [2020-06-11T03:47:24.733Z] 777b28850792: Pull complete [2020-06-11T03:47:25.010Z] cd6300453558: Verifying Checksum [2020-06-11T03:47:25.010Z] cd6300453558: Download complete [2020-06-11T03:47:25.010Z] a2d8cc88f415: Verifying Checksum [2020-06-11T03:47:25.010Z] a2d8cc88f415: Download complete [2020-06-11T03:47:26.447Z] ea1d1ca13537: Verifying Checksum [2020-06-11T03:47:26.447Z] ea1d1ca13537: Download complete [2020-06-11T03:47:26.447Z] 3750a50a1c5e: Verifying Checksum [2020-06-11T03:47:26.447Z] 3750a50a1c5e: Download complete [2020-06-11T03:47:27.883Z] b9c365052c96: Verifying Checksum [2020-06-11T03:47:27.883Z] b9c365052c96: Download complete [2020-06-11T03:47:28.239Z] 8a11ddd9e578: Verifying Checksum [2020-06-11T03:47:28.239Z] 8a11ddd9e578: Download complete [2020-06-11T03:47:40.695Z] 8a11ddd9e578: Pull complete [2020-06-11T03:47:40.695Z] 4cf88f913ddb: Pull complete [2020-06-11T03:47:40.695Z] 1df406cf5192: Pull complete [2020-06-11T03:47:45.013Z] cd6300453558: Pull complete [2020-06-11T03:47:45.489Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.029s coverage: 11.4% of statements [2020-06-11T03:47:45.489Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 21.7% of statements [2020-06-11T03:47:45.489Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-06-11T03:47:45.489Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.059s coverage: 36.9% of statements [2020-06-11T03:47:45.489Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-06-11T03:47:45.489Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-06-11T03:47:45.489Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.300s coverage: 65.2% of statements [2020-06-11T03:47:45.489Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-06-11T03:47:45.489Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-06-11T03:47:45.489Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-06-11T03:47:45.489Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.015s coverage: 52.6% of statements [2020-06-11T03:47:45.489Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-06-11T03:47:45.489Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.100s coverage: 68.9% of statements [2020-06-11T03:47:45.489Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-06-11T03:47:45.489Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-06-11T03:47:45.489Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-11T03:47:45.750Z] gofmt -l . [2020-06-11T03:47:45.750Z] [ "`gofmt -l .`" = "" ] [2020-06-11T03:47:46.012Z] ./bin/test-attribution-txt.sh [2020-06-11T03:47:46.587Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-06-11T03:47:47.140Z] Stashed 1 file(s) [Pipeline] } [2020-06-11T03:47:47.155Z] $ docker stop --time=1 9e055c656585d7d004fd90bbc816e947b548846fa4d712c19c6bb9f075ed83e3 [2020-06-11T03:47:48.644Z] $ docker rm -f 9e055c656585d7d004fd90bbc816e947b548846fa4d712c19c6bb9f075ed83e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-11T03:47:49.344Z] b9c365052c96: Pull complete [2020-06-11T03:47:49.344Z] a2d8cc88f415: Pull complete [2020-06-11T03:47:49.539Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-11T03:47:49.835Z] + ls -al . [2020-06-11T03:47:49.835Z] total 180 [2020-06-11T03:47:49.835Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jun 11 03:47 . [2020-06-11T03:47:49.835Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 11 03:46 .. [2020-06-11T03:47:49.835Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 11 03:46 api [2020-06-11T03:47:49.835Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 11 03:46 bin [2020-06-11T03:47:49.835Z] -rw-r--r--. 1 jenkins jenkins 110877 Jun 11 03:47 coverage.out [2020-06-11T03:47:49.835Z] -rw-rw-r--. 1 jenkins jenkins 936 Jun 11 03:46 Dockerfile.build [2020-06-11T03:47:49.835Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 11 03:46 .dockerignore [2020-06-11T03:47:49.835Z] drwxrwxr-x. 4 jenkins jenkins 48 Jun 11 03:46 example [2020-06-11T03:47:49.835Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 11 03:46 .git [2020-06-11T03:47:49.835Z] drwxrwxr-x. 2 jenkins jenkins 38 Jun 11 03:46 .github [2020-06-11T03:47:49.835Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 11 03:46 .gitignore [2020-06-11T03:47:49.835Z] -rw-r--r--. 1 jenkins jenkins 446 Jun 11 03:47 go.mod [2020-06-11T03:47:49.835Z] -rw-r--r--. 1 jenkins jenkins 12179 Jun 11 03:47 go.sum [2020-06-11T03:47:49.835Z] drwxrwxr-x. 15 jenkins jenkins 217 Jun 11 03:46 internal [2020-06-11T03:47:49.835Z] -rw-rw-r--. 1 jenkins jenkins 808 Jun 11 03:46 Jenkinsfile [2020-06-11T03:47:49.835Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 11 03:46 LICENSE [2020-06-11T03:47:49.835Z] -rw-rw-r--. 1 jenkins jenkins 892 Jun 11 03:46 Makefile [2020-06-11T03:47:49.835Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 11 03:46 pkg [2020-06-11T03:47:49.835Z] -rw-rw-r--. 1 jenkins jenkins 3166 Jun 11 03:46 README.md [2020-06-11T03:47:49.835Z] -rw-rw-r--. 1 jenkins jenkins 3997 Jun 11 03:46 RELEASE-NOTES.txt [2020-06-11T03:47:49.835Z] drwxrwxr-x. 3 jenkins jenkins 58 Jun 11 03:46 .semver [2020-06-11T03:47:49.835Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 11 03:46 snap [2020-06-11T03:47:49.835Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 11 03:44 VERSION [2020-06-11T03:47:49.835Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 11 03:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-11T03:47:50.136Z] + 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=ada00874e8d721bd0a5d9189d642e78d0512fd6f --label arch=amd64 --label version=0.0.0 . [2020-06-11T03:47:50.398Z] Sending build context to Docker daemon 3.197MB [2020-06-11T03:47:50.398Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-06-11T03:47:50.398Z] Step 2/23 : FROM ${BASE} AS builder [2020-06-11T03:47:50.398Z] ---> e359fd9467fd [2020-06-11T03:47:50.398Z] Step 3/23 : ARG MAKE='make build' [2020-06-11T03:47:50.971Z] ---> Running in abf3d66c6b9e [2020-06-11T03:47:50.971Z] Removing intermediate container abf3d66c6b9e [2020-06-11T03:47:50.971Z] ---> 2a5e17fee29a [2020-06-11T03:47:50.971Z] Step 4/23 : WORKDIR /device-sdk-go [2020-06-11T03:47:50.971Z] ---> Running in 650724ed1cb4 [2020-06-11T03:47:51.232Z] Removing intermediate container 650724ed1cb4 [2020-06-11T03:47:51.232Z] ---> 0ed0e3746e1e [2020-06-11T03:47:51.232Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-11T03:47:51.232Z] ---> Running in ae0f485acf0e [2020-06-11T03:47:51.232Z] Removing intermediate container ae0f485acf0e [2020-06-11T03:47:51.232Z] ---> 11258f738744 [2020-06-11T03:47:51.232Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-11T03:47:51.329Z] ea1d1ca13537: Pull complete [2020-06-11T03:47:51.495Z] ---> Running in 71c7329a43f9 [2020-06-11T03:47:51.935Z] 3750a50a1c5e: Pull complete [2020-06-11T03:47:51.935Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-06-11T03:47:51.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-06-11T03:47:51.936Z] ---> 78745c68409d [2020-06-11T03:47:51.936Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-11T03:47:52.068Z] Removing intermediate container 71c7329a43f9 [2020-06-11T03:47:52.068Z] ---> 3d024b72c279 [2020-06-11T03:47:52.068Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-06-11T03:47:52.330Z] ---> Running in 1906e0c8c33a [2020-06-11T03:47:52.905Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-11T03:47:53.477Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-11T03:47:53.738Z] OK: 143 MiB in 39 packages [2020-06-11T03:47:54.310Z] Removing intermediate container 1906e0c8c33a [2020-06-11T03:47:54.310Z] ---> 3ccfe84c7147 [2020-06-11T03:47:54.310Z] Step 8/23 : COPY . . [2020-06-11T03:47:55.253Z] ---> bfba43942027 [2020-06-11T03:47:55.253Z] Step 9/23 : RUN ${MAKE} [2020-06-11T03:47:55.253Z] ---> Running in cf4e8eef2169 [2020-06-11T03:47:55.519Z] 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-06-11T03:47:57.369Z] ---> Running in 3bafa3a2633f [2020-06-11T03:47:57.369Z] Removing intermediate container 3bafa3a2633f [2020-06-11T03:47:57.369Z] ---> 9a74fe291254 [2020-06-11T03:47:57.369Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-11T03:47:57.647Z] ---> Running in b841b9d86f54 [2020-06-11T03:48:00.283Z] Removing intermediate container b841b9d86f54 [2020-06-11T03:48:00.283Z] ---> 2f84e99eaa08 [2020-06-11T03:48:00.283Z] Step 5/8 : RUN apk add --no-cache make git [2020-06-11T03:48:00.283Z] ---> Running in 2802deaf2761 [2020-06-11T03:48:01.715Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-11T03:48:02.685Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-11T03:48:03.271Z] OK: 125 MiB in 39 packages [2020-06-11T03:48:03.771Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-06-11T03:48:04.256Z] Removing intermediate container 2802deaf2761 [2020-06-11T03:48:04.256Z] ---> 19b8123ea1a0 [2020-06-11T03:48:04.256Z] Step 6/8 : WORKDIR /device-sdk-go [2020-06-11T03:48:04.531Z] ---> Running in a6cb0980c7dd [2020-06-11T03:48:05.124Z] Removing intermediate container a6cb0980c7dd [2020-06-11T03:48:05.124Z] ---> 079d78277468 [2020-06-11T03:48:05.124Z] Step 7/8 : COPY . . [2020-06-11T03:48:05.690Z] Removing intermediate container cf4e8eef2169 [2020-06-11T03:48:05.690Z] ---> 107856ca13a8 [2020-06-11T03:48:05.690Z] Step 10/23 : FROM scratch [2020-06-11T03:48:05.690Z] ---> [2020-06-11T03:48:05.690Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-11T03:48:05.690Z] ---> Running in 369a08e316e1 [2020-06-11T03:48:05.690Z] Removing intermediate container 369a08e316e1 [2020-06-11T03:48:05.690Z] ---> 0cbf845ec858 [2020-06-11T03:48:05.690Z] Step 12/23 : ENV APP_PORT=49990 [2020-06-11T03:48:05.690Z] ---> Running in 1a9a74c0bfe6 [2020-06-11T03:48:05.952Z] Removing intermediate container 1a9a74c0bfe6 [2020-06-11T03:48:05.952Z] ---> 5ef8ef71f670 [2020-06-11T03:48:05.952Z] Step 13/23 : EXPOSE $APP_PORT [2020-06-11T03:48:05.952Z] ---> Running in 14671159ce3f [2020-06-11T03:48:05.952Z] Removing intermediate container 14671159ce3f [2020-06-11T03:48:05.952Z] ---> 7cef71f504d2 [2020-06-11T03:48:05.952Z] Step 14/23 : WORKDIR / [2020-06-11T03:48:06.213Z] ---> Running in 7ad6c0e5d117 [2020-06-11T03:48:06.213Z] Removing intermediate container 7ad6c0e5d117 [2020-06-11T03:48:06.213Z] ---> 3f945332ae67 [2020-06-11T03:48:06.213Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-06-11T03:48:06.562Z] ---> 773d32c3882f [2020-06-11T03:48:06.562Z] Step 8/8 : RUN go mod download [2020-06-11T03:48:06.562Z] ---> Running in 509aae5c9f32 [2020-06-11T03:48:06.785Z] ---> 46c21ac4fbb7 [2020-06-11T03:48:06.785Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-06-11T03:48:07.046Z] ---> 433346354132 [2020-06-11T03:48:07.046Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-06-11T03:48:07.046Z] ---> 07456371ca10 [2020-06-11T03:48:07.046Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-06-11T03:48:07.308Z] ---> aa3bb9e25725 [2020-06-11T03:48:07.308Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-06-11T03:48:07.568Z] ---> 7be2d46efe34 [2020-06-11T03:48:07.568Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-06-11T03:48:07.568Z] ---> Running in 79ccf1c5e6b3 [2020-06-11T03:48:07.829Z] Removing intermediate container 79ccf1c5e6b3 [2020-06-11T03:48:07.829Z] ---> 38fb7e025bf3 [2020-06-11T03:48:07.829Z] Step 21/23 : LABEL arch=amd64 [2020-06-11T03:48:07.829Z] ---> Running in 2f4f34e6f2c7 [2020-06-11T03:48:08.091Z] Removing intermediate container 2f4f34e6f2c7 [2020-06-11T03:48:08.091Z] ---> 41e336a0165f [2020-06-11T03:48:08.091Z] Step 22/23 : LABEL git_sha=ada00874e8d721bd0a5d9189d642e78d0512fd6f [2020-06-11T03:48:08.091Z] ---> Running in 11b21e07d904 [2020-06-11T03:48:08.091Z] Removing intermediate container 11b21e07d904 [2020-06-11T03:48:08.091Z] ---> 3d6886162285 [2020-06-11T03:48:08.091Z] Step 23/23 : LABEL version=0.0.0 [2020-06-11T03:48:08.353Z] ---> Running in 1f9e56f7a20c [2020-06-11T03:48:08.353Z] Removing intermediate container 1f9e56f7a20c [2020-06-11T03:48:08.353Z] ---> 000b594af0c9 [2020-06-11T03:48:08.353Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-11T03:48:08.353Z] Successfully built 000b594af0c9 [2020-06-11T03:48:08.353Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-06-11T03:48:09.186Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-11T03:48:09.186Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-11T03:48:09.186Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-11T03:48:09.186Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-11T03:48:09.186Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-11T03:48:09.186Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-11T03:48:09.186Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-11T03:48:09.186Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-11T03:48:09.186Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-11T03:48:09.186Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-11T03:48:09.186Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-11T03:48:09.186Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-11T03:48:09.186Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-11T03:48:09.186Z] go: finding github.com/fatih/color v1.7.0 [2020-06-11T03:48:09.186Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-11T03:48:09.186Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-11T03:48:09.186Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-11T03:48:09.186Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-11T03:48:09.186Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-11T03:48:09.186Z] go: finding github.com/google/uuid v1.1.0 [2020-06-11T03:48:09.186Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-11T03:48:09.186Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-11T03:48:09.186Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-11T03:48:09.186Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-11T03:48:09.186Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-11T03:48:09.186Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-11T03:48:09.186Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-11T03:48:09.186Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-11T03:48:09.186Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-11T03:48:09.186Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-11T03:48:09.186Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-11T03:48:09.186Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-11T03:48:09.186Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-11T03:48:09.186Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-11T03:48:09.186Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-11T03:48:09.186Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-11T03:48:09.186Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-11T03:48:09.186Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-11T03:48:09.186Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-11T03:48:09.187Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-11T03:48:09.187Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-11T03:48:09.187Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-11T03:48:09.187Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-11T03:48:09.187Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-11T03:48:09.187Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-11T03:48:09.187Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-11T03:48:09.187Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-11T03:48:09.462Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-11T03:48:09.462Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-11T03:48:09.462Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-11T03:48:09.462Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-11T03:48:09.462Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-11T03:48:09.462Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-11T03:48:09.462Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-11T03:48:09.462Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-11T03:48:09.462Z] go: finding github.com/posener/complete v1.1.1 [2020-06-11T03:48:09.462Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-11T03:48:09.462Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-11T03:48:09.462Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-11T03:48:09.462Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-11T03:48:09.462Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-11T03:48:09.462Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-11T03:48:09.462Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-11T03:48:09.462Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-11T03:48:09.462Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-11T03:48:09.462Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-11T03:48:09.462Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-11T03:48:09.462Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-11T03:48:19.654Z] Removing intermediate container 509aae5c9f32 [2020-06-11T03:48:19.654Z] ---> 45f5ff3ac25e [2020-06-11T03:48:19.654Z] Successfully built 45f5ff3ac25e [2020-06-11T03:48:19.654Z] 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-06-11T03:48:20.226Z] + docker inspect -f . ci-base-image-arm64 [2020-06-11T03:48:20.226Z] . [Pipeline] withDockerContainer [2020-06-11T03:48:20.522Z] prd-ubuntu18.04-docker-arm64-4c-16g-2536 does not seem to be running inside a container [2020-06-11T03:48:20.580Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-06-11T03:48:22.546Z] $ docker top 4c8ce92f66601e7a13789d21b8077ce26a59446feafe0c456d90d67683fd423f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-11T03:48:23.954Z] + go version [2020-06-11T03:48:23.954Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-06-11T03:48:25.003Z] + make test [2020-06-11T03:48:25.003Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-11T03:48:25.993Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-06-11T03:48:58.363Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-06-11T03:48:58.363Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-06-11T03:48:58.363Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-06-11T03:48:58.363Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.018s coverage: 22.1% of statements [2020-06-11T03:48:58.363Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.262s coverage: 95.8% of statements [2020-06-11T03:49:30.720Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.039s coverage: 11.4% of statements [2020-06-11T03:49:30.720Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 21.7% of statements [2020-06-11T03:49:30.720Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-06-11T03:49:30.720Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.118s coverage: 36.9% of statements [2020-06-11T03:49:30.720Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-06-11T03:49:30.720Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-06-11T03:49:30.720Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.601s coverage: 65.2% of statements [2020-06-11T03:49:30.720Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-06-11T03:49:30.720Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-06-11T03:49:30.720Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-06-11T03:49:30.720Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.052s coverage: 52.6% of statements [2020-06-11T03:49:30.720Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-06-11T03:49:30.720Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.356s coverage: 68.9% of statements [2020-06-11T03:49:30.720Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-06-11T03:49:30.720Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-06-11T03:49:30.720Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-11T03:49:34.101Z] gofmt -l . [2020-06-11T03:49:34.101Z] [ "`gofmt -l .`" = "" ] [2020-06-11T03:49:34.388Z] ./bin/test-attribution-txt.sh [2020-06-11T03:49:34.980Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-06-11T03:49:35.590Z] Warning: overwriting stash ‘coverage-report’ [2020-06-11T03:49:36.068Z] Stashed 1 file(s) [Pipeline] } [2020-06-11T03:49:36.046Z] $ docker stop --time=1 4c8ce92f66601e7a13789d21b8077ce26a59446feafe0c456d90d67683fd423f [2020-06-11T03:49:38.006Z] $ docker rm -f 4c8ce92f66601e7a13789d21b8077ce26a59446feafe0c456d90d67683fd423f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-11T03:49:39.111Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-11T03:49:39.442Z] + ls -al . [2020-06-11T03:49:39.442Z] total 220 [2020-06-11T03:49:39.442Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 11 03:49 . [2020-06-11T03:49:39.442Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 03:47 .. [2020-06-11T03:49:39.442Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 11 03:47 .dockerignore [2020-06-11T03:49:39.442Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 03:47 .git [2020-06-11T03:49:39.442Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 03:47 .github [2020-06-11T03:49:39.442Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 11 03:47 .gitignore [2020-06-11T03:49:39.442Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 03:47 .semver [2020-06-11T03:49:39.442Z] -rw-rw-r-- 1 jenkins jenkins 936 Jun 11 03:47 Dockerfile.build [2020-06-11T03:49:39.442Z] -rw-rw-r-- 1 jenkins jenkins 808 Jun 11 03:47 Jenkinsfile [2020-06-11T03:49:39.442Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 11 03:47 LICENSE [2020-06-11T03:49:39.442Z] -rw-rw-r-- 1 jenkins jenkins 892 Jun 11 03:47 Makefile [2020-06-11T03:49:39.442Z] -rw-rw-r-- 1 jenkins jenkins 3166 Jun 11 03:47 README.md [2020-06-11T03:49:39.442Z] -rw-rw-r-- 1 jenkins jenkins 3997 Jun 11 03:47 RELEASE-NOTES.txt [2020-06-11T03:49:39.442Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 11 03:44 VERSION [2020-06-11T03:49:39.442Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 03:47 api [2020-06-11T03:49:39.442Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 03:47 bin [2020-06-11T03:49:39.442Z] -rw-r--r-- 1 jenkins jenkins 110877 Jun 11 03:49 coverage.out [2020-06-11T03:49:39.442Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 03:47 example [2020-06-11T03:49:39.442Z] -rw-r--r-- 1 jenkins jenkins 446 Jun 11 03:49 go.mod [2020-06-11T03:49:39.442Z] -rw-r--r-- 1 jenkins jenkins 12179 Jun 11 03:49 go.sum [2020-06-11T03:49:39.442Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 11 03:47 internal [2020-06-11T03:49:39.442Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 11 03:47 pkg [2020-06-11T03:49:39.442Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 03:47 snap [2020-06-11T03:49:39.442Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 11 03:47 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-11T03:49:39.779Z] + 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=ada00874e8d721bd0a5d9189d642e78d0512fd6f --label arch=arm64 --label version=0.0.0 . [2020-06-11T03:49:40.378Z] Sending build context to Docker daemon 3.199MB [2020-06-11T03:49:40.378Z] Step 1/23 : ARG BASE=golang:1.13-alpine [2020-06-11T03:49:40.378Z] Step 2/23 : FROM ${BASE} AS builder [2020-06-11T03:49:40.378Z] ---> 45f5ff3ac25e [2020-06-11T03:49:40.378Z] Step 3/23 : ARG MAKE='make build' [2020-06-11T03:49:40.378Z] ---> Running in 742142cabec8 [2020-06-11T03:49:40.978Z] Removing intermediate container 742142cabec8 [2020-06-11T03:49:40.978Z] ---> 7bb6d29117f8 [2020-06-11T03:49:40.978Z] Step 4/23 : WORKDIR /device-sdk-go [2020-06-11T03:49:40.978Z] ---> Running in 1b67245d1e1f [2020-06-11T03:49:41.578Z] Removing intermediate container 1b67245d1e1f [2020-06-11T03:49:41.578Z] ---> 78a986bdb4dc [2020-06-11T03:49:41.579Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-11T03:49:41.579Z] ---> Running in 240b2ca4c345 [2020-06-11T03:49:42.176Z] Removing intermediate container 240b2ca4c345 [2020-06-11T03:49:42.176Z] ---> 535e413e810e [2020-06-11T03:49:42.176Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-11T03:49:42.176Z] ---> Running in 94721ef41af5 [2020-06-11T03:49:44.799Z] Removing intermediate container 94721ef41af5 [2020-06-11T03:49:44.799Z] ---> 94c78d47451a [2020-06-11T03:49:44.799Z] Step 7/23 : RUN apk add --update --no-cache make git [2020-06-11T03:49:44.799Z] ---> Running in ca49e42b0473 [2020-06-11T03:49:46.231Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-11T03:49:47.210Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-11T03:49:47.804Z] OK: 125 MiB in 39 packages [2020-06-11T03:49:48.781Z] Removing intermediate container ca49e42b0473 [2020-06-11T03:49:48.781Z] ---> 433dae8ddf27 [2020-06-11T03:49:48.781Z] Step 8/23 : COPY . . [2020-06-11T03:49:50.211Z] ---> c833bb635ba4 [2020-06-11T03:49:50.211Z] Step 9/23 : RUN ${MAKE} [2020-06-11T03:49:50.483Z] ---> Running in 7e88a81fa95a [2020-06-11T03:49:51.932Z] 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-06-11T03:50:14.224Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-06-11T03:50:17.661Z] Removing intermediate container 7e88a81fa95a [2020-06-11T03:50:17.661Z] ---> 77885525f54d [2020-06-11T03:50:17.661Z] Step 10/23 : FROM scratch [2020-06-11T03:50:17.661Z] ---> [2020-06-11T03:50:17.661Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-06-11T03:50:17.661Z] ---> Running in 02e3965fa809 [2020-06-11T03:50:17.661Z] Removing intermediate container 02e3965fa809 [2020-06-11T03:50:17.661Z] ---> a6537777006d [2020-06-11T03:50:17.661Z] Step 12/23 : ENV APP_PORT=49990 [2020-06-11T03:50:17.942Z] ---> Running in 182496a7b695 [2020-06-11T03:50:18.216Z] Removing intermediate container 182496a7b695 [2020-06-11T03:50:18.216Z] ---> 9d0f9f8f1b41 [2020-06-11T03:50:18.216Z] Step 13/23 : EXPOSE $APP_PORT [2020-06-11T03:50:18.487Z] ---> Running in 3ba0ba341f2a [2020-06-11T03:50:18.760Z] Removing intermediate container 3ba0ba341f2a [2020-06-11T03:50:18.760Z] ---> e734e2c7977b [2020-06-11T03:50:18.760Z] Step 14/23 : WORKDIR / [2020-06-11T03:50:18.760Z] ---> Running in fe628e1391e4 [2020-06-11T03:50:19.351Z] Removing intermediate container fe628e1391e4 [2020-06-11T03:50:19.351Z] ---> 1d1c1299b815 [2020-06-11T03:50:19.351Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-06-11T03:50:20.788Z] ---> cf7e5359429d [2020-06-11T03:50:20.788Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-06-11T03:50:21.381Z] ---> 5856374b97ab [2020-06-11T03:50:21.381Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-06-11T03:50:21.976Z] ---> 22c9d70d72e7 [2020-06-11T03:50:21.976Z] Step 18/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-06-11T03:50:22.953Z] ---> 673a226497c3 [2020-06-11T03:50:22.953Z] Step 19/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-06-11T03:50:23.546Z] ---> 8a208110a67e [2020-06-11T03:50:23.546Z] Step 20/23 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-06-11T03:50:23.546Z] ---> Running in 22fbdc183232 [2020-06-11T03:50:24.144Z] Removing intermediate container 22fbdc183232 [2020-06-11T03:50:24.144Z] ---> dea2574e14e9 [2020-06-11T03:50:24.144Z] Step 21/23 : LABEL arch=arm64 [2020-06-11T03:50:24.144Z] ---> Running in df132b5496c5 [2020-06-11T03:50:24.740Z] Removing intermediate container df132b5496c5 [2020-06-11T03:50:24.740Z] ---> dcd27805ce11 [2020-06-11T03:50:24.740Z] Step 22/23 : LABEL git_sha=ada00874e8d721bd0a5d9189d642e78d0512fd6f [2020-06-11T03:50:24.740Z] ---> Running in fda0c1024c23 [2020-06-11T03:50:25.331Z] Removing intermediate container fda0c1024c23 [2020-06-11T03:50:25.331Z] ---> 0daea53e23c7 [2020-06-11T03:50:25.331Z] Step 23/23 : LABEL version=0.0.0 [2020-06-11T03:50:25.602Z] ---> Running in 5b46593e46cf [2020-06-11T03:50:25.873Z] Removing intermediate container 5b46593e46cf [2020-06-11T03:50:25.873Z] ---> a4e9febdcefd [2020-06-11T03:50:25.873Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-11T03:50:25.873Z] Successfully built a4e9febdcefd [2020-06-11T03:50:25.873Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-06-11T03:50:26.585Z] provisioning config files... [2020-06-11T03:50:26.600Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp/config8120899622880610404tmp [Pipeline] { [Pipeline] sh [2020-06-11T03:50:26.921Z] + curl -s https://codecov.io/bash [2020-06-11T03:50:26.921Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp/config8120899622880610404tmp [2020-06-11T03:50:27.185Z] [2020-06-11T03:50:27.185Z] _____ _ [2020-06-11T03:50:27.185Z] / ____| | | [2020-06-11T03:50:27.185Z] | | ___ __| | ___ ___ _____ __ [2020-06-11T03:50:27.185Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-06-11T03:50:27.185Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-06-11T03:50:27.185Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-06-11T03:50:27.185Z] Bash-20200602-f809a24 [2020-06-11T03:50:27.185Z] [2020-06-11T03:50:27.185Z] [2020-06-11T03:50:27.185Z] ==> Jenkins CI detected. [2020-06-11T03:50:27.185Z] project root: . [2020-06-11T03:50:27.185Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-06-11T03:50:27.185Z] ==> Running gcov in . (disable via -X gcov) [2020-06-11T03:50:27.185Z] ==> Python coveragepy not found [2020-06-11T03:50:27.185Z] ==> Searching for coverage reports in: [2020-06-11T03:50:27.185Z] + . [2020-06-11T03:50:27.185Z] -> Found 1 reports [2020-06-11T03:50:27.185Z] ==> Detecting git/mercurial file structure [2020-06-11T03:50:27.185Z] ==> Reading reports [2020-06-11T03:50:27.185Z] + ./coverage.out bytes=110877 [2020-06-11T03:50:27.185Z] ==> Appending adjustments [2020-06-11T03:50:27.185Z] https://docs.codecov.io/docs/fixing-reports [2020-06-11T03:50:27.445Z] + Found adjustments [2020-06-11T03:50:27.445Z] ==> Gzipping contents [2020-06-11T03:50:27.445Z] ==> Uploading reports [2020-06-11T03:50:27.445Z] url: https://codecov.io [2020-06-11T03:50:27.445Z] query: branch=PR-536&commit=ada00874e8d721bd0a5d9189d642e78d0512fd6f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-536%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=536&job= [2020-06-11T03:50:27.445Z] -> Pinging Codecov [2020-06-11T03:50:27.445Z] https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-536&commit=ada00874e8d721bd0a5d9189d642e78d0512fd6f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-536%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=536&job= [2020-06-11T03:50:28.018Z] -> Uploading [2020-06-11T03:50:28.279Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ada00874e8d721bd0a5d9189d642e78d0512fd6f [Pipeline] } [2020-06-11T03:50:28.288Z] 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-06-11T03:50:29.172Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-11T03:50:29.736Z] ---> package-listing.sh [2020-06-11T03:50:29.736Z] ++ facter osfamily [2020-06-11T03:50:29.736Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-11T03:50:29.736Z] + OS_FAMILY=redhat [2020-06-11T03:50:29.736Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-536 [2020-06-11T03:50:29.736Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-11T03:50:29.736Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-11T03:50:29.736Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-11T03:50:29.736Z] + PACKAGES=/tmp/packages_start.txt [2020-06-11T03:50:29.736Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-536 ']' [2020-06-11T03:50:29.736Z] + PACKAGES=/tmp/packages_end.txt [2020-06-11T03:50:29.736Z] + case "${OS_FAMILY}" in [2020-06-11T03:50:29.736Z] + rpm -qa [2020-06-11T03:50:29.736Z] + sort [2020-06-11T03:50:33.951Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-11T03:50:33.951Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-11T03:50:33.951Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-11T03:50:33.951Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-536 ']' [2020-06-11T03:50:33.951Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-536/archives/ [2020-06-11T03:50:33.951Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-536/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-11T03:50:34.333Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-11T03:50:34.333Z] [2020-06-11T03:50:34.333Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-11T03:50:34.655Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-11T03:50:34.655Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-11T03:50:34.655Z] c9b1b535fdd9: Pulling fs layer [2020-06-11T03:50:34.655Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-11T03:50:34.655Z] 756a868c4378: Pulling fs layer [2020-06-11T03:50:34.655Z] 444b2fc9a129: Pulling fs layer [2020-06-11T03:50:34.655Z] ea15f1150254: Pulling fs layer [2020-06-11T03:50:34.655Z] 41b27a9f41bf: Pulling fs layer [2020-06-11T03:50:34.655Z] 28c525ee5125: Pulling fs layer [2020-06-11T03:50:34.655Z] 094b1ea09ed8: Pulling fs layer [2020-06-11T03:50:34.655Z] 138eaada9080: Pulling fs layer [2020-06-11T03:50:34.655Z] 0622d0fa9048: Pulling fs layer [2020-06-11T03:50:34.655Z] 41b27a9f41bf: Waiting [2020-06-11T03:50:34.655Z] 28c525ee5125: Waiting [2020-06-11T03:50:34.655Z] 444b2fc9a129: Waiting [2020-06-11T03:50:34.655Z] 094b1ea09ed8: Waiting [2020-06-11T03:50:34.655Z] 138eaada9080: Waiting [2020-06-11T03:50:34.655Z] ea15f1150254: Waiting [2020-06-11T03:50:34.655Z] 0622d0fa9048: Waiting [2020-06-11T03:50:34.655Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-11T03:50:34.655Z] 2cc5ad85d9ab: Download complete [2020-06-11T03:50:34.655Z] 444b2fc9a129: Verifying Checksum [2020-06-11T03:50:34.655Z] 444b2fc9a129: Download complete [2020-06-11T03:50:34.655Z] c9b1b535fdd9: Verifying Checksum [2020-06-11T03:50:34.655Z] c9b1b535fdd9: Download complete [2020-06-11T03:50:34.933Z] ea15f1150254: Verifying Checksum [2020-06-11T03:50:34.933Z] ea15f1150254: Download complete [2020-06-11T03:50:34.933Z] 28c525ee5125: Verifying Checksum [2020-06-11T03:50:34.933Z] 28c525ee5125: Download complete [2020-06-11T03:50:35.211Z] 756a868c4378: Verifying Checksum [2020-06-11T03:50:35.212Z] 756a868c4378: Download complete [2020-06-11T03:50:35.212Z] c9b1b535fdd9: Pull complete [2020-06-11T03:50:35.212Z] 138eaada9080: Verifying Checksum [2020-06-11T03:50:35.212Z] 138eaada9080: Download complete [2020-06-11T03:50:35.486Z] 0622d0fa9048: Verifying Checksum [2020-06-11T03:50:35.486Z] 0622d0fa9048: Download complete [2020-06-11T03:50:35.486Z] 094b1ea09ed8: Verifying Checksum [2020-06-11T03:50:35.486Z] 094b1ea09ed8: Download complete [2020-06-11T03:50:35.486Z] 2cc5ad85d9ab: Pull complete [2020-06-11T03:50:35.753Z] 41b27a9f41bf: Verifying Checksum [2020-06-11T03:50:35.753Z] 41b27a9f41bf: Download complete [2020-06-11T03:50:37.141Z] 756a868c4378: Pull complete [2020-06-11T03:50:37.141Z] 444b2fc9a129: Pull complete [2020-06-11T03:50:37.141Z] ea15f1150254: Pull complete [2020-06-11T03:50:41.355Z] 41b27a9f41bf: Pull complete [2020-06-11T03:50:41.355Z] 28c525ee5125: Pull complete [2020-06-11T03:50:43.904Z] 094b1ea09ed8: Pull complete [2020-06-11T03:50:43.904Z] 138eaada9080: Pull complete [2020-06-11T03:50:44.165Z] 0622d0fa9048: Pull complete [2020-06-11T03:50:44.165Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-11T03:50:44.165Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-11T03:50:44.165Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-11T03:50:44.310Z] prd-centos7-docker-4c-2g-2533 does not seem to be running inside a container [2020-06-11T03:50:44.360Z] $ 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-536 -v /w/workspace/dgexfoundry_device-sdk-go_PR-536:/w/workspace/dgexfoundry_device-sdk-go_PR-536:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-06-11T03:50:48.363Z] $ docker top fc5af21cfe860947e4d1ed7eee1c73b19eb3062e72ca5ae025781a560b859f91 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-11T03:50:48.515Z] provisioning config files... [2020-06-11T03:50:48.527Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-536@tmp/config8499670433923022867tmp [Pipeline] { [Pipeline] echo [2020-06-11T03:50:48.557Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-11T03:50:48.852Z] ---> create-netrc.sh [Pipeline] echo [2020-06-11T03:50:48.860Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-11T03:50:49.147Z] ---> logs-deploy.sh [2020-06-11T03:50:49.147Z] + ARCHIVE_ARTIFACTS= [2020-06-11T03:50:49.147Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-11T03:50:49.147Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-11T03:50:49.147Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-11T03:50:49.147Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-536/2 [2020-06-11T03:50:49.147Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-536/2/ [2020-06-11T03:50:49.147Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-536/2 /w/workspace/dgexfoundry_device-sdk-go_PR-536 [2020-06-11T03:50:50.090Z] Archives upload complete. [2020-06-11T03:50:50.351Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-536/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-536/2/