Pull request #27 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7d0190bac6d521c21ea040cca4b330e46259f9ee+b106d00ae92e946d2103bc6c1464522635373c7b (e70edde7d9d58c077780e3ee22968427cec27225) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [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-rest-go-settings PROJECT: device-rest-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true 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 ‘prd-centos7-docker-4c-2g-4049’ is offline Running on prd-centos7-docker-4c-2g-4051 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [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-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-27 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 7d0190bac6d521c21ea040cca4b330e46259f9ee > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # 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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d0190bac6d521c21ea040cca4b330e46259f9ee # timeout=10 Merge succeeded, producing 211448c824968b5a705ab85d9bd1fa2393a65460 Checking out Revision 211448c824968b5a705ab85d9bd1fa2393a65460 (PR-27) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 211448c824968b5a705ab85d9bd1fa2393a65460 # timeout=10 Commit message: "Merge commit 'b106d00ae92e946d2103bc6c1464522635373c7b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-23T01:23:49.812Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-23T01:23:49.925Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-23T01:23:49.963Z] ========================================================= [2020-06-23T01:23:49.963Z] EdgeX Global Pipelines Version Info [2020-06-23T01:23:49.963Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 8e8a274c2051a48e8760f01859ec05b7de79ef6e # timeout=10 [2020-06-23T01:23:52.108Z] ------------------- [2020-06-23T01:23:52.108Z] stable info: [2020-06-23T01:23:52.108Z] ------------------- [2020-06-23T01:23:52.108Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-23T01:23:52.108Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-23T01:23:52.108Z] Message: update stable to v1.0.89 [2020-06-23T01:23:53.092Z] ------------------- [2020-06-23T01:23:53.092Z] experimental info: [2020-06-23T01:23:53.092Z] ------------------- [2020-06-23T01:23:53.092Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-23T01:23:53.092Z] Commit SHA: aa323fb5dfebb31640c35badf05a5a9beff52318 [2020-06-23T01:23:53.092Z] Message: update experimental to v1.0.90 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-06-23T01:23:54.422Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-23T01:23:54.999Z] [2020-06-23T01:23:54.999Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-23T01:23:55.352Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-23T01:23:55.631Z] latest: Pulling from edgex-devops/git-semver [2020-06-23T01:23:55.631Z] 9123ac7c32f7: Pulling fs layer [2020-06-23T01:23:55.631Z] b8cc5d1170e3: Pulling fs layer [2020-06-23T01:23:55.631Z] 2924cbbf6a41: Pulling fs layer [2020-06-23T01:23:55.631Z] 93b08a4f1073: Pulling fs layer [2020-06-23T01:23:55.631Z] 93b08a4f1073: Waiting [2020-06-23T01:23:55.631Z] b8cc5d1170e3: Download complete [2020-06-23T01:23:55.631Z] 9123ac7c32f7: Verifying Checksum [2020-06-23T01:23:55.631Z] 9123ac7c32f7: Download complete [2020-06-23T01:23:55.631Z] 93b08a4f1073: Verifying Checksum [2020-06-23T01:23:55.631Z] 93b08a4f1073: Download complete [2020-06-23T01:23:55.631Z] 2924cbbf6a41: Verifying Checksum [2020-06-23T01:23:55.631Z] 2924cbbf6a41: Download complete [2020-06-23T01:23:56.226Z] 9123ac7c32f7: Pull complete [2020-06-23T01:23:56.226Z] b8cc5d1170e3: Pull complete [2020-06-23T01:23:58.221Z] 2924cbbf6a41: Pull complete [2020-06-23T01:23:58.221Z] 93b08a4f1073: Pull complete [2020-06-23T01:23:58.495Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-23T01:23:58.495Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-23T01:23:58.495Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-23T01:23:58.803Z] prd-centos7-docker-4c-2g-4051 does not seem to be running inside a container [2020-06-23T01:23:58.919Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-27 -v /w/workspace/dgexfoundry_device-rest-go_PR-27:/w/workspace/dgexfoundry_device-rest-go_PR-27:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-27@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-23T01:24:01.058Z] $ docker top e4b1238be84bc90ac69c21cdf885d2c31951979a699201b47a09a514994dff0e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-23T01:24:01.334Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-23T01:24:01.334Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-23T01:24:01.712Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-23T01:24:01.722Z] $ docker exec e4b1238be84bc90ac69c21cdf885d2c31951979a699201b47a09a514994dff0e ssh-agent [2020-06-23T01:24:02.073Z] SSH_AUTH_SOCK=/tmp/ssh-YmGLLPCj9lIJ/agent.11 [2020-06-23T01:24:02.073Z] SSH_AGENT_PID=16 [2020-06-23T01:24:02.090Z] Running ssh-add (command line suppressed) [2020-06-23T01:24:02.279Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_5137945023272661019.key (/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_5137945023272661019.key) [2020-06-23T01:24:02.362Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-23T01:24:02.737Z] + git describe --exact-match --tags HEAD [2020-06-23T01:24:02.737Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-23T01:24:02.904Z] $ docker exec --env ******** --env ******** e4b1238be84bc90ac69c21cdf885d2c31951979a699201b47a09a514994dff0e ssh-agent -k [2020-06-23T01:24:03.156Z] unset SSH_AUTH_SOCK; [2020-06-23T01:24:03.157Z] unset SSH_AGENT_PID; [2020-06-23T01:24:03.157Z] echo Agent pid 16 killed; [2020-06-23T01:24:03.271Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-23T01:24:03.335Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-23T01:24:03.335Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-23T01:24:03.383Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-23T01:24:03.383Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-23T01:24:03.622Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-23T01:24:03.632Z] $ docker exec e4b1238be84bc90ac69c21cdf885d2c31951979a699201b47a09a514994dff0e ssh-agent [2020-06-23T01:24:03.841Z] SSH_AUTH_SOCK=/tmp/ssh-dxBjBE5HP4YH/agent.45 [2020-06-23T01:24:03.842Z] SSH_AGENT_PID=51 [2020-06-23T01:24:03.851Z] Running ssh-add (command line suppressed) [2020-06-23T01:24:04.009Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_5739023971324720968.key (/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/private_key_5739023971324720968.key) [2020-06-23T01:24:04.065Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-23T01:24:04.381Z] + git semver init [2020-06-23T01:24:04.381Z] # -> Open(): unable to determine branch for HEAD [2020-06-23T01:24:04.381Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-27/.git [2020-06-23T01:24:04.381Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-27 [2020-06-23T01:24:04.381Z] # $SEMVER_REMOTE_NAME = origin [2020-06-23T01:24:04.381Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-23T01:24:04.381Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-23T01:24:04.381Z] # $SEMVER_BRANCH = PR-27 [2020-06-23T01:24:04.381Z] # $SEMVER_TEMP = /tmp/semver-130198276 [2020-06-23T01:24:04.381Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-06-23T01:24:05.854Z] # '/tmp/semver-130198276' -> '/w/workspace/dgexfoundry_device-rest-go_PR-27/.semver' [2020-06-23T01:24:05.854Z] # -> Force: false [2020-06-23T01:24:05.854Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-27/.semver [Pipeline] } [2020-06-23T01:24:05.881Z] $ docker exec --env ******** --env ******** e4b1238be84bc90ac69c21cdf885d2c31951979a699201b47a09a514994dff0e ssh-agent -k [2020-06-23T01:24:06.145Z] unset SSH_AUTH_SOCK; [2020-06-23T01:24:06.146Z] unset SSH_AGENT_PID; [2020-06-23T01:24:06.146Z] echo Agent pid 51 killed; [2020-06-23T01:24:06.233Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-23T01:24:06.645Z] + git semver [Pipeline] } [2020-06-23T01:24:06.682Z] $ docker stop --time=1 e4b1238be84bc90ac69c21cdf885d2c31951979a699201b47a09a514994dff0e [2020-06-23T01:24:08.234Z] $ docker rm -f e4b1238be84bc90ac69c21cdf885d2c31951979a699201b47a09a514994dff0e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-23T01:24:10.075Z] Stashed 24 file(s) [Pipeline] echo [2020-06-23T01:24:10.077Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-06-23T01:24:25.233Z] Still waiting to schedule task [2020-06-23T01:24:25.233Z] ‘prd-centos7-docker-4c-2g-4049’ is offline; ‘prd-centos7-docker-4c-2g-4053’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3317’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3513’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3841’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4052’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-06-23T01:24:25.235Z] Still waiting to schedule task [2020-06-23T01:24:25.235Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-06-23T01:25:48.205Z] Running on prd-centos7-docker-4c-2g-4055 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [Pipeline] { [Pipeline] ws [2020-06-23T01:25:48.229Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2020-06-23T01:25:50.815Z] using credential edgex-jenkins-ssh [2020-06-23T01:25:50.842Z] Cloning the remote Git repository [2020-06-23T01:25:50.843Z] Cloning with configured refspecs honoured and without tags [2020-06-23T01:25:50.859Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-06-23T01:25:50.928Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2020-06-23T01:25:50.984Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-23T01:25:50.985Z] > git --version # timeout=10 [2020-06-23T01:25:50.992Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-23T01:25:51.029Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-23T01:25:52.223Z] Fetching without tags [2020-06-23T01:25:52.623Z] Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 7d0190bac6d521c21ea040cca4b330e46259f9ee [2020-06-23T01:25:52.191Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-23T01:25:52.198Z] > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # timeout=10 [2020-06-23T01:25:52.204Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-23T01:25:52.214Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-23T01:25:52.227Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-23T01:25:52.228Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-23T01:25:52.232Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-23T01:25:52.630Z] > git config core.sparsecheckout # timeout=10 [2020-06-23T01:25:52.637Z] > git checkout -f 7d0190bac6d521c21ea040cca4b330e46259f9ee # timeout=10 [2020-06-23T01:25:52.773Z] > git remote # timeout=10 [2020-06-23T01:25:52.778Z] > git config --get remote.origin.url # timeout=10 [2020-06-23T01:25:52.784Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-23T01:25:52.787Z] > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 [2020-06-23T01:25:53.001Z] Merge succeeded, producing 18ea7d8440d4f4803bb27560c70ed08d9f18ffe6 [2020-06-23T01:25:53.001Z] Checking out Revision 18ea7d8440d4f4803bb27560c70ed08d9f18ffe6 (PR-27) [2020-06-23T01:25:52.997Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-23T01:25:53.004Z] > git config core.sparsecheckout # timeout=10 [2020-06-23T01:25:53.008Z] > git checkout -f 18ea7d8440d4f4803bb27560c70ed08d9f18ffe6 # timeout=10 [2020-06-23T01:25:56.802Z] Commit message: "Merge commit 'b106d00ae92e946d2103bc6c1464522635373c7b' into HEAD" [2020-06-23T01:25:56.813Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-23T01:25:57.640Z] ========================================================= [2020-06-23T01:25:57.640Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-06-23T01:25:57.640Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-23T01:25:56.806Z] > git rev-list --no-walk 8e8a274c2051a48e8760f01859ec05b7de79ef6e # timeout=10 [2020-06-23T01:25:58.308Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-06-23T01:25:58.569Z] Sending build context to Docker daemon 23.17MB [2020-06-23T01:25:58.569Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-06-23T01:25:58.569Z] Step 2/10 : FROM ${BASE} [2020-06-23T01:25:58.569Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-06-23T01:25:58.569Z] e6b0cf9c0882: Pulling fs layer [2020-06-23T01:25:58.569Z] 2848faf0eed1: Pulling fs layer [2020-06-23T01:25:58.569Z] 0f37312ad70f: Pulling fs layer [2020-06-23T01:25:58.569Z] 5788d62ee057: Pulling fs layer [2020-06-23T01:25:58.569Z] 0e6b1d234666: Pulling fs layer [2020-06-23T01:25:58.569Z] bf5d7aec512f: Pulling fs layer [2020-06-23T01:25:58.569Z] 34c802a77dc8: Pulling fs layer [2020-06-23T01:25:58.569Z] 9eb99e56ec68: Pulling fs layer [2020-06-23T01:25:58.569Z] 27c7a5d97fbd: Pulling fs layer [2020-06-23T01:25:58.569Z] 5c102a31e300: Pulling fs layer [2020-06-23T01:25:58.569Z] dcfb455df0a1: Pulling fs layer [2020-06-23T01:25:58.569Z] 5788d62ee057: Waiting [2020-06-23T01:25:58.570Z] 0e6b1d234666: Waiting [2020-06-23T01:25:58.570Z] bf5d7aec512f: Waiting [2020-06-23T01:25:58.570Z] 34c802a77dc8: Waiting [2020-06-23T01:25:58.570Z] 9eb99e56ec68: Waiting [2020-06-23T01:25:58.570Z] 27c7a5d97fbd: Waiting [2020-06-23T01:25:58.570Z] 5c102a31e300: Waiting [2020-06-23T01:25:58.570Z] dcfb455df0a1: Waiting [2020-06-23T01:25:58.838Z] 0f37312ad70f: Verifying Checksum [2020-06-23T01:25:58.838Z] 0f37312ad70f: Download complete [2020-06-23T01:25:58.838Z] 2848faf0eed1: Verifying Checksum [2020-06-23T01:25:58.838Z] 2848faf0eed1: Download complete [2020-06-23T01:25:58.838Z] 0e6b1d234666: Verifying Checksum [2020-06-23T01:25:58.838Z] 0e6b1d234666: Download complete [2020-06-23T01:25:58.838Z] bf5d7aec512f: Verifying Checksum [2020-06-23T01:25:58.838Z] bf5d7aec512f: Download complete [2020-06-23T01:25:58.838Z] e6b0cf9c0882: Verifying Checksum [2020-06-23T01:25:58.838Z] e6b0cf9c0882: Download complete [2020-06-23T01:25:59.437Z] 34c802a77dc8: Verifying Checksum [2020-06-23T01:25:59.437Z] 34c802a77dc8: Download complete [2020-06-23T01:25:59.437Z] 27c7a5d97fbd: Verifying Checksum [2020-06-23T01:25:59.437Z] 27c7a5d97fbd: Download complete [2020-06-23T01:26:00.014Z] 5c102a31e300: Verifying Checksum [2020-06-23T01:26:00.014Z] 5c102a31e300: Download complete [2020-06-23T01:26:00.014Z] dcfb455df0a1: Verifying Checksum [2020-06-23T01:26:00.014Z] dcfb455df0a1: Download complete [2020-06-23T01:26:00.014Z] 9eb99e56ec68: Verifying Checksum [2020-06-23T01:26:00.014Z] 9eb99e56ec68: Download complete [2020-06-23T01:26:00.276Z] 5788d62ee057: Verifying Checksum [2020-06-23T01:26:00.276Z] 5788d62ee057: Download complete [2020-06-23T01:26:01.217Z] e6b0cf9c0882: Pull complete [2020-06-23T01:26:01.797Z] 2848faf0eed1: Pull complete [2020-06-23T01:26:01.797Z] 0f37312ad70f: Pull complete [2020-06-23T01:26:07.121Z] 5788d62ee057: Pull complete [2020-06-23T01:26:07.121Z] 0e6b1d234666: Pull complete [2020-06-23T01:26:07.121Z] bf5d7aec512f: Pull complete [2020-06-23T01:26:15.290Z] 34c802a77dc8: Pull complete [2020-06-23T01:26:17.213Z] 9eb99e56ec68: Pull complete [2020-06-23T01:26:17.213Z] 27c7a5d97fbd: Pull complete [2020-06-23T01:26:17.797Z] 5c102a31e300: Pull complete [2020-06-23T01:26:18.058Z] dcfb455df0a1: Pull complete [2020-06-23T01:26:18.058Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-06-23T01:26:18.058Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-06-23T01:26:18.058Z] ---> 7c70fe431013 [2020-06-23T01:26:18.058Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-06-23T01:26:19.974Z] ---> Running in ffccbb013bdb [2020-06-23T01:26:19.974Z] Removing intermediate container ffccbb013bdb [2020-06-23T01:26:19.974Z] ---> 2bb5077a71d9 [2020-06-23T01:26:19.974Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-06-23T01:26:19.974Z] ---> Running in 83bb4c87d066 [2020-06-23T01:26:19.974Z] Removing intermediate container 83bb4c87d066 [2020-06-23T01:26:19.974Z] ---> 69f4957933a3 [2020-06-23T01:26:19.974Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-23T01:26:19.974Z] ---> Running in 46ede3664a64 [2020-06-23T01:26:20.245Z] Removing intermediate container 46ede3664a64 [2020-06-23T01:26:20.245Z] ---> b5114e575402 [2020-06-23T01:26:20.245Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-23T01:26:20.245Z] ---> Running in d99abff48277 [2020-06-23T01:26:21.635Z] Removing intermediate container d99abff48277 [2020-06-23T01:26:21.635Z] ---> d9802742f3a8 [2020-06-23T01:26:21.635Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-23T01:26:21.635Z] ---> Running in 7d613d64c7be [2020-06-23T01:26:22.229Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-23T01:26:22.808Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-23T01:26:23.381Z] OK: 143 MiB in 39 packages [2020-06-23T01:26:23.642Z] Removing intermediate container 7d613d64c7be [2020-06-23T01:26:23.642Z] ---> 1fcb7fa7ad7e [2020-06-23T01:26:23.642Z] Step 8/10 : WORKDIR /device-rest-go [2020-06-23T01:26:23.642Z] ---> Running in 8e386f29ff2b [2020-06-23T01:26:23.901Z] Removing intermediate container 8e386f29ff2b [2020-06-23T01:26:23.901Z] ---> eb7cb2cf0d23 [2020-06-23T01:26:23.901Z] Step 9/10 : COPY . . [2020-06-23T01:26:24.473Z] ---> e450c6f1f6eb [2020-06-23T01:26:24.473Z] Step 10/10 : RUN go mod download [2020-06-23T01:26:24.734Z] ---> Running in be0f8fe117ca [2020-06-23T01:26:26.652Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-23T01:26:26.652Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-23T01:26:26.652Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-23T01:26:26.652Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-23T01:26:26.652Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-23T01:26:26.652Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-23T01:26:26.652Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-23T01:26:26.652Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-23T01:26:26.652Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-23T01:26:26.652Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-23T01:26:26.652Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-23T01:26:26.652Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-23T01:26:26.652Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-23T01:26:26.652Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-23T01:26:26.652Z] go: finding github.com/fatih/color v1.7.0 [2020-06-23T01:26:26.652Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-23T01:26:26.652Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-23T01:26:26.652Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-23T01:26:26.652Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-23T01:26:26.652Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-23T01:26:26.652Z] go: finding github.com/google/uuid v1.1.0 [2020-06-23T01:26:26.652Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-23T01:26:26.652Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-23T01:26:26.652Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-23T01:26:26.652Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-23T01:26:26.652Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-23T01:26:26.652Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-23T01:26:26.652Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-23T01:26:26.652Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-23T01:26:26.912Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-23T01:26:26.912Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-23T01:26:26.912Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-23T01:26:26.912Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-23T01:26:26.912Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-23T01:26:26.912Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-23T01:26:26.912Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-23T01:26:26.912Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-23T01:26:26.912Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-23T01:26:26.912Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-23T01:26:26.912Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-23T01:26:26.912Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-23T01:26:26.912Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-23T01:26:26.912Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-23T01:26:26.912Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-23T01:26:26.912Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-23T01:26:26.912Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-23T01:26:26.912Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-23T01:26:26.912Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-23T01:26:26.912Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-23T01:26:26.912Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-23T01:26:26.912Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-23T01:26:26.912Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-23T01:26:26.912Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-23T01:26:26.912Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-23T01:26:26.912Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-23T01:26:26.912Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-23T01:26:26.912Z] go: finding github.com/posener/complete v1.1.1 [2020-06-23T01:26:26.912Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-23T01:26:26.912Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-23T01:26:26.912Z] go: finding github.com/spf13/cast v1.3.0 [2020-06-23T01:26:26.912Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-23T01:26:26.912Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-23T01:26:26.912Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-23T01:26:26.912Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-23T01:26:27.173Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-23T01:26:27.173Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-23T01:26:27.173Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-23T01:26:27.173Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-23T01:26:27.173Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-23T01:26:27.173Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-23T01:26:33.771Z] Removing intermediate container be0f8fe117ca [2020-06-23T01:26:33.771Z] ---> ec04b442fad1 [2020-06-23T01:26:33.771Z] Successfully built ec04b442fad1 [2020-06-23T01:26:33.771Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-23T01:26:34.278Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-23T01:26:34.278Z] . [Pipeline] withDockerContainer [2020-06-23T01:26:34.369Z] prd-centos7-docker-4c-2g-4055 does not seem to be running inside a container [2020-06-23T01:26:34.422Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-06-23T01:26:35.496Z] $ docker top 8fa7738f20f6ba1ccf8cd9925a14b2aacbca4d52eb8d16585a2969157485fead -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-23T01:26:35.919Z] + go version [2020-06-23T01:26:35.919Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-06-23T01:26:36.216Z] + make test [2020-06-23T01:26:36.216Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-23T01:26:37.152Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4056 in /w/workspace/dgexfoundry_device-rest-go_PR-27 [Pipeline] { [2020-06-23T01:26:37.160Z] ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] ws [2020-06-23T01:26:37.176Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2020-06-23T01:26:41.721Z] using credential edgex-jenkins-ssh [2020-06-23T01:26:41.752Z] Cloning the remote Git repository [2020-06-23T01:26:41.753Z] Cloning with configured refspecs honoured and without tags [2020-06-23T01:26:41.814Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-06-23T01:26:41.931Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2020-06-23T01:26:41.994Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-23T01:26:41.994Z] > git --version # timeout=10 [2020-06-23T01:26:42.018Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-23T01:26:42.082Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-23T01:26:44.351Z] Fetching without tags [2020-06-23T01:26:44.257Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-23T01:26:44.286Z] > git config --add remote.origin.fetch +refs/pull/27/head:refs/remotes/origin/PR-27 # timeout=10 [2020-06-23T01:26:44.311Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-23T01:26:44.332Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-23T01:26:44.366Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-23T01:26:44.367Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-23T01:26:44.380Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-23T01:26:44.839Z] Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit 7d0190bac6d521c21ea040cca4b330e46259f9ee [2020-06-23T01:26:45.430Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-06-23T01:26:45.942Z] Merge succeeded, producing 57f9921e454fb1fd0babfc3e9a95f88044ed9a3a [2020-06-23T01:26:45.943Z] Checking out Revision 57f9921e454fb1fd0babfc3e9a95f88044ed9a3a (PR-27) [2020-06-23T01:26:44.858Z] > git config core.sparsecheckout # timeout=10 [2020-06-23T01:26:44.884Z] > git checkout -f 7d0190bac6d521c21ea040cca4b330e46259f9ee # timeout=10 [2020-06-23T01:26:45.190Z] > git remote # timeout=10 [2020-06-23T01:26:45.206Z] > git config --get remote.origin.url # timeout=10 [2020-06-23T01:26:45.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-23T01:26:45.271Z] > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 [2020-06-23T01:26:45.929Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-23T01:26:45.951Z] > git config core.sparsecheckout # timeout=10 [2020-06-23T01:26:45.962Z] > git checkout -f 57f9921e454fb1fd0babfc3e9a95f88044ed9a3a # timeout=10 [2020-06-23T01:26:46.370Z] ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 56.3% of statements [2020-06-23T01:26:46.631Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-23T01:26:48.571Z] gofmt -l . [2020-06-23T01:26:48.571Z] [ "`gofmt -l .`" = "" ] [2020-06-23T01:26:48.571Z] ./bin/test-go-mod-tidy.sh [2020-06-23T01:26:48.832Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-06-23T01:26:49.332Z] Stashed 1 file(s) [Pipeline] } [2020-06-23T01:26:49.338Z] $ docker stop --time=1 8fa7738f20f6ba1ccf8cd9925a14b2aacbca4d52eb8d16585a2969157485fead [2020-06-23T01:26:50.588Z] Commit message: "Merge commit 'b106d00ae92e946d2103bc6c1464522635373c7b' into HEAD" [2020-06-23T01:26:50.611Z] First time build. Skipping changelog. [2020-06-23T01:26:51.392Z] $ docker rm -f 8fa7738f20f6ba1ccf8cd9925a14b2aacbca4d52eb8d16585a2969157485fead [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-23T01:26:50.596Z] > git rev-list --no-walk 8e8a274c2051a48e8760f01859ec05b7de79ef6e # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-06-23T01:26:52.319Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-23T01:26:52.610Z] + ls -al . [2020-06-23T01:26:52.610Z] total 96 [2020-06-23T01:26:52.610Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jun 23 01:26 . [2020-06-23T01:26:52.610Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 23 01:25 .. [2020-06-23T01:26:52.610Z] -rw-rw-r--. 1 jenkins jenkins 4802 Jun 23 01:25 Attribution.txt [2020-06-23T01:26:52.610Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 23 01:25 bin [2020-06-23T01:26:52.610Z] drwxrwxr-x. 3 jenkins jenkins 51 Jun 23 01:25 cmd [2020-06-23T01:26:52.610Z] -rw-r--r--. 1 jenkins jenkins 9369 Jun 23 01:26 coverage.out [2020-06-23T01:26:52.610Z] -rw-rw-r--. 1 jenkins jenkins 1504 Jun 23 01:25 Dockerfile [2020-06-23T01:26:52.610Z] -rw-rw-r--. 1 jenkins jenkins 989 Jun 23 01:25 Dockerfile.build [2020-06-23T01:26:52.610Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 23 01:25 .dockerignore [2020-06-23T01:26:52.610Z] drwxrwxr-x. 2 jenkins jenkins 93 Jun 23 01:26 driver [2020-06-23T01:26:52.610Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 23 01:25 .git [2020-06-23T01:26:52.610Z] drwxrwxr-x. 2 jenkins jenkins 38 Jun 23 01:25 .github [2020-06-23T01:26:52.610Z] -rw-rw-r--. 1 jenkins jenkins 339 Jun 23 01:25 .gitignore [2020-06-23T01:26:52.610Z] -rw-r--r--. 1 jenkins jenkins 266 Jun 23 01:26 go.mod [2020-06-23T01:26:52.610Z] -rw-r--r--. 1 jenkins jenkins 12533 Jun 23 01:26 go.sum [2020-06-23T01:26:52.610Z] -rw-rw-r--. 1 jenkins jenkins 702 Jun 23 01:25 Jenkinsfile [2020-06-23T01:26:52.610Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 23 01:25 LICENSE [2020-06-23T01:26:52.610Z] -rw-rw-r--. 1 jenkins jenkins 951 Jun 23 01:25 Makefile [2020-06-23T01:26:52.610Z] -rw-rw-r--. 1 jenkins jenkins 5716 Jun 23 01:25 README.md [2020-06-23T01:26:52.610Z] drwxrwxr-x. 3 jenkins jenkins 45 Jun 23 01:25 .semver [2020-06-23T01:26:52.610Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 23 01:25 snap [2020-06-23T01:26:52.610Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 23 01:24 VERSION [2020-06-23T01:26:52.610Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 23 01:25 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-23T01:26:52.905Z] + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=211448c824968b5a705ab85d9bd1fa2393a65460 --label arch=amd64 --label version=0.0.0 . [2020-06-23T01:26:53.170Z] Sending build context to Docker daemon 23.18MB [2020-06-23T01:26:53.170Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-06-23T01:26:53.170Z] Step 2/24 : FROM ${BASE} AS builder [2020-06-23T01:26:53.170Z] ---> ec04b442fad1 [2020-06-23T01:26:53.170Z] Step 3/24 : ARG MAKE='make build' [2020-06-23T01:26:53.170Z] ---> Running in 0430a0cceb77 [2020-06-23T01:26:53.430Z] Removing intermediate container 0430a0cceb77 [2020-06-23T01:26:53.430Z] ---> c46358af3c3b [2020-06-23T01:26:53.430Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-06-23T01:26:53.430Z] ---> Running in e363e2db933b [Pipeline] echo [2020-06-23T01:26:53.473Z] ========================================================= [2020-06-23T01:26:53.473Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-06-23T01:26:53.473Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-23T01:26:53.691Z] Removing intermediate container e363e2db933b [2020-06-23T01:26:53.691Z] ---> 053bf35122be [2020-06-23T01:26:53.691Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-06-23T01:26:53.691Z] ---> Running in 1c07ea6cc29a [2020-06-23T01:26:53.691Z] Removing intermediate container 1c07ea6cc29a [2020-06-23T01:26:53.691Z] ---> a52beedc5dc9 [2020-06-23T01:26:53.691Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-23T01:26:53.951Z] ---> Running in 0a8f5d997cc3 [2020-06-23T01:26:54.518Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-06-23T01:26:54.524Z] Removing intermediate container 0a8f5d997cc3 [2020-06-23T01:26:54.524Z] ---> b8207919e26f [2020-06-23T01:26:54.524Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-23T01:26:54.786Z] ---> Running in c0d3ca9fbec7 [2020-06-23T01:26:55.049Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-23T01:26:55.504Z] Sending build context to Docker daemon 23.17MB [2020-06-23T01:26:55.504Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-06-23T01:26:55.504Z] Step 2/10 : FROM ${BASE} [2020-06-23T01:26:55.778Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-06-23T01:26:55.778Z] cde5963f3b93: Pulling fs layer [2020-06-23T01:26:55.778Z] 2a23fa8c16f7: Pulling fs layer [2020-06-23T01:26:55.778Z] 777b28850792: Pulling fs layer [2020-06-23T01:26:55.778Z] 8a11ddd9e578: Pulling fs layer [2020-06-23T01:26:55.778Z] 4cf88f913ddb: Pulling fs layer [2020-06-23T01:26:55.778Z] 1df406cf5192: Pulling fs layer [2020-06-23T01:26:55.778Z] cd6300453558: Pulling fs layer [2020-06-23T01:26:55.778Z] b9c365052c96: Pulling fs layer [2020-06-23T01:26:55.778Z] a2d8cc88f415: Pulling fs layer [2020-06-23T01:26:55.778Z] ea1d1ca13537: Pulling fs layer [2020-06-23T01:26:55.778Z] 3750a50a1c5e: Pulling fs layer [2020-06-23T01:26:55.778Z] 8a11ddd9e578: Waiting [2020-06-23T01:26:55.778Z] 4cf88f913ddb: Waiting [2020-06-23T01:26:55.778Z] 1df406cf5192: Waiting [2020-06-23T01:26:55.778Z] cd6300453558: Waiting [2020-06-23T01:26:55.778Z] b9c365052c96: Waiting [2020-06-23T01:26:55.778Z] a2d8cc88f415: Waiting [2020-06-23T01:26:55.778Z] ea1d1ca13537: Waiting [2020-06-23T01:26:55.778Z] 3750a50a1c5e: Waiting [2020-06-23T01:26:55.991Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-23T01:26:56.058Z] 777b28850792: Verifying Checksum [2020-06-23T01:26:56.058Z] 777b28850792: Download complete [2020-06-23T01:26:56.058Z] 2a23fa8c16f7: Verifying Checksum [2020-06-23T01:26:56.058Z] 2a23fa8c16f7: Download complete [2020-06-23T01:26:56.058Z] 4cf88f913ddb: Verifying Checksum [2020-06-23T01:26:56.058Z] 4cf88f913ddb: Download complete [2020-06-23T01:26:56.058Z] 1df406cf5192: Verifying Checksum [2020-06-23T01:26:56.058Z] 1df406cf5192: Download complete [2020-06-23T01:26:56.058Z] cde5963f3b93: Verifying Checksum [2020-06-23T01:26:56.058Z] cde5963f3b93: Download complete [2020-06-23T01:26:56.561Z] OK: 143 MiB in 39 packages [2020-06-23T01:26:56.669Z] cde5963f3b93: Pull complete [2020-06-23T01:26:57.138Z] Removing intermediate container c0d3ca9fbec7 [2020-06-23T01:26:57.138Z] ---> 710a25b9ae10 [2020-06-23T01:26:57.138Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-06-23T01:26:57.138Z] ---> Running in cefca1fce409 [2020-06-23T01:26:57.138Z] Removing intermediate container cefca1fce409 [2020-06-23T01:26:57.138Z] ---> cd9411ec7d40 [2020-06-23T01:26:57.138Z] Step 9/24 : COPY go.mod . [2020-06-23T01:26:57.401Z] ---> 437ac6b82b2b [2020-06-23T01:26:57.401Z] Step 10/24 : COPY Makefile . [2020-06-23T01:26:57.661Z] 2a23fa8c16f7: Pull complete [2020-06-23T01:26:57.662Z] ---> 383e3b3879d8 [2020-06-23T01:26:57.662Z] Step 11/24 : RUN make update [2020-06-23T01:26:57.662Z] ---> Running in 66aa47803bd9 [2020-06-23T01:26:57.935Z] 777b28850792: Pull complete [2020-06-23T01:26:58.210Z] cd6300453558: Verifying Checksum [2020-06-23T01:26:58.210Z] cd6300453558: Download complete [2020-06-23T01:26:58.210Z] a2d8cc88f415: Verifying Checksum [2020-06-23T01:26:58.210Z] a2d8cc88f415: Download complete [2020-06-23T01:26:58.232Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-06-23T01:26:58.493Z] Removing intermediate container 66aa47803bd9 [2020-06-23T01:26:58.493Z] ---> d055571ff9bd [2020-06-23T01:26:58.493Z] Step 12/24 : COPY . . [2020-06-23T01:26:59.062Z] ---> a03628d10d0f [2020-06-23T01:26:59.062Z] Step 13/24 : RUN $MAKE [2020-06-23T01:26:59.322Z] ---> Running in d276f9e164e2 [2020-06-23T01:26:59.582Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2020-06-23T01:26:59.656Z] ea1d1ca13537: Verifying Checksum [2020-06-23T01:26:59.656Z] ea1d1ca13537: Download complete [2020-06-23T01:26:59.656Z] 3750a50a1c5e: Verifying Checksum [2020-06-23T01:26:59.656Z] 3750a50a1c5e: Download complete [2020-06-23T01:27:01.649Z] 8a11ddd9e578: Download complete [2020-06-23T01:27:01.649Z] b9c365052c96: Verifying Checksum [2020-06-23T01:27:01.649Z] b9c365052c96: Download complete [2020-06-23T01:27:09.673Z] Removing intermediate container d276f9e164e2 [2020-06-23T01:27:09.673Z] ---> a569b8f4f4d3 [2020-06-23T01:27:09.673Z] Step 14/24 : FROM alpine:latest [2020-06-23T01:27:09.673Z] latest: Pulling from library/alpine [2020-06-23T01:27:09.673Z] df20fa9351a1: Pulling fs layer [2020-06-23T01:27:09.935Z] df20fa9351a1: Verifying Checksum [2020-06-23T01:27:09.935Z] df20fa9351a1: Download complete [2020-06-23T01:27:09.935Z] df20fa9351a1: Pull complete [2020-06-23T01:27:10.195Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-23T01:27:10.195Z] Status: Downloaded newer image for alpine:latest [2020-06-23T01:27:10.195Z] ---> a24bb4013296 [2020-06-23T01:27:10.195Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-23T01:27:10.195Z] ---> Running in a6e9e23b84b3 [2020-06-23T01:27:10.195Z] Removing intermediate container a6e9e23b84b3 [2020-06-23T01:27:10.195Z] ---> e5c66c15f15a [2020-06-23T01:27:10.195Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-06-23T01:27:10.459Z] ---> Running in 5b418105722b [2020-06-23T01:27:10.459Z] Removing intermediate container 5b418105722b [2020-06-23T01:27:10.459Z] ---> 17faed052abd [2020-06-23T01:27:10.459Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-06-23T01:27:10.721Z] ---> a814f80841d3 [2020-06-23T01:27:10.721Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-06-23T01:27:10.981Z] ---> cee31fbeda6d [2020-06-23T01:27:10.981Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-06-23T01:27:11.930Z] ---> 2bd305e24f59 [2020-06-23T01:27:11.930Z] Step 20/24 : EXPOSE 49986 [2020-06-23T01:27:11.930Z] ---> Running in 1d8aad680ba5 [2020-06-23T01:27:11.930Z] Removing intermediate container 1d8aad680ba5 [2020-06-23T01:27:11.930Z] ---> c2a986dd3ac7 [2020-06-23T01:27:11.930Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-06-23T01:27:11.931Z] ---> Running in d6d15b502875 [2020-06-23T01:27:12.191Z] Removing intermediate container d6d15b502875 [2020-06-23T01:27:12.191Z] ---> 0a5a62990ca6 [2020-06-23T01:27:12.191Z] Step 22/24 : LABEL arch=amd64 [2020-06-23T01:27:12.191Z] ---> Running in a371ee4e396d [2020-06-23T01:27:12.453Z] Removing intermediate container a371ee4e396d [2020-06-23T01:27:12.453Z] ---> 9c700f5bef4a [2020-06-23T01:27:12.453Z] Step 23/24 : LABEL git_sha=211448c824968b5a705ab85d9bd1fa2393a65460 [2020-06-23T01:27:12.453Z] ---> Running in 836f417e5970 [2020-06-23T01:27:12.718Z] Removing intermediate container 836f417e5970 [2020-06-23T01:27:12.718Z] ---> e1d63b726933 [2020-06-23T01:27:12.718Z] Step 24/24 : LABEL version=0.0.0 [2020-06-23T01:27:12.718Z] ---> Running in 8f2c49273a3e [2020-06-23T01:27:12.987Z] Removing intermediate container 8f2c49273a3e [2020-06-23T01:27:12.987Z] ---> f4053cc835c5 [2020-06-23T01:27:12.987Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-23T01:27:12.987Z] Successfully built f4053cc835c5 [2020-06-23T01:27:12.987Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-06-23T01:27:14.043Z] 8a11ddd9e578: Pull complete [2020-06-23T01:27:14.043Z] 4cf88f913ddb: Pull complete [2020-06-23T01:27:14.043Z] 1df406cf5192: Pull complete [2020-06-23T01:27:17.428Z] cd6300453558: Pull complete [2020-06-23T01:27:22.845Z] b9c365052c96: Pull complete [2020-06-23T01:27:22.845Z] a2d8cc88f415: Pull complete [2020-06-23T01:27:24.286Z] ea1d1ca13537: Pull complete [2020-06-23T01:27:24.886Z] 3750a50a1c5e: Pull complete [2020-06-23T01:27:24.886Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-06-23T01:27:24.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-06-23T01:27:24.886Z] ---> 78745c68409d [2020-06-23T01:27:24.886Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-06-23T01:27:30.280Z] ---> Running in ae32bbdc061d [2020-06-23T01:27:30.280Z] Removing intermediate container ae32bbdc061d [2020-06-23T01:27:30.280Z] ---> 5d3e8062b072 [2020-06-23T01:27:30.280Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-06-23T01:27:30.280Z] ---> Running in 3b014a698cdd [2020-06-23T01:27:30.552Z] Removing intermediate container 3b014a698cdd [2020-06-23T01:27:30.553Z] ---> 6cb68b586b76 [2020-06-23T01:27:30.553Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-23T01:27:30.553Z] ---> Running in 3a6f166a3134 [2020-06-23T01:27:31.145Z] Removing intermediate container 3a6f166a3134 [2020-06-23T01:27:31.145Z] ---> acf49e37ffc7 [2020-06-23T01:27:31.145Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-23T01:27:31.145Z] ---> Running in cddfbeaaa7de [2020-06-23T01:27:33.770Z] Removing intermediate container cddfbeaaa7de [2020-06-23T01:27:33.770Z] ---> 8f849cb86c79 [2020-06-23T01:27:33.770Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-23T01:27:33.770Z] ---> Running in c9241e5f091a [2020-06-23T01:27:35.198Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-23T01:27:36.165Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-23T01:27:37.132Z] OK: 125 MiB in 39 packages [2020-06-23T01:27:38.107Z] Removing intermediate container c9241e5f091a [2020-06-23T01:27:38.107Z] ---> 9555e49e5023 [2020-06-23T01:27:38.107Z] Step 8/10 : WORKDIR /device-rest-go [2020-06-23T01:27:38.107Z] ---> Running in 591046a0774e [2020-06-23T01:27:38.700Z] Removing intermediate container 591046a0774e [2020-06-23T01:27:38.700Z] ---> 07c6035d6b0a [2020-06-23T01:27:38.700Z] Step 9/10 : COPY . . [2020-06-23T01:27:40.671Z] ---> 16048038edbb [2020-06-23T01:27:40.671Z] Step 10/10 : RUN go mod download [2020-06-23T01:27:40.671Z] ---> Running in ace65d30d818 [2020-06-23T01:27:43.281Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-23T01:27:43.281Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-23T01:27:43.281Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-23T01:27:43.281Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-23T01:27:43.281Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-23T01:27:43.281Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-23T01:27:43.281Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-23T01:27:43.281Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-23T01:27:43.281Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-23T01:27:43.281Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-23T01:27:43.281Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-23T01:27:43.281Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-23T01:27:43.281Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-23T01:27:43.281Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-23T01:27:43.281Z] go: finding github.com/fatih/color v1.7.0 [2020-06-23T01:27:43.281Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-23T01:27:43.281Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-23T01:27:43.281Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-23T01:27:43.281Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-23T01:27:43.281Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-23T01:27:43.281Z] go: finding github.com/google/uuid v1.1.0 [2020-06-23T01:27:43.281Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-23T01:27:43.281Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-23T01:27:43.281Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-23T01:27:43.281Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-23T01:27:43.281Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-23T01:27:43.281Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-23T01:27:43.281Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-23T01:27:43.281Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-23T01:27:43.281Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-23T01:27:43.281Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-23T01:27:43.281Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-23T01:27:43.281Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-23T01:27:43.281Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-23T01:27:43.281Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-23T01:27:43.281Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-23T01:27:43.281Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-23T01:27:43.281Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-23T01:27:43.281Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-23T01:27:43.281Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-23T01:27:43.281Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-23T01:27:43.281Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-23T01:27:43.281Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-23T01:27:43.281Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-23T01:27:43.281Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-23T01:27:43.281Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-23T01:27:43.281Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-23T01:27:43.281Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-23T01:27:43.281Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-23T01:27:43.281Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-23T01:27:43.281Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-23T01:27:43.281Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-23T01:27:43.281Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-23T01:27:43.281Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-23T01:27:43.281Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-23T01:27:43.281Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-23T01:27:43.281Z] go: finding github.com/posener/complete v1.1.1 [2020-06-23T01:27:43.281Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-23T01:27:43.281Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-23T01:27:43.281Z] go: finding github.com/spf13/cast v1.3.0 [2020-06-23T01:27:43.551Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-23T01:27:43.551Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-23T01:27:43.551Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-23T01:27:43.551Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-23T01:27:43.551Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-23T01:27:43.551Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-23T01:27:43.551Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-23T01:27:43.551Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-23T01:27:43.551Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-23T01:27:43.551Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-23T01:27:52.148Z] Removing intermediate container ace65d30d818 [2020-06-23T01:27:52.148Z] ---> 7d3d269805c7 [2020-06-23T01:27:52.148Z] Successfully built 7d3d269805c7 [2020-06-23T01:27:52.148Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-23T01:27:52.658Z] + docker inspect -f . ci-base-image-arm64 [2020-06-23T01:27:52.658Z] . [Pipeline] withDockerContainer [2020-06-23T01:27:52.884Z] prd-ubuntu18.04-docker-arm64-4c-16g-4056 does not seem to be running inside a container [2020-06-23T01:27:52.973Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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-arm64 cat [2020-06-23T01:27:54.753Z] $ docker top 36f55c2df6732a78858c876b5edcd780dd353b2b9c64949acea0af68bdba5223 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-23T01:27:56.111Z] + go version [2020-06-23T01:27:56.111Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-06-23T01:27:57.161Z] + make test [2020-06-23T01:27:57.161Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-23T01:27:58.143Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-06-23T01:28:30.535Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-06-23T01:28:30.536Z] ok github.com/edgexfoundry/device-rest-go/driver 0.045s coverage: 56.3% of statements [2020-06-23T01:28:30.536Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-23T01:28:33.956Z] gofmt -l . [2020-06-23T01:28:34.237Z] [ "`gofmt -l .`" = "" ] [2020-06-23T01:28:34.237Z] ./bin/test-go-mod-tidy.sh [2020-06-23T01:28:35.676Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-06-23T01:28:35.986Z] Warning: overwriting stash ‘coverage-report’ [2020-06-23T01:28:36.379Z] Stashed 1 file(s) [Pipeline] } [2020-06-23T01:28:36.386Z] $ docker stop --time=1 36f55c2df6732a78858c876b5edcd780dd353b2b9c64949acea0af68bdba5223 [2020-06-23T01:28:38.469Z] $ docker rm -f 36f55c2df6732a78858c876b5edcd780dd353b2b9c64949acea0af68bdba5223 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-23T01:28:39.474Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-23T01:28:39.806Z] + ls -al . [2020-06-23T01:28:39.806Z] total 128 [2020-06-23T01:28:39.806Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 01:28 . [2020-06-23T01:28:39.806Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 01:26 .. [2020-06-23T01:28:39.806Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 23 01:26 .dockerignore [2020-06-23T01:28:39.806Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 01:26 .git [2020-06-23T01:28:39.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 01:26 .github [2020-06-23T01:28:39.806Z] -rw-rw-r-- 1 jenkins jenkins 339 Jun 23 01:26 .gitignore [2020-06-23T01:28:39.806Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 01:26 .semver [2020-06-23T01:28:39.806Z] -rw-rw-r-- 1 jenkins jenkins 4802 Jun 23 01:26 Attribution.txt [2020-06-23T01:28:39.806Z] -rw-rw-r-- 1 jenkins jenkins 1504 Jun 23 01:26 Dockerfile [2020-06-23T01:28:39.806Z] -rw-rw-r-- 1 jenkins jenkins 989 Jun 23 01:26 Dockerfile.build [2020-06-23T01:28:39.806Z] -rw-rw-r-- 1 jenkins jenkins 702 Jun 23 01:26 Jenkinsfile [2020-06-23T01:28:39.806Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 23 01:26 LICENSE [2020-06-23T01:28:39.806Z] -rw-rw-r-- 1 jenkins jenkins 951 Jun 23 01:26 Makefile [2020-06-23T01:28:39.806Z] -rw-rw-r-- 1 jenkins jenkins 5716 Jun 23 01:26 README.md [2020-06-23T01:28:39.806Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 01:24 VERSION [2020-06-23T01:28:39.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 01:26 bin [2020-06-23T01:28:39.806Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 01:26 cmd [2020-06-23T01:28:39.806Z] -rw-r--r-- 1 jenkins jenkins 9369 Jun 23 01:28 coverage.out [2020-06-23T01:28:39.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 01:28 driver [2020-06-23T01:28:39.806Z] -rw-r--r-- 1 jenkins jenkins 266 Jun 23 01:28 go.mod [2020-06-23T01:28:39.806Z] -rw-r--r-- 1 jenkins jenkins 12533 Jun 23 01:28 go.sum [2020-06-23T01:28:39.806Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 01:26 snap [2020-06-23T01:28:39.806Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 23 01:26 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-23T01:28:40.146Z] + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=211448c824968b5a705ab85d9bd1fa2393a65460 --label arch=arm64 --label version=0.0.0 . [2020-06-23T01:28:40.739Z] Sending build context to Docker daemon 23.18MB [2020-06-23T01:28:40.739Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-06-23T01:28:40.739Z] Step 2/24 : FROM ${BASE} AS builder [2020-06-23T01:28:40.739Z] ---> 7d3d269805c7 [2020-06-23T01:28:40.739Z] Step 3/24 : ARG MAKE='make build' [2020-06-23T01:28:41.336Z] ---> Running in 909afc16c885 [2020-06-23T01:28:41.607Z] Removing intermediate container 909afc16c885 [2020-06-23T01:28:41.607Z] ---> c92bdcb7cfdf [2020-06-23T01:28:41.607Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-06-23T01:28:41.879Z] ---> Running in 299c31296546 [2020-06-23T01:28:42.150Z] Removing intermediate container 299c31296546 [2020-06-23T01:28:42.150Z] ---> c26dad4027b4 [2020-06-23T01:28:42.150Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-06-23T01:28:42.422Z] ---> Running in 29501c3f0134 [2020-06-23T01:28:42.694Z] Removing intermediate container 29501c3f0134 [2020-06-23T01:28:42.694Z] ---> 24e306c95e27 [2020-06-23T01:28:42.694Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-23T01:28:42.967Z] ---> Running in fca0ee3ba32a [2020-06-23T01:28:45.587Z] Removing intermediate container fca0ee3ba32a [2020-06-23T01:28:45.587Z] ---> eb8a86c369ee [2020-06-23T01:28:45.587Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-23T01:28:45.587Z] ---> Running in 1fdc5260b7dc [2020-06-23T01:28:47.015Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-23T01:28:47.992Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-23T01:28:48.586Z] OK: 125 MiB in 39 packages [2020-06-23T01:28:50.026Z] Removing intermediate container 1fdc5260b7dc [2020-06-23T01:28:50.026Z] ---> 4b14cbfb6849 [2020-06-23T01:28:50.026Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-06-23T01:28:50.026Z] ---> Running in 5246987931d3 [2020-06-23T01:28:50.300Z] Removing intermediate container 5246987931d3 [2020-06-23T01:28:50.300Z] ---> 054731a0a91f [2020-06-23T01:28:50.300Z] Step 9/24 : COPY go.mod . [2020-06-23T01:28:51.281Z] ---> 92eb65aa5bda [2020-06-23T01:28:51.281Z] Step 10/24 : COPY Makefile . [2020-06-23T01:28:51.878Z] ---> b42972e364ba [2020-06-23T01:28:51.878Z] Step 11/24 : RUN make update [2020-06-23T01:28:52.154Z] ---> Running in 9ea4af07fef6 [2020-06-23T01:28:53.583Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-06-23T01:28:54.565Z] Removing intermediate container 9ea4af07fef6 [2020-06-23T01:28:54.565Z] ---> 00260841c09a [2020-06-23T01:28:54.565Z] Step 12/24 : COPY . . [2020-06-23T01:28:56.546Z] ---> 1025123c8fd9 [2020-06-23T01:28:56.546Z] Step 13/24 : RUN $MAKE [2020-06-23T01:28:56.819Z] ---> Running in 0a587352113a [2020-06-23T01:28:58.250Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2020-06-23T01:29:25.062Z] Removing intermediate container 0a587352113a [2020-06-23T01:29:25.062Z] ---> 1ccc85711567 [2020-06-23T01:29:25.062Z] Step 14/24 : FROM alpine:latest [2020-06-23T01:29:25.062Z] latest: Pulling from library/alpine [2020-06-23T01:29:25.062Z] b538f80385f9: Pulling fs layer [2020-06-23T01:29:25.062Z] b538f80385f9: Verifying Checksum [2020-06-23T01:29:25.062Z] b538f80385f9: Download complete [2020-06-23T01:29:25.661Z] b538f80385f9: Pull complete [2020-06-23T01:29:25.661Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-23T01:29:25.661Z] Status: Downloaded newer image for alpine:latest [2020-06-23T01:29:25.661Z] ---> 62ee0e9f8440 [2020-06-23T01:29:25.661Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-23T01:29:25.661Z] ---> Running in 6c5374023f90 [2020-06-23T01:29:26.257Z] Removing intermediate container 6c5374023f90 [2020-06-23T01:29:26.257Z] ---> dbb2c7cf79af [2020-06-23T01:29:26.257Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-06-23T01:29:26.257Z] ---> Running in 3d38cee77e74 [2020-06-23T01:29:26.855Z] Removing intermediate container 3d38cee77e74 [2020-06-23T01:29:26.855Z] ---> f229a8ed73ce [2020-06-23T01:29:26.855Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-06-23T01:29:27.454Z] ---> 4b76eb59718d [2020-06-23T01:29:27.454Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-06-23T01:29:28.050Z] ---> 0bcc3bd48c2b [2020-06-23T01:29:28.050Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-06-23T01:29:30.673Z] ---> 5b4b36261594 [2020-06-23T01:29:30.673Z] Step 20/24 : EXPOSE 49986 [2020-06-23T01:29:30.673Z] ---> Running in aec801e6065b [2020-06-23T01:29:30.948Z] Removing intermediate container aec801e6065b [2020-06-23T01:29:30.948Z] ---> cf30fdc39742 [2020-06-23T01:29:30.948Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-06-23T01:29:30.948Z] ---> Running in 5688b540352c [2020-06-23T01:29:31.551Z] Removing intermediate container 5688b540352c [2020-06-23T01:29:31.551Z] ---> ffadc0dd0b2d [2020-06-23T01:29:31.551Z] Step 22/24 : LABEL arch=arm64 [2020-06-23T01:29:31.551Z] ---> Running in 46700d2f4e8f [2020-06-23T01:29:32.148Z] Removing intermediate container 46700d2f4e8f [2020-06-23T01:29:32.148Z] ---> 834509ec5867 [2020-06-23T01:29:32.148Z] Step 23/24 : LABEL git_sha=211448c824968b5a705ab85d9bd1fa2393a65460 [2020-06-23T01:29:32.148Z] ---> Running in 532c9481ce19 [2020-06-23T01:29:32.752Z] Removing intermediate container 532c9481ce19 [2020-06-23T01:29:32.752Z] ---> bddaa71a3cbc [2020-06-23T01:29:32.752Z] Step 24/24 : LABEL version=0.0.0 [2020-06-23T01:29:32.752Z] ---> Running in 04934f51cc85 [2020-06-23T01:29:33.024Z] Removing intermediate container 04934f51cc85 [2020-06-23T01:29:33.024Z] ---> 011295ba462c [2020-06-23T01:29:33.024Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-23T01:29:33.024Z] Successfully built 011295ba462c [2020-06-23T01:29:33.024Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-06-23T01:29:33.954Z] provisioning config files... [2020-06-23T01:29:33.970Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config171593674283831281tmp [Pipeline] { [Pipeline] sh [2020-06-23T01:29:34.303Z] + curl -s https://codecov.io/bash [2020-06-23T01:29:34.303Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config171593674283831281tmp [2020-06-23T01:29:34.569Z] [2020-06-23T01:29:34.569Z] _____ _ [2020-06-23T01:29:34.569Z] / ____| | | [2020-06-23T01:29:34.569Z] | | ___ __| | ___ ___ _____ __ [2020-06-23T01:29:34.569Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-06-23T01:29:34.569Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-06-23T01:29:34.569Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-06-23T01:29:34.569Z] Bash-20200602-f809a24 [2020-06-23T01:29:34.569Z] [2020-06-23T01:29:34.569Z] [2020-06-23T01:29:34.569Z] ==> Jenkins CI detected. [2020-06-23T01:29:34.569Z] project root: . [2020-06-23T01:29:34.569Z] Fixing merge commit SHA [2020-06-23T01:29:34.569Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-06-23T01:29:34.569Z] ==> Running gcov in . (disable via -X gcov) [2020-06-23T01:29:34.569Z] ==> Python coveragepy not found [2020-06-23T01:29:34.569Z] ==> Searching for coverage reports in: [2020-06-23T01:29:34.569Z] + . [2020-06-23T01:29:34.569Z] -> Found 1 reports [2020-06-23T01:29:34.569Z] ==> Detecting git/mercurial file structure [2020-06-23T01:29:34.569Z] ==> Reading reports [2020-06-23T01:29:34.569Z] + ./coverage.out bytes=9369 [2020-06-23T01:29:34.569Z] ==> Appending adjustments [2020-06-23T01:29:34.569Z] https://docs.codecov.io/docs/fixing-reports [2020-06-23T01:29:34.847Z] + Found adjustments [2020-06-23T01:29:34.847Z] ==> Gzipping contents [2020-06-23T01:29:34.847Z] ==> Uploading reports [2020-06-23T01:29:34.847Z] url: https://codecov.io [2020-06-23T01:29:34.847Z] query: branch=PR-27&commit=b106d00ae92e946d2103bc6c1464522635373c7b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-27%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=27&job= [2020-06-23T01:29:34.847Z] -> Pinging Codecov [2020-06-23T01:29:34.847Z] https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-27&commit=b106d00ae92e946d2103bc6c1464522635373c7b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-27%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=27&job= [2020-06-23T01:29:35.549Z] -> Uploading [2020-06-23T01:29:36.147Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/b106d00ae92e946d2103bc6c1464522635373c7b [Pipeline] } [2020-06-23T01:29:36.162Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-06-23T01:29:37.061Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-23T01:29:37.642Z] ---> package-listing.sh [2020-06-23T01:29:37.643Z] ++ facter osfamily [2020-06-23T01:29:37.643Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-23T01:29:37.910Z] + OS_FAMILY=redhat [2020-06-23T01:29:37.910Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-27 [2020-06-23T01:29:37.910Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-23T01:29:37.910Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-23T01:29:37.910Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-23T01:29:37.910Z] + PACKAGES=/tmp/packages_start.txt [2020-06-23T01:29:37.910Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-27 ']' [2020-06-23T01:29:37.910Z] + PACKAGES=/tmp/packages_end.txt [2020-06-23T01:29:37.910Z] + case "${OS_FAMILY}" in [2020-06-23T01:29:37.910Z] + sort [2020-06-23T01:29:37.910Z] + rpm -qa [2020-06-23T01:29:43.261Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-23T01:29:43.261Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-23T01:29:43.261Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-23T01:29:43.261Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-27 ']' [2020-06-23T01:29:43.261Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-27/archives/ [2020-06-23T01:29:43.261Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-27/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-23T01:29:43.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-23T01:29:44.249Z] [2020-06-23T01:29:44.249Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-23T01:29:44.649Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-23T01:29:44.649Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-23T01:29:44.649Z] c9b1b535fdd9: Pulling fs layer [2020-06-23T01:29:44.649Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-23T01:29:44.649Z] 756a868c4378: Pulling fs layer [2020-06-23T01:29:44.649Z] 444b2fc9a129: Pulling fs layer [2020-06-23T01:29:44.649Z] ea15f1150254: Pulling fs layer [2020-06-23T01:29:44.649Z] 41b27a9f41bf: Pulling fs layer [2020-06-23T01:29:44.649Z] 28c525ee5125: Pulling fs layer [2020-06-23T01:29:44.649Z] 094b1ea09ed8: Pulling fs layer [2020-06-23T01:29:44.649Z] 138eaada9080: Pulling fs layer [2020-06-23T01:29:44.649Z] 0622d0fa9048: Pulling fs layer [2020-06-23T01:29:44.649Z] 444b2fc9a129: Waiting [2020-06-23T01:29:44.649Z] ea15f1150254: Waiting [2020-06-23T01:29:44.649Z] 41b27a9f41bf: Waiting [2020-06-23T01:29:44.649Z] 28c525ee5125: Waiting [2020-06-23T01:29:44.649Z] 094b1ea09ed8: Waiting [2020-06-23T01:29:44.649Z] 138eaada9080: Waiting [2020-06-23T01:29:44.649Z] 0622d0fa9048: Waiting [2020-06-23T01:29:44.649Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-23T01:29:44.649Z] 2cc5ad85d9ab: Download complete [2020-06-23T01:29:44.649Z] 444b2fc9a129: Verifying Checksum [2020-06-23T01:29:44.649Z] 444b2fc9a129: Download complete [2020-06-23T01:29:44.649Z] c9b1b535fdd9: Verifying Checksum [2020-06-23T01:29:44.649Z] c9b1b535fdd9: Download complete [2020-06-23T01:29:44.937Z] ea15f1150254: Verifying Checksum [2020-06-23T01:29:44.937Z] ea15f1150254: Download complete [2020-06-23T01:29:44.937Z] 28c525ee5125: Verifying Checksum [2020-06-23T01:29:44.937Z] 28c525ee5125: Download complete [2020-06-23T01:29:45.578Z] 756a868c4378: Verifying Checksum [2020-06-23T01:29:45.578Z] 756a868c4378: Download complete [2020-06-23T01:29:45.578Z] 138eaada9080: Verifying Checksum [2020-06-23T01:29:45.578Z] 138eaada9080: Download complete [2020-06-23T01:29:45.578Z] 0622d0fa9048: Download complete [2020-06-23T01:29:45.578Z] 094b1ea09ed8: Verifying Checksum [2020-06-23T01:29:45.578Z] 094b1ea09ed8: Download complete [2020-06-23T01:29:45.578Z] c9b1b535fdd9: Pull complete [2020-06-23T01:29:46.198Z] 2cc5ad85d9ab: Pull complete [2020-06-23T01:29:46.198Z] 41b27a9f41bf: Verifying Checksum [2020-06-23T01:29:46.198Z] 41b27a9f41bf: Download complete [2020-06-23T01:29:48.329Z] 756a868c4378: Pull complete [2020-06-23T01:29:48.608Z] 444b2fc9a129: Pull complete [2020-06-23T01:29:49.205Z] ea15f1150254: Pull complete [2020-06-23T01:29:56.262Z] 41b27a9f41bf: Pull complete [2020-06-23T01:29:56.262Z] 28c525ee5125: Pull complete [2020-06-23T01:29:59.633Z] 094b1ea09ed8: Pull complete [2020-06-23T01:29:59.633Z] 138eaada9080: Pull complete [2020-06-23T01:29:59.897Z] 0622d0fa9048: Pull complete [2020-06-23T01:29:59.897Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-23T01:29:59.897Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-23T01:29:59.897Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-23T01:30:00.122Z] prd-centos7-docker-4c-2g-4051 does not seem to be running inside a container [2020-06-23T01:30:00.190Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-rest-go_PR-27 -v /w/workspace/dgexfoundry_device-rest-go_PR-27:/w/workspace/dgexfoundry_device-rest-go_PR-27:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-27@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-27@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:10003/edgex-lftools-log-publisher:alpine cat [2020-06-23T01:30:03.979Z] $ docker top 78f79015d0c38448f094dabb0f53f5be12799f04fe6fcd6a47955c15cba35df2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-23T01:30:04.292Z] provisioning config files... [2020-06-23T01:30:04.331Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-27@tmp/config4375144348015757555tmp [Pipeline] { [Pipeline] echo [2020-06-23T01:30:04.387Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-23T01:30:05.043Z] ---> create-netrc.sh [Pipeline] echo [2020-06-23T01:30:05.057Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-23T01:30:05.475Z] ---> logs-deploy.sh [2020-06-23T01:30:05.475Z] + ARCHIVE_ARTIFACTS= [2020-06-23T01:30:05.475Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-23T01:30:05.475Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-23T01:30:05.475Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-23T01:30:05.475Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/5 [2020-06-23T01:30:05.475Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-27/5/ [2020-06-23T01:30:05.475Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/5 /w/workspace/dgexfoundry_device-rest-go_PR-27 [2020-06-23T01:30:07.533Z] Archives upload complete. [2020-06-23T01:30:07.859Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-27/5 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-27/5/