Pull request #45 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 72307dfe99cbc97acd9a19ae833ac49a935faa66+172864091628f91237888ceec3b813680f51db30 (dadd5c511099b2667be2166e72ebdf5d8dd0771a) 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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-45/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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > 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. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-45/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d Excluding src/test/ from checkout of git git@github.com:lfit/releng-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] ========================================================= [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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-2004’ is offline Running on prd-centos7-docker-4c-2g-2005 in /w/workspace/dgexfoundry_device-rest-go_PR-45 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-45 # 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 --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 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 --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/45/head:refs/remotes/origin/PR-45 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 172864091628f91237888ceec3b813680f51db30 into PR head commit 72307dfe99cbc97acd9a19ae833ac49a935faa66 Merge succeeded, producing 72307dfe99cbc97acd9a19ae833ac49a935faa66 Checking out Revision 72307dfe99cbc97acd9a19ae833ac49a935faa66 (PR-45) > git config core.sparsecheckout # timeout=10 > git checkout -f 72307dfe99cbc97acd9a19ae833ac49a935faa66 # 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 172864091628f91237888ceec3b813680f51db30 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 72307dfe99cbc97acd9a19ae833ac49a935faa66 # timeout=10 Commit message: "build(deps): Bump github.com/spf13/cast from 1.3.0 to 1.3.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-29T18:33:22.854Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-29T18:33:23.214Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-29T18:33:23.420Z] ========================================================= [2020-09-29T18:33:23.420Z] EdgeX Global Pipelines Version Info [2020-09-29T18:33:23.420Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-29T18:33:25.427Z] ------------------- [2020-09-29T18:33:25.427Z] stable info: [2020-09-29T18:33:25.427Z] ------------------- [2020-09-29T18:33:25.427Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-29T18:33:25.427Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-09-29T18:33:25.427Z] Message: update stable to v1.0.131 [2020-09-29T18:33:26.003Z] ------------------- [2020-09-29T18:33:26.003Z] experimental info: [2020-09-29T18:33:26.003Z] ------------------- [2020-09-29T18:33:26.003Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-29T18:33:26.003Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-09-29T18:33:26.003Z] Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-29T18:33:26.537Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2020-09-29T18:33:26.658Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2020-09-29T18:33:26.779Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-29T18:33:26.902Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-29T18:33:27.028Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-29T18:33:27.160Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-29T18:33:27.287Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-29T18:33:27.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-29T18:33:27.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-29T18:33:27.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-29T18:33:27.810Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-29T18:33:27.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2020-09-29T18:33:28.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-29T18:33:28.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-29T18:33:28.339Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-29T18:33:28.456Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-29T18:33:28.575Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-29T18:33:28.704Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-29T18:33:28.820Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-29T18:33:28.938Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-29T18:33:29.068Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-29T18:33:29.187Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-29T18:33:29.306Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-09-29T18:33:29.423Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-09-29T18:33:29.560Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-09-29T18:33:29.677Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-45 [Pipeline] echo [2020-09-29T18:33:29.794Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-45 [Pipeline] echo [2020-09-29T18:33:29.954Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-45 [Pipeline] echo [2020-09-29T18:33:30.094Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 72307dfe99cbc97acd9a19ae833ac49a935faa66 [Pipeline] echo [2020-09-29T18:33:30.320Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 72307df [Pipeline] echo [2020-09-29T18:33:30.513Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-29T18:33:31.294Z] + git log --format=format:%s -1 72307dfe99cbc97acd9a19ae833ac49a935faa66 [Pipeline] echo [2020-09-29T18:33:31.388Z] GIT_COMMIT: 72307dfe99cbc97acd9a19ae833ac49a935faa66, Commit Message: build(deps): Bump github.com/spf13/cast from 1.3.0 to 1.3.1 [Pipeline] echo [2020-09-29T18:33:31.483Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-29T18:33:32.158Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-29T18:33:32.422Z] [2020-09-29T18:33:32.422Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-29T18:33:32.813Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-29T18:33:32.813Z] latest: Pulling from edgex-devops/git-semver [2020-09-29T18:33:32.813Z] 31603596830f: Pulling fs layer [2020-09-29T18:33:32.813Z] 2a8b12db71e7: Pulling fs layer [2020-09-29T18:33:32.813Z] 6ca5941a6612: Pulling fs layer [2020-09-29T18:33:32.813Z] ecc8261a40a4: Pulling fs layer [2020-09-29T18:33:32.813Z] ecc8261a40a4: Waiting [2020-09-29T18:33:32.813Z] 2a8b12db71e7: Verifying Checksum [2020-09-29T18:33:32.813Z] 2a8b12db71e7: Download complete [2020-09-29T18:33:33.080Z] 31603596830f: Verifying Checksum [2020-09-29T18:33:33.080Z] 31603596830f: Download complete [2020-09-29T18:33:33.080Z] ecc8261a40a4: Verifying Checksum [2020-09-29T18:33:33.080Z] ecc8261a40a4: Download complete [2020-09-29T18:33:33.080Z] 6ca5941a6612: Verifying Checksum [2020-09-29T18:33:33.080Z] 6ca5941a6612: Download complete [2020-09-29T18:33:33.343Z] 31603596830f: Pull complete [2020-09-29T18:33:33.343Z] 2a8b12db71e7: Pull complete [2020-09-29T18:33:34.293Z] 6ca5941a6612: Pull complete [2020-09-29T18:33:34.293Z] ecc8261a40a4: Pull complete [2020-09-29T18:33:34.293Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-29T18:33:34.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-29T18:33:34.555Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-29T18:33:34.687Z] prd-centos7-docker-4c-2g-2005 does not seem to be running inside a container [2020-09-29T18:33:34.741Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-45 -v /w/workspace/dgexfoundry_device-rest-go_PR-45:/w/workspace/dgexfoundry_device-rest-go_PR-45:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-45@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-45@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-29T18:33:36.654Z] $ docker top 85080d8289db5651fcbbc67d798c52d31ad7df6914690e0399e5ac0e30ec8126 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-29T18:33:37.032Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-29T18:33:37.032Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-29T18:33:37.249Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-29T18:33:37.255Z] $ docker exec 85080d8289db5651fcbbc67d798c52d31ad7df6914690e0399e5ac0e30ec8126 ssh-agent [2020-09-29T18:33:37.415Z] SSH_AUTH_SOCK=/tmp/ssh-mn7XgvGHD9dk/agent.11 [2020-09-29T18:33:37.415Z] SSH_AGENT_PID=16 [2020-09-29T18:33:37.427Z] Running ssh-add (command line suppressed) [2020-09-29T18:33:37.552Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-45@tmp/private_key_4418743622450367061.key (/w/workspace/dgexfoundry_device-rest-go_PR-45@tmp/private_key_4418743622450367061.key) [2020-09-29T18:33:37.602Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-29T18:33:37.981Z] + git describe --exact-match --tags HEAD [2020-09-29T18:33:37.981Z] fatal: no tag exactly matches '72307dfe99cbc97acd9a19ae833ac49a935faa66' [Pipeline] } [2020-09-29T18:33:38.103Z] $ docker exec --env ******** --env ******** 85080d8289db5651fcbbc67d798c52d31ad7df6914690e0399e5ac0e30ec8126 ssh-agent -k [2020-09-29T18:33:38.236Z] unset SSH_AUTH_SOCK; [2020-09-29T18:33:38.236Z] unset SSH_AGENT_PID; [2020-09-29T18:33:38.236Z] echo Agent pid 16 killed; [2020-09-29T18:33:38.278Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-29T18:33:38.450Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-29T18:33:38.450Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-29T18:33:38.564Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-29T18:33:38.564Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-29T18:33:38.730Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-29T18:33:38.736Z] $ docker exec 85080d8289db5651fcbbc67d798c52d31ad7df6914690e0399e5ac0e30ec8126 ssh-agent [2020-09-29T18:33:38.900Z] SSH_AUTH_SOCK=/tmp/ssh-AyEO5egP1kp2/agent.45 [2020-09-29T18:33:38.900Z] SSH_AGENT_PID=50 [2020-09-29T18:33:38.907Z] Running ssh-add (command line suppressed) [2020-09-29T18:33:39.035Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-45@tmp/private_key_7575327383096215320.key (/w/workspace/dgexfoundry_device-rest-go_PR-45@tmp/private_key_7575327383096215320.key) [2020-09-29T18:33:39.083Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-29T18:33:39.453Z] + git semver init [2020-09-29T18:33:39.454Z] # -> Open(): unable to determine branch for HEAD [2020-09-29T18:33:39.454Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-45/.git [2020-09-29T18:33:39.454Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-45 [2020-09-29T18:33:39.454Z] # $SEMVER_REMOTE_NAME = origin [2020-09-29T18:33:39.454Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-29T18:33:39.454Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-29T18:33:39.454Z] # $SEMVER_BRANCH = PR-45 [2020-09-29T18:33:39.454Z] # $SEMVER_TEMP = /tmp/semver-772544670 [2020-09-29T18:33:39.454Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2020-09-29T18:33:40.404Z] # '/tmp/semver-772544670' -> '/w/workspace/dgexfoundry_device-rest-go_PR-45/.semver' [2020-09-29T18:33:40.404Z] # -> Force: false [2020-09-29T18:33:40.404Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-45/.semver [Pipeline] } [2020-09-29T18:33:40.428Z] $ docker exec --env ******** --env ******** 85080d8289db5651fcbbc67d798c52d31ad7df6914690e0399e5ac0e30ec8126 ssh-agent -k [2020-09-29T18:33:40.549Z] unset SSH_AUTH_SOCK; [2020-09-29T18:33:40.549Z] unset SSH_AGENT_PID; [2020-09-29T18:33:40.549Z] echo Agent pid 50 killed; [2020-09-29T18:33:40.602Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-29T18:33:41.234Z] + git semver [Pipeline] } [2020-09-29T18:33:41.267Z] $ docker stop --time=1 85080d8289db5651fcbbc67d798c52d31ad7df6914690e0399e5ac0e30ec8126 [2020-09-29T18:33:42.674Z] $ docker rm -f 85080d8289db5651fcbbc67d798c52d31ad7df6914690e0399e5ac0e30ec8126 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-29T18:33:44.115Z] Stashed 24 file(s) [Pipeline] echo [2020-09-29T18:33:44.138Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-29T18:33:44.273Z] 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-29T18:34:00.138Z] Still waiting to schedule task [2020-09-29T18:34:00.139Z] ‘prd-centos7-docker-4c-2g-2008’ is offline; ‘prd-centos7-docker-4c-2g-2009’ is offline [2020-09-29T18:34:00.170Z] Still waiting to schedule task [2020-09-29T18:34:00.171Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-29T18:35:18.916Z] Running on prd-centos7-docker-4c-2g-2011 in /w/workspace/dgexfoundry_device-rest-go_PR-45 [Pipeline] { [Pipeline] ws [2020-09-29T18:35:19.008Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-09-29T18:35:21.773Z] using credential edgex-jenkins-ssh [2020-09-29T18:35:21.856Z] Cloning the remote Git repository [2020-09-29T18:35:21.885Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-29T18:35:21.950Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-09-29T18:35:22.006Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-29T18:35:22.006Z] > git --version # timeout=10 [2020-09-29T18:35:22.016Z] > git --version # 'git version 2.16.5' [2020-09-29T18:35:22.017Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T18:35:22.044Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-29T18:35:25.679Z] Merging remotes/origin/master commit 172864091628f91237888ceec3b813680f51db30 into PR head commit 72307dfe99cbc97acd9a19ae833ac49a935faa66 [2020-09-29T18:35:25.760Z] Merge succeeded, producing 72307dfe99cbc97acd9a19ae833ac49a935faa66 [2020-09-29T18:35:25.760Z] Checking out Revision 72307dfe99cbc97acd9a19ae833ac49a935faa66 (PR-45) [2020-09-29T18:35:25.290Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-29T18:35:25.297Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-29T18:35:25.308Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-29T18:35:25.322Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-29T18:35:25.322Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T18:35:25.328Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/45/head:refs/remotes/origin/PR-45 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-29T18:35:25.690Z] > git config core.sparsecheckout # timeout=10 [2020-09-29T18:35:25.697Z] > git checkout -f 72307dfe99cbc97acd9a19ae833ac49a935faa66 # timeout=10 [2020-09-29T18:35:25.731Z] > git remote # timeout=10 [2020-09-29T18:35:25.737Z] > git config --get remote.origin.url # timeout=10 [2020-09-29T18:35:25.742Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T18:35:25.746Z] > git merge 172864091628f91237888ceec3b813680f51db30 # timeout=10 [2020-09-29T18:35:25.756Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-29T18:35:25.765Z] > git config core.sparsecheckout # timeout=10 [2020-09-29T18:35:25.769Z] > git checkout -f 72307dfe99cbc97acd9a19ae833ac49a935faa66 # timeout=10 [2020-09-29T18:35:29.409Z] Commit message: "build(deps): Bump github.com/spf13/cast from 1.3.0 to 1.3.1" [2020-09-29T18:35:29.446Z] > git --version # timeout=10 [2020-09-29T18:35:29.450Z] > git --version # 'git version 2.16.5' [2020-09-29T18:35:29.456Z] fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-29T18:35:30.979Z] ========================================================= [2020-09-29T18:35:30.979Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-29T18:35:30.979Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-29T18:35:31.723Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-09-29T18:35:31.987Z] Sending build context to Docker daemon 8.059MB [2020-09-29T18:35:31.987Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-09-29T18:35:31.987Z] Step 2/10 : FROM ${BASE} [2020-09-29T18:35:32.253Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-29T18:35:32.253Z] df20fa9351a1: Pulling fs layer [2020-09-29T18:35:32.253Z] ed8968b2872e: Pulling fs layer [2020-09-29T18:35:32.253Z] a92cc7c5fd73: Pulling fs layer [2020-09-29T18:35:32.253Z] e871e8e8d7a9: Pulling fs layer [2020-09-29T18:35:32.253Z] e73272ec9a57: Pulling fs layer [2020-09-29T18:35:32.253Z] 1e910a182e73: Pulling fs layer [2020-09-29T18:35:32.253Z] 4e634b169226: Pulling fs layer [2020-09-29T18:35:32.253Z] e73272ec9a57: Waiting [2020-09-29T18:35:32.253Z] 4e634b169226: Waiting [2020-09-29T18:35:32.253Z] e871e8e8d7a9: Waiting [2020-09-29T18:35:32.253Z] 1e910a182e73: Waiting [2020-09-29T18:35:32.253Z] a92cc7c5fd73: Verifying Checksum [2020-09-29T18:35:32.253Z] a92cc7c5fd73: Download complete [2020-09-29T18:35:32.253Z] ed8968b2872e: Verifying Checksum [2020-09-29T18:35:32.253Z] ed8968b2872e: Download complete [2020-09-29T18:35:32.253Z] e73272ec9a57: Verifying Checksum [2020-09-29T18:35:32.253Z] e73272ec9a57: Download complete [2020-09-29T18:35:32.253Z] 1e910a182e73: Verifying Checksum [2020-09-29T18:35:32.253Z] 1e910a182e73: Download complete [2020-09-29T18:35:32.253Z] df20fa9351a1: Verifying Checksum [2020-09-29T18:35:32.253Z] df20fa9351a1: Download complete [2020-09-29T18:35:32.517Z] df20fa9351a1: Pull complete [2020-09-29T18:35:32.778Z] ed8968b2872e: Pull complete [2020-09-29T18:35:32.778Z] a92cc7c5fd73: Pull complete [2020-09-29T18:35:34.184Z] 4e634b169226: Verifying Checksum [2020-09-29T18:35:34.184Z] 4e634b169226: Download complete [2020-09-29T18:35:35.135Z] e871e8e8d7a9: Verifying Checksum [2020-09-29T18:35:35.135Z] e871e8e8d7a9: Download complete [2020-09-29T18:35:40.473Z] e871e8e8d7a9: Pull complete [2020-09-29T18:35:40.474Z] e73272ec9a57: Pull complete [2020-09-29T18:35:40.474Z] 1e910a182e73: Pull complete [2020-09-29T18:35:48.655Z] 4e634b169226: Pull complete [2020-09-29T18:35:48.655Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-29T18:35:48.655Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-29T18:35:48.655Z] ---> f7629b54cfaa [2020-09-29T18:35:48.655Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-29T18:35:48.655Z] ---> Running in 9f04008b691f [2020-09-29T18:35:48.655Z] Removing intermediate container 9f04008b691f [2020-09-29T18:35:48.655Z] ---> 2f960e62e14b [2020-09-29T18:35:48.655Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-29T18:35:48.655Z] ---> Running in 678ab6bfe0b6 [2020-09-29T18:35:48.655Z] Removing intermediate container 678ab6bfe0b6 [2020-09-29T18:35:48.655Z] ---> 8b06039f3814 [2020-09-29T18:35:48.655Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-29T18:35:48.655Z] ---> Running in d451508f81f6 [2020-09-29T18:35:48.655Z] Removing intermediate container d451508f81f6 [2020-09-29T18:35:48.655Z] ---> 93176e6c0023 [2020-09-29T18:35:48.655Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-29T18:35:48.655Z] ---> Running in e15f4a3a5e5a [2020-09-29T18:35:50.055Z] Removing intermediate container e15f4a3a5e5a [2020-09-29T18:35:50.055Z] ---> 617eb1cf4de8 [2020-09-29T18:35:50.055Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-29T18:35:50.322Z] ---> Running in 27f8009ac2f8 [2020-09-29T18:35:50.659Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-29T18:35:51.234Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-29T18:35:51.810Z] OK: 166 MiB in 39 packages [2020-09-29T18:35:52.387Z] Removing intermediate container 27f8009ac2f8 [2020-09-29T18:35:52.387Z] ---> 7e0f7b03403e [2020-09-29T18:35:52.387Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-29T18:35:52.387Z] ---> Running in c8b359c3a9de [2020-09-29T18:35:52.387Z] Removing intermediate container c8b359c3a9de [2020-09-29T18:35:52.387Z] ---> b2c2488407f9 [2020-09-29T18:35:52.387Z] Step 9/10 : COPY . . [2020-09-29T18:35:52.975Z] ---> 6baaab1dac14 [2020-09-29T18:35:52.975Z] Step 10/10 : RUN go mod download [2020-09-29T18:35:52.975Z] ---> Running in 2b3c345e9273 [2020-09-29T18:36:05.253Z] Removing intermediate container 2b3c345e9273 [2020-09-29T18:36:05.253Z] ---> a2925ca7e721 [2020-09-29T18:36:05.253Z] Successfully built a2925ca7e721 [2020-09-29T18:36:05.253Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-29T18:36:05.771Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-29T18:36:05.771Z] . [Pipeline] withDockerContainer [2020-09-29T18:36:05.905Z] prd-centos7-docker-4c-2g-2011 does not seem to be running inside a container [2020-09-29T18:36:05.963Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-29T18:36:06.888Z] $ docker top ba3f237a1aeaf81183860405868a0f3cc1f9ec9a4dcced513ee549de81627441 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-29T18:36:07.519Z] + go version [2020-09-29T18:36:07.519Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-29T18:36:07.551Z] $ docker stop --time=1 ba3f237a1aeaf81183860405868a0f3cc1f9ec9a4dcced513ee549de81627441 [2020-09-29T18:36:08.925Z] $ docker rm -f ba3f237a1aeaf81183860405868a0f3cc1f9ec9a4dcced513ee549de81627441 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-29T18:36:10.000Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-29T18:36:10.000Z] . [Pipeline] withDockerContainer [2020-09-29T18:36:10.131Z] prd-centos7-docker-4c-2g-2011 does not seem to be running inside a container [2020-09-29T18:36:10.184Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-29T18:36:10.800Z] $ docker top a1bd32005166eebf2040d6b96cc4b4f73fefe63ddf4cc0a59bb4cded571a73ba -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-29T18:36:11.403Z] + make test [2020-09-29T18:36:11.403Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-29T18:36:11.983Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-09-29T18:36:22.141Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-09-29T18:36:22.141Z] ok github.com/edgexfoundry/device-rest-go/driver 0.045s coverage: 56.3% of statements [2020-09-29T18:36:22.141Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-29T18:36:24.086Z] gofmt -l . [2020-09-29T18:36:24.086Z] [ "`gofmt -l .`" = "" ] [2020-09-29T18:36:24.086Z] ./bin/test-go-mod-tidy.sh [2020-09-29T18:36:24.086Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-09-29T18:36:24.681Z] Stashed 1 file(s) [Pipeline] } [2020-09-29T18:36:24.704Z] $ docker stop --time=1 a1bd32005166eebf2040d6b96cc4b4f73fefe63ddf4cc0a59bb4cded571a73ba [2020-09-29T18:36:26.908Z] $ docker rm -f a1bd32005166eebf2040d6b96cc4b4f73fefe63ddf4cc0a59bb4cded571a73ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-09-29T18:36:28.574Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-29T18:36:28.927Z] + ls -al . [2020-09-29T18:36:28.927Z] total 96 [2020-09-29T18:36:28.927Z] drwxrwxr-x. 9 jenkins jenkins 4096 Sep 29 18:36 . [2020-09-29T18:36:28.927Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 29 18:35 .. [2020-09-29T18:36:28.927Z] -rw-rw-r--. 1 jenkins jenkins 4566 Sep 29 18:35 Attribution.txt [2020-09-29T18:36:28.927Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 29 18:35 bin [2020-09-29T18:36:28.927Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 29 18:35 cmd [2020-09-29T18:36:28.927Z] -rw-r--r--. 1 jenkins jenkins 9369 Sep 29 18:36 coverage.out [2020-09-29T18:36:28.927Z] -rw-rw-r--. 1 jenkins jenkins 1519 Sep 29 18:35 Dockerfile [2020-09-29T18:36:28.927Z] -rw-rw-r--. 1 jenkins jenkins 989 Sep 29 18:35 Dockerfile.build [2020-09-29T18:36:28.927Z] -rw-rw-r--. 1 jenkins jenkins 151 Sep 29 18:35 .dockerignore [2020-09-29T18:36:28.927Z] drwxrwxr-x. 2 jenkins jenkins 93 Sep 29 18:36 driver [2020-09-29T18:36:28.927Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 29 18:35 .git [2020-09-29T18:36:28.927Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 29 18:35 .github [2020-09-29T18:36:28.927Z] -rw-rw-r--. 1 jenkins jenkins 339 Sep 29 18:35 .gitignore [2020-09-29T18:36:28.927Z] -rw-r--r--. 1 jenkins jenkins 273 Sep 29 18:36 go.mod [2020-09-29T18:36:28.927Z] -rw-r--r--. 1 jenkins jenkins 12547 Sep 29 18:36 go.sum [2020-09-29T18:36:28.927Z] -rw-rw-r--. 1 jenkins jenkins 680 Sep 29 18:35 Jenkinsfile [2020-09-29T18:36:28.927Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 29 18:35 LICENSE [2020-09-29T18:36:28.927Z] -rw-rw-r--. 1 jenkins jenkins 951 Sep 29 18:35 Makefile [2020-09-29T18:36:28.927Z] -rw-rw-r--. 1 jenkins jenkins 5917 Sep 29 18:35 README.md [2020-09-29T18:36:28.927Z] drwxrwxr-x. 3 jenkins jenkins 45 Sep 29 18:35 .semver [2020-09-29T18:36:28.927Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 29 18:35 snap [2020-09-29T18:36:28.927Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 29 18:33 VERSION [2020-09-29T18:36:28.927Z] -rw-rw-r--. 1 jenkins jenkins 713 Sep 29 18:35 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-29T18:36:29.274Z] + 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=72307dfe99cbc97acd9a19ae833ac49a935faa66 --label arch=amd64 --label version=0.0.0 . [2020-09-29T18:36:29.546Z] Sending build context to Docker daemon 8.071MB [2020-09-29T18:36:29.547Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-09-29T18:36:29.547Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-29T18:36:29.547Z] ---> a2925ca7e721 [2020-09-29T18:36:29.547Z] Step 3/25 : ARG MAKE='make build' [2020-09-29T18:36:29.547Z] ---> Running in a23645c52cf4 [2020-09-29T18:36:29.809Z] Removing intermediate container a23645c52cf4 [2020-09-29T18:36:29.809Z] ---> 34514204b3a2 [2020-09-29T18:36:29.809Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-29T18:36:29.809Z] ---> Running in 5e3dab1dbc12 [2020-09-29T18:36:30.073Z] Removing intermediate container 5e3dab1dbc12 [2020-09-29T18:36:30.073Z] ---> 5f4acd83f01c [2020-09-29T18:36:30.073Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-29T18:36:30.073Z] ---> Running in a42659772931 [2020-09-29T18:36:30.073Z] Removing intermediate container a42659772931 [2020-09-29T18:36:30.073Z] ---> cf1d5f7f5fb4 [2020-09-29T18:36:30.073Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-29T18:36:30.342Z] ---> Running in b839e55733a0 [2020-09-29T18:36:30.920Z] Removing intermediate container b839e55733a0 [2020-09-29T18:36:30.920Z] ---> 4b627ddb5ed3 [2020-09-29T18:36:30.920Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-29T18:36:31.183Z] ---> Running in 98f28879af41 [2020-09-29T18:36:31.761Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-29T18:36:32.335Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-29T18:36:32.600Z] OK: 166 MiB in 39 packages [2020-09-29T18:36:33.175Z] Removing intermediate container 98f28879af41 [2020-09-29T18:36:33.175Z] ---> cd769215349b [2020-09-29T18:36:33.175Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-29T18:36:33.175Z] ---> Running in b2d7b59825a4 [2020-09-29T18:36:33.438Z] Removing intermediate container b2d7b59825a4 [2020-09-29T18:36:33.438Z] ---> 5ded12d8d3d2 [2020-09-29T18:36:33.438Z] Step 9/25 : COPY go.mod . [2020-09-29T18:36:33.438Z] ---> 23f46ed37d93 [2020-09-29T18:36:33.438Z] Step 10/25 : COPY Makefile . [2020-09-29T18:36:33.733Z] ---> 47da4d620b1e [2020-09-29T18:36:33.733Z] Step 11/25 : RUN make update [2020-09-29T18:36:33.733Z] ---> Running in e5f95a1211fc [2020-09-29T18:36:34.311Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-29T18:36:34.887Z] Removing intermediate container e5f95a1211fc [2020-09-29T18:36:34.887Z] ---> f79b2bf62789 [2020-09-29T18:36:34.887Z] Step 12/25 : COPY . . [2020-09-29T18:36:36.291Z] ---> 30c7b00aced0 [2020-09-29T18:36:36.291Z] Step 13/25 : RUN $MAKE [2020-09-29T18:36:36.291Z] ---> Running in a723f090ff71 [2020-09-29T18:36:36.564Z] 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-29T18:36:36.735Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2012 in /w/workspace/dgexfoundry_device-rest-go_PR-45 [Pipeline] { [Pipeline] ws [2020-09-29T18:36:36.826Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2020-09-29T18:36:41.897Z] using credential edgex-jenkins-ssh [2020-09-29T18:36:42.005Z] Cloning the remote Git repository [2020-09-29T18:36:42.062Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2020-09-29T18:36:42.165Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2020-09-29T18:36:42.254Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-29T18:36:42.254Z] > git --version # timeout=10 [2020-09-29T18:36:42.277Z] > git --version # 'git version 2.17.1' [2020-09-29T18:36:42.278Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T18:36:42.322Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-29T18:36:44.420Z] Merging remotes/origin/master commit 172864091628f91237888ceec3b813680f51db30 into PR head commit 72307dfe99cbc97acd9a19ae833ac49a935faa66 [2020-09-29T18:36:43.857Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-29T18:36:43.881Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-09-29T18:36:43.912Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2020-09-29T18:36:43.948Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2020-09-29T18:36:43.949Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T18:36:43.964Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/45/head:refs/remotes/origin/PR-45 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-29T18:36:44.440Z] > git config core.sparsecheckout # timeout=10 [2020-09-29T18:36:44.457Z] > git checkout -f 72307dfe99cbc97acd9a19ae833ac49a935faa66 # timeout=10 [2020-09-29T18:36:44.628Z] Merge succeeded, producing 72307dfe99cbc97acd9a19ae833ac49a935faa66 [2020-09-29T18:36:44.628Z] Checking out Revision 72307dfe99cbc97acd9a19ae833ac49a935faa66 (PR-45) [2020-09-29T18:36:44.538Z] > git remote # timeout=10 [2020-09-29T18:36:44.557Z] > git config --get remote.origin.url # timeout=10 [2020-09-29T18:36:44.579Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-29T18:36:44.589Z] > git merge 172864091628f91237888ceec3b813680f51db30 # timeout=10 [2020-09-29T18:36:44.617Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-29T18:36:44.638Z] > git config core.sparsecheckout # timeout=10 [2020-09-29T18:36:44.646Z] > git checkout -f 72307dfe99cbc97acd9a19ae833ac49a935faa66 # timeout=10 [2020-09-29T18:36:46.673Z] Removing intermediate container a723f090ff71 [2020-09-29T18:36:46.673Z] ---> 917044a64259 [2020-09-29T18:36:46.673Z] Step 14/25 : FROM alpine:latest [2020-09-29T18:36:46.673Z] latest: Pulling from library/alpine [2020-09-29T18:36:46.673Z] df20fa9351a1: Already exists [2020-09-29T18:36:46.673Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-29T18:36:46.673Z] Status: Downloaded newer image for alpine:latest [2020-09-29T18:36:46.673Z] ---> a24bb4013296 [2020-09-29T18:36:46.673Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-29T18:36:46.673Z] ---> Running in 18e697825b1a [2020-09-29T18:36:46.673Z] Removing intermediate container 18e697825b1a [2020-09-29T18:36:46.673Z] ---> fb1f1a876f79 [2020-09-29T18:36:46.673Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-29T18:36:46.673Z] ---> Running in 1f783e549f23 [2020-09-29T18:36:46.935Z] Removing intermediate container 1f783e549f23 [2020-09-29T18:36:46.935Z] ---> 5c44d14c3470 [2020-09-29T18:36:46.935Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-29T18:36:47.198Z] ---> d0d42d626738 [2020-09-29T18:36:47.198Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-29T18:36:47.198Z] ---> c5b4434af6d6 [2020-09-29T18:36:47.198Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-29T18:36:47.774Z] ---> 6d44c9271739 [2020-09-29T18:36:47.774Z] Step 20/25 : EXPOSE 49986 [2020-09-29T18:36:47.774Z] ---> Running in af628615eafc [2020-09-29T18:36:48.037Z] Removing intermediate container af628615eafc [2020-09-29T18:36:48.037Z] ---> a53580ba01b6 [2020-09-29T18:36:48.037Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-29T18:36:48.037Z] ---> Running in fcf93a988c0c [2020-09-29T18:36:48.300Z] Removing intermediate container fcf93a988c0c [2020-09-29T18:36:48.300Z] ---> 2a7b8ef1de93 [2020-09-29T18:36:48.300Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-29T18:36:48.300Z] ---> Running in 8f1810d52e0c [2020-09-29T18:36:48.300Z] Removing intermediate container 8f1810d52e0c [2020-09-29T18:36:48.300Z] ---> 465d74eae1e1 [2020-09-29T18:36:48.300Z] Step 23/25 : LABEL arch=amd64 [2020-09-29T18:36:48.561Z] ---> Running in 066d6401863b [2020-09-29T18:36:48.561Z] Removing intermediate container 066d6401863b [2020-09-29T18:36:48.561Z] ---> fe65c3e54e7b [2020-09-29T18:36:48.561Z] Step 24/25 : LABEL git_sha=72307dfe99cbc97acd9a19ae833ac49a935faa66 [2020-09-29T18:36:48.823Z] ---> Running in f7d942d0da64 [2020-09-29T18:36:48.823Z] Removing intermediate container f7d942d0da64 [2020-09-29T18:36:48.823Z] ---> 0d486ffdb4a3 [2020-09-29T18:36:48.823Z] Step 25/25 : LABEL version=0.0.0 [2020-09-29T18:36:48.823Z] ---> Running in 61cf10790180 [2020-09-29T18:36:48.915Z] Commit message: "build(deps): Bump github.com/spf13/cast from 1.3.0 to 1.3.1" [2020-09-29T18:36:48.972Z] > git --version # timeout=10 [2020-09-29T18:36:48.981Z] > git --version # 'git version 2.17.1' [2020-09-29T18:36:48.993Z] fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-09-29T18:36:49.085Z] Removing intermediate container 61cf10790180 [2020-09-29T18:36:49.085Z] ---> 6dfa92da0f0c [2020-09-29T18:36:49.085Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-29T18:36:49.085Z] Successfully built 6dfa92da0f0c [2020-09-29T18:36:49.085Z] Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] unstash [Pipeline] echo [2020-09-29T18:36:52.608Z] ========================================================= [2020-09-29T18:36:52.608Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-29T18:36:52.608Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-29T18:36:53.709Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-09-29T18:36:54.709Z] Sending build context to Docker daemon 8.059MB [2020-09-29T18:36:54.709Z] Step 1/10 : ARG BASE=golang:1.15-alpine [2020-09-29T18:36:54.709Z] Step 2/10 : FROM ${BASE} [2020-09-29T18:36:54.986Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-29T18:36:54.986Z] b538f80385f9: Pulling fs layer [2020-09-29T18:36:54.986Z] 74f711af9a0d: Pulling fs layer [2020-09-29T18:36:54.986Z] 99f96fe45779: Pulling fs layer [2020-09-29T18:36:54.986Z] 8529a6b9a6be: Pulling fs layer [2020-09-29T18:36:54.986Z] 45590311c82a: Pulling fs layer [2020-09-29T18:36:54.986Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-29T18:36:54.986Z] 209524e5b208: Pulling fs layer [2020-09-29T18:36:54.986Z] 45590311c82a: Waiting [2020-09-29T18:36:54.986Z] 69ca0ff8b7b3: Waiting [2020-09-29T18:36:54.986Z] 8529a6b9a6be: Waiting [2020-09-29T18:36:54.986Z] 209524e5b208: Waiting [2020-09-29T18:36:54.986Z] 99f96fe45779: Verifying Checksum [2020-09-29T18:36:54.986Z] 99f96fe45779: Download complete [2020-09-29T18:36:54.986Z] 74f711af9a0d: Download complete [2020-09-29T18:36:54.986Z] 45590311c82a: Verifying Checksum [2020-09-29T18:36:54.986Z] 45590311c82a: Download complete [2020-09-29T18:36:55.586Z] 69ca0ff8b7b3: Download complete [2020-09-29T18:36:55.586Z] b538f80385f9: Verifying Checksum [2020-09-29T18:36:55.586Z] b538f80385f9: Download complete [2020-09-29T18:36:56.198Z] b538f80385f9: Pull complete [2020-09-29T18:36:56.811Z] 74f711af9a0d: Pull complete [2020-09-29T18:36:57.085Z] 99f96fe45779: Pull complete [2020-09-29T18:36:57.686Z] 209524e5b208: Verifying Checksum [2020-09-29T18:36:57.686Z] 209524e5b208: Download complete [2020-09-29T18:36:59.141Z] 8529a6b9a6be: Verifying Checksum [2020-09-29T18:36:59.141Z] 8529a6b9a6be: Download complete [2020-09-29T18:37:09.303Z] 8529a6b9a6be: Pull complete [2020-09-29T18:37:09.303Z] 45590311c82a: Pull complete [2020-09-29T18:37:09.303Z] 69ca0ff8b7b3: Pull complete [2020-09-29T18:37:12.718Z] 209524e5b208: Pull complete [2020-09-29T18:37:12.718Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-29T18:37:12.718Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-29T18:37:12.718Z] ---> 5bddaf1c2fca [2020-09-29T18:37:12.718Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2020-09-29T18:37:16.125Z] ---> Running in c0f87b973999 [2020-09-29T18:37:16.125Z] Removing intermediate container c0f87b973999 [2020-09-29T18:37:16.125Z] ---> 01cf0f8054ea [2020-09-29T18:37:16.125Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2020-09-29T18:37:16.125Z] ---> Running in 0d145030716c [2020-09-29T18:37:16.728Z] Removing intermediate container 0d145030716c [2020-09-29T18:37:16.728Z] ---> 6c75fee81918 [2020-09-29T18:37:16.728Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-29T18:37:16.728Z] ---> Running in 1b8a3255ca59 [2020-09-29T18:37:17.330Z] Removing intermediate container 1b8a3255ca59 [2020-09-29T18:37:17.330Z] ---> ed9d0c85173f [2020-09-29T18:37:17.330Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-29T18:37:17.330Z] ---> Running in f97e6f06cf31 [2020-09-29T18:37:19.984Z] Removing intermediate container f97e6f06cf31 [2020-09-29T18:37:19.984Z] ---> 886ac599bd2e [2020-09-29T18:37:19.984Z] Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-29T18:37:20.260Z] ---> Running in fc9a33d171b2 [2020-09-29T18:37:21.697Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-29T18:37:22.293Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-29T18:37:22.903Z] OK: 142 MiB in 39 packages [2020-09-29T18:37:24.344Z] Removing intermediate container fc9a33d171b2 [2020-09-29T18:37:24.344Z] ---> 7de888e4cae5 [2020-09-29T18:37:24.344Z] Step 8/10 : WORKDIR /device-rest-go [2020-09-29T18:37:24.344Z] ---> Running in bcd4b1a82815 [2020-09-29T18:37:24.943Z] Removing intermediate container bcd4b1a82815 [2020-09-29T18:37:24.943Z] ---> 38f257465df6 [2020-09-29T18:37:24.943Z] Step 9/10 : COPY . . [2020-09-29T18:37:26.383Z] ---> d7b9922c9445 [2020-09-29T18:37:26.383Z] Step 10/10 : RUN go mod download [2020-09-29T18:37:26.383Z] ---> Running in e141d70fb8f2 [2020-09-29T18:37:41.492Z] Removing intermediate container e141d70fb8f2 [2020-09-29T18:37:41.492Z] ---> faa9c7538784 [2020-09-29T18:37:41.492Z] Successfully built faa9c7538784 [2020-09-29T18:37:41.492Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-29T18:37:41.943Z] + docker inspect -f . ci-base-image-arm64 [2020-09-29T18:37:41.943Z] . [Pipeline] withDockerContainer [2020-09-29T18:37:42.220Z] prd-ubuntu18.04-docker-arm64-4c-16g-2012 does not seem to be running inside a container [2020-09-29T18:37:42.319Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-29T18:37:44.096Z] $ docker top 06ee674d9ae7302dda8a8f6c02eb8794eaba634b93d1a3d10199120a7392d6b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-29T18:37:45.554Z] + go version [2020-09-29T18:37:45.555Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-29T18:37:45.614Z] $ docker stop --time=1 06ee674d9ae7302dda8a8f6c02eb8794eaba634b93d1a3d10199120a7392d6b9 [2020-09-29T18:37:47.488Z] $ docker rm -f 06ee674d9ae7302dda8a8f6c02eb8794eaba634b93d1a3d10199120a7392d6b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-29T18:37:48.793Z] + docker inspect -f . ci-base-image-arm64 [2020-09-29T18:37:48.793Z] . [Pipeline] withDockerContainer [2020-09-29T18:37:49.102Z] prd-ubuntu18.04-docker-arm64-4c-16g-2012 does not seem to be running inside a container [2020-09-29T18:37:49.225Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-29T18:37:51.031Z] $ docker top 4e3f3a93e44c415703770dce7e50062fc55f33db0f0d836c3fb66d4b67c6f148 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-29T18:37:52.625Z] + make test [2020-09-29T18:37:52.625Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-29T18:37:53.610Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2020-09-29T18:38:26.042Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2020-09-29T18:38:26.042Z] ok github.com/edgexfoundry/device-rest-go/driver 0.037s coverage: 56.3% of statements [2020-09-29T18:38:26.042Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-29T18:38:30.383Z] gofmt -l . [2020-09-29T18:38:30.383Z] [ "`gofmt -l .`" = "" ] [2020-09-29T18:38:30.383Z] ./bin/test-go-mod-tidy.sh [2020-09-29T18:38:30.657Z] ./bin/test-attribution-txt.sh [Pipeline] stash [2020-09-29T18:38:31.677Z] Warning: overwriting stash ‘coverage-report’ [2020-09-29T18:38:32.470Z] Stashed 1 file(s) [Pipeline] } [2020-09-29T18:38:32.516Z] $ docker stop --time=1 4e3f3a93e44c415703770dce7e50062fc55f33db0f0d836c3fb66d4b67c6f148 [2020-09-29T18:38:34.954Z] $ docker rm -f 4e3f3a93e44c415703770dce7e50062fc55f33db0f0d836c3fb66d4b67c6f148 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-29T18:38:36.585Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-29T18:38:36.981Z] + ls -al . [2020-09-29T18:38:36.981Z] total 128 [2020-09-29T18:38:36.981Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 29 18:38 . [2020-09-29T18:38:36.981Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 18:36 .. [2020-09-29T18:38:36.981Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 29 18:36 .dockerignore [2020-09-29T18:38:36.981Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 18:36 .git [2020-09-29T18:38:36.981Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 18:36 .github [2020-09-29T18:38:36.981Z] -rw-rw-r-- 1 jenkins jenkins 339 Sep 29 18:36 .gitignore [2020-09-29T18:38:36.981Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 18:36 .semver [2020-09-29T18:38:36.981Z] -rw-rw-r-- 1 jenkins jenkins 4566 Sep 29 18:36 Attribution.txt [2020-09-29T18:38:36.981Z] -rw-rw-r-- 1 jenkins jenkins 1519 Sep 29 18:36 Dockerfile [2020-09-29T18:38:36.981Z] -rw-rw-r-- 1 jenkins jenkins 989 Sep 29 18:36 Dockerfile.build [2020-09-29T18:38:36.981Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 29 18:36 Jenkinsfile [2020-09-29T18:38:36.981Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 29 18:36 LICENSE [2020-09-29T18:38:36.981Z] -rw-rw-r-- 1 jenkins jenkins 951 Sep 29 18:36 Makefile [2020-09-29T18:38:36.981Z] -rw-rw-r-- 1 jenkins jenkins 5917 Sep 29 18:36 README.md [2020-09-29T18:38:36.981Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 29 18:33 VERSION [2020-09-29T18:38:36.981Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 18:36 bin [2020-09-29T18:38:36.981Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 18:36 cmd [2020-09-29T18:38:36.981Z] -rw-r--r-- 1 jenkins jenkins 9369 Sep 29 18:38 coverage.out [2020-09-29T18:38:36.981Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 18:38 driver [2020-09-29T18:38:36.981Z] -rw-r--r-- 1 jenkins jenkins 273 Sep 29 18:38 go.mod [2020-09-29T18:38:36.981Z] -rw-r--r-- 1 jenkins jenkins 12547 Sep 29 18:38 go.sum [2020-09-29T18:38:36.981Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 18:36 snap [2020-09-29T18:38:36.981Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 29 18:36 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-29T18:38:37.371Z] + 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=72307dfe99cbc97acd9a19ae833ac49a935faa66 --label arch=arm64 --label version=0.0.0 . [2020-09-29T18:38:37.971Z] Sending build context to Docker daemon 8.071MB [2020-09-29T18:38:37.971Z] Step 1/25 : ARG BASE=golang:1.15-alpine [2020-09-29T18:38:37.971Z] Step 2/25 : FROM ${BASE} AS builder [2020-09-29T18:38:37.971Z] ---> faa9c7538784 [2020-09-29T18:38:37.971Z] Step 3/25 : ARG MAKE='make build' [2020-09-29T18:38:38.252Z] ---> Running in b9ccfae542ea [2020-09-29T18:38:38.847Z] Removing intermediate container b9ccfae542ea [2020-09-29T18:38:38.847Z] ---> 7d2b82aa1ee1 [2020-09-29T18:38:38.847Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2020-09-29T18:38:38.847Z] ---> Running in 3aef6a4e6291 [2020-09-29T18:38:39.442Z] Removing intermediate container 3aef6a4e6291 [2020-09-29T18:38:39.442Z] ---> 098479b09f41 [2020-09-29T18:38:39.442Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2020-09-29T18:38:39.442Z] ---> Running in 99124bfa8931 [2020-09-29T18:38:40.047Z] Removing intermediate container 99124bfa8931 [2020-09-29T18:38:40.047Z] ---> b8632a8b6d7f [2020-09-29T18:38:40.047Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-29T18:38:40.047Z] ---> Running in 2b464e70a110 [2020-09-29T18:38:42.684Z] Removing intermediate container 2b464e70a110 [2020-09-29T18:38:42.684Z] ---> c6ad91d0294e [2020-09-29T18:38:42.684Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-09-29T18:38:42.684Z] ---> Running in b8d09d546fb9 [2020-09-29T18:38:44.117Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-29T18:38:45.098Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-29T18:38:46.525Z] OK: 142 MiB in 39 packages [2020-09-29T18:38:47.506Z] Removing intermediate container b8d09d546fb9 [2020-09-29T18:38:47.506Z] ---> 1d9c104fa38a [2020-09-29T18:38:47.507Z] Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go [2020-09-29T18:38:47.507Z] ---> Running in cecfc367eb99 [2020-09-29T18:38:48.101Z] Removing intermediate container cecfc367eb99 [2020-09-29T18:38:48.101Z] ---> 97439041caae [2020-09-29T18:38:48.101Z] Step 9/25 : COPY go.mod . [2020-09-29T18:38:48.696Z] ---> 4acd63061bf6 [2020-09-29T18:38:48.696Z] Step 10/25 : COPY Makefile . [2020-09-29T18:38:49.287Z] ---> 397a376840e2 [2020-09-29T18:38:49.287Z] Step 11/25 : RUN make update [2020-09-29T18:38:49.562Z] ---> Running in 1ed8d0f6fcaa [2020-09-29T18:38:51.001Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2020-09-29T18:38:51.985Z] Removing intermediate container 1ed8d0f6fcaa [2020-09-29T18:38:51.985Z] ---> 4cdf63c8dc28 [2020-09-29T18:38:51.985Z] Step 12/25 : COPY . . [2020-09-29T18:38:53.417Z] ---> 2484df2f1f05 [2020-09-29T18:38:53.417Z] Step 13/25 : RUN $MAKE [2020-09-29T18:38:53.417Z] ---> Running in e1e6d68fcbf8 [2020-09-29T18:38:54.863Z] 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-29T18:39:21.695Z] Removing intermediate container e1e6d68fcbf8 [2020-09-29T18:39:21.695Z] ---> 596086d22ba3 [2020-09-29T18:39:21.695Z] Step 14/25 : FROM alpine:latest [2020-09-29T18:39:21.971Z] latest: Pulling from library/alpine [2020-09-29T18:39:21.971Z] b538f80385f9: Already exists [2020-09-29T18:39:22.243Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-09-29T18:39:22.243Z] Status: Downloaded newer image for alpine:latest [2020-09-29T18:39:22.243Z] ---> 62ee0e9f8440 [2020-09-29T18:39:22.243Z] Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-29T18:39:22.517Z] ---> Running in 516e229f4b2c [2020-09-29T18:39:22.790Z] Removing intermediate container 516e229f4b2c [2020-09-29T18:39:22.790Z] ---> b915ced5c0b3 [2020-09-29T18:39:22.790Z] Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} [2020-09-29T18:39:23.062Z] ---> Running in 96d199cbff59 [2020-09-29T18:39:23.334Z] Removing intermediate container 96d199cbff59 [2020-09-29T18:39:23.334Z] ---> 6e6876fb1300 [2020-09-29T18:39:23.334Z] Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / [2020-09-29T18:39:24.312Z] ---> 2f08bac53fc8 [2020-09-29T18:39:24.312Z] Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / [2020-09-29T18:39:24.915Z] ---> 09cab05ca186 [2020-09-29T18:39:24.915Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / [2020-09-29T18:39:25.908Z] ---> 68b7afebaaa0 [2020-09-29T18:39:25.908Z] Step 20/25 : EXPOSE 49986 [2020-09-29T18:39:26.180Z] ---> Running in 260f2e8a6062 [2020-09-29T18:39:26.776Z] Removing intermediate container 260f2e8a6062 [2020-09-29T18:39:26.776Z] ---> 10bd67588c93 [2020-09-29T18:39:26.776Z] Step 21/25 : ENTRYPOINT ["/device-rest-go"] [2020-09-29T18:39:26.776Z] ---> Running in d47f87ed48c5 [2020-09-29T18:39:27.375Z] Removing intermediate container d47f87ed48c5 [2020-09-29T18:39:27.375Z] ---> 5b3ae0248190 [2020-09-29T18:39:27.375Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2020-09-29T18:39:27.375Z] ---> Running in b61bc6aa62dd [2020-09-29T18:39:27.981Z] Removing intermediate container b61bc6aa62dd [2020-09-29T18:39:27.981Z] ---> 9e6086b03319 [2020-09-29T18:39:27.981Z] Step 23/25 : LABEL arch=arm64 [2020-09-29T18:39:27.981Z] ---> Running in f5ef4b2759e5 [2020-09-29T18:39:28.255Z] Removing intermediate container f5ef4b2759e5 [2020-09-29T18:39:28.255Z] ---> b6c3597bb890 [2020-09-29T18:39:28.255Z] Step 24/25 : LABEL git_sha=72307dfe99cbc97acd9a19ae833ac49a935faa66 [2020-09-29T18:39:28.530Z] ---> Running in bac4a6e90ac4 [2020-09-29T18:39:29.129Z] Removing intermediate container bac4a6e90ac4 [2020-09-29T18:39:29.129Z] ---> c30f286d5ef2 [2020-09-29T18:39:29.129Z] Step 25/25 : LABEL version=0.0.0 [2020-09-29T18:39:29.129Z] ---> Running in 7b393402473c [2020-09-29T18:39:29.727Z] Removing intermediate container 7b393402473c [2020-09-29T18:39:29.727Z] ---> cbd702c6e1a7 [2020-09-29T18:39:29.727Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-29T18:39:29.727Z] Successfully built cbd702c6e1a7 [2020-09-29T18:39:29.727Z] 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-29T18:39:32.664Z] provisioning config files... [2020-09-29T18:39:32.678Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-45@tmp/config7495098184741324580tmp [Pipeline] { [Pipeline] sh [2020-09-29T18:39:33.103Z] + set +x [2020-09-29T18:39:33.103Z] + curl -s https://codecov.io/bash [2020-09-29T18:39:33.103Z] + bash -s -- [2020-09-29T18:39:33.368Z] [2020-09-29T18:39:33.368Z] _____ _ [2020-09-29T18:39:33.368Z] / ____| | | [2020-09-29T18:39:33.368Z] | | ___ __| | ___ ___ _____ __ [2020-09-29T18:39:33.368Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-09-29T18:39:33.368Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-09-29T18:39:33.368Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-09-29T18:39:33.368Z] Bash-20200917-4e8f14b [2020-09-29T18:39:33.368Z] [2020-09-29T18:39:33.368Z] [2020-09-29T18:39:33.368Z] ==> Jenkins CI detected. [2020-09-29T18:39:33.368Z] project root: . [2020-09-29T18:39:33.368Z] --> token set from env [2020-09-29T18:39:33.368Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-09-29T18:39:33.368Z] ==> Running gcov in . (disable via -X gcov) [2020-09-29T18:39:33.368Z] ==> Python coveragepy not found [2020-09-29T18:39:33.368Z] ==> Searching for coverage reports in: [2020-09-29T18:39:33.368Z] + . [2020-09-29T18:39:33.368Z] -> Found 1 reports [2020-09-29T18:39:33.368Z] ==> Detecting git/mercurial file structure [2020-09-29T18:39:33.368Z] ==> Reading reports [2020-09-29T18:39:33.368Z] + ./coverage.out bytes=9369 [2020-09-29T18:39:33.368Z] ==> Appending adjustments [2020-09-29T18:39:33.368Z] https://docs.codecov.io/docs/fixing-reports [2020-09-29T18:39:33.368Z] + Found adjustments [2020-09-29T18:39:33.636Z] ==> Gzipping contents [2020-09-29T18:39:33.636Z] ==> Uploading reports [2020-09-29T18:39:33.636Z] url: https://codecov.io [2020-09-29T18:39:33.636Z] query: branch=PR-45&commit=72307dfe99cbc97acd9a19ae833ac49a935faa66&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-45%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=45&job=&cmd_args= [2020-09-29T18:39:33.636Z] -> Pinging Codecov [2020-09-29T18:39:33.636Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-45&commit=72307dfe99cbc97acd9a19ae833ac49a935faa66&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-45%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=45&job=&cmd_args= [2020-09-29T18:39:33.900Z] -> Uploading to [2020-09-29T18:39:33.900Z] https://storage.googleapis.com/codecov/v4/raw/2020-09-29/4E5D53B4F1F92C436F7061BF334D961C/72307dfe99cbc97acd9a19ae833ac49a935faa66/71c1350c-ffa0-40ba-ab47-a601461e6314.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200929%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200929T183933Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4289db29bf2ad6a004600979e12f74d9bf3c05a9195e1a7d90f47646689e1840 [2020-09-29T18:39:33.900Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-09-29T18:39:33.900Z] Dload Upload Total Spent Left Speed [2020-09-29T18:39:34.479Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1695 0 0 100 1695 0 4318 --:--:-- --:--:-- --:--:-- 4323 [2020-09-29T18:39:34.479Z] -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/72307dfe99cbc97acd9a19ae833ac49a935faa66 [Pipeline] } [2020-09-29T18:39:34.509Z] 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] { (Archive Prep) Stage "Archive Prep" 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-29T18:39:38.151Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T18:39:38.773Z] ---> package-listing.sh [2020-09-29T18:39:38.773Z] ++ facter osfamily [2020-09-29T18:39:38.773Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-29T18:39:38.773Z] + OS_FAMILY=redhat [2020-09-29T18:39:38.773Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-45 [2020-09-29T18:39:38.773Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-29T18:39:38.773Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-29T18:39:38.773Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-29T18:39:38.773Z] + PACKAGES=/tmp/packages_start.txt [2020-09-29T18:39:38.773Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-45 ']' [2020-09-29T18:39:38.773Z] + PACKAGES=/tmp/packages_end.txt [2020-09-29T18:39:38.773Z] + case "${OS_FAMILY}" in [2020-09-29T18:39:38.773Z] + rpm -qa [2020-09-29T18:39:38.773Z] + sort [2020-09-29T18:39:43.023Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-29T18:39:43.023Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-29T18:39:43.023Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-29T18:39:43.023Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-45 ']' [2020-09-29T18:39:43.023Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-45/archives/ [2020-09-29T18:39:43.023Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-45/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-29T18:39:43.297Z] provisioning config files... [2020-09-29T18:39:43.313Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-45@tmp/config1247935633901182023tmp [Pipeline] { [Pipeline] echo [2020-09-29T18:39:43.433Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T18:39:43.775Z] ---> create-netrc.sh [Pipeline] } [2020-09-29T18:39:43.800Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-09-29T18:39:43.980Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T18:39:44.332Z] ---> python-tools-install.sh [2020-09-29T18:39:44.332Z] Generating Requirements File [2020-09-29T18:41:05.891Z] Python 3.6.8 [2020-09-29T18:41:05.891Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-09-29T18:41:05.891Z] aiohttp==3.6.2 [2020-09-29T18:41:05.891Z] appdirs==1.4.3 [2020-09-29T18:41:05.891Z] argcomplete==1.12.1 [2020-09-29T18:41:05.891Z] aspy.yaml==1.3.0 [2020-09-29T18:41:05.891Z] async-timeout==3.0.1 [2020-09-29T18:41:05.891Z] attrs==19.3.0 [2020-09-29T18:41:05.891Z] Babel==2.8.0 [2020-09-29T18:41:05.891Z] beautifulsoup4==4.8.2 [2020-09-29T18:41:05.891Z] boto3==1.11.6 [2020-09-29T18:41:05.891Z] botocore==1.14.6 [2020-09-29T18:41:05.891Z] bs4==0.0.1 [2020-09-29T18:41:05.891Z] cachetools==4.1.1 [2020-09-29T18:41:05.891Z] certifi==2019.11.28 [2020-09-29T18:41:05.891Z] cffi==1.14.3 [2020-09-29T18:41:05.891Z] cfgv==2.0.1 [2020-09-29T18:41:05.891Z] chardet==3.0.4 [2020-09-29T18:41:05.891Z] click==7.1 [2020-09-29T18:41:05.891Z] cliff==3.4.0 [2020-09-29T18:41:05.891Z] cmd2==1.3.10 [2020-09-29T18:41:05.891Z] colorama==0.4.3 [2020-09-29T18:41:05.891Z] cryptography==3.1.1 [2020-09-29T18:41:05.891Z] debtcollector==2.2.0 [2020-09-29T18:41:05.891Z] decorator==4.4.2 [2020-09-29T18:41:05.891Z] defusedxml==0.6.0 [2020-09-29T18:41:05.891Z] Deprecated==1.2.7 [2020-09-29T18:41:05.891Z] distlib==0.3.1 [2020-09-29T18:41:05.891Z] distro==1.2.0 [2020-09-29T18:41:05.891Z] dnspython==1.16.0 [2020-09-29T18:41:05.891Z] docker==4.2.0 [2020-09-29T18:41:05.891Z] docutils==0.15.2 [2020-09-29T18:41:05.891Z] dogpile.cache==1.0.2 [2020-09-29T18:41:05.891Z] email-validator==1.0.5 [2020-09-29T18:41:05.891Z] filelock==3.0.12 [2020-09-29T18:41:05.891Z] future==0.18.2 [2020-09-29T18:41:05.891Z] google-auth==1.22.0 [2020-09-29T18:41:05.891Z] httplib2==0.17.0 [2020-09-29T18:41:05.891Z] identify==1.4.11 [2020-09-29T18:41:05.891Z] idna==2.9 [2020-09-29T18:41:05.891Z] idna-ssl==1.1.0 [2020-09-29T18:41:05.891Z] importlib-metadata==1.7.0 [2020-09-29T18:41:05.891Z] importlib-resources==1.5.0 [2020-09-29T18:41:05.891Z] iso8601==0.1.13 [2020-09-29T18:41:05.891Z] Jinja2==2.11.1 [2020-09-29T18:41:05.891Z] jmespath==0.10.0 [2020-09-29T18:41:05.891Z] jsonpatch==1.26 [2020-09-29T18:41:05.891Z] jsonpointer==2.0 [2020-09-29T18:41:05.891Z] jsonschema==3.2.0 [2020-09-29T18:41:05.891Z] keystoneauth1==4.2.1 [2020-09-29T18:41:05.891Z] kubernetes==11.0.0 [2020-09-29T18:41:05.891Z] lftools==0.34.2 [2020-09-29T18:41:05.891Z] lxml==4.5.0 [2020-09-29T18:41:05.891Z] MarkupSafe==0.23 [2020-09-29T18:41:05.891Z] msgpack==1.0.0 [2020-09-29T18:41:05.891Z] multi-key-dict==2.0.3 [2020-09-29T18:41:05.891Z] multidict==4.7.6 [2020-09-29T18:41:05.891Z] munch==2.5.0 [2020-09-29T18:41:05.891Z] netaddr==0.8.0 [2020-09-29T18:41:05.891Z] netifaces==0.10.9 [2020-09-29T18:41:05.891Z] niet==1.4.2 [2020-09-29T18:41:05.891Z] nodeenv==1.3.5 [2020-09-29T18:41:05.891Z] oauth2client==4.1.3 [2020-09-29T18:41:05.891Z] oauthlib==3.1.0 [2020-09-29T18:41:05.891Z] openstacksdk==0.50.0 [2020-09-29T18:41:05.891Z] os-client-config==2.1.0 [2020-09-29T18:41:05.891Z] os-service-types==1.7.0 [2020-09-29T18:41:05.891Z] osc-lib==2.2.1 [2020-09-29T18:41:05.891Z] oslo.config==8.3.2 [2020-09-29T18:41:05.891Z] oslo.context==3.1.1 [2020-09-29T18:41:05.891Z] oslo.i18n==5.0.1 [2020-09-29T18:41:05.891Z] oslo.log==4.4.0 [2020-09-29T18:41:05.891Z] oslo.serialization==4.0.1 [2020-09-29T18:41:05.891Z] oslo.utils==4.6.0 [2020-09-29T18:41:05.891Z] packaging==20.4 [2020-09-29T18:41:05.891Z] pbr==5.4.4 [2020-09-29T18:41:05.891Z] pluggy==0.13.1 [2020-09-29T18:41:05.891Z] prettytable==0.7.2 [2020-09-29T18:41:05.891Z] py==1.9.0 [2020-09-29T18:41:05.891Z] pyasn1==0.4.8 [2020-09-29T18:41:05.891Z] pyasn1-modules==0.2.8 [2020-09-29T18:41:05.891Z] pycparser==2.20 [2020-09-29T18:41:05.891Z] pygerrit2==2.0.10 [2020-09-29T18:41:05.891Z] PyGithub==1.46 [2020-09-29T18:41:05.891Z] pyinotify==0.9.6 [2020-09-29T18:41:05.891Z] PyJWT==1.7.1 [2020-09-29T18:41:05.891Z] pyparsing==2.4.7 [2020-09-29T18:41:05.891Z] pyperclip==1.8.0 [2020-09-29T18:41:05.891Z] pyroute2==0.4.13 [2020-09-29T18:41:05.891Z] pyrsistent==0.15.7 [2020-09-29T18:41:05.891Z] PySocks==1.6.8 [2020-09-29T18:41:05.891Z] python-cinderclient==7.2.0 [2020-09-29T18:41:05.891Z] python-dateutil==2.8.1 [2020-09-29T18:41:05.891Z] python-heatclient==2.2.1 [2020-09-29T18:41:05.891Z] python-jenkins==1.7.0 [2020-09-29T18:41:05.891Z] python-keystoneclient==4.1.1 [2020-09-29T18:41:05.891Z] python-magnumclient==3.2.1 [2020-09-29T18:41:05.891Z] python-novaclient==17.2.1 [2020-09-29T18:41:05.891Z] python-openstackclient==5.3.1 [2020-09-29T18:41:05.891Z] python-swiftclient==3.10.1 [2020-09-29T18:41:05.891Z] pytz==2020.1 [2020-09-29T18:41:05.891Z] PyYAML==5.3 [2020-09-29T18:41:05.891Z] requests==2.23.0 [2020-09-29T18:41:05.891Z] requests-oauthlib==1.3.0 [2020-09-29T18:41:05.891Z] requestsexceptions==1.4.0 [2020-09-29T18:41:05.891Z] rfc3986==1.4.0 [2020-09-29T18:41:05.891Z] rpm==4.11.3 [2020-09-29T18:41:05.891Z] rsa==4.0 [2020-09-29T18:41:05.891Z] ruamel.yaml==0.16.10 [2020-09-29T18:41:05.891Z] ruamel.yaml.clib==0.2.0 [2020-09-29T18:41:05.891Z] s3transfer==0.3.3 [2020-09-29T18:41:05.891Z] shade==1.27.2 [2020-09-29T18:41:05.891Z] simplejson==3.17.2 [2020-09-29T18:41:05.891Z] six==1.14.0 [2020-09-29T18:41:05.891Z] soupsieve==2.0 [2020-09-29T18:41:05.891Z] stevedore==3.2.2 [2020-09-29T18:41:05.891Z] tabulate==0.8.6 [2020-09-29T18:41:05.891Z] toml==0.10.0 [2020-09-29T18:41:05.891Z] tox==3.20.0 [2020-09-29T18:41:05.891Z] tqdm==4.43.0 [2020-09-29T18:41:05.891Z] typing-extensions==3.7.4.3 [2020-09-29T18:41:05.891Z] urllib3==1.25.8 [2020-09-29T18:41:05.891Z] virtualenv==20.0.31 [2020-09-29T18:41:05.891Z] wcwidth==0.2.5 [2020-09-29T18:41:05.891Z] websocket-client==0.57.0 [2020-09-29T18:41:05.891Z] wrapt==1.12.1 [2020-09-29T18:41:05.891Z] xdg==3.0.2 [2020-09-29T18:41:05.891Z] xmltodict==0.12.0 [2020-09-29T18:41:05.891Z] yarl==1.6.0 [2020-09-29T18:41:05.891Z] yq==2.11.1 [2020-09-29T18:41:05.891Z] zipp==3.2.0 [2020-09-29T18:41:05.891Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:41:05.891Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-09-29T18:41:05.891Z] Python 2.7.5 [2020-09-29T18:41:05.891Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-09-29T18:41:05.891Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-09-29T18:41:05.891Z] ansible==2.9.7 [2020-09-29T18:41:05.891Z] Babel==0.9.6 [2020-09-29T18:41:05.891Z] backports.ssl-match-hostname==3.5.0.1 [2020-09-29T18:41:05.891Z] beautifulsoup4==4.4.1 [2020-09-29T18:41:05.891Z] bodhi==2.11.0 [2020-09-29T18:41:05.891Z] bodhi-client==2.11.0 [2020-09-29T18:41:05.891Z] CCColUtils==1.4 [2020-09-29T18:41:05.891Z] cffi==1.6.0 [2020-09-29T18:41:05.891Z] chardet==2.2.1 [2020-09-29T18:41:05.891Z] click==6.7 [2020-09-29T18:41:05.891Z] cloud-init==18.5 [2020-09-29T18:41:05.891Z] configobj==4.7.2 [2020-09-29T18:41:05.891Z] cryptography==1.7.2 [2020-09-29T18:41:05.891Z] decorator==3.4.0 [2020-09-29T18:41:05.891Z] distro==1.2.0 [2020-09-29T18:41:05.891Z] enum34==1.0.4 [2020-09-29T18:41:05.891Z] fedpkg==1.38 [2020-09-29T18:41:05.891Z] futures==3.1.1 [2020-09-29T18:41:05.891Z] gitdb==0.6.4 [2020-09-29T18:41:05.891Z] GitPython==1.0.1 [2020-09-29T18:41:05.891Z] html5lib==0.999 [2020-09-29T18:41:05.891Z] httplib2==0.9.2 [2020-09-29T18:41:05.891Z] idna==2.4 [2020-09-29T18:41:05.891Z] iniparse==0.4 [2020-09-29T18:41:05.891Z] ipaddress==1.0.16 [2020-09-29T18:41:05.891Z] IPy==0.75 [2020-09-29T18:41:05.891Z] javapackages==1.0.0 [2020-09-29T18:41:05.891Z] Jinja2==2.7.2 [2020-09-29T18:41:05.891Z] jmespath==0.9.4 [2020-09-29T18:41:05.891Z] jsonpatch==1.2 [2020-09-29T18:41:05.891Z] jsonpointer==1.9 [2020-09-29T18:41:05.891Z] kerberos==1.1 [2020-09-29T18:41:05.891Z] kitchen==1.1.1 [2020-09-29T18:41:05.891Z] langtable==0.0.31 [2020-09-29T18:41:05.891Z] lockfile==0.9.1 [2020-09-29T18:41:05.891Z] lxml==3.2.1 [2020-09-29T18:41:05.891Z] MarkupSafe==0.11 [2020-09-29T18:41:05.891Z] munch==2.0.2 [2020-09-29T18:41:05.891Z] offtrac==0.1.0 [2020-09-29T18:41:05.891Z] openidc-client==0.6.0 [2020-09-29T18:41:05.891Z] packagedb-cli==2.14.1 [2020-09-29T18:41:05.891Z] paramiko==2.1.1 [2020-09-29T18:41:05.891Z] perf==0.1 [2020-09-29T18:41:05.891Z] ply==3.4 [2020-09-29T18:41:05.891Z] policycoreutils-default-encoding==0.1 [2020-09-29T18:41:05.891Z] prettytable==0.7.2 [2020-09-29T18:41:05.891Z] pyasn1==0.1.9 [2020-09-29T18:41:05.891Z] pycparser==2.14 [2020-09-29T18:41:05.891Z] pycurl==7.19.0 [2020-09-29T18:41:05.891Z] pygobject==3.22.0 [2020-09-29T18:41:05.891Z] pygpgme==0.3 [2020-09-29T18:41:05.891Z] pyliblzma==0.5.3 [2020-09-29T18:41:05.891Z] pyOpenSSL==0.13.1 [2020-09-29T18:41:05.891Z] pyparsing==1.5.6 [2020-09-29T18:41:05.891Z] pyserial==2.6 [2020-09-29T18:41:05.891Z] python-augeas==0.5.0 [2020-09-29T18:41:05.891Z] python-bugzilla==2.3.0 [2020-09-29T18:41:05.891Z] python-dateutil==1.5 [2020-09-29T18:41:05.891Z] python-fedora==0.10.0 [2020-09-29T18:41:05.891Z] python-linux-procfs==0.4.9 [2020-09-29T18:41:05.891Z] python-yubico==1.2.3 [2020-09-29T18:41:05.891Z] pyudev==0.15 [2020-09-29T18:41:05.891Z] pyusb==1.0.0b1 [2020-09-29T18:41:05.891Z] pyxattr==0.5.1 [2020-09-29T18:41:05.891Z] PyYAML==3.10 [2020-09-29T18:41:05.891Z] requests==2.6.0 [2020-09-29T18:41:05.891Z] requests-kerberos==0.7.0 [2020-09-29T18:41:05.891Z] rpkg==1.60 [2020-09-29T18:41:05.891Z] schedutils==0.4 [2020-09-29T18:41:05.891Z] seobject==0.1 [2020-09-29T18:41:05.891Z] sepolicy==1.1 [2020-09-29T18:41:05.891Z] six==1.9.0 [2020-09-29T18:41:05.891Z] smmap==0.9.0 [2020-09-29T18:41:05.891Z] urlgrabber==3.10 [2020-09-29T18:41:05.891Z] urllib3==1.10.2 [2020-09-29T18:41:05.891Z] virtualenv==15.1.0 [2020-09-29T18:41:05.891Z] yum-langpacks==0.4.2 [2020-09-29T18:41:05.891Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-09-29T18:41:05.938Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T18:41:06.288Z] ---> sudo-logs.sh [2020-09-29T18:41:06.288Z] Archiving 'sudo' log.. [Pipeline] echo [2020-09-29T18:41:06.583Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T18:41:06.941Z] ---> job-cost.sh [2020-09-29T18:41:06.941Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-D6We [2020-09-29T18:41:19.301Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:41:19.301Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:41:19.301Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:41:19.301Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:41:19.301Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:41:19.301Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:41:19.301Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:41:19.301Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:41:19.301Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:41:19.301Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:41:19.569Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:41:19.569Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:41:19.569Z] Cache entry deserialization failed, entry ignored [2020-09-29T18:41:22.132Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-09-29T18:41:54.441Z] ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. [2020-09-29T18:41:54.441Z] [2020-09-29T18:41:54.441Z] We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. [2020-09-29T18:41:54.441Z] [2020-09-29T18:41:54.441Z] virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. [2020-09-29T18:41:54.441Z] lf-activate-venv(): INFO: Adding /tmp/venv-D6We/bin to PATH [2020-09-29T18:41:54.441Z] INFO: No Stack... [2020-09-29T18:41:54.441Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-09-29T18:41:54.441Z] INFO: Archiving Costs [Pipeline] echo [2020-09-29T18:41:54.478Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-29T18:41:54.821Z] ---> logs-deploy.sh [2020-09-29T18:41:54.821Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-45/1 [2020-09-29T18:41:54.821Z] INFO: archiving workspace using pattern(s): [2020-09-29T18:41:56.744Z] Archives upload complete. [2020-09-29T18:41:56.744Z] INFO: archiving logs to Nexus