Pull request #511 opened 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 4a823dd8d76504a4bb8217165d79aec514b56350+32cdc69c02caaeadc7e6c55a092399b45a5765d3 (fc4a85aae194f0a227ce90ea06324f6bae20626c) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-511/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision 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 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5875 in /w/workspace/dgexfoundry_device-sdk-go_PR-511 [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-511 # 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/511/head:refs/remotes/origin/PR-511 +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/511/head:refs/remotes/origin/PR-511 # 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/511/head:refs/remotes/origin/PR-511 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 32cdc69c02caaeadc7e6c55a092399b45a5765d3 into PR head commit 4a823dd8d76504a4bb8217165d79aec514b56350 Merge succeeded, producing 4a823dd8d76504a4bb8217165d79aec514b56350 Checking out Revision 4a823dd8d76504a4bb8217165d79aec514b56350 (PR-511) > git config core.sparsecheckout # timeout=10 > git checkout -f 4a823dd8d76504a4bb8217165d79aec514b56350 # 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 32cdc69c02caaeadc7e6c55a092399b45a5765d3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a823dd8d76504a4bb8217165d79aec514b56350 # timeout=10 Commit message: "Add release note for Geneva" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-24T05:45:55.914Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-24T05:45:56.238Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-24T05:45:56.405Z] ========================================================= [2020-04-24T05:45:56.406Z] EdgeX Global Pipelines Version Info [2020-04-24T05:45:56.406Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-24T05:45:57.896Z] ------------------- [2020-04-24T05:45:57.896Z] stable info: [2020-04-24T05:45:57.896Z] ------------------- [2020-04-24T05:45:57.896Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-24T05:45:57.896Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-24T05:45:57.896Z] Message: update stable to v1.0.73 [2020-04-24T05:45:58.464Z] ------------------- [2020-04-24T05:45:58.464Z] experimental info: [2020-04-24T05:45:58.464Z] ------------------- [2020-04-24T05:45:58.464Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-04-24T05:45:58.464Z] Commit SHA: db8f057101f5d4fbc3fddca88a70e396ee8d8f73 [2020-04-24T05:45:58.464Z] Message: update experimental to v1.0.82 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-24T05:46:00.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-24T05:46:00.650Z] [2020-04-24T05:46:00.650Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-24T05:46:01.022Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-24T05:46:01.022Z] latest: Pulling from edgex-devops/git-semver [2020-04-24T05:46:01.022Z] 9123ac7c32f7: Pulling fs layer [2020-04-24T05:46:01.022Z] b8cc5d1170e3: Pulling fs layer [2020-04-24T05:46:01.022Z] 2924cbbf6a41: Pulling fs layer [2020-04-24T05:46:01.022Z] 93b08a4f1073: Pulling fs layer [2020-04-24T05:46:01.022Z] 93b08a4f1073: Waiting [2020-04-24T05:46:01.022Z] b8cc5d1170e3: Verifying Checksum [2020-04-24T05:46:01.022Z] b8cc5d1170e3: Download complete [2020-04-24T05:46:01.285Z] 9123ac7c32f7: Verifying Checksum [2020-04-24T05:46:01.285Z] 9123ac7c32f7: Download complete [2020-04-24T05:46:01.285Z] 93b08a4f1073: Verifying Checksum [2020-04-24T05:46:01.285Z] 93b08a4f1073: Download complete [2020-04-24T05:46:01.285Z] 2924cbbf6a41: Verifying Checksum [2020-04-24T05:46:01.285Z] 2924cbbf6a41: Download complete [2020-04-24T05:46:01.546Z] 9123ac7c32f7: Pull complete [2020-04-24T05:46:01.546Z] b8cc5d1170e3: Pull complete [2020-04-24T05:46:02.122Z] 2924cbbf6a41: Pull complete [2020-04-24T05:46:02.381Z] 93b08a4f1073: Pull complete [2020-04-24T05:46:02.381Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-24T05:46:02.381Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-24T05:46:02.533Z] prd-centos7-docker-4c-2g-5875 does not seem to be running inside a container [2020-04-24T05:46:02.576Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-511 -v /w/workspace/dgexfoundry_device-sdk-go_PR-511:/w/workspace/dgexfoundry_device-sdk-go_PR-511:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-511@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-511@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-04-24T05:46:03.247Z] $ docker top beffa6348fd4ebc0508f2241e0c04e8c9296dcec2e5269e5c525fb7c1cf3bdd7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-24T05:46:03.618Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-24T05:46:03.619Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-24T05:46:03.832Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-24T05:46:03.834Z] $ docker exec beffa6348fd4ebc0508f2241e0c04e8c9296dcec2e5269e5c525fb7c1cf3bdd7 ssh-agent [2020-04-24T05:46:04.025Z] SSH_AUTH_SOCK=/tmp/ssh-GRJTbmPmnde1/agent.14 [2020-04-24T05:46:04.025Z] SSH_AGENT_PID=20 [2020-04-24T05:46:04.051Z] Running ssh-add (command line suppressed) [2020-04-24T05:46:04.203Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-511@tmp/private_key_3629563464079143134.key (/w/workspace/dgexfoundry_device-sdk-go_PR-511@tmp/private_key_3629563464079143134.key) [2020-04-24T05:46:04.255Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-24T05:46:04.620Z] + git describe --exact-match --tags HEAD [2020-04-24T05:46:04.620Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-24T05:46:04.695Z] $ docker exec --env ******** --env ******** beffa6348fd4ebc0508f2241e0c04e8c9296dcec2e5269e5c525fb7c1cf3bdd7 ssh-agent -k [2020-04-24T05:46:04.862Z] unset SSH_AUTH_SOCK; [2020-04-24T05:46:04.863Z] unset SSH_AGENT_PID; [2020-04-24T05:46:04.863Z] echo Agent pid 20 killed; [2020-04-24T05:46:04.917Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-24T05:46:05.043Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-24T05:46:05.043Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-24T05:46:05.147Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-24T05:46:05.147Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-24T05:46:05.320Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-24T05:46:05.322Z] $ docker exec beffa6348fd4ebc0508f2241e0c04e8c9296dcec2e5269e5c525fb7c1cf3bdd7 ssh-agent [2020-04-24T05:46:05.501Z] SSH_AUTH_SOCK=/tmp/ssh-bo5eMYfbDPej/agent.55 [2020-04-24T05:46:05.501Z] SSH_AGENT_PID=62 [2020-04-24T05:46:05.510Z] Running ssh-add (command line suppressed) [2020-04-24T05:46:05.662Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-511@tmp/private_key_5176884636769399697.key (/w/workspace/dgexfoundry_device-sdk-go_PR-511@tmp/private_key_5176884636769399697.key) [2020-04-24T05:46:05.753Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-24T05:46:06.117Z] + git semver init [2020-04-24T05:46:06.117Z] # -> Open(): unable to determine branch for HEAD [2020-04-24T05:46:06.117Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-511/.git [2020-04-24T05:46:06.117Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-511 [2020-04-24T05:46:06.117Z] # $SEMVER_REMOTE_NAME = origin [2020-04-24T05:46:06.117Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-24T05:46:06.117Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-24T05:46:06.117Z] # $SEMVER_BRANCH = PR-511 [2020-04-24T05:46:06.117Z] # $SEMVER_TEMP = /tmp/semver-375708589 [2020-04-24T05:46:06.117Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-24T05:46:06.685Z] # '/tmp/semver-375708589' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-511/.semver' [2020-04-24T05:46:06.685Z] # -> Force: false [2020-04-24T05:46:06.685Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-511/.semver [Pipeline] } [2020-04-24T05:46:06.705Z] $ docker exec --env ******** --env ******** beffa6348fd4ebc0508f2241e0c04e8c9296dcec2e5269e5c525fb7c1cf3bdd7 ssh-agent -k [2020-04-24T05:46:06.846Z] unset SSH_AUTH_SOCK; [2020-04-24T05:46:06.846Z] unset SSH_AGENT_PID; [2020-04-24T05:46:06.847Z] echo Agent pid 62 killed; [2020-04-24T05:46:06.898Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-24T05:46:07.540Z] + git semver [Pipeline] } [2020-04-24T05:46:07.565Z] $ docker stop --time=1 beffa6348fd4ebc0508f2241e0c04e8c9296dcec2e5269e5c525fb7c1cf3bdd7 [2020-04-24T05:46:08.945Z] $ docker rm -f beffa6348fd4ebc0508f2241e0c04e8c9296dcec2e5269e5c525fb7c1cf3bdd7 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-24T05:46:09.871Z] Stashed 55 file(s) [Pipeline] echo [2020-04-24T05:46:09.889Z] [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-24T05:46:10.582Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5872 in /w/workspace/dgexfoundry_device-sdk-go_PR-511 [Pipeline] { [Pipeline] ws [2020-04-24T05:46:10.650Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-04-24T05:46:14.567Z] using credential edgex-jenkins-ssh [2020-04-24T05:46:14.620Z] Cloning the remote Git repository [2020-04-24T05:46:14.620Z] Cloning with configured refspecs honoured and without tags [2020-04-24T05:46:14.658Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-24T05:46:14.736Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-04-24T05:46:14.802Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-24T05:46:14.803Z] > git --version # timeout=10 [2020-04-24T05:46:14.819Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-24T05:46:14.886Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/511/head:refs/remotes/origin/PR-511 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-24T05:46:15.775Z] Fetching without tags [2020-04-24T05:46:16.227Z] Merging remotes/origin/master commit 32cdc69c02caaeadc7e6c55a092399b45a5765d3 into PR head commit 4a823dd8d76504a4bb8217165d79aec514b56350 [2020-04-24T05:46:16.435Z] Merge succeeded, producing 4a823dd8d76504a4bb8217165d79aec514b56350 [2020-04-24T05:46:16.436Z] Checking out Revision 4a823dd8d76504a4bb8217165d79aec514b56350 (PR-511) [2020-04-24T05:46:15.682Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-24T05:46:15.697Z] > git config --add remote.origin.fetch +refs/pull/511/head:refs/remotes/origin/PR-511 # timeout=10 [2020-04-24T05:46:15.723Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-24T05:46:15.746Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-24T05:46:15.772Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-24T05:46:15.773Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-24T05:46:15.786Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/511/head:refs/remotes/origin/PR-511 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-24T05:46:16.231Z] > git config core.sparsecheckout # timeout=10 [2020-04-24T05:46:16.251Z] > git checkout -f 4a823dd8d76504a4bb8217165d79aec514b56350 # timeout=10 [2020-04-24T05:46:16.347Z] > git remote # timeout=10 [2020-04-24T05:46:16.361Z] > git config --get remote.origin.url # timeout=10 [2020-04-24T05:46:16.375Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-24T05:46:16.386Z] > git merge 32cdc69c02caaeadc7e6c55a092399b45a5765d3 # timeout=10 [2020-04-24T05:46:16.408Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-24T05:46:16.429Z] > git config core.sparsecheckout # timeout=10 [2020-04-24T05:46:16.438Z] > git checkout -f 4a823dd8d76504a4bb8217165d79aec514b56350 # timeout=10 [2020-04-24T05:46:20.744Z] Commit message: "Add release note for Geneva" [2020-04-24T05:46:20.782Z] > git --version # timeout=10 [2020-04-24T05:46:20.802Z] fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-24T05:46:22.132Z] ========================================================= [2020-04-24T05:46:22.132Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-24T05:46:22.132Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-24T05:46:23.066Z] + 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-24T05:46:24.039Z] Sending build context to Docker daemon 3.038MB [2020-04-24T05:46:24.039Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-24T05:46:24.039Z] Step 2/8 : FROM ${BASE} [2020-04-24T05:46:24.308Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-24T05:46:24.308Z] cde5963f3b93: Pulling fs layer [2020-04-24T05:46:24.308Z] 2a23fa8c16f7: Pulling fs layer [2020-04-24T05:46:24.308Z] 777b28850792: Pulling fs layer [2020-04-24T05:46:24.308Z] 8a11ddd9e578: Pulling fs layer [2020-04-24T05:46:24.308Z] 4cf88f913ddb: Pulling fs layer [2020-04-24T05:46:24.308Z] 1df406cf5192: Pulling fs layer [2020-04-24T05:46:24.308Z] cd6300453558: Pulling fs layer [2020-04-24T05:46:24.308Z] b9c365052c96: Pulling fs layer [2020-04-24T05:46:24.308Z] a2d8cc88f415: Pulling fs layer [2020-04-24T05:46:24.308Z] ea1d1ca13537: Pulling fs layer [2020-04-24T05:46:24.308Z] 3750a50a1c5e: Pulling fs layer [2020-04-24T05:46:24.308Z] cd6300453558: Waiting [2020-04-24T05:46:24.308Z] b9c365052c96: Waiting [2020-04-24T05:46:24.308Z] a2d8cc88f415: Waiting [2020-04-24T05:46:24.308Z] ea1d1ca13537: Waiting [2020-04-24T05:46:24.308Z] 3750a50a1c5e: Waiting [2020-04-24T05:46:24.308Z] 8a11ddd9e578: Waiting [2020-04-24T05:46:24.308Z] 4cf88f913ddb: Waiting [2020-04-24T05:46:24.308Z] 1df406cf5192: Waiting [2020-04-24T05:46:24.308Z] 777b28850792: Verifying Checksum [2020-04-24T05:46:24.308Z] 777b28850792: Download complete [2020-04-24T05:46:24.308Z] 2a23fa8c16f7: Verifying Checksum [2020-04-24T05:46:24.308Z] 2a23fa8c16f7: Download complete [2020-04-24T05:46:24.308Z] 4cf88f913ddb: Verifying Checksum [2020-04-24T05:46:24.308Z] 4cf88f913ddb: Download complete [2020-04-24T05:46:24.308Z] 1df406cf5192: Verifying Checksum [2020-04-24T05:46:24.308Z] 1df406cf5192: Download complete [2020-04-24T05:46:24.575Z] cde5963f3b93: Verifying Checksum [2020-04-24T05:46:24.575Z] cde5963f3b93: Download complete [2020-04-24T05:46:25.168Z] cde5963f3b93: Pull complete [2020-04-24T05:46:25.389Z] Still waiting to schedule task [2020-04-24T05:46:25.389Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-24T05:46:25.752Z] 2a23fa8c16f7: Pull complete [2020-04-24T05:46:26.342Z] 777b28850792: Pull complete [2020-04-24T05:46:28.320Z] cd6300453558: Verifying Checksum [2020-04-24T05:46:28.320Z] cd6300453558: Download complete [2020-04-24T05:46:28.320Z] a2d8cc88f415: Verifying Checksum [2020-04-24T05:46:28.320Z] a2d8cc88f415: Download complete [2020-04-24T05:46:30.916Z] ea1d1ca13537: Verifying Checksum [2020-04-24T05:46:30.916Z] ea1d1ca13537: Download complete [2020-04-24T05:46:31.186Z] 3750a50a1c5e: Verifying Checksum [2020-04-24T05:46:31.186Z] 3750a50a1c5e: Download complete [2020-04-24T05:46:33.765Z] b9c365052c96: Verifying Checksum [2020-04-24T05:46:33.765Z] b9c365052c96: Download complete [2020-04-24T05:46:35.185Z] 8a11ddd9e578: Verifying Checksum [2020-04-24T05:46:35.185Z] 8a11ddd9e578: Download complete [2020-04-24T05:46:47.525Z] 8a11ddd9e578: Pull complete [2020-04-24T05:46:47.525Z] 4cf88f913ddb: Pull complete [2020-04-24T05:46:47.525Z] 1df406cf5192: Pull complete [2020-04-24T05:46:52.901Z] cd6300453558: Pull complete [2020-04-24T05:46:57.173Z] b9c365052c96: Pull complete [2020-04-24T05:46:57.173Z] a2d8cc88f415: Pull complete [2020-04-24T05:46:59.126Z] ea1d1ca13537: Pull complete [2020-04-24T05:46:59.397Z] 3750a50a1c5e: Pull complete [2020-04-24T05:46:59.397Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-24T05:46:59.397Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-24T05:46:59.397Z] ---> 78745c68409d [2020-04-24T05:46:59.397Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-24T05:47:03.656Z] ---> Running in a6d74e4f9632 [2020-04-24T05:47:03.923Z] Removing intermediate container a6d74e4f9632 [2020-04-24T05:47:03.923Z] ---> 7b8de392c767 [2020-04-24T05:47:03.923Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-24T05:47:03.923Z] ---> Running in 080da05996aa [2020-04-24T05:47:05.870Z] Removing intermediate container 080da05996aa [2020-04-24T05:47:05.870Z] ---> a686eed44210 [2020-04-24T05:47:05.870Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-24T05:47:05.870Z] ---> Running in 2384b59270f7 [2020-04-24T05:47:06.953Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-24T05:47:07.559Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-24T05:47:07.829Z] OK: 125 MiB in 39 packages [2020-04-24T05:47:09.240Z] Removing intermediate container 2384b59270f7 [2020-04-24T05:47:09.240Z] ---> cb33fb1503b2 [2020-04-24T05:47:09.240Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-24T05:47:09.240Z] ---> Running in f730d2ef4bf0 [2020-04-24T05:47:09.509Z] Removing intermediate container f730d2ef4bf0 [2020-04-24T05:47:09.509Z] ---> 357f047ad048 [2020-04-24T05:47:09.509Z] Step 7/8 : COPY . . [2020-04-24T05:47:10.930Z] ---> c742bca663aa [2020-04-24T05:47:10.930Z] Step 8/8 : RUN go mod download [2020-04-24T05:47:10.930Z] ---> Running in 06d4050f3f39 [2020-04-24T05:47:12.877Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-24T05:47:12.877Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-24T05:47:12.877Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-24T05:47:12.877Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-24T05:47:12.877Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-24T05:47:12.877Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-24T05:47:12.877Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-24T05:47:12.877Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-24T05:47:12.877Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-24T05:47:12.877Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-24T05:47:12.877Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-24T05:47:12.877Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-24T05:47:12.877Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-24T05:47:12.877Z] go: finding github.com/fatih/color v1.7.0 [2020-04-24T05:47:12.877Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-24T05:47:12.877Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-24T05:47:12.877Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-24T05:47:12.877Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-24T05:47:12.877Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-24T05:47:12.877Z] go: finding github.com/google/uuid v1.1.0 [2020-04-24T05:47:12.877Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-24T05:47:13.145Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-24T05:47:13.145Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-24T05:47:13.145Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-24T05:47:13.145Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-24T05:47:13.145Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-24T05:47:13.145Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-24T05:47:13.145Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-24T05:47:13.145Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-24T05:47:13.145Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-24T05:47:13.145Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-24T05:47:13.145Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-24T05:47:13.145Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-24T05:47:13.145Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-24T05:47:13.145Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-24T05:47:13.145Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-24T05:47:13.145Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-24T05:47:13.145Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-24T05:47:13.412Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-24T05:47:13.412Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-24T05:47:13.412Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-24T05:47:13.412Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-24T05:47:13.412Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-24T05:47:13.412Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-24T05:47:13.412Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-24T05:47:13.412Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-24T05:47:13.412Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-24T05:47:13.412Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-24T05:47:13.412Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-24T05:47:13.412Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-24T05:47:13.679Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-24T05:47:13.679Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-24T05:47:13.679Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-24T05:47:13.679Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-24T05:47:13.679Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-24T05:47:13.679Z] go: finding github.com/posener/complete v1.1.1 [2020-04-24T05:47:13.679Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-24T05:47:13.679Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-24T05:47:13.679Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-24T05:47:13.679Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-24T05:47:13.679Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-24T05:47:13.679Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-24T05:47:13.679Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-24T05:47:13.679Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-24T05:47:13.679Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-24T05:47:13.948Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-24T05:47:13.948Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-24T05:47:13.948Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-24T05:47:22.176Z] Removing intermediate container 06d4050f3f39 [2020-04-24T05:47:22.176Z] ---> 2d29cc93dccc [2020-04-24T05:47:22.176Z] Successfully built 2d29cc93dccc [2020-04-24T05:47:22.176Z] 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-24T05:47:23.054Z] + docker inspect -f . ci-base-image-arm64 [2020-04-24T05:47:23.323Z] . [Pipeline] withDockerContainer [2020-04-24T05:47:23.670Z] prd-ubuntu18.04-docker-arm64-4c-16g-5872 does not seem to be running inside a container [2020-04-24T05:47:23.741Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-24T05:47:25.088Z] $ docker top 675f0ce53a36ffd446d82051eb250f7989b3288395042ac209bfac92739ac43f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-24T05:47:26.244Z] + go version [2020-04-24T05:47:26.244Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-24T05:47:26.915Z] + make test [2020-04-24T05:47:26.915Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-24T05:47:27.882Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-24T05:48:00.175Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-24T05:48:00.175Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-24T05:48:00.175Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-24T05:48:00.175Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.022s coverage: 22.1% of statements [2020-04-24T05:48:00.175Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.163s coverage: 95.8% of statements [2020-04-24T05:48:32.423Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.048s coverage: 11.4% of statements [2020-04-24T05:48:32.423Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.030s coverage: 21.7% of statements [2020-04-24T05:48:32.423Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-24T05:48:32.423Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.212s coverage: 36.9% of statements [2020-04-24T05:48:32.423Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-24T05:48:32.423Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-24T05:48:32.423Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.492s coverage: 65.2% of statements [2020-04-24T05:48:32.423Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-24T05:48:32.423Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-24T05:48:32.423Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-24T05:48:32.423Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements [2020-04-24T05:48:32.423Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-24T05:48:32.423Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.366s coverage: 68.9% of statements [2020-04-24T05:48:32.423Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-24T05:48:32.423Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-24T05:48:32.423Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-24T05:48:35.016Z] gofmt -l . [2020-04-24T05:48:35.016Z] [ "`gofmt -l .`" = "" ] [2020-04-24T05:48:35.286Z] ./bin/test-attribution-txt.sh [2020-04-24T05:48:36.253Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-24T05:48:37.019Z] Stashed 1 file(s) [Pipeline] } [2020-04-24T05:48:37.025Z] $ docker stop --time=1 675f0ce53a36ffd446d82051eb250f7989b3288395042ac209bfac92739ac43f [2020-04-24T05:48:39.048Z] $ docker rm -f 675f0ce53a36ffd446d82051eb250f7989b3288395042ac209bfac92739ac43f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-24T05:48:40.969Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-24T05:48:41.314Z] + ls -al . [2020-04-24T05:48:41.314Z] total 220 [2020-04-24T05:48:41.314Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 05:48 . [2020-04-24T05:48:41.314Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 05:46 .. [2020-04-24T05:48:41.314Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 05:46 .dockerignore [2020-04-24T05:48:41.314Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 05:46 .git [2020-04-24T05:48:41.314Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 05:46 .github [2020-04-24T05:48:41.314Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 24 05:46 .gitignore [2020-04-24T05:48:41.314Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 05:46 .semver [2020-04-24T05:48:41.314Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 24 05:46 Dockerfile.build [2020-04-24T05:48:41.314Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 24 05:46 Jenkinsfile [2020-04-24T05:48:41.314Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 24 05:46 LICENSE [2020-04-24T05:48:41.314Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 24 05:46 Makefile [2020-04-24T05:48:41.314Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 24 05:46 README.md [2020-04-24T05:48:41.314Z] -rw-rw-r-- 1 jenkins jenkins 2024 Apr 24 05:46 RELEASE-NOTES.txt [2020-04-24T05:48:41.314Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 05:46 VERSION [2020-04-24T05:48:41.314Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 05:46 api [2020-04-24T05:48:41.314Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 05:46 bin [2020-04-24T05:48:41.314Z] -rw-r--r-- 1 jenkins jenkins 110877 Apr 24 05:48 coverage.out [2020-04-24T05:48:41.314Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 05:46 example [2020-04-24T05:48:41.314Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 24 05:48 go.mod [2020-04-24T05:48:41.314Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 24 05:48 go.sum [2020-04-24T05:48:41.314Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 24 05:46 internal [2020-04-24T05:48:41.314Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 24 05:46 pkg [2020-04-24T05:48:41.314Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 05:46 snap [2020-04-24T05:48:41.314Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 24 05:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-24T05:48:41.676Z] + 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=4a823dd8d76504a4bb8217165d79aec514b56350 --label arch=arm64 --label version=0.0.0 . [2020-04-24T05:48:42.262Z] Sending build context to Docker daemon 3.166MB [2020-04-24T05:48:42.262Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-24T05:48:42.262Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-24T05:48:42.262Z] ---> 2d29cc93dccc [2020-04-24T05:48:42.262Z] Step 3/21 : ARG MAKE='make build' [2020-04-24T05:48:42.262Z] ---> Running in f882d3d61b81 [2020-04-24T05:48:42.847Z] Removing intermediate container f882d3d61b81 [2020-04-24T05:48:42.847Z] ---> 360fbae55164 [2020-04-24T05:48:42.847Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-24T05:48:42.847Z] ---> Running in 9ef5a1f6fb39 [2020-04-24T05:48:43.117Z] Removing intermediate container 9ef5a1f6fb39 [2020-04-24T05:48:43.117Z] ---> 1c14e2cb1571 [2020-04-24T05:48:43.117Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-24T05:48:43.385Z] ---> Running in 45d374801982 [2020-04-24T05:48:43.656Z] Removing intermediate container 45d374801982 [2020-04-24T05:48:43.656Z] ---> a3e3361cb766 [2020-04-24T05:48:43.656Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-24T05:48:43.926Z] ---> Running in 660d462562b8 [2020-04-24T05:48:45.875Z] Removing intermediate container 660d462562b8 [2020-04-24T05:48:45.875Z] ---> a73ae60de436 [2020-04-24T05:48:45.875Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-24T05:48:45.875Z] ---> Running in b4559aefd487 [2020-04-24T05:48:46.458Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-24T05:48:47.420Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-24T05:48:47.685Z] OK: 125 MiB in 39 packages [2020-04-24T05:48:48.643Z] Removing intermediate container b4559aefd487 [2020-04-24T05:48:48.643Z] ---> 4bd8074fc12a [2020-04-24T05:48:48.911Z] Step 8/21 : COPY . . [2020-04-24T05:48:49.889Z] ---> 7607f61cd756 [2020-04-24T05:48:49.889Z] Step 9/21 : RUN ${MAKE} [2020-04-24T05:48:49.889Z] ---> Running in f37d30716af4 [2020-04-24T05:48:50.874Z] 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-24T05:48:52.346Z] Running on prd-centos7-docker-4c-2g-5876 in /w/workspace/dgexfoundry_device-sdk-go_PR-511 [Pipeline] { [Pipeline] ws [2020-04-24T05:48:52.410Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-04-24T05:48:55.096Z] using credential edgex-jenkins-ssh [2020-04-24T05:48:55.139Z] Cloning the remote Git repository [2020-04-24T05:48:55.139Z] Cloning with configured refspecs honoured and without tags [2020-04-24T05:48:55.867Z] Fetching without tags [2020-04-24T05:48:54.755Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-24T05:48:54.796Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-04-24T05:48:54.838Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-24T05:48:54.839Z] > git --version # timeout=10 [2020-04-24T05:48:54.849Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-24T05:48:54.885Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/511/head:refs/remotes/origin/PR-511 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-24T05:48:55.488Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-24T05:48:55.494Z] > git config --add remote.origin.fetch +refs/pull/511/head:refs/remotes/origin/PR-511 # timeout=10 [2020-04-24T05:48:55.500Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-24T05:48:55.513Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-24T05:48:55.523Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-24T05:48:55.523Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-24T05:48:55.530Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/511/head:refs/remotes/origin/PR-511 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-24T05:48:56.276Z] Merging remotes/origin/master commit 32cdc69c02caaeadc7e6c55a092399b45a5765d3 into PR head commit 4a823dd8d76504a4bb8217165d79aec514b56350 [2020-04-24T05:48:56.376Z] Merge succeeded, producing 4a823dd8d76504a4bb8217165d79aec514b56350 [2020-04-24T05:48:56.377Z] Checking out Revision 4a823dd8d76504a4bb8217165d79aec514b56350 (PR-511) [2020-04-24T05:48:55.971Z] > git config core.sparsecheckout # timeout=10 [2020-04-24T05:48:55.979Z] > git checkout -f 4a823dd8d76504a4bb8217165d79aec514b56350 # timeout=10 [2020-04-24T05:48:56.038Z] > git remote # timeout=10 [2020-04-24T05:48:56.045Z] > git config --get remote.origin.url # timeout=10 [2020-04-24T05:48:56.050Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-24T05:48:56.053Z] > git merge 32cdc69c02caaeadc7e6c55a092399b45a5765d3 # timeout=10 [2020-04-24T05:48:56.064Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-24T05:48:56.074Z] > git config core.sparsecheckout # timeout=10 [2020-04-24T05:48:56.086Z] > git checkout -f 4a823dd8d76504a4bb8217165d79aec514b56350 # timeout=10 [2020-04-24T05:48:59.899Z] Commit message: "Add release note for Geneva" [2020-04-24T05:48:59.912Z] > git --version # timeout=10 [2020-04-24T05:48:59.921Z] fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-24T05:49:01.027Z] ========================================================= [2020-04-24T05:49:01.027Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-24T05:49:01.027Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-24T05:49:01.786Z] + 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-24T05:49:01.786Z] Sending build context to Docker daemon 3.036MB [2020-04-24T05:49:02.052Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-24T05:49:02.052Z] Step 2/8 : FROM ${BASE} [2020-04-24T05:49:02.052Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-24T05:49:02.052Z] e6b0cf9c0882: Pulling fs layer [2020-04-24T05:49:02.052Z] 2848faf0eed1: Pulling fs layer [2020-04-24T05:49:02.052Z] 0f37312ad70f: Pulling fs layer [2020-04-24T05:49:02.052Z] 5788d62ee057: Pulling fs layer [2020-04-24T05:49:02.052Z] 0e6b1d234666: Pulling fs layer [2020-04-24T05:49:02.052Z] bf5d7aec512f: Pulling fs layer [2020-04-24T05:49:02.052Z] 34c802a77dc8: Pulling fs layer [2020-04-24T05:49:02.052Z] 9eb99e56ec68: Pulling fs layer [2020-04-24T05:49:02.052Z] 27c7a5d97fbd: Pulling fs layer [2020-04-24T05:49:02.052Z] 5c102a31e300: Pulling fs layer [2020-04-24T05:49:02.052Z] dcfb455df0a1: Pulling fs layer [2020-04-24T05:49:02.052Z] 5788d62ee057: Waiting [2020-04-24T05:49:02.052Z] 0e6b1d234666: Waiting [2020-04-24T05:49:02.052Z] bf5d7aec512f: Waiting [2020-04-24T05:49:02.052Z] 34c802a77dc8: Waiting [2020-04-24T05:49:02.052Z] 9eb99e56ec68: Waiting [2020-04-24T05:49:02.052Z] 27c7a5d97fbd: Waiting [2020-04-24T05:49:02.052Z] 5c102a31e300: Waiting [2020-04-24T05:49:02.052Z] dcfb455df0a1: Waiting [2020-04-24T05:49:02.052Z] 2848faf0eed1: Verifying Checksum [2020-04-24T05:49:02.052Z] 2848faf0eed1: Download complete [2020-04-24T05:49:02.052Z] 0e6b1d234666: Download complete [2020-04-24T05:49:02.052Z] e6b0cf9c0882: Verifying Checksum [2020-04-24T05:49:02.052Z] e6b0cf9c0882: Download complete [2020-04-24T05:49:02.052Z] bf5d7aec512f: Verifying Checksum [2020-04-24T05:49:02.052Z] bf5d7aec512f: Download complete [2020-04-24T05:49:02.317Z] e6b0cf9c0882: Pull complete [2020-04-24T05:49:02.581Z] 2848faf0eed1: Pull complete [2020-04-24T05:49:02.581Z] 0f37312ad70f: Pull complete [2020-04-24T05:49:03.179Z] 34c802a77dc8: Verifying Checksum [2020-04-24T05:49:03.179Z] 34c802a77dc8: Download complete [2020-04-24T05:49:03.179Z] 27c7a5d97fbd: Verifying Checksum [2020-04-24T05:49:03.179Z] 27c7a5d97fbd: Download complete [2020-04-24T05:49:03.753Z] 5c102a31e300: Verifying Checksum [2020-04-24T05:49:03.753Z] 5c102a31e300: Download complete [2020-04-24T05:49:03.753Z] 5788d62ee057: Verifying Checksum [2020-04-24T05:49:03.753Z] 5788d62ee057: Download complete [2020-04-24T05:49:03.753Z] 9eb99e56ec68: Verifying Checksum [2020-04-24T05:49:03.753Z] 9eb99e56ec68: Download complete [2020-04-24T05:49:03.753Z] dcfb455df0a1: Verifying Checksum [2020-04-24T05:49:03.753Z] dcfb455df0a1: Download complete [2020-04-24T05:49:11.884Z] 5788d62ee057: Pull complete [2020-04-24T05:49:11.884Z] 0e6b1d234666: Pull complete [2020-04-24T05:49:11.884Z] bf5d7aec512f: Pull complete [2020-04-24T05:49:15.214Z] 34c802a77dc8: Pull complete [2020-04-24T05:49:17.588Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-24T05:49:17.588Z] Removing intermediate container f37d30716af4 [2020-04-24T05:49:17.588Z] ---> d9f7bcbd57fb [2020-04-24T05:49:17.588Z] Step 10/21 : FROM scratch [2020-04-24T05:49:17.588Z] ---> [2020-04-24T05:49:17.588Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-24T05:49:17.588Z] ---> Running in 78f13d5bbea4 [2020-04-24T05:49:17.588Z] Removing intermediate container 78f13d5bbea4 [2020-04-24T05:49:17.588Z] ---> 40f9fa6945d2 [2020-04-24T05:49:17.588Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-24T05:49:17.588Z] ---> Running in 8fde1a94a9bd [2020-04-24T05:49:17.588Z] Removing intermediate container 8fde1a94a9bd [2020-04-24T05:49:17.588Z] ---> 92344aa57ba4 [2020-04-24T05:49:17.588Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-24T05:49:17.588Z] ---> Running in 4e93e46da204 [2020-04-24T05:49:17.588Z] Removing intermediate container 4e93e46da204 [2020-04-24T05:49:17.588Z] ---> a24592ee193d [2020-04-24T05:49:17.588Z] Step 14/21 : WORKDIR / [2020-04-24T05:49:17.855Z] ---> Running in 66eb4322506a [2020-04-24T05:49:18.123Z] Removing intermediate container 66eb4322506a [2020-04-24T05:49:18.123Z] ---> bed21d4890cb [2020-04-24T05:49:18.123Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-24T05:49:18.512Z] 9eb99e56ec68: Pull complete [2020-04-24T05:49:18.512Z] 27c7a5d97fbd: Pull complete [2020-04-24T05:49:19.084Z] ---> dff3774eb025 [2020-04-24T05:49:19.084Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-24T05:49:19.456Z] 5c102a31e300: Pull complete [2020-04-24T05:49:19.668Z] ---> 33b2bc148a9a [2020-04-24T05:49:19.668Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-24T05:49:19.717Z] dcfb455df0a1: Pull complete [2020-04-24T05:49:19.717Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-24T05:49:19.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-24T05:49:19.717Z] ---> 7c70fe431013 [2020-04-24T05:49:19.717Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-24T05:49:19.717Z] ---> Running in 672e9e00df8a [2020-04-24T05:49:19.981Z] Removing intermediate container 672e9e00df8a [2020-04-24T05:49:19.981Z] ---> ce544c99942a [2020-04-24T05:49:19.981Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-24T05:49:19.981Z] ---> Running in 381952349a10 [2020-04-24T05:49:20.252Z] ---> 7bccaa6e9e2f [2020-04-24T05:49:20.252Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-24T05:49:20.519Z] ---> Running in c6566b2551d1 [2020-04-24T05:49:20.787Z] Removing intermediate container c6566b2551d1 [2020-04-24T05:49:20.787Z] ---> 6d8b99f86c96 [2020-04-24T05:49:20.787Z] Step 19/21 : LABEL arch=arm64 [2020-04-24T05:49:20.787Z] ---> Running in 7ca979e9a0de [2020-04-24T05:49:20.918Z] Removing intermediate container 381952349a10 [2020-04-24T05:49:20.918Z] ---> 2ef55af5f0ee [2020-04-24T05:49:20.918Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-24T05:49:20.918Z] ---> Running in bad44668a97f [2020-04-24T05:49:21.055Z] Removing intermediate container 7ca979e9a0de [2020-04-24T05:49:21.055Z] ---> 95b59162740d [2020-04-24T05:49:21.055Z] Step 20/21 : LABEL git_sha=4a823dd8d76504a4bb8217165d79aec514b56350 [2020-04-24T05:49:21.321Z] ---> Running in 2b1794ebc46d [2020-04-24T05:49:21.487Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-24T05:49:21.587Z] Removing intermediate container 2b1794ebc46d [2020-04-24T05:49:21.587Z] ---> 119178e314d8 [2020-04-24T05:49:21.587Z] Step 21/21 : LABEL version=0.0.0 [2020-04-24T05:49:21.855Z] ---> Running in 87efddab6d52 [2020-04-24T05:49:22.055Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-24T05:49:22.121Z] Removing intermediate container 87efddab6d52 [2020-04-24T05:49:22.121Z] ---> 3a3bc45ddd25 [2020-04-24T05:49:22.121Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-24T05:49:22.121Z] Successfully built 3a3bc45ddd25 [2020-04-24T05:49:22.121Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2020-04-24T05:49:22.313Z] OK: 143 MiB in 39 packages [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 [2020-04-24T05:49:22.888Z] Removing intermediate container bad44668a97f [2020-04-24T05:49:22.888Z] ---> bd296b16a98e [2020-04-24T05:49:22.888Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-24T05:49:22.888Z] ---> Running in 20266d88f0a1 [2020-04-24T05:49:22.888Z] Removing intermediate container 20266d88f0a1 [2020-04-24T05:49:22.888Z] ---> b807378ff51a [2020-04-24T05:49:22.888Z] Step 7/8 : COPY . . [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2020-04-24T05:49:23.460Z] ---> 0a265b26027f [2020-04-24T05:49:23.460Z] Step 8/8 : RUN go mod download [Pipeline] // stage [Pipeline] } [2020-04-24T05:49:23.720Z] ---> Running in fee1545f28b0 [2020-04-24T05:49:25.105Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-24T05:49:25.105Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-24T05:49:25.105Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-24T05:49:25.105Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-24T05:49:25.105Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-24T05:49:25.105Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-24T05:49:25.105Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-24T05:49:25.105Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-24T05:49:25.105Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-24T05:49:25.367Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-24T05:49:25.367Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-24T05:49:25.367Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-24T05:49:25.367Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-24T05:49:25.367Z] go: finding github.com/fatih/color v1.7.0 [2020-04-24T05:49:25.367Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-24T05:49:25.367Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-24T05:49:25.367Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-24T05:49:25.367Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-24T05:49:25.367Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-24T05:49:25.367Z] go: finding github.com/google/uuid v1.1.0 [2020-04-24T05:49:25.367Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-24T05:49:25.367Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-24T05:49:25.367Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-24T05:49:25.628Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-24T05:49:25.628Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-24T05:49:25.628Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-24T05:49:25.628Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-24T05:49:25.628Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-24T05:49:25.628Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-24T05:49:25.628Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-24T05:49:25.628Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-24T05:49:25.628Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-24T05:49:25.628Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-24T05:49:25.628Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-24T05:49:25.628Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-24T05:49:25.628Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-24T05:49:25.628Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-24T05:49:25.628Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-24T05:49:25.628Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-24T05:49:25.628Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-24T05:49:25.628Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-24T05:49:25.887Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-24T05:49:25.887Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-24T05:49:25.887Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-24T05:49:25.887Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-24T05:49:25.887Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-24T05:49:25.887Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-24T05:49:25.887Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-24T05:49:25.887Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-24T05:49:25.887Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-24T05:49:25.887Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-24T05:49:25.887Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-24T05:49:25.887Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-24T05:49:25.887Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-24T05:49:25.887Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-24T05:49:25.887Z] go: finding github.com/posener/complete v1.1.1 [2020-04-24T05:49:25.887Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-24T05:49:25.887Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-24T05:49:25.887Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-24T05:49:25.887Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-24T05:49:25.887Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-24T05:49:25.887Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-24T05:49:25.887Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-24T05:49:25.887Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-24T05:49:25.887Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-24T05:49:26.147Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-24T05:49:26.147Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-24T05:49:26.147Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-24T05:49:31.453Z] Removing intermediate container fee1545f28b0 [2020-04-24T05:49:31.453Z] ---> 341a1f406f09 [2020-04-24T05:49:31.453Z] Successfully built 341a1f406f09 [2020-04-24T05:49:31.453Z] 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-24T05:49:32.221Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-24T05:49:32.221Z] . [Pipeline] withDockerContainer [2020-04-24T05:49:32.374Z] prd-centos7-docker-4c-2g-5876 does not seem to be running inside a container [2020-04-24T05:49:32.420Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-24T05:49:32.961Z] $ docker top 24815348adeccae149d76b3f78c023355314320653fb7e77d895d582d8433c82 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-24T05:49:33.616Z] + go version [2020-04-24T05:49:33.616Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-24T05:49:33.950Z] + make test [2020-04-24T05:49:33.950Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-24T05:49:35.859Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-24T05:49:45.916Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-24T05:49:45.917Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-24T05:49:45.917Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-24T05:49:45.917Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.026s coverage: 22.1% of statements [2020-04-24T05:49:47.316Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.050s coverage: 95.8% of statements [2020-04-24T05:50:19.430Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.070s coverage: 11.4% of statements [2020-04-24T05:50:19.430Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 21.7% of statements [2020-04-24T05:50:19.430Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-24T05:50:19.430Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.064s coverage: 36.9% of statements [2020-04-24T05:50:19.430Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-24T05:50:19.430Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-24T05:50:19.430Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.247s coverage: 65.2% of statements [2020-04-24T05:50:19.430Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-24T05:50:19.430Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-24T05:50:19.430Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-24T05:50:19.430Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.020s coverage: 52.6% of statements [2020-04-24T05:50:19.430Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-24T05:50:19.430Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.119s coverage: 68.9% of statements [2020-04-24T05:50:19.430Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-24T05:50:19.430Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-24T05:50:19.430Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-24T05:50:19.430Z] gofmt -l . [2020-04-24T05:50:19.430Z] [ "`gofmt -l .`" = "" ] [2020-04-24T05:50:19.430Z] ./bin/test-attribution-txt.sh [2020-04-24T05:50:20.368Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-24T05:50:20.651Z] Warning: overwriting stash ‘coverage-report’ [2020-04-24T05:50:21.059Z] Stashed 1 file(s) [Pipeline] } [2020-04-24T05:50:21.075Z] $ docker stop --time=1 24815348adeccae149d76b3f78c023355314320653fb7e77d895d582d8433c82 [2020-04-24T05:50:22.517Z] $ docker rm -f 24815348adeccae149d76b3f78c023355314320653fb7e77d895d582d8433c82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-24T05:50:23.559Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-24T05:50:23.873Z] + ls -al . [2020-04-24T05:50:23.873Z] total 180 [2020-04-24T05:50:23.873Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 24 05:50 . [2020-04-24T05:50:23.873Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 24 05:48 .. [2020-04-24T05:50:23.873Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 24 05:48 api [2020-04-24T05:50:23.873Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 24 05:48 bin [2020-04-24T05:50:23.873Z] -rw-r--r--. 1 jenkins jenkins 110877 Apr 24 05:50 coverage.out [2020-04-24T05:50:23.873Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 24 05:48 Dockerfile.build [2020-04-24T05:50:23.873Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 24 05:48 .dockerignore [2020-04-24T05:50:23.873Z] drwxrwxr-x. 4 jenkins jenkins 48 Apr 24 05:48 example [2020-04-24T05:50:23.873Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 24 05:48 .git [2020-04-24T05:50:23.873Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 24 05:48 .github [2020-04-24T05:50:23.873Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 24 05:48 .gitignore [2020-04-24T05:50:23.873Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 24 05:50 go.mod [2020-04-24T05:50:23.873Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 24 05:50 go.sum [2020-04-24T05:50:23.873Z] drwxrwxr-x. 15 jenkins jenkins 217 Apr 24 05:48 internal [2020-04-24T05:50:23.873Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 24 05:48 Jenkinsfile [2020-04-24T05:50:23.873Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 24 05:48 LICENSE [2020-04-24T05:50:23.873Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 24 05:48 Makefile [2020-04-24T05:50:23.873Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 24 05:48 pkg [2020-04-24T05:50:23.873Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 24 05:48 README.md [2020-04-24T05:50:23.873Z] -rw-rw-r--. 1 jenkins jenkins 2024 Apr 24 05:48 RELEASE-NOTES.txt [2020-04-24T05:50:23.873Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 24 05:49 .semver [2020-04-24T05:50:23.873Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 24 05:48 snap [2020-04-24T05:50:23.873Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 24 05:46 VERSION [2020-04-24T05:50:23.873Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 24 05:48 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-24T05:50:24.201Z] + 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=4a823dd8d76504a4bb8217165d79aec514b56350 --label arch=amd64 --label version=0.0.0 . [2020-04-24T05:50:24.201Z] Sending build context to Docker daemon 3.164MB [2020-04-24T05:50:24.201Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-24T05:50:24.201Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-24T05:50:24.201Z] ---> 341a1f406f09 [2020-04-24T05:50:24.201Z] Step 3/21 : ARG MAKE='make build' [2020-04-24T05:50:24.463Z] ---> Running in 7fa49b2d6595 [2020-04-24T05:50:24.463Z] Removing intermediate container 7fa49b2d6595 [2020-04-24T05:50:24.463Z] ---> e2a4da3b56b1 [2020-04-24T05:50:24.463Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-24T05:50:24.463Z] ---> Running in fb3c36cf1070 [2020-04-24T05:50:24.721Z] Removing intermediate container fb3c36cf1070 [2020-04-24T05:50:24.721Z] ---> ada438e25436 [2020-04-24T05:50:24.721Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-24T05:50:24.721Z] ---> Running in fd0fa3b31e73 [2020-04-24T05:50:24.721Z] Removing intermediate container fd0fa3b31e73 [2020-04-24T05:50:24.721Z] ---> 538d1e288c30 [2020-04-24T05:50:24.721Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-24T05:50:24.981Z] ---> Running in f0a24d7b7aee [2020-04-24T05:50:25.553Z] Removing intermediate container f0a24d7b7aee [2020-04-24T05:50:25.553Z] ---> f9be278bf07b [2020-04-24T05:50:25.553Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-24T05:50:25.813Z] ---> Running in 98348d69dacf [2020-04-24T05:50:26.074Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-24T05:50:27.013Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-24T05:50:27.272Z] OK: 143 MiB in 39 packages [2020-04-24T05:50:27.549Z] Removing intermediate container 98348d69dacf [2020-04-24T05:50:27.549Z] ---> c60daf3949df [2020-04-24T05:50:27.549Z] Step 8/21 : COPY . . [2020-04-24T05:50:27.808Z] ---> e6f34f82888a [2020-04-24T05:50:27.808Z] Step 9/21 : RUN ${MAKE} [2020-04-24T05:50:28.066Z] ---> Running in c3c7d4b5396e [2020-04-24T05:50:28.325Z] 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-24T05:50:36.496Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-24T05:50:36.757Z] Removing intermediate container c3c7d4b5396e [2020-04-24T05:50:36.757Z] ---> 2a240300a988 [2020-04-24T05:50:36.757Z] Step 10/21 : FROM scratch [2020-04-24T05:50:36.757Z] ---> [2020-04-24T05:50:36.757Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-24T05:50:36.757Z] ---> Running in 604e76b3875d [2020-04-24T05:50:37.016Z] Removing intermediate container 604e76b3875d [2020-04-24T05:50:37.016Z] ---> de38833bc206 [2020-04-24T05:50:37.016Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-24T05:50:37.016Z] ---> Running in 01fb32690605 [2020-04-24T05:50:37.016Z] Removing intermediate container 01fb32690605 [2020-04-24T05:50:37.016Z] ---> f28e37663a7c [2020-04-24T05:50:37.016Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-24T05:50:37.275Z] ---> Running in 39eab43b36a6 [2020-04-24T05:50:37.275Z] Removing intermediate container 39eab43b36a6 [2020-04-24T05:50:37.275Z] ---> 76d5bba3a546 [2020-04-24T05:50:37.275Z] Step 14/21 : WORKDIR / [2020-04-24T05:50:37.275Z] ---> Running in f6123cf6d3ad [2020-04-24T05:50:37.533Z] Removing intermediate container f6123cf6d3ad [2020-04-24T05:50:37.533Z] ---> 1ba525395b72 [2020-04-24T05:50:37.533Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-24T05:50:37.792Z] ---> ddeb35d0208c [2020-04-24T05:50:37.792Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-24T05:50:38.050Z] ---> c42a700b6747 [2020-04-24T05:50:38.050Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-24T05:50:38.050Z] ---> 377e292df297 [2020-04-24T05:50:38.051Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-24T05:50:38.310Z] ---> Running in 0541f70959d0 [2020-04-24T05:50:38.310Z] Removing intermediate container 0541f70959d0 [2020-04-24T05:50:38.310Z] ---> 7227479c9929 [2020-04-24T05:50:38.310Z] Step 19/21 : LABEL arch=amd64 [2020-04-24T05:50:38.310Z] ---> Running in 0b574e3f5dc1 [2020-04-24T05:50:38.570Z] Removing intermediate container 0b574e3f5dc1 [2020-04-24T05:50:38.570Z] ---> 71e9eac998f4 [2020-04-24T05:50:38.570Z] Step 20/21 : LABEL git_sha=4a823dd8d76504a4bb8217165d79aec514b56350 [2020-04-24T05:50:38.570Z] ---> Running in 372a6191b38e [2020-04-24T05:50:38.570Z] Removing intermediate container 372a6191b38e [2020-04-24T05:50:38.570Z] ---> 414d8d3dcfeb [2020-04-24T05:50:38.570Z] Step 21/21 : LABEL version=0.0.0 [2020-04-24T05:50:38.570Z] ---> Running in dc071699cc9e [2020-04-24T05:50:38.830Z] Removing intermediate container dc071699cc9e [2020-04-24T05:50:38.830Z] ---> caf608f22cf9 [2020-04-24T05:50:38.830Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-24T05:50:38.830Z] Successfully built caf608f22cf9 [2020-04-24T05:50:38.830Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-04-24T05:50:41.354Z] provisioning config files... [2020-04-24T05:50:41.367Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-511@tmp/config4443700770409744007tmp [Pipeline] { [Pipeline] sh [2020-04-24T05:50:41.768Z] + curl -s https://codecov.io/bash [2020-04-24T05:50:41.768Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-511@tmp/config4443700770409744007tmp [2020-04-24T05:50:42.028Z] [2020-04-24T05:50:42.028Z] _____ _ [2020-04-24T05:50:42.028Z] / ____| | | [2020-04-24T05:50:42.028Z] | | ___ __| | ___ ___ _____ __ [2020-04-24T05:50:42.028Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-24T05:50:42.028Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-24T05:50:42.028Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-24T05:50:42.028Z] Bash-tbd [2020-04-24T05:50:42.028Z] [2020-04-24T05:50:42.028Z] [2020-04-24T05:50:42.028Z] ==> Jenkins CI detected. [2020-04-24T05:50:42.028Z] project root: . [2020-04-24T05:50:42.028Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-24T05:50:42.028Z] ==> Running gcov in . (disable via -X gcov) [2020-04-24T05:50:42.028Z] ==> Python coveragepy not found [2020-04-24T05:50:42.028Z] ==> Searching for coverage reports in: [2020-04-24T05:50:42.028Z] + . [2020-04-24T05:50:42.028Z] -> Found 1 reports [2020-04-24T05:50:42.028Z] ==> Detecting git/mercurial file structure [2020-04-24T05:50:42.028Z] ==> Reading reports [2020-04-24T05:50:42.028Z] + ./coverage.out bytes=110877 [2020-04-24T05:50:42.028Z] ==> Appending adjustments [2020-04-24T05:50:42.028Z] http://docs.codecov.io/docs/fixing-reports [2020-04-24T05:50:42.290Z] + Found adjustments [2020-04-24T05:50:42.290Z] ==> Gzipping contents [2020-04-24T05:50:42.290Z] ==> Uploading reports [2020-04-24T05:50:42.290Z] url: https://codecov.io [2020-04-24T05:50:42.290Z] query: branch=PR-511&commit=4a823dd8d76504a4bb8217165d79aec514b56350&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-511%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=511&job= [2020-04-24T05:50:42.290Z] -> Pinging Codecov [2020-04-24T05:50:42.290Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-511&commit=4a823dd8d76504a4bb8217165d79aec514b56350&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-511%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=511&job= [2020-04-24T05:50:42.863Z] -> Uploading [2020-04-24T05:50:43.430Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4a823dd8d76504a4bb8217165d79aec514b56350 [Pipeline] } [2020-04-24T05:50:43.451Z] 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-24T05:50:45.187Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-24T05:50:45.537Z] ---> package-listing.sh [2020-04-24T05:50:45.537Z] ++ facter osfamily [2020-04-24T05:50:45.537Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-24T05:50:45.537Z] + OS_FAMILY=redhat [2020-04-24T05:50:45.537Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-511 [2020-04-24T05:50:45.537Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-24T05:50:45.537Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-24T05:50:45.537Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-24T05:50:45.537Z] + PACKAGES=/tmp/packages_start.txt [2020-04-24T05:50:45.537Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-511 ']' [2020-04-24T05:50:45.537Z] + PACKAGES=/tmp/packages_end.txt [2020-04-24T05:50:45.537Z] + case "${OS_FAMILY}" in [2020-04-24T05:50:45.537Z] + rpm -qa [2020-04-24T05:50:45.537Z] + sort [2020-04-24T05:50:49.819Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-24T05:50:49.819Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-24T05:50:49.819Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-24T05:50:49.819Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-511 ']' [2020-04-24T05:50:49.819Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-511/archives/ [2020-04-24T05:50:49.819Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-511/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-24T05:50:50.365Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-24T05:50:50.365Z] [2020-04-24T05:50:50.365Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-24T05:50:50.769Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-24T05:50:50.769Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-24T05:50:50.769Z] c9b1b535fdd9: Pulling fs layer [2020-04-24T05:50:50.769Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-24T05:50:50.769Z] 756a868c4378: Pulling fs layer [2020-04-24T05:50:50.769Z] 444b2fc9a129: Pulling fs layer [2020-04-24T05:50:50.769Z] ea15f1150254: Pulling fs layer [2020-04-24T05:50:50.769Z] 41b27a9f41bf: Pulling fs layer [2020-04-24T05:50:50.769Z] 28c525ee5125: Pulling fs layer [2020-04-24T05:50:50.769Z] 094b1ea09ed8: Pulling fs layer [2020-04-24T05:50:50.769Z] 138eaada9080: Pulling fs layer [2020-04-24T05:50:50.769Z] 0622d0fa9048: Pulling fs layer [2020-04-24T05:50:50.769Z] ea15f1150254: Waiting [2020-04-24T05:50:50.769Z] 41b27a9f41bf: Waiting [2020-04-24T05:50:50.769Z] 28c525ee5125: Waiting [2020-04-24T05:50:50.769Z] 094b1ea09ed8: Waiting [2020-04-24T05:50:50.769Z] 138eaada9080: Waiting [2020-04-24T05:50:50.769Z] 0622d0fa9048: Waiting [2020-04-24T05:50:50.769Z] 444b2fc9a129: Waiting [2020-04-24T05:50:50.769Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-24T05:50:50.769Z] 2cc5ad85d9ab: Download complete [2020-04-24T05:50:50.769Z] 444b2fc9a129: Verifying Checksum [2020-04-24T05:50:50.769Z] 444b2fc9a129: Download complete [2020-04-24T05:50:50.769Z] c9b1b535fdd9: Verifying Checksum [2020-04-24T05:50:51.044Z] ea15f1150254: Verifying Checksum [2020-04-24T05:50:51.044Z] ea15f1150254: Download complete [2020-04-24T05:50:51.044Z] 28c525ee5125: Verifying Checksum [2020-04-24T05:50:51.044Z] 28c525ee5125: Download complete [2020-04-24T05:50:51.326Z] c9b1b535fdd9: Pull complete [2020-04-24T05:50:51.326Z] 756a868c4378: Verifying Checksum [2020-04-24T05:50:51.326Z] 756a868c4378: Download complete [2020-04-24T05:50:51.595Z] 094b1ea09ed8: Verifying Checksum [2020-04-24T05:50:51.595Z] 094b1ea09ed8: Download complete [2020-04-24T05:50:51.595Z] 138eaada9080: Verifying Checksum [2020-04-24T05:50:51.595Z] 138eaada9080: Download complete [2020-04-24T05:50:51.595Z] 0622d0fa9048: Download complete [2020-04-24T05:50:51.595Z] 2cc5ad85d9ab: Pull complete [2020-04-24T05:50:52.172Z] 41b27a9f41bf: Verifying Checksum [2020-04-24T05:50:52.172Z] 41b27a9f41bf: Download complete [2020-04-24T05:50:53.558Z] 756a868c4378: Pull complete [2020-04-24T05:50:53.558Z] 444b2fc9a129: Pull complete [2020-04-24T05:50:53.558Z] ea15f1150254: Pull complete [2020-04-24T05:50:56.853Z] 41b27a9f41bf: Pull complete [2020-04-24T05:50:56.853Z] 28c525ee5125: Pull complete [2020-04-24T05:50:58.765Z] 094b1ea09ed8: Pull complete [2020-04-24T05:50:59.024Z] 138eaada9080: Pull complete [2020-04-24T05:50:59.289Z] 0622d0fa9048: Pull complete [2020-04-24T05:50:59.289Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-24T05:50:59.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-24T05:50:59.466Z] prd-centos7-docker-4c-2g-5875 does not seem to be running inside a container [2020-04-24T05:50:59.509Z] $ 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-511 -v /w/workspace/dgexfoundry_device-sdk-go_PR-511:/w/workspace/dgexfoundry_device-sdk-go_PR-511:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-511@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-511@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-04-24T05:51:00.543Z] $ docker top cb11af8052f47f54c73fc07bd6bd93371aa8f569f2c3c1e0ccfa844643f9e3c0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-24T05:51:00.840Z] provisioning config files... [2020-04-24T05:51:00.853Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-511@tmp/config227615852921002789tmp [Pipeline] { [Pipeline] echo [2020-04-24T05:51:00.948Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-24T05:51:01.275Z] ---> create-netrc.sh [Pipeline] echo [2020-04-24T05:51:01.299Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-24T05:51:01.629Z] ---> logs-deploy.sh [2020-04-24T05:51:01.629Z] + ARCHIVE_ARTIFACTS= [2020-04-24T05:51:01.629Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-24T05:51:01.629Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-24T05:51:01.629Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-24T05:51:01.629Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-511/1 [2020-04-24T05:51:01.629Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-511/1/ [2020-04-24T05:51:01.629Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-511/1 /w/workspace/dgexfoundry_device-sdk-go_PR-511 [2020-04-24T05:51:03.007Z] Archives upload complete. [2020-04-24T05:51:03.007Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-511/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-511/1/ [2020-04-24T05:51:03.574Z] ---> uname -a: [2020-04-24T05:51:03.574Z] Linux cb11af8052f4 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux [2020-04-24T05:51:03.574Z] [2020-04-24T05:51:03.574Z] [2020-04-24T05:51:03.574Z] ---> lscpu: [2020-04-24T05:51:03.574Z] Architecture: x86_64 [2020-04-24T05:51:03.574Z] CPU op-mode(s): 32-bit, 64-bit [2020-04-24T05:51:03.574Z] Byte Order: Little Endian [2020-04-24T05:51:03.574Z] Address sizes: 40 bits physical, 48 bits virtual [2020-04-24T05:51:03.574Z] CPU(s): 4 [2020-04-24T05:51:03.574Z] On-line CPU(s) list: 0-3 [2020-04-24T05:51:03.574Z] Thread(s) per core: 1 [2020-04-24T05:51:03.574Z] Core(s) per socket: 1 [2020-04-24T05:51:03.574Z] Socket(s): 4 [2020-04-24T05:51:03.574Z] NUMA node(s): 1 [2020-04-24T05:51:03.574Z] Vendor ID: GenuineIntel [2020-04-24T05:51:03.574Z] CPU family: 6 [2020-04-24T05:51:03.574Z] Model: 44 [2020-04-24T05:51:03.574Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-04-24T05:51:03.574Z] Stepping: 1 [2020-04-24T05:51:03.574Z] CPU MHz: 2933.438 [2020-04-24T05:51:03.574Z] BogoMIPS: 5866.87 [2020-04-24T05:51:03.574Z] Virtualization: VT-x [2020-04-24T05:51:03.574Z] Hypervisor vendor: KVM [2020-04-24T05:51:03.574Z] Virtualization type: full [2020-04-24T05:51:03.574Z] L1d cache: 128 KiB [2020-04-24T05:51:03.574Z] L1i cache: 128 KiB [2020-04-24T05:51:03.574Z] L2 cache: 16 MiB [2020-04-24T05:51:03.574Z] L3 cache: 64 MiB [2020-04-24T05:51:03.574Z] NUMA node0 CPU(s): 0-3 [2020-04-24T05:51:03.574Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes [2020-04-24T05:51:03.574Z] Vulnerability Meltdown: Mitigation; PTI [2020-04-24T05:51:03.574Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-04-24T05:51:03.574Z] Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization [2020-04-24T05:51:03.574Z] Vulnerability Spectre v2: Mitigation; Full retpoline [2020-04-24T05:51:03.574Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2020-04-24T05:51:03.574Z] [2020-04-24T05:51:03.574Z] [2020-04-24T05:51:03.574Z] ---> nproc: [2020-04-24T05:51:03.574Z] 4 [2020-04-24T05:51:03.574Z] [2020-04-24T05:51:03.574Z] [2020-04-24T05:51:03.574Z] ---> df -h: [2020-04-24T05:51:03.574Z] Filesystem Size Used Available Use% Mounted on [2020-04-24T05:51:03.574Z] overlay 50.0G 6.4G 43.6G 13% / [2020-04-24T05:51:03.574Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-04-24T05:51:03.574Z] tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup [2020-04-24T05:51:03.574Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-04-24T05:51:03.574Z] /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf [2020-04-24T05:51:03.574Z] /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname [2020-04-24T05:51:03.574Z] /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts [2020-04-24T05:51:03.574Z] /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-511@tmp [2020-04-24T05:51:03.574Z] /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa [2020-04-24T05:51:03.574Z] /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-511 [2020-04-24T05:51:03.574Z] [2020-04-24T05:51:03.574Z] [2020-04-24T05:51:03.574Z] ---> free -m: [2020-04-24T05:51:03.574Z] total used free shared buff/cache available [2020-04-24T05:51:03.574Z] Mem: 1838 600 75 0 1161 1133 [2020-04-24T05:51:03.574Z] Swap: 1023 0 1023 [2020-04-24T05:51:03.574Z] [2020-04-24T05:51:03.574Z]