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 05:45:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:45:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:45:56 ========================================================= 05:45:56 EdgeX Global Pipelines Version Info 05:45:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:45:57 ------------------- 05:45:57 stable info: 05:45:57 ------------------- 05:45:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:45:57 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 05:45:57 Message: update stable to v1.0.73 05:45:58 ------------------- 05:45:58 experimental info: 05:45:58 ------------------- 05:45:58 Commited By: Emilio Reyes emilio.reyes@intel.com 05:45:58 Commit SHA: db8f057101f5d4fbc3fddca88a70e396ee8d8f73 05:45:58 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 05:46:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:46:00 05:46:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:46:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:46:01 latest: Pulling from edgex-devops/git-semver 05:46:01 9123ac7c32f7: Pulling fs layer 05:46:01 b8cc5d1170e3: Pulling fs layer 05:46:01 2924cbbf6a41: Pulling fs layer 05:46:01 93b08a4f1073: Pulling fs layer 05:46:01 93b08a4f1073: Waiting 05:46:01 b8cc5d1170e3: Verifying Checksum 05:46:01 b8cc5d1170e3: Download complete 05:46:01 9123ac7c32f7: Verifying Checksum 05:46:01 9123ac7c32f7: Download complete 05:46:01 93b08a4f1073: Verifying Checksum 05:46:01 93b08a4f1073: Download complete 05:46:01 2924cbbf6a41: Verifying Checksum 05:46:01 2924cbbf6a41: Download complete 05:46:01 9123ac7c32f7: Pull complete 05:46:01 b8cc5d1170e3: Pull complete 05:46:02 2924cbbf6a41: Pull complete 05:46:02 93b08a4f1073: Pull complete 05:46:02 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 05:46:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:46:02 prd-centos7-docker-4c-2g-5875 does not seem to be running inside a container 05:46:02 $ 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 05:46:03 $ docker top beffa6348fd4ebc0508f2241e0c04e8c9296dcec2e5269e5c525fb7c1cf3bdd7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:46:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:03 [ssh-agent] Looking for ssh-agent implementation... 05:46:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:03 $ docker exec beffa6348fd4ebc0508f2241e0c04e8c9296dcec2e5269e5c525fb7c1cf3bdd7 ssh-agent 05:46:04 SSH_AUTH_SOCK=/tmp/ssh-GRJTbmPmnde1/agent.14 05:46:04 SSH_AGENT_PID=20 05:46:04 Running ssh-add (command line suppressed) 05:46:04 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) 05:46:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:04 + git describe --exact-match --tags HEAD 05:46:04 fatal: No names found, cannot describe anything. [Pipeline] } 05:46:04 $ docker exec --env ******** --env ******** beffa6348fd4ebc0508f2241e0c04e8c9296dcec2e5269e5c525fb7c1cf3bdd7 ssh-agent -k 05:46:04 unset SSH_AUTH_SOCK; 05:46:04 unset SSH_AGENT_PID; 05:46:04 echo Agent pid 20 killed; 05:46:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:46:05 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:46:05 This usually means this commit has not been tagged. [Pipeline] sshagent 05:46:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:05 [ssh-agent] Looking for ssh-agent implementation... 05:46:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:05 $ docker exec beffa6348fd4ebc0508f2241e0c04e8c9296dcec2e5269e5c525fb7c1cf3bdd7 ssh-agent 05:46:05 SSH_AUTH_SOCK=/tmp/ssh-bo5eMYfbDPej/agent.55 05:46:05 SSH_AGENT_PID=62 05:46:05 Running ssh-add (command line suppressed) 05:46:05 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) 05:46:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:06 + git semver init 05:46:06 # -> Open(): unable to determine branch for HEAD 05:46:06 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-511/.git 05:46:06 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-511 05:46:06 # $SEMVER_REMOTE_NAME = origin 05:46:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:46:06 # $SEMVER_USER_NAME = edgex-jenkins 05:46:06 # $SEMVER_BRANCH = PR-511 05:46:06 # $SEMVER_TEMP = /tmp/semver-375708589 05:46:06 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:46:06 # '/tmp/semver-375708589' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-511/.semver' 05:46:06 # -> Force: false 05:46:06 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-511/.semver [Pipeline] } 05:46:06 $ docker exec --env ******** --env ******** beffa6348fd4ebc0508f2241e0c04e8c9296dcec2e5269e5c525fb7c1cf3bdd7 ssh-agent -k 05:46:06 unset SSH_AUTH_SOCK; 05:46:06 unset SSH_AGENT_PID; 05:46:06 echo Agent pid 62 killed; 05:46:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:46:07 + git semver [Pipeline] } 05:46:07 $ docker stop --time=1 beffa6348fd4ebc0508f2241e0c04e8c9296dcec2e5269e5c525fb7c1cf3bdd7 05:46:08 $ docker rm -f beffa6348fd4ebc0508f2241e0c04e8c9296dcec2e5269e5c525fb7c1cf3bdd7 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:46:09 Stashed 55 file(s) [Pipeline] echo 05:46:09 [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 05:46:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5872 in /w/workspace/dgexfoundry_device-sdk-go_PR-511 [Pipeline] { [Pipeline] ws 05:46:10 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:46:14 using credential edgex-jenkins-ssh 05:46:14 Cloning the remote Git repository 05:46:14 Cloning with configured refspecs honoured and without tags 05:46:14 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:46:14 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:46:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:46:14 > git --version # timeout=10 05:46:14 using GIT_SSH to set credentials SSH Credentials for GitHub 05:46:14 > 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 05:46:15 Fetching without tags 05:46:16 Merging remotes/origin/master commit 32cdc69c02caaeadc7e6c55a092399b45a5765d3 into PR head commit 4a823dd8d76504a4bb8217165d79aec514b56350 05:46:16 Merge succeeded, producing 4a823dd8d76504a4bb8217165d79aec514b56350 05:46:16 Checking out Revision 4a823dd8d76504a4bb8217165d79aec514b56350 (PR-511) 05:46:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:46:15 > git config --add remote.origin.fetch +refs/pull/511/head:refs/remotes/origin/PR-511 # timeout=10 05:46:15 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:46:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:46:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:46:15 using GIT_SSH to set credentials SSH Credentials for GitHub 05:46:15 > 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 05:46:16 > git config core.sparsecheckout # timeout=10 05:46:16 > git checkout -f 4a823dd8d76504a4bb8217165d79aec514b56350 # timeout=10 05:46:16 > git remote # timeout=10 05:46:16 > git config --get remote.origin.url # timeout=10 05:46:16 using GIT_SSH to set credentials SSH Credentials for GitHub 05:46:16 > git merge 32cdc69c02caaeadc7e6c55a092399b45a5765d3 # timeout=10 05:46:16 > git rev-parse HEAD^{commit} # timeout=10 05:46:16 > git config core.sparsecheckout # timeout=10 05:46:16 > git checkout -f 4a823dd8d76504a4bb8217165d79aec514b56350 # timeout=10 05:46:20 Commit message: "Add release note for Geneva" 05:46:20 > git --version # timeout=10 05:46:20 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:46:22 ========================================================= 05:46:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 05:46:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:46:23 + 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 . 05:46:24 Sending build context to Docker daemon 3.038MB 05:46:24 Step 1/8 : ARG BASE=golang:1.13-alpine 05:46:24 Step 2/8 : FROM ${BASE} 05:46:24 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:46:24 cde5963f3b93: Pulling fs layer 05:46:24 2a23fa8c16f7: Pulling fs layer 05:46:24 777b28850792: Pulling fs layer 05:46:24 8a11ddd9e578: Pulling fs layer 05:46:24 4cf88f913ddb: Pulling fs layer 05:46:24 1df406cf5192: Pulling fs layer 05:46:24 cd6300453558: Pulling fs layer 05:46:24 b9c365052c96: Pulling fs layer 05:46:24 a2d8cc88f415: Pulling fs layer 05:46:24 ea1d1ca13537: Pulling fs layer 05:46:24 3750a50a1c5e: Pulling fs layer 05:46:24 cd6300453558: Waiting 05:46:24 b9c365052c96: Waiting 05:46:24 a2d8cc88f415: Waiting 05:46:24 ea1d1ca13537: Waiting 05:46:24 3750a50a1c5e: Waiting 05:46:24 8a11ddd9e578: Waiting 05:46:24 4cf88f913ddb: Waiting 05:46:24 1df406cf5192: Waiting 05:46:24 777b28850792: Verifying Checksum 05:46:24 777b28850792: Download complete 05:46:24 2a23fa8c16f7: Verifying Checksum 05:46:24 2a23fa8c16f7: Download complete 05:46:24 4cf88f913ddb: Verifying Checksum 05:46:24 4cf88f913ddb: Download complete 05:46:24 1df406cf5192: Verifying Checksum 05:46:24 1df406cf5192: Download complete 05:46:24 cde5963f3b93: Verifying Checksum 05:46:24 cde5963f3b93: Download complete 05:46:25 cde5963f3b93: Pull complete 05:46:25 Still waiting to schedule task 05:46:25 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:46:25 2a23fa8c16f7: Pull complete 05:46:26 777b28850792: Pull complete 05:46:28 cd6300453558: Verifying Checksum 05:46:28 cd6300453558: Download complete 05:46:28 a2d8cc88f415: Verifying Checksum 05:46:28 a2d8cc88f415: Download complete 05:46:30 ea1d1ca13537: Verifying Checksum 05:46:30 ea1d1ca13537: Download complete 05:46:31 3750a50a1c5e: Verifying Checksum 05:46:31 3750a50a1c5e: Download complete 05:46:33 b9c365052c96: Verifying Checksum 05:46:33 b9c365052c96: Download complete 05:46:35 8a11ddd9e578: Verifying Checksum 05:46:35 8a11ddd9e578: Download complete 05:46:47 8a11ddd9e578: Pull complete 05:46:47 4cf88f913ddb: Pull complete 05:46:47 1df406cf5192: Pull complete 05:46:52 cd6300453558: Pull complete 05:46:57 b9c365052c96: Pull complete 05:46:57 a2d8cc88f415: Pull complete 05:46:59 ea1d1ca13537: Pull complete 05:46:59 3750a50a1c5e: Pull complete 05:46:59 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 05:46:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 05:46:59 ---> 78745c68409d 05:46:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:47:03 ---> Running in a6d74e4f9632 05:47:03 Removing intermediate container a6d74e4f9632 05:47:03 ---> 7b8de392c767 05:47:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:47:03 ---> Running in 080da05996aa 05:47:05 Removing intermediate container 080da05996aa 05:47:05 ---> a686eed44210 05:47:05 Step 5/8 : RUN apk add --no-cache make git 05:47:05 ---> Running in 2384b59270f7 05:47:06 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:47:07 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:47:07 OK: 125 MiB in 39 packages 05:47:09 Removing intermediate container 2384b59270f7 05:47:09 ---> cb33fb1503b2 05:47:09 Step 6/8 : WORKDIR /device-sdk-go 05:47:09 ---> Running in f730d2ef4bf0 05:47:09 Removing intermediate container f730d2ef4bf0 05:47:09 ---> 357f047ad048 05:47:09 Step 7/8 : COPY . . 05:47:10 ---> c742bca663aa 05:47:10 Step 8/8 : RUN go mod download 05:47:10 ---> Running in 06d4050f3f39 05:47:12 go: finding github.com/BurntSushi/toml v0.3.1 05:47:12 go: finding github.com/OneOfOne/xxhash v1.2.6 05:47:12 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:47:12 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:47:12 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:47:12 go: finding github.com/bgentry/speakeasy v0.1.0 05:47:12 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:47:12 go: finding github.com/davecgh/go-spew v1.1.1 05:47:12 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 05:47:12 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:47:12 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 05:47:12 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 05:47:12 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:47:12 go: finding github.com/fatih/color v1.7.0 05:47:12 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:47:12 go: finding github.com/go-kit/kit v0.8.0 05:47:12 go: finding github.com/go-logfmt/logfmt v0.4.0 05:47:12 go: finding github.com/go-stack/stack v1.8.0 05:47:12 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:47:12 go: finding github.com/google/uuid v1.1.0 05:47:12 go: finding github.com/gorilla/mux v1.7.1 05:47:13 go: finding github.com/hashicorp/consul/api v1.1.0 05:47:13 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:47:13 go: finding github.com/hashicorp/errwrap v1.0.0 05:47:13 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:47:13 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:47:13 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:47:13 go: finding github.com/hashicorp/go-multierror v1.0.0 05:47:13 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:47:13 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:47:13 go: finding github.com/hashicorp/go-syslog v1.0.0 05:47:13 go: finding github.com/hashicorp/go-uuid v1.0.1 05:47:13 go: finding github.com/hashicorp/go.net v0.0.1 05:47:13 go: finding github.com/hashicorp/golang-lru v0.5.0 05:47:13 go: finding github.com/hashicorp/logutils v1.0.0 05:47:13 go: finding github.com/hashicorp/mdns v1.0.0 05:47:13 go: finding github.com/hashicorp/memberlist v0.1.3 05:47:13 go: finding github.com/hashicorp/serf v0.8.2 05:47:13 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:47:13 go: finding github.com/mattn/go-colorable v0.0.9 05:47:13 go: finding github.com/mattn/go-isatty v0.0.3 05:47:13 go: finding github.com/miekg/dns v1.0.14 05:47:13 go: finding github.com/mitchellh/cli v1.0.0 05:47:13 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:47:13 go: finding github.com/mitchellh/copystructure v1.0.0 05:47:13 go: finding github.com/mitchellh/go-homedir v1.0.0 05:47:13 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:47:13 go: finding github.com/mitchellh/gox v0.4.0 05:47:13 go: finding github.com/mitchellh/iochan v1.0.0 05:47:13 go: finding github.com/mitchellh/mapstructure v1.1.2 05:47:13 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:47:13 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:47:13 go: finding github.com/pelletier/go-toml v1.2.0 05:47:13 go: finding github.com/pkg/errors v0.8.1 05:47:13 go: finding github.com/pmezard/go-difflib v1.0.0 05:47:13 go: finding github.com/posener/complete v1.1.1 05:47:13 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:47:13 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:47:13 go: finding github.com/stretchr/objx v0.1.0 05:47:13 go: finding github.com/stretchr/testify v1.5.1 05:47:13 go: finding github.com/ugorji/go v1.1.4 05:47:13 go: finding github.com/x448/float16 v0.8.4 05:47:13 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:47:13 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:47:13 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:47:13 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 05:47:13 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:47:13 go: finding gopkg.in/yaml.v2 v2.2.8 05:47:22 Removing intermediate container 06d4050f3f39 05:47:22 ---> 2d29cc93dccc 05:47:22 Successfully built 2d29cc93dccc 05:47:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:47:23 + docker inspect -f . ci-base-image-arm64 05:47:23 . [Pipeline] withDockerContainer 05:47:23 prd-ubuntu18.04-docker-arm64-4c-16g-5872 does not seem to be running inside a container 05:47:23 $ 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 05:47:25 $ docker top 675f0ce53a36ffd446d82051eb250f7989b3288395042ac209bfac92739ac43f -eo pid,comm [Pipeline] { [Pipeline] sh 05:47:26 + go version 05:47:26 go version go1.13.5 linux/arm64 [Pipeline] sh 05:47:26 + make test 05:47:26 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:47:27 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:48:00 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:48:00 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:48:00 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:48:00 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.022s coverage: 22.1% of statements 05:48:00 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.163s coverage: 95.8% of statements 05:48:32 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.048s coverage: 11.4% of statements 05:48:32 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.030s coverage: 21.7% of statements 05:48:32 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:48:32 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.212s coverage: 36.9% of statements 05:48:32 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:48:32 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 05:48:32 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.492s coverage: 65.2% of statements 05:48:32 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:48:32 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:48:32 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:48:32 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements 05:48:32 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 05:48:32 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.366s coverage: 68.9% of statements 05:48:32 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:48:32 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:48:32 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:48:35 gofmt -l . 05:48:35 [ "`gofmt -l .`" = "" ] 05:48:35 ./bin/test-attribution-txt.sh 05:48:36 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:48:37 Stashed 1 file(s) [Pipeline] } 05:48:37 $ docker stop --time=1 675f0ce53a36ffd446d82051eb250f7989b3288395042ac209bfac92739ac43f 05:48:39 $ docker rm -f 675f0ce53a36ffd446d82051eb250f7989b3288395042ac209bfac92739ac43f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:48:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:48:41 + ls -al . 05:48:41 total 220 05:48:41 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 05:48 . 05:48:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 05:46 .. 05:48:41 -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 05:46 .dockerignore 05:48:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 05:46 .git 05:48:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 05:46 .github 05:48:41 -rw-rw-r-- 1 jenkins jenkins 138 Apr 24 05:46 .gitignore 05:48:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 05:46 .semver 05:48:41 -rw-rw-r-- 1 jenkins jenkins 936 Apr 24 05:46 Dockerfile.build 05:48:41 -rw-rw-r-- 1 jenkins jenkins 808 Apr 24 05:46 Jenkinsfile 05:48:41 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 24 05:46 LICENSE 05:48:41 -rw-rw-r-- 1 jenkins jenkins 892 Apr 24 05:46 Makefile 05:48:41 -rw-rw-r-- 1 jenkins jenkins 2249 Apr 24 05:46 README.md 05:48:41 -rw-rw-r-- 1 jenkins jenkins 2024 Apr 24 05:46 RELEASE-NOTES.txt 05:48:41 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 05:46 VERSION 05:48:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 05:46 api 05:48:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 05:46 bin 05:48:41 -rw-r--r-- 1 jenkins jenkins 110877 Apr 24 05:48 coverage.out 05:48:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 05:46 example 05:48:41 -rw-r--r-- 1 jenkins jenkins 446 Apr 24 05:48 go.mod 05:48:41 -rw-r--r-- 1 jenkins jenkins 12076 Apr 24 05:48 go.sum 05:48:41 drwxrwxr-x 15 jenkins jenkins 4096 Apr 24 05:46 internal 05:48:41 drwxrwxr-x 5 jenkins jenkins 4096 Apr 24 05:46 pkg 05:48:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 05:46 snap 05:48:41 -rw-rw-r-- 1 jenkins jenkins 222 Apr 24 05:46 version.go [Pipeline] isUnix [Pipeline] sh 05:48:41 + 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 . 05:48:42 Sending build context to Docker daemon 3.166MB 05:48:42 Step 1/21 : ARG BASE=golang:1.13-alpine 05:48:42 Step 2/21 : FROM ${BASE} AS builder 05:48:42 ---> 2d29cc93dccc 05:48:42 Step 3/21 : ARG MAKE='make build' 05:48:42 ---> Running in f882d3d61b81 05:48:42 Removing intermediate container f882d3d61b81 05:48:42 ---> 360fbae55164 05:48:42 Step 4/21 : WORKDIR /device-sdk-go 05:48:42 ---> Running in 9ef5a1f6fb39 05:48:43 Removing intermediate container 9ef5a1f6fb39 05:48:43 ---> 1c14e2cb1571 05:48:43 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:48:43 ---> Running in 45d374801982 05:48:43 Removing intermediate container 45d374801982 05:48:43 ---> a3e3361cb766 05:48:43 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:48:43 ---> Running in 660d462562b8 05:48:45 Removing intermediate container 660d462562b8 05:48:45 ---> a73ae60de436 05:48:45 Step 7/21 : RUN apk add --update --no-cache make git 05:48:45 ---> Running in b4559aefd487 05:48:46 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:48:47 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:48:47 OK: 125 MiB in 39 packages 05:48:48 Removing intermediate container b4559aefd487 05:48:48 ---> 4bd8074fc12a 05:48:48 Step 8/21 : COPY . . 05:48:49 ---> 7607f61cd756 05:48:49 Step 9/21 : RUN ${MAKE} 05:48:49 ---> Running in f37d30716af4 05:48:50 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 05:48:52 Running on prd-centos7-docker-4c-2g-5876 in /w/workspace/dgexfoundry_device-sdk-go_PR-511 [Pipeline] { [Pipeline] ws 05:48:52 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:48:55 using credential edgex-jenkins-ssh 05:48:55 Cloning the remote Git repository 05:48:55 Cloning with configured refspecs honoured and without tags 05:48:55 Fetching without tags 05:48:54 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:48:54 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:48:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:48:54 > git --version # timeout=10 05:48:54 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:54 > 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 05:48:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:48:55 > git config --add remote.origin.fetch +refs/pull/511/head:refs/remotes/origin/PR-511 # timeout=10 05:48:55 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:48:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:48:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:48:55 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:55 > 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 05:48:56 Merging remotes/origin/master commit 32cdc69c02caaeadc7e6c55a092399b45a5765d3 into PR head commit 4a823dd8d76504a4bb8217165d79aec514b56350 05:48:56 Merge succeeded, producing 4a823dd8d76504a4bb8217165d79aec514b56350 05:48:56 Checking out Revision 4a823dd8d76504a4bb8217165d79aec514b56350 (PR-511) 05:48:55 > git config core.sparsecheckout # timeout=10 05:48:55 > git checkout -f 4a823dd8d76504a4bb8217165d79aec514b56350 # timeout=10 05:48:56 > git remote # timeout=10 05:48:56 > git config --get remote.origin.url # timeout=10 05:48:56 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:56 > git merge 32cdc69c02caaeadc7e6c55a092399b45a5765d3 # timeout=10 05:48:56 > git rev-parse HEAD^{commit} # timeout=10 05:48:56 > git config core.sparsecheckout # timeout=10 05:48:56 > git checkout -f 4a823dd8d76504a4bb8217165d79aec514b56350 # timeout=10 05:48:59 Commit message: "Add release note for Geneva" 05:48:59 > git --version # timeout=10 05:48:59 fatal: bad object 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:49:01 ========================================================= 05:49:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 05:49:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:49:01 + 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 . 05:49:01 Sending build context to Docker daemon 3.036MB 05:49:02 Step 1/8 : ARG BASE=golang:1.13-alpine 05:49:02 Step 2/8 : FROM ${BASE} 05:49:02 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 05:49:02 e6b0cf9c0882: Pulling fs layer 05:49:02 2848faf0eed1: Pulling fs layer 05:49:02 0f37312ad70f: Pulling fs layer 05:49:02 5788d62ee057: Pulling fs layer 05:49:02 0e6b1d234666: Pulling fs layer 05:49:02 bf5d7aec512f: Pulling fs layer 05:49:02 34c802a77dc8: Pulling fs layer 05:49:02 9eb99e56ec68: Pulling fs layer 05:49:02 27c7a5d97fbd: Pulling fs layer 05:49:02 5c102a31e300: Pulling fs layer 05:49:02 dcfb455df0a1: Pulling fs layer 05:49:02 5788d62ee057: Waiting 05:49:02 0e6b1d234666: Waiting 05:49:02 bf5d7aec512f: Waiting 05:49:02 34c802a77dc8: Waiting 05:49:02 9eb99e56ec68: Waiting 05:49:02 27c7a5d97fbd: Waiting 05:49:02 5c102a31e300: Waiting 05:49:02 dcfb455df0a1: Waiting 05:49:02 2848faf0eed1: Verifying Checksum 05:49:02 2848faf0eed1: Download complete 05:49:02 0e6b1d234666: Download complete 05:49:02 e6b0cf9c0882: Verifying Checksum 05:49:02 e6b0cf9c0882: Download complete 05:49:02 bf5d7aec512f: Verifying Checksum 05:49:02 bf5d7aec512f: Download complete 05:49:02 e6b0cf9c0882: Pull complete 05:49:02 2848faf0eed1: Pull complete 05:49:02 0f37312ad70f: Pull complete 05:49:03 34c802a77dc8: Verifying Checksum 05:49:03 34c802a77dc8: Download complete 05:49:03 27c7a5d97fbd: Verifying Checksum 05:49:03 27c7a5d97fbd: Download complete 05:49:03 5c102a31e300: Verifying Checksum 05:49:03 5c102a31e300: Download complete 05:49:03 5788d62ee057: Verifying Checksum 05:49:03 5788d62ee057: Download complete 05:49:03 9eb99e56ec68: Verifying Checksum 05:49:03 9eb99e56ec68: Download complete 05:49:03 dcfb455df0a1: Verifying Checksum 05:49:03 dcfb455df0a1: Download complete 05:49:11 5788d62ee057: Pull complete 05:49:11 0e6b1d234666: Pull complete 05:49:11 bf5d7aec512f: Pull complete 05:49:15 34c802a77dc8: Pull complete 05:49:17 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:49:17 Removing intermediate container f37d30716af4 05:49:17 ---> d9f7bcbd57fb 05:49:17 Step 10/21 : FROM scratch 05:49:17 ---> 05:49:17 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:49:17 ---> Running in 78f13d5bbea4 05:49:17 Removing intermediate container 78f13d5bbea4 05:49:17 ---> 40f9fa6945d2 05:49:17 Step 12/21 : ENV APP_PORT=49990 05:49:17 ---> Running in 8fde1a94a9bd 05:49:17 Removing intermediate container 8fde1a94a9bd 05:49:17 ---> 92344aa57ba4 05:49:17 Step 13/21 : EXPOSE $APP_PORT 05:49:17 ---> Running in 4e93e46da204 05:49:17 Removing intermediate container 4e93e46da204 05:49:17 ---> a24592ee193d 05:49:17 Step 14/21 : WORKDIR / 05:49:17 ---> Running in 66eb4322506a 05:49:18 Removing intermediate container 66eb4322506a 05:49:18 ---> bed21d4890cb 05:49:18 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:49:18 9eb99e56ec68: Pull complete 05:49:18 27c7a5d97fbd: Pull complete 05:49:19 ---> dff3774eb025 05:49:19 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:49:19 5c102a31e300: Pull complete 05:49:19 ---> 33b2bc148a9a 05:49:19 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:49:19 dcfb455df0a1: Pull complete 05:49:19 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 05:49:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 05:49:19 ---> 7c70fe431013 05:49:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:49:19 ---> Running in 672e9e00df8a 05:49:19 Removing intermediate container 672e9e00df8a 05:49:19 ---> ce544c99942a 05:49:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:49:19 ---> Running in 381952349a10 05:49:20 ---> 7bccaa6e9e2f 05:49:20 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:49:20 ---> Running in c6566b2551d1 05:49:20 Removing intermediate container c6566b2551d1 05:49:20 ---> 6d8b99f86c96 05:49:20 Step 19/21 : LABEL arch=arm64 05:49:20 ---> Running in 7ca979e9a0de 05:49:20 Removing intermediate container 381952349a10 05:49:20 ---> 2ef55af5f0ee 05:49:20 Step 5/8 : RUN apk add --no-cache make git 05:49:20 ---> Running in bad44668a97f 05:49:21 Removing intermediate container 7ca979e9a0de 05:49:21 ---> 95b59162740d 05:49:21 Step 20/21 : LABEL git_sha=4a823dd8d76504a4bb8217165d79aec514b56350 05:49:21 ---> Running in 2b1794ebc46d 05:49:21 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:49:21 Removing intermediate container 2b1794ebc46d 05:49:21 ---> 119178e314d8 05:49:21 Step 21/21 : LABEL version=0.0.0 05:49:21 ---> Running in 87efddab6d52 05:49:22 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:49:22 Removing intermediate container 87efddab6d52 05:49:22 ---> 3a3bc45ddd25 05:49:22 [Warning] One or more build-args [ARCH] were not consumed 05:49:22 Successfully built 3a3bc45ddd25 05:49:22 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 05:49:22 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 05:49:22 Removing intermediate container bad44668a97f 05:49:22 ---> bd296b16a98e 05:49:22 Step 6/8 : WORKDIR /device-sdk-go 05:49:22 ---> Running in 20266d88f0a1 05:49:22 Removing intermediate container 20266d88f0a1 05:49:22 ---> b807378ff51a 05:49:22 Step 7/8 : COPY . . [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 05:49:23 ---> 0a265b26027f 05:49:23 Step 8/8 : RUN go mod download [Pipeline] // stage [Pipeline] } 05:49:23 ---> Running in fee1545f28b0 05:49:25 go: finding github.com/BurntSushi/toml v0.3.1 05:49:25 go: finding github.com/OneOfOne/xxhash v1.2.6 05:49:25 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:49:25 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:49:25 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:49:25 go: finding github.com/bgentry/speakeasy v0.1.0 05:49:25 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:49:25 go: finding github.com/davecgh/go-spew v1.1.1 05:49:25 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 05:49:25 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:49:25 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 05:49:25 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 05:49:25 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:49:25 go: finding github.com/fatih/color v1.7.0 05:49:25 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:49:25 go: finding github.com/go-kit/kit v0.8.0 05:49:25 go: finding github.com/go-logfmt/logfmt v0.4.0 05:49:25 go: finding github.com/go-stack/stack v1.8.0 05:49:25 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:49:25 go: finding github.com/google/uuid v1.1.0 05:49:25 go: finding github.com/gorilla/mux v1.7.1 05:49:25 go: finding github.com/hashicorp/consul/api v1.1.0 05:49:25 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:49:25 go: finding github.com/hashicorp/errwrap v1.0.0 05:49:25 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:49:25 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:49:25 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:49:25 go: finding github.com/hashicorp/go-multierror v1.0.0 05:49:25 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:49:25 go: finding github.com/hashicorp/go-sockaddr v1.0.0 05:49:25 go: finding github.com/hashicorp/go-syslog v1.0.0 05:49:25 go: finding github.com/hashicorp/go-uuid v1.0.1 05:49:25 go: finding github.com/hashicorp/go.net v0.0.1 05:49:25 go: finding github.com/hashicorp/golang-lru v0.5.0 05:49:25 go: finding github.com/hashicorp/logutils v1.0.0 05:49:25 go: finding github.com/hashicorp/mdns v1.0.0 05:49:25 go: finding github.com/hashicorp/memberlist v0.1.3 05:49:25 go: finding github.com/hashicorp/serf v0.8.2 05:49:25 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:49:25 go: finding github.com/mattn/go-colorable v0.0.9 05:49:25 go: finding github.com/mattn/go-isatty v0.0.3 05:49:25 go: finding github.com/miekg/dns v1.0.14 05:49:25 go: finding github.com/mitchellh/cli v1.0.0 05:49:25 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:49:25 go: finding github.com/mitchellh/copystructure v1.0.0 05:49:25 go: finding github.com/mitchellh/go-homedir v1.0.0 05:49:25 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:49:25 go: finding github.com/mitchellh/gox v0.4.0 05:49:25 go: finding github.com/mitchellh/iochan v1.0.0 05:49:25 go: finding github.com/mitchellh/mapstructure v1.1.2 05:49:25 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:49:25 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:49:25 go: finding github.com/pelletier/go-toml v1.2.0 05:49:25 go: finding github.com/pkg/errors v0.8.1 05:49:25 go: finding github.com/pmezard/go-difflib v1.0.0 05:49:25 go: finding github.com/posener/complete v1.1.1 05:49:25 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 05:49:25 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:49:25 go: finding github.com/stretchr/objx v0.1.0 05:49:25 go: finding github.com/stretchr/testify v1.5.1 05:49:25 go: finding github.com/ugorji/go v1.1.4 05:49:25 go: finding github.com/x448/float16 v0.8.4 05:49:25 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:49:25 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 05:49:25 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:49:26 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 05:49:26 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:49:26 go: finding gopkg.in/yaml.v2 v2.2.8 05:49:31 Removing intermediate container fee1545f28b0 05:49:31 ---> 341a1f406f09 05:49:31 Successfully built 341a1f406f09 05:49:31 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 05:49:32 + docker inspect -f . ci-base-image-x86_64 05:49:32 . [Pipeline] withDockerContainer 05:49:32 prd-centos7-docker-4c-2g-5876 does not seem to be running inside a container 05:49:32 $ 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 05:49:32 $ docker top 24815348adeccae149d76b3f78c023355314320653fb7e77d895d582d8433c82 -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:33 + go version 05:49:33 go version go1.13.5 linux/amd64 [Pipeline] sh 05:49:33 + make test 05:49:33 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:49:35 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:49:45 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:49:45 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:49:45 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:49:45 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.026s coverage: 22.1% of statements 05:49:47 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.050s coverage: 95.8% of statements 05:50:19 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.070s coverage: 11.4% of statements 05:50:19 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.005s coverage: 21.7% of statements 05:50:19 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:50:19 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.064s coverage: 36.9% of statements 05:50:19 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:50:19 ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] 05:50:19 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.247s coverage: 65.2% of statements 05:50:19 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:50:19 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:50:19 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:50:19 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.020s coverage: 52.6% of statements 05:50:19 ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] 05:50:19 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.119s coverage: 68.9% of statements 05:50:19 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:50:19 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:50:19 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:50:19 gofmt -l . 05:50:19 [ "`gofmt -l .`" = "" ] 05:50:19 ./bin/test-attribution-txt.sh 05:50:20 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:50:20 Warning: overwriting stash ‘coverage-report’ 05:50:21 Stashed 1 file(s) [Pipeline] } 05:50:21 $ docker stop --time=1 24815348adeccae149d76b3f78c023355314320653fb7e77d895d582d8433c82 05:50:22 $ docker rm -f 24815348adeccae149d76b3f78c023355314320653fb7e77d895d582d8433c82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:50:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:50:23 + ls -al . 05:50:23 total 180 05:50:23 drwxrwxr-x. 11 jenkins jenkins 4096 Apr 24 05:50 . 05:50:23 drwxrwxr-x. 4 jenkins jenkins 28 Apr 24 05:48 .. 05:50:23 drwxrwxr-x. 3 jenkins jenkins 20 Apr 24 05:48 api 05:50:23 drwxrwxr-x. 2 jenkins jenkins 64 Apr 24 05:48 bin 05:50:23 -rw-r--r--. 1 jenkins jenkins 110877 Apr 24 05:50 coverage.out 05:50:23 -rw-rw-r--. 1 jenkins jenkins 936 Apr 24 05:48 Dockerfile.build 05:50:23 -rw-rw-r--. 1 jenkins jenkins 140 Apr 24 05:48 .dockerignore 05:50:23 drwxrwxr-x. 4 jenkins jenkins 48 Apr 24 05:48 example 05:50:23 drwxrwxr-x. 8 jenkins jenkins 179 Apr 24 05:48 .git 05:50:23 drwxrwxr-x. 2 jenkins jenkins 38 Apr 24 05:48 .github 05:50:23 -rw-rw-r--. 1 jenkins jenkins 138 Apr 24 05:48 .gitignore 05:50:23 -rw-r--r--. 1 jenkins jenkins 446 Apr 24 05:50 go.mod 05:50:23 -rw-r--r--. 1 jenkins jenkins 12076 Apr 24 05:50 go.sum 05:50:23 drwxrwxr-x. 15 jenkins jenkins 217 Apr 24 05:48 internal 05:50:23 -rw-rw-r--. 1 jenkins jenkins 808 Apr 24 05:48 Jenkinsfile 05:50:23 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 24 05:48 LICENSE 05:50:23 -rw-rw-r--. 1 jenkins jenkins 892 Apr 24 05:48 Makefile 05:50:23 drwxrwxr-x. 5 jenkins jenkins 50 Apr 24 05:48 pkg 05:50:23 -rw-rw-r--. 1 jenkins jenkins 2249 Apr 24 05:48 README.md 05:50:23 -rw-rw-r--. 1 jenkins jenkins 2024 Apr 24 05:48 RELEASE-NOTES.txt 05:50:23 drwxrwxr-x. 3 jenkins jenkins 58 Apr 24 05:49 .semver 05:50:23 drwxrwxr-x. 4 jenkins jenkins 54 Apr 24 05:48 snap 05:50:23 -rw-rw-r--. 1 jenkins jenkins 5 Apr 24 05:46 VERSION 05:50:23 -rw-rw-r--. 1 jenkins jenkins 222 Apr 24 05:48 version.go [Pipeline] isUnix [Pipeline] sh 05:50:24 + 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 . 05:50:24 Sending build context to Docker daemon 3.164MB 05:50:24 Step 1/21 : ARG BASE=golang:1.13-alpine 05:50:24 Step 2/21 : FROM ${BASE} AS builder 05:50:24 ---> 341a1f406f09 05:50:24 Step 3/21 : ARG MAKE='make build' 05:50:24 ---> Running in 7fa49b2d6595 05:50:24 Removing intermediate container 7fa49b2d6595 05:50:24 ---> e2a4da3b56b1 05:50:24 Step 4/21 : WORKDIR /device-sdk-go 05:50:24 ---> Running in fb3c36cf1070 05:50:24 Removing intermediate container fb3c36cf1070 05:50:24 ---> ada438e25436 05:50:24 Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:50:24 ---> Running in fd0fa3b31e73 05:50:24 Removing intermediate container fd0fa3b31e73 05:50:24 ---> 538d1e288c30 05:50:24 Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:50:24 ---> Running in f0a24d7b7aee 05:50:25 Removing intermediate container f0a24d7b7aee 05:50:25 ---> f9be278bf07b 05:50:25 Step 7/21 : RUN apk add --update --no-cache make git 05:50:25 ---> Running in 98348d69dacf 05:50:26 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:50:27 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:50:27 OK: 143 MiB in 39 packages 05:50:27 Removing intermediate container 98348d69dacf 05:50:27 ---> c60daf3949df 05:50:27 Step 8/21 : COPY . . 05:50:27 ---> e6f34f82888a 05:50:27 Step 9/21 : RUN ${MAKE} 05:50:28 ---> Running in c3c7d4b5396e 05:50:28 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 05:50:36 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:50:36 Removing intermediate container c3c7d4b5396e 05:50:36 ---> 2a240300a988 05:50:36 Step 10/21 : FROM scratch 05:50:36 ---> 05:50:36 Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:50:36 ---> Running in 604e76b3875d 05:50:37 Removing intermediate container 604e76b3875d 05:50:37 ---> de38833bc206 05:50:37 Step 12/21 : ENV APP_PORT=49990 05:50:37 ---> Running in 01fb32690605 05:50:37 Removing intermediate container 01fb32690605 05:50:37 ---> f28e37663a7c 05:50:37 Step 13/21 : EXPOSE $APP_PORT 05:50:37 ---> Running in 39eab43b36a6 05:50:37 Removing intermediate container 39eab43b36a6 05:50:37 ---> 76d5bba3a546 05:50:37 Step 14/21 : WORKDIR / 05:50:37 ---> Running in f6123cf6d3ad 05:50:37 Removing intermediate container f6123cf6d3ad 05:50:37 ---> 1ba525395b72 05:50:37 Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:50:37 ---> ddeb35d0208c 05:50:37 Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:50:38 ---> c42a700b6747 05:50:38 Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:50:38 ---> 377e292df297 05:50:38 Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:50:38 ---> Running in 0541f70959d0 05:50:38 Removing intermediate container 0541f70959d0 05:50:38 ---> 7227479c9929 05:50:38 Step 19/21 : LABEL arch=amd64 05:50:38 ---> Running in 0b574e3f5dc1 05:50:38 Removing intermediate container 0b574e3f5dc1 05:50:38 ---> 71e9eac998f4 05:50:38 Step 20/21 : LABEL git_sha=4a823dd8d76504a4bb8217165d79aec514b56350 05:50:38 ---> Running in 372a6191b38e 05:50:38 Removing intermediate container 372a6191b38e 05:50:38 ---> 414d8d3dcfeb 05:50:38 Step 21/21 : LABEL version=0.0.0 05:50:38 ---> Running in dc071699cc9e 05:50:38 Removing intermediate container dc071699cc9e 05:50:38 ---> caf608f22cf9 05:50:38 [Warning] One or more build-args [ARCH] were not consumed 05:50:38 Successfully built caf608f22cf9 05:50:38 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 05:50:41 provisioning config files... 05:50:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-511@tmp/config4443700770409744007tmp [Pipeline] { [Pipeline] sh 05:50:41 + curl -s https://codecov.io/bash 05:50:41 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-511@tmp/config4443700770409744007tmp 05:50:42 05:50:42 _____ _ 05:50:42 / ____| | | 05:50:42 | | ___ __| | ___ ___ _____ __ 05:50:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:50:42 | |___| (_) | (_| | __/ (_| (_) \ V / 05:50:42 \_____\___/ \__,_|\___|\___\___/ \_/ 05:50:42 Bash-tbd 05:50:42 05:50:42 05:50:42 ==> Jenkins CI detected. 05:50:42 project root: . 05:50:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:50:42 ==> Running gcov in . (disable via -X gcov) 05:50:42 ==> Python coveragepy not found 05:50:42 ==> Searching for coverage reports in: 05:50:42 + . 05:50:42 -> Found 1 reports 05:50:42 ==> Detecting git/mercurial file structure 05:50:42 ==> Reading reports 05:50:42 + ./coverage.out bytes=110877 05:50:42 ==> Appending adjustments 05:50:42 http://docs.codecov.io/docs/fixing-reports 05:50:42 + Found adjustments 05:50:42 ==> Gzipping contents 05:50:42 ==> Uploading reports 05:50:42 url: https://codecov.io 05:50:42 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= 05:50:42 -> Pinging Codecov 05:50:42 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= 05:50:42 -> Uploading 05:50:43 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4a823dd8d76504a4bb8217165d79aec514b56350 [Pipeline] } 05:50:43 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 05:50:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:50:45 ---> package-listing.sh 05:50:45 ++ facter osfamily 05:50:45 ++ tr '[:upper:]' '[:lower:]' 05:50:45 + OS_FAMILY=redhat 05:50:45 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-511 05:50:45 + START_PACKAGES=/tmp/packages_start.txt 05:50:45 + END_PACKAGES=/tmp/packages_end.txt 05:50:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:50:45 + PACKAGES=/tmp/packages_start.txt 05:50:45 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-511 ']' 05:50:45 + PACKAGES=/tmp/packages_end.txt 05:50:45 + case "${OS_FAMILY}" in 05:50:45 + rpm -qa 05:50:45 + sort 05:50:49 + '[' -f /tmp/packages_start.txt ']' 05:50:49 + '[' -f /tmp/packages_end.txt ']' 05:50:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:50:49 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-511 ']' 05:50:49 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-511/archives/ 05:50:49 + 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 05:50:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:50:50 05:50:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:50:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:50:50 alpine: Pulling from edgex-lftools-log-publisher 05:50:50 c9b1b535fdd9: Pulling fs layer 05:50:50 2cc5ad85d9ab: Pulling fs layer 05:50:50 756a868c4378: Pulling fs layer 05:50:50 444b2fc9a129: Pulling fs layer 05:50:50 ea15f1150254: Pulling fs layer 05:50:50 41b27a9f41bf: Pulling fs layer 05:50:50 28c525ee5125: Pulling fs layer 05:50:50 094b1ea09ed8: Pulling fs layer 05:50:50 138eaada9080: Pulling fs layer 05:50:50 0622d0fa9048: Pulling fs layer 05:50:50 ea15f1150254: Waiting 05:50:50 41b27a9f41bf: Waiting 05:50:50 28c525ee5125: Waiting 05:50:50 094b1ea09ed8: Waiting 05:50:50 138eaada9080: Waiting 05:50:50 0622d0fa9048: Waiting 05:50:50 444b2fc9a129: Waiting 05:50:50 2cc5ad85d9ab: Verifying Checksum 05:50:50 2cc5ad85d9ab: Download complete 05:50:50 444b2fc9a129: Verifying Checksum 05:50:50 444b2fc9a129: Download complete 05:50:50 c9b1b535fdd9: Verifying Checksum 05:50:51 ea15f1150254: Verifying Checksum 05:50:51 ea15f1150254: Download complete 05:50:51 28c525ee5125: Verifying Checksum 05:50:51 28c525ee5125: Download complete 05:50:51 c9b1b535fdd9: Pull complete 05:50:51 756a868c4378: Verifying Checksum 05:50:51 756a868c4378: Download complete 05:50:51 094b1ea09ed8: Verifying Checksum 05:50:51 094b1ea09ed8: Download complete 05:50:51 138eaada9080: Verifying Checksum 05:50:51 138eaada9080: Download complete 05:50:51 0622d0fa9048: Download complete 05:50:51 2cc5ad85d9ab: Pull complete 05:50:52 41b27a9f41bf: Verifying Checksum 05:50:52 41b27a9f41bf: Download complete 05:50:53 756a868c4378: Pull complete 05:50:53 444b2fc9a129: Pull complete 05:50:53 ea15f1150254: Pull complete 05:50:56 41b27a9f41bf: Pull complete 05:50:56 28c525ee5125: Pull complete 05:50:58 094b1ea09ed8: Pull complete 05:50:59 138eaada9080: Pull complete 05:50:59 0622d0fa9048: Pull complete 05:50:59 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 05:50:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:50:59 prd-centos7-docker-4c-2g-5875 does not seem to be running inside a container 05:50:59 $ 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 05:51:00 $ docker top cb11af8052f47f54c73fc07bd6bd93371aa8f569f2c3c1e0ccfa844643f9e3c0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:51:00 provisioning config files... 05:51:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-511@tmp/config227615852921002789tmp [Pipeline] { [Pipeline] echo 05:51:00 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:51:01 ---> create-netrc.sh [Pipeline] echo 05:51:01 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:51:01 ---> logs-deploy.sh 05:51:01 + ARCHIVE_ARTIFACTS= 05:51:01 + LOGS_SERVER=https://logs.edgexfoundry.org 05:51:01 + '[' https://logs.edgexfoundry.org == None ']' 05:51:01 + NEXUS_URL=https://nexus.edgexfoundry.org 05:51:01 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-511/1 05:51:01 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-511/1/ 05:51:01 + 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 05:51:03 Archives upload complete. 05:51:03 + 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/ 05:51:03 ---> uname -a: 05:51:03 Linux cb11af8052f4 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 05:51:03 05:51:03 05:51:03 ---> lscpu: 05:51:03 Architecture: x86_64 05:51:03 CPU op-mode(s): 32-bit, 64-bit 05:51:03 Byte Order: Little Endian 05:51:03 Address sizes: 40 bits physical, 48 bits virtual 05:51:03 CPU(s): 4 05:51:03 On-line CPU(s) list: 0-3 05:51:03 Thread(s) per core: 1 05:51:03 Core(s) per socket: 1 05:51:03 Socket(s): 4 05:51:03 NUMA node(s): 1 05:51:03 Vendor ID: GenuineIntel 05:51:03 CPU family: 6 05:51:03 Model: 44 05:51:03 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 05:51:03 Stepping: 1 05:51:03 CPU MHz: 2933.438 05:51:03 BogoMIPS: 5866.87 05:51:03 Virtualization: VT-x 05:51:03 Hypervisor vendor: KVM 05:51:03 Virtualization type: full 05:51:03 L1d cache: 128 KiB 05:51:03 L1i cache: 128 KiB 05:51:03 L2 cache: 16 MiB 05:51:03 L3 cache: 64 MiB 05:51:03 NUMA node0 CPU(s): 0-3 05:51:03 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 05:51:03 Vulnerability Meltdown: Mitigation; PTI 05:51:03 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:51:03 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 05:51:03 Vulnerability Spectre v2: Mitigation; Full retpoline 05:51:03 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 05:51:03 05:51:03 05:51:03 ---> nproc: 05:51:03 4 05:51:03 05:51:03 05:51:03 ---> df -h: 05:51:03 Filesystem Size Used Available Use% Mounted on 05:51:03 overlay 50.0G 6.4G 43.6G 13% / 05:51:03 tmpfs 64.0M 0 64.0M 0% /dev 05:51:03 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 05:51:03 shm 64.0M 0 64.0M 0% /dev/shm 05:51:03 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf 05:51:03 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname 05:51:03 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts 05:51:03 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-511@tmp 05:51:03 /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa 05:51:03 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/dgexfoundry_device-sdk-go_PR-511 05:51:03 05:51:03 05:51:03 ---> free -m: 05:51:03 total used free shared buff/cache available 05:51:03 Mem: 1838 600 75 0 1161 1133 05:51:03 Swap: 1023 0 1023 05:51:03 05:51:03