Push event to branch snap Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d86e0ec19fa4789cd7ee7ceff953a09417d716ae 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3597 in /w/workspace/edgexfoundry_device-rest-go_snap [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/edgexfoundry_device-rest-go_snap # 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/heads/snap:refs/remotes/origin/snap # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/snap:refs/remotes/origin/snap # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching without tags Checking out Revision d86e0ec19fa4789cd7ee7ceff953a09417d716ae (snap) 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/heads/snap:refs/remotes/origin/snap # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d86e0ec19fa4789cd7ee7ceff953a09417d716ae # timeout=10 Commit message: "feat(device-rest): Add snap directory for device-rest Adds the snapcraft files for device rest" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-18T18:22:38.089Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-18T18:22:38.217Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-18T18:22:38.257Z] ========================================================= [2020-06-18T18:22:38.257Z] EdgeX Global Pipelines Version Info [2020-06-18T18:22:38.257Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 272cbba74b5445e980adb416089d8b6fd8262e28 # timeout=10 [2020-06-18T18:22:39.688Z] ------------------- [2020-06-18T18:22:39.688Z] stable info: [2020-06-18T18:22:39.688Z] ------------------- [2020-06-18T18:22:39.688Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-18T18:22:39.688Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-18T18:22:39.688Z] Message: update stable to v1.0.89 [2020-06-18T18:22:40.629Z] ------------------- [2020-06-18T18:22:40.629Z] experimental info: [2020-06-18T18:22:40.629Z] ------------------- [2020-06-18T18:22:40.629Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-18T18:22:40.629Z] Commit SHA: 16c8cae96dc596cf5e922f0da0f924f9f59267c3 [2020-06-18T18:22:40.629Z] Message: update experimental to v0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-06-18T18:22:42.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-18T18:22:42.731Z] [2020-06-18T18:22:42.731Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-18T18:22:43.057Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-18T18:22:43.058Z] latest: Pulling from edgex-devops/git-semver [2020-06-18T18:22:43.058Z] 9123ac7c32f7: Pulling fs layer [2020-06-18T18:22:43.058Z] b8cc5d1170e3: Pulling fs layer [2020-06-18T18:22:43.058Z] 2924cbbf6a41: Pulling fs layer [2020-06-18T18:22:43.058Z] 93b08a4f1073: Pulling fs layer [2020-06-18T18:22:43.058Z] 93b08a4f1073: Waiting [2020-06-18T18:22:43.058Z] b8cc5d1170e3: Verifying Checksum [2020-06-18T18:22:43.058Z] b8cc5d1170e3: Download complete [2020-06-18T18:22:43.058Z] 9123ac7c32f7: Verifying Checksum [2020-06-18T18:22:43.058Z] 9123ac7c32f7: Download complete [2020-06-18T18:22:43.321Z] 93b08a4f1073: Verifying Checksum [2020-06-18T18:22:43.321Z] 93b08a4f1073: Download complete [2020-06-18T18:22:43.321Z] 2924cbbf6a41: Verifying Checksum [2020-06-18T18:22:43.321Z] 2924cbbf6a41: Download complete [2020-06-18T18:22:43.321Z] 9123ac7c32f7: Pull complete [2020-06-18T18:22:43.582Z] b8cc5d1170e3: Pull complete [2020-06-18T18:22:44.157Z] 2924cbbf6a41: Pull complete [2020-06-18T18:22:44.428Z] 93b08a4f1073: Pull complete [2020-06-18T18:22:44.428Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-18T18:22:44.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-18T18:22:44.428Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-18T18:22:44.549Z] prd-centos7-docker-4c-2g-3597 does not seem to be running inside a container [2020-06-18T18:22:44.602Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_snap -v /w/workspace/edgexfoundry_device-rest-go_snap:/w/workspace/edgexfoundry_device-rest-go_snap:rw,z -v /w/workspace/edgexfoundry_device-rest-go_snap@tmp:/w/workspace/edgexfoundry_device-rest-go_snap@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-06-18T18:22:46.776Z] $ docker top db76de8653dcca3dd1ae0dec1a9fc74d9ec09daca459e2c768b8913079844348 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-18T18:22:46.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-18T18:22:46.946Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-18T18:22:47.141Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-18T18:22:47.157Z] $ docker exec db76de8653dcca3dd1ae0dec1a9fc74d9ec09daca459e2c768b8913079844348 ssh-agent [2020-06-18T18:22:47.303Z] SSH_AUTH_SOCK=/tmp/ssh-NsfXI5Id6NXN/agent.12 [2020-06-18T18:22:47.303Z] SSH_AGENT_PID=18 [2020-06-18T18:22:47.314Z] Running ssh-add (command line suppressed) [2020-06-18T18:22:47.443Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_snap@tmp/private_key_6012639363878147139.key (/w/workspace/edgexfoundry_device-rest-go_snap@tmp/private_key_6012639363878147139.key) [2020-06-18T18:22:47.480Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-18T18:22:47.787Z] + git describe --exact-match --tags HEAD [2020-06-18T18:22:47.787Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-18T18:22:47.857Z] $ docker exec --env ******** --env ******** db76de8653dcca3dd1ae0dec1a9fc74d9ec09daca459e2c768b8913079844348 ssh-agent -k [2020-06-18T18:22:47.968Z] unset SSH_AUTH_SOCK; [2020-06-18T18:22:47.968Z] unset SSH_AGENT_PID; [2020-06-18T18:22:47.968Z] echo Agent pid 18 killed; [2020-06-18T18:22:47.999Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-18T18:22:48.038Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-18T18:22:48.038Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-18T18:22:48.086Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-18T18:22:48.087Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-18T18:22:48.242Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-18T18:22:48.257Z] $ docker exec db76de8653dcca3dd1ae0dec1a9fc74d9ec09daca459e2c768b8913079844348 ssh-agent [2020-06-18T18:22:48.394Z] SSH_AUTH_SOCK=/tmp/ssh-AShdDCMlU5cm/agent.47 [2020-06-18T18:22:48.394Z] SSH_AGENT_PID=52 [2020-06-18T18:22:48.400Z] Running ssh-add (command line suppressed) [2020-06-18T18:22:48.525Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_snap@tmp/private_key_490069096362548630.key (/w/workspace/edgexfoundry_device-rest-go_snap@tmp/private_key_490069096362548630.key) [2020-06-18T18:22:48.559Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-18T18:22:48.864Z] + git semver init [2020-06-18T18:22:48.864Z] # -> Open(): unable to determine branch for HEAD [2020-06-18T18:22:48.864Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_snap/.git [2020-06-18T18:22:48.864Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_snap [2020-06-18T18:22:48.864Z] # $SEMVER_REMOTE_NAME = origin [2020-06-18T18:22:48.864Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-18T18:22:48.864Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-18T18:22:48.864Z] # $SEMVER_BRANCH = snap [2020-06-18T18:22:48.864Z] # $SEMVER_TEMP = /tmp/semver-055962543 [2020-06-18T18:22:48.864Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-06-18T18:22:49.814Z] # '/tmp/semver-055962543' -> '/w/workspace/edgexfoundry_device-rest-go_snap/.semver' [2020-06-18T18:22:49.814Z] # -> Force: false [2020-06-18T18:22:49.814Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_snap/.semver [Pipeline] } [2020-06-18T18:22:49.837Z] $ docker exec --env ******** --env ******** db76de8653dcca3dd1ae0dec1a9fc74d9ec09daca459e2c768b8913079844348 ssh-agent -k [2020-06-18T18:22:49.952Z] unset SSH_AUTH_SOCK; [2020-06-18T18:22:49.952Z] unset SSH_AGENT_PID; [2020-06-18T18:22:49.952Z] echo Agent pid 52 killed; [2020-06-18T18:22:49.985Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-18T18:22:50.349Z] + git semver [Pipeline] } [2020-06-18T18:22:50.377Z] $ docker stop --time=1 db76de8653dcca3dd1ae0dec1a9fc74d9ec09daca459e2c768b8913079844348 [2020-06-18T18:22:51.713Z] $ docker rm -f db76de8653dcca3dd1ae0dec1a9fc74d9ec09daca459e2c768b8913079844348 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-18T18:22:52.981Z] Stashed 24 file(s) [Pipeline] echo [2020-06-18T18:22:52.983Z] [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-18T18:23:08.142Z] Still waiting to schedule task [2020-06-18T18:23:08.142Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-06-18T18:23:08.143Z] Still waiting to schedule task [2020-06-18T18:23:08.143Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-06-18T18:24:12.259Z] Running on prd-centos7-docker-4c-2g-3600 in /w/workspace/edgexfoundry_device-rest-go_snap [Pipeline] { [Pipeline] ws [2020-06-18T18:24:12.284Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2020-06-18T18:24:14.712Z] using credential edgex-jenkins-ssh [2020-06-18T18:24:14.740Z] Cloning the remote Git repository [2020-06-18T18:24:14.740Z] Cloning with configured refspecs honoured and without tags [2020-06-18T18:24:14.616Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-06-18T18:24:14.690Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2020-06-18T18:24:14.742Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-18T18:24:14.742Z] > git --version # timeout=10 [2020-06-18T18:24:14.755Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-18T18:24:14.788Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 [2020-06-18T18:24:15.703Z] Fetching without tags [2020-06-18T18:24:16.098Z] Checking out Revision d86e0ec19fa4789cd7ee7ceff953a09417d716ae (snap) [2020-06-18T18:24:15.601Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-18T18:24:15.608Z] > git config --add remote.origin.fetch +refs/heads/snap:refs/remotes/origin/snap # timeout=10 [2020-06-18T18:24:15.619Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-18T18:24:15.633Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-18T18:24:15.633Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-18T18:24:15.638Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 [2020-06-18T18:24:16.065Z] > git config core.sparsecheckout # timeout=10 [2020-06-18T18:24:16.073Z] > git checkout -f d86e0ec19fa4789cd7ee7ceff953a09417d716ae # timeout=10 [2020-06-18T18:24:19.710Z] Commit message: "feat(device-rest): Add snap directory for device-rest Adds the snapcraft files for device rest" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-18T18:24:21.141Z] ========================================================= [2020-06-18T18:24:21.141Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-06-18T18:24:21.141Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-18T18:24:21.769Z] + 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-18T18:24:22.030Z] Sending build context to Docker daemon 8.04MB [2020-06-18T18:24:22.030Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-06-18T18:24:22.030Z] Step 2/10 : FROM ${BASE} [2020-06-18T18:24:22.293Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-06-18T18:24:22.293Z] e6b0cf9c0882: Pulling fs layer [2020-06-18T18:24:22.293Z] 2848faf0eed1: Pulling fs layer [2020-06-18T18:24:22.293Z] 0f37312ad70f: Pulling fs layer [2020-06-18T18:24:22.293Z] 5788d62ee057: Pulling fs layer [2020-06-18T18:24:22.293Z] 0e6b1d234666: Pulling fs layer [2020-06-18T18:24:22.293Z] bf5d7aec512f: Pulling fs layer [2020-06-18T18:24:22.293Z] 34c802a77dc8: Pulling fs layer [2020-06-18T18:24:22.293Z] 9eb99e56ec68: Pulling fs layer [2020-06-18T18:24:22.293Z] 27c7a5d97fbd: Pulling fs layer [2020-06-18T18:24:22.293Z] 5c102a31e300: Pulling fs layer [2020-06-18T18:24:22.293Z] dcfb455df0a1: Pulling fs layer [2020-06-18T18:24:22.293Z] 5788d62ee057: Waiting [2020-06-18T18:24:22.294Z] 0e6b1d234666: Waiting [2020-06-18T18:24:22.294Z] bf5d7aec512f: Waiting [2020-06-18T18:24:22.294Z] 34c802a77dc8: Waiting [2020-06-18T18:24:22.294Z] 5c102a31e300: Waiting [2020-06-18T18:24:22.294Z] 9eb99e56ec68: Waiting [2020-06-18T18:24:22.294Z] dcfb455df0a1: Waiting [2020-06-18T18:24:22.294Z] 27c7a5d97fbd: Waiting [2020-06-18T18:24:22.294Z] 0f37312ad70f: Verifying Checksum [2020-06-18T18:24:22.294Z] 0f37312ad70f: Download complete [2020-06-18T18:24:22.294Z] 2848faf0eed1: Verifying Checksum [2020-06-18T18:24:22.294Z] 2848faf0eed1: Download complete [2020-06-18T18:24:22.294Z] 0e6b1d234666: Verifying Checksum [2020-06-18T18:24:22.294Z] 0e6b1d234666: Download complete [2020-06-18T18:24:22.294Z] bf5d7aec512f: Verifying Checksum [2020-06-18T18:24:22.294Z] bf5d7aec512f: Download complete [2020-06-18T18:24:22.294Z] e6b0cf9c0882: Verifying Checksum [2020-06-18T18:24:22.294Z] e6b0cf9c0882: Download complete [2020-06-18T18:24:22.890Z] e6b0cf9c0882: Pull complete [2020-06-18T18:24:23.157Z] 34c802a77dc8: Verifying Checksum [2020-06-18T18:24:23.157Z] 34c802a77dc8: Download complete [2020-06-18T18:24:23.157Z] 27c7a5d97fbd: Verifying Checksum [2020-06-18T18:24:23.157Z] 27c7a5d97fbd: Download complete [2020-06-18T18:24:23.732Z] 5c102a31e300: Verifying Checksum [2020-06-18T18:24:23.732Z] 5c102a31e300: Download complete [2020-06-18T18:24:23.732Z] 9eb99e56ec68: Verifying Checksum [2020-06-18T18:24:23.732Z] 9eb99e56ec68: Download complete [2020-06-18T18:24:23.732Z] 5788d62ee057: Verifying Checksum [2020-06-18T18:24:23.732Z] 5788d62ee057: Download complete [2020-06-18T18:24:23.732Z] dcfb455df0a1: Verifying Checksum [2020-06-18T18:24:23.732Z] dcfb455df0a1: Download complete [2020-06-18T18:24:25.119Z] 2848faf0eed1: Pull complete [2020-06-18T18:24:25.119Z] 0f37312ad70f: Pull complete [2020-06-18T18:24:31.719Z] 5788d62ee057: Pull complete [2020-06-18T18:24:31.719Z] 0e6b1d234666: Pull complete [2020-06-18T18:24:31.719Z] bf5d7aec512f: Pull complete [2020-06-18T18:24:37.008Z] 34c802a77dc8: Pull complete [2020-06-18T18:24:39.576Z] 9eb99e56ec68: Pull complete [2020-06-18T18:24:39.576Z] 27c7a5d97fbd: Pull complete [2020-06-18T18:24:40.156Z] 5c102a31e300: Pull complete [2020-06-18T18:24:40.415Z] dcfb455df0a1: Pull complete [2020-06-18T18:24:40.415Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-06-18T18:24:40.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-06-18T18:24:40.415Z] ---> 7c70fe431013 [2020-06-18T18:24:40.415Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-06-18T18:24:40.963Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3599 in /w/workspace/edgexfoundry_device-rest-go_snap [Pipeline] { [Pipeline] ws [2020-06-18T18:24:40.987Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2020-06-18T18:24:42.337Z] ---> Running in f4a39095f9c2 [2020-06-18T18:24:42.337Z] Removing intermediate container f4a39095f9c2 [2020-06-18T18:24:42.337Z] ---> 2b5be24abe18 [2020-06-18T18:24:42.337Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-06-18T18:24:42.337Z] ---> Running in 8c8a445c8719 [2020-06-18T18:24:42.598Z] Removing intermediate container 8c8a445c8719 [2020-06-18T18:24:42.598Z] ---> 121d58e6955b [2020-06-18T18:24:42.598Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-18T18:24:42.598Z] ---> Running in d2d64b72e693 [2020-06-18T18:24:42.598Z] Removing intermediate container d2d64b72e693 [2020-06-18T18:24:42.598Z] ---> 593f6f67500a [2020-06-18T18:24:42.598Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-18T18:24:42.857Z] ---> Running in f45de7456077 [2020-06-18T18:24:44.239Z] Removing intermediate container f45de7456077 [2020-06-18T18:24:44.239Z] ---> e60a9d594d3a [2020-06-18T18:24:44.239Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-18T18:24:44.239Z] ---> Running in de6878acf82a [2020-06-18T18:24:44.811Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-18T18:24:45.381Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-18T18:24:45.950Z] OK: 143 MiB in 39 packages [2020-06-18T18:24:46.151Z] using credential edgex-jenkins-ssh [2020-06-18T18:24:46.183Z] Cloning the remote Git repository [2020-06-18T18:24:46.183Z] Cloning with configured refspecs honoured and without tags [2020-06-18T18:24:46.210Z] Removing intermediate container de6878acf82a [2020-06-18T18:24:46.210Z] ---> 0f886056e6c7 [2020-06-18T18:24:46.211Z] Step 8/10 : WORKDIR /device-rest-go [2020-06-18T18:24:46.211Z] ---> Running in 21ecea2964e6 [2020-06-18T18:24:46.471Z] Removing intermediate container 21ecea2964e6 [2020-06-18T18:24:46.471Z] ---> 6f168aa2e7b9 [2020-06-18T18:24:46.471Z] Step 9/10 : COPY . . [2020-06-18T18:24:47.053Z] ---> 8d1cf2d1f49e [2020-06-18T18:24:47.053Z] Step 10/10 : RUN go mod download [2020-06-18T18:24:47.053Z] ---> Running in eefcfa2b6e4e [2020-06-18T18:24:46.243Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-06-18T18:24:46.344Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2020-06-18T18:24:46.409Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-18T18:24:46.411Z] > git --version # timeout=10 [2020-06-18T18:24:46.430Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-18T18:24:46.499Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 [2020-06-18T18:24:48.345Z] Fetching without tags [2020-06-18T18:24:48.262Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-18T18:24:48.287Z] > git config --add remote.origin.fetch +refs/heads/snap:refs/remotes/origin/snap # timeout=10 [2020-06-18T18:24:48.331Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-18T18:24:48.363Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-18T18:24:48.363Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-18T18:24:48.375Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/snap:refs/remotes/origin/snap # timeout=10 [2020-06-18T18:24:48.864Z] Checking out Revision d86e0ec19fa4789cd7ee7ceff953a09417d716ae (snap) [2020-06-18T18:24:48.972Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-18T18:24:48.972Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-18T18:24:48.972Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-18T18:24:48.972Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-18T18:24:48.972Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-18T18:24:48.972Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-18T18:24:48.972Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-18T18:24:48.972Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-18T18:24:48.972Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-18T18:24:48.972Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-18T18:24:48.972Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-18T18:24:48.972Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-18T18:24:48.972Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-18T18:24:48.972Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-18T18:24:48.972Z] go: finding github.com/fatih/color v1.7.0 [2020-06-18T18:24:48.972Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-18T18:24:48.972Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-18T18:24:48.972Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-18T18:24:48.972Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-18T18:24:48.972Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-18T18:24:48.972Z] go: finding github.com/google/uuid v1.1.0 [2020-06-18T18:24:48.972Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-18T18:24:48.972Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-18T18:24:48.972Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-18T18:24:48.972Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-18T18:24:48.972Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-18T18:24:48.972Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-18T18:24:48.972Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-18T18:24:48.972Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-18T18:24:48.972Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-18T18:24:48.972Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-18T18:24:49.236Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-18T18:24:49.236Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-18T18:24:49.236Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-18T18:24:49.236Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-18T18:24:49.236Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-18T18:24:49.236Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-18T18:24:49.236Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-18T18:24:49.236Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-18T18:24:49.236Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-18T18:24:49.236Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-18T18:24:49.236Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-18T18:24:49.236Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-18T18:24:49.236Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-18T18:24:49.236Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-18T18:24:49.236Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-18T18:24:49.236Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-18T18:24:49.236Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-18T18:24:49.236Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-18T18:24:49.236Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-18T18:24:49.236Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-18T18:24:49.236Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-18T18:24:49.236Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-18T18:24:49.236Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-18T18:24:49.236Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-18T18:24:49.236Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-18T18:24:49.236Z] go: finding github.com/posener/complete v1.1.1 [2020-06-18T18:24:49.236Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-18T18:24:49.236Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-18T18:24:49.236Z] go: finding github.com/spf13/cast v1.3.0 [2020-06-18T18:24:49.236Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-18T18:24:49.236Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-18T18:24:49.236Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-18T18:24:49.236Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-18T18:24:49.236Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-18T18:24:49.496Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-18T18:24:49.496Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-18T18:24:49.496Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-18T18:24:49.496Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-18T18:24:49.496Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-18T18:24:48.887Z] > git config core.sparsecheckout # timeout=10 [2020-06-18T18:24:48.904Z] > git checkout -f d86e0ec19fa4789cd7ee7ceff953a09417d716ae # timeout=10 [2020-06-18T18:24:53.291Z] Commit message: "feat(device-rest): Add snap directory for device-rest Adds the snapcraft files for device rest" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-18T18:24:55.074Z] ========================================================= [2020-06-18T18:24:55.074Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-06-18T18:24:55.074Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-18T18:24:56.122Z] + 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-18T18:24:57.106Z] Sending build context to Docker daemon 8.04MB [2020-06-18T18:24:57.106Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-06-18T18:24:57.106Z] Step 2/10 : FROM ${BASE} [2020-06-18T18:24:57.382Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-06-18T18:24:57.382Z] cde5963f3b93: Pulling fs layer [2020-06-18T18:24:57.382Z] 2a23fa8c16f7: Pulling fs layer [2020-06-18T18:24:57.382Z] 777b28850792: Pulling fs layer [2020-06-18T18:24:57.382Z] 8a11ddd9e578: Pulling fs layer [2020-06-18T18:24:57.382Z] 4cf88f913ddb: Pulling fs layer [2020-06-18T18:24:57.382Z] 1df406cf5192: Pulling fs layer [2020-06-18T18:24:57.382Z] cd6300453558: Pulling fs layer [2020-06-18T18:24:57.382Z] b9c365052c96: Pulling fs layer [2020-06-18T18:24:57.382Z] a2d8cc88f415: Pulling fs layer [2020-06-18T18:24:57.382Z] ea1d1ca13537: Pulling fs layer [2020-06-18T18:24:57.382Z] 3750a50a1c5e: Pulling fs layer [2020-06-18T18:24:57.382Z] 4cf88f913ddb: Waiting [2020-06-18T18:24:57.382Z] 1df406cf5192: Waiting [2020-06-18T18:24:57.382Z] cd6300453558: Waiting [2020-06-18T18:24:57.382Z] ea1d1ca13537: Waiting [2020-06-18T18:24:57.382Z] b9c365052c96: Waiting [2020-06-18T18:24:57.382Z] 3750a50a1c5e: Waiting [2020-06-18T18:24:57.382Z] a2d8cc88f415: Waiting [2020-06-18T18:24:57.382Z] 8a11ddd9e578: Waiting [2020-06-18T18:24:57.382Z] 777b28850792: Verifying Checksum [2020-06-18T18:24:57.382Z] 777b28850792: Download complete [2020-06-18T18:24:57.382Z] 2a23fa8c16f7: Verifying Checksum [2020-06-18T18:24:57.382Z] 2a23fa8c16f7: Download complete [2020-06-18T18:24:57.382Z] 4cf88f913ddb: Verifying Checksum [2020-06-18T18:24:57.382Z] 4cf88f913ddb: Download complete [2020-06-18T18:24:57.383Z] 1df406cf5192: Verifying Checksum [2020-06-18T18:24:57.383Z] 1df406cf5192: Download complete [2020-06-18T18:24:57.383Z] cde5963f3b93: Verifying Checksum [2020-06-18T18:24:57.642Z] Removing intermediate container eefcfa2b6e4e [2020-06-18T18:24:57.642Z] ---> cfadb1d380c5 [2020-06-18T18:24:57.642Z] Successfully built cfadb1d380c5 [2020-06-18T18:24:57.642Z] 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-18T18:24:58.173Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-18T18:24:58.173Z] . [Pipeline] withDockerContainer [2020-06-18T18:24:58.268Z] prd-centos7-docker-4c-2g-3600 does not seem to be running inside a container [2020-06-18T18:24:58.308Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-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 ******** ci-base-image-x86_64 cat [2020-06-18T18:24:58.364Z] cde5963f3b93: Pull complete [2020-06-18T18:24:58.640Z] 2a23fa8c16f7: Pull complete [2020-06-18T18:24:59.244Z] cd6300453558: Verifying Checksum [2020-06-18T18:24:59.244Z] cd6300453558: Download complete [2020-06-18T18:24:59.244Z] a2d8cc88f415: Verifying Checksum [2020-06-18T18:24:59.244Z] a2d8cc88f415: Download complete [2020-06-18T18:24:59.244Z] 777b28850792: Pull complete [2020-06-18T18:24:59.389Z] $ docker top 761c6380a971b4fe6820546c25ace395c2009e68447a5ee1d09e7a06a19dde3a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-18T18:24:59.808Z] + go version [2020-06-18T18:24:59.808Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-06-18T18:25:00.106Z] + make test [2020-06-18T18:25:00.106Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-18T18:25:00.690Z] ea1d1ca13537: Verifying Checksum [2020-06-18T18:25:00.690Z] ea1d1ca13537: Download complete [2020-06-18T18:25:00.690Z] 3750a50a1c5e: Verifying Checksum [2020-06-18T18:25:00.690Z] 3750a50a1c5e: Download complete [2020-06-18T18:25:01.500Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-06-18T18:25:02.131Z] b9c365052c96: Verifying Checksum [2020-06-18T18:25:02.131Z] b9c365052c96: Download complete [2020-06-18T18:25:03.136Z] 8a11ddd9e578: Verifying Checksum [2020-06-18T18:25:03.136Z] 8a11ddd9e578: Download complete [2020-06-18T18:25:11.616Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-06-18T18:25:11.616Z] ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 56.3% of statements [2020-06-18T18:25:11.616Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-18T18:25:13.004Z] gofmt -l . [2020-06-18T18:25:13.004Z] [ "`gofmt -l .`" = "" ] [2020-06-18T18:25:13.004Z] ./bin/test-go-mod-tidy.sh [2020-06-18T18:25:13.269Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-06-18T18:25:13.733Z] Stashed 1 file(s) [Pipeline] } [2020-06-18T18:25:13.740Z] $ docker stop --time=1 761c6380a971b4fe6820546c25ace395c2009e68447a5ee1d09e7a06a19dde3a [2020-06-18T18:25:15.551Z] 8a11ddd9e578: Pull complete [2020-06-18T18:25:15.551Z] 4cf88f913ddb: Pull complete [2020-06-18T18:25:15.551Z] 1df406cf5192: Pull complete [2020-06-18T18:25:15.888Z] $ docker rm -f 761c6380a971b4fe6820546c25ace395c2009e68447a5ee1d09e7a06a19dde3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-18T18:25:16.727Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-18T18:25:17.024Z] + ls -al . [2020-06-18T18:25:17.024Z] total 96 [2020-06-18T18:25:17.024Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 18 18:25 . [2020-06-18T18:25:17.024Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 18 18:24 .. [2020-06-18T18:25:17.024Z] -rw-rw-r--. 1 jenkins jenkins 4802 Jun 18 18:24 Attribution.txt [2020-06-18T18:25:17.024Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 18 18:24 bin [2020-06-18T18:25:17.024Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 18 18:24 cmd [2020-06-18T18:25:17.024Z] -rw-r--r--. 1 jenkins jenkins 9369 Jun 18 18:25 coverage.out [2020-06-18T18:25:17.024Z] -rw-rw-r--. 1 jenkins jenkins 1504 Jun 18 18:24 Dockerfile [2020-06-18T18:25:17.024Z] -rw-rw-r--. 1 jenkins jenkins 989 Jun 18 18:24 Dockerfile.build [2020-06-18T18:25:17.024Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 18 18:24 .dockerignore [2020-06-18T18:25:17.024Z] drwxrwxr-x. 2 jenkins jenkins 93 Jun 18 18:25 driver [2020-06-18T18:25:17.024Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 18 18:24 .git [2020-06-18T18:25:17.024Z] -rw-rw-r--. 1 jenkins jenkins 339 Jun 18 18:24 .gitignore [2020-06-18T18:25:17.024Z] -rw-r--r--. 1 jenkins jenkins 266 Jun 18 18:25 go.mod [2020-06-18T18:25:17.024Z] -rw-r--r--. 1 jenkins jenkins 12533 Jun 18 18:25 go.sum [2020-06-18T18:25:17.024Z] -rw-rw-r--. 1 jenkins jenkins 702 Jun 18 18:24 Jenkinsfile [2020-06-18T18:25:17.024Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 18 18:24 LICENSE [2020-06-18T18:25:17.024Z] -rw-rw-r--. 1 jenkins jenkins 951 Jun 18 18:24 Makefile [2020-06-18T18:25:17.024Z] -rw-rw-r--. 1 jenkins jenkins 5716 Jun 18 18:24 README.md [2020-06-18T18:25:17.024Z] drwxrwxr-x. 3 jenkins jenkins 44 Jun 18 18:24 .semver [2020-06-18T18:25:17.024Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 18 18:24 snap [2020-06-18T18:25:17.024Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 18 18:22 VERSION [2020-06-18T18:25:17.024Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 18 18:24 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-18T18:25:17.327Z] + 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=d86e0ec19fa4789cd7ee7ceff953a09417d716ae --label arch=amd64 --label version=0.0.0 . [2020-06-18T18:25:17.327Z] Sending build context to Docker daemon 8.052MB [2020-06-18T18:25:17.327Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-06-18T18:25:17.327Z] Step 2/24 : FROM ${BASE} AS builder [2020-06-18T18:25:17.327Z] ---> cfadb1d380c5 [2020-06-18T18:25:17.327Z] Step 3/24 : ARG MAKE='make build' [2020-06-18T18:25:17.588Z] ---> Running in a38ea0cdee86 [2020-06-18T18:25:17.849Z] Removing intermediate container a38ea0cdee86 [2020-06-18T18:25:17.849Z] ---> 1e1b139a9b5d [2020-06-18T18:25:17.849Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-06-18T18:25:17.849Z] ---> Running in d6fe7f368a33 [2020-06-18T18:25:17.849Z] Removing intermediate container d6fe7f368a33 [2020-06-18T18:25:17.849Z] ---> f75533d82891 [2020-06-18T18:25:17.849Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-06-18T18:25:17.849Z] ---> Running in 74b3dacef47d [2020-06-18T18:25:18.110Z] Removing intermediate container 74b3dacef47d [2020-06-18T18:25:18.110Z] ---> 084930e655e1 [2020-06-18T18:25:18.110Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-18T18:25:18.110Z] ---> Running in cd3538436ed4 [2020-06-18T18:25:19.058Z] Removing intermediate container cd3538436ed4 [2020-06-18T18:25:19.058Z] ---> a47d58bae4d8 [2020-06-18T18:25:19.058Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-18T18:25:19.058Z] ---> Running in b5a8b99f3742 [2020-06-18T18:25:19.630Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-18T18:25:19.878Z] cd6300453558: Pull complete [2020-06-18T18:25:20.200Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-18T18:25:20.461Z] OK: 143 MiB in 39 packages [2020-06-18T18:25:21.034Z] Removing intermediate container b5a8b99f3742 [2020-06-18T18:25:21.034Z] ---> fe454951af03 [2020-06-18T18:25:21.034Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-06-18T18:25:21.034Z] ---> Running in 25d967fc2d40 [2020-06-18T18:25:21.294Z] Removing intermediate container 25d967fc2d40 [2020-06-18T18:25:21.294Z] ---> 00e15ecd7476 [2020-06-18T18:25:21.294Z] Step 9/24 : COPY go.mod . [2020-06-18T18:25:21.294Z] ---> 8d9d1eaed1c3 [2020-06-18T18:25:21.294Z] Step 10/24 : COPY Makefile . [2020-06-18T18:25:21.556Z] ---> 7def4265c157 [2020-06-18T18:25:21.556Z] Step 11/24 : RUN make update [2020-06-18T18:25:21.556Z] ---> Running in c10e4e022881 [2020-06-18T18:25:22.130Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-06-18T18:25:22.710Z] Removing intermediate container c10e4e022881 [2020-06-18T18:25:22.710Z] ---> 24777587dee4 [2020-06-18T18:25:22.710Z] Step 12/24 : COPY . . [2020-06-18T18:25:22.973Z] ---> 1f56c6c6f38d [2020-06-18T18:25:22.973Z] Step 13/24 : RUN $MAKE [2020-06-18T18:25:23.234Z] ---> Running in 569f8bb3cc4e [2020-06-18T18:25:23.495Z] 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-18T18:25:24.184Z] b9c365052c96: Pull complete [2020-06-18T18:25:24.458Z] a2d8cc88f415: Pull complete [2020-06-18T18:25:26.434Z] ea1d1ca13537: Pull complete [2020-06-18T18:25:26.706Z] 3750a50a1c5e: Pull complete [2020-06-18T18:25:26.706Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-06-18T18:25:26.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-06-18T18:25:26.706Z] ---> 78745c68409d [2020-06-18T18:25:26.706Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-06-18T18:25:32.110Z] ---> Running in 72db0ac8250a [2020-06-18T18:25:32.382Z] Removing intermediate container 72db0ac8250a [2020-06-18T18:25:32.382Z] ---> c06dbdbdd831 [2020-06-18T18:25:32.382Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-06-18T18:25:32.654Z] ---> Running in dcc12a3de46e [2020-06-18T18:25:32.926Z] Removing intermediate container dcc12a3de46e [2020-06-18T18:25:32.926Z] ---> 78da6f86f635 [2020-06-18T18:25:32.926Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-18T18:25:33.198Z] ---> Running in 8431c9d2ac43 [2020-06-18T18:25:33.469Z] Removing intermediate container 8431c9d2ac43 [2020-06-18T18:25:33.469Z] ---> 782c170c4ab3 [2020-06-18T18:25:33.469Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-18T18:25:33.740Z] ---> Running in c58040113242 [2020-06-18T18:25:35.809Z] Removing intermediate container 569f8bb3cc4e [2020-06-18T18:25:35.809Z] ---> b8915c2620ec [2020-06-18T18:25:35.809Z] Step 14/24 : FROM alpine:latest [2020-06-18T18:25:35.809Z] latest: Pulling from library/alpine [2020-06-18T18:25:35.809Z] df20fa9351a1: Pulling fs layer [2020-06-18T18:25:35.809Z] df20fa9351a1: Verifying Checksum [2020-06-18T18:25:35.809Z] df20fa9351a1: Download complete [2020-06-18T18:25:35.809Z] df20fa9351a1: Pull complete [2020-06-18T18:25:35.809Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-18T18:25:35.809Z] Status: Downloaded newer image for alpine:latest [2020-06-18T18:25:35.809Z] ---> a24bb4013296 [2020-06-18T18:25:35.809Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-18T18:25:35.809Z] ---> Running in 9e5d6d0f4111 [2020-06-18T18:25:35.809Z] Removing intermediate container 9e5d6d0f4111 [2020-06-18T18:25:35.809Z] ---> d06ba27c9982 [2020-06-18T18:25:35.809Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-06-18T18:25:35.809Z] ---> Running in 3fa4af974c99 [2020-06-18T18:25:35.809Z] Removing intermediate container 3fa4af974c99 [2020-06-18T18:25:35.809Z] ---> 20ac7f915b8c [2020-06-18T18:25:35.809Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-06-18T18:25:35.809Z] ---> 701afdfdbf78 [2020-06-18T18:25:35.809Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-06-18T18:25:35.809Z] ---> 96bff46f828c [2020-06-18T18:25:35.809Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-06-18T18:25:36.360Z] Removing intermediate container c58040113242 [2020-06-18T18:25:36.361Z] ---> 4ab16f56128c [2020-06-18T18:25:36.361Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-18T18:25:36.361Z] ---> Running in 238abb4601c1 [2020-06-18T18:25:36.380Z] ---> 3286f87b80fe [2020-06-18T18:25:36.380Z] Step 20/24 : EXPOSE 49986 [2020-06-18T18:25:36.643Z] ---> Running in d3ea542c7b3d [2020-06-18T18:25:36.643Z] Removing intermediate container d3ea542c7b3d [2020-06-18T18:25:36.643Z] ---> b17c95671f43 [2020-06-18T18:25:36.643Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-06-18T18:25:36.643Z] ---> Running in 157167d04bff [2020-06-18T18:25:36.903Z] Removing intermediate container 157167d04bff [2020-06-18T18:25:36.903Z] ---> adb3e4ab27d3 [2020-06-18T18:25:36.903Z] Step 22/24 : LABEL arch=amd64 [2020-06-18T18:25:36.903Z] ---> Running in f46d17342a20 [2020-06-18T18:25:37.164Z] Removing intermediate container f46d17342a20 [2020-06-18T18:25:37.164Z] ---> 1b4842ea0453 [2020-06-18T18:25:37.164Z] Step 23/24 : LABEL git_sha=d86e0ec19fa4789cd7ee7ceff953a09417d716ae [2020-06-18T18:25:37.164Z] ---> Running in f52eabee714a [2020-06-18T18:25:37.424Z] Removing intermediate container f52eabee714a [2020-06-18T18:25:37.424Z] ---> 9cddd140a3f8 [2020-06-18T18:25:37.424Z] Step 24/24 : LABEL version=0.0.0 [2020-06-18T18:25:37.424Z] ---> Running in 6630a1be774a [2020-06-18T18:25:37.424Z] Removing intermediate container 6630a1be774a [2020-06-18T18:25:37.424Z] ---> a4acbe3e2f27 [2020-06-18T18:25:37.424Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-18T18:25:37.424Z] Successfully built a4acbe3e2f27 [2020-06-18T18:25:37.424Z] 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 [2020-06-18T18:25:37.790Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-06-18T18:25:38.767Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-18T18:25:39.038Z] OK: 125 MiB in 39 packages [2020-06-18T18:25:40.017Z] Removing intermediate container 238abb4601c1 [2020-06-18T18:25:40.017Z] ---> 02cbc95611e4 [2020-06-18T18:25:40.017Z] Step 8/10 : WORKDIR /device-rest-go [2020-06-18T18:25:40.293Z] ---> Running in 27d186477ce7 [2020-06-18T18:25:40.887Z] Removing intermediate container 27d186477ce7 [2020-06-18T18:25:40.887Z] ---> 6844bc99c0e0 [2020-06-18T18:25:40.887Z] Step 9/10 : COPY . . [2020-06-18T18:25:41.862Z] ---> 838067c6d1a1 [2020-06-18T18:25:41.862Z] Step 10/10 : RUN go mod download [2020-06-18T18:25:42.133Z] ---> Running in 07312b436338 [2020-06-18T18:25:44.754Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-18T18:25:44.754Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-18T18:25:44.754Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-18T18:25:44.754Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-18T18:25:44.754Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-18T18:25:44.754Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-18T18:25:44.754Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-18T18:25:44.754Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-18T18:25:44.754Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-18T18:25:44.754Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-18T18:25:44.754Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-18T18:25:44.754Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-18T18:25:44.754Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-18T18:25:44.754Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-18T18:25:44.754Z] go: finding github.com/fatih/color v1.7.0 [2020-06-18T18:25:44.754Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-18T18:25:44.754Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-18T18:25:44.754Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-18T18:25:44.754Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-18T18:25:44.754Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-18T18:25:44.754Z] go: finding github.com/google/uuid v1.1.0 [2020-06-18T18:25:44.754Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-18T18:25:44.754Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-18T18:25:44.754Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-18T18:25:44.754Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-18T18:25:44.754Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-18T18:25:44.754Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-18T18:25:44.754Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-18T18:25:44.754Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-18T18:25:44.754Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-18T18:25:44.754Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-18T18:25:44.754Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-18T18:25:44.754Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-18T18:25:44.754Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-18T18:25:44.754Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-18T18:25:44.754Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-18T18:25:44.754Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-18T18:25:44.754Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-18T18:25:44.754Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-18T18:25:44.754Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-18T18:25:44.754Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-18T18:25:44.754Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-18T18:25:44.754Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-18T18:25:44.754Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-18T18:25:44.754Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-18T18:25:44.754Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-18T18:25:44.754Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-18T18:25:44.754Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-18T18:25:44.754Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-18T18:25:45.028Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-18T18:25:45.028Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-18T18:25:45.028Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-18T18:25:45.028Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-18T18:25:45.028Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-18T18:25:45.028Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-18T18:25:45.028Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-18T18:25:45.028Z] go: finding github.com/posener/complete v1.1.1 [2020-06-18T18:25:45.028Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-18T18:25:45.028Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-18T18:25:45.028Z] go: finding github.com/spf13/cast v1.3.0 [2020-06-18T18:25:45.028Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-18T18:25:45.028Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-18T18:25:45.028Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-18T18:25:45.028Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-18T18:25:45.028Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-18T18:25:45.028Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-18T18:25:45.028Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-18T18:25:45.028Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-18T18:25:45.028Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-18T18:25:45.028Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-18T18:25:55.191Z] Removing intermediate container 07312b436338 [2020-06-18T18:25:55.191Z] ---> f529b0e8506c [2020-06-18T18:25:55.191Z] Successfully built f529b0e8506c [2020-06-18T18:25:55.191Z] 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-18T18:25:55.770Z] + docker inspect -f . ci-base-image-arm64 [2020-06-18T18:25:55.770Z] . [Pipeline] withDockerContainer [2020-06-18T18:25:56.048Z] prd-ubuntu18.04-docker-arm64-4c-16g-3599 does not seem to be running inside a container [2020-06-18T18:25:56.141Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-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 ******** ci-base-image-arm64 cat [2020-06-18T18:25:57.890Z] $ docker top 19a4d19dd4384a13f2a4c63c8c880cde8646f45f06d73c47d4c45e14930c9527 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-18T18:25:59.250Z] + go version [2020-06-18T18:25:59.250Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-06-18T18:26:00.292Z] + make test [2020-06-18T18:26:00.292Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-18T18:26:01.277Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-06-18T18:26:33.635Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-06-18T18:26:33.635Z] ok github.com/edgexfoundry/device-rest-go/driver 0.042s coverage: 56.3% of statements [2020-06-18T18:26:33.635Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-18T18:26:37.028Z] gofmt -l . [2020-06-18T18:26:37.028Z] [ "`gofmt -l .`" = "" ] [2020-06-18T18:26:37.028Z] ./bin/test-go-mod-tidy.sh [2020-06-18T18:26:37.301Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-06-18T18:26:37.913Z] Warning: overwriting stash ‘coverage-report’ [2020-06-18T18:26:38.295Z] Stashed 1 file(s) [Pipeline] } [2020-06-18T18:26:38.302Z] $ docker stop --time=1 19a4d19dd4384a13f2a4c63c8c880cde8646f45f06d73c47d4c45e14930c9527 [2020-06-18T18:26:40.407Z] $ docker rm -f 19a4d19dd4384a13f2a4c63c8c880cde8646f45f06d73c47d4c45e14930c9527 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-18T18:26:41.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-18T18:26:41.739Z] + ls -al . [2020-06-18T18:26:41.739Z] total 124 [2020-06-18T18:26:41.739Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 18:26 . [2020-06-18T18:26:41.739Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 18:24 .. [2020-06-18T18:26:41.739Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 18 18:24 .dockerignore [2020-06-18T18:26:41.740Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 18:24 .git [2020-06-18T18:26:41.740Z] -rw-rw-r-- 1 jenkins jenkins 339 Jun 18 18:24 .gitignore [2020-06-18T18:26:41.740Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 18:24 .semver [2020-06-18T18:26:41.740Z] -rw-rw-r-- 1 jenkins jenkins 4802 Jun 18 18:24 Attribution.txt [2020-06-18T18:26:41.740Z] -rw-rw-r-- 1 jenkins jenkins 1504 Jun 18 18:24 Dockerfile [2020-06-18T18:26:41.740Z] -rw-rw-r-- 1 jenkins jenkins 989 Jun 18 18:24 Dockerfile.build [2020-06-18T18:26:41.740Z] -rw-rw-r-- 1 jenkins jenkins 702 Jun 18 18:24 Jenkinsfile [2020-06-18T18:26:41.740Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 18 18:24 LICENSE [2020-06-18T18:26:41.740Z] -rw-rw-r-- 1 jenkins jenkins 951 Jun 18 18:24 Makefile [2020-06-18T18:26:41.740Z] -rw-rw-r-- 1 jenkins jenkins 5716 Jun 18 18:24 README.md [2020-06-18T18:26:41.740Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 18 18:22 VERSION [2020-06-18T18:26:41.740Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 18:24 bin [2020-06-18T18:26:41.740Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 18:24 cmd [2020-06-18T18:26:41.740Z] -rw-r--r-- 1 jenkins jenkins 9369 Jun 18 18:26 coverage.out [2020-06-18T18:26:41.740Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 18:26 driver [2020-06-18T18:26:41.740Z] -rw-r--r-- 1 jenkins jenkins 266 Jun 18 18:26 go.mod [2020-06-18T18:26:41.740Z] -rw-r--r-- 1 jenkins jenkins 12533 Jun 18 18:26 go.sum [2020-06-18T18:26:41.740Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 18:24 snap [2020-06-18T18:26:41.740Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 18 18:24 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-18T18:26:42.084Z] + 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=d86e0ec19fa4789cd7ee7ceff953a09417d716ae --label arch=arm64 --label version=0.0.0 . [2020-06-18T18:26:42.366Z] Sending build context to Docker daemon 8.052MB [2020-06-18T18:26:42.642Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-06-18T18:26:42.642Z] Step 2/24 : FROM ${BASE} AS builder [2020-06-18T18:26:42.642Z] ---> f529b0e8506c [2020-06-18T18:26:42.642Z] Step 3/24 : ARG MAKE='make build' [2020-06-18T18:26:42.642Z] ---> Running in d8cfa5063e98 [2020-06-18T18:26:43.239Z] Removing intermediate container d8cfa5063e98 [2020-06-18T18:26:43.239Z] ---> 3188f70ed9ff [2020-06-18T18:26:43.239Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-06-18T18:26:43.239Z] ---> Running in c5d3a0c617a7 [2020-06-18T18:26:43.858Z] Removing intermediate container c5d3a0c617a7 [2020-06-18T18:26:43.858Z] ---> b4d5849a2153 [2020-06-18T18:26:43.858Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-06-18T18:26:43.858Z] ---> Running in 46147a10b68e [2020-06-18T18:26:44.454Z] Removing intermediate container 46147a10b68e [2020-06-18T18:26:44.454Z] ---> 6c1cb059f14f [2020-06-18T18:26:44.454Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-18T18:26:44.454Z] ---> Running in 4e147e1efcfc [2020-06-18T18:26:47.069Z] Removing intermediate container 4e147e1efcfc [2020-06-18T18:26:47.069Z] ---> c9dde4b2157d [2020-06-18T18:26:47.069Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-18T18:26:47.069Z] ---> Running in c7263dcc5eb9 [2020-06-18T18:26:48.046Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-18T18:26:49.019Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-18T18:26:49.614Z] OK: 125 MiB in 39 packages [2020-06-18T18:26:50.611Z] Removing intermediate container c7263dcc5eb9 [2020-06-18T18:26:50.611Z] ---> 8007536d4376 [2020-06-18T18:26:50.611Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-06-18T18:26:50.885Z] ---> Running in 61378882d3ee [2020-06-18T18:26:51.170Z] Removing intermediate container 61378882d3ee [2020-06-18T18:26:51.170Z] ---> 24db0a9a0296 [2020-06-18T18:26:51.170Z] Step 9/24 : COPY go.mod . [2020-06-18T18:26:52.145Z] ---> ed335c9bcd26 [2020-06-18T18:26:52.145Z] Step 10/24 : COPY Makefile . [2020-06-18T18:26:52.739Z] ---> 9b75a8ccf8a6 [2020-06-18T18:26:52.739Z] Step 11/24 : RUN make update [2020-06-18T18:26:52.739Z] ---> Running in 3695e897a529 [2020-06-18T18:26:54.171Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-06-18T18:26:55.205Z] Removing intermediate container 3695e897a529 [2020-06-18T18:26:55.205Z] ---> fe366b3faf18 [2020-06-18T18:26:55.205Z] Step 12/24 : COPY . . [2020-06-18T18:26:56.646Z] ---> 4714dce85f1c [2020-06-18T18:26:56.646Z] Step 13/24 : RUN $MAKE [2020-06-18T18:26:56.646Z] ---> Running in 40c7e7ece201 [2020-06-18T18:26:58.093Z] 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-18T18:27:24.923Z] Removing intermediate container 40c7e7ece201 [2020-06-18T18:27:24.923Z] ---> c1e032a2c952 [2020-06-18T18:27:24.923Z] Step 14/24 : FROM alpine:latest [2020-06-18T18:27:24.923Z] latest: Pulling from library/alpine [2020-06-18T18:27:24.923Z] b538f80385f9: Pulling fs layer [2020-06-18T18:27:24.923Z] b538f80385f9: Verifying Checksum [2020-06-18T18:27:24.923Z] b538f80385f9: Download complete [2020-06-18T18:27:25.198Z] b538f80385f9: Pull complete [2020-06-18T18:27:25.198Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-18T18:27:25.198Z] Status: Downloaded newer image for alpine:latest [2020-06-18T18:27:25.198Z] ---> 62ee0e9f8440 [2020-06-18T18:27:25.198Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-18T18:27:25.470Z] ---> Running in 39a463f5b9c5 [2020-06-18T18:27:25.743Z] Removing intermediate container 39a463f5b9c5 [2020-06-18T18:27:25.743Z] ---> 8a4d221dc583 [2020-06-18T18:27:25.743Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-06-18T18:27:26.019Z] ---> Running in bc5a786723e5 [2020-06-18T18:27:26.293Z] Removing intermediate container bc5a786723e5 [2020-06-18T18:27:26.293Z] ---> 1d85a57815e8 [2020-06-18T18:27:26.293Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-06-18T18:27:27.267Z] ---> c893b4d8ed3b [2020-06-18T18:27:27.267Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-06-18T18:27:27.867Z] ---> 950d2fdb3c74 [2020-06-18T18:27:27.867Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-06-18T18:27:29.297Z] ---> d723976edf9e [2020-06-18T18:27:29.297Z] Step 20/24 : EXPOSE 49986 [2020-06-18T18:27:29.297Z] ---> Running in 056a4b1c9349 [2020-06-18T18:27:29.897Z] Removing intermediate container 056a4b1c9349 [2020-06-18T18:27:29.897Z] ---> f568cd10f311 [2020-06-18T18:27:29.897Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-06-18T18:27:29.897Z] ---> Running in 2a868e26be21 [2020-06-18T18:27:30.494Z] Removing intermediate container 2a868e26be21 [2020-06-18T18:27:30.494Z] ---> 15b108832f85 [2020-06-18T18:27:30.494Z] Step 22/24 : LABEL arch=arm64 [2020-06-18T18:27:30.494Z] ---> Running in 6839eff2cdb1 [2020-06-18T18:27:31.090Z] Removing intermediate container 6839eff2cdb1 [2020-06-18T18:27:31.090Z] ---> 75d9545e397a [2020-06-18T18:27:31.090Z] Step 23/24 : LABEL git_sha=d86e0ec19fa4789cd7ee7ceff953a09417d716ae [2020-06-18T18:27:31.090Z] ---> Running in f09330a19c91 [2020-06-18T18:27:31.362Z] Removing intermediate container f09330a19c91 [2020-06-18T18:27:31.362Z] ---> 819d4a366a6c [2020-06-18T18:27:31.362Z] Step 24/24 : LABEL version=0.0.0 [2020-06-18T18:27:31.636Z] ---> Running in c1e70febc41f [2020-06-18T18:27:31.913Z] Removing intermediate container c1e70febc41f [2020-06-18T18:27:31.913Z] ---> 5e46cb9b0312 [2020-06-18T18:27:31.913Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-18T18:27:31.913Z] Successfully built 5e46cb9b0312 [2020-06-18T18:27:31.913Z] 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-18T18:27:32.581Z] provisioning config files... [2020-06-18T18:27:32.592Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_snap@tmp/config8996122317047593087tmp [Pipeline] { [Pipeline] sh [2020-06-18T18:27:32.911Z] + curl -s https://codecov.io/bash [2020-06-18T18:27:32.912Z] + bash -s - -t @/w/workspace/edgexfoundry_device-rest-go_snap@tmp/config8996122317047593087tmp [2020-06-18T18:27:33.484Z] [2020-06-18T18:27:33.484Z] _____ _ [2020-06-18T18:27:33.484Z] / ____| | | [2020-06-18T18:27:33.484Z] | | ___ __| | ___ ___ _____ __ [2020-06-18T18:27:33.484Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-06-18T18:27:33.484Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-06-18T18:27:33.484Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-06-18T18:27:33.484Z] Bash-20200602-f809a24 [2020-06-18T18:27:33.484Z] [2020-06-18T18:27:33.484Z] [2020-06-18T18:27:33.484Z] ==> Jenkins CI detected. [2020-06-18T18:27:33.484Z] project root: . [2020-06-18T18:27:33.484Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-06-18T18:27:33.484Z] ==> Running gcov in . (disable via -X gcov) [2020-06-18T18:27:33.484Z] ==> Python coveragepy not found [2020-06-18T18:27:33.484Z] ==> Searching for coverage reports in: [2020-06-18T18:27:33.484Z] + . [2020-06-18T18:27:33.484Z] -> Found 1 reports [2020-06-18T18:27:33.484Z] ==> Detecting git/mercurial file structure [2020-06-18T18:27:33.484Z] ==> Reading reports [2020-06-18T18:27:33.484Z] + ./coverage.out bytes=9369 [2020-06-18T18:27:33.484Z] ==> Appending adjustments [2020-06-18T18:27:33.484Z] https://docs.codecov.io/docs/fixing-reports [2020-06-18T18:27:33.484Z] + Found adjustments [2020-06-18T18:27:33.484Z] ==> Gzipping contents [2020-06-18T18:27:33.484Z] ==> Uploading reports [2020-06-18T18:27:33.484Z] url: https://codecov.io [2020-06-18T18:27:33.484Z] query: branch=snap&commit=d86e0ec19fa4789cd7ee7ceff953a09417d716ae&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fsnap%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= [2020-06-18T18:27:33.484Z] -> Pinging Codecov [2020-06-18T18:27:33.485Z] https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=snap&commit=d86e0ec19fa4789cd7ee7ceff953a09417d716ae&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fsnap%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= [2020-06-18T18:27:34.054Z] -> Uploading [2020-06-18T18:27:34.626Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/d86e0ec19fa4789cd7ee7ceff953a09417d716ae [Pipeline] } [2020-06-18T18:27:34.635Z] 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-18T18:27:35.465Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-18T18:27:36.025Z] ---> package-listing.sh [2020-06-18T18:27:36.025Z] ++ facter osfamily [2020-06-18T18:27:36.025Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-18T18:27:36.025Z] + OS_FAMILY=redhat [2020-06-18T18:27:36.025Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_snap [2020-06-18T18:27:36.025Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-18T18:27:36.025Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-18T18:27:36.025Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-18T18:27:36.025Z] + PACKAGES=/tmp/packages_start.txt [2020-06-18T18:27:36.025Z] + '[' /w/workspace/edgexfoundry_device-rest-go_snap ']' [2020-06-18T18:27:36.025Z] + PACKAGES=/tmp/packages_end.txt [2020-06-18T18:27:36.025Z] + case "${OS_FAMILY}" in [2020-06-18T18:27:36.025Z] + rpm -qa [2020-06-18T18:27:36.025Z] + sort [2020-06-18T18:27:40.239Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-18T18:27:40.239Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-18T18:27:40.239Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-18T18:27:40.239Z] + '[' /w/workspace/edgexfoundry_device-rest-go_snap ']' [2020-06-18T18:27:40.239Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_snap/archives/ [2020-06-18T18:27:40.239Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_snap/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-18T18:27:40.625Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-18T18:27:40.626Z] [2020-06-18T18:27:40.626Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-18T18:27:40.960Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-18T18:27:40.960Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-18T18:27:40.960Z] c9b1b535fdd9: Pulling fs layer [2020-06-18T18:27:40.960Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-18T18:27:40.960Z] 756a868c4378: Pulling fs layer [2020-06-18T18:27:40.960Z] 444b2fc9a129: Pulling fs layer [2020-06-18T18:27:40.960Z] ea15f1150254: Pulling fs layer [2020-06-18T18:27:40.960Z] 41b27a9f41bf: Pulling fs layer [2020-06-18T18:27:40.960Z] 28c525ee5125: Pulling fs layer [2020-06-18T18:27:40.960Z] 094b1ea09ed8: Pulling fs layer [2020-06-18T18:27:40.960Z] 138eaada9080: Pulling fs layer [2020-06-18T18:27:40.960Z] 0622d0fa9048: Pulling fs layer [2020-06-18T18:27:40.960Z] 28c525ee5125: Waiting [2020-06-18T18:27:40.960Z] 094b1ea09ed8: Waiting [2020-06-18T18:27:40.960Z] 0622d0fa9048: Waiting [2020-06-18T18:27:40.960Z] 444b2fc9a129: Waiting [2020-06-18T18:27:40.960Z] ea15f1150254: Waiting [2020-06-18T18:27:40.960Z] 41b27a9f41bf: Waiting [2020-06-18T18:27:40.960Z] 138eaada9080: Waiting [2020-06-18T18:27:40.960Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-18T18:27:40.960Z] 2cc5ad85d9ab: Download complete [2020-06-18T18:27:40.960Z] 444b2fc9a129: Verifying Checksum [2020-06-18T18:27:40.960Z] 444b2fc9a129: Download complete [2020-06-18T18:27:40.960Z] c9b1b535fdd9: Verifying Checksum [2020-06-18T18:27:40.960Z] c9b1b535fdd9: Download complete [2020-06-18T18:27:40.960Z] ea15f1150254: Verifying Checksum [2020-06-18T18:27:40.960Z] ea15f1150254: Download complete [2020-06-18T18:27:41.223Z] 28c525ee5125: Verifying Checksum [2020-06-18T18:27:41.223Z] 28c525ee5125: Download complete [2020-06-18T18:27:41.223Z] 756a868c4378: Verifying Checksum [2020-06-18T18:27:41.223Z] 756a868c4378: Download complete [2020-06-18T18:27:41.484Z] c9b1b535fdd9: Pull complete [2020-06-18T18:27:41.484Z] 138eaada9080: Verifying Checksum [2020-06-18T18:27:41.484Z] 138eaada9080: Download complete [2020-06-18T18:27:41.484Z] 0622d0fa9048: Download complete [2020-06-18T18:27:41.484Z] 094b1ea09ed8: Verifying Checksum [2020-06-18T18:27:41.484Z] 094b1ea09ed8: Download complete [2020-06-18T18:27:41.746Z] 2cc5ad85d9ab: Pull complete [2020-06-18T18:27:42.008Z] 41b27a9f41bf: Verifying Checksum [2020-06-18T18:27:42.008Z] 41b27a9f41bf: Download complete [2020-06-18T18:27:42.959Z] 756a868c4378: Pull complete [2020-06-18T18:27:43.219Z] 444b2fc9a129: Pull complete [2020-06-18T18:27:43.479Z] ea15f1150254: Pull complete [2020-06-18T18:27:47.687Z] 41b27a9f41bf: Pull complete [2020-06-18T18:27:47.687Z] 28c525ee5125: Pull complete [2020-06-18T18:27:49.600Z] 094b1ea09ed8: Pull complete [2020-06-18T18:27:50.539Z] 138eaada9080: Pull complete [2020-06-18T18:27:50.799Z] 0622d0fa9048: Pull complete [2020-06-18T18:27:50.799Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-18T18:27:50.799Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-18T18:27:50.799Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-18T18:27:50.953Z] prd-centos7-docker-4c-2g-3597 does not seem to be running inside a container [2020-06-18T18:27:50.998Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/edgexfoundry_device-rest-go_snap -v /w/workspace/edgexfoundry_device-rest-go_snap:/w/workspace/edgexfoundry_device-rest-go_snap:rw,z -v /w/workspace/edgexfoundry_device-rest-go_snap@tmp:/w/workspace/edgexfoundry_device-rest-go_snap@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-06-18T18:27:55.291Z] $ docker top 371045246ff53b284312e8b8407aa10811c2953920107c7f2ce3738eef3ddc72 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-18T18:27:55.433Z] provisioning config files... [2020-06-18T18:27:55.451Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_snap@tmp/config2797929960616605288tmp [Pipeline] { [Pipeline] echo [2020-06-18T18:27:55.479Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-18T18:27:55.778Z] ---> create-netrc.sh [Pipeline] echo [2020-06-18T18:27:55.787Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-18T18:27:56.078Z] ---> logs-deploy.sh [2020-06-18T18:27:56.078Z] + ARCHIVE_ARTIFACTS= [2020-06-18T18:27:56.078Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-18T18:27:56.078Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-18T18:27:56.078Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-18T18:27:56.078Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/snap/4 [2020-06-18T18:27:56.078Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/snap/4/ [2020-06-18T18:27:56.078Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/snap/4 /w/workspace/edgexfoundry_device-rest-go_snap [2020-06-18T18:27:57.460Z] Archives upload complete. [2020-06-18T18:27:57.460Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/snap/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/snap/4/