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 [2020-09-16T13:48:24.905Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-16T13:48:25.275Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-16T13:48:25.490Z] ========================================================= [2020-09-16T13:48:25.490Z] EdgeX Global Pipelines Version Info [2020-09-16T13:48:25.490Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-16T13:48:26.953Z] ------------------- [2020-09-16T13:48:26.953Z] stable info: [2020-09-16T13:48:26.953Z] ------------------- [2020-09-16T13:48:26.953Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-16T13:48:26.953Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-16T13:48:26.953Z] Message: update stable to v1.0.122 [2020-09-16T13:48:27.911Z] ------------------- [2020-09-16T13:48:27.911Z] experimental info: [2020-09-16T13:48:27.911Z] ------------------- [2020-09-16T13:48:27.911Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-16T13:48:27.911Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-16T13:48:27.911Z] Message: update experimental to v1.0.122 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-16T13:48:28.486Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-09-16T13:48:28.687Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-09-16T13:48:28.837Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-16T13:48:28.974Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-16T13:48:29.138Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-16T13:48:29.276Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-16T13:48:29.441Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-16T13:48:29.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-16T13:48:29.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-16T13:48:29.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-16T13:48:29.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-16T13:48:30.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-09-16T13:48:30.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-16T13:48:30.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-16T13:48:30.770Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-16T13:48:30.971Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-16T13:48:31.109Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T13:48:31.239Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-16T13:48:31.431Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-16T13:48:31.567Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-16T13:48:31.704Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-16T13:48:31.856Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-16T13:48:32.111Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-39 [Pipeline] echo [2020-09-16T13:48:32.255Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-39 [Pipeline] echo [2020-09-16T13:48:32.412Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-39 [Pipeline] echo [2020-09-16T13:48:32.545Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 39a7a4e777933e4815b2185cae3c86dc2bb2209d [Pipeline] echo [2020-09-16T13:48:32.692Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 39a7a4e [Pipeline] echo [2020-09-16T13:48:32.820Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-16T13:48:33.581Z] + git log --format=format:%s -1 39a7a4e777933e4815b2185cae3c86dc2bb2209d [Pipeline] echo [2020-09-16T13:48:33.667Z] GIT_COMMIT: 39a7a4e777933e4815b2185cae3c86dc2bb2209d, Commit Message: doc: correct build instructions (#36) [Pipeline] echo [2020-09-16T13:48:33.743Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-16T13:48:34.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T13:48:34.611Z] [2020-09-16T13:48:34.611Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-16T13:48:35.018Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T13:48:35.018Z] latest: Pulling from edgex-devops/git-semver [2020-09-16T13:48:35.018Z] 31603596830f: Pulling fs layer [2020-09-16T13:48:35.018Z] 2a8b12db71e7: Pulling fs layer [2020-09-16T13:48:35.018Z] 6ca5941a6612: Pulling fs layer [2020-09-16T13:48:35.018Z] ecc8261a40a4: Pulling fs layer [2020-09-16T13:48:35.018Z] ecc8261a40a4: Waiting [2020-09-16T13:48:35.018Z] 2a8b12db71e7: Verifying Checksum [2020-09-16T13:48:35.018Z] 2a8b12db71e7: Download complete [2020-09-16T13:48:35.283Z] 31603596830f: Verifying Checksum [2020-09-16T13:48:35.283Z] 31603596830f: Download complete [2020-09-16T13:48:35.283Z] 6ca5941a6612: Verifying Checksum [2020-09-16T13:48:35.283Z] 6ca5941a6612: Download complete [2020-09-16T13:48:35.283Z] ecc8261a40a4: Verifying Checksum [2020-09-16T13:48:35.283Z] ecc8261a40a4: Download complete [2020-09-16T13:48:35.546Z] 31603596830f: Pull complete [2020-09-16T13:48:35.808Z] 2a8b12db71e7: Pull complete [2020-09-16T13:48:36.384Z] 6ca5941a6612: Pull complete [2020-09-16T13:48:36.645Z] ecc8261a40a4: Pull complete [2020-09-16T13:48:36.645Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-16T13:48:36.645Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-16T13:48:36.645Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-16T13:48:36.762Z] prd-centos7-docker-4c-2g-43585 does not seem to be running inside a container [2020-09-16T13:48:36.811Z] $ 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 [2020-09-16T13:48:38.664Z] $ docker top bea4baa196f9c277451b8a3401d32894201b2e18eed4d6242b11e8e58e2c1131 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-16T13:48:39.112Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-16T13:48:39.112Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-16T13:48:39.319Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-16T13:48:39.325Z] $ docker exec bea4baa196f9c277451b8a3401d32894201b2e18eed4d6242b11e8e58e2c1131 ssh-agent [2020-09-16T13:48:39.479Z] SSH_AUTH_SOCK=/tmp/ssh-nGwXK5hohaHc/agent.11 [2020-09-16T13:48:39.479Z] SSH_AGENT_PID=16 [2020-09-16T13:48:39.492Z] Running ssh-add (command line suppressed) [2020-09-16T13:48:39.614Z] 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) [2020-09-16T13:48:39.661Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-16T13:48:40.042Z] + git describe --exact-match --tags HEAD [2020-09-16T13:48:40.043Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-16T13:48:40.099Z] $ docker exec --env ******** --env ******** bea4baa196f9c277451b8a3401d32894201b2e18eed4d6242b11e8e58e2c1131 ssh-agent -k [2020-09-16T13:48:40.207Z] unset SSH_AUTH_SOCK; [2020-09-16T13:48:40.207Z] unset SSH_AGENT_PID; [2020-09-16T13:48:40.207Z] echo Agent pid 16 killed; [2020-09-16T13:48:40.249Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-16T13:48:40.417Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-16T13:48:40.417Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-16T13:48:40.562Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-16T13:48:40.562Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-16T13:48:40.725Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-16T13:48:40.731Z] $ docker exec bea4baa196f9c277451b8a3401d32894201b2e18eed4d6242b11e8e58e2c1131 ssh-agent [2020-09-16T13:48:40.887Z] SSH_AUTH_SOCK=/tmp/ssh-zU9KjazWUV2j/agent.45 [2020-09-16T13:48:40.887Z] SSH_AGENT_PID=50 [2020-09-16T13:48:40.898Z] Running ssh-add (command line suppressed) [2020-09-16T13:48:41.016Z] 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) [2020-09-16T13:48:41.064Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-16T13:48:41.456Z] + git semver init [2020-09-16T13:48:41.456Z] # -> Open(): unable to determine branch for HEAD [2020-09-16T13:48:41.456Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-39/.git [2020-09-16T13:48:41.456Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-39 [2020-09-16T13:48:41.456Z] # $SEMVER_REMOTE_NAME = origin [2020-09-16T13:48:41.456Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-16T13:48:41.456Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-16T13:48:41.456Z] # $SEMVER_BRANCH = PR-39 [2020-09-16T13:48:41.456Z] # $SEMVER_TEMP = /tmp/semver-524712058 [2020-09-16T13:48:41.456Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-09-16T13:48:42.870Z] # '/tmp/semver-524712058' -> '/w/workspace/dgexfoundry_device-rest-go_PR-39/.semver' [2020-09-16T13:48:42.870Z] # -> Force: false [2020-09-16T13:48:42.870Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-39/.semver [Pipeline] } [2020-09-16T13:48:42.892Z] $ docker exec --env ******** --env ******** bea4baa196f9c277451b8a3401d32894201b2e18eed4d6242b11e8e58e2c1131 ssh-agent -k [2020-09-16T13:48:43.013Z] unset SSH_AUTH_SOCK; [2020-09-16T13:48:43.014Z] unset SSH_AGENT_PID; [2020-09-16T13:48:43.014Z] echo Agent pid 50 killed; [2020-09-16T13:48:43.053Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-16T13:48:43.617Z] + git semver [Pipeline] } [2020-09-16T13:48:43.655Z] $ docker stop --time=1 bea4baa196f9c277451b8a3401d32894201b2e18eed4d6242b11e8e58e2c1131 [2020-09-16T13:48:45.254Z] $ docker rm -f bea4baa196f9c277451b8a3401d32894201b2e18eed4d6242b11e8e58e2c1131 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-16T13:48:46.899Z] Stashed 21 file(s) [Pipeline] echo [2020-09-16T13:48:46.919Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-16T13:48:47.049Z] 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 [2020-09-16T13:49:02.771Z] Still waiting to schedule task [2020-09-16T13:49:02.772Z] ‘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 [2020-09-16T13:49:02.800Z] Still waiting to schedule task [2020-09-16T13:49:02.800Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-43576’ [2020-09-16T13:51:46.766Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-43587 in /w/workspace/dgexfoundry_device-rest-go_PR-39 [Pipeline] { [Pipeline] ws [2020-09-16T13:51:46.919Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-09-16T13:51:51.890Z] using credential edgex-jenkins-ssh [2020-09-16T13:51:51.948Z] Cloning the remote Git repository [2020-09-16T13:51:51.949Z] Cloning with configured refspecs honoured and without tags [2020-09-16T13:51:52.024Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-16T13:51:52.133Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-09-16T13:51:52.206Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-16T13:51:52.207Z] > git --version # timeout=10 [2020-09-16T13:51:52.226Z] > git --version # 'git version 2.17.1' [2020-09-16T13:51:52.228Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T13:51:52.292Z] > 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 [2020-09-16T13:51:53.898Z] Fetching without tags [2020-09-16T13:51:54.418Z] Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit 39a7a4e777933e4815b2185cae3c86dc2bb2209d [2020-09-16T13:51:53.821Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-16T13:51:53.838Z] > git config --add remote.origin.fetch +refs/pull/39/head:refs/remotes/origin/PR-39 # timeout=10 [2020-09-16T13:51:53.865Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T13:51:53.899Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-16T13:51:53.930Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-16T13:51:53.930Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T13:51:53.942Z] > 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 [2020-09-16T13:51:54.455Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T13:51:54.475Z] > git checkout -f 39a7a4e777933e4815b2185cae3c86dc2bb2209d # timeout=10 [2020-09-16T13:51:54.543Z] > git remote # timeout=10 [2020-09-16T13:51:54.558Z] > git config --get remote.origin.url # timeout=10 [2020-09-16T13:51:54.575Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T13:51:54.625Z] > git merge 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 [2020-09-16T13:51:54.742Z] Merge succeeded, producing 39a7a4e777933e4815b2185cae3c86dc2bb2209d [2020-09-16T13:51:54.742Z] Checking out Revision 39a7a4e777933e4815b2185cae3c86dc2bb2209d (PR-39) [2020-09-16T13:51:54.685Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-16T13:51:54.769Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T13:51:54.817Z] > git checkout -f 39a7a4e777933e4815b2185cae3c86dc2bb2209d # timeout=10 [2020-09-16T13:51:59.235Z] Commit message: "doc: correct build instructions (#36)" [2020-09-16T13:51:59.304Z] > git --version # timeout=10 [2020-09-16T13:51:59.315Z] > git --version # 'git version 2.17.1' [2020-09-16T13:51:59.326Z] fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-16T13:52:01.433Z] ========================================================= [2020-09-16T13:52:01.433Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-16T13:52:01.433Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-16T13:52:02.523Z] + 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-09-16T13:52:03.511Z] Sending build context to Docker daemon 8.048MB [2020-09-16T13:52:03.511Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-09-16T13:52:03.511Z] Step 2/10 : FROM ${BASE} [2020-09-16T13:52:03.784Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-16T13:52:03.784Z] b538f80385f9: Pulling fs layer [2020-09-16T13:52:03.784Z] 74f711af9a0d: Pulling fs layer [2020-09-16T13:52:03.784Z] 99f96fe45779: Pulling fs layer [2020-09-16T13:52:03.784Z] fd7a069fd194: Pulling fs layer [2020-09-16T13:52:03.784Z] 66aa3694b03b: Pulling fs layer [2020-09-16T13:52:03.784Z] 170f70906a0f: Pulling fs layer [2020-09-16T13:52:03.784Z] ad7c5574e4b9: Pulling fs layer [2020-09-16T13:52:03.784Z] e772456be8f7: Pulling fs layer [2020-09-16T13:52:03.784Z] c890913d741a: Pulling fs layer [2020-09-16T13:52:03.784Z] 2480fcc9aa5a: Pulling fs layer [2020-09-16T13:52:03.784Z] 09adf4765672: Pulling fs layer [2020-09-16T13:52:03.784Z] ad7c5574e4b9: Waiting [2020-09-16T13:52:03.784Z] e772456be8f7: Waiting [2020-09-16T13:52:03.784Z] c890913d741a: Waiting [2020-09-16T13:52:03.784Z] 2480fcc9aa5a: Waiting [2020-09-16T13:52:03.784Z] fd7a069fd194: Waiting [2020-09-16T13:52:03.784Z] 66aa3694b03b: Waiting [2020-09-16T13:52:03.784Z] 170f70906a0f: Waiting [2020-09-16T13:52:03.784Z] 09adf4765672: Waiting [2020-09-16T13:52:03.784Z] 99f96fe45779: Download complete [2020-09-16T13:52:03.784Z] 74f711af9a0d: Verifying Checksum [2020-09-16T13:52:03.784Z] 74f711af9a0d: Download complete [2020-09-16T13:52:04.379Z] 66aa3694b03b: Verifying Checksum [2020-09-16T13:52:04.379Z] 66aa3694b03b: Download complete [2020-09-16T13:52:04.379Z] 170f70906a0f: Verifying Checksum [2020-09-16T13:52:04.379Z] 170f70906a0f: Download complete [2020-09-16T13:52:04.379Z] b538f80385f9: Verifying Checksum [2020-09-16T13:52:04.654Z] b538f80385f9: Download complete [2020-09-16T13:52:05.260Z] b538f80385f9: Pull complete [2020-09-16T13:52:05.862Z] 74f711af9a0d: Pull complete [2020-09-16T13:52:06.135Z] 99f96fe45779: Pull complete [2020-09-16T13:52:07.570Z] ad7c5574e4b9: Verifying Checksum [2020-09-16T13:52:07.570Z] ad7c5574e4b9: Download complete [2020-09-16T13:52:08.549Z] c890913d741a: Verifying Checksum [2020-09-16T13:52:08.550Z] c890913d741a: Download complete [2020-09-16T13:52:09.148Z] e772456be8f7: Verifying Checksum [2020-09-16T13:52:09.148Z] e772456be8f7: Download complete [2020-09-16T13:52:09.148Z] 09adf4765672: Verifying Checksum [2020-09-16T13:52:09.148Z] 09adf4765672: Download complete [2020-09-16T13:52:10.579Z] fd7a069fd194: Download complete [2020-09-16T13:52:10.580Z] 2480fcc9aa5a: Verifying Checksum [2020-09-16T13:52:10.580Z] 2480fcc9aa5a: Download complete [2020-09-16T13:52:22.991Z] fd7a069fd194: Pull complete [2020-09-16T13:52:22.991Z] 66aa3694b03b: Pull complete [2020-09-16T13:52:22.991Z] 170f70906a0f: Pull complete [2020-09-16T13:52:26.412Z] ad7c5574e4b9: Pull complete [2020-09-16T13:52:27.142Z] Running on prd-centos7-docker-4c-2g-43588 in /w/workspace/dgexfoundry_device-rest-go_PR-39 [Pipeline] { [Pipeline] ws [2020-09-16T13:52:27.243Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-09-16T13:52:30.531Z] using credential edgex-jenkins-ssh [2020-09-16T13:52:30.591Z] Cloning the remote Git repository [2020-09-16T13:52:30.591Z] Cloning with configured refspecs honoured and without tags [2020-09-16T13:52:30.740Z] e772456be8f7: Pull complete [2020-09-16T13:52:30.740Z] c890913d741a: Pull complete [2020-09-16T13:52:30.620Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-16T13:52:30.688Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-09-16T13:52:30.736Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-16T13:52:30.736Z] > git --version # timeout=10 [2020-09-16T13:52:30.741Z] > git --version # 'git version 2.16.5' [2020-09-16T13:52:30.742Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T13:52:30.767Z] > 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 [2020-09-16T13:52:31.658Z] Fetching without tags [2020-09-16T13:52:31.633Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-16T13:52:31.638Z] > git config --add remote.origin.fetch +refs/pull/39/head:refs/remotes/origin/PR-39 # timeout=10 [2020-09-16T13:52:31.645Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-16T13:52:31.656Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-16T13:52:31.665Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-16T13:52:31.665Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T13:52:31.669Z] > 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 [2020-09-16T13:52:32.059Z] Merging remotes/origin/master commit 43efee3cfdd526bf845b5582b1730bb1b93e3b78 into PR head commit 39a7a4e777933e4815b2185cae3c86dc2bb2209d [2020-09-16T13:52:32.137Z] Merge succeeded, producing 39a7a4e777933e4815b2185cae3c86dc2bb2209d [2020-09-16T13:52:32.137Z] Checking out Revision 39a7a4e777933e4815b2185cae3c86dc2bb2209d (PR-39) [2020-09-16T13:52:32.070Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T13:52:32.076Z] > git checkout -f 39a7a4e777933e4815b2185cae3c86dc2bb2209d # timeout=10 [2020-09-16T13:52:32.107Z] > git remote # timeout=10 [2020-09-16T13:52:32.113Z] > git config --get remote.origin.url # timeout=10 [2020-09-16T13:52:32.121Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-16T13:52:32.124Z] > git merge 43efee3cfdd526bf845b5582b1730bb1b93e3b78 # timeout=10 [2020-09-16T13:52:32.133Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-16T13:52:32.143Z] > git config core.sparsecheckout # timeout=10 [2020-09-16T13:52:32.147Z] > git checkout -f 39a7a4e777933e4815b2185cae3c86dc2bb2209d # timeout=10 [2020-09-16T13:52:33.385Z] 2480fcc9aa5a: Pull complete [2020-09-16T13:52:33.385Z] 09adf4765672: Pull complete [2020-09-16T13:52:33.385Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-16T13:52:33.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-16T13:52:33.385Z] ---> 2248a725d1cf [2020-09-16T13:52:33.385Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-16T13:52:35.756Z] Commit message: "doc: correct build instructions (#36)" [2020-09-16T13:52:35.786Z] > git --version # timeout=10 [2020-09-16T13:52:35.792Z] > git --version # 'git version 2.16.5' [2020-09-16T13:52:35.797Z] fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-16T13:52:37.406Z] ========================================================= [2020-09-16T13:52:37.406Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-16T13:52:37.406Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-16T13:52:37.710Z] ---> Running in 78ea5c56e113 [2020-09-16T13:52:37.710Z] Removing intermediate container 78ea5c56e113 [2020-09-16T13:52:37.710Z] ---> 1b7c64ec6087 [2020-09-16T13:52:37.710Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-16T13:52:37.982Z] ---> Running in 301d78361a36 [2020-09-16T13:52:38.254Z] Removing intermediate container 301d78361a36 [2020-09-16T13:52:38.254Z] ---> 8a7977b04722 [2020-09-16T13:52:38.254Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-16T13:52:38.275Z] + 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-09-16T13:52:38.533Z] ---> Running in a8bc82b97e71 [2020-09-16T13:52:38.541Z] Sending build context to Docker daemon 8.048MB [2020-09-16T13:52:38.541Z] Step 1/10 : ARG BASE=golang:1.13-alpine [2020-09-16T13:52:38.541Z] Step 2/10 : FROM ${BASE} [2020-09-16T13:52:38.803Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-16T13:52:38.803Z] df20fa9351a1: Pulling fs layer [2020-09-16T13:52:38.803Z] ed8968b2872e: Pulling fs layer [2020-09-16T13:52:38.803Z] a92cc7c5fd73: Pulling fs layer [2020-09-16T13:52:38.803Z] 2dd03ba5bac4: Pulling fs layer [2020-09-16T13:52:38.803Z] 1e091d79d1de: Pulling fs layer [2020-09-16T13:52:38.803Z] 481702a1767f: Pulling fs layer [2020-09-16T13:52:38.803Z] f64a6f60c768: Pulling fs layer [2020-09-16T13:52:38.803Z] e78d2573fc39: Pulling fs layer [2020-09-16T13:52:38.803Z] e876d2f968b6: Pulling fs layer [2020-09-16T13:52:38.803Z] ce8a83651883: Pulling fs layer [2020-09-16T13:52:38.803Z] 07967f4d0e4b: Pulling fs layer [2020-09-16T13:52:38.803Z] e876d2f968b6: Waiting [2020-09-16T13:52:38.803Z] ce8a83651883: Waiting [2020-09-16T13:52:38.803Z] 07967f4d0e4b: Waiting [2020-09-16T13:52:38.803Z] 1e091d79d1de: Waiting [2020-09-16T13:52:38.803Z] 481702a1767f: Waiting [2020-09-16T13:52:38.803Z] f64a6f60c768: Waiting [2020-09-16T13:52:38.803Z] e78d2573fc39: Waiting [2020-09-16T13:52:38.803Z] a92cc7c5fd73: Verifying Checksum [2020-09-16T13:52:38.803Z] a92cc7c5fd73: Download complete [2020-09-16T13:52:38.803Z] ed8968b2872e: Verifying Checksum [2020-09-16T13:52:38.803Z] ed8968b2872e: Download complete [2020-09-16T13:52:38.803Z] 1e091d79d1de: Download complete [2020-09-16T13:52:38.804Z] Removing intermediate container a8bc82b97e71 [2020-09-16T13:52:38.804Z] ---> c167f6b8d4b3 [2020-09-16T13:52:38.804Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-16T13:52:39.067Z] 481702a1767f: Verifying Checksum [2020-09-16T13:52:39.067Z] 481702a1767f: Download complete [2020-09-16T13:52:39.067Z] df20fa9351a1: Download complete [2020-09-16T13:52:39.077Z] ---> Running in 260ffd085a9f [2020-09-16T13:52:39.329Z] df20fa9351a1: Pull complete [2020-09-16T13:52:39.594Z] ed8968b2872e: Pull complete [2020-09-16T13:52:39.594Z] a92cc7c5fd73: Pull complete [2020-09-16T13:52:41.519Z] f64a6f60c768: Verifying Checksum [2020-09-16T13:52:41.519Z] f64a6f60c768: Download complete [2020-09-16T13:52:41.519Z] e876d2f968b6: Verifying Checksum [2020-09-16T13:52:41.519Z] e876d2f968b6: Download complete [2020-09-16T13:52:41.805Z] Removing intermediate container 260ffd085a9f [2020-09-16T13:52:41.805Z] ---> f4d9d20555dd [2020-09-16T13:52:41.805Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-16T13:52:41.805Z] ---> Running in ff809d3ff825 [2020-09-16T13:52:42.468Z] ce8a83651883: Verifying Checksum [2020-09-16T13:52:42.468Z] ce8a83651883: Download complete [2020-09-16T13:52:42.468Z] 07967f4d0e4b: Verifying Checksum [2020-09-16T13:52:42.468Z] 07967f4d0e4b: Download complete [2020-09-16T13:52:42.738Z] 2dd03ba5bac4: Verifying Checksum [2020-09-16T13:52:42.739Z] 2dd03ba5bac4: Download complete [2020-09-16T13:52:42.739Z] e78d2573fc39: Verifying Checksum [2020-09-16T13:52:42.739Z] e78d2573fc39: Download complete [2020-09-16T13:52:43.282Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-16T13:52:44.710Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-16T13:52:46.141Z] OK: 142 MiB in 39 packages [2020-09-16T13:52:47.125Z] Removing intermediate container ff809d3ff825 [2020-09-16T13:52:47.125Z] ---> 31f8e125a60b [2020-09-16T13:52:47.125Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-16T13:52:47.400Z] ---> Running in d69887e5b165 [2020-09-16T13:52:47.994Z] Removing intermediate container d69887e5b165 [2020-09-16T13:52:47.994Z] ---> c4dda9bbe777 [2020-09-16T13:52:47.994Z] Step 9/10 : COPY . . [2020-09-16T13:52:48.069Z] 2dd03ba5bac4: Pull complete [2020-09-16T13:52:48.069Z] 1e091d79d1de: Pull complete [2020-09-16T13:52:48.069Z] 481702a1767f: Pull complete [2020-09-16T13:52:48.987Z] ---> 7ceb51cec47a [2020-09-16T13:52:48.987Z] Step 10/10 : RUN go mod download [2020-09-16T13:52:48.987Z] ---> Running in 77fd7a5a8203 [2020-09-16T13:52:51.604Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-16T13:52:51.604Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-16T13:52:51.874Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-16T13:52:51.874Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-16T13:52:51.874Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-16T13:52:51.874Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-16T13:52:51.874Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-16T13:52:51.874Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-16T13:52:51.874Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-16T13:52:51.874Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-16T13:52:51.874Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-16T13:52:51.874Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-16T13:52:51.874Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-16T13:52:51.874Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-16T13:52:52.144Z] go: finding github.com/fatih/color v1.7.0 [2020-09-16T13:52:52.144Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-16T13:52:52.144Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-16T13:52:52.144Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-16T13:52:52.144Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-16T13:52:52.144Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-16T13:52:52.144Z] go: finding github.com/google/uuid v1.1.0 [2020-09-16T13:52:52.144Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-16T13:52:52.144Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-16T13:52:52.144Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-16T13:52:52.144Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-16T13:52:52.144Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-16T13:52:52.415Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-16T13:52:52.415Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-16T13:52:52.415Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-16T13:52:52.415Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-16T13:52:52.415Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-16T13:52:52.415Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-16T13:52:52.415Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-16T13:52:52.415Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-16T13:52:52.415Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-16T13:52:52.415Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-16T13:52:52.415Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-16T13:52:52.690Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-16T13:52:52.690Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-16T13:52:52.690Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-16T13:52:52.690Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-16T13:52:52.690Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-16T13:52:52.690Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-16T13:52:52.690Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-16T13:52:52.690Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-16T13:52:52.690Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-16T13:52:52.690Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-16T13:52:52.690Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-16T13:52:52.690Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-16T13:52:52.960Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-16T13:52:52.961Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-16T13:52:52.961Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-16T13:52:52.961Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-16T13:52:52.961Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-16T13:52:52.961Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-16T13:52:52.961Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-16T13:52:52.961Z] go: finding github.com/posener/complete v1.1.1 [2020-09-16T13:52:52.961Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-16T13:52:52.961Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-16T13:52:52.961Z] go: finding github.com/spf13/cast v1.3.0 [2020-09-16T13:52:52.961Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-16T13:52:53.234Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-16T13:52:53.234Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-16T13:52:53.234Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-16T13:52:53.234Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-16T13:52:53.234Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-16T13:52:53.234Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-16T13:52:53.234Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-16T13:52:53.234Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-16T13:52:53.234Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-16T13:52:53.375Z] f64a6f60c768: Pull complete [2020-09-16T13:52:56.706Z] e78d2573fc39: Pull complete [2020-09-16T13:52:56.706Z] e876d2f968b6: Pull complete [2020-09-16T13:52:57.669Z] ce8a83651883: Pull complete [2020-09-16T13:52:57.932Z] 07967f4d0e4b: Pull complete [2020-09-16T13:52:57.932Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-16T13:52:57.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-16T13:52:57.932Z] ---> 5d7c900382c6 [2020-09-16T13:52:57.932Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-16T13:52:59.320Z] ---> Running in 64ebcd68d60f [2020-09-16T13:52:59.320Z] Removing intermediate container 64ebcd68d60f [2020-09-16T13:52:59.320Z] ---> 22d7a8354f41 [2020-09-16T13:52:59.320Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-16T13:52:59.320Z] ---> Running in 5688c7c7eedc [2020-09-16T13:52:59.582Z] Removing intermediate container 5688c7c7eedc [2020-09-16T13:52:59.582Z] ---> 5118c7c6adbc [2020-09-16T13:52:59.582Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-16T13:52:59.582Z] ---> Running in bc8c3fecd1b3 [2020-09-16T13:52:59.844Z] Removing intermediate container bc8c3fecd1b3 [2020-09-16T13:52:59.844Z] ---> a0236e7e0b62 [2020-09-16T13:52:59.844Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-16T13:52:59.844Z] ---> Running in be31e31892e3 [2020-09-16T13:53:01.260Z] Removing intermediate container be31e31892e3 [2020-09-16T13:53:01.260Z] ---> 88ca1845ed6a [2020-09-16T13:53:01.260Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-16T13:53:01.260Z] ---> Running in d09c820833bd [2020-09-16T13:53:01.840Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-16T13:53:02.415Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-16T13:53:03.360Z] OK: 166 MiB in 39 packages [2020-09-16T13:53:03.414Z] Removing intermediate container 77fd7a5a8203 [2020-09-16T13:53:03.414Z] ---> 283cf233f169 [2020-09-16T13:53:03.414Z] Successfully built 283cf233f169 [2020-09-16T13:53:03.414Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-16T13:53:03.871Z] + docker inspect -f . ci-base-image-arm64 [2020-09-16T13:53:03.871Z] . [Pipeline] withDockerContainer [2020-09-16T13:53:03.932Z] Removing intermediate container d09c820833bd [2020-09-16T13:53:03.932Z] ---> e7be829a6291 [2020-09-16T13:53:03.932Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-16T13:53:03.932Z] ---> Running in f38eb847a7be [2020-09-16T13:53:04.171Z] prd-ubuntu18.04-docker-arm64-4c-16g-43587 does not seem to be running inside a container [2020-09-16T13:53:04.193Z] Removing intermediate container f38eb847a7be [2020-09-16T13:53:04.193Z] ---> cf34044962c2 [2020-09-16T13:53:04.193Z] Step 9/10 : COPY . . [2020-09-16T13:53:04.256Z] $ 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 [2020-09-16T13:53:04.765Z] ---> d1ebaade224b [2020-09-16T13:53:04.765Z] Step 10/10 : RUN go mod download [2020-09-16T13:53:04.765Z] ---> Running in 47d7feb64f6e [2020-09-16T13:53:06.211Z] $ docker top ea53bc802c4cd7f116c95f0714ec2c7fa80daccf288027cb37234a322c556fe7 -eo pid,comm [Pipeline] { [2020-09-16T13:53:06.696Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-16T13:53:06.696Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-16T13:53:06.696Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-16T13:53:06.696Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-16T13:53:06.696Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-16T13:53:06.696Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-16T13:53:06.696Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-16T13:53:06.696Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-16T13:53:06.696Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-16T13:53:06.696Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-16T13:53:06.696Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [Pipeline] sh [2020-09-16T13:53:06.957Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-16T13:53:06.957Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-16T13:53:06.957Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-16T13:53:06.957Z] go: finding github.com/fatih/color v1.7.0 [2020-09-16T13:53:06.957Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-16T13:53:06.957Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-16T13:53:06.957Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-16T13:53:06.957Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-16T13:53:06.957Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-16T13:53:06.957Z] go: finding github.com/google/uuid v1.1.0 [2020-09-16T13:53:06.957Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-16T13:53:07.218Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-16T13:53:07.218Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-16T13:53:07.218Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-16T13:53:07.218Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-16T13:53:07.218Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-16T13:53:07.218Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-16T13:53:07.218Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-16T13:53:07.218Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-16T13:53:07.218Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-16T13:53:07.218Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-16T13:53:07.218Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-16T13:53:07.218Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-16T13:53:07.480Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-16T13:53:07.480Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-16T13:53:07.480Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-16T13:53:07.480Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-16T13:53:07.480Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-16T13:53:07.480Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-16T13:53:07.480Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-16T13:53:07.480Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-16T13:53:07.480Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-16T13:53:07.480Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-16T13:53:07.480Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-16T13:53:07.726Z] + go version [2020-09-16T13:53:07.726Z] go version go1.13.13 linux/arm64 [2020-09-16T13:53:07.743Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-16T13:53:07.743Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-16T13:53:07.743Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-16T13:53:07.743Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-16T13:53:07.743Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-16T13:53:07.743Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-16T13:53:07.743Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-16T13:53:07.743Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-16T13:53:07.743Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-16T13:53:07.743Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-16T13:53:07.743Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-16T13:53:07.743Z] go: finding github.com/posener/complete v1.1.1 [Pipeline] } [2020-09-16T13:53:07.786Z] $ docker stop --time=1 ea53bc802c4cd7f116c95f0714ec2c7fa80daccf288027cb37234a322c556fe7 [2020-09-16T13:53:08.006Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-16T13:53:08.006Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-16T13:53:08.006Z] go: finding github.com/spf13/cast v1.3.0 [2020-09-16T13:53:08.006Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-16T13:53:08.006Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-16T13:53:08.006Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-16T13:53:08.006Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-16T13:53:08.006Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-16T13:53:08.006Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-16T13:53:08.006Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-16T13:53:08.006Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-16T13:53:08.270Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-16T13:53:08.270Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-16T13:53:09.745Z] $ docker rm -f ea53bc802c4cd7f116c95f0714ec2c7fa80daccf288027cb37234a322c556fe7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-16T13:53:11.339Z] + docker inspect -f . ci-base-image-arm64 [2020-09-16T13:53:11.339Z] . [Pipeline] withDockerContainer [2020-09-16T13:53:11.620Z] prd-ubuntu18.04-docker-arm64-4c-16g-43587 does not seem to be running inside a container [2020-09-16T13:53:11.702Z] $ 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 [2020-09-16T13:53:13.544Z] $ docker top b28145b0fe85bbd0610d252b48416717c2b84678545c64f6fa2f210ca5bc8a73 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T13:53:15.035Z] + make test [2020-09-16T13:53:15.035Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-16T13:53:16.018Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-09-16T13:53:16.459Z] Removing intermediate container 47d7feb64f6e [2020-09-16T13:53:16.459Z] ---> 1bd4cc6823d2 [2020-09-16T13:53:16.459Z] Successfully built 1bd4cc6823d2 [2020-09-16T13:53:16.459Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-16T13:53:16.896Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-16T13:53:16.896Z] . [Pipeline] withDockerContainer [2020-09-16T13:53:17.046Z] prd-centos7-docker-4c-2g-43588 does not seem to be running inside a container [2020-09-16T13:53:17.098Z] $ 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 [2020-09-16T13:53:18.259Z] $ docker top 2151e4517a00a5f91d1239ad1f5c988fe61a096131c968cec53de96f3a4402bc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T13:53:18.822Z] + go version [2020-09-16T13:53:18.822Z] go version go1.13.13 linux/amd64 [Pipeline] } [2020-09-16T13:53:18.855Z] $ docker stop --time=1 2151e4517a00a5f91d1239ad1f5c988fe61a096131c968cec53de96f3a4402bc [2020-09-16T13:53:20.198Z] $ docker rm -f 2151e4517a00a5f91d1239ad1f5c988fe61a096131c968cec53de96f3a4402bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-16T13:53:21.430Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-16T13:53:21.430Z] . [Pipeline] withDockerContainer [2020-09-16T13:53:21.549Z] prd-centos7-docker-4c-2g-43588 does not seem to be running inside a container [2020-09-16T13:53:21.598Z] $ 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 [2020-09-16T13:53:22.244Z] $ docker top bf4b238d4ef8bfff3b7487c5d982d0ec407e0c85d292d25f0313bdf18a8dfaa7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T13:53:22.792Z] + make test [2020-09-16T13:53:22.792Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-16T13:53:23.738Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-09-16T13:53:33.866Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-09-16T13:53:33.866Z] ok github.com/edgexfoundry/device-rest-go/driver 0.021s coverage: 56.3% of statements [2020-09-16T13:53:33.866Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-16T13:53:35.283Z] gofmt -l . [2020-09-16T13:53:35.283Z] [ "`gofmt -l .`" = "" ] [2020-09-16T13:53:35.283Z] ./bin/test-go-mod-tidy.sh [2020-09-16T13:53:35.872Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-09-16T13:53:36.480Z] Stashed 1 file(s) [Pipeline] } [2020-09-16T13:53:36.499Z] $ docker stop --time=1 bf4b238d4ef8bfff3b7487c5d982d0ec407e0c85d292d25f0313bdf18a8dfaa7 [2020-09-16T13:53:38.691Z] $ docker rm -f bf4b238d4ef8bfff3b7487c5d982d0ec407e0c85d292d25f0313bdf18a8dfaa7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-16T13:53:40.466Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-16T13:53:40.820Z] + ls -al . [2020-09-16T13:53:40.820Z] total 96 [2020-09-16T13:53:40.820Z] drwxrwxr-x. 9 jenkins jenkins 4096 Sep 16 13:53 . [2020-09-16T13:53:40.820Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 16 13:52 .. [2020-09-16T13:53:40.820Z] -rw-rw-r--. 1 jenkins jenkins 4566 Sep 16 13:52 Attribution.txt [2020-09-16T13:53:40.820Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 16 13:52 bin [2020-09-16T13:53:40.820Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 16 13:52 cmd [2020-09-16T13:53:40.820Z] -rw-r--r--. 1 jenkins jenkins 9369 Sep 16 13:53 coverage.out [2020-09-16T13:53:40.820Z] -rw-rw-r--. 1 jenkins jenkins 1519 Sep 16 13:52 Dockerfile [2020-09-16T13:53:40.820Z] -rw-rw-r--. 1 jenkins jenkins 989 Sep 16 13:52 Dockerfile.build [2020-09-16T13:53:40.820Z] -rw-rw-r--. 1 jenkins jenkins 151 Sep 16 13:52 .dockerignore [2020-09-16T13:53:40.820Z] drwxrwxr-x. 2 jenkins jenkins 93 Sep 16 13:53 driver [2020-09-16T13:53:40.820Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 16 13:52 .git [2020-09-16T13:53:40.820Z] drwxrwxr-x. 2 jenkins jenkins 38 Sep 16 13:52 .github [2020-09-16T13:53:40.820Z] -rw-rw-r--. 1 jenkins jenkins 339 Sep 16 13:52 .gitignore [2020-09-16T13:53:40.820Z] -rw-r--r--. 1 jenkins jenkins 266 Sep 16 13:53 go.mod [2020-09-16T13:53:40.820Z] -rw-r--r--. 1 jenkins jenkins 12533 Sep 16 13:53 go.sum [2020-09-16T13:53:40.820Z] -rw-rw-r--. 1 jenkins jenkins 702 Sep 16 13:52 Jenkinsfile [2020-09-16T13:53:40.820Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 16 13:52 LICENSE [2020-09-16T13:53:40.820Z] -rw-rw-r--. 1 jenkins jenkins 951 Sep 16 13:52 Makefile [2020-09-16T13:53:40.820Z] -rw-rw-r--. 1 jenkins jenkins 5917 Sep 16 13:52 README.md [2020-09-16T13:53:40.820Z] drwxrwxr-x. 3 jenkins jenkins 45 Sep 16 13:52 .semver [2020-09-16T13:53:40.820Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 16 13:52 snap [2020-09-16T13:53:40.820Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 16 13:48 VERSION [2020-09-16T13:53:40.820Z] -rw-rw-r--. 1 jenkins jenkins 713 Sep 16 13:52 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-16T13:53:41.193Z] + 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 . [2020-09-16T13:53:41.193Z] Sending build context to Docker daemon 8.059MB [2020-09-16T13:53:41.193Z] Step 1/25 : ARG BASE=golang:1.13-alpine [2020-09-16T13:53:41.193Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-16T13:53:41.193Z] ---> 1bd4cc6823d2 [2020-09-16T13:53:41.194Z] Step 3/25 : ARG MAKE='make build' [2020-09-16T13:53:41.466Z] ---> Running in 800916f7846a [2020-09-16T13:53:41.730Z] Removing intermediate container 800916f7846a [2020-09-16T13:53:41.730Z] ---> b7141097c094 [2020-09-16T13:53:41.730Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-16T13:53:41.730Z] ---> Running in 2b17bd4d0463 [2020-09-16T13:53:41.730Z] Removing intermediate container 2b17bd4d0463 [2020-09-16T13:53:41.730Z] ---> 9096d961f9da [2020-09-16T13:53:41.731Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-16T13:53:41.995Z] ---> Running in ba01fe504a55 [2020-09-16T13:53:41.995Z] Removing intermediate container ba01fe504a55 [2020-09-16T13:53:41.995Z] ---> 15b6632a6943 [2020-09-16T13:53:41.995Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-16T13:53:42.297Z] ---> Running in 39b1f562f306 [2020-09-16T13:53:42.845Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-09-16T13:53:42.924Z] Removing intermediate container 39b1f562f306 [2020-09-16T13:53:42.924Z] ---> 34395266b6bc [2020-09-16T13:53:42.924Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-16T13:53:43.197Z] ---> Running in ef35626fe626 [2020-09-16T13:53:43.772Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-16T13:53:44.759Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-16T13:53:46.194Z] OK: 166 MiB in 39 packages [2020-09-16T13:53:46.349Z] ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 56.3% of statements [2020-09-16T13:53:46.350Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-16T13:53:46.798Z] Removing intermediate container ef35626fe626 [2020-09-16T13:53:46.799Z] ---> c36fa84c0557 [2020-09-16T13:53:46.799Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-16T13:53:46.799Z] ---> Running in e150e9545b40 [2020-09-16T13:53:46.799Z] Removing intermediate container e150e9545b40 [2020-09-16T13:53:46.799Z] ---> 8746f14935f4 [2020-09-16T13:53:46.799Z] Step 9/25 : COPY go.mod . [2020-09-16T13:53:47.066Z] ---> d86995b43082 [2020-09-16T13:53:47.066Z] Step 10/25 : COPY Makefile . [2020-09-16T13:53:47.340Z] ---> 7def14d6a3c7 [2020-09-16T13:53:47.340Z] Step 11/25 : RUN make update [2020-09-16T13:53:47.340Z] ---> Running in eeb6a1d1a658 [2020-09-16T13:53:47.928Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-16T13:53:48.586Z] Removing intermediate container eeb6a1d1a658 [2020-09-16T13:53:48.586Z] ---> a0301007eccd [2020-09-16T13:53:48.586Z] Step 12/25 : COPY . . [2020-09-16T13:53:48.891Z] ---> 123b98c0bbe3 [2020-09-16T13:53:48.891Z] Step 13/25 : RUN $MAKE [2020-09-16T13:53:48.891Z] ---> Running in df830d07e338 [2020-09-16T13:53:49.513Z] 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-09-16T13:53:53.137Z] gofmt -l . [2020-09-16T13:53:53.137Z] [ "`gofmt -l .`" = "" ] [2020-09-16T13:53:53.137Z] ./bin/test-go-mod-tidy.sh [2020-09-16T13:53:53.137Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-09-16T13:53:53.178Z] Warning: overwriting stash ‘coverage-report’ [2020-09-16T13:53:53.861Z] Stashed 1 file(s) [Pipeline] } [2020-09-16T13:53:53.892Z] $ docker stop --time=1 b28145b0fe85bbd0610d252b48416717c2b84678545c64f6fa2f210ca5bc8a73 [2020-09-16T13:53:56.157Z] $ docker rm -f b28145b0fe85bbd0610d252b48416717c2b84678545c64f6fa2f210ca5bc8a73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-16T13:53:58.008Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-16T13:53:58.434Z] + ls -al . [2020-09-16T13:53:58.434Z] total 128 [2020-09-16T13:53:58.434Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 16 13:53 . [2020-09-16T13:53:58.434Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 13:51 .. [2020-09-16T13:53:58.434Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 16 13:51 .dockerignore [2020-09-16T13:53:58.434Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 16 13:51 .git [2020-09-16T13:53:58.434Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 13:51 .github [2020-09-16T13:53:58.434Z] -rw-rw-r-- 1 jenkins jenkins 339 Sep 16 13:51 .gitignore [2020-09-16T13:53:58.434Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 16 13:52 .semver [2020-09-16T13:53:58.434Z] -rw-rw-r-- 1 jenkins jenkins 4566 Sep 16 13:51 Attribution.txt [2020-09-16T13:53:58.434Z] -rw-rw-r-- 1 jenkins jenkins 1519 Sep 16 13:51 Dockerfile [2020-09-16T13:53:58.434Z] -rw-rw-r-- 1 jenkins jenkins 989 Sep 16 13:51 Dockerfile.build [2020-09-16T13:53:58.434Z] -rw-rw-r-- 1 jenkins jenkins 702 Sep 16 13:51 Jenkinsfile [2020-09-16T13:53:58.434Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 16 13:51 LICENSE [2020-09-16T13:53:58.434Z] -rw-rw-r-- 1 jenkins jenkins 951 Sep 16 13:51 Makefile [2020-09-16T13:53:58.434Z] -rw-rw-r-- 1 jenkins jenkins 5917 Sep 16 13:51 README.md [2020-09-16T13:53:58.434Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 16 13:48 VERSION [2020-09-16T13:53:58.434Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 13:51 bin [2020-09-16T13:53:58.434Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 16 13:51 cmd [2020-09-16T13:53:58.434Z] -rw-r--r-- 1 jenkins jenkins 9369 Sep 16 13:53 coverage.out [2020-09-16T13:53:58.434Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 13:53 driver [2020-09-16T13:53:58.434Z] -rw-r--r-- 1 jenkins jenkins 266 Sep 16 13:53 go.mod [2020-09-16T13:53:58.434Z] -rw-r--r-- 1 jenkins jenkins 12533 Sep 16 13:53 go.sum [2020-09-16T13:53:58.434Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 13:51 snap [2020-09-16T13:53:58.434Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 16 13:51 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-16T13:53:58.821Z] + 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 . [2020-09-16T13:53:59.100Z] Sending build context to Docker daemon 8.059MB [2020-09-16T13:53:59.373Z] Step 1/25 : ARG BASE=golang:1.13-alpine [2020-09-16T13:53:59.373Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-16T13:53:59.373Z] ---> 283cf233f169 [2020-09-16T13:53:59.373Z] Step 3/25 : ARG MAKE='make build' [2020-09-16T13:53:59.373Z] ---> Running in bcd50847b718 [2020-09-16T13:53:59.683Z] Removing intermediate container df830d07e338 [2020-09-16T13:53:59.683Z] ---> 22ca39913378 [2020-09-16T13:53:59.683Z] Step 14/25 : FROM alpine:latest [2020-09-16T13:53:59.683Z] latest: Pulling from library/alpine [2020-09-16T13:53:59.683Z] df20fa9351a1: Already exists [2020-09-16T13:53:59.683Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-16T13:53:59.683Z] Status: Downloaded newer image for alpine:latest [2020-09-16T13:53:59.683Z] ---> a24bb4013296 [2020-09-16T13:53:59.683Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-16T13:53:59.683Z] ---> Running in da82068e422c [2020-09-16T13:53:59.683Z] Removing intermediate container da82068e422c [2020-09-16T13:53:59.683Z] ---> 024ba489fefa [2020-09-16T13:53:59.683Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-16T13:53:59.946Z] ---> Running in f903f2846f4c [2020-09-16T13:53:59.946Z] Removing intermediate container f903f2846f4c [2020-09-16T13:53:59.946Z] ---> 314210345066 [2020-09-16T13:53:59.946Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-16T13:53:59.975Z] Removing intermediate container bcd50847b718 [2020-09-16T13:53:59.975Z] ---> b8fd3cedfe90 [2020-09-16T13:53:59.975Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-16T13:53:59.975Z] ---> Running in 170d6ae6cc18 [2020-09-16T13:54:00.214Z] ---> 58506be721c5 [2020-09-16T13:54:00.214Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-16T13:54:00.476Z] ---> eb6ae65f8a49 [2020-09-16T13:54:00.476Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-16T13:54:00.572Z] Removing intermediate container 170d6ae6cc18 [2020-09-16T13:54:00.572Z] ---> 8d9b92d8265b [2020-09-16T13:54:00.572Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-16T13:54:00.572Z] ---> Running in 548bba9b55f2 [2020-09-16T13:54:01.048Z] ---> c0fa138a7a19 [2020-09-16T13:54:01.048Z] Step 20/25 : EXPOSE 49986 [2020-09-16T13:54:01.048Z] ---> Running in e69ef66750d8 [2020-09-16T13:54:01.167Z] Removing intermediate container 548bba9b55f2 [2020-09-16T13:54:01.167Z] ---> 28fe663c7cc6 [2020-09-16T13:54:01.167Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-16T13:54:01.167Z] ---> Running in e3526f48beef [2020-09-16T13:54:01.312Z] Removing intermediate container e69ef66750d8 [2020-09-16T13:54:01.313Z] ---> 3d24fb270f02 [2020-09-16T13:54:01.313Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-16T13:54:01.313Z] ---> Running in 7e2d989df123 [2020-09-16T13:54:01.575Z] Removing intermediate container 7e2d989df123 [2020-09-16T13:54:01.575Z] ---> 914b8cead506 [2020-09-16T13:54:01.575Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-16T13:54:01.575Z] ---> Running in 15ac63377831 [2020-09-16T13:54:01.844Z] Removing intermediate container 15ac63377831 [2020-09-16T13:54:01.844Z] ---> e50927d7028d [2020-09-16T13:54:01.844Z] Step 23/25 : LABEL arch=amd64 [2020-09-16T13:54:01.844Z] ---> Running in d1a82a8806f8 [2020-09-16T13:54:02.108Z] Removing intermediate container d1a82a8806f8 [2020-09-16T13:54:02.108Z] ---> be8a9e30a754 [2020-09-16T13:54:02.108Z] Step 24/25 : LABEL git_sha=39a7a4e777933e4815b2185cae3c86dc2bb2209d [2020-09-16T13:54:02.108Z] ---> Running in 4d584c60b099 [2020-09-16T13:54:02.370Z] Removing intermediate container 4d584c60b099 [2020-09-16T13:54:02.370Z] ---> ec808ad449cf [2020-09-16T13:54:02.370Z] Step 25/25 : LABEL version=0.0.0 [2020-09-16T13:54:02.370Z] ---> Running in 36832d5fcbc9 [2020-09-16T13:54:02.632Z] Removing intermediate container 36832d5fcbc9 [2020-09-16T13:54:02.632Z] ---> 11caf6f41a2e [2020-09-16T13:54:02.632Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-16T13:54:02.632Z] Successfully built 11caf6f41a2e [2020-09-16T13:54:02.632Z] 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] } [2020-09-16T13:54:03.788Z] Removing intermediate container e3526f48beef [2020-09-16T13:54:03.788Z] ---> 996f501ec880 [2020-09-16T13:54:03.788Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-16T13:54:03.788Z] ---> Running in dc971e75cf01 [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-16T13:54:05.227Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-16T13:54:06.200Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-16T13:54:07.173Z] OK: 142 MiB in 39 packages [2020-09-16T13:54:08.601Z] Removing intermediate container dc971e75cf01 [2020-09-16T13:54:08.601Z] ---> 7c0fa5070535 [2020-09-16T13:54:08.601Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-16T13:54:08.601Z] ---> Running in 3e48fd4de726 [2020-09-16T13:54:09.194Z] Removing intermediate container 3e48fd4de726 [2020-09-16T13:54:09.194Z] ---> 69e40919c9e9 [2020-09-16T13:54:09.194Z] Step 9/25 : COPY go.mod . [2020-09-16T13:54:09.787Z] ---> fa3f3da6b7dd [2020-09-16T13:54:09.787Z] Step 10/25 : COPY Makefile . [2020-09-16T13:54:10.380Z] ---> ae1c17de8ec7 [2020-09-16T13:54:10.380Z] Step 11/25 : RUN make update [2020-09-16T13:54:10.654Z] ---> Running in 62fc1ec60d0a [2020-09-16T13:54:12.079Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-16T13:54:13.510Z] Removing intermediate container 62fc1ec60d0a [2020-09-16T13:54:13.510Z] ---> fc1435102ab5 [2020-09-16T13:54:13.510Z] Step 12/25 : COPY . . [2020-09-16T13:54:14.488Z] ---> 9c0dbe824fe5 [2020-09-16T13:54:14.488Z] Step 13/25 : RUN $MAKE [2020-09-16T13:54:14.488Z] ---> Running in 6b97dada3c74 [2020-09-16T13:54:15.924Z] 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-09-16T13:54:42.751Z] Removing intermediate container 6b97dada3c74 [2020-09-16T13:54:42.751Z] ---> fd83e55cb120 [2020-09-16T13:54:42.751Z] Step 14/25 : FROM alpine:latest [2020-09-16T13:54:42.751Z] latest: Pulling from library/alpine [2020-09-16T13:54:42.751Z] b538f80385f9: Already exists [2020-09-16T13:54:42.751Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-16T13:54:42.751Z] Status: Downloaded newer image for alpine:latest [2020-09-16T13:54:42.751Z] ---> 62ee0e9f8440 [2020-09-16T13:54:42.751Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-16T13:54:42.751Z] ---> Running in e045a2fe48b4 [2020-09-16T13:54:42.751Z] Removing intermediate container e045a2fe48b4 [2020-09-16T13:54:42.751Z] ---> dc01d9295ea0 [2020-09-16T13:54:42.751Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-16T13:54:42.751Z] ---> Running in 7b0d88131402 [2020-09-16T13:54:43.346Z] Removing intermediate container 7b0d88131402 [2020-09-16T13:54:43.346Z] ---> 35b6b003e47a [2020-09-16T13:54:43.346Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-16T13:54:43.939Z] ---> 32ea27124736 [2020-09-16T13:54:43.939Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-16T13:54:44.531Z] ---> 282c1fcbbb2f [2020-09-16T13:54:44.531Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-16T13:54:45.964Z] ---> d408483d970e [2020-09-16T13:54:45.964Z] Step 20/25 : EXPOSE 49986 [2020-09-16T13:54:45.964Z] ---> Running in e52b690c908b [2020-09-16T13:54:46.563Z] Removing intermediate container e52b690c908b [2020-09-16T13:54:46.563Z] ---> 0d61448f5a14 [2020-09-16T13:54:46.563Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-16T13:54:46.563Z] ---> Running in 33594216d0fc [2020-09-16T13:54:46.837Z] Removing intermediate container 33594216d0fc [2020-09-16T13:54:46.837Z] ---> b3f042bf07df [2020-09-16T13:54:46.837Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-16T13:54:47.110Z] ---> Running in e104cbc7c4f6 [2020-09-16T13:54:47.702Z] Removing intermediate container e104cbc7c4f6 [2020-09-16T13:54:47.703Z] ---> e6c9f177a343 [2020-09-16T13:54:47.703Z] Step 23/25 : LABEL arch=arm64 [2020-09-16T13:54:47.703Z] ---> Running in 81124727c7d6 [2020-09-16T13:54:47.973Z] Removing intermediate container 81124727c7d6 [2020-09-16T13:54:47.973Z] ---> 44caeb29bdc6 [2020-09-16T13:54:47.973Z] Step 24/25 : LABEL git_sha=39a7a4e777933e4815b2185cae3c86dc2bb2209d [2020-09-16T13:54:48.245Z] ---> Running in 1e6a49b592c0 [2020-09-16T13:54:48.517Z] Removing intermediate container 1e6a49b592c0 [2020-09-16T13:54:48.517Z] ---> 369454147cb8 [2020-09-16T13:54:48.517Z] Step 25/25 : LABEL version=0.0.0 [2020-09-16T13:54:48.787Z] ---> Running in 03c76d14a624 [2020-09-16T13:54:49.381Z] Removing intermediate container 03c76d14a624 [2020-09-16T13:54:49.381Z] ---> 7702a4bde2a8 [2020-09-16T13:54:49.381Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-16T13:54:49.381Z] Successfully built 7702a4bde2a8 [2020-09-16T13:54:49.381Z] 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-09-16T13:54:52.082Z] provisioning config files... [2020-09-16T13:54:52.095Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-39@tmp/config6695991168832834956tmp [Pipeline] { [Pipeline] sh [2020-09-16T13:54:52.530Z] + curl -s https://codecov.io/bash [2020-09-16T13:54:52.530Z] + bash -s - -t @/w/workspace/dgexfoundry_device-rest-go_PR-39@tmp/config6695991168832834956tmp [Pipeline] } [2020-09-16T13:54:52.812Z] 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 [2020-09-16T13:54:56.015Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T13:54:56.609Z] ---> package-listing.sh [2020-09-16T13:54:56.609Z] ++ facter osfamily [2020-09-16T13:54:56.609Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-16T13:54:56.609Z] + OS_FAMILY=redhat [2020-09-16T13:54:56.609Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-39 [2020-09-16T13:54:56.609Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-16T13:54:56.609Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-16T13:54:56.609Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-16T13:54:56.609Z] + PACKAGES=/tmp/packages_start.txt [2020-09-16T13:54:56.609Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-39 ']' [2020-09-16T13:54:56.609Z] + PACKAGES=/tmp/packages_end.txt [2020-09-16T13:54:56.609Z] + case "${OS_FAMILY}" in [2020-09-16T13:54:56.609Z] + rpm -qa [2020-09-16T13:54:56.609Z] + sort [2020-09-16T13:55:00.829Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-16T13:55:00.829Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-16T13:55:00.829Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-16T13:55:00.829Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-39 ']' [2020-09-16T13:55:00.829Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-39/archives/ [2020-09-16T13:55:00.829Z] + 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 [2020-09-16T13:55:01.340Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T13:55:01.340Z] [2020-09-16T13:55:01.340Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-16T13:55:01.746Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T13:55:01.746Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-16T13:55:01.746Z] df20fa9351a1: Pulling fs layer [2020-09-16T13:55:01.746Z] 36b3adc4ff6f: Pulling fs layer [2020-09-16T13:55:01.746Z] 8ad3a11d3b57: Pulling fs layer [2020-09-16T13:55:01.746Z] 46f8f816bc3b: Pulling fs layer [2020-09-16T13:55:01.746Z] 0dadc02b9964: Pulling fs layer [2020-09-16T13:55:01.746Z] ce6a7cf60c04: Pulling fs layer [2020-09-16T13:55:01.746Z] 7a184a31f384: Pulling fs layer [2020-09-16T13:55:01.746Z] 0879bd2ef858: Pulling fs layer [2020-09-16T13:55:01.746Z] 46f8f816bc3b: Waiting [2020-09-16T13:55:01.746Z] 0dadc02b9964: Waiting [2020-09-16T13:55:01.746Z] ce6a7cf60c04: Waiting [2020-09-16T13:55:01.746Z] 7a184a31f384: Waiting [2020-09-16T13:55:01.746Z] 0879bd2ef858: Waiting [2020-09-16T13:55:01.746Z] 36b3adc4ff6f: Download complete [2020-09-16T13:55:01.746Z] 46f8f816bc3b: Verifying Checksum [2020-09-16T13:55:01.746Z] 46f8f816bc3b: Download complete [2020-09-16T13:55:02.010Z] df20fa9351a1: Verifying Checksum [2020-09-16T13:55:02.010Z] ce6a7cf60c04: Verifying Checksum [2020-09-16T13:55:02.010Z] ce6a7cf60c04: Download complete [2020-09-16T13:55:02.010Z] 0dadc02b9964: Verifying Checksum [2020-09-16T13:55:02.010Z] 0dadc02b9964: Download complete [2020-09-16T13:55:02.010Z] 7a184a31f384: Verifying Checksum [2020-09-16T13:55:02.010Z] 7a184a31f384: Download complete [2020-09-16T13:55:02.010Z] 8ad3a11d3b57: Verifying Checksum [2020-09-16T13:55:02.010Z] 8ad3a11d3b57: Download complete [2020-09-16T13:55:02.280Z] df20fa9351a1: Pull complete [2020-09-16T13:55:02.545Z] 0879bd2ef858: Verifying Checksum [2020-09-16T13:55:02.545Z] 0879bd2ef858: Download complete [2020-09-16T13:55:02.545Z] 36b3adc4ff6f: Pull complete [2020-09-16T13:55:03.121Z] 8ad3a11d3b57: Pull complete [2020-09-16T13:55:03.121Z] 46f8f816bc3b: Pull complete [2020-09-16T13:55:03.384Z] 0dadc02b9964: Pull complete [2020-09-16T13:55:03.648Z] ce6a7cf60c04: Pull complete [2020-09-16T13:55:03.648Z] 7a184a31f384: Pull complete [2020-09-16T13:55:06.223Z] 0879bd2ef858: Pull complete [2020-09-16T13:55:06.223Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-16T13:55:06.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-16T13:55:06.223Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-16T13:55:06.379Z] prd-centos7-docker-4c-2g-43585 does not seem to be running inside a container [2020-09-16T13:55:06.429Z] $ 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 [2020-09-16T13:55:11.092Z] $ docker top c6f29777106bca6a311949e804bf62b7bf47918bf61d713cb62e949a38409d62 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-16T13:55:11.666Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-16T13:55:11.984Z] + ls /var/log/sa-host [2020-09-16T13:55:11.984Z] + sadf -c /var/log/sa-host/sa05 [2020-09-16T13:55:11.984Z] file_magic: OK [2020-09-16T13:55:11.984Z] HZ: Using current value: 100 [2020-09-16T13:55:11.984Z] file_header: OK [2020-09-16T13:55:11.984Z] 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 [2020-09-16T13:55:11.984Z] Statistics: [2020-09-16T13:55:11.984Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-16T13:55:11.984Z] File successfully converted to sysstat format version 12.2.1 [2020-09-16T13:55:11.984Z] + sadf -c /var/log/sa-host/sa16 [2020-09-16T13:55:11.984Z] file_magic: OK [2020-09-16T13:55:11.984Z] HZ: Using current value: 100 [2020-09-16T13:55:11.984Z] file_header: OK [2020-09-16T13:55:11.984Z] 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 [2020-09-16T13:55:11.984Z] Statistics: [2020-09-16T13:55:11.984Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-16T13:55:11.984Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-16T13:55:12.094Z] provisioning config files... [2020-09-16T13:55:12.115Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-39@tmp/config2286331744798488950tmp [Pipeline] { [Pipeline] echo [2020-09-16T13:55:12.244Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T13:55:12.569Z] ---> create-netrc.sh [Pipeline] echo [2020-09-16T13:55:12.608Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-16T13:55:12.936Z] ---> logs-deploy.sh [2020-09-16T13:55:12.937Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-39/1 [2020-09-16T13:55:12.937Z] INFO: archiving workspace using pattern(s): [2020-09-16T13:55:14.399Z] Archives upload complete. [2020-09-16T13:55:14.399Z] INFO: archiving logs to Nexus