Pull request #499 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 2564dc108e71feea14859d9661bd87f7c2b518b3 rather than 3988dfef7ce44ebf982d0bd350c905d90fbbd27f Obtained Jenkinsfile from 2564dc108e71feea14859d9661bd87f7c2b518b3 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5248 in /w/workspace/dgexfoundry_device-sdk-go_PR-499 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-499 # 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/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 2564dc108e71feea14859d9661bd87f7c2b518b3 into PR head commit 3988dfef7ce44ebf982d0bd350c905d90fbbd27f Merge succeeded, producing 3988dfef7ce44ebf982d0bd350c905d90fbbd27f Checking out Revision 3988dfef7ce44ebf982d0bd350c905d90fbbd27f (PR-499) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/499/head:refs/remotes/origin/PR-499 # 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/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3988dfef7ce44ebf982d0bd350c905d90fbbd27f # 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 2564dc108e71feea14859d9661bd87f7c2b518b3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3988dfef7ce44ebf982d0bd350c905d90fbbd27f # timeout=10 Commit message: "Parse base64 string as float value Since user can execute put cmd with the base64 string parameter, device-sdk should parse base64 string as float value when user indicate the data type is float32 or float64." First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-21T14:22:58.028Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk f42fa0091ba9504a7ba16dd7e053dee0e90fd4f5 # timeout=10 [2020-04-21T14:22:58.264Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-21T14:22:58.334Z] ========================================================= [2020-04-21T14:22:58.334Z] EdgeX Global Pipelines Version Info [2020-04-21T14:22:58.334Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-21T14:23:00.215Z] ------------------- [2020-04-21T14:23:00.215Z] stable info: [2020-04-21T14:23:00.215Z] ------------------- [2020-04-21T14:23:00.215Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-21T14:23:00.215Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T14:23:00.215Z] Message: update stable to v1.0.73 [2020-04-21T14:23:00.787Z] ------------------- [2020-04-21T14:23:00.787Z] experimental info: [2020-04-21T14:23:00.787Z] ------------------- [2020-04-21T14:23:00.787Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-21T14:23:00.787Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T14:23:00.787Z] Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:23:02.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T14:23:02.803Z] [2020-04-21T14:23:02.803Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:23:03.154Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T14:23:03.154Z] latest: Pulling from edgex-devops/git-semver [2020-04-21T14:23:03.154Z] 9123ac7c32f7: Pulling fs layer [2020-04-21T14:23:03.154Z] b8cc5d1170e3: Pulling fs layer [2020-04-21T14:23:03.154Z] 2924cbbf6a41: Pulling fs layer [2020-04-21T14:23:03.154Z] 93b08a4f1073: Pulling fs layer [2020-04-21T14:23:03.154Z] 93b08a4f1073: Waiting [2020-04-21T14:23:03.423Z] b8cc5d1170e3: Verifying Checksum [2020-04-21T14:23:03.423Z] b8cc5d1170e3: Download complete [2020-04-21T14:23:03.423Z] 9123ac7c32f7: Verifying Checksum [2020-04-21T14:23:03.423Z] 9123ac7c32f7: Download complete [2020-04-21T14:23:03.423Z] 93b08a4f1073: Verifying Checksum [2020-04-21T14:23:03.423Z] 93b08a4f1073: Download complete [2020-04-21T14:23:03.423Z] 2924cbbf6a41: Verifying Checksum [2020-04-21T14:23:03.423Z] 2924cbbf6a41: Download complete [2020-04-21T14:23:03.683Z] 9123ac7c32f7: Pull complete [2020-04-21T14:23:03.683Z] b8cc5d1170e3: Pull complete [2020-04-21T14:23:04.624Z] 2924cbbf6a41: Pull complete [2020-04-21T14:23:04.624Z] 93b08a4f1073: Pull complete [2020-04-21T14:23:04.624Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-21T14:23:04.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-21T14:23:04.767Z] prd-centos7-docker-4c-2g-5248 does not seem to be running inside a container [2020-04-21T14:23:04.831Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-499 -v /w/workspace/dgexfoundry_device-sdk-go_PR-499:/w/workspace/dgexfoundry_device-sdk-go_PR-499:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-21T14:23:05.502Z] $ docker top e0a908d4103d602bb56ff888ca56b0d0205ed43aae4e51cce8e16e73d4794cb2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T14:23:05.791Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T14:23:05.791Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T14:23:06.068Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T14:23:06.075Z] $ docker exec e0a908d4103d602bb56ff888ca56b0d0205ed43aae4e51cce8e16e73d4794cb2 ssh-agent [2020-04-21T14:23:06.315Z] SSH_AUTH_SOCK=/tmp/ssh-A8LZaXyNQOQd/agent.15 [2020-04-21T14:23:06.315Z] SSH_AGENT_PID=22 [2020-04-21T14:23:06.324Z] Running ssh-add (command line suppressed) [2020-04-21T14:23:06.471Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/private_key_7757765265801037041.key (/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/private_key_7757765265801037041.key) [2020-04-21T14:23:06.537Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T14:23:07.263Z] + git describe --exact-match --tags HEAD [2020-04-21T14:23:07.263Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-21T14:23:07.322Z] $ docker exec --env ******** --env ******** e0a908d4103d602bb56ff888ca56b0d0205ed43aae4e51cce8e16e73d4794cb2 ssh-agent -k [2020-04-21T14:23:07.462Z] unset SSH_AUTH_SOCK; [2020-04-21T14:23:07.462Z] unset SSH_AGENT_PID; [2020-04-21T14:23:07.462Z] echo Agent pid 22 killed; [2020-04-21T14:23:07.502Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-21T14:23:07.564Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-21T14:23:07.564Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-21T14:23:07.634Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T14:23:07.635Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T14:23:07.816Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T14:23:07.823Z] $ docker exec e0a908d4103d602bb56ff888ca56b0d0205ed43aae4e51cce8e16e73d4794cb2 ssh-agent [2020-04-21T14:23:07.998Z] SSH_AUTH_SOCK=/tmp/ssh-o3V1zKNWTG9Y/agent.58 [2020-04-21T14:23:07.998Z] SSH_AGENT_PID=64 [2020-04-21T14:23:08.006Z] Running ssh-add (command line suppressed) [2020-04-21T14:23:08.159Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/private_key_2948194201974208468.key (/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/private_key_2948194201974208468.key) [2020-04-21T14:23:08.204Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T14:23:08.523Z] + git semver init [2020-04-21T14:23:08.523Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T14:23:08.523Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-499/.git [2020-04-21T14:23:08.523Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-499 [2020-04-21T14:23:08.523Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T14:23:08.523Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T14:23:08.523Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T14:23:08.523Z] # $SEMVER_BRANCH = PR-499 [2020-04-21T14:23:08.523Z] # $SEMVER_TEMP = /tmp/semver-600857560 [2020-04-21T14:23:08.524Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-04-21T14:23:09.091Z] # '/tmp/semver-600857560' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-499/.semver' [2020-04-21T14:23:09.091Z] # -> Force: false [2020-04-21T14:23:09.091Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-499/.semver [Pipeline] } [2020-04-21T14:23:09.103Z] $ docker exec --env ******** --env ******** e0a908d4103d602bb56ff888ca56b0d0205ed43aae4e51cce8e16e73d4794cb2 ssh-agent -k [2020-04-21T14:23:09.281Z] unset SSH_AUTH_SOCK; [2020-04-21T14:23:09.281Z] unset SSH_AGENT_PID; [2020-04-21T14:23:09.281Z] echo Agent pid 64 killed; [2020-04-21T14:23:09.322Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T14:23:09.741Z] + git semver [Pipeline] } [2020-04-21T14:23:09.758Z] $ docker stop --time=1 e0a908d4103d602bb56ff888ca56b0d0205ed43aae4e51cce8e16e73d4794cb2 [2020-04-21T14:23:11.116Z] $ docker rm -f e0a908d4103d602bb56ff888ca56b0d0205ed43aae4e51cce8e16e73d4794cb2 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-21T14:23:11.978Z] Stashed 51 file(s) [Pipeline] echo [2020-04-21T14:23:11.980Z] [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-21T14:23:27.206Z] Still waiting to schedule task [2020-04-21T14:23:27.206Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-21T14:23:27.207Z] Still waiting to schedule task [2020-04-21T14:23:27.208Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-21T14:25:16.378Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5249 in /w/workspace/dgexfoundry_device-sdk-go_PR-499 [Pipeline] { [Pipeline] ws [2020-04-21T14:25:16.743Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-04-21T14:25:20.162Z] Running on prd-centos7-docker-4c-2g-5250 in /w/workspace/dgexfoundry_device-sdk-go_PR-499 [Pipeline] { [Pipeline] ws [2020-04-21T14:25:20.205Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-04-21T14:25:22.492Z] using credential edgex-jenkins-ssh [2020-04-21T14:25:22.503Z] using credential edgex-jenkins-ssh [2020-04-21T14:25:22.546Z] Cloning the remote Git repository [2020-04-21T14:25:22.546Z] Cloning with configured refspecs honoured and without tags [2020-04-21T14:25:22.576Z] Cloning the remote Git repository [2020-04-21T14:25:22.576Z] Cloning with configured refspecs honoured and without tags [2020-04-21T14:25:22.602Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T14:25:22.640Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-04-21T14:25:22.686Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T14:25:22.686Z] > git --version # timeout=10 [2020-04-21T14:25:22.698Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T14:25:23.318Z] Fetching without tags [2020-04-21T14:25:22.607Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T14:25:22.691Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-04-21T14:25:22.770Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T14:25:22.771Z] > git --version # timeout=10 [2020-04-21T14:25:22.787Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T14:25:22.842Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T14:25:23.696Z] Merging remotes/origin/master commit 2564dc108e71feea14859d9661bd87f7c2b518b3 into PR head commit 3988dfef7ce44ebf982d0bd350c905d90fbbd27f [2020-04-21T14:25:23.791Z] Merge succeeded, producing 3988dfef7ce44ebf982d0bd350c905d90fbbd27f [2020-04-21T14:25:23.791Z] Checking out Revision 3988dfef7ce44ebf982d0bd350c905d90fbbd27f (PR-499) [2020-04-21T14:25:22.736Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T14:25:23.290Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T14:25:23.295Z] > git config --add remote.origin.fetch +refs/pull/499/head:refs/remotes/origin/PR-499 # timeout=10 [2020-04-21T14:25:23.303Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T14:25:23.312Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T14:25:23.322Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T14:25:23.323Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T14:25:23.326Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T14:25:23.704Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T14:25:23.712Z] > git checkout -f 3988dfef7ce44ebf982d0bd350c905d90fbbd27f # timeout=10 [2020-04-21T14:25:23.757Z] > git remote # timeout=10 [2020-04-21T14:25:23.763Z] > git config --get remote.origin.url # timeout=10 [2020-04-21T14:25:23.769Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T14:25:23.772Z] > git merge 2564dc108e71feea14859d9661bd87f7c2b518b3 # timeout=10 [2020-04-21T14:25:23.782Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-21T14:25:23.794Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T14:25:23.799Z] > git checkout -f 3988dfef7ce44ebf982d0bd350c905d90fbbd27f # timeout=10 [2020-04-21T14:25:23.999Z] Fetching without tags [2020-04-21T14:25:24.505Z] Merging remotes/origin/master commit 2564dc108e71feea14859d9661bd87f7c2b518b3 into PR head commit 3988dfef7ce44ebf982d0bd350c905d90fbbd27f [2020-04-21T14:25:23.796Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T14:25:23.842Z] > git config --add remote.origin.fetch +refs/pull/499/head:refs/remotes/origin/PR-499 # timeout=10 [2020-04-21T14:25:23.858Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T14:25:23.955Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-04-21T14:25:24.014Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-04-21T14:25:24.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T14:25:24.060Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/499/head:refs/remotes/origin/PR-499 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T14:25:24.526Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T14:25:24.546Z] > git checkout -f 3988dfef7ce44ebf982d0bd350c905d90fbbd27f # timeout=10 [2020-04-21T14:25:24.662Z] > git remote # timeout=10 [2020-04-21T14:25:24.678Z] > git config --get remote.origin.url # timeout=10 [2020-04-21T14:25:24.766Z] Merge succeeded, producing 3988dfef7ce44ebf982d0bd350c905d90fbbd27f [2020-04-21T14:25:24.766Z] Checking out Revision 3988dfef7ce44ebf982d0bd350c905d90fbbd27f (PR-499) [2020-04-21T14:25:24.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T14:25:24.709Z] > git merge 2564dc108e71feea14859d9661bd87f7c2b518b3 # timeout=10 [2020-04-21T14:25:24.738Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-21T14:25:24.774Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T14:25:24.805Z] > git checkout -f 3988dfef7ce44ebf982d0bd350c905d90fbbd27f # timeout=10 [2020-04-21T14:25:27.617Z] Commit message: "Parse base64 string as float value Since user can execute put cmd with the base64 string parameter, device-sdk should parse base64 string as float value when user indicate the data type is float32 or float64." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T14:25:28.551Z] ========================================================= [2020-04-21T14:25:28.551Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-21T14:25:28.551Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:25:29.238Z] Commit message: "Parse base64 string as float value Since user can execute put cmd with the base64 string parameter, device-sdk should parse base64 string as float value when user indicate the data type is float32 or float64." [2020-04-21T14:25:29.294Z] + 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-21T14:25:29.560Z] Sending build context to Docker daemon 2.993MB [2020-04-21T14:25:29.560Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T14:25:29.560Z] Step 2/8 : FROM ${BASE} [2020-04-21T14:25:29.560Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-21T14:25:29.560Z] e6b0cf9c0882: Pulling fs layer [2020-04-21T14:25:29.560Z] 2848faf0eed1: Pulling fs layer [2020-04-21T14:25:29.560Z] 0f37312ad70f: Pulling fs layer [2020-04-21T14:25:29.560Z] 5788d62ee057: Pulling fs layer [2020-04-21T14:25:29.560Z] 0e6b1d234666: Pulling fs layer [2020-04-21T14:25:29.560Z] bf5d7aec512f: Pulling fs layer [2020-04-21T14:25:29.560Z] 34c802a77dc8: Pulling fs layer [2020-04-21T14:25:29.560Z] 9eb99e56ec68: Pulling fs layer [2020-04-21T14:25:29.560Z] 27c7a5d97fbd: Pulling fs layer [2020-04-21T14:25:29.560Z] 5c102a31e300: Pulling fs layer [2020-04-21T14:25:29.560Z] dcfb455df0a1: Pulling fs layer [2020-04-21T14:25:29.560Z] 9eb99e56ec68: Waiting [2020-04-21T14:25:29.560Z] bf5d7aec512f: Waiting [2020-04-21T14:25:29.560Z] 34c802a77dc8: Waiting [2020-04-21T14:25:29.560Z] 27c7a5d97fbd: Waiting [2020-04-21T14:25:29.560Z] 5c102a31e300: Waiting [2020-04-21T14:25:29.560Z] dcfb455df0a1: Waiting [2020-04-21T14:25:29.560Z] 0e6b1d234666: Waiting [2020-04-21T14:25:29.560Z] 0f37312ad70f: Verifying Checksum [2020-04-21T14:25:29.560Z] 0f37312ad70f: Download complete [2020-04-21T14:25:29.560Z] 2848faf0eed1: Download complete [2020-04-21T14:25:29.560Z] 0e6b1d234666: Verifying Checksum [2020-04-21T14:25:29.560Z] 0e6b1d234666: Download complete [2020-04-21T14:25:29.560Z] bf5d7aec512f: Verifying Checksum [2020-04-21T14:25:29.560Z] bf5d7aec512f: Download complete [2020-04-21T14:25:29.560Z] e6b0cf9c0882: Verifying Checksum [2020-04-21T14:25:29.560Z] e6b0cf9c0882: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-04-21T14:25:29.820Z] e6b0cf9c0882: Pull complete [2020-04-21T14:25:30.085Z] 2848faf0eed1: Pull complete [2020-04-21T14:25:30.347Z] 0f37312ad70f: Pull complete [2020-04-21T14:25:30.347Z] 34c802a77dc8: Verifying Checksum [2020-04-21T14:25:30.347Z] 34c802a77dc8: Download complete [2020-04-21T14:25:30.347Z] 27c7a5d97fbd: Verifying Checksum [2020-04-21T14:25:30.347Z] 27c7a5d97fbd: Download complete [Pipeline] echo [2020-04-21T14:25:30.482Z] ========================================================= [2020-04-21T14:25:30.482Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-21T14:25:30.482Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:25:30.929Z] 5c102a31e300: Verifying Checksum [2020-04-21T14:25:30.929Z] 5c102a31e300: Download complete [2020-04-21T14:25:30.929Z] dcfb455df0a1: Verifying Checksum [2020-04-21T14:25:30.929Z] dcfb455df0a1: Download complete [2020-04-21T14:25:31.500Z] 9eb99e56ec68: Verifying Checksum [2020-04-21T14:25:31.500Z] 9eb99e56ec68: Download complete [2020-04-21T14:25:31.500Z] 5788d62ee057: Verifying Checksum [2020-04-21T14:25:31.500Z] 5788d62ee057: Download complete [2020-04-21T14:25:31.605Z] + 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-21T14:25:32.576Z] Sending build context to Docker daemon 2.994MB [2020-04-21T14:25:32.576Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T14:25:32.576Z] Step 2/8 : FROM ${BASE} [2020-04-21T14:25:32.843Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-21T14:25:32.843Z] cde5963f3b93: Pulling fs layer [2020-04-21T14:25:32.843Z] 2a23fa8c16f7: Pulling fs layer [2020-04-21T14:25:32.843Z] 777b28850792: Pulling fs layer [2020-04-21T14:25:32.843Z] 8a11ddd9e578: Pulling fs layer [2020-04-21T14:25:32.843Z] 4cf88f913ddb: Pulling fs layer [2020-04-21T14:25:32.843Z] 1df406cf5192: Pulling fs layer [2020-04-21T14:25:32.843Z] cd6300453558: Pulling fs layer [2020-04-21T14:25:32.843Z] b9c365052c96: Pulling fs layer [2020-04-21T14:25:32.843Z] a2d8cc88f415: Pulling fs layer [2020-04-21T14:25:32.843Z] ea1d1ca13537: Pulling fs layer [2020-04-21T14:25:32.843Z] 3750a50a1c5e: Pulling fs layer [2020-04-21T14:25:32.843Z] cd6300453558: Waiting [2020-04-21T14:25:32.843Z] b9c365052c96: Waiting [2020-04-21T14:25:32.843Z] 8a11ddd9e578: Waiting [2020-04-21T14:25:32.843Z] 4cf88f913ddb: Waiting [2020-04-21T14:25:32.843Z] 1df406cf5192: Waiting [2020-04-21T14:25:32.843Z] ea1d1ca13537: Waiting [2020-04-21T14:25:32.843Z] 3750a50a1c5e: Waiting [2020-04-21T14:25:32.843Z] a2d8cc88f415: Waiting [2020-04-21T14:25:33.113Z] 777b28850792: Verifying Checksum [2020-04-21T14:25:33.113Z] 777b28850792: Download complete [2020-04-21T14:25:33.113Z] 2a23fa8c16f7: Download complete [2020-04-21T14:25:33.113Z] 4cf88f913ddb: Verifying Checksum [2020-04-21T14:25:33.113Z] 4cf88f913ddb: Download complete [2020-04-21T14:25:33.113Z] 1df406cf5192: Verifying Checksum [2020-04-21T14:25:33.113Z] 1df406cf5192: Download complete [2020-04-21T14:25:33.382Z] cde5963f3b93: Download complete [2020-04-21T14:25:33.976Z] cde5963f3b93: Pull complete [2020-04-21T14:25:34.984Z] 2a23fa8c16f7: Pull complete [2020-04-21T14:25:34.984Z] 777b28850792: Pull complete [2020-04-21T14:25:37.597Z] cd6300453558: Verifying Checksum [2020-04-21T14:25:37.597Z] cd6300453558: Download complete [2020-04-21T14:25:37.597Z] a2d8cc88f415: Verifying Checksum [2020-04-21T14:25:37.597Z] a2d8cc88f415: Download complete [2020-04-21T14:25:38.084Z] 5788d62ee057: Pull complete [2020-04-21T14:25:38.085Z] 0e6b1d234666: Pull complete [2020-04-21T14:25:38.085Z] bf5d7aec512f: Pull complete [2020-04-21T14:25:40.203Z] ea1d1ca13537: Verifying Checksum [2020-04-21T14:25:40.203Z] ea1d1ca13537: Download complete [2020-04-21T14:25:40.203Z] 3750a50a1c5e: Verifying Checksum [2020-04-21T14:25:40.203Z] 3750a50a1c5e: Download complete [2020-04-21T14:25:42.805Z] b9c365052c96: Verifying Checksum [2020-04-21T14:25:42.805Z] b9c365052c96: Download complete [2020-04-21T14:25:43.414Z] 34c802a77dc8: Pull complete [2020-04-21T14:25:44.749Z] 8a11ddd9e578: Verifying Checksum [2020-04-21T14:25:44.749Z] 8a11ddd9e578: Download complete [2020-04-21T14:25:47.614Z] 9eb99e56ec68: Pull complete [2020-04-21T14:25:47.615Z] 27c7a5d97fbd: Pull complete [2020-04-21T14:25:48.183Z] 5c102a31e300: Pull complete [2020-04-21T14:25:48.183Z] dcfb455df0a1: Pull complete [2020-04-21T14:25:48.183Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-21T14:25:48.183Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-21T14:25:48.183Z] ---> 7c70fe431013 [2020-04-21T14:25:48.183Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T14:25:48.445Z] ---> Running in fa41a3d0b54f [2020-04-21T14:25:48.445Z] Removing intermediate container fa41a3d0b54f [2020-04-21T14:25:48.445Z] ---> b49c4ac3adda [2020-04-21T14:25:48.445Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T14:25:48.445Z] ---> Running in 82b62576f2bd [2020-04-21T14:25:49.829Z] Removing intermediate container 82b62576f2bd [2020-04-21T14:25:49.829Z] ---> 5fc309855681 [2020-04-21T14:25:49.829Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-21T14:25:50.090Z] ---> Running in fe03d6be2d07 [2020-04-21T14:25:50.349Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T14:25:51.733Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T14:25:52.672Z] OK: 143 MiB in 39 packages [2020-04-21T14:25:53.242Z] Removing intermediate container fe03d6be2d07 [2020-04-21T14:25:53.242Z] ---> 300707019a09 [2020-04-21T14:25:53.242Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-21T14:25:53.242Z] ---> Running in 71559b04eec5 [2020-04-21T14:25:53.242Z] Removing intermediate container 71559b04eec5 [2020-04-21T14:25:53.242Z] ---> f7743f11df3d [2020-04-21T14:25:53.242Z] Step 7/8 : COPY . . [2020-04-21T14:25:53.815Z] ---> 1d652c47e6f9 [2020-04-21T14:25:53.815Z] Step 8/8 : RUN go mod download [2020-04-21T14:25:54.077Z] ---> Running in a8e5b86cf7a3 [2020-04-21T14:25:55.457Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T14:25:55.457Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T14:25:55.716Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T14:25:55.716Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T14:25:55.716Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T14:25:55.716Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T14:25:55.716Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T14:25:55.716Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T14:25:55.716Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T14:25:55.716Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T14:25:55.716Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T14:25:55.716Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T14:25:55.716Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T14:25:55.716Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T14:25:55.716Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T14:25:55.716Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T14:25:55.716Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T14:25:55.716Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T14:25:55.716Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T14:25:55.716Z] go: finding github.com/google/uuid v1.1.0 [2020-04-21T14:25:55.976Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T14:25:55.976Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T14:25:55.977Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T14:25:55.977Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T14:25:55.977Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T14:25:55.977Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T14:25:55.977Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T14:25:55.977Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T14:25:55.977Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T14:25:55.977Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-21T14:25:55.977Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T14:25:55.977Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T14:25:55.977Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T14:25:55.977Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-21T14:25:55.977Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T14:25:55.977Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T14:25:55.977Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T14:25:55.977Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T14:25:55.977Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T14:25:55.977Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T14:25:55.977Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T14:25:55.977Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-21T14:25:55.977Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T14:25:55.977Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T14:25:55.977Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T14:25:55.977Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-21T14:25:55.977Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T14:25:55.977Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T14:25:55.977Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T14:25:55.977Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T14:25:56.236Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T14:25:56.236Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T14:25:56.236Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T14:25:56.236Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T14:25:56.236Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T14:25:56.236Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T14:25:56.236Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-21T14:25:56.236Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T14:25:56.236Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T14:25:56.236Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T14:25:56.236Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T14:25:56.236Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T14:25:56.236Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T14:25:56.236Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-21T14:25:56.236Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T14:25:56.236Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T14:25:56.494Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T14:25:56.494Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T14:25:57.109Z] 8a11ddd9e578: Pull complete [2020-04-21T14:25:57.109Z] 4cf88f913ddb: Pull complete [2020-04-21T14:25:57.109Z] 1df406cf5192: Pull complete [2020-04-21T14:26:01.369Z] cd6300453558: Pull complete [2020-04-21T14:26:01.785Z] Removing intermediate container a8e5b86cf7a3 [2020-04-21T14:26:01.785Z] ---> f66ddb8d5cf8 [2020-04-21T14:26:01.785Z] Successfully built f66ddb8d5cf8 [2020-04-21T14:26:01.785Z] 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-21T14:26:02.383Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-21T14:26:02.383Z] . [Pipeline] withDockerContainer [2020-04-21T14:26:02.502Z] prd-centos7-docker-4c-2g-5250 does not seem to be running inside a container [2020-04-21T14:26:02.545Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-21T14:26:04.416Z] $ docker top fb72e57ec121443b117b638ee8ad66c7d18ae9173e9f084b7302623afee5139b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T14:26:04.897Z] + go version [2020-04-21T14:26:04.897Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-21T14:26:05.193Z] + make test [2020-04-21T14:26:05.193Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-21T14:26:06.735Z] b9c365052c96: Pull complete [2020-04-21T14:26:06.735Z] a2d8cc88f415: Pull complete [2020-04-21T14:26:07.733Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-21T14:26:08.693Z] ea1d1ca13537: Pull complete [2020-04-21T14:26:09.282Z] 3750a50a1c5e: Pull complete [2020-04-21T14:26:09.282Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-21T14:26:09.282Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-21T14:26:09.282Z] ---> 78745c68409d [2020-04-21T14:26:09.282Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T14:26:13.562Z] ---> Running in 6635ead34f5a [2020-04-21T14:26:13.830Z] Removing intermediate container 6635ead34f5a [2020-04-21T14:26:13.830Z] ---> bd143c6743b8 [2020-04-21T14:26:13.830Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T14:26:13.830Z] ---> Running in e486fa158c4b [2020-04-21T14:26:16.426Z] Removing intermediate container e486fa158c4b [2020-04-21T14:26:16.426Z] ---> 0753cdb00338 [2020-04-21T14:26:16.426Z] Step 5/8 : RUN apk add --no-cache make git [2020-04-21T14:26:16.426Z] ---> Running in dacac9324415 [2020-04-21T14:26:17.012Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T14:26:17.813Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-21T14:26:17.813Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-21T14:26:17.813Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-21T14:26:17.813Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.019s coverage: 21.9% of statements [2020-04-21T14:26:18.428Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T14:26:19.392Z] OK: 125 MiB in 39 packages [2020-04-21T14:26:20.812Z] Removing intermediate container dacac9324415 [2020-04-21T14:26:20.812Z] ---> 1cd22691c657 [2020-04-21T14:26:20.812Z] Step 6/8 : WORKDIR /device-sdk-go [2020-04-21T14:26:20.812Z] ---> Running in cc2f43127c1b [2020-04-21T14:26:21.082Z] Removing intermediate container cc2f43127c1b [2020-04-21T14:26:21.082Z] ---> 0dbc8f3d36db [2020-04-21T14:26:21.082Z] Step 7/8 : COPY . . [2020-04-21T14:26:22.497Z] ---> 076c6e30b0b5 [2020-04-21T14:26:22.497Z] Step 8/8 : RUN go mod download [2020-04-21T14:26:22.497Z] ---> Running in 947b5e74e4a4 [2020-04-21T14:26:23.109Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.044s coverage: 95.8% of statements [2020-04-21T14:26:24.447Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T14:26:24.447Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T14:26:24.447Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T14:26:24.447Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T14:26:24.447Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T14:26:24.447Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T14:26:24.447Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T14:26:24.447Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T14:26:24.447Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T14:26:24.447Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T14:26:24.447Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T14:26:24.447Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T14:26:24.447Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T14:26:24.447Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T14:26:24.447Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T14:26:24.447Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T14:26:24.447Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T14:26:24.447Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T14:26:24.447Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T14:26:24.447Z] go: finding github.com/google/uuid v1.1.0 [2020-04-21T14:26:24.447Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T14:26:24.447Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T14:26:24.447Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T14:26:24.447Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T14:26:24.447Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T14:26:24.447Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T14:26:24.447Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T14:26:24.447Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T14:26:24.448Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T14:26:24.448Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-21T14:26:24.448Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T14:26:24.448Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T14:26:24.448Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T14:26:24.714Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-21T14:26:24.714Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T14:26:24.714Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T14:26:24.714Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T14:26:24.714Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T14:26:24.714Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T14:26:24.714Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T14:26:24.714Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T14:26:24.714Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-21T14:26:24.714Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T14:26:24.714Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T14:26:24.714Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T14:26:24.714Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-21T14:26:24.714Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T14:26:24.714Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T14:26:24.714Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T14:26:24.714Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T14:26:24.714Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T14:26:24.714Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T14:26:24.714Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T14:26:24.714Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T14:26:24.714Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T14:26:24.714Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T14:26:24.714Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-21T14:26:24.714Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T14:26:24.714Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T14:26:24.714Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T14:26:24.990Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T14:26:24.990Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T14:26:24.990Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T14:26:24.990Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-21T14:26:24.990Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T14:26:24.990Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T14:26:24.990Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T14:26:24.990Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T14:26:35.098Z] Removing intermediate container 947b5e74e4a4 [2020-04-21T14:26:35.098Z] ---> 2ea00b75277c [2020-04-21T14:26:35.098Z] Successfully built 2ea00b75277c [2020-04-21T14:26:35.098Z] 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-21T14:26:35.768Z] + docker inspect -f . ci-base-image-arm64 [2020-04-21T14:26:35.768Z] . [Pipeline] withDockerContainer [2020-04-21T14:26:36.378Z] prd-ubuntu18.04-docker-arm64-4c-16g-5249 does not seem to be running inside a container [2020-04-21T14:26:36.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-21T14:26:38.109Z] $ docker top a365be449d3723232d04e8d109566b2055eb85ccca1a469369b157e6b4fbaa43 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T14:26:39.170Z] + go version [2020-04-21T14:26:39.170Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-21T14:26:39.833Z] + make test [2020-04-21T14:26:39.833Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-04-21T14:26:41.247Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-04-21T14:26:55.219Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.023s coverage: 11.4% of statements [2020-04-21T14:26:55.219Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.009s coverage: 21.7% of statements [2020-04-21T14:26:55.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-21T14:26:55.219Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.760s coverage: 36.9% of statements [2020-04-21T14:26:55.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-21T14:26:55.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-21T14:26:55.219Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.593s coverage: 65.2% of statements [2020-04-21T14:26:55.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-21T14:26:55.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-21T14:26:55.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-21T14:26:55.219Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.028s coverage: 52.6% of statements [2020-04-21T14:26:55.219Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-21T14:26:55.219Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.100s coverage: 68.9% of statements [2020-04-21T14:26:55.219Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-21T14:26:55.219Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-21T14:26:55.219Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T14:26:55.219Z] gofmt -l . [2020-04-21T14:26:55.219Z] [ "`gofmt -l .`" = "" ] [2020-04-21T14:26:55.219Z] ./bin/test-attribution-txt.sh [2020-04-21T14:26:55.219Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T14:26:55.915Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T14:26:55.920Z] $ docker stop --time=1 fb72e57ec121443b117b638ee8ad66c7d18ae9173e9f084b7302623afee5139b [2020-04-21T14:26:57.362Z] $ docker rm -f fb72e57ec121443b117b638ee8ad66c7d18ae9173e9f084b7302623afee5139b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T14:26:58.678Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T14:26:58.965Z] + ls -al . [2020-04-21T14:26:58.965Z] total 176 [2020-04-21T14:26:58.965Z] drwxrwxr-x. 11 jenkins jenkins 4096 Apr 21 14:26 . [2020-04-21T14:26:58.965Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 21 14:25 .. [2020-04-21T14:26:58.965Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 14:25 api [2020-04-21T14:26:58.965Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 21 14:25 bin [2020-04-21T14:26:58.965Z] -rw-r--r--. 1 jenkins jenkins 110966 Apr 21 14:26 coverage.out [2020-04-21T14:26:58.966Z] -rw-rw-r--. 1 jenkins jenkins 936 Apr 21 14:25 Dockerfile.build [2020-04-21T14:26:58.966Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 14:25 .dockerignore [2020-04-21T14:26:58.966Z] drwxrwxr-x. 4 jenkins jenkins 48 Apr 21 14:25 example [2020-04-21T14:26:58.966Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 14:25 .git [2020-04-21T14:26:58.966Z] drwxrwxr-x. 2 jenkins jenkins 38 Apr 21 14:25 .github [2020-04-21T14:26:58.966Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 21 14:25 .gitignore [2020-04-21T14:26:58.966Z] -rw-r--r--. 1 jenkins jenkins 446 Apr 21 14:26 go.mod [2020-04-21T14:26:58.966Z] -rw-r--r--. 1 jenkins jenkins 12076 Apr 21 14:26 go.sum [2020-04-21T14:26:58.966Z] drwxrwxr-x. 15 jenkins jenkins 217 Apr 21 14:25 internal [2020-04-21T14:26:58.966Z] -rw-rw-r--. 1 jenkins jenkins 808 Apr 21 14:25 Jenkinsfile [2020-04-21T14:26:58.966Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 21 14:25 LICENSE [2020-04-21T14:26:58.966Z] -rw-rw-r--. 1 jenkins jenkins 892 Apr 21 14:25 Makefile [2020-04-21T14:26:58.966Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 21 14:25 pkg [2020-04-21T14:26:58.966Z] -rw-rw-r--. 1 jenkins jenkins 2249 Apr 21 14:25 README.md [2020-04-21T14:26:58.966Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 21 14:25 .semver [2020-04-21T14:26:58.966Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 14:25 snap [2020-04-21T14:26:58.966Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 14:23 VERSION [2020-04-21T14:26:58.966Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 21 14:25 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:26:59.272Z] + 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=3988dfef7ce44ebf982d0bd350c905d90fbbd27f --label arch=amd64 --label version=0.0.0 . [2020-04-21T14:26:59.532Z] Sending build context to Docker daemon 3.121MB [2020-04-21T14:26:59.532Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-21T14:26:59.532Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-21T14:26:59.532Z] ---> f66ddb8d5cf8 [2020-04-21T14:26:59.532Z] Step 3/21 : ARG MAKE='make build' [2020-04-21T14:26:59.532Z] ---> Running in 83c18a152e20 [2020-04-21T14:26:59.532Z] Removing intermediate container 83c18a152e20 [2020-04-21T14:26:59.532Z] ---> 4db0cfa63c85 [2020-04-21T14:26:59.532Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-21T14:26:59.791Z] ---> Running in 9ddbda752b5b [2020-04-21T14:26:59.791Z] Removing intermediate container 9ddbda752b5b [2020-04-21T14:26:59.791Z] ---> 3b5314a02ee7 [2020-04-21T14:26:59.791Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T14:26:59.791Z] ---> Running in f814b9e1819b [2020-04-21T14:27:00.052Z] Removing intermediate container f814b9e1819b [2020-04-21T14:27:00.052Z] ---> 4e415f31a4f0 [2020-04-21T14:27:00.052Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T14:27:00.052Z] ---> Running in 487a0b401e1d [2020-04-21T14:27:00.991Z] Removing intermediate container 487a0b401e1d [2020-04-21T14:27:00.991Z] ---> fe7e3bf69f82 [2020-04-21T14:27:00.991Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-21T14:27:00.991Z] ---> Running in 7b3c26e850c1 [2020-04-21T14:27:01.254Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T14:27:02.631Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T14:27:03.201Z] OK: 143 MiB in 39 packages [2020-04-21T14:27:03.459Z] Removing intermediate container 7b3c26e850c1 [2020-04-21T14:27:03.459Z] ---> a16279fc7f5b [2020-04-21T14:27:03.459Z] Step 8/21 : COPY . . [2020-04-21T14:27:04.026Z] ---> 948b8c55e005 [2020-04-21T14:27:04.026Z] Step 9/21 : RUN ${MAKE} [2020-04-21T14:27:04.026Z] ---> Running in 14a2b213853f [2020-04-21T14:27:04.285Z] 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-21T14:27:07.974Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-04-21T14:27:07.974Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-04-21T14:27:07.974Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-04-21T14:27:09.953Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.016s coverage: 21.9% of statements [2020-04-21T14:27:10.241Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.315s coverage: 95.8% of statements [2020-04-21T14:27:12.472Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-21T14:27:12.731Z] Removing intermediate container 14a2b213853f [2020-04-21T14:27:12.731Z] ---> fe02d60dd15e [2020-04-21T14:27:12.731Z] Step 10/21 : FROM scratch [2020-04-21T14:27:12.731Z] ---> [2020-04-21T14:27:12.731Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T14:27:12.731Z] ---> Running in e564f0f2473c [2020-04-21T14:27:12.990Z] Removing intermediate container e564f0f2473c [2020-04-21T14:27:12.990Z] ---> 2fcba496171b [2020-04-21T14:27:12.990Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-21T14:27:12.990Z] ---> Running in 483610c58e56 [2020-04-21T14:27:12.990Z] Removing intermediate container 483610c58e56 [2020-04-21T14:27:12.990Z] ---> 473f202bf1ef [2020-04-21T14:27:12.990Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-21T14:27:12.990Z] ---> Running in 9d4bc5d46ca2 [2020-04-21T14:27:13.252Z] Removing intermediate container 9d4bc5d46ca2 [2020-04-21T14:27:13.252Z] ---> 6b1714396bdb [2020-04-21T14:27:13.252Z] Step 14/21 : WORKDIR / [2020-04-21T14:27:13.252Z] ---> Running in 2003e74306d1 [2020-04-21T14:27:13.252Z] Removing intermediate container 2003e74306d1 [2020-04-21T14:27:13.252Z] ---> 947b89fdc3d6 [2020-04-21T14:27:13.252Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-21T14:27:14.630Z] ---> 47c654fd2065 [2020-04-21T14:27:14.630Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-21T14:27:14.630Z] ---> eccba28a11e6 [2020-04-21T14:27:14.630Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-21T14:27:14.630Z] ---> a77534aa6b21 [2020-04-21T14:27:14.630Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-21T14:27:14.889Z] ---> Running in f45aa2457a35 [2020-04-21T14:27:14.889Z] Removing intermediate container f45aa2457a35 [2020-04-21T14:27:14.889Z] ---> 69e1949da67c [2020-04-21T14:27:14.889Z] Step 19/21 : LABEL arch=amd64 [2020-04-21T14:27:14.889Z] ---> Running in 3fc46efaa826 [2020-04-21T14:27:15.148Z] Removing intermediate container 3fc46efaa826 [2020-04-21T14:27:15.148Z] ---> e20856ce52ce [2020-04-21T14:27:15.148Z] Step 20/21 : LABEL git_sha=3988dfef7ce44ebf982d0bd350c905d90fbbd27f [2020-04-21T14:27:15.148Z] ---> Running in 36be56fefa2e [2020-04-21T14:27:15.148Z] Removing intermediate container 36be56fefa2e [2020-04-21T14:27:15.148Z] ---> 139e554493cc [2020-04-21T14:27:15.148Z] Step 21/21 : LABEL version=0.0.0 [2020-04-21T14:27:15.407Z] ---> Running in 29b3ceba057e [2020-04-21T14:27:15.407Z] Removing intermediate container 29b3ceba057e [2020-04-21T14:27:15.407Z] ---> 978b7f4ce385 [2020-04-21T14:27:15.407Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T14:27:15.407Z] Successfully built 978b7f4ce385 [2020-04-21T14:27:15.407Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-21T14:27:42.498Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.041s coverage: 11.4% of statements [2020-04-21T14:27:42.498Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.058s coverage: 21.7% of statements [2020-04-21T14:27:42.498Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-04-21T14:27:42.498Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.147s coverage: 36.9% of statements [2020-04-21T14:27:42.498Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-04-21T14:27:42.498Z] ? github.com/edgexfoundry/device-sdk-go/internal/endpoint [no test files] [2020-04-21T14:27:42.498Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.504s coverage: 65.2% of statements [2020-04-21T14:27:42.498Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-04-21T14:27:42.498Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-04-21T14:27:42.498Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-04-21T14:27:42.498Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.038s coverage: 52.6% of statements [2020-04-21T14:27:42.498Z] ? github.com/edgexfoundry/device-sdk-go/internal/urlclient [no test files] [2020-04-21T14:27:42.498Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.332s coverage: 68.9% of statements [2020-04-21T14:27:42.498Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-04-21T14:27:42.498Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-04-21T14:27:42.498Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T14:27:47.879Z] gofmt -l . [2020-04-21T14:27:47.879Z] [ "`gofmt -l .`" = "" ] [2020-04-21T14:27:48.464Z] ./bin/test-attribution-txt.sh [2020-04-21T14:27:49.055Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T14:27:49.657Z] Warning: overwriting stash ‘coverage-report’ [2020-04-21T14:27:50.127Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T14:27:50.134Z] $ docker stop --time=1 a365be449d3723232d04e8d109566b2055eb85ccca1a469369b157e6b4fbaa43 [2020-04-21T14:27:52.400Z] $ docker rm -f a365be449d3723232d04e8d109566b2055eb85ccca1a469369b157e6b4fbaa43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T14:27:53.622Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T14:27:53.953Z] + ls -al . [2020-04-21T14:27:53.953Z] total 216 [2020-04-21T14:27:53.953Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 21 14:27 . [2020-04-21T14:27:53.953Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 14:25 .. [2020-04-21T14:27:53.953Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 14:25 .dockerignore [2020-04-21T14:27:53.953Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 14:25 .git [2020-04-21T14:27:53.953Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 14:25 .github [2020-04-21T14:27:53.953Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 21 14:25 .gitignore [2020-04-21T14:27:53.953Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 14:25 .semver [2020-04-21T14:27:53.953Z] -rw-rw-r-- 1 jenkins jenkins 936 Apr 21 14:25 Dockerfile.build [2020-04-21T14:27:53.953Z] -rw-rw-r-- 1 jenkins jenkins 808 Apr 21 14:25 Jenkinsfile [2020-04-21T14:27:53.954Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 14:25 LICENSE [2020-04-21T14:27:53.954Z] -rw-rw-r-- 1 jenkins jenkins 892 Apr 21 14:25 Makefile [2020-04-21T14:27:53.954Z] -rw-rw-r-- 1 jenkins jenkins 2249 Apr 21 14:25 README.md [2020-04-21T14:27:53.954Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 14:23 VERSION [2020-04-21T14:27:53.954Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 14:25 api [2020-04-21T14:27:53.954Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 14:25 bin [2020-04-21T14:27:53.954Z] -rw-r--r-- 1 jenkins jenkins 110966 Apr 21 14:27 coverage.out [2020-04-21T14:27:53.954Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 14:25 example [2020-04-21T14:27:53.954Z] -rw-r--r-- 1 jenkins jenkins 446 Apr 21 14:27 go.mod [2020-04-21T14:27:53.954Z] -rw-r--r-- 1 jenkins jenkins 12076 Apr 21 14:27 go.sum [2020-04-21T14:27:53.954Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 21 14:25 internal [2020-04-21T14:27:53.954Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 14:25 pkg [2020-04-21T14:27:53.954Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 14:25 snap [2020-04-21T14:27:53.954Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 14:25 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:27:54.370Z] + 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=3988dfef7ce44ebf982d0bd350c905d90fbbd27f --label arch=arm64 --label version=0.0.0 . [2020-04-21T14:27:54.999Z] Sending build context to Docker daemon 3.122MB [2020-04-21T14:27:54.999Z] Step 1/21 : ARG BASE=golang:1.13-alpine [2020-04-21T14:27:54.999Z] Step 2/21 : FROM ${BASE} AS builder [2020-04-21T14:27:54.999Z] ---> 2ea00b75277c [2020-04-21T14:27:54.999Z] Step 3/21 : ARG MAKE='make build' [2020-04-21T14:27:55.267Z] ---> Running in a6253983dd21 [2020-04-21T14:27:55.542Z] Removing intermediate container a6253983dd21 [2020-04-21T14:27:55.542Z] ---> 9bd6a9e804e4 [2020-04-21T14:27:55.542Z] Step 4/21 : WORKDIR /device-sdk-go [2020-04-21T14:27:55.817Z] ---> Running in 862c3514c577 [2020-04-21T14:27:56.086Z] Removing intermediate container 862c3514c577 [2020-04-21T14:27:56.086Z] ---> d09cebe920bd [2020-04-21T14:27:56.086Z] Step 5/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T14:27:56.355Z] ---> Running in 3a91b9f72c87 [2020-04-21T14:27:56.623Z] Removing intermediate container 3a91b9f72c87 [2020-04-21T14:27:56.623Z] ---> c325115328c0 [2020-04-21T14:27:56.623Z] Step 6/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T14:27:56.905Z] ---> Running in c5e5023e89d3 [2020-04-21T14:27:58.877Z] Removing intermediate container c5e5023e89d3 [2020-04-21T14:27:58.877Z] ---> 92fc3d033399 [2020-04-21T14:27:58.877Z] Step 7/21 : RUN apk add --update --no-cache make git [2020-04-21T14:27:58.877Z] ---> Running in a03d8da31983 [2020-04-21T14:27:59.868Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T14:28:00.849Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T14:28:01.816Z] OK: 125 MiB in 39 packages [2020-04-21T14:28:02.779Z] Removing intermediate container a03d8da31983 [2020-04-21T14:28:02.779Z] ---> 9f99fa83f6fe [2020-04-21T14:28:02.779Z] Step 8/21 : COPY . . [2020-04-21T14:28:03.748Z] ---> cf6d3ce26cdd [2020-04-21T14:28:03.748Z] Step 9/21 : RUN ${MAKE} [2020-04-21T14:28:04.017Z] ---> Running in b4030932a9b8 [2020-04-21T14:28:04.984Z] 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-21T14:28:31.712Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-04-21T14:28:31.713Z] Removing intermediate container b4030932a9b8 [2020-04-21T14:28:31.713Z] ---> 69ddfc372970 [2020-04-21T14:28:31.713Z] Step 10/21 : FROM scratch [2020-04-21T14:28:31.713Z] ---> [2020-04-21T14:28:31.713Z] Step 11/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-04-21T14:28:31.713Z] ---> Running in 4ccda3398565 [2020-04-21T14:28:31.713Z] Removing intermediate container 4ccda3398565 [2020-04-21T14:28:31.713Z] ---> e5df40893d5d [2020-04-21T14:28:31.713Z] Step 12/21 : ENV APP_PORT=49990 [2020-04-21T14:28:31.713Z] ---> Running in 02854c37a12d [2020-04-21T14:28:31.713Z] Removing intermediate container 02854c37a12d [2020-04-21T14:28:31.713Z] ---> 30e2147a6b75 [2020-04-21T14:28:31.713Z] Step 13/21 : EXPOSE $APP_PORT [2020-04-21T14:28:31.713Z] ---> Running in b7723c80b63e [2020-04-21T14:28:32.297Z] Removing intermediate container b7723c80b63e [2020-04-21T14:28:32.297Z] ---> 2cda8df0cec2 [2020-04-21T14:28:32.297Z] Step 14/21 : WORKDIR / [2020-04-21T14:28:32.297Z] ---> Running in 445593c08653 [2020-04-21T14:28:32.565Z] Removing intermediate container 445593c08653 [2020-04-21T14:28:32.565Z] ---> cee5d5c25e69 [2020-04-21T14:28:32.565Z] Step 15/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-04-21T14:28:33.529Z] ---> 928d55c90d89 [2020-04-21T14:28:33.529Z] Step 16/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-04-21T14:28:34.121Z] ---> 2bc49c514530 [2020-04-21T14:28:34.121Z] Step 17/21 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-04-21T14:28:34.706Z] ---> bf8b621c7c38 [2020-04-21T14:28:34.706Z] Step 18/21 : CMD [ "/usr/local/bin/device-simple","-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-04-21T14:28:34.974Z] ---> Running in ce7e92562335 [2020-04-21T14:28:35.242Z] Removing intermediate container ce7e92562335 [2020-04-21T14:28:35.242Z] ---> 5d9a3b358420 [2020-04-21T14:28:35.242Z] Step 19/21 : LABEL arch=arm64 [2020-04-21T14:28:35.242Z] ---> Running in 317b5bfa138d [2020-04-21T14:28:35.824Z] Removing intermediate container 317b5bfa138d [2020-04-21T14:28:35.824Z] ---> a067b06c419b [2020-04-21T14:28:35.824Z] Step 20/21 : LABEL git_sha=3988dfef7ce44ebf982d0bd350c905d90fbbd27f [2020-04-21T14:28:35.824Z] ---> Running in c105b4479252 [2020-04-21T14:28:36.092Z] Removing intermediate container c105b4479252 [2020-04-21T14:28:36.092Z] ---> 1660929ce77f [2020-04-21T14:28:36.092Z] Step 21/21 : LABEL version=0.0.0 [2020-04-21T14:28:36.358Z] ---> Running in 95f7b91d67e6 [2020-04-21T14:28:36.626Z] Removing intermediate container 95f7b91d67e6 [2020-04-21T14:28:36.626Z] ---> ff53b39404d1 [2020-04-21T14:28:36.626Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T14:28:36.626Z] Successfully built ff53b39404d1 [2020-04-21T14:28:36.626Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-04-21T14:28:38.327Z] provisioning config files... [2020-04-21T14:28:38.341Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/config7216684709965741936tmp [Pipeline] { [Pipeline] sh [2020-04-21T14:28:38.689Z] + curl -s https://codecov.io/bash [2020-04-21T14:28:38.690Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/config7216684709965741936tmp [2020-04-21T14:28:38.966Z] [2020-04-21T14:28:38.966Z] _____ _ [2020-04-21T14:28:38.966Z] / ____| | | [2020-04-21T14:28:38.966Z] | | ___ __| | ___ ___ _____ __ [2020-04-21T14:28:38.966Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-21T14:28:38.966Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-21T14:28:38.966Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-21T14:28:38.966Z] Bash-tbd [2020-04-21T14:28:38.966Z] [2020-04-21T14:28:38.966Z] [2020-04-21T14:28:38.966Z] ==> Jenkins CI detected. [2020-04-21T14:28:38.966Z] project root: . [2020-04-21T14:28:38.966Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-21T14:28:38.966Z] ==> Running gcov in . (disable via -X gcov) [2020-04-21T14:28:38.966Z] ==> Python coveragepy not found [2020-04-21T14:28:38.966Z] ==> Searching for coverage reports in: [2020-04-21T14:28:38.966Z] + . [2020-04-21T14:28:38.966Z] -> Found 1 reports [2020-04-21T14:28:38.966Z] ==> Detecting git/mercurial file structure [2020-04-21T14:28:38.966Z] ==> Reading reports [2020-04-21T14:28:38.966Z] + ./coverage.out bytes=110966 [2020-04-21T14:28:38.966Z] ==> Appending adjustments [2020-04-21T14:28:38.966Z] http://docs.codecov.io/docs/fixing-reports [2020-04-21T14:28:39.546Z] + Found adjustments [2020-04-21T14:28:39.546Z] ==> Gzipping contents [2020-04-21T14:28:39.546Z] ==> Uploading reports [2020-04-21T14:28:39.546Z] url: https://codecov.io [2020-04-21T14:28:39.546Z] query: branch=PR-499&commit=3988dfef7ce44ebf982d0bd350c905d90fbbd27f&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-499%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=499&job= [2020-04-21T14:28:39.546Z] -> Pinging Codecov [2020-04-21T14:28:39.546Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-499&commit=3988dfef7ce44ebf982d0bd350c905d90fbbd27f&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-499%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=499&job= [2020-04-21T14:28:40.114Z] -> Uploading [2020-04-21T14:28:40.684Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3988dfef7ce44ebf982d0bd350c905d90fbbd27f [Pipeline] } [2020-04-21T14:28:40.690Z] 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-21T14:28:41.954Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T14:28:42.263Z] ---> package-listing.sh [2020-04-21T14:28:42.263Z] ++ facter osfamily [2020-04-21T14:28:42.263Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-21T14:28:42.263Z] + OS_FAMILY=redhat [2020-04-21T14:28:42.263Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-499 [2020-04-21T14:28:42.263Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-21T14:28:42.263Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-21T14:28:42.263Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-21T14:28:42.263Z] + PACKAGES=/tmp/packages_start.txt [2020-04-21T14:28:42.263Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-499 ']' [2020-04-21T14:28:42.263Z] + PACKAGES=/tmp/packages_end.txt [2020-04-21T14:28:42.263Z] + case "${OS_FAMILY}" in [2020-04-21T14:28:42.263Z] + rpm -qa [2020-04-21T14:28:42.263Z] + sort [2020-04-21T14:28:46.464Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-21T14:28:46.464Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-21T14:28:46.464Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-21T14:28:46.464Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-499 ']' [2020-04-21T14:28:46.464Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-499/archives/ [2020-04-21T14:28:46.464Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-499/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:28:46.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T14:28:46.969Z] [2020-04-21T14:28:46.969Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-21T14:28:47.307Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T14:28:47.307Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-21T14:28:47.307Z] c9b1b535fdd9: Pulling fs layer [2020-04-21T14:28:47.307Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-21T14:28:47.307Z] 756a868c4378: Pulling fs layer [2020-04-21T14:28:47.307Z] 444b2fc9a129: Pulling fs layer [2020-04-21T14:28:47.307Z] ea15f1150254: Pulling fs layer [2020-04-21T14:28:47.307Z] 41b27a9f41bf: Pulling fs layer [2020-04-21T14:28:47.307Z] 28c525ee5125: Pulling fs layer [2020-04-21T14:28:47.307Z] 094b1ea09ed8: Pulling fs layer [2020-04-21T14:28:47.307Z] 138eaada9080: Pulling fs layer [2020-04-21T14:28:47.307Z] 0622d0fa9048: Pulling fs layer [2020-04-21T14:28:47.307Z] 444b2fc9a129: Waiting [2020-04-21T14:28:47.307Z] ea15f1150254: Waiting [2020-04-21T14:28:47.307Z] 41b27a9f41bf: Waiting [2020-04-21T14:28:47.307Z] 094b1ea09ed8: Waiting [2020-04-21T14:28:47.307Z] 138eaada9080: Waiting [2020-04-21T14:28:47.307Z] 0622d0fa9048: Waiting [2020-04-21T14:28:47.307Z] 28c525ee5125: Waiting [2020-04-21T14:28:47.307Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-21T14:28:47.307Z] 2cc5ad85d9ab: Download complete [2020-04-21T14:28:47.307Z] 444b2fc9a129: Verifying Checksum [2020-04-21T14:28:47.307Z] 444b2fc9a129: Download complete [2020-04-21T14:28:47.578Z] c9b1b535fdd9: Verifying Checksum [2020-04-21T14:28:47.578Z] c9b1b535fdd9: Download complete [2020-04-21T14:28:47.578Z] ea15f1150254: Verifying Checksum [2020-04-21T14:28:47.578Z] ea15f1150254: Download complete [2020-04-21T14:28:47.578Z] 28c525ee5125: Verifying Checksum [2020-04-21T14:28:47.578Z] 28c525ee5125: Download complete [2020-04-21T14:28:48.171Z] 756a868c4378: Verifying Checksum [2020-04-21T14:28:48.171Z] 756a868c4378: Download complete [2020-04-21T14:28:48.171Z] c9b1b535fdd9: Pull complete [2020-04-21T14:28:48.171Z] 138eaada9080: Verifying Checksum [2020-04-21T14:28:48.171Z] 138eaada9080: Download complete [2020-04-21T14:28:48.452Z] 2cc5ad85d9ab: Pull complete [2020-04-21T14:28:48.452Z] 094b1ea09ed8: Verifying Checksum [2020-04-21T14:28:48.452Z] 094b1ea09ed8: Download complete [2020-04-21T14:28:48.452Z] 0622d0fa9048: Download complete [2020-04-21T14:28:48.721Z] 41b27a9f41bf: Verifying Checksum [2020-04-21T14:28:48.721Z] 41b27a9f41bf: Download complete [2020-04-21T14:28:50.644Z] 756a868c4378: Pull complete [2020-04-21T14:28:50.644Z] 444b2fc9a129: Pull complete [2020-04-21T14:28:50.909Z] ea15f1150254: Pull complete [2020-04-21T14:28:54.221Z] 41b27a9f41bf: Pull complete [2020-04-21T14:28:54.221Z] 28c525ee5125: Pull complete [2020-04-21T14:28:56.777Z] 094b1ea09ed8: Pull complete [2020-04-21T14:28:56.777Z] 138eaada9080: Pull complete [2020-04-21T14:28:57.037Z] 0622d0fa9048: Pull complete [2020-04-21T14:28:57.037Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-21T14:28:57.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-21T14:28:57.218Z] prd-centos7-docker-4c-2g-5248 does not seem to be running inside a container [2020-04-21T14:28:57.264Z] $ 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-499 -v /w/workspace/dgexfoundry_device-sdk-go_PR-499:/w/workspace/dgexfoundry_device-sdk-go_PR-499:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-21T14:28:58.338Z] $ docker top d530710b6a524006f501bad1e6424cb1d9183404f5f5367d6ed3187a3ebe9951 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-21T14:28:58.567Z] provisioning config files... [2020-04-21T14:28:58.583Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-499@tmp/config411592564775387683tmp [Pipeline] { [Pipeline] echo [2020-04-21T14:28:58.645Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T14:28:58.939Z] ---> create-netrc.sh [Pipeline] echo [2020-04-21T14:28:58.946Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T14:28:59.236Z] ---> logs-deploy.sh [2020-04-21T14:28:59.236Z] + ARCHIVE_ARTIFACTS= [2020-04-21T14:28:59.236Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-21T14:28:59.236Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-21T14:28:59.236Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-21T14:28:59.236Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-499/4 [2020-04-21T14:28:59.236Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-499/4/ [2020-04-21T14:28:59.236Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-499/4 /w/workspace/dgexfoundry_device-sdk-go_PR-499 [2020-04-21T14:29:00.190Z] Archives upload complete. [2020-04-21T14:29:00.450Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-499/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-sdk-go/job/PR-499/4/