Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 44d29830d52e322790143f809155a22bedb1a813 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-blackbox-4c-2g-2700’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-2710’ 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-2706’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2712 in /w/workspace/gexfoundry_device-rest-go_master [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/gexfoundry_device-rest-go_master # 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/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision 44d29830d52e322790143f809155a22bedb1a813 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # 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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44d29830d52e322790143f809155a22bedb1a813 # timeout=10 Commit message: "Merge pull request #23 from tonyespy/update-sdk-122" > git rev-list --no-walk 6de27f08c1063e4823e4a492e46f5b5ad007e06d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-12T05:42:53.885Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-12T05:42:54.006Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-12T05:42:54.052Z] ========================================================= [2020-06-12T05:42:54.052Z] EdgeX Global Pipelines Version Info [2020-06-12T05:42:54.052Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-12T05:42:56.464Z] ------------------- [2020-06-12T05:42:56.464Z] stable info: [2020-06-12T05:42:56.464Z] ------------------- [2020-06-12T05:42:56.464Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-12T05:42:56.464Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-12T05:42:56.464Z] Message: update stable to v1.0.89 [2020-06-12T05:42:57.907Z] ------------------- [2020-06-12T05:42:57.907Z] experimental info: [2020-06-12T05:42:57.907Z] ------------------- [2020-06-12T05:42:57.907Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-12T05:42:57.907Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-12T05:42:57.907Z] Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:42:59.357Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-12T05:43:00.008Z] [2020-06-12T05:43:00.008Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:43:00.386Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-12T05:43:00.386Z] latest: Pulling from edgex-devops/git-semver [2020-06-12T05:43:00.386Z] 9123ac7c32f7: Pulling fs layer [2020-06-12T05:43:00.386Z] b8cc5d1170e3: Pulling fs layer [2020-06-12T05:43:00.386Z] 2924cbbf6a41: Pulling fs layer [2020-06-12T05:43:00.386Z] 93b08a4f1073: Pulling fs layer [2020-06-12T05:43:00.386Z] 93b08a4f1073: Waiting [2020-06-12T05:43:00.678Z] b8cc5d1170e3: Verifying Checksum [2020-06-12T05:43:00.678Z] b8cc5d1170e3: Download complete [2020-06-12T05:43:00.996Z] 9123ac7c32f7: Verifying Checksum [2020-06-12T05:43:00.996Z] 9123ac7c32f7: Download complete [2020-06-12T05:43:01.294Z] 93b08a4f1073: Verifying Checksum [2020-06-12T05:43:01.294Z] 93b08a4f1073: Download complete [2020-06-12T05:43:01.294Z] 2924cbbf6a41: Verifying Checksum [2020-06-12T05:43:01.294Z] 2924cbbf6a41: Download complete [2020-06-12T05:43:01.894Z] 9123ac7c32f7: Pull complete [2020-06-12T05:43:01.894Z] b8cc5d1170e3: Pull complete [2020-06-12T05:43:03.454Z] 2924cbbf6a41: Pull complete [2020-06-12T05:43:03.725Z] 93b08a4f1073: Pull complete [2020-06-12T05:43:03.725Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-12T05:43:03.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-12T05:43:03.725Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-12T05:43:03.968Z] prd-centos7-docker-4c-2g-2712 does not seem to be running inside a container [2020-06-12T05:43:04.102Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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-12T05:43:06.069Z] $ docker top 643688ab88486f1afed3eae6e4e60819cb8cdbfdc1b6fbac5c85509d07ee4748 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-12T05:43:06.311Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-12T05:43:06.311Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-12T05:43:06.594Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-12T05:43:06.599Z] $ docker exec 643688ab88486f1afed3eae6e4e60819cb8cdbfdc1b6fbac5c85509d07ee4748 ssh-agent [2020-06-12T05:43:06.901Z] SSH_AUTH_SOCK=/tmp/ssh-XyrFVvDIdbmM/agent.11 [2020-06-12T05:43:06.901Z] SSH_AGENT_PID=16 [2020-06-12T05:43:06.916Z] Running ssh-add (command line suppressed) [2020-06-12T05:43:07.104Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7191972142118583973.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7191972142118583973.key) [2020-06-12T05:43:07.210Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-12T05:43:07.599Z] + git describe --exact-match --tags HEAD [2020-06-12T05:43:07.599Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-12T05:43:08.195Z] $ docker exec --env ******** --env ******** 643688ab88486f1afed3eae6e4e60819cb8cdbfdc1b6fbac5c85509d07ee4748 ssh-agent -k [2020-06-12T05:43:08.364Z] unset SSH_AUTH_SOCK; [2020-06-12T05:43:08.365Z] unset SSH_AGENT_PID; [2020-06-12T05:43:08.365Z] echo Agent pid 16 killed; [2020-06-12T05:43:08.458Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-12T05:43:08.501Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-12T05:43:08.501Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-12T05:43:08.555Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-12T05:43:08.555Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-12T05:43:08.865Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-12T05:43:08.870Z] $ docker exec 643688ab88486f1afed3eae6e4e60819cb8cdbfdc1b6fbac5c85509d07ee4748 ssh-agent [2020-06-12T05:43:09.238Z] SSH_AUTH_SOCK=/tmp/ssh-xuEf4dYiH70w/agent.45 [2020-06-12T05:43:09.238Z] SSH_AGENT_PID=51 [2020-06-12T05:43:09.246Z] Running ssh-add (command line suppressed) [2020-06-12T05:43:09.502Z] Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_693502475962021292.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_693502475962021292.key) [2020-06-12T05:43:09.680Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-12T05:43:10.019Z] + git semver init [2020-06-12T05:43:10.019Z] # -> Open(): unable to determine branch for HEAD [2020-06-12T05:43:10.019Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git [2020-06-12T05:43:10.019Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master [2020-06-12T05:43:10.019Z] # $SEMVER_REMOTE_NAME = origin [2020-06-12T05:43:10.019Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-12T05:43:10.019Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-12T05:43:10.019Z] # $SEMVER_BRANCH = master [2020-06-12T05:43:10.019Z] # $SEMVER_TEMP = /tmp/semver-340797237 [2020-06-12T05:43:10.019Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-06-12T05:43:11.461Z] # '/tmp/semver-340797237' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' [2020-06-12T05:43:11.461Z] # -> Force: false [2020-06-12T05:43:11.461Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } [2020-06-12T05:43:11.475Z] $ docker exec --env ******** --env ******** 643688ab88486f1afed3eae6e4e60819cb8cdbfdc1b6fbac5c85509d07ee4748 ssh-agent -k [2020-06-12T05:43:11.670Z] unset SSH_AUTH_SOCK; [2020-06-12T05:43:11.671Z] unset SSH_AGENT_PID; [2020-06-12T05:43:11.671Z] echo Agent pid 51 killed; [2020-06-12T05:43:11.765Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-12T05:43:12.166Z] + git semver [Pipeline] } [2020-06-12T05:43:12.186Z] $ docker stop --time=1 643688ab88486f1afed3eae6e4e60819cb8cdbfdc1b6fbac5c85509d07ee4748 [2020-06-12T05:43:13.706Z] $ docker rm -f 643688ab88486f1afed3eae6e4e60819cb8cdbfdc1b6fbac5c85509d07ee4748 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-12T05:43:15.633Z] Stashed 17 file(s) [Pipeline] echo [2020-06-12T05:43:15.635Z] [edgeXSemver] initialized semver on version 1.1.1-dev.1 [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-12T05:43:19.654Z] Running on prd-centos7-docker-4c-2g-2716 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2020-06-12T05:43:19.679Z] Running in /w/workspace/device-rest-go/8 [Pipeline] { [Pipeline] checkout [2020-06-12T05:43:22.124Z] using credential edgex-jenkins-ssh [2020-06-12T05:43:22.151Z] Cloning the remote Git repository [2020-06-12T05:43:22.151Z] Cloning with configured refspecs honoured and without tags [2020-06-12T05:43:23.222Z] Fetching without tags [2020-06-12T05:43:22.171Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-06-12T05:43:22.234Z] > git init /w/workspace/device-rest-go/8 # timeout=10 [2020-06-12T05:43:22.277Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-12T05:43:22.277Z] > git --version # timeout=10 [2020-06-12T05:43:22.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-12T05:43:22.309Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-12T05:43:23.193Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-12T05:43:23.198Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-12T05:43:23.213Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-12T05:43:23.223Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-12T05:43:23.223Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-12T05:43:23.228Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-12T05:43:23.602Z] Checking out Revision 44d29830d52e322790143f809155a22bedb1a813 (master) [2020-06-12T05:43:23.606Z] > git config core.sparsecheckout # timeout=10 [2020-06-12T05:43:23.610Z] > git checkout -f 44d29830d52e322790143f809155a22bedb1a813 # timeout=10 [2020-06-12T05:43:27.339Z] Commit message: "Merge pull request #23 from tonyespy/update-sdk-122" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-12T05:43:28.438Z] ========================================================= [2020-06-12T05:43:28.438Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-06-12T05:43:28.438Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:43:29.130Z] + 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-12T05:43:29.396Z] Sending build context to Docker daemon 8.01MB [2020-06-12T05:43:29.396Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-06-12T05:43:29.396Z] Step 2/10 : FROM ${BASE} [2020-06-12T05:43:29.396Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-06-12T05:43:29.396Z] e6b0cf9c0882: Pulling fs layer [2020-06-12T05:43:29.396Z] 2848faf0eed1: Pulling fs layer [2020-06-12T05:43:29.396Z] 0f37312ad70f: Pulling fs layer [2020-06-12T05:43:29.396Z] 5788d62ee057: Pulling fs layer [2020-06-12T05:43:29.396Z] 0e6b1d234666: Pulling fs layer [2020-06-12T05:43:29.396Z] bf5d7aec512f: Pulling fs layer [2020-06-12T05:43:29.396Z] 34c802a77dc8: Pulling fs layer [2020-06-12T05:43:29.396Z] 9eb99e56ec68: Pulling fs layer [2020-06-12T05:43:29.396Z] 27c7a5d97fbd: Pulling fs layer [2020-06-12T05:43:29.396Z] 5c102a31e300: Pulling fs layer [2020-06-12T05:43:29.396Z] 5788d62ee057: Waiting [2020-06-12T05:43:29.396Z] bf5d7aec512f: Waiting [2020-06-12T05:43:29.396Z] 34c802a77dc8: Waiting [2020-06-12T05:43:29.396Z] 0e6b1d234666: Waiting [2020-06-12T05:43:29.396Z] 9eb99e56ec68: Waiting [2020-06-12T05:43:29.396Z] 5c102a31e300: Waiting [2020-06-12T05:43:29.396Z] 27c7a5d97fbd: Waiting [2020-06-12T05:43:29.396Z] dcfb455df0a1: Pulling fs layer [2020-06-12T05:43:29.396Z] dcfb455df0a1: Waiting [2020-06-12T05:43:29.396Z] 0f37312ad70f: Verifying Checksum [2020-06-12T05:43:29.396Z] 0f37312ad70f: Download complete [2020-06-12T05:43:29.396Z] 2848faf0eed1: Download complete [2020-06-12T05:43:29.396Z] 0e6b1d234666: Download complete [2020-06-12T05:43:29.396Z] bf5d7aec512f: Verifying Checksum [2020-06-12T05:43:29.396Z] bf5d7aec512f: Download complete [2020-06-12T05:43:29.670Z] e6b0cf9c0882: Verifying Checksum [2020-06-12T05:43:29.670Z] e6b0cf9c0882: Download complete [2020-06-12T05:43:29.944Z] e6b0cf9c0882: Pull complete [2020-06-12T05:43:30.216Z] 34c802a77dc8: Verifying Checksum [2020-06-12T05:43:30.216Z] 34c802a77dc8: Download complete [2020-06-12T05:43:30.216Z] 27c7a5d97fbd: Verifying Checksum [2020-06-12T05:43:30.216Z] 27c7a5d97fbd: Download complete [2020-06-12T05:43:30.797Z] Still waiting to schedule task [2020-06-12T05:43:30.797Z] ‘prd-centos7-blackbox-4c-2g-2700’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2706’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2715’ is offline [2020-06-12T05:43:30.809Z] 5c102a31e300: Verifying Checksum [2020-06-12T05:43:30.809Z] 5c102a31e300: Download complete [2020-06-12T05:43:30.809Z] dcfb455df0a1: Verifying Checksum [2020-06-12T05:43:30.809Z] dcfb455df0a1: Download complete [2020-06-12T05:43:31.080Z] 5788d62ee057: Verifying Checksum [2020-06-12T05:43:31.080Z] 5788d62ee057: Download complete [2020-06-12T05:43:31.080Z] 9eb99e56ec68: Verifying Checksum [2020-06-12T05:43:31.080Z] 9eb99e56ec68: Download complete [2020-06-12T05:43:31.342Z] 2848faf0eed1: Pull complete [2020-06-12T05:43:31.604Z] 0f37312ad70f: Pull complete [2020-06-12T05:43:38.216Z] 5788d62ee057: Pull complete [2020-06-12T05:43:38.216Z] 0e6b1d234666: Pull complete [2020-06-12T05:43:38.216Z] bf5d7aec512f: Pull complete [2020-06-12T05:43:43.548Z] 34c802a77dc8: Pull complete [2020-06-12T05:43:46.131Z] 9eb99e56ec68: Pull complete [2020-06-12T05:43:46.131Z] 27c7a5d97fbd: Pull complete [2020-06-12T05:43:47.544Z] 5c102a31e300: Pull complete [2020-06-12T05:43:47.544Z] dcfb455df0a1: Pull complete [2020-06-12T05:43:47.544Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-06-12T05:43:47.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-06-12T05:43:47.544Z] ---> 7c70fe431013 [2020-06-12T05:43:47.544Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-06-12T05:43:48.119Z] ---> Running in 366672c5ccfd [2020-06-12T05:43:48.384Z] Removing intermediate container 366672c5ccfd [2020-06-12T05:43:48.384Z] ---> 027f4a88f1d9 [2020-06-12T05:43:48.384Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-06-12T05:43:48.384Z] ---> Running in ac3dfea16675 [2020-06-12T05:43:48.646Z] Removing intermediate container ac3dfea16675 [2020-06-12T05:43:48.646Z] ---> b3da26a98168 [2020-06-12T05:43:48.646Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-12T05:43:48.646Z] ---> Running in db9fba6c6b74 [2020-06-12T05:43:48.646Z] Removing intermediate container db9fba6c6b74 [2020-06-12T05:43:48.646Z] ---> 89148be34636 [2020-06-12T05:43:48.646Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-12T05:43:48.911Z] ---> Running in bad83afee0a5 [2020-06-12T05:43:50.306Z] Removing intermediate container bad83afee0a5 [2020-06-12T05:43:50.306Z] ---> 46fa79e3847c [2020-06-12T05:43:50.306Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-12T05:43:50.306Z] ---> Running in e2286f25ec1c [2020-06-12T05:43:51.257Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-12T05:43:51.836Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-12T05:43:52.786Z] OK: 143 MiB in 39 packages [2020-06-12T05:43:53.052Z] Removing intermediate container e2286f25ec1c [2020-06-12T05:43:53.052Z] ---> 72fc5deeda4b [2020-06-12T05:43:53.052Z] Step 8/10 : WORKDIR /device-rest-go [2020-06-12T05:43:53.052Z] ---> Running in 3e937a9adf88 [2020-06-12T05:43:53.320Z] Removing intermediate container 3e937a9adf88 [2020-06-12T05:43:53.320Z] ---> 15863c607d85 [2020-06-12T05:43:53.320Z] Step 9/10 : COPY . . [2020-06-12T05:43:53.584Z] ---> 4c36be57ddbf [2020-06-12T05:43:53.584Z] Step 10/10 : RUN go mod download [2020-06-12T05:43:53.845Z] ---> Running in c6dd17ed5032 [2020-06-12T05:43:55.765Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-12T05:43:55.765Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-12T05:43:55.765Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-12T05:43:55.765Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-12T05:43:55.765Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-12T05:43:55.765Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-12T05:43:55.765Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-12T05:43:55.765Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-12T05:43:55.765Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-12T05:43:55.765Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-12T05:43:55.765Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-12T05:43:55.765Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-12T05:43:55.765Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-12T05:43:55.765Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-12T05:43:55.765Z] go: finding github.com/fatih/color v1.7.0 [2020-06-12T05:43:55.765Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-12T05:43:55.765Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-12T05:43:55.765Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-12T05:43:55.765Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-12T05:43:55.765Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-12T05:43:55.765Z] go: finding github.com/google/uuid v1.1.0 [2020-06-12T05:43:55.765Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-12T05:43:55.765Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-12T05:43:55.765Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-12T05:43:55.766Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-12T05:43:55.766Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-12T05:43:55.766Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-12T05:43:55.766Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-12T05:43:55.766Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-12T05:43:55.766Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-12T05:43:55.766Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-12T05:43:55.766Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-12T05:43:55.766Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-12T05:43:55.766Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-12T05:43:55.766Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-12T05:43:55.766Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-12T05:43:55.766Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-12T05:43:55.766Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-12T05:43:55.766Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-12T05:43:55.766Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-12T05:43:55.766Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-12T05:43:55.766Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-12T05:43:55.766Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-12T05:43:55.766Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-12T05:43:55.766Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-12T05:43:55.766Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-12T05:43:55.766Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-12T05:43:55.766Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-12T05:43:55.766Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-12T05:43:55.766Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-12T05:43:55.766Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-12T05:43:55.766Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-12T05:43:55.766Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-12T05:43:56.031Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-12T05:43:56.031Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-12T05:43:56.031Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-12T05:43:56.031Z] go: finding github.com/posener/complete v1.1.1 [2020-06-12T05:43:56.031Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-12T05:43:56.031Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-12T05:43:56.031Z] go: finding github.com/spf13/cast v1.3.0 [2020-06-12T05:43:56.031Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-12T05:43:56.031Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-12T05:43:56.031Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-12T05:43:56.031Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-12T05:43:56.031Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-12T05:43:56.031Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-12T05:43:56.031Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-12T05:43:56.031Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-12T05:43:56.031Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-12T05:43:56.031Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-12T05:44:04.231Z] Removing intermediate container c6dd17ed5032 [2020-06-12T05:44:04.231Z] ---> c2ea008b120b [2020-06-12T05:44:04.231Z] Successfully built c2ea008b120b [2020-06-12T05:44:04.231Z] 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-12T05:44:04.745Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-12T05:44:04.746Z] . [Pipeline] withDockerContainer [2020-06-12T05:44:04.945Z] prd-centos7-docker-4c-2g-2716 does not seem to be running inside a container [2020-06-12T05:44:05.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@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 ******** ci-base-image-x86_64 cat [2020-06-12T05:44:06.181Z] $ docker top 77749b01ca6ffa58960af78e88974e7e9d7a9b05aa30d03385d9a3eaca39b196 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-12T05:44:06.716Z] + go version [2020-06-12T05:44:06.717Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-06-12T05:44:07.019Z] + make test [2020-06-12T05:44:07.019Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-12T05:44:07.980Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-06-12T05:44:16.632Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-06-12T05:44:17.576Z] ok github.com/edgexfoundry/device-rest-go/driver 0.020s coverage: 56.3% of statements [2020-06-12T05:44:17.839Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-12T05:44:19.785Z] gofmt -l . [2020-06-12T05:44:19.785Z] [ "`gofmt -l .`" = "" ] [2020-06-12T05:44:19.785Z] ./bin/test-go-mod-tidy.sh [2020-06-12T05:44:20.046Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-06-12T05:44:20.867Z] Stashed 1 file(s) [Pipeline] } [2020-06-12T05:44:20.870Z] $ docker stop --time=1 77749b01ca6ffa58960af78e88974e7e9d7a9b05aa30d03385d9a3eaca39b196 [2020-06-12T05:44:22.996Z] $ docker rm -f 77749b01ca6ffa58960af78e88974e7e9d7a9b05aa30d03385d9a3eaca39b196 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-12T05:44:23.886Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-12T05:44:24.180Z] + ls -al . [2020-06-12T05:44:24.180Z] total 96 [2020-06-12T05:44:24.180Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 12 05:44 . [2020-06-12T05:44:24.180Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 12 05:43 .. [2020-06-12T05:44:24.180Z] -rw-rw-r--. 1 jenkins jenkins 4802 Jun 12 05:43 Attribution.txt [2020-06-12T05:44:24.180Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 12 05:43 bin [2020-06-12T05:44:24.180Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 12 05:43 cmd [2020-06-12T05:44:24.180Z] -rw-r--r--. 1 jenkins jenkins 9369 Jun 12 05:44 coverage.out [2020-06-12T05:44:24.180Z] -rw-rw-r--. 1 jenkins jenkins 1504 Jun 12 05:43 Dockerfile [2020-06-12T05:44:24.180Z] -rw-rw-r--. 1 jenkins jenkins 989 Jun 12 05:43 Dockerfile.build [2020-06-12T05:44:24.180Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 12 05:43 .dockerignore [2020-06-12T05:44:24.180Z] drwxrwxr-x. 2 jenkins jenkins 93 Jun 12 05:44 driver [2020-06-12T05:44:24.180Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 12 05:43 .git [2020-06-12T05:44:24.180Z] -rw-rw-r--. 1 jenkins jenkins 339 Jun 12 05:43 .gitignore [2020-06-12T05:44:24.180Z] -rw-r--r--. 1 jenkins jenkins 266 Jun 12 05:44 go.mod [2020-06-12T05:44:24.180Z] -rw-r--r--. 1 jenkins jenkins 12533 Jun 12 05:44 go.sum [2020-06-12T05:44:24.180Z] -rw-rw-r--. 1 jenkins jenkins 702 Jun 12 05:43 Jenkinsfile [2020-06-12T05:44:24.180Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 12 05:43 LICENSE [2020-06-12T05:44:24.180Z] -rw-rw-r--. 1 jenkins jenkins 951 Jun 12 05:43 Makefile [2020-06-12T05:44:24.180Z] -rw-rw-r--. 1 jenkins jenkins 5716 Jun 12 05:43 README.md [2020-06-12T05:44:24.180Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 12 05:43 .semver [2020-06-12T05:44:24.180Z] -rw-rw-r--. 1 jenkins jenkins 11 Jun 12 05:43 VERSION [2020-06-12T05:44:24.180Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 12 05:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:44:24.483Z] + 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=44d29830d52e322790143f809155a22bedb1a813 --label arch=amd64 --label version=1.1.1-dev.1 . [2020-06-12T05:44:24.483Z] Sending build context to Docker daemon 8.022MB [2020-06-12T05:44:24.751Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-06-12T05:44:24.751Z] Step 2/24 : FROM ${BASE} AS builder [2020-06-12T05:44:24.751Z] ---> c2ea008b120b [2020-06-12T05:44:24.751Z] Step 3/24 : ARG MAKE='make build' [2020-06-12T05:44:24.751Z] ---> Running in 740663e3929c [2020-06-12T05:44:24.751Z] Removing intermediate container 740663e3929c [2020-06-12T05:44:24.751Z] ---> ee1894727fc8 [2020-06-12T05:44:24.751Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-06-12T05:44:25.013Z] ---> Running in d4f126ac9046 [2020-06-12T05:44:25.013Z] Removing intermediate container d4f126ac9046 [2020-06-12T05:44:25.013Z] ---> 7ad72dfda6ae [2020-06-12T05:44:25.013Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-06-12T05:44:25.274Z] ---> Running in 05fa4b2d821e [2020-06-12T05:44:25.274Z] Removing intermediate container 05fa4b2d821e [2020-06-12T05:44:25.274Z] ---> 435b13f2c816 [2020-06-12T05:44:25.274Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-12T05:44:25.274Z] ---> Running in 2f3c1b126367 [2020-06-12T05:44:26.221Z] Removing intermediate container 2f3c1b126367 [2020-06-12T05:44:26.221Z] ---> 4647ede63098 [2020-06-12T05:44:26.221Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-12T05:44:26.221Z] ---> Running in 35e6fd42560c [2020-06-12T05:44:26.485Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-12T05:44:28.404Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-12T05:44:29.790Z] OK: 143 MiB in 39 packages [2020-06-12T05:44:30.368Z] Removing intermediate container 35e6fd42560c [2020-06-12T05:44:30.368Z] ---> eb3ccafb4206 [2020-06-12T05:44:30.368Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-06-12T05:44:30.368Z] ---> Running in bda916d95418 [2020-06-12T05:44:30.629Z] Removing intermediate container bda916d95418 [2020-06-12T05:44:30.629Z] ---> 8f5443e1382c [2020-06-12T05:44:30.629Z] Step 9/24 : COPY go.mod . [2020-06-12T05:44:30.894Z] ---> ce6d985068d0 [2020-06-12T05:44:30.894Z] Step 10/24 : COPY Makefile . [2020-06-12T05:44:30.894Z] ---> bc9ee5746a57 [2020-06-12T05:44:30.894Z] Step 11/24 : RUN make update [2020-06-12T05:44:31.159Z] ---> Running in b09966288d43 [2020-06-12T05:44:31.436Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-06-12T05:44:32.015Z] Removing intermediate container b09966288d43 [2020-06-12T05:44:32.015Z] ---> d14a8dee821b [2020-06-12T05:44:32.015Z] Step 12/24 : COPY . . [2020-06-12T05:44:32.276Z] ---> 2df1736d3b46 [2020-06-12T05:44:32.276Z] Step 13/24 : RUN $MAKE [2020-06-12T05:44:32.539Z] ---> Running in 00fc77de3475 [2020-06-12T05:44:32.810Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.1-dev.1" -o cmd/device-rest-go ./cmd [2020-06-12T05:44:45.176Z] Removing intermediate container 00fc77de3475 [2020-06-12T05:44:45.176Z] ---> 9ee94d0b49d2 [2020-06-12T05:44:45.176Z] Step 14/24 : FROM alpine:latest [2020-06-12T05:44:45.176Z] latest: Pulling from library/alpine [2020-06-12T05:44:45.176Z] df20fa9351a1: Pulling fs layer [2020-06-12T05:44:45.176Z] df20fa9351a1: Verifying Checksum [2020-06-12T05:44:45.176Z] df20fa9351a1: Download complete [2020-06-12T05:44:45.176Z] df20fa9351a1: Pull complete [2020-06-12T05:44:45.176Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-12T05:44:45.176Z] Status: Downloaded newer image for alpine:latest [2020-06-12T05:44:45.176Z] ---> a24bb4013296 [2020-06-12T05:44:45.176Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-12T05:44:45.176Z] ---> Running in 0277090b19c5 [2020-06-12T05:44:45.176Z] Removing intermediate container 0277090b19c5 [2020-06-12T05:44:45.176Z] ---> af6c2a0bfeb1 [2020-06-12T05:44:45.176Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-06-12T05:44:45.176Z] ---> Running in eb9010f0183a [2020-06-12T05:44:45.176Z] Removing intermediate container eb9010f0183a [2020-06-12T05:44:45.176Z] ---> 0b36d8444a83 [2020-06-12T05:44:45.176Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-06-12T05:44:45.176Z] ---> e1f506d1bcf2 [2020-06-12T05:44:45.176Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-06-12T05:44:45.176Z] ---> d7a1802be3b6 [2020-06-12T05:44:45.176Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-06-12T05:44:45.752Z] ---> dd2671738b17 [2020-06-12T05:44:45.752Z] Step 20/24 : EXPOSE 49986 [2020-06-12T05:44:45.752Z] ---> Running in 7f6943fade41 [2020-06-12T05:44:46.013Z] Removing intermediate container 7f6943fade41 [2020-06-12T05:44:46.013Z] ---> 4ee8aaa6715a [2020-06-12T05:44:46.013Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-06-12T05:44:46.013Z] ---> Running in 685e239d47cd [2020-06-12T05:44:46.275Z] Removing intermediate container 685e239d47cd [2020-06-12T05:44:46.275Z] ---> f4204bfd38ef [2020-06-12T05:44:46.275Z] Step 22/24 : LABEL arch=amd64 [2020-06-12T05:44:46.275Z] ---> Running in a3641c2d1f45 [2020-06-12T05:44:46.536Z] Removing intermediate container a3641c2d1f45 [2020-06-12T05:44:46.536Z] ---> ccbefff17822 [2020-06-12T05:44:46.536Z] Step 23/24 : LABEL git_sha=44d29830d52e322790143f809155a22bedb1a813 [2020-06-12T05:44:46.536Z] ---> Running in 973793cdf23b [2020-06-12T05:44:46.536Z] Removing intermediate container 973793cdf23b [2020-06-12T05:44:46.536Z] ---> d9c0b7081ad5 [2020-06-12T05:44:46.536Z] Step 24/24 : LABEL version=1.1.1-dev.1 [2020-06-12T05:44:46.797Z] ---> Running in aab862412848 [2020-06-12T05:44:46.797Z] Removing intermediate container aab862412848 [2020-06-12T05:44:46.797Z] ---> f81af983b186 [2020-06-12T05:44:46.797Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-12T05:44:46.797Z] Successfully built f81af983b186 [2020-06-12T05:44:46.797Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-06-12T05:44:47.008Z] provisioning config files... [2020-06-12T05:44:47.036Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/8@tmp/config8748305929048497717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-06-12T05:44:47.367Z] nexus3.edgexfoundry.org:10001 [2020-06-12T05:44:47.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-06-12T05:44:47.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-06-12T05:44:47.629Z] Configure a credential helper to remove this warning. See [2020-06-12T05:44:47.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-06-12T05:44:47.629Z] [2020-06-12T05:44:47.629Z] Login Succeeded [2020-06-12T05:44:47.629Z] nexus3.edgexfoundry.org:10002 [2020-06-12T05:44:47.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-06-12T05:44:47.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-06-12T05:44:47.630Z] Configure a credential helper to remove this warning. See [2020-06-12T05:44:47.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-06-12T05:44:47.630Z] [2020-06-12T05:44:47.630Z] Login Succeeded [2020-06-12T05:44:47.630Z] nexus3.edgexfoundry.org:10003 [2020-06-12T05:44:47.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-06-12T05:44:47.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-06-12T05:44:47.892Z] Configure a credential helper to remove this warning. See [2020-06-12T05:44:47.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-06-12T05:44:47.892Z] [2020-06-12T05:44:47.892Z] Login Succeeded [2020-06-12T05:44:47.892Z] nexus3.edgexfoundry.org:10004 [2020-06-12T05:44:47.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-06-12T05:44:48.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-06-12T05:44:48.154Z] Configure a credential helper to remove this warning. See [2020-06-12T05:44:48.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-06-12T05:44:48.154Z] [2020-06-12T05:44:48.154Z] Login Succeeded [2020-06-12T05:44:48.154Z] docker.io [2020-06-12T05:44:48.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-06-12T05:44:48.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-06-12T05:44:48.415Z] Configure a credential helper to remove this warning. See [2020-06-12T05:44:48.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-06-12T05:44:48.415Z] [2020-06-12T05:44:48.415Z] Login Succeeded [Pipeline] } [2020-06-12T05:44:48.424Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-06-12T05:44:48.531Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: [2020-06-12T05:44:48.531Z] 44d29830d52e322790143f809155a22bedb1a813 [2020-06-12T05:44:48.531Z] latest [2020-06-12T05:44:48.531Z] 1.1.1-dev.1 [2020-06-12T05:44:48.531Z] 44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1 [2020-06-12T05:44:48.531Z] master [2020-06-12T05:44:48.531Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:44:48.915Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:44d29830d52e322790143f809155a22bedb1a813 [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:44:49.212Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:44d29830d52e322790143f809155a22bedb1a813 [2020-06-12T05:44:49.212Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-06-12T05:44:49.212Z] b9a7e6972010: Preparing [2020-06-12T05:44:49.212Z] f5aeac6f027e: Preparing [2020-06-12T05:44:49.212Z] 0cf666516123: Preparing [2020-06-12T05:44:49.212Z] 50644c29ef5a: Preparing [2020-06-12T05:44:49.212Z] 50644c29ef5a: Layer already exists [2020-06-12T05:44:49.212Z] 0cf666516123: Pushed [2020-06-12T05:44:49.212Z] f5aeac6f027e: Pushed [2020-06-12T05:44:50.605Z] b9a7e6972010: Pushed [2020-06-12T05:44:50.605Z] 44d29830d52e322790143f809155a22bedb1a813: digest: sha256:59f791f287d9856105ae5fea5e1bf35c4bc1f71bdc2fbc02ada719de0b91649b size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:44:50.907Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:44:51.213Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [2020-06-12T05:44:51.213Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-06-12T05:44:51.213Z] b9a7e6972010: Preparing [2020-06-12T05:44:51.213Z] f5aeac6f027e: Preparing [2020-06-12T05:44:51.213Z] 0cf666516123: Preparing [2020-06-12T05:44:51.213Z] 50644c29ef5a: Preparing [2020-06-12T05:44:51.213Z] 0cf666516123: Layer already exists [2020-06-12T05:44:51.213Z] f5aeac6f027e: Layer already exists [2020-06-12T05:44:51.213Z] b9a7e6972010: Layer already exists [2020-06-12T05:44:51.213Z] 50644c29ef5a: Layer already exists [2020-06-12T05:44:51.213Z] latest: digest: sha256:59f791f287d9856105ae5fea5e1bf35c4bc1f71bdc2fbc02ada719de0b91649b size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:44:51.517Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:44:51.826Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.1.1-dev.1 [2020-06-12T05:44:51.826Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-06-12T05:44:51.826Z] b9a7e6972010: Preparing [2020-06-12T05:44:51.826Z] f5aeac6f027e: Preparing [2020-06-12T05:44:51.826Z] 0cf666516123: Preparing [2020-06-12T05:44:51.826Z] 50644c29ef5a: Preparing [2020-06-12T05:44:51.826Z] 0cf666516123: Layer already exists [2020-06-12T05:44:51.826Z] f5aeac6f027e: Layer already exists [2020-06-12T05:44:51.826Z] 50644c29ef5a: Layer already exists [2020-06-12T05:44:51.826Z] b9a7e6972010: Layer already exists [2020-06-12T05:44:51.826Z] 1.1.1-dev.1: digest: sha256:59f791f287d9856105ae5fea5e1bf35c4bc1f71bdc2fbc02ada719de0b91649b size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:44:52.127Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:44:52.425Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1 [2020-06-12T05:44:52.425Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-06-12T05:44:52.425Z] b9a7e6972010: Preparing [2020-06-12T05:44:52.425Z] f5aeac6f027e: Preparing [2020-06-12T05:44:52.425Z] 0cf666516123: Preparing [2020-06-12T05:44:52.425Z] 50644c29ef5a: Preparing [2020-06-12T05:44:52.425Z] b9a7e6972010: Layer already exists [2020-06-12T05:44:52.425Z] 0cf666516123: Layer already exists [2020-06-12T05:44:52.425Z] f5aeac6f027e: Layer already exists [2020-06-12T05:44:52.425Z] 50644c29ef5a: Layer already exists [2020-06-12T05:44:52.425Z] 44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1: digest: sha256:59f791f287d9856105ae5fea5e1bf35c4bc1f71bdc2fbc02ada719de0b91649b size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:44:52.744Z] + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:44:53.040Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [2020-06-12T05:44:53.040Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] [2020-06-12T05:44:53.040Z] b9a7e6972010: Preparing [2020-06-12T05:44:53.040Z] f5aeac6f027e: Preparing [2020-06-12T05:44:53.040Z] 0cf666516123: Preparing [2020-06-12T05:44:53.040Z] 50644c29ef5a: Preparing [2020-06-12T05:44:53.040Z] f5aeac6f027e: Layer already exists [2020-06-12T05:44:53.040Z] 50644c29ef5a: Layer already exists [2020-06-12T05:44:53.040Z] b9a7e6972010: Layer already exists [2020-06-12T05:44:53.040Z] 0cf666516123: Layer already exists [2020-06-12T05:44:53.040Z] master: digest: sha256:59f791f287d9856105ae5fea5e1bf35c4bc1f71bdc2fbc02ada719de0b91649b size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [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-12T05:45:16.880Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2718 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws [2020-06-12T05:45:16.911Z] Running in /w/workspace/device-rest-go/8 [Pipeline] { [Pipeline] checkout [2020-06-12T05:45:22.084Z] using credential edgex-jenkins-ssh [2020-06-12T05:45:22.117Z] Cloning the remote Git repository [2020-06-12T05:45:22.117Z] Cloning with configured refspecs honoured and without tags [2020-06-12T05:45:22.159Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-06-12T05:45:22.273Z] > git init /w/workspace/device-rest-go/8 # timeout=10 [2020-06-12T05:45:22.339Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-12T05:45:22.341Z] > git --version # timeout=10 [2020-06-12T05:45:22.370Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-12T05:45:22.430Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-12T05:45:24.006Z] Fetching without tags [2020-06-12T05:45:23.907Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-12T05:45:23.932Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-12T05:45:23.959Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-06-12T05:45:23.991Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-06-12T05:45:23.991Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-12T05:45:24.004Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-12T05:45:24.497Z] Checking out Revision 44d29830d52e322790143f809155a22bedb1a813 (master) [2020-06-12T05:45:24.488Z] > git config core.sparsecheckout # timeout=10 [2020-06-12T05:45:24.510Z] > git checkout -f 44d29830d52e322790143f809155a22bedb1a813 # timeout=10 [2020-06-12T05:45:29.099Z] Commit message: "Merge pull request #23 from tonyespy/update-sdk-122" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-12T05:45:31.140Z] ========================================================= [2020-06-12T05:45:31.140Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-06-12T05:45:31.140Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:45:32.112Z] + 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-12T05:45:32.736Z] Sending build context to Docker daemon 8.01MB [2020-06-12T05:45:33.010Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-06-12T05:45:33.010Z] Step 2/10 : FROM ${BASE} [2020-06-12T05:45:33.285Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-06-12T05:45:33.285Z] cde5963f3b93: Pulling fs layer [2020-06-12T05:45:33.285Z] 2a23fa8c16f7: Pulling fs layer [2020-06-12T05:45:33.285Z] 777b28850792: Pulling fs layer [2020-06-12T05:45:33.285Z] 8a11ddd9e578: Pulling fs layer [2020-06-12T05:45:33.285Z] 4cf88f913ddb: Pulling fs layer [2020-06-12T05:45:33.285Z] 1df406cf5192: Pulling fs layer [2020-06-12T05:45:33.285Z] cd6300453558: Pulling fs layer [2020-06-12T05:45:33.285Z] b9c365052c96: Pulling fs layer [2020-06-12T05:45:33.285Z] a2d8cc88f415: Pulling fs layer [2020-06-12T05:45:33.285Z] ea1d1ca13537: Pulling fs layer [2020-06-12T05:45:33.285Z] 3750a50a1c5e: Pulling fs layer [2020-06-12T05:45:33.285Z] b9c365052c96: Waiting [2020-06-12T05:45:33.285Z] 8a11ddd9e578: Waiting [2020-06-12T05:45:33.285Z] 4cf88f913ddb: Waiting [2020-06-12T05:45:33.285Z] a2d8cc88f415: Waiting [2020-06-12T05:45:33.285Z] 1df406cf5192: Waiting [2020-06-12T05:45:33.285Z] ea1d1ca13537: Waiting [2020-06-12T05:45:33.285Z] cd6300453558: Waiting [2020-06-12T05:45:33.285Z] 3750a50a1c5e: Waiting [2020-06-12T05:45:33.285Z] 777b28850792: Verifying Checksum [2020-06-12T05:45:33.285Z] 777b28850792: Download complete [2020-06-12T05:45:33.285Z] 2a23fa8c16f7: Verifying Checksum [2020-06-12T05:45:33.285Z] 2a23fa8c16f7: Download complete [2020-06-12T05:45:33.285Z] 4cf88f913ddb: Verifying Checksum [2020-06-12T05:45:33.285Z] 4cf88f913ddb: Download complete [2020-06-12T05:45:33.285Z] 1df406cf5192: Verifying Checksum [2020-06-12T05:45:33.285Z] 1df406cf5192: Download complete [2020-06-12T05:45:33.285Z] cde5963f3b93: Verifying Checksum [2020-06-12T05:45:33.285Z] cde5963f3b93: Download complete [2020-06-12T05:45:34.293Z] cde5963f3b93: Pull complete [2020-06-12T05:45:34.899Z] 2a23fa8c16f7: Pull complete [2020-06-12T05:45:35.183Z] 777b28850792: Pull complete [2020-06-12T05:45:35.785Z] cd6300453558: Verifying Checksum [2020-06-12T05:45:35.785Z] cd6300453558: Download complete [2020-06-12T05:45:35.785Z] a2d8cc88f415: Verifying Checksum [2020-06-12T05:45:35.785Z] a2d8cc88f415: Download complete [2020-06-12T05:45:39.193Z] ea1d1ca13537: Download complete [2020-06-12T05:45:39.193Z] 3750a50a1c5e: Verifying Checksum [2020-06-12T05:45:39.193Z] 3750a50a1c5e: Download complete [2020-06-12T05:45:39.193Z] 8a11ddd9e578: Download complete [2020-06-12T05:45:39.472Z] b9c365052c96: Verifying Checksum [2020-06-12T05:45:39.472Z] b9c365052c96: Download complete [2020-06-12T05:45:51.917Z] 8a11ddd9e578: Pull complete [2020-06-12T05:45:51.917Z] 4cf88f913ddb: Pull complete [2020-06-12T05:45:51.917Z] 1df406cf5192: Pull complete [2020-06-12T05:45:56.241Z] cd6300453558: Pull complete [2020-06-12T05:46:00.561Z] b9c365052c96: Pull complete [2020-06-12T05:46:00.561Z] a2d8cc88f415: Pull complete [2020-06-12T05:46:03.199Z] ea1d1ca13537: Pull complete [2020-06-12T05:46:03.199Z] 3750a50a1c5e: Pull complete [2020-06-12T05:46:03.199Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-06-12T05:46:03.199Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-06-12T05:46:03.199Z] ---> 78745c68409d [2020-06-12T05:46:03.199Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-06-12T05:46:08.606Z] ---> Running in 5b5ff99fc505 [2020-06-12T05:46:08.606Z] Removing intermediate container 5b5ff99fc505 [2020-06-12T05:46:08.606Z] ---> 9515d67b66bf [2020-06-12T05:46:08.606Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-06-12T05:46:08.606Z] ---> Running in da1e3d02481e [2020-06-12T05:46:08.882Z] Removing intermediate container da1e3d02481e [2020-06-12T05:46:08.882Z] ---> a5ad9997c9a2 [2020-06-12T05:46:08.882Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-12T05:46:08.882Z] ---> Running in b924d889d974 [2020-06-12T05:46:09.476Z] Removing intermediate container b924d889d974 [2020-06-12T05:46:09.476Z] ---> 2656dae80959 [2020-06-12T05:46:09.476Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-12T05:46:09.476Z] ---> Running in 0ce4b5d04d6d [2020-06-12T05:46:12.873Z] Removing intermediate container 0ce4b5d04d6d [2020-06-12T05:46:12.873Z] ---> f5f09e841d66 [2020-06-12T05:46:12.873Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-12T05:46:12.873Z] ---> Running in b29723dd49d5 [2020-06-12T05:46:14.304Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-12T05:46:15.281Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-12T05:46:15.876Z] OK: 125 MiB in 39 packages [2020-06-12T05:46:16.857Z] Removing intermediate container b29723dd49d5 [2020-06-12T05:46:16.857Z] ---> dc62b8b050bd [2020-06-12T05:46:16.857Z] Step 8/10 : WORKDIR /device-rest-go [2020-06-12T05:46:17.129Z] ---> Running in 20baeb0ee5b0 [2020-06-12T05:46:17.402Z] Removing intermediate container 20baeb0ee5b0 [2020-06-12T05:46:17.402Z] ---> 1310f8f8550d [2020-06-12T05:46:17.402Z] Step 9/10 : COPY . . [2020-06-12T05:46:18.836Z] ---> 26230f114f87 [2020-06-12T05:46:18.836Z] Step 10/10 : RUN go mod download [2020-06-12T05:46:18.836Z] ---> Running in 22a8c747dbe1 [2020-06-12T05:46:21.449Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-12T05:46:21.449Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-12T05:46:21.449Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-12T05:46:21.449Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-12T05:46:21.449Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-12T05:46:21.449Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-12T05:46:21.449Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-12T05:46:21.449Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-12T05:46:21.449Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 [2020-06-12T05:46:21.449Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 [2020-06-12T05:46:21.449Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-12T05:46:21.449Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-12T05:46:21.449Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-12T05:46:21.449Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-12T05:46:21.449Z] go: finding github.com/fatih/color v1.7.0 [2020-06-12T05:46:21.449Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-12T05:46:21.449Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-12T05:46:21.449Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-12T05:46:21.449Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-12T05:46:21.449Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-12T05:46:21.449Z] go: finding github.com/google/uuid v1.1.0 [2020-06-12T05:46:21.449Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-12T05:46:21.449Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-12T05:46:21.449Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-12T05:46:21.449Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-12T05:46:21.449Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-12T05:46:21.449Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-12T05:46:21.449Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-12T05:46:21.449Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-12T05:46:21.449Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-12T05:46:21.449Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-06-12T05:46:21.449Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-12T05:46:21.449Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-12T05:46:21.449Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-12T05:46:21.449Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-06-12T05:46:21.449Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-12T05:46:21.449Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-12T05:46:21.449Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-12T05:46:21.449Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-12T05:46:21.449Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-12T05:46:21.449Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-12T05:46:21.449Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-12T05:46:21.449Z] go: finding github.com/miekg/dns v1.0.14 [2020-06-12T05:46:21.449Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-12T05:46:21.449Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-12T05:46:21.449Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-12T05:46:21.449Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-06-12T05:46:21.449Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-12T05:46:21.449Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-12T05:46:21.449Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-12T05:46:21.449Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-12T05:46:21.449Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-12T05:46:21.449Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-12T05:46:21.449Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-12T05:46:21.449Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-12T05:46:21.449Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-12T05:46:21.449Z] go: finding github.com/posener/complete v1.1.1 [2020-06-12T05:46:21.449Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-06-12T05:46:21.449Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-12T05:46:21.449Z] go: finding github.com/spf13/cast v1.3.0 [2020-06-12T05:46:21.449Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-12T05:46:21.449Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-12T05:46:21.449Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-12T05:46:21.449Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-12T05:46:21.731Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-12T05:46:21.731Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-06-12T05:46:21.731Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-12T05:46:21.731Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-12T05:46:21.731Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-12T05:46:21.731Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-12T05:46:30.020Z] Removing intermediate container 22a8c747dbe1 [2020-06-12T05:46:30.020Z] ---> 36deee2b3ba2 [2020-06-12T05:46:30.020Z] Successfully built 36deee2b3ba2 [2020-06-12T05:46:30.020Z] 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-12T05:46:30.577Z] + docker inspect -f . ci-base-image-arm64 [2020-06-12T05:46:30.577Z] . [Pipeline] withDockerContainer [2020-06-12T05:46:30.814Z] prd-ubuntu18.04-docker-arm64-4c-16g-2718 does not seem to be running inside a container [2020-06-12T05:46:30.875Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@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 ******** ci-base-image-arm64 cat [2020-06-12T05:46:32.611Z] $ docker top 241e992e5f91972ae17397f1e8cb8ccbc0b73c50fdbd3538f6f9a62bf4d13eb8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-12T05:46:33.996Z] + go version [2020-06-12T05:46:33.996Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-06-12T05:46:35.049Z] + make test [2020-06-12T05:46:35.049Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-06-12T05:46:36.037Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-06-12T05:47:02.915Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-06-12T05:47:04.896Z] ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 56.3% of statements [2020-06-12T05:47:05.494Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-12T05:47:10.907Z] gofmt -l . [2020-06-12T05:47:11.181Z] [ "`gofmt -l .`" = "" ] [2020-06-12T05:47:11.181Z] ./bin/test-go-mod-tidy.sh [2020-06-12T05:47:11.457Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-06-12T05:47:12.456Z] Warning: overwriting stash ‘coverage-report’ [2020-06-12T05:47:12.860Z] Stashed 1 file(s) [Pipeline] } [2020-06-12T05:47:12.840Z] $ docker stop --time=1 241e992e5f91972ae17397f1e8cb8ccbc0b73c50fdbd3538f6f9a62bf4d13eb8 [2020-06-12T05:47:15.032Z] $ docker rm -f 241e992e5f91972ae17397f1e8cb8ccbc0b73c50fdbd3538f6f9a62bf4d13eb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-12T05:47:16.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-12T05:47:16.420Z] + ls -al . [2020-06-12T05:47:16.420Z] total 120 [2020-06-12T05:47:16.420Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 12 05:47 . [2020-06-12T05:47:16.420Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 05:45 .. [2020-06-12T05:47:16.420Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 12 05:45 .dockerignore [2020-06-12T05:47:16.420Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 05:45 .git [2020-06-12T05:47:16.420Z] -rw-rw-r-- 1 jenkins jenkins 339 Jun 12 05:45 .gitignore [2020-06-12T05:47:16.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 05:45 .semver [2020-06-12T05:47:16.421Z] -rw-rw-r-- 1 jenkins jenkins 4802 Jun 12 05:45 Attribution.txt [2020-06-12T05:47:16.421Z] -rw-rw-r-- 1 jenkins jenkins 1504 Jun 12 05:45 Dockerfile [2020-06-12T05:47:16.421Z] -rw-rw-r-- 1 jenkins jenkins 989 Jun 12 05:45 Dockerfile.build [2020-06-12T05:47:16.421Z] -rw-rw-r-- 1 jenkins jenkins 702 Jun 12 05:45 Jenkinsfile [2020-06-12T05:47:16.421Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 05:45 LICENSE [2020-06-12T05:47:16.421Z] -rw-rw-r-- 1 jenkins jenkins 951 Jun 12 05:45 Makefile [2020-06-12T05:47:16.421Z] -rw-rw-r-- 1 jenkins jenkins 5716 Jun 12 05:45 README.md [2020-06-12T05:47:16.421Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 05:43 VERSION [2020-06-12T05:47:16.421Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 05:45 bin [2020-06-12T05:47:16.421Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 05:45 cmd [2020-06-12T05:47:16.421Z] -rw-r--r-- 1 jenkins jenkins 9369 Jun 12 05:47 coverage.out [2020-06-12T05:47:16.421Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 05:47 driver [2020-06-12T05:47:16.421Z] -rw-r--r-- 1 jenkins jenkins 266 Jun 12 05:47 go.mod [2020-06-12T05:47:16.421Z] -rw-r--r-- 1 jenkins jenkins 12533 Jun 12 05:47 go.sum [2020-06-12T05:47:16.421Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 12 05:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:47:16.766Z] + 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=44d29830d52e322790143f809155a22bedb1a813 --label arch=arm64 --label version=1.1.1-dev.1 . [2020-06-12T05:47:17.369Z] Sending build context to Docker daemon 8.022MB [2020-06-12T05:47:17.369Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-06-12T05:47:17.369Z] Step 2/24 : FROM ${BASE} AS builder [2020-06-12T05:47:17.369Z] ---> 36deee2b3ba2 [2020-06-12T05:47:17.369Z] Step 3/24 : ARG MAKE='make build' [2020-06-12T05:47:17.369Z] ---> Running in b2b3a55758fc [2020-06-12T05:47:17.965Z] Removing intermediate container b2b3a55758fc [2020-06-12T05:47:17.965Z] ---> 2447e83e651b [2020-06-12T05:47:17.965Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-06-12T05:47:17.965Z] ---> Running in 5bb3d0a5863a [2020-06-12T05:47:18.562Z] Removing intermediate container 5bb3d0a5863a [2020-06-12T05:47:18.562Z] ---> 6b94cf540b2c [2020-06-12T05:47:18.562Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-06-12T05:47:18.562Z] ---> Running in bc523831bd54 [2020-06-12T05:47:18.836Z] Removing intermediate container bc523831bd54 [2020-06-12T05:47:18.836Z] ---> ab27bf53f5db [2020-06-12T05:47:18.836Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-12T05:47:19.110Z] ---> Running in d22eea929d11 [2020-06-12T05:47:21.733Z] Removing intermediate container d22eea929d11 [2020-06-12T05:47:21.733Z] ---> 11afbce2be3f [2020-06-12T05:47:21.733Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-06-12T05:47:21.733Z] ---> Running in d7dedbc0299d [2020-06-12T05:47:23.169Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-12T05:47:23.760Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-12T05:47:24.355Z] OK: 125 MiB in 39 packages [2020-06-12T05:47:25.791Z] Removing intermediate container d7dedbc0299d [2020-06-12T05:47:25.791Z] ---> 9820114c0679 [2020-06-12T05:47:25.791Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-06-12T05:47:25.791Z] ---> Running in 6e33ce0ca303 [2020-06-12T05:47:26.391Z] Removing intermediate container 6e33ce0ca303 [2020-06-12T05:47:26.391Z] ---> ed40a61cc196 [2020-06-12T05:47:26.391Z] Step 9/24 : COPY go.mod . [2020-06-12T05:47:26.988Z] ---> afde46ca3911 [2020-06-12T05:47:26.988Z] Step 10/24 : COPY Makefile . [2020-06-12T05:47:27.585Z] ---> 2631b743337a [2020-06-12T05:47:27.585Z] Step 11/24 : RUN make update [2020-06-12T05:47:27.856Z] ---> Running in 63f241c12d82 [2020-06-12T05:47:29.317Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-06-12T05:47:30.748Z] Removing intermediate container 63f241c12d82 [2020-06-12T05:47:30.748Z] ---> 0ca00f3dec0a [2020-06-12T05:47:30.748Z] Step 12/24 : COPY . . [2020-06-12T05:47:31.730Z] ---> e860a48335d5 [2020-06-12T05:47:31.730Z] Step 13/24 : RUN $MAKE [2020-06-12T05:47:31.730Z] ---> Running in af58d51088f3 [2020-06-12T05:47:33.168Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.1.1-dev.1" -o cmd/device-rest-go ./cmd [2020-06-12T05:48:00.017Z] Removing intermediate container af58d51088f3 [2020-06-12T05:48:00.018Z] ---> c2309305c459 [2020-06-12T05:48:00.018Z] Step 14/24 : FROM alpine:latest [2020-06-12T05:48:00.018Z] latest: Pulling from library/alpine [2020-06-12T05:48:00.018Z] b538f80385f9: Pulling fs layer [2020-06-12T05:48:00.292Z] b538f80385f9: Verifying Checksum [2020-06-12T05:48:00.292Z] b538f80385f9: Download complete [2020-06-12T05:48:00.886Z] b538f80385f9: Pull complete [2020-06-12T05:48:00.886Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-06-12T05:48:00.886Z] Status: Downloaded newer image for alpine:latest [2020-06-12T05:48:00.886Z] ---> 62ee0e9f8440 [2020-06-12T05:48:00.886Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-06-12T05:48:01.157Z] ---> Running in 508155c68aab [2020-06-12T05:48:01.442Z] Removing intermediate container 508155c68aab [2020-06-12T05:48:01.442Z] ---> 83167aa1eecd [2020-06-12T05:48:01.442Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-06-12T05:48:01.716Z] ---> Running in 94c600042691 [2020-06-12T05:48:01.989Z] Removing intermediate container 94c600042691 [2020-06-12T05:48:01.989Z] ---> 10d2eb6e13c1 [2020-06-12T05:48:01.989Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-06-12T05:48:02.587Z] ---> 0edd3ced74e4 [2020-06-12T05:48:02.587Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-06-12T05:48:03.568Z] ---> 179fa1fe4f44 [2020-06-12T05:48:03.568Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-06-12T05:48:04.544Z] ---> cddc093d5d45 [2020-06-12T05:48:04.544Z] Step 20/24 : EXPOSE 49986 [2020-06-12T05:48:04.816Z] ---> Running in eb4779049450 [2020-06-12T05:48:05.091Z] Removing intermediate container eb4779049450 [2020-06-12T05:48:05.091Z] ---> da175332d84e [2020-06-12T05:48:05.091Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-06-12T05:48:05.365Z] ---> Running in f7e2ffbf675a [2020-06-12T05:48:05.636Z] Removing intermediate container f7e2ffbf675a [2020-06-12T05:48:05.636Z] ---> 066b6fc6bdc4 [2020-06-12T05:48:05.636Z] Step 22/24 : LABEL arch=arm64 [2020-06-12T05:48:05.911Z] ---> Running in 86b93f638123 [2020-06-12T05:48:06.184Z] Removing intermediate container 86b93f638123 [2020-06-12T05:48:06.184Z] ---> 6316112de715 [2020-06-12T05:48:06.184Z] Step 23/24 : LABEL git_sha=44d29830d52e322790143f809155a22bedb1a813 [2020-06-12T05:48:06.458Z] ---> Running in 2a0b9ef7b066 [2020-06-12T05:48:06.732Z] Removing intermediate container 2a0b9ef7b066 [2020-06-12T05:48:06.732Z] ---> eeb97f1fb801 [2020-06-12T05:48:06.732Z] Step 24/24 : LABEL version=1.1.1-dev.1 [2020-06-12T05:48:07.005Z] ---> Running in 0edcc3ec390e [2020-06-12T05:48:07.278Z] Removing intermediate container 0edcc3ec390e [2020-06-12T05:48:07.278Z] ---> 75276a0de9fa [2020-06-12T05:48:07.278Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-12T05:48:07.278Z] Successfully built 75276a0de9fa [2020-06-12T05:48:07.278Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-06-12T05:48:07.769Z] provisioning config files... [2020-06-12T05:48:07.809Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/8@tmp/config1946723358468749187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-06-12T05:48:08.202Z] nexus3.edgexfoundry.org:10001 [2020-06-12T05:48:08.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-06-12T05:48:08.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-06-12T05:48:08.752Z] Configure a credential helper to remove this warning. See [2020-06-12T05:48:08.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-06-12T05:48:08.752Z] [2020-06-12T05:48:08.752Z] Login Succeeded [2020-06-12T05:48:08.752Z] nexus3.edgexfoundry.org:10002 [2020-06-12T05:48:09.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-06-12T05:48:09.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-06-12T05:48:09.307Z] Configure a credential helper to remove this warning. See [2020-06-12T05:48:09.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-06-12T05:48:09.307Z] [2020-06-12T05:48:09.307Z] Login Succeeded [2020-06-12T05:48:09.307Z] nexus3.edgexfoundry.org:10003 [2020-06-12T05:48:09.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-06-12T05:48:09.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-06-12T05:48:09.857Z] Configure a credential helper to remove this warning. See [2020-06-12T05:48:09.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-06-12T05:48:09.857Z] [2020-06-12T05:48:09.857Z] Login Succeeded [2020-06-12T05:48:09.857Z] nexus3.edgexfoundry.org:10004 [2020-06-12T05:48:10.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-06-12T05:48:10.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-06-12T05:48:10.403Z] Configure a credential helper to remove this warning. See [2020-06-12T05:48:10.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-06-12T05:48:10.403Z] [2020-06-12T05:48:10.403Z] Login Succeeded [2020-06-12T05:48:10.403Z] docker.io [2020-06-12T05:48:10.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-06-12T05:48:11.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-06-12T05:48:11.270Z] Configure a credential helper to remove this warning. See [2020-06-12T05:48:11.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-06-12T05:48:11.270Z] [2020-06-12T05:48:11.270Z] Login Succeeded [Pipeline] } [2020-06-12T05:48:11.288Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-06-12T05:48:11.390Z] [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: [2020-06-12T05:48:11.390Z] 44d29830d52e322790143f809155a22bedb1a813 [2020-06-12T05:48:11.390Z] latest [2020-06-12T05:48:11.390Z] 1.1.1-dev.1 [2020-06-12T05:48:11.390Z] 44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1 [2020-06-12T05:48:11.390Z] master [2020-06-12T05:48:11.390Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:48:11.828Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:44d29830d52e322790143f809155a22bedb1a813 [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:48:12.172Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:44d29830d52e322790143f809155a22bedb1a813 [2020-06-12T05:48:12.172Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-06-12T05:48:12.172Z] 4e74413b32df: Preparing [2020-06-12T05:48:12.172Z] 150a1725e6e1: Preparing [2020-06-12T05:48:12.172Z] 12fab45ad836: Preparing [2020-06-12T05:48:12.172Z] e2f13739ad41: Preparing [2020-06-12T05:48:12.447Z] e2f13739ad41: Layer already exists [2020-06-12T05:48:12.447Z] 12fab45ad836: Pushed [2020-06-12T05:48:12.447Z] 150a1725e6e1: Pushed [2020-06-12T05:48:15.822Z] 4e74413b32df: Pushed [2020-06-12T05:48:15.822Z] 44d29830d52e322790143f809155a22bedb1a813: digest: sha256:f4ee7b6f4917b96157542a683615f17f911e37b5536ea4c4d7f7641a4f2434d8 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:48:16.178Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:48:16.526Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [2020-06-12T05:48:16.526Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-06-12T05:48:16.526Z] 4e74413b32df: Preparing [2020-06-12T05:48:16.526Z] 150a1725e6e1: Preparing [2020-06-12T05:48:16.526Z] 12fab45ad836: Preparing [2020-06-12T05:48:16.526Z] e2f13739ad41: Preparing [2020-06-12T05:48:16.526Z] 150a1725e6e1: Layer already exists [2020-06-12T05:48:16.526Z] 12fab45ad836: Layer already exists [2020-06-12T05:48:16.526Z] 4e74413b32df: Layer already exists [2020-06-12T05:48:16.526Z] e2f13739ad41: Layer already exists [2020-06-12T05:48:16.809Z] latest: digest: sha256:f4ee7b6f4917b96157542a683615f17f911e37b5536ea4c4d7f7641a4f2434d8 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:48:17.159Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:48:17.502Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.1.1-dev.1 [2020-06-12T05:48:17.502Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-06-12T05:48:17.502Z] 4e74413b32df: Preparing [2020-06-12T05:48:17.502Z] 150a1725e6e1: Preparing [2020-06-12T05:48:17.502Z] 12fab45ad836: Preparing [2020-06-12T05:48:17.502Z] e2f13739ad41: Preparing [2020-06-12T05:48:17.502Z] 12fab45ad836: Layer already exists [2020-06-12T05:48:17.502Z] 150a1725e6e1: Layer already exists [2020-06-12T05:48:17.777Z] e2f13739ad41: Layer already exists [2020-06-12T05:48:17.777Z] 4e74413b32df: Layer already exists [2020-06-12T05:48:17.777Z] 1.1.1-dev.1: digest: sha256:f4ee7b6f4917b96157542a683615f17f911e37b5536ea4c4d7f7641a4f2434d8 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:48:18.119Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:48:18.456Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1 [2020-06-12T05:48:18.456Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-06-12T05:48:18.456Z] 4e74413b32df: Preparing [2020-06-12T05:48:18.456Z] 150a1725e6e1: Preparing [2020-06-12T05:48:18.456Z] 12fab45ad836: Preparing [2020-06-12T05:48:18.456Z] e2f13739ad41: Preparing [2020-06-12T05:48:18.456Z] e2f13739ad41: Layer already exists [2020-06-12T05:48:18.456Z] 12fab45ad836: Layer already exists [2020-06-12T05:48:18.456Z] 4e74413b32df: Layer already exists [2020-06-12T05:48:18.456Z] 150a1725e6e1: Layer already exists [2020-06-12T05:48:18.728Z] 44d29830d52e322790143f809155a22bedb1a813-1.1.1-dev.1: digest: sha256:f4ee7b6f4917b96157542a683615f17f911e37b5536ea4c4d7f7641a4f2434d8 size: 1154 [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:48:19.074Z] + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:48:19.410Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [2020-06-12T05:48:19.410Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] [2020-06-12T05:48:19.410Z] 4e74413b32df: Preparing [2020-06-12T05:48:19.410Z] 150a1725e6e1: Preparing [2020-06-12T05:48:19.410Z] 12fab45ad836: Preparing [2020-06-12T05:48:19.410Z] e2f13739ad41: Preparing [2020-06-12T05:48:19.410Z] e2f13739ad41: Layer already exists [2020-06-12T05:48:19.410Z] 150a1725e6e1: Layer already exists [2020-06-12T05:48:19.410Z] 4e74413b32df: Layer already exists [2020-06-12T05:48:19.410Z] 12fab45ad836: Layer already exists [2020-06-12T05:48:19.684Z] master: digest: sha256:f4ee7b6f4917b96157542a683615f17f911e37b5536ea4c4d7f7641a4f2434d8 size: 1154 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [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-12T05:48:20.630Z] provisioning config files... [2020-06-12T05:48:20.645Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config2413889431110866698tmp [Pipeline] { [Pipeline] sh [2020-06-12T05:48:20.981Z] + curl -s https://codecov.io/bash [2020-06-12T05:48:20.981Z] + bash -s - -t @/w/workspace/gexfoundry_device-rest-go_master@tmp/config2413889431110866698tmp [2020-06-12T05:48:21.253Z] [2020-06-12T05:48:21.254Z] _____ _ [2020-06-12T05:48:21.254Z] / ____| | | [2020-06-12T05:48:21.254Z] | | ___ __| | ___ ___ _____ __ [2020-06-12T05:48:21.254Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-06-12T05:48:21.254Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-06-12T05:48:21.254Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-06-12T05:48:21.254Z] Bash-20200602-f809a24 [2020-06-12T05:48:21.254Z] [2020-06-12T05:48:21.254Z] [2020-06-12T05:48:21.254Z] ==> Jenkins CI detected. [2020-06-12T05:48:21.254Z] project root: . [2020-06-12T05:48:21.254Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-06-12T05:48:21.254Z] ==> Running gcov in . (disable via -X gcov) [2020-06-12T05:48:21.254Z] ==> Python coveragepy not found [2020-06-12T05:48:21.254Z] ==> Searching for coverage reports in: [2020-06-12T05:48:21.254Z] + . [2020-06-12T05:48:21.254Z] -> Found 1 reports [2020-06-12T05:48:21.254Z] ==> Detecting git/mercurial file structure [2020-06-12T05:48:21.254Z] ==> Reading reports [2020-06-12T05:48:21.254Z] + ./coverage.out bytes=9369 [2020-06-12T05:48:21.523Z] ==> Appending adjustments [2020-06-12T05:48:21.523Z] https://docs.codecov.io/docs/fixing-reports [2020-06-12T05:48:21.523Z] + Found adjustments [2020-06-12T05:48:21.523Z] ==> Gzipping contents [2020-06-12T05:48:21.523Z] ==> Uploading reports [2020-06-12T05:48:21.523Z] url: https://codecov.io [2020-06-12T05:48:21.523Z] query: branch=master&commit=44d29830d52e322790143f809155a22bedb1a813&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= [2020-06-12T05:48:21.523Z] -> Pinging Codecov [2020-06-12T05:48:21.523Z] https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=master&commit=44d29830d52e322790143f809155a22bedb1a813&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job= [2020-06-12T05:48:22.110Z] -> Uploading [2020-06-12T05:48:22.694Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/44d29830d52e322790143f809155a22bedb1a813 [Pipeline] } [2020-06-12T05:48:22.714Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo [2020-06-12T05:48:22.934Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo [2020-06-12T05:48:22.937Z] [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials [2020-06-12T05:48:22.979Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:48:23.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-06-12T05:48:23.349Z] [2020-06-12T05:48:23.349Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:48:23.712Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-06-12T05:48:23.712Z] 1.317.0: Pulling from edgex-devops/edgex-snyk-go [2020-06-12T05:48:23.712Z] cbdbe7a5bc2a: Pulling fs layer [2020-06-12T05:48:23.712Z] 408f87550127: Pulling fs layer [2020-06-12T05:48:23.712Z] fe522b08c979: Pulling fs layer [2020-06-12T05:48:23.712Z] 221eaa008020: Pulling fs layer [2020-06-12T05:48:23.712Z] 2a4607e5d6b9: Pulling fs layer [2020-06-12T05:48:23.712Z] 8f79b27c4fd2: Pulling fs layer [2020-06-12T05:48:23.712Z] e5c8dbe1645b: Pulling fs layer [2020-06-12T05:48:23.712Z] 23e8b3b47431: Pulling fs layer [2020-06-12T05:48:23.712Z] 5c568d65a230: Pulling fs layer [2020-06-12T05:48:23.712Z] 8f79b27c4fd2: Waiting [2020-06-12T05:48:23.712Z] e5c8dbe1645b: Waiting [2020-06-12T05:48:23.712Z] 23e8b3b47431: Waiting [2020-06-12T05:48:23.712Z] 5c568d65a230: Waiting [2020-06-12T05:48:23.712Z] 221eaa008020: Waiting [2020-06-12T05:48:23.712Z] 2a4607e5d6b9: Waiting [2020-06-12T05:48:23.712Z] fe522b08c979: Verifying Checksum [2020-06-12T05:48:23.712Z] fe522b08c979: Download complete [2020-06-12T05:48:23.712Z] 408f87550127: Verifying Checksum [2020-06-12T05:48:23.712Z] 408f87550127: Download complete [2020-06-12T05:48:23.712Z] 2a4607e5d6b9: Verifying Checksum [2020-06-12T05:48:23.712Z] 2a4607e5d6b9: Download complete [2020-06-12T05:48:23.712Z] 8f79b27c4fd2: Verifying Checksum [2020-06-12T05:48:23.712Z] 8f79b27c4fd2: Download complete [2020-06-12T05:48:23.712Z] cbdbe7a5bc2a: Verifying Checksum [2020-06-12T05:48:24.345Z] cbdbe7a5bc2a: Pull complete [2020-06-12T05:48:24.686Z] e5c8dbe1645b: Verifying Checksum [2020-06-12T05:48:24.686Z] e5c8dbe1645b: Download complete [2020-06-12T05:48:24.975Z] 408f87550127: Pull complete [2020-06-12T05:48:25.301Z] fe522b08c979: Pull complete [2020-06-12T05:48:25.575Z] 23e8b3b47431: Verifying Checksum [2020-06-12T05:48:25.575Z] 23e8b3b47431: Download complete [2020-06-12T05:48:26.214Z] 5c568d65a230: Verifying Checksum [2020-06-12T05:48:26.214Z] 5c568d65a230: Download complete [2020-06-12T05:48:26.838Z] 221eaa008020: Verifying Checksum [2020-06-12T05:48:26.838Z] 221eaa008020: Download complete [2020-06-12T05:48:37.173Z] 221eaa008020: Pull complete [2020-06-12T05:48:37.173Z] 2a4607e5d6b9: Pull complete [2020-06-12T05:48:37.173Z] 8f79b27c4fd2: Pull complete [2020-06-12T05:48:39.153Z] e5c8dbe1645b: Pull complete [2020-06-12T05:48:43.413Z] 23e8b3b47431: Pull complete [2020-06-12T05:48:44.845Z] 5c568d65a230: Pull complete [2020-06-12T05:48:44.845Z] Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 [2020-06-12T05:48:44.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [2020-06-12T05:48:44.845Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer [2020-06-12T05:48:45.138Z] prd-centos7-docker-4c-2g-2712 does not seem to be running inside a container [2020-06-12T05:48:45.236Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/gexfoundry_device-rest-go_master:/ws -w /ws --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat [2020-06-12T05:48:46.297Z] $ docker top c1cdbc9048c725693b2673eb9cc42a9d3d38f43071287b1e7c3ba4f846b68fcb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-12T05:48:46.819Z] + snyk monitor '--org=edgex-jenkins' [2020-06-12T05:48:53.586Z] [2020-06-12T05:48:53.586Z] Monitoring /w/workspace/gexfoundry_device-rest-go_master... [2020-06-12T05:48:53.586Z] [2020-06-12T05:48:53.586Z] Server returned unexpected error for the monitor request. Status code: 503 [2020-06-12T05:48:53.586Z] [Pipeline] } [2020-06-12T05:48:53.657Z] $ docker stop --time=1 c1cdbc9048c725693b2673eb9cc42a9d3d38f43071287b1e7c3ba4f846b68fcb [2020-06-12T05:48:55.773Z] $ docker rm -f c1cdbc9048c725693b2673eb9cc42a9d3d38f43071287b1e7c3ba4f846b68fcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [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-12T05:48:56.911Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-12T05:48:57.488Z] ---> package-listing.sh [2020-06-12T05:48:57.488Z] ++ facter osfamily [2020-06-12T05:48:57.488Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-12T05:48:57.849Z] + OS_FAMILY=redhat [2020-06-12T05:48:57.849Z] + workspace=/w/workspace/gexfoundry_device-rest-go_master [2020-06-12T05:48:57.849Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-12T05:48:57.849Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-12T05:48:57.849Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-12T05:48:57.849Z] + PACKAGES=/tmp/packages_start.txt [2020-06-12T05:48:57.849Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2020-06-12T05:48:57.849Z] + PACKAGES=/tmp/packages_end.txt [2020-06-12T05:48:57.849Z] + case "${OS_FAMILY}" in [2020-06-12T05:48:57.849Z] + rpm -qa [2020-06-12T05:48:57.849Z] + sort [2020-06-12T05:49:02.197Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-12T05:49:02.197Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-12T05:49:02.197Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-12T05:49:02.197Z] + '[' /w/workspace/gexfoundry_device-rest-go_master ']' [2020-06-12T05:49:02.197Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ [2020-06-12T05:49:02.197Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:49:02.755Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-12T05:49:02.755Z] [2020-06-12T05:49:02.755Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-12T05:49:03.146Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-12T05:49:03.146Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-12T05:49:03.146Z] c9b1b535fdd9: Pulling fs layer [2020-06-12T05:49:03.146Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-12T05:49:03.146Z] 756a868c4378: Pulling fs layer [2020-06-12T05:49:03.146Z] 444b2fc9a129: Pulling fs layer [2020-06-12T05:49:03.146Z] ea15f1150254: Pulling fs layer [2020-06-12T05:49:03.146Z] 41b27a9f41bf: Pulling fs layer [2020-06-12T05:49:03.146Z] 28c525ee5125: Pulling fs layer [2020-06-12T05:49:03.146Z] 094b1ea09ed8: Pulling fs layer [2020-06-12T05:49:03.146Z] 138eaada9080: Pulling fs layer [2020-06-12T05:49:03.146Z] 0622d0fa9048: Pulling fs layer [2020-06-12T05:49:03.146Z] 444b2fc9a129: Waiting [2020-06-12T05:49:03.146Z] ea15f1150254: Waiting [2020-06-12T05:49:03.146Z] 41b27a9f41bf: Waiting [2020-06-12T05:49:03.146Z] 28c525ee5125: Waiting [2020-06-12T05:49:03.146Z] 094b1ea09ed8: Waiting [2020-06-12T05:49:03.146Z] 138eaada9080: Waiting [2020-06-12T05:49:03.146Z] 0622d0fa9048: Waiting [2020-06-12T05:49:03.146Z] 2cc5ad85d9ab: Download complete [2020-06-12T05:49:03.146Z] 444b2fc9a129: Verifying Checksum [2020-06-12T05:49:03.146Z] 444b2fc9a129: Download complete [2020-06-12T05:49:03.541Z] c9b1b535fdd9: Verifying Checksum [2020-06-12T05:49:03.542Z] c9b1b535fdd9: Download complete [2020-06-12T05:49:03.542Z] ea15f1150254: Verifying Checksum [2020-06-12T05:49:03.542Z] ea15f1150254: Download complete [2020-06-12T05:49:03.842Z] c9b1b535fdd9: Pull complete [2020-06-12T05:49:04.181Z] 28c525ee5125: Verifying Checksum [2020-06-12T05:49:04.181Z] 28c525ee5125: Download complete [2020-06-12T05:49:04.479Z] 2cc5ad85d9ab: Pull complete [2020-06-12T05:49:04.479Z] 756a868c4378: Download complete [2020-06-12T05:49:04.758Z] 138eaada9080: Verifying Checksum [2020-06-12T05:49:04.758Z] 138eaada9080: Download complete [2020-06-12T05:49:04.758Z] 0622d0fa9048: Verifying Checksum [2020-06-12T05:49:04.758Z] 0622d0fa9048: Download complete [2020-06-12T05:49:04.758Z] 094b1ea09ed8: Verifying Checksum [2020-06-12T05:49:04.758Z] 094b1ea09ed8: Download complete [2020-06-12T05:49:05.883Z] 41b27a9f41bf: Verifying Checksum [2020-06-12T05:49:05.883Z] 41b27a9f41bf: Download complete [2020-06-12T05:49:06.888Z] 756a868c4378: Pull complete [2020-06-12T05:49:06.888Z] 444b2fc9a129: Pull complete [2020-06-12T05:49:07.468Z] ea15f1150254: Pull complete [2020-06-12T05:49:11.728Z] 41b27a9f41bf: Pull complete [2020-06-12T05:49:11.728Z] 28c525ee5125: Pull complete [2020-06-12T05:49:15.226Z] 094b1ea09ed8: Pull complete [2020-06-12T05:49:15.637Z] 138eaada9080: Pull complete [2020-06-12T05:49:15.637Z] 0622d0fa9048: Pull complete [2020-06-12T05:49:15.637Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-12T05:49:15.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-12T05:49:15.637Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-12T05:49:16.003Z] prd-centos7-docker-4c-2g-2712 does not seem to be running inside a container [2020-06-12T05:49:16.130Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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-12T05:49:19.793Z] $ docker top 4edfa4ff98bce3797bd354d9b1a0cb70a6cbe7fda3519c5a3aafbccb6bcb9693 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-12T05:49:19.987Z] provisioning config files... [2020-06-12T05:49:20.005Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8059198362005890405tmp [Pipeline] { [Pipeline] echo [2020-06-12T05:49:20.040Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-12T05:49:20.369Z] ---> create-netrc.sh [Pipeline] echo [2020-06-12T05:49:20.381Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-12T05:49:20.712Z] ---> logs-deploy.sh [2020-06-12T05:49:20.712Z] + ARCHIVE_ARTIFACTS= [2020-06-12T05:49:20.712Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-12T05:49:20.712Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-12T05:49:20.712Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-12T05:49:20.712Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/8 [2020-06-12T05:49:20.712Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/master/8/ [2020-06-12T05:49:20.712Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/8 /w/workspace/gexfoundry_device-rest-go_master [2020-06-12T05:49:22.649Z] Archives upload complete. [2020-06-12T05:49:22.649Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/8 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/master/8/