Pull request #39 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 39a7a4e777933e4815b2185cae3c86dc2bb2209d+43efee3cfdd526bf845b5582b1730bb1b93e3b78 (cec6c959c2e30d59f6795a565706a72b38eb0676) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 --version # 'git version 2.16.6' > 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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-39/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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 > git --version # 'git version 2.16.6' 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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 BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-43585 in /w/workspace/dgexfoundry_device-rest-go_PR-39 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-39 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' 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/39/head:refs/remotes/origin/PR-39 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit 39a7a4e777933e4815b2185cae3c86dc2bb2209d Merge succeeded, producing 39a7a4e777933e4815b2185cae3c86dc2bb2209d Checking out Revision 39a7a4e777933e4815b2185cae3c86dc2bb2209d (PR-39) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/39/head:refs/remotes/origin/PR-39 # 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/39/head:refs/remotes/origin/PR-39 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 39a7a4e777933e4815b2185cae3c86dc2bb2209d # 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 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 39a7a4e777933e4815b2185cae3c86dc2bb2209d # timeout=10 Commit message: "doc: correct build instructions (#36)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:48:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:48:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:48:25 ========================================================= 13:48:25 EdgeX Global Pipelines Version Info 13:48:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:48:26 ------------------- 13:48:26 stable info: 13:48:26 ------------------- 13:48:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:48:26 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 13:48:26 Message: update stable to v1.0.122 13:48:27 ------------------- 13:48:27 experimental info: 13:48:27 ------------------- 13:48:27 Commited By: **** collab-it+edgex@linuxfoundation.org 13:48:27 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 13:48:27 Message: update experimental to v1.0.122 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 13:48:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 13:48:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 13:48:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:48:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:48:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:48:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 13:48:29 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 13:48:29 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 13:48:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:48:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:48:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:48:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 13:48:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:48:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:48:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:48:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:48:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:48:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:48:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:48:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:48:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:48:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:48:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-39 [Pipeline] echo 13:48:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-39 [Pipeline] echo 13:48:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-39 [Pipeline] echo 13:48:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 39a7a4e777933e4815b2185cae3c86dc2bb2209d [Pipeline] echo 13:48:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 39a7a4e [Pipeline] echo 13:48:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:48:33 + git log --format=format:%s -1 39a7a4e777933e4815b2185cae3c86dc2bb2209d [Pipeline] echo 13:48:33 GIT_COMMIT: 39a7a4e777933e4815b2185cae3c86dc2bb2209d, Commit Message: doc: correct build instructions (#36) [Pipeline] echo 13:48:33 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 13:48:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:48:34 13:48:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:48:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:48:35 latest: Pulling from edgex-devops/git-semver 13:48:35 31603596830f: Pulling fs layer 13:48:35 2a8b12db71e7: Pulling fs layer 13:48:35 6ca5941a6612: Pulling fs layer 13:48:35 ecc8261a40a4: Pulling fs layer 13:48:35 ecc8261a40a4: Waiting 13:48:35 2a8b12db71e7: Verifying Checksum 13:48:35 2a8b12db71e7: Download complete 13:48:35 31603596830f: Verifying Checksum 13:48:35 31603596830f: Download complete 13:48:35 6ca5941a6612: Verifying Checksum 13:48:35 6ca5941a6612: Download complete 13:48:35 ecc8261a40a4: Verifying Checksum 13:48:35 ecc8261a40a4: Download complete 13:48:35 31603596830f: Pull complete 13:48:35 2a8b12db71e7: Pull complete 13:48:36 6ca5941a6612: Pull complete 13:48:36 ecc8261a40a4: Pull complete 13:48:36 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 13:48:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:48:36 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:48:36 prd-centos7-docker-4c-2g-43585 does not seem to be running inside a container 13:48:36 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-39 -v /w/workspace/dgexfoundry_device-rest-go_PR-39:/w/workspace/dgexfoundry_device-rest-go_PR-39:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-39@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-39@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:10004/edgex-devops/git-semver:latest cat 13:48:38 $ docker top bea4baa196f9c277451b8a3401d32894201b2e18eed4d6242b11e8e58e2c1131 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:48:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:48:39 [ssh-agent] Looking for ssh-agent implementation... 13:48:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:48:39 $ docker exec bea4baa196f9c277451b8a3401d32894201b2e18eed4d6242b11e8e58e2c1131 ssh-agent 13:48:39 SSH_AUTH_SOCK=/tmp/ssh-nGwXK5hohaHc/agent.11 13:48:39 SSH_AGENT_PID=16 13:48:39 Running ssh-add (command line suppressed) 13:48:39 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-39@tmp/private_key_656498101123595022.key (/w/workspace/dgexfoundry_device-rest-go_PR-39@tmp/private_key_656498101123595022.key) 13:48:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:48:40 + git describe --exact-match --tags HEAD 13:48:40 fatal: No names found, cannot describe anything. [Pipeline] } 13:48:40 $ docker exec --env ******** --env ******** bea4baa196f9c277451b8a3401d32894201b2e18eed4d6242b11e8e58e2c1131 ssh-agent -k 13:48:40 unset SSH_AUTH_SOCK; 13:48:40 unset SSH_AGENT_PID; 13:48:40 echo Agent pid 16 killed; 13:48:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 13:48:40 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 13:48:40 This usually means this commit has not been tagged. [Pipeline] sshagent 13:48:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:48:40 [ssh-agent] Looking for ssh-agent implementation... 13:48:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:48:40 $ docker exec bea4baa196f9c277451b8a3401d32894201b2e18eed4d6242b11e8e58e2c1131 ssh-agent 13:48:40 SSH_AUTH_SOCK=/tmp/ssh-zU9KjazWUV2j/agent.45 13:48:40 SSH_AGENT_PID=50 13:48:40 Running ssh-add (command line suppressed) 13:48:41 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-39@tmp/private_key_4871016820922851731.key (/w/workspace/dgexfoundry_device-rest-go_PR-39@tmp/private_key_4871016820922851731.key) 13:48:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:48:41 + git semver init 13:48:41 # -> Open(): unable to determine branch for HEAD 13:48:41 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-39/.git 13:48:41 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-39 13:48:41 # $SEMVER_REMOTE_NAME = origin 13:48:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:48:41 # $SEMVER_USER_NAME = edgex-jenkins 13:48:41 # $SEMVER_BRANCH = PR-39 13:48:41 # $SEMVER_TEMP = /tmp/semver-524712058 13:48:41 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 13:48:42 # '/tmp/semver-524712058' -> '/w/workspace/dgexfoundry_device-rest-go_PR-39/.semver' 13:48:42 # -> Force: false 13:48:42 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-39/.semver [Pipeline] } 13:48:42 $ docker exec --env ******** --env ******** bea4baa196f9c277451b8a3401d32894201b2e18eed4d6242b11e8e58e2c1131 ssh-agent -k 13:48:43 unset SSH_AUTH_SOCK; 13:48:43 unset SSH_AGENT_PID; 13:48:43 echo Agent pid 50 killed; 13:48:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:48:43 + git semver [Pipeline] } 13:48:43 $ docker stop --time=1 bea4baa196f9c277451b8a3401d32894201b2e18eed4d6242b11e8e58e2c1131 13:48:45 $ docker rm -f bea4baa196f9c277451b8a3401d32894201b2e18eed4d6242b11e8e58e2c1131 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 13:48:46 Stashed 21 file(s) [Pipeline] echo 13:48:46 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 13:48:47 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [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 13:49:02 Still waiting to schedule task 13:49:02 ‘prd-centos7-builder-2c-1g-1807’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-213’ is offline; ‘prd-centos7-docker-4c-2g-43586’ is offline 13:49:02 Still waiting to schedule task 13:49:02 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-43576’ 13:51:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-43587 in /w/workspace/dgexfoundry_device-rest-go_PR-39 [Pipeline] { [Pipeline] ws 13:51:46 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 13:51:51 using credential edgex-jenkins-ssh 13:51:51 Cloning the remote Git repository 13:51:51 Cloning with configured refspecs honoured and without tags 13:51:52 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 13:51:52 > git init /w/workspace/device-rest-go/1 # timeout=10 13:51:52 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 13:51:52 > git --version # timeout=10 13:51:52 > git --version # 'git version 2.17.1' 13:51:52 using GIT_SSH to set credentials SSH Credentials for GitHub 13:51:52 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/39/head:refs/remotes/origin/PR-39 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:51:53 Fetching without tags 13:51:54 Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit 39a7a4e777933e4815b2185cae3c86dc2bb2209d 13:51:53 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 13:51:53 > git config --add remote.origin.fetch +refs/pull/39/head:refs/remotes/origin/PR-39 # timeout=10 13:51:53 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:51:53 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 13:51:53 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 13:51:53 using GIT_SSH to set credentials SSH Credentials for GitHub 13:51:53 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/39/head:refs/remotes/origin/PR-39 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:51:54 > git config core.sparsecheckout # timeout=10 13:51:54 > git checkout -f 39a7a4e777933e4815b2185cae3c86dc2bb2209d # timeout=10 13:51:54 > git remote # timeout=10 13:51:54 > git config --get remote.origin.url # timeout=10 13:51:54 using GIT_SSH to set credentials SSH Credentials for GitHub 13:51:54 > git merge 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 13:51:54 Merge succeeded, producing 39a7a4e777933e4815b2185cae3c86dc2bb2209d 13:51:54 Checking out Revision 39a7a4e777933e4815b2185cae3c86dc2bb2209d (PR-39) 13:51:54 > git rev-parse HEAD^{commit} # timeout=10 13:51:54 > git config core.sparsecheckout # timeout=10 13:51:54 > git checkout -f 39a7a4e777933e4815b2185cae3c86dc2bb2209d # timeout=10 13:51:59 Commit message: "doc: correct build instructions (#36)" 13:51:59 > git --version # timeout=10 13:51:59 > git --version # 'git version 2.17.1' 13:51:59 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 13:52:01 ========================================================= 13:52:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 13:52:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:52:02 + 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 . 13:52:03 Sending build context to Docker daemon 8.048MB 13:52:03 Step 1/10 : ARG BASE=golang:1.13-alpine 13:52:03 Step 2/10 : FROM ${BASE} 13:52:03 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:52:03 b538f80385f9: Pulling fs layer 13:52:03 74f711af9a0d: Pulling fs layer 13:52:03 99f96fe45779: Pulling fs layer 13:52:03 fd7a069fd194: Pulling fs layer 13:52:03 66aa3694b03b: Pulling fs layer 13:52:03 170f70906a0f: Pulling fs layer 13:52:03 ad7c5574e4b9: Pulling fs layer 13:52:03 e772456be8f7: Pulling fs layer 13:52:03 c890913d741a: Pulling fs layer 13:52:03 2480fcc9aa5a: Pulling fs layer 13:52:03 09adf4765672: Pulling fs layer 13:52:03 ad7c5574e4b9: Waiting 13:52:03 e772456be8f7: Waiting 13:52:03 c890913d741a: Waiting 13:52:03 2480fcc9aa5a: Waiting 13:52:03 fd7a069fd194: Waiting 13:52:03 66aa3694b03b: Waiting 13:52:03 170f70906a0f: Waiting 13:52:03 09adf4765672: Waiting 13:52:03 99f96fe45779: Download complete 13:52:03 74f711af9a0d: Verifying Checksum 13:52:03 74f711af9a0d: Download complete 13:52:04 66aa3694b03b: Verifying Checksum 13:52:04 66aa3694b03b: Download complete 13:52:04 170f70906a0f: Verifying Checksum 13:52:04 170f70906a0f: Download complete 13:52:04 b538f80385f9: Verifying Checksum 13:52:04 b538f80385f9: Download complete 13:52:05 b538f80385f9: Pull complete 13:52:05 74f711af9a0d: Pull complete 13:52:06 99f96fe45779: Pull complete 13:52:07 ad7c5574e4b9: Verifying Checksum 13:52:07 ad7c5574e4b9: Download complete 13:52:08 c890913d741a: Verifying Checksum 13:52:08 c890913d741a: Download complete 13:52:09 e772456be8f7: Verifying Checksum 13:52:09 e772456be8f7: Download complete 13:52:09 09adf4765672: Verifying Checksum 13:52:09 09adf4765672: Download complete 13:52:10 fd7a069fd194: Download complete 13:52:10 2480fcc9aa5a: Verifying Checksum 13:52:10 2480fcc9aa5a: Download complete 13:52:22 fd7a069fd194: Pull complete 13:52:22 66aa3694b03b: Pull complete 13:52:22 170f70906a0f: Pull complete 13:52:26 ad7c5574e4b9: Pull complete 13:52:27 Running on prd-centos7-docker-4c-2g-43588 in /w/workspace/dgexfoundry_device-rest-go_PR-39 [Pipeline] { [Pipeline] ws 13:52:27 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 13:52:30 using credential edgex-jenkins-ssh 13:52:30 Cloning the remote Git repository 13:52:30 Cloning with configured refspecs honoured and without tags 13:52:30 e772456be8f7: Pull complete 13:52:30 c890913d741a: Pull complete 13:52:30 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 13:52:30 > git init /w/workspace/device-rest-go/1 # timeout=10 13:52:30 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 13:52:30 > git --version # timeout=10 13:52:30 > git --version # 'git version 2.16.5' 13:52:30 using GIT_SSH to set credentials SSH Credentials for GitHub 13:52:30 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/39/head:refs/remotes/origin/PR-39 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:52:31 Fetching without tags 13:52:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 13:52:31 > git config --add remote.origin.fetch +refs/pull/39/head:refs/remotes/origin/PR-39 # timeout=10 13:52:31 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:52:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 13:52:31 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 13:52:31 using GIT_SSH to set credentials SSH Credentials for GitHub 13:52:31 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/39/head:refs/remotes/origin/PR-39 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:52:32 Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit 39a7a4e777933e4815b2185cae3c86dc2bb2209d 13:52:32 Merge succeeded, producing 39a7a4e777933e4815b2185cae3c86dc2bb2209d 13:52:32 Checking out Revision 39a7a4e777933e4815b2185cae3c86dc2bb2209d (PR-39) 13:52:32 > git config core.sparsecheckout # timeout=10 13:52:32 > git checkout -f 39a7a4e777933e4815b2185cae3c86dc2bb2209d # timeout=10 13:52:32 > git remote # timeout=10 13:52:32 > git config --get remote.origin.url # timeout=10 13:52:32 using GIT_SSH to set credentials SSH Credentials for GitHub 13:52:32 > git merge 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 13:52:32 > git rev-parse HEAD^{commit} # timeout=10 13:52:32 > git config core.sparsecheckout # timeout=10 13:52:32 > git checkout -f 39a7a4e777933e4815b2185cae3c86dc2bb2209d # timeout=10 13:52:33 2480fcc9aa5a: Pull complete 13:52:33 09adf4765672: Pull complete 13:52:33 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 13:52:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 13:52:33 ---> 2248a725d1cf 13:52:33 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 13:52:35 Commit message: "doc: correct build instructions (#36)" 13:52:35 > git --version # timeout=10 13:52:35 > git --version # 'git version 2.16.5' 13:52:35 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 13:52:37 ========================================================= 13:52:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 13:52:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:52:37 ---> Running in 78ea5c56e113 13:52:37 Removing intermediate container 78ea5c56e113 13:52:37 ---> 1b7c64ec6087 13:52:37 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 13:52:37 ---> Running in 301d78361a36 13:52:38 Removing intermediate container 301d78361a36 13:52:38 ---> 8a7977b04722 13:52:38 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 13:52:38 + 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 . 13:52:38 ---> Running in a8bc82b97e71 13:52:38 Sending build context to Docker daemon 8.048MB 13:52:38 Step 1/10 : ARG BASE=golang:1.13-alpine 13:52:38 Step 2/10 : FROM ${BASE} 13:52:38 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 13:52:38 df20fa9351a1: Pulling fs layer 13:52:38 ed8968b2872e: Pulling fs layer 13:52:38 a92cc7c5fd73: Pulling fs layer 13:52:38 2dd03ba5bac4: Pulling fs layer 13:52:38 1e091d79d1de: Pulling fs layer 13:52:38 481702a1767f: Pulling fs layer 13:52:38 f64a6f60c768: Pulling fs layer 13:52:38 e78d2573fc39: Pulling fs layer 13:52:38 e876d2f968b6: Pulling fs layer 13:52:38 ce8a83651883: Pulling fs layer 13:52:38 07967f4d0e4b: Pulling fs layer 13:52:38 e876d2f968b6: Waiting 13:52:38 ce8a83651883: Waiting 13:52:38 07967f4d0e4b: Waiting 13:52:38 1e091d79d1de: Waiting 13:52:38 481702a1767f: Waiting 13:52:38 f64a6f60c768: Waiting 13:52:38 e78d2573fc39: Waiting 13:52:38 a92cc7c5fd73: Verifying Checksum 13:52:38 a92cc7c5fd73: Download complete 13:52:38 ed8968b2872e: Verifying Checksum 13:52:38 ed8968b2872e: Download complete 13:52:38 1e091d79d1de: Download complete 13:52:38 Removing intermediate container a8bc82b97e71 13:52:38 ---> c167f6b8d4b3 13:52:38 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:52:39 481702a1767f: Verifying Checksum 13:52:39 481702a1767f: Download complete 13:52:39 df20fa9351a1: Download complete 13:52:39 ---> Running in 260ffd085a9f 13:52:39 df20fa9351a1: Pull complete 13:52:39 ed8968b2872e: Pull complete 13:52:39 a92cc7c5fd73: Pull complete 13:52:41 f64a6f60c768: Verifying Checksum 13:52:41 f64a6f60c768: Download complete 13:52:41 e876d2f968b6: Verifying Checksum 13:52:41 e876d2f968b6: Download complete 13:52:41 Removing intermediate container 260ffd085a9f 13:52:41 ---> f4d9d20555dd 13:52:41 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:52:41 ---> Running in ff809d3ff825 13:52:42 ce8a83651883: Verifying Checksum 13:52:42 ce8a83651883: Download complete 13:52:42 07967f4d0e4b: Verifying Checksum 13:52:42 07967f4d0e4b: Download complete 13:52:42 2dd03ba5bac4: Verifying Checksum 13:52:42 2dd03ba5bac4: Download complete 13:52:42 e78d2573fc39: Verifying Checksum 13:52:42 e78d2573fc39: Download complete 13:52:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:52:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:52:46 OK: 142 MiB in 39 packages 13:52:47 Removing intermediate container ff809d3ff825 13:52:47 ---> 31f8e125a60b 13:52:47 Step 8/10 : WORKDIR /device-rest-go 13:52:47 ---> Running in d69887e5b165 13:52:47 Removing intermediate container d69887e5b165 13:52:47 ---> c4dda9bbe777 13:52:47 Step 9/10 : COPY . . 13:52:48 2dd03ba5bac4: Pull complete 13:52:48 1e091d79d1de: Pull complete 13:52:48 481702a1767f: Pull complete 13:52:48 ---> 7ceb51cec47a 13:52:48 Step 10/10 : RUN go mod download 13:52:48 ---> Running in 77fd7a5a8203 13:52:51 go: finding github.com/BurntSushi/toml v0.3.1 13:52:51 go: finding github.com/OneOfOne/xxhash v1.2.6 13:52:51 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 13:52:51 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 13:52:51 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 13:52:51 go: finding github.com/bgentry/speakeasy v0.1.0 13:52:51 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 13:52:51 go: finding github.com/davecgh/go-spew v1.1.1 13:52:51 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 13:52:51 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 13:52:51 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 13:52:51 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 13:52:51 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 13:52:51 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 13:52:52 go: finding github.com/fatih/color v1.7.0 13:52:52 go: finding github.com/fxamacker/cbor/v2 v2.2.0 13:52:52 go: finding github.com/go-kit/kit v0.8.0 13:52:52 go: finding github.com/go-logfmt/logfmt v0.4.0 13:52:52 go: finding github.com/go-stack/stack v1.8.0 13:52:52 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 13:52:52 go: finding github.com/google/uuid v1.1.0 13:52:52 go: finding github.com/gorilla/mux v1.7.1 13:52:52 go: finding github.com/hashicorp/consul/api v1.1.0 13:52:52 go: finding github.com/hashicorp/consul/sdk v0.1.1 13:52:52 go: finding github.com/hashicorp/errwrap v1.0.0 13:52:52 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 13:52:52 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 13:52:52 go: finding github.com/hashicorp/go-msgpack v0.5.3 13:52:52 go: finding github.com/hashicorp/go-multierror v1.0.0 13:52:52 go: finding github.com/hashicorp/go-rootcerts v1.0.0 13:52:52 go: finding github.com/hashicorp/go-sockaddr v1.0.0 13:52:52 go: finding github.com/hashicorp/go-syslog v1.0.0 13:52:52 go: finding github.com/hashicorp/go-uuid v1.0.1 13:52:52 go: finding github.com/hashicorp/go.net v0.0.1 13:52:52 go: finding github.com/hashicorp/golang-lru v0.5.0 13:52:52 go: finding github.com/hashicorp/logutils v1.0.0 13:52:52 go: finding github.com/hashicorp/mdns v1.0.0 13:52:52 go: finding github.com/hashicorp/memberlist v0.1.3 13:52:52 go: finding github.com/hashicorp/serf v0.8.2 13:52:52 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 13:52:52 go: finding github.com/mattn/go-colorable v0.0.9 13:52:52 go: finding github.com/mattn/go-isatty v0.0.3 13:52:52 go: finding github.com/miekg/dns v1.0.14 13:52:52 go: finding github.com/mitchellh/cli v1.0.0 13:52:52 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 13:52:52 go: finding github.com/mitchellh/copystructure v1.0.0 13:52:52 go: finding github.com/mitchellh/go-homedir v1.0.0 13:52:52 go: finding github.com/mitchellh/go-testing-interface v1.0.0 13:52:52 go: finding github.com/mitchellh/gox v0.4.0 13:52:52 go: finding github.com/mitchellh/iochan v1.0.0 13:52:52 go: finding github.com/mitchellh/mapstructure v1.1.2 13:52:52 go: finding github.com/mitchellh/reflectwalk v1.0.0 13:52:52 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 13:52:52 go: finding github.com/pelletier/go-toml v1.2.0 13:52:52 go: finding github.com/pkg/errors v0.8.1 13:52:52 go: finding github.com/pmezard/go-difflib v1.0.0 13:52:52 go: finding github.com/posener/complete v1.1.1 13:52:52 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 13:52:52 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 13:52:52 go: finding github.com/spf13/cast v1.3.0 13:52:52 go: finding github.com/stretchr/objx v0.1.0 13:52:53 go: finding github.com/stretchr/testify v1.5.1 13:52:53 go: finding github.com/ugorji/go v1.1.4 13:52:53 go: finding github.com/x448/float16 v0.8.4 13:52:53 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 13:52:53 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 13:52:53 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 13:52:53 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 13:52:53 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 13:52:53 go: finding gopkg.in/yaml.v2 v2.2.8 13:52:53 f64a6f60c768: Pull complete 13:52:56 e78d2573fc39: Pull complete 13:52:56 e876d2f968b6: Pull complete 13:52:57 ce8a83651883: Pull complete 13:52:57 07967f4d0e4b: Pull complete 13:52:57 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 13:52:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 13:52:57 ---> 5d7c900382c6 13:52:57 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 13:52:59 ---> Running in 64ebcd68d60f 13:52:59 Removing intermediate container 64ebcd68d60f 13:52:59 ---> 22d7a8354f41 13:52:59 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 13:52:59 ---> Running in 5688c7c7eedc 13:52:59 Removing intermediate container 5688c7c7eedc 13:52:59 ---> 5118c7c6adbc 13:52:59 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 13:52:59 ---> Running in bc8c3fecd1b3 13:52:59 Removing intermediate container bc8c3fecd1b3 13:52:59 ---> a0236e7e0b62 13:52:59 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:52:59 ---> Running in be31e31892e3 13:53:01 Removing intermediate container be31e31892e3 13:53:01 ---> 88ca1845ed6a 13:53:01 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:53:01 ---> Running in d09c820833bd 13:53:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:53:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:53:03 OK: 166 MiB in 39 packages 13:53:03 Removing intermediate container 77fd7a5a8203 13:53:03 ---> 283cf233f169 13:53:03 Successfully built 283cf233f169 13:53:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:53:03 + docker inspect -f . ci-base-image-arm64 13:53:03 . [Pipeline] withDockerContainer 13:53:03 Removing intermediate container d09c820833bd 13:53:03 ---> e7be829a6291 13:53:03 Step 8/10 : WORKDIR /device-rest-go 13:53:03 ---> Running in f38eb847a7be 13:53:04 prd-ubuntu18.04-docker-arm64-4c-16g-43587 does not seem to be running inside a container 13:53:04 Removing intermediate container f38eb847a7be 13:53:04 ---> cf34044962c2 13:53:04 Step 9/10 : COPY . . 13:53:04 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 13:53:04 ---> d1ebaade224b 13:53:04 Step 10/10 : RUN go mod download 13:53:04 ---> Running in 47d7feb64f6e 13:53:06 $ docker top ea53bc802c4cd7f116c95f0714ec2c7fa80daccf288027cb37234a322c556fe7 -eo pid,comm [Pipeline] { 13:53:06 go: finding github.com/BurntSushi/toml v0.3.1 13:53:06 go: finding github.com/OneOfOne/xxhash v1.2.6 13:53:06 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 13:53:06 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 13:53:06 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 13:53:06 go: finding github.com/bgentry/speakeasy v0.1.0 13:53:06 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 13:53:06 go: finding github.com/davecgh/go-spew v1.1.1 13:53:06 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 13:53:06 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 13:53:06 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [Pipeline] sh 13:53:06 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 13:53:06 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 13:53:06 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 13:53:06 go: finding github.com/fatih/color v1.7.0 13:53:06 go: finding github.com/fxamacker/cbor/v2 v2.2.0 13:53:06 go: finding github.com/go-kit/kit v0.8.0 13:53:06 go: finding github.com/go-logfmt/logfmt v0.4.0 13:53:06 go: finding github.com/go-stack/stack v1.8.0 13:53:06 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 13:53:06 go: finding github.com/google/uuid v1.1.0 13:53:06 go: finding github.com/gorilla/mux v1.7.1 13:53:07 go: finding github.com/hashicorp/consul/api v1.1.0 13:53:07 go: finding github.com/hashicorp/consul/sdk v0.1.1 13:53:07 go: finding github.com/hashicorp/errwrap v1.0.0 13:53:07 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 13:53:07 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 13:53:07 go: finding github.com/hashicorp/go-msgpack v0.5.3 13:53:07 go: finding github.com/hashicorp/go-multierror v1.0.0 13:53:07 go: finding github.com/hashicorp/go-rootcerts v1.0.0 13:53:07 go: finding github.com/hashicorp/go-sockaddr v1.0.0 13:53:07 go: finding github.com/hashicorp/go-syslog v1.0.0 13:53:07 go: finding github.com/hashicorp/go-uuid v1.0.1 13:53:07 go: finding github.com/hashicorp/go.net v0.0.1 13:53:07 go: finding github.com/hashicorp/golang-lru v0.5.0 13:53:07 go: finding github.com/hashicorp/logutils v1.0.0 13:53:07 go: finding github.com/hashicorp/mdns v1.0.0 13:53:07 go: finding github.com/hashicorp/memberlist v0.1.3 13:53:07 go: finding github.com/hashicorp/serf v0.8.2 13:53:07 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 13:53:07 go: finding github.com/mattn/go-colorable v0.0.9 13:53:07 go: finding github.com/mattn/go-isatty v0.0.3 13:53:07 go: finding github.com/miekg/dns v1.0.14 13:53:07 go: finding github.com/mitchellh/cli v1.0.0 13:53:07 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 13:53:07 + go version 13:53:07 go version go1.13.13 linux/arm64 13:53:07 go: finding github.com/mitchellh/copystructure v1.0.0 13:53:07 go: finding github.com/mitchellh/go-homedir v1.0.0 13:53:07 go: finding github.com/mitchellh/go-testing-interface v1.0.0 13:53:07 go: finding github.com/mitchellh/gox v0.4.0 13:53:07 go: finding github.com/mitchellh/iochan v1.0.0 13:53:07 go: finding github.com/mitchellh/mapstructure v1.1.2 13:53:07 go: finding github.com/mitchellh/reflectwalk v1.0.0 13:53:07 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 13:53:07 go: finding github.com/pelletier/go-toml v1.2.0 13:53:07 go: finding github.com/pkg/errors v0.8.1 13:53:07 go: finding github.com/pmezard/go-difflib v1.0.0 13:53:07 go: finding github.com/posener/complete v1.1.1 [Pipeline] } 13:53:07 $ docker stop --time=1 ea53bc802c4cd7f116c95f0714ec2c7fa80daccf288027cb37234a322c556fe7 13:53:08 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 13:53:08 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 13:53:08 go: finding github.com/spf13/cast v1.3.0 13:53:08 go: finding github.com/stretchr/objx v0.1.0 13:53:08 go: finding github.com/stretchr/testify v1.5.1 13:53:08 go: finding github.com/ugorji/go v1.1.4 13:53:08 go: finding github.com/x448/float16 v0.8.4 13:53:08 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 13:53:08 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 13:53:08 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 13:53:08 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 13:53:08 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 13:53:08 go: finding gopkg.in/yaml.v2 v2.2.8 13:53:09 $ docker rm -f ea53bc802c4cd7f116c95f0714ec2c7fa80daccf288027cb37234a322c556fe7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:53:11 + docker inspect -f . ci-base-image-arm64 13:53:11 . [Pipeline] withDockerContainer 13:53:11 prd-ubuntu18.04-docker-arm64-4c-16g-43587 does not seem to be running inside a container 13:53:11 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 13:53:13 $ docker top b28145b0fe85bbd0610d252b48416717c2b84678545c64f6fa2f210ca5bc8a73 -eo pid,comm [Pipeline] { [Pipeline] sh 13:53:15 + make test 13:53:15 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 13:53:16 ? github.com/edgexfoundry/device-rest-go [no test files] 13:53:16 Removing intermediate container 47d7feb64f6e 13:53:16 ---> 1bd4cc6823d2 13:53:16 Successfully built 1bd4cc6823d2 13:53:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:53:16 + docker inspect -f . ci-base-image-x86_64 13:53:16 . [Pipeline] withDockerContainer 13:53:17 prd-centos7-docker-4c-2g-43588 does not seem to be running inside a container 13:53:17 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:53:18 $ docker top 2151e4517a00a5f91d1239ad1f5c988fe61a096131c968cec53de96f3a4402bc -eo pid,comm [Pipeline] { [Pipeline] sh 13:53:18 + go version 13:53:18 go version go1.13.13 linux/amd64 [Pipeline] } 13:53:18 $ docker stop --time=1 2151e4517a00a5f91d1239ad1f5c988fe61a096131c968cec53de96f3a4402bc 13:53:20 $ docker rm -f 2151e4517a00a5f91d1239ad1f5c988fe61a096131c968cec53de96f3a4402bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:53:21 + docker inspect -f . ci-base-image-x86_64 13:53:21 . [Pipeline] withDockerContainer 13:53:21 prd-centos7-docker-4c-2g-43588 does not seem to be running inside a container 13:53:21 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:53:22 $ docker top bf4b238d4ef8bfff3b7487c5d982d0ec407e0c85d292d25f0313bdf18a8dfaa7 -eo pid,comm [Pipeline] { [Pipeline] sh 13:53:22 + make test 13:53:22 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 13:53:23 ? github.com/edgexfoundry/device-rest-go [no test files] 13:53:33 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 13:53:33 ok github.com/edgexfoundry/device-rest-go/driver 0.021s coverage: 56.3% of statements 13:53:33 CGO_ENABLED=0 GO111MODULE=on go vet ./... 13:53:35 gofmt -l . 13:53:35 [ "`gofmt -l .`" = "" ] 13:53:35 ./bin/test-go-mod-tidy.sh 13:53:35 ./bin/test-attribution-txt.sh [Pipeline] stash 13:53:36 Stashed 1 file(s) [Pipeline] } 13:53:36 $ docker stop --time=1 bf4b238d4ef8bfff3b7487c5d982d0ec407e0c85d292d25f0313bdf18a8dfaa7 13:53:38 $ docker rm -f bf4b238d4ef8bfff3b7487c5d982d0ec407e0c85d292d25f0313bdf18a8dfaa7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:53:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:53:40 + ls -al . 13:53:40 total 96 13:53:40 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 16 13:53 . 13:53:40 drwxrwxr-x. 4 jenkins jenkins 28 Sep 16 13:52 .. 13:53:40 -rw-rw-r--. 1 jenkins jenkins 4566 Sep 16 13:52 Attribution.txt 13:53:40 drwxrwxr-x. 2 jenkins jenkins 64 Sep 16 13:52 bin 13:53:40 drwxrwxr-x. 3 jenkins jenkins 32 Sep 16 13:52 cmd 13:53:40 -rw-r--r--. 1 jenkins jenkins 9369 Sep 16 13:53 coverage.out 13:53:40 -rw-rw-r--. 1 jenkins jenkins 1519 Sep 16 13:52 Dockerfile 13:53:40 -rw-rw-r--. 1 jenkins jenkins 989 Sep 16 13:52 Dockerfile.build 13:53:40 -rw-rw-r--. 1 jenkins jenkins 151 Sep 16 13:52 .dockerignore 13:53:40 drwxrwxr-x. 2 jenkins jenkins 93 Sep 16 13:53 driver 13:53:40 drwxrwxr-x. 8 jenkins jenkins 179 Sep 16 13:52 .git 13:53:40 drwxrwxr-x. 2 jenkins jenkins 38 Sep 16 13:52 .github 13:53:40 -rw-rw-r--. 1 jenkins jenkins 339 Sep 16 13:52 .gitignore 13:53:40 -rw-r--r--. 1 jenkins jenkins 266 Sep 16 13:53 go.mod 13:53:40 -rw-r--r--. 1 jenkins jenkins 12533 Sep 16 13:53 go.sum 13:53:40 -rw-rw-r--. 1 jenkins jenkins 702 Sep 16 13:52 Jenkinsfile 13:53:40 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 16 13:52 LICENSE 13:53:40 -rw-rw-r--. 1 jenkins jenkins 951 Sep 16 13:52 Makefile 13:53:40 -rw-rw-r--. 1 jenkins jenkins 5917 Sep 16 13:52 README.md 13:53:40 drwxrwxr-x. 3 jenkins jenkins 45 Sep 16 13:52 .semver 13:53:40 drwxrwxr-x. 4 jenkins jenkins 54 Sep 16 13:52 snap 13:53:40 -rw-rw-r--. 1 jenkins jenkins 5 Sep 16 13:48 VERSION 13:53:40 -rw-rw-r--. 1 jenkins jenkins 713 Sep 16 13:52 version.go [Pipeline] isUnix [Pipeline] sh 13:53:41 + 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=39a7a4e777933e4815b2185cae3c86dc2bb2209d --label arch=amd64 --label version=0.0.0 . 13:53:41 Sending build context to Docker daemon 8.059MB 13:53:41 Step 1/25 : ARG BASE=golang:1.13-alpine 13:53:41 Step 2/25 : FROM ${BASE} AS builder 13:53:41 ---> 1bd4cc6823d2 13:53:41 Step 3/25 : ARG MAKE='make build' 13:53:41 ---> Running in 800916f7846a 13:53:41 Removing intermediate container 800916f7846a 13:53:41 ---> b7141097c094 13:53:41 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 13:53:41 ---> Running in 2b17bd4d0463 13:53:41 Removing intermediate container 2b17bd4d0463 13:53:41 ---> 9096d961f9da 13:53:41 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 13:53:41 ---> Running in ba01fe504a55 13:53:41 Removing intermediate container ba01fe504a55 13:53:41 ---> 15b6632a6943 13:53:41 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:53:42 ---> Running in 39b1f562f306 13:53:42 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 13:53:42 Removing intermediate container 39b1f562f306 13:53:42 ---> 34395266b6bc 13:53:42 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:53:43 ---> Running in ef35626fe626 13:53:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:53:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:53:46 OK: 166 MiB in 39 packages 13:53:46 ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 56.3% of statements 13:53:46 CGO_ENABLED=0 GO111MODULE=on go vet ./... 13:53:46 Removing intermediate container ef35626fe626 13:53:46 ---> c36fa84c0557 13:53:46 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 13:53:46 ---> Running in e150e9545b40 13:53:46 Removing intermediate container e150e9545b40 13:53:46 ---> 8746f14935f4 13:53:46 Step 9/25 : COPY go.mod . 13:53:47 ---> d86995b43082 13:53:47 Step 10/25 : COPY Makefile . 13:53:47 ---> 7def14d6a3c7 13:53:47 Step 11/25 : RUN make update 13:53:47 ---> Running in eeb6a1d1a658 13:53:47 CGO_ENABLED=0 GO111MODULE=on go mod download 13:53:48 Removing intermediate container eeb6a1d1a658 13:53:48 ---> a0301007eccd 13:53:48 Step 12/25 : COPY . . 13:53:48 ---> 123b98c0bbe3 13:53:48 Step 13/25 : RUN $MAKE 13:53:48 ---> Running in df830d07e338 13:53:49 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 13:53:53 gofmt -l . 13:53:53 [ "`gofmt -l .`" = "" ] 13:53:53 ./bin/test-go-mod-tidy.sh 13:53:53 ./bin/test-attribution-txt.sh [Pipeline] stash 13:53:53 Warning: overwriting stash ‘coverage-report’ 13:53:53 Stashed 1 file(s) [Pipeline] } 13:53:53 $ docker stop --time=1 b28145b0fe85bbd0610d252b48416717c2b84678545c64f6fa2f210ca5bc8a73 13:53:56 $ docker rm -f b28145b0fe85bbd0610d252b48416717c2b84678545c64f6fa2f210ca5bc8a73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:53:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:53:58 + ls -al . 13:53:58 total 128 13:53:58 drwxrwxr-x 9 jenkins jenkins 4096 Sep 16 13:53 . 13:53:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 13:51 .. 13:53:58 -rw-rw-r-- 1 jenkins jenkins 151 Sep 16 13:51 .dockerignore 13:53:58 drwxrwxr-x 8 jenkins jenkins 4096 Sep 16 13:51 .git 13:53:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 13:51 .github 13:53:58 -rw-rw-r-- 1 jenkins jenkins 339 Sep 16 13:51 .gitignore 13:53:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 16 13:52 .semver 13:53:58 -rw-rw-r-- 1 jenkins jenkins 4566 Sep 16 13:51 Attribution.txt 13:53:58 -rw-rw-r-- 1 jenkins jenkins 1519 Sep 16 13:51 Dockerfile 13:53:58 -rw-rw-r-- 1 jenkins jenkins 989 Sep 16 13:51 Dockerfile.build 13:53:58 -rw-rw-r-- 1 jenkins jenkins 702 Sep 16 13:51 Jenkinsfile 13:53:58 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 16 13:51 LICENSE 13:53:58 -rw-rw-r-- 1 jenkins jenkins 951 Sep 16 13:51 Makefile 13:53:58 -rw-rw-r-- 1 jenkins jenkins 5917 Sep 16 13:51 README.md 13:53:58 -rw-rw-r-- 1 jenkins jenkins 5 Sep 16 13:48 VERSION 13:53:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 13:51 bin 13:53:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 16 13:51 cmd 13:53:58 -rw-r--r-- 1 jenkins jenkins 9369 Sep 16 13:53 coverage.out 13:53:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 13:53 driver 13:53:58 -rw-r--r-- 1 jenkins jenkins 266 Sep 16 13:53 go.mod 13:53:58 -rw-r--r-- 1 jenkins jenkins 12533 Sep 16 13:53 go.sum 13:53:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 13:51 snap 13:53:58 -rw-rw-r-- 1 jenkins jenkins 713 Sep 16 13:51 version.go [Pipeline] isUnix [Pipeline] sh 13:53:58 + 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=39a7a4e777933e4815b2185cae3c86dc2bb2209d --label arch=arm64 --label version=0.0.0 . 13:53:59 Sending build context to Docker daemon 8.059MB 13:53:59 Step 1/25 : ARG BASE=golang:1.13-alpine 13:53:59 Step 2/25 : FROM ${BASE} AS builder 13:53:59 ---> 283cf233f169 13:53:59 Step 3/25 : ARG MAKE='make build' 13:53:59 ---> Running in bcd50847b718 13:53:59 Removing intermediate container df830d07e338 13:53:59 ---> 22ca39913378 13:53:59 Step 14/25 : FROM alpine:latest 13:53:59 latest: Pulling from library/alpine 13:53:59 df20fa9351a1: Already exists 13:53:59 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 13:53:59 Status: Downloaded newer image for alpine:latest 13:53:59 ---> a24bb4013296 13:53:59 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 13:53:59 ---> Running in da82068e422c 13:53:59 Removing intermediate container da82068e422c 13:53:59 ---> 024ba489fefa 13:53:59 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 13:53:59 ---> Running in f903f2846f4c 13:53:59 Removing intermediate container f903f2846f4c 13:53:59 ---> 314210345066 13:53:59 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 13:53:59 Removing intermediate container bcd50847b718 13:53:59 ---> b8fd3cedfe90 13:53:59 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 13:53:59 ---> Running in 170d6ae6cc18 13:54:00 ---> 58506be721c5 13:54:00 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 13:54:00 ---> eb6ae65f8a49 13:54:00 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 13:54:00 Removing intermediate container 170d6ae6cc18 13:54:00 ---> 8d9b92d8265b 13:54:00 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 13:54:00 ---> Running in 548bba9b55f2 13:54:01 ---> c0fa138a7a19 13:54:01 Step 20/25 : EXPOSE 49986 13:54:01 ---> Running in e69ef66750d8 13:54:01 Removing intermediate container 548bba9b55f2 13:54:01 ---> 28fe663c7cc6 13:54:01 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:54:01 ---> Running in e3526f48beef 13:54:01 Removing intermediate container e69ef66750d8 13:54:01 ---> 3d24fb270f02 13:54:01 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 13:54:01 ---> Running in 7e2d989df123 13:54:01 Removing intermediate container 7e2d989df123 13:54:01 ---> 914b8cead506 13:54:01 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 13:54:01 ---> Running in 15ac63377831 13:54:01 Removing intermediate container 15ac63377831 13:54:01 ---> e50927d7028d 13:54:01 Step 23/25 : LABEL arch=amd64 13:54:01 ---> Running in d1a82a8806f8 13:54:02 Removing intermediate container d1a82a8806f8 13:54:02 ---> be8a9e30a754 13:54:02 Step 24/25 : LABEL git_sha=39a7a4e777933e4815b2185cae3c86dc2bb2209d 13:54:02 ---> Running in 4d584c60b099 13:54:02 Removing intermediate container 4d584c60b099 13:54:02 ---> ec808ad449cf 13:54:02 Step 25/25 : LABEL version=0.0.0 13:54:02 ---> Running in 36832d5fcbc9 13:54:02 Removing intermediate container 36832d5fcbc9 13:54:02 ---> 11caf6f41a2e 13:54:02 [Warning] One or more build-args [ARCH] were not consumed 13:54:02 Successfully built 11caf6f41a2e 13:54:02 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] } 13:54:03 Removing intermediate container e3526f48beef 13:54:03 ---> 996f501ec880 13:54:03 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:54:03 ---> Running in dc971e75cf01 [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 13:54:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:54:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:54:07 OK: 142 MiB in 39 packages 13:54:08 Removing intermediate container dc971e75cf01 13:54:08 ---> 7c0fa5070535 13:54:08 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 13:54:08 ---> Running in 3e48fd4de726 13:54:09 Removing intermediate container 3e48fd4de726 13:54:09 ---> 69e40919c9e9 13:54:09 Step 9/25 : COPY go.mod . 13:54:09 ---> fa3f3da6b7dd 13:54:09 Step 10/25 : COPY Makefile . 13:54:10 ---> ae1c17de8ec7 13:54:10 Step 11/25 : RUN make update 13:54:10 ---> Running in 62fc1ec60d0a 13:54:12 CGO_ENABLED=0 GO111MODULE=on go mod download 13:54:13 Removing intermediate container 62fc1ec60d0a 13:54:13 ---> fc1435102ab5 13:54:13 Step 12/25 : COPY . . 13:54:14 ---> 9c0dbe824fe5 13:54:14 Step 13/25 : RUN $MAKE 13:54:14 ---> Running in 6b97dada3c74 13:54:15 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 13:54:42 Removing intermediate container 6b97dada3c74 13:54:42 ---> fd83e55cb120 13:54:42 Step 14/25 : FROM alpine:latest 13:54:42 latest: Pulling from library/alpine 13:54:42 b538f80385f9: Already exists 13:54:42 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 13:54:42 Status: Downloaded newer image for alpine:latest 13:54:42 ---> 62ee0e9f8440 13:54:42 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 13:54:42 ---> Running in e045a2fe48b4 13:54:42 Removing intermediate container e045a2fe48b4 13:54:42 ---> dc01d9295ea0 13:54:42 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 13:54:42 ---> Running in 7b0d88131402 13:54:43 Removing intermediate container 7b0d88131402 13:54:43 ---> 35b6b003e47a 13:54:43 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 13:54:43 ---> 32ea27124736 13:54:43 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 13:54:44 ---> 282c1fcbbb2f 13:54:44 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 13:54:45 ---> d408483d970e 13:54:45 Step 20/25 : EXPOSE 49986 13:54:45 ---> Running in e52b690c908b 13:54:46 Removing intermediate container e52b690c908b 13:54:46 ---> 0d61448f5a14 13:54:46 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 13:54:46 ---> Running in 33594216d0fc 13:54:46 Removing intermediate container 33594216d0fc 13:54:46 ---> b3f042bf07df 13:54:46 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 13:54:47 ---> Running in e104cbc7c4f6 13:54:47 Removing intermediate container e104cbc7c4f6 13:54:47 ---> e6c9f177a343 13:54:47 Step 23/25 : LABEL arch=arm64 13:54:47 ---> Running in 81124727c7d6 13:54:47 Removing intermediate container 81124727c7d6 13:54:47 ---> 44caeb29bdc6 13:54:47 Step 24/25 : LABEL git_sha=39a7a4e777933e4815b2185cae3c86dc2bb2209d 13:54:48 ---> Running in 1e6a49b592c0 13:54:48 Removing intermediate container 1e6a49b592c0 13:54:48 ---> 369454147cb8 13:54:48 Step 25/25 : LABEL version=0.0.0 13:54:48 ---> Running in 03c76d14a624 13:54:49 Removing intermediate container 03c76d14a624 13:54:49 ---> 7702a4bde2a8 13:54:49 [Warning] One or more build-args [ARCH] were not consumed 13:54:49 Successfully built 7702a4bde2a8 13:54:49 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 13:54:52 provisioning config files... 13:54:52 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-39@tmp/config6695991168832834956tmp [Pipeline] { [Pipeline] sh 13:54:52 + curl -s https://codecov.io/bash 13:54:52 + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-39@tmp/config6695991168832834956tmp [Pipeline] } 13:54:52 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] { (Publish Swagger) Stage "Publish Swagger" 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] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) 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 13:54:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:54:56 ---> package-listing.sh 13:54:56 ++ facter osfamily 13:54:56 ++ tr '[:upper:]' '[:lower:]' 13:54:56 + OS_FAMILY=redhat 13:54:56 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-39 13:54:56 + START_PACKAGES=/tmp/packages_start.txt 13:54:56 + END_PACKAGES=/tmp/packages_end.txt 13:54:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:54:56 + PACKAGES=/tmp/packages_start.txt 13:54:56 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-39 ']' 13:54:56 + PACKAGES=/tmp/packages_end.txt 13:54:56 + case "${OS_FAMILY}" in 13:54:56 + rpm -qa 13:54:56 + sort 13:55:00 + '[' -f /tmp/packages_start.txt ']' 13:55:00 + '[' -f /tmp/packages_end.txt ']' 13:55:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:55:00 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-39 ']' 13:55:00 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-39/archives/ 13:55:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-39/archives/ [Pipeline] isUnix [Pipeline] sh 13:55:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:55:01 13:55:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:55:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:55:01 alpine: Pulling from edgex-lftools-log-publisher 13:55:01 df20fa9351a1: Pulling fs layer 13:55:01 36b3adc4ff6f: Pulling fs layer 13:55:01 8ad3a11d3b57: Pulling fs layer 13:55:01 46f8f816bc3b: Pulling fs layer 13:55:01 0dadc02b9964: Pulling fs layer 13:55:01 ce6a7cf60c04: Pulling fs layer 13:55:01 7a184a31f384: Pulling fs layer 13:55:01 0879bd2ef858: Pulling fs layer 13:55:01 46f8f816bc3b: Waiting 13:55:01 0dadc02b9964: Waiting 13:55:01 ce6a7cf60c04: Waiting 13:55:01 7a184a31f384: Waiting 13:55:01 0879bd2ef858: Waiting 13:55:01 36b3adc4ff6f: Download complete 13:55:01 46f8f816bc3b: Verifying Checksum 13:55:01 46f8f816bc3b: Download complete 13:55:02 df20fa9351a1: Verifying Checksum 13:55:02 ce6a7cf60c04: Verifying Checksum 13:55:02 ce6a7cf60c04: Download complete 13:55:02 0dadc02b9964: Verifying Checksum 13:55:02 0dadc02b9964: Download complete 13:55:02 7a184a31f384: Verifying Checksum 13:55:02 7a184a31f384: Download complete 13:55:02 8ad3a11d3b57: Verifying Checksum 13:55:02 8ad3a11d3b57: Download complete 13:55:02 df20fa9351a1: Pull complete 13:55:02 0879bd2ef858: Verifying Checksum 13:55:02 0879bd2ef858: Download complete 13:55:02 36b3adc4ff6f: Pull complete 13:55:03 8ad3a11d3b57: Pull complete 13:55:03 46f8f816bc3b: Pull complete 13:55:03 0dadc02b9964: Pull complete 13:55:03 ce6a7cf60c04: Pull complete 13:55:03 7a184a31f384: Pull complete 13:55:06 0879bd2ef858: Pull complete 13:55:06 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 13:55:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:55:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:55:06 prd-centos7-docker-4c-2g-43585 does not seem to be running inside a container 13:55:06 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-rest-go_PR-39 -v /w/workspace/dgexfoundry_device-rest-go_PR-39:/w/workspace/dgexfoundry_device-rest-go_PR-39:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-39@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-39@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 13:55:11 $ docker top c6f29777106bca6a311949e804bf62b7bf47918bf61d713cb62e949a38409d62 -eo pid,comm [Pipeline] { [Pipeline] sh 13:55:11 + mkdir -p /var/log/sa [Pipeline] sh 13:55:11 + ls /var/log/sa-host 13:55:11 + sadf -c /var/log/sa-host/sa05 13:55:11 file_magic: OK 13:55:11 HZ: Using current value: 100 13:55:11 file_header: OK 13:55:11 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 13:55:11 Statistics: 13:55:11 Hnuu...uuuununununu...Hnuu...uuuununununu... 13:55:11 File successfully converted to sysstat format version 12.2.1 13:55:11 + sadf -c /var/log/sa-host/sa16 13:55:11 file_magic: OK 13:55:11 HZ: Using current value: 100 13:55:11 file_header: OK 13:55:11 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 13:55:11 Statistics: 13:55:11 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:55:11 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:55:12 provisioning config files... 13:55:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-39@tmp/config2286331744798488950tmp [Pipeline] { [Pipeline] echo 13:55:12 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:55:12 ---> create-netrc.sh [Pipeline] echo 13:55:12 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:55:12 ---> logs-deploy.sh 13:55:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-39/1 13:55:12 INFO: archiving workspace using pattern(s): 13:55:14 Archives upload complete. 13:55:14 INFO: archiving logs to Nexus