Pull request #32 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from b28fb37fc25b16c08b3fc5641f69c6b03f186c00+b106d00ae92e946d2103bc6c1464522635373c7b (b0ae631e9644741b7ca5172fef7108eab8431bbd) Running in Durability level: MAX_SURVIVABILITY 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-32/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 be3c330340c18bb7ab85087afff7d7ed2ee420c0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be3c330340c18bb7ab85087afff7d7ed2ee420c0 # timeout=10 Commit message: "Merge pull request #211 from ernestojeda/fix-docker-image-push-with-namespace" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-553 in /w/workspace/dgexfoundry_device-rest-go_PR-32 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-32 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/32/head:refs/remotes/origin/PR-32 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/32/head:refs/remotes/origin/PR-32 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/32/head:refs/remotes/origin/PR-32 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit b28fb37fc25b16c08b3fc5641f69c6b03f186c00 Merge succeeded, producing b28fb37fc25b16c08b3fc5641f69c6b03f186c00 Checking out Revision b28fb37fc25b16c08b3fc5641f69c6b03f186c00 (PR-32) > git config core.sparsecheckout # timeout=10 > git checkout -f b28fb37fc25b16c08b3fc5641f69c6b03f186c00 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b28fb37fc25b16c08b3fc5641f69c6b03f186c00 # timeout=10 Commit message: "Update SDK version and configuration file" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-22T06:26:33.273Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-22T06:26:33.537Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-22T06:26:33.700Z] ========================================================= [2020-07-22T06:26:33.700Z] EdgeX Global Pipelines Version Info [2020-07-22T06:26:33.700Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-22T06:26:35.134Z] ------------------- [2020-07-22T06:26:35.134Z] stable info: [2020-07-22T06:26:35.134Z] ------------------- [2020-07-22T06:26:35.134Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-22T06:26:35.134Z] Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 [2020-07-22T06:26:35.134Z] Message: update stable to v1.0.99 [2020-07-22T06:26:36.084Z] ------------------- [2020-07-22T06:26:36.084Z] experimental info: [2020-07-22T06:26:36.084Z] ------------------- [2020-07-22T06:26:36.084Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-07-22T06:26:36.084Z] Commit SHA: 78d567e8c35819a45e10bd2b75e1138b16507148 [2020-07-22T06:26:36.084Z] Message: update experimental to v1.0.101 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-07-22T06:26:38.336Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T06:26:38.599Z] [2020-07-22T06:26:38.599Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-22T06:26:38.976Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T06:26:38.976Z] latest: Pulling from edgex-devops/git-semver [2020-07-22T06:26:38.976Z] 31603596830f: Pulling fs layer [2020-07-22T06:26:38.976Z] 2a8b12db71e7: Pulling fs layer [2020-07-22T06:26:38.976Z] 6ca5941a6612: Pulling fs layer [2020-07-22T06:26:38.976Z] ecc8261a40a4: Pulling fs layer [2020-07-22T06:26:38.976Z] ecc8261a40a4: Waiting [2020-07-22T06:26:38.976Z] 2a8b12db71e7: Verifying Checksum [2020-07-22T06:26:38.976Z] 2a8b12db71e7: Download complete [2020-07-22T06:26:39.248Z] 31603596830f: Verifying Checksum [2020-07-22T06:26:39.248Z] 31603596830f: Download complete [2020-07-22T06:26:39.248Z] 6ca5941a6612: Verifying Checksum [2020-07-22T06:26:39.248Z] 6ca5941a6612: Download complete [2020-07-22T06:26:39.248Z] ecc8261a40a4: Verifying Checksum [2020-07-22T06:26:39.248Z] ecc8261a40a4: Download complete [2020-07-22T06:26:39.511Z] 31603596830f: Pull complete [2020-07-22T06:26:39.511Z] 2a8b12db71e7: Pull complete [2020-07-22T06:26:40.474Z] 6ca5941a6612: Pull complete [2020-07-22T06:26:40.737Z] ecc8261a40a4: Pull complete [2020-07-22T06:26:40.737Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-22T06:26:40.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T06:26:40.737Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-22T06:26:40.888Z] prd-centos7-docker-4c-2g-553 does not seem to be running inside a container [2020-07-22T06:26:40.930Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-32 -v /w/workspace/dgexfoundry_device-rest-go_PR-32:/w/workspace/dgexfoundry_device-rest-go_PR-32:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-32@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-22T06:26:42.900Z] $ docker top db537fd8d182b7a7034c3878c656a4f184b57c7bef7224b0bf428809a27a525f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-22T06:26:43.259Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-22T06:26:43.259Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-22T06:26:43.488Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-22T06:26:43.487Z] $ docker exec db537fd8d182b7a7034c3878c656a4f184b57c7bef7224b0bf428809a27a525f ssh-agent [2020-07-22T06:26:43.672Z] SSH_AUTH_SOCK=/tmp/ssh-Pky2vgwxXR4j/agent.11 [2020-07-22T06:26:43.672Z] SSH_AGENT_PID=16 [2020-07-22T06:26:43.685Z] Running ssh-add (command line suppressed) [2020-07-22T06:26:43.808Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-32@tmp/private_key_4294606274832194606.key (/w/workspace/dgexfoundry_device-rest-go_PR-32@tmp/private_key_4294606274832194606.key) [2020-07-22T06:26:43.867Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-22T06:26:44.237Z] + git describe --exact-match --tags HEAD [2020-07-22T06:26:44.238Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-22T06:26:44.340Z] $ docker exec --env ******** --env ******** db537fd8d182b7a7034c3878c656a4f184b57c7bef7224b0bf428809a27a525f ssh-agent -k [2020-07-22T06:26:44.471Z] unset SSH_AUTH_SOCK; [2020-07-22T06:26:44.471Z] unset SSH_AGENT_PID; [2020-07-22T06:26:44.471Z] echo Agent pid 16 killed; [2020-07-22T06:26:44.526Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-22T06:26:44.876Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-22T06:26:44.876Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-22T06:26:45.036Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-22T06:26:45.037Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-22T06:26:45.282Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-22T06:26:45.281Z] $ docker exec db537fd8d182b7a7034c3878c656a4f184b57c7bef7224b0bf428809a27a525f ssh-agent [2020-07-22T06:26:45.528Z] SSH_AUTH_SOCK=/tmp/ssh-EymheeZQfbhg/agent.46 [2020-07-22T06:26:45.528Z] SSH_AGENT_PID=51 [2020-07-22T06:26:45.568Z] Running ssh-add (command line suppressed) [2020-07-22T06:26:45.699Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-32@tmp/private_key_1469840377599893262.key (/w/workspace/dgexfoundry_device-rest-go_PR-32@tmp/private_key_1469840377599893262.key) [2020-07-22T06:26:45.759Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-22T06:26:46.122Z] + git semver init [2020-07-22T06:26:46.123Z] # -> Open(): unable to determine branch for HEAD [2020-07-22T06:26:46.123Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-32/.git [2020-07-22T06:26:46.123Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-32 [2020-07-22T06:26:46.123Z] # $SEMVER_REMOTE_NAME = origin [2020-07-22T06:26:46.123Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-22T06:26:46.123Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-22T06:26:46.123Z] # $SEMVER_BRANCH = PR-32 [2020-07-22T06:26:46.123Z] # $SEMVER_TEMP = /tmp/semver-525778841 [2020-07-22T06:26:46.123Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-07-22T06:26:48.051Z] # '/tmp/semver-525778841' -> '/w/workspace/dgexfoundry_device-rest-go_PR-32/.semver' [2020-07-22T06:26:48.313Z] # -> Force: false [2020-07-22T06:26:48.313Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-32/.semver [Pipeline] } [2020-07-22T06:26:48.328Z] $ docker exec --env ******** --env ******** db537fd8d182b7a7034c3878c656a4f184b57c7bef7224b0bf428809a27a525f ssh-agent -k [2020-07-22T06:26:48.440Z] unset SSH_AUTH_SOCK; [2020-07-22T06:26:48.440Z] unset SSH_AGENT_PID; [2020-07-22T06:26:48.441Z] echo Agent pid 51 killed; [2020-07-22T06:26:48.489Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-22T06:26:49.015Z] + git semver [Pipeline] } [2020-07-22T06:26:49.037Z] $ docker stop --time=1 db537fd8d182b7a7034c3878c656a4f184b57c7bef7224b0bf428809a27a525f [2020-07-22T06:26:50.399Z] $ docker rm -f db537fd8d182b7a7034c3878c656a4f184b57c7bef7224b0bf428809a27a525f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-22T06:26:51.848Z] Stashed 17 file(s) [Pipeline] echo [2020-07-22T06:26:51.867Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-07-22T06:27:07.346Z] Still waiting to schedule task [2020-07-22T06:27:07.346Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-07-22T06:27:07.367Z] Still waiting to schedule task [2020-07-22T06:27:07.367Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-07-22T06:28:41.266Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-554 in /w/workspace/dgexfoundry_device-rest-go_PR-32 [Pipeline] { [Pipeline] ws [2020-07-22T06:28:41.337Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-07-22T06:28:46.089Z] using credential edgex-jenkins-ssh [2020-07-22T06:28:46.137Z] Cloning the remote Git repository [2020-07-22T06:28:46.138Z] Cloning with configured refspecs honoured and without tags [2020-07-22T06:28:46.197Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-07-22T06:28:46.337Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-07-22T06:28:46.432Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-07-22T06:28:46.433Z] > git --version # timeout=10 [2020-07-22T06:28:46.463Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T06:28:46.541Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/32/head:refs/remotes/origin/PR-32 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T06:28:48.007Z] Fetching without tags [2020-07-22T06:28:48.590Z] Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit b28fb37fc25b16c08b3fc5641f69c6b03f186c00 [2020-07-22T06:28:48.842Z] Merge succeeded, producing b28fb37fc25b16c08b3fc5641f69c6b03f186c00 [2020-07-22T06:28:48.842Z] Checking out Revision b28fb37fc25b16c08b3fc5641f69c6b03f186c00 (PR-32) [2020-07-22T06:28:47.919Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-07-22T06:28:47.941Z] > git config --add remote.origin.fetch +refs/pull/32/head:refs/remotes/origin/PR-32 # timeout=10 [2020-07-22T06:28:47.962Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T06:28:47.984Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-07-22T06:28:48.019Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-07-22T06:28:48.019Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T06:28:48.035Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/32/head:refs/remotes/origin/PR-32 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T06:28:48.610Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T06:28:48.628Z] > git checkout -f b28fb37fc25b16c08b3fc5641f69c6b03f186c00 # timeout=10 [2020-07-22T06:28:48.696Z] > git remote # timeout=10 [2020-07-22T06:28:48.723Z] > git config --get remote.origin.url # timeout=10 [2020-07-22T06:28:48.773Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T06:28:48.786Z] > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 [2020-07-22T06:28:48.823Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-22T06:28:48.846Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T06:28:48.882Z] > git checkout -f b28fb37fc25b16c08b3fc5641f69c6b03f186c00 # timeout=10 [2020-07-22T06:28:53.106Z] Commit message: "Update SDK version and configuration file" [2020-07-22T06:28:53.155Z] > git --version # timeout=10 [2020-07-22T06:28:53.176Z] fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-22T06:28:55.788Z] ========================================================= [2020-07-22T06:28:55.788Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-07-22T06:28:55.788Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-22T06:28:56.901Z] + 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-07-22T06:28:57.889Z] Sending build context to Docker daemon 8.02MB [2020-07-22T06:28:57.889Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-07-22T06:28:57.889Z] Step 2/10 : FROM ${BASE} [2020-07-22T06:28:58.175Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-07-22T06:28:58.175Z] b538f80385f9: Pulling fs layer [2020-07-22T06:28:58.176Z] 74f711af9a0d: Pulling fs layer [2020-07-22T06:28:58.176Z] 99f96fe45779: Pulling fs layer [2020-07-22T06:28:58.176Z] fd7a069fd194: Pulling fs layer [2020-07-22T06:28:58.176Z] 66aa3694b03b: Pulling fs layer [2020-07-22T06:28:58.176Z] 170f70906a0f: Pulling fs layer [2020-07-22T06:28:58.176Z] ad7c5574e4b9: Pulling fs layer [2020-07-22T06:28:58.176Z] e772456be8f7: Pulling fs layer [2020-07-22T06:28:58.176Z] c890913d741a: Pulling fs layer [2020-07-22T06:28:58.176Z] 2480fcc9aa5a: Pulling fs layer [2020-07-22T06:28:58.176Z] 09adf4765672: Pulling fs layer [2020-07-22T06:28:58.176Z] ad7c5574e4b9: Waiting [2020-07-22T06:28:58.176Z] fd7a069fd194: Waiting [2020-07-22T06:28:58.176Z] 66aa3694b03b: Waiting [2020-07-22T06:28:58.176Z] e772456be8f7: Waiting [2020-07-22T06:28:58.176Z] c890913d741a: Waiting [2020-07-22T06:28:58.176Z] 09adf4765672: Waiting [2020-07-22T06:28:58.176Z] 2480fcc9aa5a: Waiting [2020-07-22T06:28:58.176Z] 170f70906a0f: Waiting [2020-07-22T06:28:58.176Z] 99f96fe45779: Download complete [2020-07-22T06:28:58.176Z] 74f711af9a0d: Download complete [2020-07-22T06:28:58.176Z] 66aa3694b03b: Verifying Checksum [2020-07-22T06:28:58.176Z] 66aa3694b03b: Download complete [2020-07-22T06:28:58.176Z] 170f70906a0f: Verifying Checksum [2020-07-22T06:28:58.176Z] 170f70906a0f: Download complete [2020-07-22T06:28:58.176Z] b538f80385f9: Verifying Checksum [2020-07-22T06:28:59.187Z] b538f80385f9: Pull complete [2020-07-22T06:28:59.792Z] 74f711af9a0d: Pull complete [2020-07-22T06:29:00.066Z] 99f96fe45779: Pull complete [2020-07-22T06:29:01.051Z] ad7c5574e4b9: Verifying Checksum [2020-07-22T06:29:01.052Z] ad7c5574e4b9: Download complete [2020-07-22T06:29:01.052Z] c890913d741a: Verifying Checksum [2020-07-22T06:29:01.052Z] c890913d741a: Download complete [2020-07-22T06:29:01.388Z] Running on prd-centos7-docker-4c-2g-555 in /w/workspace/dgexfoundry_device-rest-go_PR-32 [Pipeline] { [Pipeline] ws [2020-07-22T06:29:01.477Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-07-22T06:29:03.699Z] 2480fcc9aa5a: Verifying Checksum [2020-07-22T06:29:03.699Z] 2480fcc9aa5a: Download complete [2020-07-22T06:29:03.699Z] e772456be8f7: Verifying Checksum [2020-07-22T06:29:03.699Z] e772456be8f7: Download complete [2020-07-22T06:29:03.699Z] 09adf4765672: Verifying Checksum [2020-07-22T06:29:03.699Z] 09adf4765672: Download complete [2020-07-22T06:29:03.699Z] fd7a069fd194: Verifying Checksum [2020-07-22T06:29:03.699Z] fd7a069fd194: Download complete [2020-07-22T06:29:03.897Z] using credential edgex-jenkins-ssh [2020-07-22T06:29:03.947Z] Cloning the remote Git repository [2020-07-22T06:29:03.947Z] Cloning with configured refspecs honoured and without tags [2020-07-22T06:29:03.966Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-07-22T06:29:05.015Z] Fetching without tags [2020-07-22T06:29:04.036Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-07-22T06:29:04.079Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-07-22T06:29:04.080Z] > git --version # timeout=10 [2020-07-22T06:29:04.088Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T06:29:04.133Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/32/head:refs/remotes/origin/PR-32 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T06:29:04.976Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-07-22T06:29:04.982Z] > git config --add remote.origin.fetch +refs/pull/32/head:refs/remotes/origin/PR-32 # timeout=10 [2020-07-22T06:29:04.990Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T06:29:05.000Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-07-22T06:29:05.015Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-07-22T06:29:05.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T06:29:05.019Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/32/head:refs/remotes/origin/PR-32 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T06:29:05.387Z] Merging remotes/origin/master commit b106d00ae92e946d2103bc6c1464522635373c7b into PR head commit b28fb37fc25b16c08b3fc5641f69c6b03f186c00 [2020-07-22T06:29:05.461Z] Merge succeeded, producing b28fb37fc25b16c08b3fc5641f69c6b03f186c00 [2020-07-22T06:29:05.461Z] Checking out Revision b28fb37fc25b16c08b3fc5641f69c6b03f186c00 (PR-32) [2020-07-22T06:29:05.390Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T06:29:05.399Z] > git checkout -f b28fb37fc25b16c08b3fc5641f69c6b03f186c00 # timeout=10 [2020-07-22T06:29:05.425Z] > git remote # timeout=10 [2020-07-22T06:29:05.431Z] > git config --get remote.origin.url # timeout=10 [2020-07-22T06:29:05.437Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T06:29:05.441Z] > git merge b106d00ae92e946d2103bc6c1464522635373c7b # timeout=10 [2020-07-22T06:29:05.450Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-22T06:29:05.460Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T06:29:05.471Z] > git checkout -f b28fb37fc25b16c08b3fc5641f69c6b03f186c00 # timeout=10 [2020-07-22T06:29:09.006Z] Commit message: "Update SDK version and configuration file" [2020-07-22T06:29:09.024Z] > git --version # timeout=10 [2020-07-22T06:29:09.042Z] fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-22T06:29:10.208Z] ========================================================= [2020-07-22T06:29:10.208Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-07-22T06:29:10.208Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-22T06:29:10.850Z] + 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-07-22T06:29:11.113Z] Sending build context to Docker daemon 8.02MB [2020-07-22T06:29:11.113Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-07-22T06:29:11.113Z] Step 2/10 : FROM ${BASE} [2020-07-22T06:29:11.385Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-07-22T06:29:11.385Z] df20fa9351a1: Pulling fs layer [2020-07-22T06:29:11.385Z] ed8968b2872e: Pulling fs layer [2020-07-22T06:29:11.385Z] a92cc7c5fd73: Pulling fs layer [2020-07-22T06:29:11.385Z] 2dd03ba5bac4: Pulling fs layer [2020-07-22T06:29:11.385Z] 1e091d79d1de: Pulling fs layer [2020-07-22T06:29:11.385Z] 481702a1767f: Pulling fs layer [2020-07-22T06:29:11.385Z] f64a6f60c768: Pulling fs layer [2020-07-22T06:29:11.385Z] e78d2573fc39: Pulling fs layer [2020-07-22T06:29:11.385Z] e876d2f968b6: Pulling fs layer [2020-07-22T06:29:11.385Z] ce8a83651883: Pulling fs layer [2020-07-22T06:29:11.385Z] 07967f4d0e4b: Pulling fs layer [2020-07-22T06:29:11.385Z] f64a6f60c768: Waiting [2020-07-22T06:29:11.385Z] e78d2573fc39: Waiting [2020-07-22T06:29:11.385Z] e876d2f968b6: Waiting [2020-07-22T06:29:11.385Z] ce8a83651883: Waiting [2020-07-22T06:29:11.385Z] 2dd03ba5bac4: Waiting [2020-07-22T06:29:11.385Z] 1e091d79d1de: Waiting [2020-07-22T06:29:11.385Z] 481702a1767f: Waiting [2020-07-22T06:29:11.385Z] 07967f4d0e4b: Waiting [2020-07-22T06:29:11.385Z] a92cc7c5fd73: Verifying Checksum [2020-07-22T06:29:11.385Z] a92cc7c5fd73: Download complete [2020-07-22T06:29:11.385Z] ed8968b2872e: Verifying Checksum [2020-07-22T06:29:11.385Z] ed8968b2872e: Download complete [2020-07-22T06:29:11.385Z] 1e091d79d1de: Download complete [2020-07-22T06:29:11.385Z] 481702a1767f: Verifying Checksum [2020-07-22T06:29:11.385Z] 481702a1767f: Download complete [2020-07-22T06:29:11.385Z] df20fa9351a1: Verifying Checksum [2020-07-22T06:29:11.385Z] df20fa9351a1: Download complete [2020-07-22T06:29:12.347Z] f64a6f60c768: Verifying Checksum [2020-07-22T06:29:12.347Z] f64a6f60c768: Download complete [2020-07-22T06:29:12.347Z] e876d2f968b6: Verifying Checksum [2020-07-22T06:29:12.347Z] e876d2f968b6: Download complete [2020-07-22T06:29:12.623Z] e78d2573fc39: Verifying Checksum [2020-07-22T06:29:12.623Z] e78d2573fc39: Download complete [2020-07-22T06:29:12.623Z] 07967f4d0e4b: Verifying Checksum [2020-07-22T06:29:12.623Z] 07967f4d0e4b: Download complete [2020-07-22T06:29:12.884Z] ce8a83651883: Download complete [2020-07-22T06:29:12.884Z] 2dd03ba5bac4: Verifying Checksum [2020-07-22T06:29:12.884Z] 2dd03ba5bac4: Download complete [2020-07-22T06:29:13.457Z] df20fa9351a1: Pull complete [2020-07-22T06:29:13.719Z] ed8968b2872e: Pull complete [2020-07-22T06:29:13.979Z] a92cc7c5fd73: Pull complete [2020-07-22T06:29:16.112Z] fd7a069fd194: Pull complete [2020-07-22T06:29:16.113Z] 66aa3694b03b: Pull complete [2020-07-22T06:29:16.113Z] 170f70906a0f: Pull complete [2020-07-22T06:29:19.291Z] 2dd03ba5bac4: Pull complete [2020-07-22T06:29:19.291Z] 1e091d79d1de: Pull complete [2020-07-22T06:29:19.291Z] 481702a1767f: Pull complete [2020-07-22T06:29:19.510Z] ad7c5574e4b9: Pull complete [2020-07-22T06:29:23.831Z] e772456be8f7: Pull complete [2020-07-22T06:29:24.112Z] c890913d741a: Pull complete [2020-07-22T06:29:24.582Z] f64a6f60c768: Pull complete [2020-07-22T06:29:26.766Z] 2480fcc9aa5a: Pull complete [2020-07-22T06:29:27.043Z] 09adf4765672: Pull complete [2020-07-22T06:29:27.043Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-07-22T06:29:27.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-07-22T06:29:27.043Z] ---> 2248a725d1cf [2020-07-22T06:29:27.043Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-07-22T06:29:27.133Z] e78d2573fc39: Pull complete [2020-07-22T06:29:27.133Z] e876d2f968b6: Pull complete [2020-07-22T06:29:28.089Z] ce8a83651883: Pull complete [2020-07-22T06:29:28.350Z] 07967f4d0e4b: Pull complete [2020-07-22T06:29:28.350Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-07-22T06:29:28.350Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-07-22T06:29:28.350Z] ---> 5d7c900382c6 [2020-07-22T06:29:28.350Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-07-22T06:29:29.734Z] ---> Running in f36587dbcbee [2020-07-22T06:29:29.734Z] Removing intermediate container f36587dbcbee [2020-07-22T06:29:29.734Z] ---> 2ac512bcaf69 [2020-07-22T06:29:29.734Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-07-22T06:29:29.734Z] ---> Running in 11dc5869ca03 [2020-07-22T06:29:29.734Z] Removing intermediate container 11dc5869ca03 [2020-07-22T06:29:29.734Z] ---> 43004a3a7547 [2020-07-22T06:29:29.734Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-07-22T06:29:29.734Z] ---> Running in 00f341f10ab6 [2020-07-22T06:29:29.997Z] Removing intermediate container 00f341f10ab6 [2020-07-22T06:29:29.997Z] ---> adf7b91efdcd [2020-07-22T06:29:29.997Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-22T06:29:29.997Z] ---> Running in 3e04a225857a [2020-07-22T06:29:31.394Z] Removing intermediate container 3e04a225857a [2020-07-22T06:29:31.394Z] ---> 25904123cbe1 [2020-07-22T06:29:31.394Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-07-22T06:29:31.394Z] ---> Running in 3063c982e7f1 [2020-07-22T06:29:32.344Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-22T06:29:32.457Z] ---> Running in ca7a44011df5 [2020-07-22T06:29:32.732Z] Removing intermediate container ca7a44011df5 [2020-07-22T06:29:32.732Z] ---> 64d9a98fc371 [2020-07-22T06:29:32.732Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-07-22T06:29:32.732Z] ---> Running in d06cc68ac3e3 [2020-07-22T06:29:32.917Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-22T06:29:33.331Z] Removing intermediate container d06cc68ac3e3 [2020-07-22T06:29:33.332Z] ---> b42111958631 [2020-07-22T06:29:33.332Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-07-22T06:29:33.332Z] ---> Running in 63be65a1a3c6 [2020-07-22T06:29:33.492Z] OK: 166 MiB in 39 packages [2020-07-22T06:29:33.930Z] Removing intermediate container 63be65a1a3c6 [2020-07-22T06:29:33.930Z] ---> 2295c4f1e30b [2020-07-22T06:29:33.930Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-22T06:29:33.930Z] ---> Running in 8e6d75811662 [2020-07-22T06:29:34.064Z] Removing intermediate container 3063c982e7f1 [2020-07-22T06:29:34.065Z] ---> 7d03d447964b [2020-07-22T06:29:34.065Z] Step 8/10 : WORKDIR /device-rest-go [2020-07-22T06:29:34.065Z] ---> Running in 1abbf787e8d7 [2020-07-22T06:29:34.065Z] Removing intermediate container 1abbf787e8d7 [2020-07-22T06:29:34.065Z] ---> 81a7db9c0ff2 [2020-07-22T06:29:34.065Z] Step 9/10 : COPY . . [2020-07-22T06:29:34.642Z] ---> 8fdd1175222e [2020-07-22T06:29:34.642Z] Step 10/10 : RUN go mod download [2020-07-22T06:29:34.642Z] ---> Running in 4f6960e91059 [2020-07-22T06:29:36.562Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-22T06:29:36.562Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-22T06:29:36.562Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-22T06:29:36.562Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-22T06:29:36.562Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-22T06:29:36.562Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-22T06:29:36.562Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-22T06:29:36.562Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-22T06:29:36.562Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-07-22T06:29:36.562Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-22T06:29:36.562Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-22T06:29:36.562Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-22T06:29:36.562Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-22T06:29:36.562Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-22T06:29:36.562Z] go: finding github.com/fatih/color v1.7.0 [2020-07-22T06:29:36.824Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-22T06:29:36.824Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-22T06:29:36.824Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-22T06:29:36.824Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-22T06:29:36.824Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-22T06:29:36.824Z] go: finding github.com/google/uuid v1.1.0 [2020-07-22T06:29:36.824Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-22T06:29:36.824Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-22T06:29:36.824Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-22T06:29:36.824Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-22T06:29:36.824Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-22T06:29:37.088Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-22T06:29:37.088Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-22T06:29:37.088Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-22T06:29:37.088Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-22T06:29:37.088Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-22T06:29:37.088Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-22T06:29:37.088Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-22T06:29:37.088Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-22T06:29:37.088Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-07-22T06:29:37.088Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-22T06:29:37.088Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-22T06:29:37.321Z] Removing intermediate container 8e6d75811662 [2020-07-22T06:29:37.321Z] ---> 6edbab63731b [2020-07-22T06:29:37.321Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-07-22T06:29:37.321Z] ---> Running in bbc3f9ff66c9 [2020-07-22T06:29:37.350Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-22T06:29:37.350Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-22T06:29:37.350Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-22T06:29:37.350Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-22T06:29:37.350Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-22T06:29:37.350Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-22T06:29:37.350Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-22T06:29:37.350Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-22T06:29:37.350Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-22T06:29:37.350Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-22T06:29:37.350Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-22T06:29:37.610Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-22T06:29:37.610Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-22T06:29:37.610Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-22T06:29:37.610Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-22T06:29:37.610Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-22T06:29:37.610Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-22T06:29:37.610Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-22T06:29:37.610Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-22T06:29:37.610Z] go: finding github.com/posener/complete v1.1.1 [2020-07-22T06:29:37.874Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-22T06:29:37.874Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-22T06:29:37.874Z] go: finding github.com/spf13/cast v1.3.0 [2020-07-22T06:29:37.874Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-22T06:29:37.874Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-22T06:29:37.874Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-22T06:29:37.874Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-22T06:29:37.874Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-22T06:29:37.874Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-22T06:29:37.874Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-22T06:29:38.138Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-22T06:29:38.138Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-22T06:29:38.138Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-22T06:29:38.753Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-22T06:29:39.351Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-22T06:29:40.346Z] OK: 142 MiB in 39 packages [2020-07-22T06:29:41.325Z] Removing intermediate container bbc3f9ff66c9 [2020-07-22T06:29:41.325Z] ---> 05ee8027029a [2020-07-22T06:29:41.325Z] Step 8/10 : WORKDIR /device-rest-go [2020-07-22T06:29:41.597Z] ---> Running in 978f63c52039 [2020-07-22T06:29:41.871Z] Removing intermediate container 978f63c52039 [2020-07-22T06:29:41.871Z] ---> d068fa8822f4 [2020-07-22T06:29:41.871Z] Step 9/10 : COPY . . [2020-07-22T06:29:43.380Z] ---> d63141175a42 [2020-07-22T06:29:43.380Z] Step 10/10 : RUN go mod download [2020-07-22T06:29:43.380Z] ---> Running in 5d8d1a4187fa [2020-07-22T06:29:45.991Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-22T06:29:45.991Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-22T06:29:45.991Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-22T06:29:45.991Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-22T06:29:45.991Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-22T06:29:46.263Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-22T06:29:46.263Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-22T06:29:46.263Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-22T06:29:46.263Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-07-22T06:29:46.263Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-22T06:29:46.263Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-22T06:29:46.263Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-22T06:29:46.263Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-22T06:29:46.304Z] Removing intermediate container 4f6960e91059 [2020-07-22T06:29:46.304Z] ---> d608d4aa1f5d [2020-07-22T06:29:46.304Z] Successfully built d608d4aa1f5d [2020-07-22T06:29:46.304Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2020-07-22T06:29:46.535Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-22T06:29:46.535Z] go: finding github.com/fatih/color v1.7.0 [2020-07-22T06:29:46.535Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-22T06:29:46.535Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-22T06:29:46.535Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-22T06:29:46.535Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-22T06:29:46.535Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-22T06:29:46.535Z] go: finding github.com/google/uuid v1.1.0 [2020-07-22T06:29:46.535Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-22T06:29:46.535Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-22T06:29:46.535Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [2020-07-22T06:29:46.807Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-22T06:29:46.807Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-22T06:29:46.807Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-22T06:29:46.807Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-22T06:29:46.807Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-22T06:29:46.807Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-22T06:29:46.807Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-07-22T06:29:46.807Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-22T06:29:46.807Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-22T06:29:46.807Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-22T06:29:46.807Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [Pipeline] sh [2020-07-22T06:29:47.078Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-22T06:29:47.078Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-22T06:29:47.078Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-22T06:29:47.078Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-22T06:29:47.078Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-22T06:29:47.078Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-22T06:29:47.078Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-22T06:29:47.078Z] go: finding github.com/miekg/dns v1.0.14 [2020-07-22T06:29:47.078Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-22T06:29:47.078Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-22T06:29:47.078Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-22T06:29:47.078Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-07-22T06:29:47.114Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-22T06:29:47.114Z] . [Pipeline] withDockerContainer [2020-07-22T06:29:47.288Z] prd-centos7-docker-4c-2g-555 does not seem to be running inside a container [2020-07-22T06:29:47.348Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-22T06:29:47.348Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-22T06:29:47.348Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-22T06:29:47.348Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-22T06:29:47.348Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-22T06:29:47.348Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-22T06:29:47.348Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-22T06:29:47.348Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-22T06:29:47.348Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-22T06:29:47.348Z] go: finding github.com/posener/complete v1.1.1 [2020-07-22T06:29:47.389Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-07-22T06:29:47.618Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-07-22T06:29:47.618Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-22T06:29:47.618Z] go: finding github.com/spf13/cast v1.3.0 [2020-07-22T06:29:47.618Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-22T06:29:47.618Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-22T06:29:47.618Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-22T06:29:47.618Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-22T06:29:47.618Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-22T06:29:47.618Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-07-22T06:29:47.618Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-22T06:29:47.618Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-22T06:29:47.618Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-22T06:29:47.890Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-22T06:29:48.641Z] $ docker top 7e41b284537beeb0672095d1ee97b03ab078f215245e6dc2acb54c3f4f0c75b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-22T06:29:49.198Z] + go version [2020-07-22T06:29:49.198Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-07-22T06:29:49.523Z] + make test [2020-07-22T06:29:49.523Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-22T06:29:50.474Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-07-22T06:29:58.088Z] Removing intermediate container 5d8d1a4187fa [2020-07-22T06:29:58.088Z] ---> 42ad9a4fee43 [2020-07-22T06:29:58.088Z] Successfully built 42ad9a4fee43 [2020-07-22T06:29:58.088Z] 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-07-22T06:29:58.926Z] + docker inspect -f . ci-base-image-arm64 [2020-07-22T06:29:58.926Z] . [Pipeline] withDockerContainer [2020-07-22T06:29:59.200Z] prd-ubuntu18.04-docker-arm64-4c-16g-554 does not seem to be running inside a container [2020-07-22T06:29:59.281Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-07-22T06:30:00.584Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-07-22T06:30:00.585Z] ok github.com/edgexfoundry/device-rest-go/driver 0.021s coverage: 56.3% of statements [2020-07-22T06:30:00.585Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-22T06:30:01.143Z] $ docker top b02c18fc65f99f9843680270089509069c4434fd4f855a9f99473505ecac9526 -eo pid,comm [Pipeline] { [2020-07-22T06:30:01.544Z] gofmt -l . [2020-07-22T06:30:01.545Z] [ "`gofmt -l .`" = "" ] [2020-07-22T06:30:01.545Z] ./bin/test-go-mod-tidy.sh [Pipeline] sh [2020-07-22T06:30:02.137Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-07-22T06:30:02.633Z] + go version [2020-07-22T06:30:02.633Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-07-22T06:30:02.704Z] Stashed 1 file(s) [Pipeline] } [2020-07-22T06:30:02.789Z] $ docker stop --time=1 7e41b284537beeb0672095d1ee97b03ab078f215245e6dc2acb54c3f4f0c75b5 [2020-07-22T06:30:03.693Z] + make test [2020-07-22T06:30:03.693Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-07-22T06:30:04.681Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-07-22T06:30:04.887Z] $ docker rm -f 7e41b284537beeb0672095d1ee97b03ab078f215245e6dc2acb54c3f4f0c75b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-22T06:30:06.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-22T06:30:06.823Z] + ls -al . [2020-07-22T06:30:06.824Z] total 96 [2020-07-22T06:30:06.824Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jul 22 06:30 . [2020-07-22T06:30:06.824Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 22 06:29 .. [2020-07-22T06:30:06.824Z] -rw-rw-r--. 1 jenkins jenkins 4802 Jul 22 06:29 Attribution.txt [2020-07-22T06:30:06.824Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 22 06:29 bin [2020-07-22T06:30:06.824Z] drwxrwxr-x. 3 jenkins jenkins 32 Jul 22 06:29 cmd [2020-07-22T06:30:06.824Z] -rw-r--r--. 1 jenkins jenkins 9369 Jul 22 06:29 coverage.out [2020-07-22T06:30:06.824Z] -rw-rw-r--. 1 jenkins jenkins 1504 Jul 22 06:29 Dockerfile [2020-07-22T06:30:06.824Z] -rw-rw-r--. 1 jenkins jenkins 989 Jul 22 06:29 Dockerfile.build [2020-07-22T06:30:06.824Z] -rw-rw-r--. 1 jenkins jenkins 151 Jul 22 06:29 .dockerignore [2020-07-22T06:30:06.824Z] drwxrwxr-x. 2 jenkins jenkins 93 Jul 22 06:29 driver [2020-07-22T06:30:06.824Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 22 06:29 .git [2020-07-22T06:30:06.824Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 22 06:29 .github [2020-07-22T06:30:06.824Z] -rw-rw-r--. 1 jenkins jenkins 339 Jul 22 06:29 .gitignore [2020-07-22T06:30:06.824Z] -rw-r--r--. 1 jenkins jenkins 266 Jul 22 06:30 go.mod [2020-07-22T06:30:06.824Z] -rw-r--r--. 1 jenkins jenkins 12533 Jul 22 06:30 go.sum [2020-07-22T06:30:06.824Z] -rw-rw-r--. 1 jenkins jenkins 702 Jul 22 06:29 Jenkinsfile [2020-07-22T06:30:06.824Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jul 22 06:29 LICENSE [2020-07-22T06:30:06.824Z] -rw-rw-r--. 1 jenkins jenkins 951 Jul 22 06:29 Makefile [2020-07-22T06:30:06.824Z] -rw-rw-r--. 1 jenkins jenkins 5716 Jul 22 06:29 README.md [2020-07-22T06:30:06.824Z] drwxrwxr-x. 3 jenkins jenkins 45 Jul 22 06:29 .semver [2020-07-22T06:30:06.824Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 22 06:26 VERSION [2020-07-22T06:30:06.824Z] -rw-rw-r--. 1 jenkins jenkins 713 Jul 22 06:29 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-22T06:30:07.153Z] + 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=b28fb37fc25b16c08b3fc5641f69c6b03f186c00 --label arch=amd64 --label version=0.0.0 . [2020-07-22T06:30:07.153Z] Sending build context to Docker daemon 8.032MB [2020-07-22T06:30:07.153Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-07-22T06:30:07.153Z] Step 2/24 : FROM ${BASE} AS builder [2020-07-22T06:30:07.153Z] ---> d608d4aa1f5d [2020-07-22T06:30:07.153Z] Step 3/24 : ARG MAKE='make build' [2020-07-22T06:30:07.416Z] ---> Running in 9ab39d81762a [2020-07-22T06:30:07.416Z] Removing intermediate container 9ab39d81762a [2020-07-22T06:30:07.416Z] ---> c354eb5bc9be [2020-07-22T06:30:07.416Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-07-22T06:30:07.679Z] ---> Running in 1209030bfe91 [2020-07-22T06:30:07.679Z] Removing intermediate container 1209030bfe91 [2020-07-22T06:30:07.679Z] ---> 8d1f825e7ca1 [2020-07-22T06:30:07.679Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-07-22T06:30:07.679Z] ---> Running in c70dd2dad377 [2020-07-22T06:30:07.940Z] Removing intermediate container c70dd2dad377 [2020-07-22T06:30:07.940Z] ---> ea627cdd16e1 [2020-07-22T06:30:07.940Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-22T06:30:07.940Z] ---> Running in 4ecf1bfc8671 [2020-07-22T06:30:08.889Z] Removing intermediate container 4ecf1bfc8671 [2020-07-22T06:30:08.889Z] ---> 911c0369bb60 [2020-07-22T06:30:08.889Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-07-22T06:30:08.889Z] ---> Running in dcf1408599a0 [2020-07-22T06:30:09.463Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-22T06:30:10.037Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-22T06:30:10.983Z] OK: 166 MiB in 39 packages [2020-07-22T06:30:11.247Z] Removing intermediate container dcf1408599a0 [2020-07-22T06:30:11.247Z] ---> 8b210e504693 [2020-07-22T06:30:11.247Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-07-22T06:30:11.247Z] ---> Running in f117f7c55537 [2020-07-22T06:30:11.509Z] Removing intermediate container f117f7c55537 [2020-07-22T06:30:11.509Z] ---> 0e32457ac207 [2020-07-22T06:30:11.509Z] Step 9/24 : COPY go.mod . [2020-07-22T06:30:11.509Z] ---> a0b2bb37f05b [2020-07-22T06:30:11.509Z] Step 10/24 : COPY Makefile . [2020-07-22T06:30:11.771Z] ---> f5d81c531638 [2020-07-22T06:30:11.771Z] Step 11/24 : RUN make update [2020-07-22T06:30:11.771Z] ---> Running in 64705cc6fca9 [2020-07-22T06:30:12.342Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-07-22T06:30:12.914Z] Removing intermediate container 64705cc6fca9 [2020-07-22T06:30:12.915Z] ---> 7f883a402476 [2020-07-22T06:30:12.915Z] Step 12/24 : COPY . . [2020-07-22T06:30:13.179Z] ---> fc29d61e2e45 [2020-07-22T06:30:13.179Z] Step 13/24 : RUN $MAKE [2020-07-22T06:30:13.179Z] ---> Running in 061c3dbddfad [2020-07-22T06:30:13.754Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2020-07-22T06:30:23.822Z] Removing intermediate container 061c3dbddfad [2020-07-22T06:30:23.822Z] ---> c392d9920e8d [2020-07-22T06:30:23.822Z] Step 14/24 : FROM alpine:latest [2020-07-22T06:30:24.084Z] latest: Pulling from library/alpine [2020-07-22T06:30:24.346Z] df20fa9351a1: Already exists [2020-07-22T06:30:24.346Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-07-22T06:30:24.346Z] Status: Downloaded newer image for alpine:latest [2020-07-22T06:30:24.346Z] ---> a24bb4013296 [2020-07-22T06:30:24.346Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-07-22T06:30:24.608Z] ---> Running in e9b3ca4a1944 [2020-07-22T06:30:24.608Z] Removing intermediate container e9b3ca4a1944 [2020-07-22T06:30:24.608Z] ---> 99061ee9f5d9 [2020-07-22T06:30:24.608Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-07-22T06:30:24.608Z] ---> Running in e19ac91967fe [2020-07-22T06:30:24.869Z] Removing intermediate container e19ac91967fe [2020-07-22T06:30:24.869Z] ---> 11763246b1e9 [2020-07-22T06:30:24.869Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-07-22T06:30:25.130Z] ---> 4c759d969ff8 [2020-07-22T06:30:25.130Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-07-22T06:30:25.393Z] ---> 7e5c09887b18 [2020-07-22T06:30:25.393Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-07-22T06:30:25.964Z] ---> 9d1ce57c61c3 [2020-07-22T06:30:25.964Z] Step 20/24 : EXPOSE 49986 [2020-07-22T06:30:25.964Z] ---> Running in 6ffdd9fcbbd0 [2020-07-22T06:30:25.964Z] Removing intermediate container 6ffdd9fcbbd0 [2020-07-22T06:30:25.964Z] ---> 636eed4c264b [2020-07-22T06:30:25.964Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-07-22T06:30:26.226Z] ---> Running in d88774391027 [2020-07-22T06:30:26.226Z] Removing intermediate container d88774391027 [2020-07-22T06:30:26.226Z] ---> 454e3b520eb4 [2020-07-22T06:30:26.226Z] Step 22/24 : LABEL arch=amd64 [2020-07-22T06:30:26.226Z] ---> Running in 3b7282cc4157 [2020-07-22T06:30:26.487Z] Removing intermediate container 3b7282cc4157 [2020-07-22T06:30:26.487Z] ---> 13ce7dc46599 [2020-07-22T06:30:26.487Z] Step 23/24 : LABEL git_sha=b28fb37fc25b16c08b3fc5641f69c6b03f186c00 [2020-07-22T06:30:26.487Z] ---> Running in 1c96f0e9c8b2 [2020-07-22T06:30:26.751Z] Removing intermediate container 1c96f0e9c8b2 [2020-07-22T06:30:26.751Z] ---> ca29e2f8ca9d [2020-07-22T06:30:26.751Z] Step 24/24 : LABEL version=0.0.0 [2020-07-22T06:30:26.751Z] ---> Running in 18e554449def [2020-07-22T06:30:27.010Z] Removing intermediate container 18e554449def [2020-07-22T06:30:27.010Z] ---> 3b38bbc5fc42 [2020-07-22T06:30:27.010Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-22T06:30:27.010Z] Successfully built 3b38bbc5fc42 [2020-07-22T06:30:27.010Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-07-22T06:30:37.066Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-07-22T06:30:37.066Z] ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 56.3% of statements [2020-07-22T06:30:37.066Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-22T06:30:41.369Z] gofmt -l . [2020-07-22T06:30:41.369Z] [ "`gofmt -l .`" = "" ] [2020-07-22T06:30:41.369Z] ./bin/test-go-mod-tidy.sh [2020-07-22T06:30:41.370Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-07-22T06:30:41.999Z] Warning: overwriting stash ‘coverage-report’ [2020-07-22T06:30:42.757Z] Stashed 1 file(s) [Pipeline] } [2020-07-22T06:30:42.772Z] $ docker stop --time=1 b02c18fc65f99f9843680270089509069c4434fd4f855a9f99473505ecac9526 [2020-07-22T06:30:44.983Z] $ docker rm -f b02c18fc65f99f9843680270089509069c4434fd4f855a9f99473505ecac9526 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-22T06:30:46.319Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-22T06:30:46.678Z] + ls -al . [2020-07-22T06:30:46.678Z] total 124 [2020-07-22T06:30:46.678Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 06:30 . [2020-07-22T06:30:46.678Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 06:28 .. [2020-07-22T06:30:46.678Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 22 06:28 .dockerignore [2020-07-22T06:30:46.678Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 06:28 .git [2020-07-22T06:30:46.678Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 06:28 .github [2020-07-22T06:30:46.678Z] -rw-rw-r-- 1 jenkins jenkins 339 Jul 22 06:28 .gitignore [2020-07-22T06:30:46.678Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 06:28 .semver [2020-07-22T06:30:46.678Z] -rw-rw-r-- 1 jenkins jenkins 4802 Jul 22 06:28 Attribution.txt [2020-07-22T06:30:46.678Z] -rw-rw-r-- 1 jenkins jenkins 1504 Jul 22 06:28 Dockerfile [2020-07-22T06:30:46.678Z] -rw-rw-r-- 1 jenkins jenkins 989 Jul 22 06:28 Dockerfile.build [2020-07-22T06:30:46.678Z] -rw-rw-r-- 1 jenkins jenkins 702 Jul 22 06:28 Jenkinsfile [2020-07-22T06:30:46.678Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 22 06:28 LICENSE [2020-07-22T06:30:46.678Z] -rw-rw-r-- 1 jenkins jenkins 951 Jul 22 06:28 Makefile [2020-07-22T06:30:46.678Z] -rw-rw-r-- 1 jenkins jenkins 5716 Jul 22 06:28 README.md [2020-07-22T06:30:46.678Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 22 06:26 VERSION [2020-07-22T06:30:46.678Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 06:28 bin [2020-07-22T06:30:46.678Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 06:28 cmd [2020-07-22T06:30:46.678Z] -rw-r--r-- 1 jenkins jenkins 9369 Jul 22 06:30 coverage.out [2020-07-22T06:30:46.678Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 06:30 driver [2020-07-22T06:30:46.678Z] -rw-r--r-- 1 jenkins jenkins 266 Jul 22 06:30 go.mod [2020-07-22T06:30:46.678Z] -rw-r--r-- 1 jenkins jenkins 12533 Jul 22 06:30 go.sum [2020-07-22T06:30:46.678Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 22 06:28 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-22T06:30:47.047Z] + 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=b28fb37fc25b16c08b3fc5641f69c6b03f186c00 --label arch=arm64 --label version=0.0.0 . [2020-07-22T06:30:47.644Z] Sending build context to Docker daemon 8.032MB [2020-07-22T06:30:47.644Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-07-22T06:30:47.644Z] Step 2/24 : FROM ${BASE} AS builder [2020-07-22T06:30:47.644Z] ---> 42ad9a4fee43 [2020-07-22T06:30:47.644Z] Step 3/24 : ARG MAKE='make build' [2020-07-22T06:30:47.644Z] ---> Running in 875f6ada1f02 [2020-07-22T06:30:48.237Z] Removing intermediate container 875f6ada1f02 [2020-07-22T06:30:48.237Z] ---> 83953c760171 [2020-07-22T06:30:48.237Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git" [2020-07-22T06:30:48.508Z] ---> Running in e21aec4cba05 [2020-07-22T06:30:48.779Z] Removing intermediate container e21aec4cba05 [2020-07-22T06:30:48.779Z] ---> 63b8ba8a70ba [2020-07-22T06:30:48.779Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2020-07-22T06:30:49.051Z] ---> Running in 1211fc311392 [2020-07-22T06:30:49.323Z] Removing intermediate container 1211fc311392 [2020-07-22T06:30:49.323Z] ---> aeecea84a09a [2020-07-22T06:30:49.323Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-22T06:30:49.597Z] ---> Running in fe5739b987a3 [2020-07-22T06:30:52.211Z] Removing intermediate container fe5739b987a3 [2020-07-22T06:30:52.211Z] ---> 52d432fbfd8f [2020-07-22T06:30:52.211Z] Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-07-22T06:30:52.211Z] ---> Running in 17c5c4aadb80 [2020-07-22T06:30:53.643Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-22T06:30:54.617Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-22T06:30:55.210Z] OK: 142 MiB in 39 packages [2020-07-22T06:30:56.646Z] Removing intermediate container 17c5c4aadb80 [2020-07-22T06:30:56.646Z] ---> d7a909f06e8f [2020-07-22T06:30:56.646Z] Step 8/24 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-07-22T06:30:56.646Z] ---> Running in 6c990dee33ca [2020-07-22T06:30:57.239Z] Removing intermediate container 6c990dee33ca [2020-07-22T06:30:57.239Z] ---> 088bd5c6ac9c [2020-07-22T06:30:57.239Z] Step 9/24 : COPY go.mod . [2020-07-22T06:30:57.831Z] ---> 08e896a43867 [2020-07-22T06:30:57.831Z] Step 10/24 : COPY Makefile . [2020-07-22T06:30:58.807Z] ---> 066f541582c1 [2020-07-22T06:30:58.808Z] Step 11/24 : RUN make update [2020-07-22T06:30:58.808Z] ---> Running in 971fadc44be7 [2020-07-22T06:31:00.237Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-07-22T06:31:01.663Z] Removing intermediate container 971fadc44be7 [2020-07-22T06:31:01.663Z] ---> f67e81ff77a9 [2020-07-22T06:31:01.663Z] Step 12/24 : COPY . . [2020-07-22T06:31:02.640Z] ---> 2fa74a4bfb95 [2020-07-22T06:31:02.640Z] Step 13/24 : RUN $MAKE [2020-07-22T06:31:02.919Z] ---> Running in 766d1900a4c3 [2020-07-22T06:31:04.351Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2020-07-22T06:31:31.158Z] Removing intermediate container 766d1900a4c3 [2020-07-22T06:31:31.159Z] ---> 9fa674a98807 [2020-07-22T06:31:31.159Z] Step 14/24 : FROM alpine:latest [2020-07-22T06:31:31.159Z] latest: Pulling from library/alpine [2020-07-22T06:31:31.159Z] b538f80385f9: Already exists [2020-07-22T06:31:31.159Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-07-22T06:31:31.159Z] Status: Downloaded newer image for alpine:latest [2020-07-22T06:31:31.159Z] ---> 62ee0e9f8440 [2020-07-22T06:31:31.159Z] Step 15/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-07-22T06:31:31.159Z] ---> Running in 220e2c306540 [2020-07-22T06:31:31.432Z] Removing intermediate container 220e2c306540 [2020-07-22T06:31:31.432Z] ---> 733807229db2 [2020-07-22T06:31:31.432Z] Step 16/24 : LABEL Name=device-rest-go Version=${VERSION} [2020-07-22T06:31:31.704Z] ---> Running in 8849d3434a61 [2020-07-22T06:31:31.976Z] Removing intermediate container 8849d3434a61 [2020-07-22T06:31:31.976Z] ---> a6a4f140e6f3 [2020-07-22T06:31:31.976Z] Step 17/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-07-22T06:31:32.952Z] ---> 8aed897ee20b [2020-07-22T06:31:32.952Z] Step 18/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-07-22T06:31:33.547Z] ---> 86dfbb186d8a [2020-07-22T06:31:33.547Z] Step 19/24 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-07-22T06:31:34.986Z] ---> e90fba462f89 [2020-07-22T06:31:34.986Z] Step 20/24 : EXPOSE 49986 [2020-07-22T06:31:34.986Z] ---> Running in 99b33dd80cc3 [2020-07-22T06:31:35.584Z] Removing intermediate container 99b33dd80cc3 [2020-07-22T06:31:35.584Z] ---> 56a3d2ec4c60 [2020-07-22T06:31:35.584Z] Step 21/24 : CMD ["/device-rest-go","--cp=consul://edgex-core-consul:8500","--confdir=/res","--registry"] [2020-07-22T06:31:35.584Z] ---> Running in ea98383f4afa [2020-07-22T06:31:36.177Z] Removing intermediate container ea98383f4afa [2020-07-22T06:31:36.177Z] ---> b2aed64d395b [2020-07-22T06:31:36.177Z] Step 22/24 : LABEL arch=arm64 [2020-07-22T06:31:36.771Z] ---> Running in 21028f459eeb [2020-07-22T06:31:37.042Z] Removing intermediate container 21028f459eeb [2020-07-22T06:31:37.042Z] ---> 9fdeaf1f647b [2020-07-22T06:31:37.042Z] Step 23/24 : LABEL git_sha=b28fb37fc25b16c08b3fc5641f69c6b03f186c00 [2020-07-22T06:31:37.313Z] ---> Running in 5024e182be18 [2020-07-22T06:31:37.585Z] Removing intermediate container 5024e182be18 [2020-07-22T06:31:37.585Z] ---> 1aaabe0927b0 [2020-07-22T06:31:37.585Z] Step 24/24 : LABEL version=0.0.0 [2020-07-22T06:31:37.855Z] ---> Running in dafdbb0bdfa6 [2020-07-22T06:31:38.125Z] Removing intermediate container dafdbb0bdfa6 [2020-07-22T06:31:38.125Z] ---> d8c50153ed1c [2020-07-22T06:31:38.125Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-22T06:31:38.125Z] Successfully built d8c50153ed1c [2020-07-22T06:31:38.125Z] Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-07-22T06:31:40.293Z] provisioning config files... [2020-07-22T06:31:40.306Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-32@tmp/config3394204895256326061tmp [Pipeline] { [Pipeline] sh [2020-07-22T06:31:40.765Z] + curl -s https://codecov.io/bash [2020-07-22T06:31:40.765Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-32@tmp/config3394204895256326061tmp [Pipeline] } [2020-07-22T06:31:41.365Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-07-22T06:31:43.430Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T06:31:44.022Z] ---> package-listing.sh [2020-07-22T06:31:44.022Z] ++ facter osfamily [2020-07-22T06:31:44.022Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-22T06:31:44.022Z] + OS_FAMILY=redhat [2020-07-22T06:31:44.022Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-32 [2020-07-22T06:31:44.022Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-22T06:31:44.022Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-22T06:31:44.022Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-22T06:31:44.022Z] + PACKAGES=/tmp/packages_start.txt [2020-07-22T06:31:44.022Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-32 ']' [2020-07-22T06:31:44.022Z] + PACKAGES=/tmp/packages_end.txt [2020-07-22T06:31:44.022Z] + case "${OS_FAMILY}" in [2020-07-22T06:31:44.022Z] + rpm -qa [2020-07-22T06:31:44.022Z] + sort [2020-07-22T06:31:48.228Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-22T06:31:48.228Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-22T06:31:48.228Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-22T06:31:48.228Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-32 ']' [2020-07-22T06:31:48.228Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-32/archives/ [2020-07-22T06:31:48.228Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-32/archives/ [Pipeline] isUnix [Pipeline] sh [2020-07-22T06:31:48.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T06:31:48.744Z] [2020-07-22T06:31:48.744Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-22T06:31:49.134Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T06:31:49.134Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-22T06:31:49.134Z] c9b1b535fdd9: Pulling fs layer [2020-07-22T06:31:49.134Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-22T06:31:49.134Z] 756a868c4378: Pulling fs layer [2020-07-22T06:31:49.134Z] 444b2fc9a129: Pulling fs layer [2020-07-22T06:31:49.134Z] ea15f1150254: Pulling fs layer [2020-07-22T06:31:49.134Z] 41b27a9f41bf: Pulling fs layer [2020-07-22T06:31:49.134Z] 28c525ee5125: Pulling fs layer [2020-07-22T06:31:49.134Z] 094b1ea09ed8: Pulling fs layer [2020-07-22T06:31:49.134Z] 138eaada9080: Pulling fs layer [2020-07-22T06:31:49.134Z] 0622d0fa9048: Pulling fs layer [2020-07-22T06:31:49.134Z] 41b27a9f41bf: Waiting [2020-07-22T06:31:49.134Z] 28c525ee5125: Waiting [2020-07-22T06:31:49.134Z] 094b1ea09ed8: Waiting [2020-07-22T06:31:49.134Z] 138eaada9080: Waiting [2020-07-22T06:31:49.134Z] 0622d0fa9048: Waiting [2020-07-22T06:31:49.134Z] 444b2fc9a129: Waiting [2020-07-22T06:31:49.134Z] ea15f1150254: Waiting [2020-07-22T06:31:49.134Z] 2cc5ad85d9ab: Download complete [2020-07-22T06:31:49.134Z] 444b2fc9a129: Verifying Checksum [2020-07-22T06:31:49.134Z] 444b2fc9a129: Download complete [2020-07-22T06:31:49.134Z] c9b1b535fdd9: Verifying Checksum [2020-07-22T06:31:49.134Z] c9b1b535fdd9: Download complete [2020-07-22T06:31:49.134Z] ea15f1150254: Verifying Checksum [2020-07-22T06:31:49.134Z] ea15f1150254: Download complete [2020-07-22T06:31:49.134Z] 28c525ee5125: Download complete [2020-07-22T06:31:49.723Z] 756a868c4378: Download complete [2020-07-22T06:31:49.723Z] c9b1b535fdd9: Pull complete [2020-07-22T06:31:49.723Z] 138eaada9080: Verifying Checksum [2020-07-22T06:31:49.723Z] 138eaada9080: Download complete [2020-07-22T06:31:49.723Z] 094b1ea09ed8: Verifying Checksum [2020-07-22T06:31:49.723Z] 094b1ea09ed8: Download complete [2020-07-22T06:31:49.723Z] 0622d0fa9048: Verifying Checksum [2020-07-22T06:31:49.723Z] 0622d0fa9048: Download complete [2020-07-22T06:31:49.723Z] 2cc5ad85d9ab: Pull complete [2020-07-22T06:31:50.305Z] 41b27a9f41bf: Verifying Checksum [2020-07-22T06:31:50.305Z] 41b27a9f41bf: Download complete [2020-07-22T06:31:51.251Z] 756a868c4378: Pull complete [2020-07-22T06:31:51.514Z] 444b2fc9a129: Pull complete [2020-07-22T06:31:51.775Z] ea15f1150254: Pull complete [2020-07-22T06:31:55.978Z] 41b27a9f41bf: Pull complete [2020-07-22T06:31:55.978Z] 28c525ee5125: Pull complete [2020-07-22T06:31:58.540Z] 094b1ea09ed8: Pull complete [2020-07-22T06:31:58.540Z] 138eaada9080: Pull complete [2020-07-22T06:31:58.800Z] 0622d0fa9048: Pull complete [2020-07-22T06:31:58.800Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-22T06:31:58.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T06:31:58.800Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-22T06:31:58.962Z] prd-centos7-docker-4c-2g-553 does not seem to be running inside a container [2020-07-22T06:31:58.997Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-rest-go_PR-32 -v /w/workspace/dgexfoundry_device-rest-go_PR-32:/w/workspace/dgexfoundry_device-rest-go_PR-32:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-32@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-07-22T06:32:02.587Z] $ docker top da08125f05c0ee0ae8318ca077c5af386a62f3799e03bc0aca09565594fd052a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-22T06:32:03.166Z] provisioning config files... [2020-07-22T06:32:03.178Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-32@tmp/config8117260206794629204tmp [Pipeline] { [Pipeline] echo [2020-07-22T06:32:03.295Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T06:32:03.612Z] ---> create-netrc.sh [Pipeline] echo [2020-07-22T06:32:03.638Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T06:32:03.957Z] ---> logs-deploy.sh [2020-07-22T06:32:03.957Z] + ARCHIVE_ARTIFACTS= [2020-07-22T06:32:03.957Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-22T06:32:03.957Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-22T06:32:03.957Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-22T06:32:03.957Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-32/1 [2020-07-22T06:32:03.957Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-32/1/ [2020-07-22T06:32:03.957Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-32/1 /w/workspace/dgexfoundry_device-rest-go_PR-32 [2020-07-22T06:32:05.350Z] Archives upload complete. [2020-07-22T06:32:05.350Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-32/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-rest-go/job/PR-32/1/