Pull request #507 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 4f7537934645620a12050afa509aeaf418a8ee8c+f090bde917e1f28f3025819c98ef7aafa47ac2fc (f18873979050881f818dde9d8dc99caffe9193df) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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-5552 in /w/workspace/dgexfoundry_device-sdk-go_PR-507 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-507 # 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/507/head:refs/remotes/origin/PR-507 +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/507/head:refs/remotes/origin/PR-507 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit f090bde917e1f28f3025819c98ef7aafa47ac2fc into PR head commit 4f7537934645620a12050afa509aeaf418a8ee8c Merge succeeded, producing 4f7537934645620a12050afa509aeaf418a8ee8c Checking out Revision 4f7537934645620a12050afa509aeaf418a8ee8c (PR-507) > 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/507/head:refs/remotes/origin/PR-507 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f7537934645620a12050afa509aeaf418a8ee8c # 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 f090bde917e1f28f3025819c98ef7aafa47ac2fc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f7537934645620a12050afa509aeaf418a8ee8c # timeout=10 Commit message: "Fix fetch configuration 404 error" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk aa778b63694979e09c9634519f1afb340992c732 # timeout=10 [Pipeline] timeout [2020-04-22T07:57:01.605Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-22T07:57:01.804Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-22T07:57:01.920Z] ========================================================= [2020-04-22T07:57:01.920Z] EdgeX Global Pipelines Version Info [2020-04-22T07:57:01.920Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-22T07:57:03.360Z] ------------------- [2020-04-22T07:57:03.360Z] stable info: [2020-04-22T07:57:03.360Z] ------------------- [2020-04-22T07:57:03.360Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-22T07:57:03.360Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-22T07:57:03.360Z] Message: update stable to v1.0.73 [2020-04-22T07:57:03.931Z] ------------------- [2020-04-22T07:57:03.931Z] experimental info: [2020-04-22T07:57:03.931Z] ------------------- [2020-04-22T07:57:03.931Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-22T07:57:03.931Z] Commit SHA: 009f18ce5b4e192ba54fce1c3905cefe13074ee2 [2020-04-22T07:57:03.931Z] Message: update experimental to v1.0.75 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-22T07:57:06.086Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-22T07:57:06.345Z] [2020-04-22T07:57:06.345Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-22T07:57:06.676Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-22T07:57:06.676Z] latest: Pulling from edgex-devops/git-semver [2020-04-22T07:57:06.676Z] 9123ac7c32f7: Pulling fs layer [2020-04-22T07:57:06.676Z] b8cc5d1170e3: Pulling fs layer [2020-04-22T07:57:06.676Z] 2924cbbf6a41: Pulling fs layer [2020-04-22T07:57:06.676Z] 93b08a4f1073: Pulling fs layer [2020-04-22T07:57:06.676Z] 93b08a4f1073: Waiting [2020-04-22T07:57:06.676Z] b8cc5d1170e3: Verifying Checksum [2020-04-22T07:57:06.676Z] b8cc5d1170e3: Download complete [2020-04-22T07:57:06.937Z] 9123ac7c32f7: Verifying Checksum [2020-04-22T07:57:06.937Z] 9123ac7c32f7: Download complete [2020-04-22T07:57:06.937Z] 93b08a4f1073: Verifying Checksum [2020-04-22T07:57:06.937Z] 93b08a4f1073: Download complete [2020-04-22T07:57:06.937Z] 2924cbbf6a41: Verifying Checksum [2020-04-22T07:57:06.937Z] 2924cbbf6a41: Download complete [2020-04-22T07:57:07.199Z] 9123ac7c32f7: Pull complete [2020-04-22T07:57:07.200Z] b8cc5d1170e3: Pull complete [2020-04-22T07:57:08.140Z] 2924cbbf6a41: Pull complete [2020-04-22T07:57:08.140Z] 93b08a4f1073: Pull complete [2020-04-22T07:57:08.140Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-22T07:57:08.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-22T07:57:08.266Z] prd-centos7-docker-4c-2g-5552 does not seem to be running inside a container [2020-04-22T07:57:08.309Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-507 -v /w/workspace/dgexfoundry_device-sdk-go_PR-507:/w/workspace/dgexfoundry_device-sdk-go_PR-507:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-507@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-507@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-22T07:57:08.933Z] $ docker top 874e7ae8a434e2d8fbd503c6604c4b874b0c11f32e3f9e721f80d793e5bdf8fd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-22T07:57:09.217Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-22T07:57:09.217Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-22T07:57:09.462Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-22T07:57:09.465Z] $ docker exec 874e7ae8a434e2d8fbd503c6604c4b874b0c11f32e3f9e721f80d793e5bdf8fd ssh-agent [2020-04-22T07:57:09.663Z] SSH_AUTH_SOCK=/tmp/ssh-CCN93OhIJLKA/agent.15 [2020-04-22T07:57:09.663Z] SSH_AGENT_PID=22 [2020-04-22T07:57:09.675Z] Running ssh-add (command line suppressed) [2020-04-22T07:57:09.825Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-507@tmp/private_key_1652045282777667211.key (/w/workspace/dgexfoundry_device-sdk-go_PR-507@tmp/private_key_1652045282777667211.key) [2020-04-22T07:57:09.873Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-22T07:57:10.197Z] + git describe --exact-match --tags HEAD [2020-04-22T07:57:10.197Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-22T07:57:10.262Z] $ docker exec --env ******** --env ******** 874e7ae8a434e2d8fbd503c6604c4b874b0c11f32e3f9e721f80d793e5bdf8fd ssh-agent -k [2020-04-22T07:57:10.446Z] unset SSH_AUTH_SOCK; [2020-04-22T07:57:10.446Z] unset SSH_AGENT_PID; [2020-04-22T07:57:10.446Z] echo Agent pid 22 killed; [2020-04-22T07:57:10.500Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-22T07:57:10.580Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-22T07:57:10.581Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-22T07:57:10.655Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-22T07:57:10.655Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-22T07:57:10.860Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-22T07:57:10.863Z] $ docker exec 874e7ae8a434e2d8fbd503c6604c4b874b0c11f32e3f9e721f80d793e5bdf8fd ssh-agent [2020-04-22T07:57:11.061Z] SSH_AUTH_SOCK=/tmp/ssh-X9UvO8Jeh3f4/agent.57 [2020-04-22T07:57:11.061Z] SSH_AGENT_PID=64 [2020-04-22T07:57:11.069Z] Running ssh-add (command line suppressed) [2020-04-22T07:57:11.218Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-507@tmp/private_key_689988969122610846.key (/w/workspace/dgexfoundry_device-sdk-go_PR-507@tmp/private_key_689988969122610846.key) [2020-04-22T07:57:11.266Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-22T07:57:11.592Z] + git semver init [2020-04-22T07:57:11.592Z] # -> Open(): unable to determine branch for HEAD [2020-04-22T07:57:11.592Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-507/.git [2020-04-22T07:57:11.592Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-507 [2020-04-22T07:57:11.592Z] # $SEMVER_REMOTE_NAME = origin [2020-04-22T07:57:11.592Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-22T07:57:11.592Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-22T07:57:11.592Z] # $SEMVER_BRANCH = PR-507 [2020-04-22T07:57:11.592Z] # $SEMVER_TEMP = /tmp/semver-149129278 [2020-04-22T07:57:11.592Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-22T07:57:12.161Z] # '/tmp/semver-149129278' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-507/.semver' [2020-04-22T07:57:12.161Z] # -> Force: false [2020-04-22T07:57:12.161Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-507/.semver [Pipeline] } [2020-04-22T07:57:12.171Z] $ docker exec --env ******** --env ******** 874e7ae8a434e2d8fbd503c6604c4b874b0c11f32e3f9e721f80d793e5bdf8fd ssh-agent -k [2020-04-22T07:57:12.332Z] unset SSH_AUTH_SOCK; [2020-04-22T07:57:12.332Z] unset SSH_AGENT_PID; [2020-04-22T07:57:12.332Z] echo Agent pid 64 killed; [2020-04-22T07:57:12.374Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-22T07:57:12.778Z] + git semver [Pipeline] } [2020-04-22T07:57:12.791Z] $ docker stop --time=1 874e7ae8a434e2d8fbd503c6604c4b874b0c11f32e3f9e721f80d793e5bdf8fd [2020-04-22T07:57:14.165Z] $ docker rm -f 874e7ae8a434e2d8fbd503c6604c4b874b0c11f32e3f9e721f80d793e5bdf8fd [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-22T07:57:15.067Z] Stashed 54 file(s) [Pipeline] echo [2020-04-22T07:57:15.069Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-04-22T07:57:30.303Z] Still waiting to schedule task [2020-04-22T07:57:30.303Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-22T07:57:30.304Z] Still waiting to schedule task [2020-04-22T07:57:30.305Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-5550’ is offline [2020-04-22T07:59:01.162Z] Running on prd-centos7-docker-4c-2g-5554 in /w/workspace/dgexfoundry_device-sdk-go_PR-507 [Pipeline] { [Pipeline] ws [2020-04-22T07:59:01.243Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-04-22T07:59:05.240Z] using credential edgex-jenkins-ssh [2020-04-22T07:59:05.281Z] Cloning the remote Git repository [2020-04-22T07:59:05.281Z] Cloning with configured refspecs honoured and without tags [2020-04-22T07:59:04.903Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-22T07:59:04.951Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-04-22T07:59:05.005Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-22T07:59:05.005Z] > git --version # timeout=10 [2020-04-22T07:59:05.021Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-22T07:59:05.053Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/507/head:refs/remotes/origin/PR-507 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-22T07:59:06.021Z] Fetching without tags [2020-04-22T07:59:06.420Z] Merging remotes/origin/master commit f090bde917e1f28f3025819c98ef7aafa47ac2fc into PR head commit 4f7537934645620a12050afa509aeaf418a8ee8c [2020-04-22T07:59:06.554Z] Merge succeeded, producing 4f7537934645620a12050afa509aeaf418a8ee8c [2020-04-22T07:59:06.555Z] Checking out Revision 4f7537934645620a12050afa509aeaf418a8ee8c (PR-507) [2020-04-22T07:59:05.623Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-22T07:59:05.632Z] > git config --add remote.origin.fetch +refs/pull/507/head:refs/remotes/origin/PR-507 # timeout=10 [2020-04-22T07:59:05.640Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-22T07:59:05.661Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-22T07:59:05.676Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-22T07:59:05.677Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-22T07:59:05.688Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/507/head:refs/remotes/origin/PR-507 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-22T07:59:06.117Z] > git config core.sparsecheckout # timeout=10 [2020-04-22T07:59:06.130Z] > git checkout -f 4f7537934645620a12050afa509aeaf418a8ee8c # timeout=10 [2020-04-22T07:59:06.186Z] > git remote # timeout=10 [2020-04-22T07:59:06.206Z] > git config --get remote.origin.url # timeout=10 [2020-04-22T07:59:06.219Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-22T07:59:06.223Z] > git merge f090bde917e1f28f3025819c98ef7aafa47ac2fc # timeout=10 [2020-04-22T07:59:06.236Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-22T07:59:06.253Z] > git config core.sparsecheckout # timeout=10 [2020-04-22T07:59:06.275Z] > git checkout -f 4f7537934645620a12050afa509aeaf418a8ee8c # timeout=10 [2020-04-22T07:59:10.170Z] Commit message: "Fix fetch configuration 404 error" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-22T07:59:11.143Z] ========================================================= [2020-04-22T07:59:11.143Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-22T07:59:11.143Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-22T07:59:11.822Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-04-22T07:59:12.394Z] Sending build context to Docker daemon 3.028MB [2020-04-22T07:59:12.394Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-22T07:59:12.394Z] Step 2/8 : FROM ${BASE} [2020-04-22T07:59:12.394Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-22T07:59:12.394Z] e6b0cf9c0882: Pulling fs layer [2020-04-22T07:59:12.394Z] 2848faf0eed1: Pulling fs layer [2020-04-22T07:59:12.394Z] 0f37312ad70f: Pulling fs layer [2020-04-22T07:59:12.394Z] 5788d62ee057: Pulling fs layer [2020-04-22T07:59:12.394Z] 0e6b1d234666: Pulling fs layer [2020-04-22T07:59:12.394Z] bf5d7aec512f: Pulling fs layer [2020-04-22T07:59:12.394Z] 34c802a77dc8: Pulling fs layer [2020-04-22T07:59:12.394Z] 9eb99e56ec68: Pulling fs layer [2020-04-22T07:59:12.394Z] 27c7a5d97fbd: Pulling fs layer [2020-04-22T07:59:12.394Z] 5c102a31e300: Pulling fs layer [2020-04-22T07:59:12.394Z] dcfb455df0a1: Pulling fs layer [2020-04-22T07:59:12.394Z] 5788d62ee057: Waiting [2020-04-22T07:59:12.394Z] 0e6b1d234666: Waiting [2020-04-22T07:59:12.394Z] bf5d7aec512f: Waiting [2020-04-22T07:59:12.394Z] 34c802a77dc8: Waiting [2020-04-22T07:59:12.394Z] 9eb99e56ec68: Waiting [2020-04-22T07:59:12.394Z] 27c7a5d97fbd: Waiting [2020-04-22T07:59:12.394Z] 5c102a31e300: Waiting [2020-04-22T07:59:12.394Z] dcfb455df0a1: Waiting [2020-04-22T07:59:12.394Z] 0f37312ad70f: Verifying Checksum [2020-04-22T07:59:12.394Z] 0f37312ad70f: Download complete [2020-04-22T07:59:12.394Z] 2848faf0eed1: Verifying Checksum [2020-04-22T07:59:12.394Z] 2848faf0eed1: Download complete [2020-04-22T07:59:12.655Z] 0e6b1d234666: Verifying Checksum [2020-04-22T07:59:12.655Z] 0e6b1d234666: Download complete [2020-04-22T07:59:12.655Z] bf5d7aec512f: Verifying Checksum [2020-04-22T07:59:12.655Z] bf5d7aec512f: Download complete [2020-04-22T07:59:12.655Z] e6b0cf9c0882: Verifying Checksum [2020-04-22T07:59:12.655Z] e6b0cf9c0882: Download complete [2020-04-22T07:59:12.938Z] e6b0cf9c0882: Pull complete [2020-04-22T07:59:12.938Z] 2848faf0eed1: Pull complete [2020-04-22T07:59:13.207Z] 0f37312ad70f: Pull complete [2020-04-22T07:59:13.471Z] 34c802a77dc8: Verifying Checksum [2020-04-22T07:59:13.471Z] 34c802a77dc8: Download complete [2020-04-22T07:59:13.471Z] 27c7a5d97fbd: Verifying Checksum [2020-04-22T07:59:13.471Z] 27c7a5d97fbd: Download complete [2020-04-22T07:59:14.041Z] 5c102a31e300: Verifying Checksum [2020-04-22T07:59:14.041Z] 5c102a31e300: Download complete [2020-04-22T07:59:14.041Z] dcfb455df0a1: Verifying Checksum [2020-04-22T07:59:14.041Z] dcfb455df0a1: Download complete [2020-04-22T07:59:14.301Z] 5788d62ee057: Download complete [2020-04-22T07:59:14.301Z] 9eb99e56ec68: Verifying Checksum [2020-04-22T07:59:14.301Z] 9eb99e56ec68: Download complete [2020-04-22T07:59:15.624Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5553 in /w/workspace/dgexfoundry_device-sdk-go_PR-507 [Pipeline] { [Pipeline] ws [2020-04-22T07:59:15.659Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-04-22T07:59:20.883Z] 5788d62ee057: Pull complete [2020-04-22T07:59:20.883Z] 0e6b1d234666: Pull complete [2020-04-22T07:59:20.883Z] bf5d7aec512f: Pull complete [2020-04-22T07:59:21.624Z] using credential edgex-jenkins-ssh [2020-04-22T07:59:21.670Z] Cloning the remote Git repository [2020-04-22T07:59:21.670Z] Cloning with configured refspecs honoured and without tags [2020-04-22T07:59:21.746Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-22T07:59:21.848Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-04-22T07:59:21.935Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-22T07:59:21.936Z] > git --version # timeout=10 [2020-04-22T07:59:21.969Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-22T07:59:23.237Z] Fetching without tags [2020-04-22T07:59:22.046Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/507/head:refs/remotes/origin/PR-507 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-22T07:59:23.098Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-22T07:59:23.120Z] > git config --add remote.origin.fetch +refs/pull/507/head:refs/remotes/origin/PR-507 # timeout=10 [2020-04-22T07:59:23.141Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-22T07:59:23.184Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-22T07:59:23.257Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-22T07:59:23.263Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-22T07:59:23.274Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/507/head:refs/remotes/origin/PR-507 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-22T07:59:23.780Z] Merging remotes/origin/master commit f090bde917e1f28f3025819c98ef7aafa47ac2fc into PR head commit 4f7537934645620a12050afa509aeaf418a8ee8c [2020-04-22T07:59:24.139Z] Merge succeeded, producing 4f7537934645620a12050afa509aeaf418a8ee8c [2020-04-22T07:59:24.139Z] Checking out Revision 4f7537934645620a12050afa509aeaf418a8ee8c (PR-507) [2020-04-22T07:59:23.805Z] > git config core.sparsecheckout # timeout=10 [2020-04-22T07:59:23.863Z] > git checkout -f 4f7537934645620a12050afa509aeaf418a8ee8c # timeout=10 [2020-04-22T07:59:23.982Z] > git remote # timeout=10 [2020-04-22T07:59:24.022Z] > git config --get remote.origin.url # timeout=10 [2020-04-22T07:59:24.042Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-22T07:59:24.053Z] > git merge f090bde917e1f28f3025819c98ef7aafa47ac2fc # timeout=10 [2020-04-22T07:59:24.087Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-22T07:59:24.149Z] > git config core.sparsecheckout # timeout=10 [2020-04-22T07:59:24.195Z] > git checkout -f 4f7537934645620a12050afa509aeaf418a8ee8c # timeout=10 [2020-04-22T07:59:26.190Z] 34c802a77dc8: Pull complete [2020-04-22T07:59:28.932Z] Commit message: "Fix fetch configuration 404 error" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-04-22T07:59:29.487Z] 9eb99e56ec68: Pull complete [2020-04-22T07:59:29.487Z] 27c7a5d97fbd: Pull complete [Pipeline] echo [2020-04-22T07:59:30.011Z] ========================================================= [2020-04-22T07:59:30.011Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-22T07:59:30.011Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-22T07:59:30.442Z] 5c102a31e300: Pull complete [2020-04-22T07:59:30.442Z] dcfb455df0a1: Pull complete [2020-04-22T07:59:30.700Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-22T07:59:30.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-22T07:59:30.700Z] ---> 7c70fe431013 [2020-04-22T07:59:30.700Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-22T07:59:30.700Z] ---> Running in e69f982cb787 [2020-04-22T07:59:30.700Z] Removing intermediate container e69f982cb787 [2020-04-22T07:59:30.700Z] ---> d610a10bd2fe [2020-04-22T07:59:30.700Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-22T07:59:30.960Z] ---> Running in 8c9361520f79 [2020-04-22T07:59:31.065Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-04-22T07:59:31.905Z] Removing intermediate container 8c9361520f79 [2020-04-22T07:59:31.905Z] ---> 30546d75635c [2020-04-22T07:59:31.905Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-22T07:59:31.905Z] ---> Running in 032b96c2f733 [2020-04-22T07:59:32.035Z] Sending build context to Docker daemon 3.028MB [2020-04-22T07:59:32.035Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-22T07:59:32.035Z] Step 2/8 : FROM ${BASE} [2020-04-22T07:59:32.306Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-22T07:59:32.306Z] cde5963f3b93: Pulling fs layer [2020-04-22T07:59:32.306Z] 2a23fa8c16f7: Pulling fs layer [2020-04-22T07:59:32.306Z] 777b28850792: Pulling fs layer [2020-04-22T07:59:32.306Z] 8a11ddd9e578: Pulling fs layer [2020-04-22T07:59:32.306Z] 4cf88f913ddb: Pulling fs layer [2020-04-22T07:59:32.306Z] 1df406cf5192: Pulling fs layer [2020-04-22T07:59:32.306Z] cd6300453558: Pulling fs layer [2020-04-22T07:59:32.306Z] b9c365052c96: Pulling fs layer [2020-04-22T07:59:32.306Z] a2d8cc88f415: Pulling fs layer [2020-04-22T07:59:32.306Z] ea1d1ca13537: Pulling fs layer [2020-04-22T07:59:32.307Z] 3750a50a1c5e: Pulling fs layer [2020-04-22T07:59:32.307Z] 8a11ddd9e578: Waiting [2020-04-22T07:59:32.307Z] 4cf88f913ddb: Waiting [2020-04-22T07:59:32.307Z] 1df406cf5192: Waiting [2020-04-22T07:59:32.307Z] cd6300453558: Waiting [2020-04-22T07:59:32.307Z] b9c365052c96: Waiting [2020-04-22T07:59:32.307Z] a2d8cc88f415: Waiting [2020-04-22T07:59:32.307Z] ea1d1ca13537: Waiting [2020-04-22T07:59:32.307Z] 3750a50a1c5e: Waiting [2020-04-22T07:59:32.307Z] 777b28850792: Download complete [2020-04-22T07:59:32.307Z] 2a23fa8c16f7: Verifying Checksum [2020-04-22T07:59:32.307Z] 2a23fa8c16f7: Download complete [2020-04-22T07:59:32.307Z] 4cf88f913ddb: Verifying Checksum [2020-04-22T07:59:32.307Z] 4cf88f913ddb: Download complete [2020-04-22T07:59:32.307Z] 1df406cf5192: Verifying Checksum [2020-04-22T07:59:32.307Z] 1df406cf5192: Download complete [2020-04-22T07:59:32.475Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-22T07:59:32.578Z] cde5963f3b93: Verifying Checksum [2020-04-22T07:59:32.578Z] cde5963f3b93: Download complete [2020-04-22T07:59:33.414Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-22T07:59:33.548Z] cde5963f3b93: Pull complete [2020-04-22T07:59:33.673Z] OK: 143 MiB in 39 packages [2020-04-22T07:59:34.140Z] 2a23fa8c16f7: Pull complete [2020-04-22T07:59:34.242Z] Removing intermediate container 032b96c2f733 [2020-04-22T07:59:34.242Z] ---> fb283bdd3b73 [2020-04-22T07:59:34.242Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-22T07:59:34.242Z] ---> Running in 802ea0cc35ea [2020-04-22T07:59:34.242Z] Removing intermediate container 802ea0cc35ea [2020-04-22T07:59:34.242Z] ---> dfa7152e2a3d [2020-04-22T07:59:34.242Z] Step 7/8 : COPY . . [2020-04-22T07:59:34.415Z] 777b28850792: Pull complete [2020-04-22T07:59:35.179Z] ---> 0b960f9a813a [2020-04-22T07:59:35.179Z] Step 8/8 : RUN go mod download [2020-04-22T07:59:35.179Z] ---> Running in d89cdb9db157 [2020-04-22T07:59:36.388Z] cd6300453558: Verifying Checksum [2020-04-22T07:59:36.388Z] cd6300453558: Download complete [2020-04-22T07:59:36.388Z] a2d8cc88f415: Verifying Checksum [2020-04-22T07:59:36.388Z] a2d8cc88f415: Download complete [2020-04-22T07:59:37.085Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-22T07:59:37.085Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-22T07:59:37.085Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-22T07:59:37.085Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-22T07:59:37.085Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-22T07:59:37.085Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-22T07:59:37.085Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-22T07:59:37.085Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-22T07:59:37.085Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-22T07:59:37.085Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-22T07:59:37.085Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-22T07:59:37.085Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-22T07:59:37.085Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-22T07:59:37.085Z] go: finding github.com/fatih/color v1.7.0 [2020-04-22T07:59:37.085Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-22T07:59:37.085Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-22T07:59:37.085Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-22T07:59:37.085Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-22T07:59:37.085Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-22T07:59:37.085Z] go: finding github.com/google/uuid v1.1.0 [2020-04-22T07:59:37.085Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-22T07:59:37.085Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-22T07:59:37.085Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-22T07:59:37.085Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-22T07:59:37.085Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-22T07:59:37.085Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-22T07:59:37.085Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-22T07:59:37.085Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-22T07:59:37.085Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-22T07:59:37.085Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-22T07:59:37.085Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-22T07:59:37.085Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-22T07:59:37.085Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-22T07:59:37.085Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-22T07:59:37.085Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-22T07:59:37.085Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-22T07:59:37.085Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-22T07:59:37.085Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-22T07:59:37.085Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-22T07:59:37.085Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-22T07:59:37.085Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-22T07:59:37.085Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-22T07:59:37.085Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-22T07:59:37.085Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-22T07:59:37.085Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-22T07:59:37.349Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-22T07:59:37.349Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-22T07:59:37.349Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-22T07:59:37.349Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-22T07:59:37.349Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-22T07:59:37.349Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-22T07:59:37.349Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-22T07:59:37.349Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-22T07:59:37.349Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-22T07:59:37.349Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-22T07:59:37.349Z] go: finding github.com/posener/complete v1.1.1 [2020-04-22T07:59:37.349Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-22T07:59:37.349Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-22T07:59:37.349Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-22T07:59:37.349Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-22T07:59:37.349Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-22T07:59:37.349Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-22T07:59:37.349Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-22T07:59:37.349Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-22T07:59:37.350Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-22T07:59:37.350Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-22T07:59:37.350Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-22T07:59:37.350Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-22T07:59:39.004Z] ea1d1ca13537: Verifying Checksum [2020-04-22T07:59:39.004Z] ea1d1ca13537: Download complete [2020-04-22T07:59:39.004Z] 3750a50a1c5e: Verifying Checksum [2020-04-22T07:59:39.004Z] 3750a50a1c5e: Download complete [2020-04-22T07:59:42.379Z] b9c365052c96: Verifying Checksum [2020-04-22T07:59:42.379Z] b9c365052c96: Download complete [2020-04-22T07:59:42.643Z] Removing intermediate container d89cdb9db157 [2020-04-22T07:59:42.643Z] ---> e88c4b8f59c5 [2020-04-22T07:59:42.643Z] Successfully built e88c4b8f59c5 [2020-04-22T07:59:42.643Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-22T07:59:43.252Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-22T07:59:43.252Z] . [Pipeline] withDockerContainer [2020-04-22T07:59:43.343Z] 8a11ddd9e578: Verifying Checksum [2020-04-22T07:59:43.343Z] 8a11ddd9e578: Download complete [2020-04-22T07:59:43.364Z] prd-centos7-docker-4c-2g-5554 does not seem to be running inside a container [2020-04-22T07:59:43.406Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2020-04-22T07:59:43.948Z] $ docker top b284fbc62eca08ab141ccf2ac5b805fc963de0e95b2fa26e360db8a6b84dd448 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-22T07:59:44.404Z] + go version [2020-04-22T07:59:44.404Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-22T07:59:44.703Z] + make test [2020-04-22T07:59:44.703Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-22T07:59:45.275Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-22T07:59:55.684Z] 8a11ddd9e578: Pull complete [2020-04-22T07:59:55.684Z] 4cf88f913ddb: Pull complete [2020-04-22T07:59:55.684Z] 1df406cf5192: Pull complete [2020-04-22T07:59:57.544Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-22T07:59:57.544Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-22T07:59:57.544Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-22T07:59:57.544Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.016s coverage: 22.1% of statements [2020-04-22T07:59:59.040Z] cd6300453558: Pull complete [2020-04-22T08:00:00.849Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.042s coverage: 95.8% of statements [2020-04-22T08:00:03.328Z] b9c365052c96: Pull complete [2020-04-22T08:00:03.597Z] a2d8cc88f415: Pull complete [2020-04-22T08:00:05.554Z] ea1d1ca13537: Pull complete [2020-04-22T08:00:05.828Z] 3750a50a1c5e: Pull complete [2020-04-22T08:00:05.828Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-22T08:00:05.828Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-22T08:00:05.828Z] ---> 78745c68409d [2020-04-22T08:00:05.828Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-22T08:00:10.102Z] ---> Running in 66e9229ce421 [2020-04-22T08:00:10.370Z] Removing intermediate container 66e9229ce421 [2020-04-22T08:00:10.370Z] ---> ca52844c535b [2020-04-22T08:00:10.370Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-22T08:00:10.641Z] ---> Running in dfd326c3b244 [2020-04-22T08:00:12.596Z] Removing intermediate container dfd326c3b244 [2020-04-22T08:00:12.596Z] ---> 94bd03821c5b [2020-04-22T08:00:12.596Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-22T08:00:12.864Z] ---> Running in 27f086fcde0f [2020-04-22T08:00:13.837Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-22T08:00:14.423Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-22T08:00:15.008Z] OK: 125 MiB in 39 packages [2020-04-22T08:00:16.421Z] Removing intermediate container 27f086fcde0f [2020-04-22T08:00:16.421Z] ---> ca8c4189ff6c [2020-04-22T08:00:16.421Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-22T08:00:16.421Z] ---> Running in ec10343f82e9 [2020-04-22T08:00:17.009Z] Removing intermediate container ec10343f82e9 [2020-04-22T08:00:17.009Z] ---> ea29c6e6c06c [2020-04-22T08:00:17.009Z] Step 7/8 : COPY . . [2020-04-22T08:00:17.991Z] ---> e2188731ad03 [2020-04-22T08:00:17.991Z] Step 8/8 : RUN go mod download [2020-04-22T08:00:18.260Z] ---> Running in dc442e06ca60 [2020-04-22T08:00:20.211Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-22T08:00:20.211Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-22T08:00:20.211Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-22T08:00:20.211Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-22T08:00:20.211Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-22T08:00:20.211Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-22T08:00:20.211Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-22T08:00:20.211Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-22T08:00:20.479Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-22T08:00:20.479Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-22T08:00:20.480Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-22T08:00:20.480Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-22T08:00:20.480Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-22T08:00:20.480Z] go: finding github.com/fatih/color v1.7.0 [2020-04-22T08:00:20.480Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-22T08:00:20.480Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-22T08:00:20.480Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-22T08:00:20.480Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-22T08:00:20.480Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-22T08:00:20.480Z] go: finding github.com/google/uuid v1.1.0 [2020-04-22T08:00:20.480Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-22T08:00:20.480Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-22T08:00:20.480Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-22T08:00:20.480Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-22T08:00:20.480Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-22T08:00:20.480Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-22T08:00:20.480Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-22T08:00:20.480Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-22T08:00:20.480Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-22T08:00:20.480Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-22T08:00:20.747Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-22T08:00:20.747Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-22T08:00:20.747Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-22T08:00:20.747Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-22T08:00:20.747Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-22T08:00:20.747Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-22T08:00:20.747Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-22T08:00:20.747Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-22T08:00:20.747Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-22T08:00:20.747Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-22T08:00:20.747Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-22T08:00:20.747Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-22T08:00:20.747Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-22T08:00:20.747Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-22T08:00:20.747Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-22T08:00:20.747Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-22T08:00:20.747Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-22T08:00:20.747Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-22T08:00:20.747Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-22T08:00:20.747Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-22T08:00:20.747Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-22T08:00:20.747Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-22T08:00:20.747Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-22T08:00:20.747Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-22T08:00:20.747Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-22T08:00:20.747Z] go: finding github.com/posener/complete v1.1.1 [2020-04-22T08:00:20.747Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-22T08:00:20.747Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-22T08:00:20.747Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-22T08:00:21.015Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-22T08:00:21.015Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-22T08:00:21.015Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-22T08:00:21.015Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-22T08:00:21.015Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-22T08:00:21.015Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-22T08:00:21.015Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-22T08:00:21.015Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-22T08:00:21.015Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-22T08:00:31.144Z] Removing intermediate container dc442e06ca60 [2020-04-22T08:00:31.144Z] ---> 51fe4ea285ea [2020-04-22T08:00:31.144Z] Successfully built 51fe4ea285ea [2020-04-22T08:00:31.144Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-22T08:00:31.830Z] + docker inspect -f . ci-base-image-arm64 [2020-04-22T08:00:31.830Z] . [Pipeline] withDockerContainer [2020-04-22T08:00:32.170Z] prd-ubuntu18.04-docker-arm64-4c-16g-5553 does not seem to be running inside a container [2020-04-22T08:00:32.250Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2020-04-22T08:00:32.951Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.036s coverage: 11.4% of statements [2020-04-22T08:00:32.951Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.006s coverage: 21.7% of statements [2020-04-22T08:00:32.951Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-22T08:00:32.951Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.070s coverage: 36.9% of statements [2020-04-22T08:00:32.951Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-22T08:00:32.951Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-22T08:00:32.951Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.280s coverage: 65.2% of statements [2020-04-22T08:00:32.951Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-22T08:00:32.951Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-22T08:00:32.951Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-22T08:00:32.951Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.019s coverage: 52.6% of statements [2020-04-22T08:00:32.951Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-22T08:00:32.951Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.100s coverage: 68.9% of statements [2020-04-22T08:00:32.951Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-22T08:00:32.951Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-22T08:00:32.951Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-22T08:00:32.951Z] gofmt -l . [2020-04-22T08:00:32.951Z] [ "`gofmt -l .`" = "" ] [2020-04-22T08:00:32.951Z] ./bin/test-attribution-txt.sh [2020-04-22T08:00:33.211Z] ./bin/test-go-mod-tidy.sh [2020-04-22T08:00:33.672Z] $ docker top c647b131ebe2b36790653b24bc65c62a8223013036505cac9ebd5e7c197452e2 -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh [2020-04-22T08:00:34.482Z] Stashed 1 file(s) [Pipeline] } [2020-04-22T08:00:34.491Z] $ docker stop --time=1 b284fbc62eca08ab141ccf2ac5b805fc963de0e95b2fa26e360db8a6b84dd448 [2020-04-22T08:00:34.775Z] + go version [2020-04-22T08:00:34.775Z] go version go1.13.5 linux/arm64 [2020-04-22T08:00:35.928Z] $ docker rm -f b284fbc62eca08ab141ccf2ac5b805fc963de0e95b2fa26e360db8a6b84dd448 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-04-22T08:00:36.825Z] + make test [2020-04-22T08:00:36.825Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [Pipeline] sh [2020-04-22T08:00:37.371Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-22T08:00:37.658Z] + ls -al . [2020-04-22T08:00:37.658Z] total 176 [2020-04-22T08:00:37.658Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 22 08:00 . [2020-04-22T08:00:37.658Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 22 07:59 .. [2020-04-22T08:00:37.658Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 22 07:59 api [2020-04-22T08:00:37.658Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 22 07:59 bin [2020-04-22T08:00:37.658Z] -rw-r--r--. 1 jenkins jenkins 110877 Apr 22 08:00 coverage.out [2020-04-22T08:00:37.658Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 22 07:59 Dockerfile.build [2020-04-22T08:00:37.659Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 22 07:59 .dockerignore [2020-04-22T08:00:37.659Z] drwxrwxr-x. 4 jenkins jenkins 48 Apr 22 07:59 example [2020-04-22T08:00:37.659Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 22 07:59 .git [2020-04-22T08:00:37.659Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 22 07:59 .github [2020-04-22T08:00:37.659Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 22 07:59 .gitignore [2020-04-22T08:00:37.659Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 22 08:00 go.mod [2020-04-22T08:00:37.659Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 22 08:00 go.sum [2020-04-22T08:00:37.659Z] drwxrwxr-x. 15 jenkins jenkins 217 Apr 22 07:59 internal [2020-04-22T08:00:37.659Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 22 07:59 Jenkinsfile [2020-04-22T08:00:37.659Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 22 07:59 LICENSE [2020-04-22T08:00:37.659Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 22 07:59 Makefile [2020-04-22T08:00:37.659Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 22 07:59 pkg [2020-04-22T08:00:37.659Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 22 07:59 README.md [2020-04-22T08:00:37.659Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 22 07:59 .semver [2020-04-22T08:00:37.659Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 22 07:59 snap [2020-04-22T08:00:37.659Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 22 07:57 VERSION [2020-04-22T08:00:37.659Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 22 07:59 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-22T08:00:37.950Z] + 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=4f7537934645620a12050afa509aeaf418a8ee8c --label arch=amd64 --label version=0.0.0 . [2020-04-22T08:00:37.950Z] Sending build context to Docker daemon 3.156MB [2020-04-22T08:00:37.950Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-22T08:00:37.950Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-22T08:00:37.950Z] ---> e88c4b8f59c5 [2020-04-22T08:00:37.950Z] Step 3/21 : ARG MAKE='make build' [2020-04-22T08:00:38.209Z] ---> Running in 4d97d1fe8b37 [2020-04-22T08:00:38.209Z] Removing intermediate container 4d97d1fe8b37 [2020-04-22T08:00:38.209Z] ---> 4200b1dee997 [2020-04-22T08:00:38.209Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-22T08:00:38.209Z] ---> Running in f760d2b2419e [2020-04-22T08:00:38.255Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-22T08:00:38.467Z] Removing intermediate container f760d2b2419e [2020-04-22T08:00:38.467Z] ---> 927f6443760e [2020-04-22T08:00:38.467Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-22T08:00:38.467Z] ---> Running in 35c6f3009ef4 [2020-04-22T08:00:38.726Z] Removing intermediate container 35c6f3009ef4 [2020-04-22T08:00:38.726Z] ---> fc6cd1795ad9 [2020-04-22T08:00:38.726Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-22T08:00:38.726Z] ---> Running in 7ab363cfd695 [2020-04-22T08:00:39.294Z] Removing intermediate container 7ab363cfd695 [2020-04-22T08:00:39.294Z] ---> 55762ba06cba [2020-04-22T08:00:39.294Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-22T08:00:39.294Z] ---> Running in 6bb7cd5e968a [2020-04-22T08:00:39.866Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-22T08:00:40.433Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-22T08:00:41.000Z] OK: 143 MiB in 39 packages [2020-04-22T08:00:41.584Z] Removing intermediate container 6bb7cd5e968a [2020-04-22T08:00:41.584Z] ---> b7a1e11bd213 [2020-04-22T08:00:41.584Z] Step 8/21 : COPY . . [2020-04-22T08:00:41.844Z] ---> c2248d446567 [2020-04-22T08:00:41.844Z] Step 9/21 : RUN ${MAKE} [2020-04-22T08:00:41.844Z] ---> Running in b2b60c9c8a3f [2020-04-22T08:00:42.417Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-22T08:00:50.587Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-22T08:00:50.588Z] Removing intermediate container b2b60c9c8a3f [2020-04-22T08:00:50.588Z] ---> 6d69df288056 [2020-04-22T08:00:50.588Z] Step 10/21 : FROM scratch [2020-04-22T08:00:50.588Z] ---> [2020-04-22T08:00:50.588Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-22T08:00:50.854Z] ---> Running in 431426cf64fa [2020-04-22T08:00:50.854Z] Removing intermediate container 431426cf64fa [2020-04-22T08:00:50.854Z] ---> c47767836fe6 [2020-04-22T08:00:50.854Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-22T08:00:50.854Z] ---> Running in e8156915bd28 [2020-04-22T08:00:51.113Z] Removing intermediate container e8156915bd28 [2020-04-22T08:00:51.113Z] ---> fe169e0058fe [2020-04-22T08:00:51.113Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-22T08:00:51.113Z] ---> Running in 05c1c066fbd2 [2020-04-22T08:00:51.113Z] Removing intermediate container 05c1c066fbd2 [2020-04-22T08:00:51.113Z] ---> aea36089c023 [2020-04-22T08:00:51.113Z] Step 14/21 : WORKDIR / [2020-04-22T08:00:51.113Z] ---> Running in f533494f3f51 [2020-04-22T08:00:51.374Z] Removing intermediate container f533494f3f51 [2020-04-22T08:00:51.374Z] ---> 234848cb356b [2020-04-22T08:00:51.374Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-22T08:00:51.633Z] ---> c78b70ce126b [2020-04-22T08:00:51.633Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-22T08:00:51.892Z] ---> 3c2b17e5f158 [2020-04-22T08:00:51.892Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-22T08:00:52.153Z] ---> 94cd4c0125d2 [2020-04-22T08:00:52.153Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-22T08:00:52.153Z] ---> Running in cc34d15c4520 [2020-04-22T08:00:52.153Z] Removing intermediate container cc34d15c4520 [2020-04-22T08:00:52.153Z] ---> 1303ad44c493 [2020-04-22T08:00:52.153Z] Step 19/21 : LABEL arch=amd64 [2020-04-22T08:00:52.413Z] ---> Running in 5edcb0beb1a0 [2020-04-22T08:00:52.413Z] Removing intermediate container 5edcb0beb1a0 [2020-04-22T08:00:52.413Z] ---> cc5459359506 [2020-04-22T08:00:52.413Z] Step 20/21 : LABEL git_sha=4f7537934645620a12050afa509aeaf418a8ee8c [2020-04-22T08:00:52.413Z] ---> Running in 5acf7888f1aa [2020-04-22T08:00:52.675Z] Removing intermediate container 5acf7888f1aa [2020-04-22T08:00:52.675Z] ---> 139b31c8abe5 [2020-04-22T08:00:52.675Z] Step 21/21 : LABEL version=0.0.0 [2020-04-22T08:00:52.675Z] ---> Running in bb57b904aea4 [2020-04-22T08:00:52.675Z] Removing intermediate container bb57b904aea4 [2020-04-22T08:00:52.675Z] ---> 45af5b98ca15 [2020-04-22T08:00:52.675Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-22T08:00:52.675Z] Successfully built 45af5b98ca15 [2020-04-22T08:00:52.935Z] 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-04-22T08:01:05.005Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-22T08:01:05.005Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-22T08:01:05.005Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-22T08:01:07.618Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.021s coverage: 22.1% of statements [2020-04-22T08:01:10.995Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.144s coverage: 95.8% of statements [2020-04-22T08:01:43.281Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.042s coverage: 11.4% of statements [2020-04-22T08:01:43.281Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.022s coverage: 21.7% of statements [2020-04-22T08:01:43.281Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-22T08:01:43.281Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.158s coverage: 36.9% of statements [2020-04-22T08:01:43.281Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-22T08:01:43.281Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-22T08:01:43.281Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.558s coverage: 65.2% of statements [2020-04-22T08:01:43.281Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-22T08:01:43.281Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-22T08:01:43.281Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-22T08:01:43.281Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements [2020-04-22T08:01:43.281Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-22T08:01:43.281Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.356s coverage: 68.9% of statements [2020-04-22T08:01:43.281Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-22T08:01:43.281Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-22T08:01:43.281Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-22T08:01:45.906Z] gofmt -l . [2020-04-22T08:01:45.906Z] [ "`gofmt -l .`" = "" ] [2020-04-22T08:01:46.494Z] ./bin/test-attribution-txt.sh [2020-04-22T08:01:47.085Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-22T08:01:47.689Z] Warning: overwriting stash ‘coverage-report’ [2020-04-22T08:01:48.169Z] Stashed 1 file(s) [Pipeline] } [2020-04-22T08:01:48.175Z] $ docker stop --time=1 c647b131ebe2b36790653b24bc65c62a8223013036505cac9ebd5e7c197452e2 [2020-04-22T08:01:50.232Z] $ docker rm -f c647b131ebe2b36790653b24bc65c62a8223013036505cac9ebd5e7c197452e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-22T08:01:51.451Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-22T08:01:51.773Z] + ls -al . [2020-04-22T08:01:51.773Z] total 216 [2020-04-22T08:01:51.773Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 08:01 . [2020-04-22T08:01:51.774Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 07:59 .. [2020-04-22T08:01:51.774Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 07:59 .dockerignore [2020-04-22T08:01:51.774Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 07:59 .git [2020-04-22T08:01:51.774Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 07:59 .github [2020-04-22T08:01:51.774Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 22 07:59 .gitignore [2020-04-22T08:01:51.774Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 07:59 .semver [2020-04-22T08:01:51.774Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 22 07:59 Dockerfile.build [2020-04-22T08:01:51.774Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 22 07:59 Jenkinsfile [2020-04-22T08:01:51.774Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 07:59 LICENSE [2020-04-22T08:01:51.774Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 22 07:59 Makefile [2020-04-22T08:01:51.774Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 22 07:59 README.md [2020-04-22T08:01:51.774Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 07:57 VERSION [2020-04-22T08:01:51.774Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 07:59 api [2020-04-22T08:01:51.774Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 07:59 bin [2020-04-22T08:01:51.774Z] -rw-r--r-- 1 jenkins jenkins 110877 Apr 22 08:01 coverage.out [2020-04-22T08:01:51.774Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 07:59 example [2020-04-22T08:01:51.774Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 22 08:01 go.mod [2020-04-22T08:01:51.774Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 22 08:01 go.sum [2020-04-22T08:01:51.774Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 07:59 internal [2020-04-22T08:01:51.774Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 07:59 pkg [2020-04-22T08:01:51.774Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 07:59 snap [2020-04-22T08:01:51.774Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 07:59 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-22T08:01:52.105Z] + 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=4f7537934645620a12050afa509aeaf418a8ee8c --label arch=arm64 --label version=0.0.0 . [2020-04-22T08:01:52.696Z] Sending build context to Docker daemon 3.156MB [2020-04-22T08:01:52.696Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-22T08:01:52.696Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-22T08:01:52.696Z] ---> 51fe4ea285ea [2020-04-22T08:01:52.696Z] Step 3/21 : ARG MAKE='make build' [2020-04-22T08:01:52.696Z] ---> Running in bca1c24b1d25 [2020-04-22T08:01:52.965Z] Removing intermediate container bca1c24b1d25 [2020-04-22T08:01:52.965Z] ---> 26d48574b0ee [2020-04-22T08:01:52.965Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-22T08:01:53.235Z] ---> Running in 7c08530a0eff [2020-04-22T08:01:53.504Z] Removing intermediate container 7c08530a0eff [2020-04-22T08:01:53.504Z] ---> 906d8bc9fbf5 [2020-04-22T08:01:53.504Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-22T08:01:53.773Z] ---> Running in dc4e894a984a [2020-04-22T08:01:54.042Z] Removing intermediate container dc4e894a984a [2020-04-22T08:01:54.042Z] ---> b850375fc820 [2020-04-22T08:01:54.042Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-22T08:01:54.312Z] ---> Running in 86adf846f346 [2020-04-22T08:01:55.732Z] Removing intermediate container 86adf846f346 [2020-04-22T08:01:55.732Z] ---> e22e3ab1c1ef [2020-04-22T08:01:55.732Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-22T08:01:55.999Z] ---> Running in c719be777fe8 [2020-04-22T08:01:56.964Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-22T08:01:57.550Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-22T08:01:58.144Z] OK: 125 MiB in 39 packages [2020-04-22T08:01:59.626Z] Removing intermediate container c719be777fe8 [2020-04-22T08:01:59.626Z] ---> 8cd639b85d5c [2020-04-22T08:01:59.626Z] Step 8/21 : COPY . . [2020-04-22T08:02:00.624Z] ---> a4404fee70af [2020-04-22T08:02:00.624Z] Step 9/21 : RUN ${MAKE} [2020-04-22T08:02:00.922Z] ---> Running in e569ee3dd620 [2020-04-22T08:02:01.911Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-04-22T08:02:24.017Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-22T08:02:26.605Z] Removing intermediate container e569ee3dd620 [2020-04-22T08:02:26.605Z] ---> 7f997e338a4c [2020-04-22T08:02:26.605Z] Step 10/21 : FROM scratch [2020-04-22T08:02:26.605Z] ---> [2020-04-22T08:02:26.605Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-22T08:02:26.605Z] ---> Running in 0d7335342751 [2020-04-22T08:02:26.605Z] Removing intermediate container 0d7335342751 [2020-04-22T08:02:26.605Z] ---> 1f4dc74e67df [2020-04-22T08:02:26.605Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-22T08:02:26.873Z] ---> Running in 1ff8a8f54c6d [2020-04-22T08:02:27.143Z] Removing intermediate container 1ff8a8f54c6d [2020-04-22T08:02:27.143Z] ---> e5d9ce8f0304 [2020-04-22T08:02:27.143Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-22T08:02:27.143Z] ---> Running in c1ba520e650c [2020-04-22T08:02:27.414Z] Removing intermediate container c1ba520e650c [2020-04-22T08:02:27.414Z] ---> 87b6892304ca [2020-04-22T08:02:27.414Z] Step 14/21 : WORKDIR / [2020-04-22T08:02:27.685Z] ---> Running in 0856cee1a202 [2020-04-22T08:02:27.956Z] Removing intermediate container 0856cee1a202 [2020-04-22T08:02:27.956Z] ---> 591b4caa8306 [2020-04-22T08:02:27.956Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-22T08:02:28.918Z] ---> f50527623ba9 [2020-04-22T08:02:28.918Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-22T08:02:29.501Z] ---> ceafcae46b64 [2020-04-22T08:02:29.501Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-22T08:02:30.093Z] ---> 3df8a2773ed1 [2020-04-22T08:02:30.093Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-22T08:02:30.093Z] ---> Running in 695ff2f88b29 [2020-04-22T08:02:30.359Z] Removing intermediate container 695ff2f88b29 [2020-04-22T08:02:30.359Z] ---> 4fc2803002ba [2020-04-22T08:02:30.359Z] Step 19/21 : LABEL arch=arm64 [2020-04-22T08:02:30.359Z] ---> Running in 830b31d83f7d [2020-04-22T08:02:30.944Z] Removing intermediate container 830b31d83f7d [2020-04-22T08:02:30.944Z] ---> 017ced2731a8 [2020-04-22T08:02:30.944Z] Step 20/21 : LABEL git_sha=4f7537934645620a12050afa509aeaf418a8ee8c [2020-04-22T08:02:30.944Z] ---> Running in 38d6198d5aba [2020-04-22T08:02:31.214Z] Removing intermediate container 38d6198d5aba [2020-04-22T08:02:31.214Z] ---> c7647623b572 [2020-04-22T08:02:31.214Z] Step 21/21 : LABEL version=0.0.0 [2020-04-22T08:02:31.214Z] ---> Running in 5aeeffdb6f65 [2020-04-22T08:02:31.798Z] Removing intermediate container 5aeeffdb6f65 [2020-04-22T08:02:31.798Z] ---> 127971cc4c66 [2020-04-22T08:02:31.798Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-22T08:02:31.798Z] Successfully built 127971cc4c66 [2020-04-22T08:02:31.798Z] 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-04-22T08:02:32.878Z] provisioning config files... [2020-04-22T08:02:32.893Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-507@tmp/config2307311981360774587tmp [Pipeline] { [Pipeline] sh [2020-04-22T08:02:33.330Z] + curl -s https://codecov.io/bash [2020-04-22T08:02:33.330Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-507@tmp/config2307311981360774587tmp [2020-04-22T08:02:33.589Z] [2020-04-22T08:02:33.589Z] _____ _ [2020-04-22T08:02:33.589Z] / ____| | | [2020-04-22T08:02:33.589Z] | | ___ __| | ___ ___ _____ __ [2020-04-22T08:02:33.589Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-22T08:02:33.589Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-22T08:02:33.589Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-22T08:02:33.589Z] Bash-tbd [2020-04-22T08:02:33.589Z] [2020-04-22T08:02:33.589Z] [2020-04-22T08:02:33.589Z] ==> Jenkins CI detected. [2020-04-22T08:02:33.589Z] project root: . [2020-04-22T08:02:33.589Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-22T08:02:33.589Z] ==> Running gcov in . (disable via -X gcov) [2020-04-22T08:02:33.589Z] ==> Python coveragepy not found [2020-04-22T08:02:33.589Z] ==> Searching for coverage reports in: [2020-04-22T08:02:33.589Z] + . [2020-04-22T08:02:33.589Z] -> Found 1 reports [2020-04-22T08:02:33.589Z] ==> Detecting git/mercurial file structure [2020-04-22T08:02:33.589Z] ==> Reading reports [2020-04-22T08:02:33.589Z] + ./coverage.out bytes=110877 [2020-04-22T08:02:33.589Z] ==> Appending adjustments [2020-04-22T08:02:33.589Z] http://docs.codecov.io/docs/fixing-reports [2020-04-22T08:02:33.849Z] + Found adjustments [2020-04-22T08:02:33.849Z] ==> Gzipping contents [2020-04-22T08:02:33.849Z] ==> Uploading reports [2020-04-22T08:02:33.849Z] url: https://codecov.io [2020-04-22T08:02:33.849Z] query: branch=PR-507&commit=4f7537934645620a12050afa509aeaf418a8ee8c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-507%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=507&job= [2020-04-22T08:02:33.849Z] -> Pinging Codecov [2020-04-22T08:02:33.849Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-507&commit=4f7537934645620a12050afa509aeaf418a8ee8c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-507%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=507&job= [2020-04-22T08:02:34.420Z] -> Uploading [2020-04-22T08:02:34.680Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4f7537934645620a12050afa509aeaf418a8ee8c [Pipeline] } [2020-04-22T08:02:34.687Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-04-22T08:02:35.857Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-22T08:02:36.157Z] ---> package-listing.sh [2020-04-22T08:02:36.157Z] ++ facter osfamily [2020-04-22T08:02:36.157Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-22T08:02:36.157Z] + OS_FAMILY=redhat [2020-04-22T08:02:36.157Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-507 [2020-04-22T08:02:36.157Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-22T08:02:36.157Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-22T08:02:36.157Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-22T08:02:36.157Z] + PACKAGES=/tmp/packages_start.txt [2020-04-22T08:02:36.157Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-507 ']' [2020-04-22T08:02:36.157Z] + PACKAGES=/tmp/packages_end.txt [2020-04-22T08:02:36.157Z] + case "${OS_FAMILY}" in [2020-04-22T08:02:36.157Z] + rpm -qa [2020-04-22T08:02:36.157Z] + sort [2020-04-22T08:02:40.364Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-22T08:02:40.364Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-22T08:02:40.364Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-22T08:02:40.364Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-507 ']' [2020-04-22T08:02:40.364Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-507/archives/ [2020-04-22T08:02:40.364Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-507/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-22T08:02:40.852Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-22T08:02:40.853Z] [2020-04-22T08:02:40.853Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-22T08:02:41.192Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-22T08:02:41.193Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-22T08:02:41.193Z] c9b1b535fdd9: Pulling fs layer [2020-04-22T08:02:41.193Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-22T08:02:41.193Z] 756a868c4378: Pulling fs layer [2020-04-22T08:02:41.193Z] 444b2fc9a129: Pulling fs layer [2020-04-22T08:02:41.193Z] ea15f1150254: Pulling fs layer [2020-04-22T08:02:41.193Z] 41b27a9f41bf: Pulling fs layer [2020-04-22T08:02:41.193Z] 28c525ee5125: Pulling fs layer [2020-04-22T08:02:41.193Z] 094b1ea09ed8: Pulling fs layer [2020-04-22T08:02:41.193Z] 138eaada9080: Pulling fs layer [2020-04-22T08:02:41.193Z] 0622d0fa9048: Pulling fs layer [2020-04-22T08:02:41.193Z] 28c525ee5125: Waiting [2020-04-22T08:02:41.193Z] 094b1ea09ed8: Waiting [2020-04-22T08:02:41.193Z] 138eaada9080: Waiting [2020-04-22T08:02:41.193Z] 0622d0fa9048: Waiting [2020-04-22T08:02:41.193Z] ea15f1150254: Waiting [2020-04-22T08:02:41.193Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-22T08:02:41.193Z] 2cc5ad85d9ab: Download complete [2020-04-22T08:02:41.193Z] 444b2fc9a129: Verifying Checksum [2020-04-22T08:02:41.193Z] 444b2fc9a129: Download complete [2020-04-22T08:02:41.193Z] c9b1b535fdd9: Verifying Checksum [2020-04-22T08:02:41.193Z] c9b1b535fdd9: Download complete [2020-04-22T08:02:41.461Z] ea15f1150254: Download complete [2020-04-22T08:02:41.461Z] 28c525ee5125: Verifying Checksum [2020-04-22T08:02:41.461Z] 28c525ee5125: Download complete [2020-04-22T08:02:41.725Z] 756a868c4378: Verifying Checksum [2020-04-22T08:02:41.725Z] 756a868c4378: Download complete [2020-04-22T08:02:41.725Z] c9b1b535fdd9: Pull complete [2020-04-22T08:02:41.993Z] 094b1ea09ed8: Verifying Checksum [2020-04-22T08:02:41.993Z] 094b1ea09ed8: Download complete [2020-04-22T08:02:41.993Z] 138eaada9080: Verifying Checksum [2020-04-22T08:02:41.993Z] 138eaada9080: Download complete [2020-04-22T08:02:41.993Z] 0622d0fa9048: Download complete [2020-04-22T08:02:41.993Z] 2cc5ad85d9ab: Pull complete [2020-04-22T08:02:42.569Z] 41b27a9f41bf: Verifying Checksum [2020-04-22T08:02:42.569Z] 41b27a9f41bf: Download complete [2020-04-22T08:02:43.962Z] 756a868c4378: Pull complete [2020-04-22T08:02:43.962Z] 444b2fc9a129: Pull complete [2020-04-22T08:02:44.533Z] ea15f1150254: Pull complete [2020-04-22T08:02:47.841Z] 41b27a9f41bf: Pull complete [2020-04-22T08:02:48.104Z] 28c525ee5125: Pull complete [2020-04-22T08:02:50.012Z] 094b1ea09ed8: Pull complete [2020-04-22T08:02:50.272Z] 138eaada9080: Pull complete [2020-04-22T08:02:50.531Z] 0622d0fa9048: Pull complete [2020-04-22T08:02:50.531Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-22T08:02:50.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-22T08:02:50.695Z] prd-centos7-docker-4c-2g-5552 does not seem to be running inside a container [2020-04-22T08:02:50.741Z] $ 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-507 -v /w/workspace/dgexfoundry_device-sdk-go_PR-507:/w/workspace/dgexfoundry_device-sdk-go_PR-507:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-507@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-507@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-22T08:02:51.817Z] $ docker top 943bc03b5eaa1f0caa8eff45adc2ccfc1b00b6662185146f441e85ee11cfc1fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-22T08:02:52.109Z] provisioning config files... [2020-04-22T08:02:52.130Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-507@tmp/config6466742839988528632tmp [Pipeline] { [Pipeline] echo [2020-04-22T08:02:52.177Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-22T08:02:52.482Z] ---> create-netrc.sh [Pipeline] echo [2020-04-22T08:02:52.490Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-22T08:02:52.783Z] ---> logs-deploy.sh [2020-04-22T08:02:52.783Z] + ARCHIVE_ARTIFACTS= [2020-04-22T08:02:52.783Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-22T08:02:52.783Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-22T08:02:52.783Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-22T08:02:52.783Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-507/2 [2020-04-22T08:02:52.783Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-507/2/ [2020-04-22T08:02:52.783Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-507/2 /w/workspace/dgexfoundry_device-sdk-go_PR-507 [2020-04-22T08:02:54.167Z] Archives upload complete. [2020-04-22T08:02:54.167Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-507/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-507/2/