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 18:33:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:33:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:33:23 ========================================================= 18:33:23 EdgeX Global Pipelines Version Info 18:33:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:33:25 ------------------- 18:33:25 stable info: 18:33:25 ------------------- 18:33:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:33:25 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 18:33:25 Message: update stable to v1.0.131 18:33:26 ------------------- 18:33:26 experimental info: 18:33:26 ------------------- 18:33:26 Commited By: **** collab-it+edgex@linuxfoundation.org 18:33:26 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 18:33:26 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 18:33:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 18:33:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 18:33:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:33:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:33:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:33:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:33:27 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:33:27 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:33:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:33:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:33:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:33:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 18:33:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:33:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:33:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:33:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:33:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:33:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:33:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:33:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:33:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:33:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:33:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:33:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:33:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:33:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-45 [Pipeline] echo 18:33:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-45 [Pipeline] echo 18:33:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-45 [Pipeline] echo 18:33:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 72307dfe99cbc97acd9a19ae833ac49a935faa66 [Pipeline] echo 18:33:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 72307df [Pipeline] echo 18:33:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:33:31 + git log --format=format:%s -1 72307dfe99cbc97acd9a19ae833ac49a935faa66 [Pipeline] echo 18:33:31 GIT_COMMIT: 72307dfe99cbc97acd9a19ae833ac49a935faa66, Commit Message: build(deps): Bump github.com/spf13/cast from 1.3.0 to 1.3.1 [Pipeline] echo 18:33:31 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:33:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:33:32 18:33:32 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:33:32 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:33:32 latest: Pulling from edgex-devops/git-semver 18:33:32 31603596830f: Pulling fs layer 18:33:32 2a8b12db71e7: Pulling fs layer 18:33:32 6ca5941a6612: Pulling fs layer 18:33:32 ecc8261a40a4: Pulling fs layer 18:33:32 ecc8261a40a4: Waiting 18:33:32 2a8b12db71e7: Verifying Checksum 18:33:32 2a8b12db71e7: Download complete 18:33:33 31603596830f: Verifying Checksum 18:33:33 31603596830f: Download complete 18:33:33 ecc8261a40a4: Verifying Checksum 18:33:33 ecc8261a40a4: Download complete 18:33:33 6ca5941a6612: Verifying Checksum 18:33:33 6ca5941a6612: Download complete 18:33:33 31603596830f: Pull complete 18:33:33 2a8b12db71e7: Pull complete 18:33:34 6ca5941a6612: Pull complete 18:33:34 ecc8261a40a4: Pull complete 18:33:34 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:33:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:33:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:33:34 prd-centos7-docker-4c-2g-2005 does not seem to be running inside a container 18:33:34 $ 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 18:33:36 $ docker top 85080d8289db5651fcbbc67d798c52d31ad7df6914690e0399e5ac0e30ec8126 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:33:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:33:37 [ssh-agent] Looking for ssh-agent implementation... 18:33:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:33:37 $ docker exec 85080d8289db5651fcbbc67d798c52d31ad7df6914690e0399e5ac0e30ec8126 ssh-agent 18:33:37 SSH_AUTH_SOCK=/tmp/ssh-mn7XgvGHD9dk/agent.11 18:33:37 SSH_AGENT_PID=16 18:33:37 Running ssh-add (command line suppressed) 18:33:37 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) 18:33:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:33:37 + git describe --exact-match --tags HEAD 18:33:37 fatal: no tag exactly matches '72307dfe99cbc97acd9a19ae833ac49a935faa66' [Pipeline] } 18:33:38 $ docker exec --env ******** --env ******** 85080d8289db5651fcbbc67d798c52d31ad7df6914690e0399e5ac0e30ec8126 ssh-agent -k 18:33:38 unset SSH_AUTH_SOCK; 18:33:38 unset SSH_AGENT_PID; 18:33:38 echo Agent pid 16 killed; 18:33:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:33:38 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:33:38 This usually means this commit has not been tagged. [Pipeline] sshagent 18:33:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:33:38 [ssh-agent] Looking for ssh-agent implementation... 18:33:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:33:38 $ docker exec 85080d8289db5651fcbbc67d798c52d31ad7df6914690e0399e5ac0e30ec8126 ssh-agent 18:33:38 SSH_AUTH_SOCK=/tmp/ssh-AyEO5egP1kp2/agent.45 18:33:38 SSH_AGENT_PID=50 18:33:38 Running ssh-add (command line suppressed) 18:33:39 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) 18:33:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:33:39 + git semver init 18:33:39 # -> Open(): unable to determine branch for HEAD 18:33:39 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-45/.git 18:33:39 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-45 18:33:39 # $SEMVER_REMOTE_NAME = origin 18:33:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:33:39 # $SEMVER_USER_NAME = edgex-jenkins 18:33:39 # $SEMVER_BRANCH = PR-45 18:33:39 # $SEMVER_TEMP = /tmp/semver-772544670 18:33:39 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 18:33:40 # '/tmp/semver-772544670' -> '/w/workspace/dgexfoundry_device-rest-go_PR-45/.semver' 18:33:40 # -> Force: false 18:33:40 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-45/.semver [Pipeline] } 18:33:40 $ docker exec --env ******** --env ******** 85080d8289db5651fcbbc67d798c52d31ad7df6914690e0399e5ac0e30ec8126 ssh-agent -k 18:33:40 unset SSH_AUTH_SOCK; 18:33:40 unset SSH_AGENT_PID; 18:33:40 echo Agent pid 50 killed; 18:33:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:33:41 + git semver [Pipeline] } 18:33:41 $ docker stop --time=1 85080d8289db5651fcbbc67d798c52d31ad7df6914690e0399e5ac0e30ec8126 18:33:42 $ docker rm -f 85080d8289db5651fcbbc67d798c52d31ad7df6914690e0399e5ac0e30ec8126 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:33:44 Stashed 24 file(s) [Pipeline] echo 18:33:44 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 18:33:44 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 18:34:00 Still waiting to schedule task 18:34:00 ‘prd-centos7-docker-4c-2g-2008’ is offline; ‘prd-centos7-docker-4c-2g-2009’ is offline 18:34:00 Still waiting to schedule task 18:34:00 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:35:18 Running on prd-centos7-docker-4c-2g-2011 in /w/workspace/dgexfoundry_device-rest-go_PR-45 [Pipeline] { [Pipeline] ws 18:35:19 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 18:35:21 using credential edgex-jenkins-ssh 18:35:21 Cloning the remote Git repository 18:35:21 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:35:21 > git init /w/workspace/device-rest-go/1 # timeout=10 18:35:22 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:35:22 > git --version # timeout=10 18:35:22 > git --version # 'git version 2.16.5' 18:35:22 using GIT_SSH to set credentials SSH Credentials for GitHub 18:35:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:35:25 Merging remotes/origin/master commit 172864091628f91237888ceec3b813680f51db30 into PR head commit 72307dfe99cbc97acd9a19ae833ac49a935faa66 18:35:25 Merge succeeded, producing 72307dfe99cbc97acd9a19ae833ac49a935faa66 18:35:25 Checking out Revision 72307dfe99cbc97acd9a19ae833ac49a935faa66 (PR-45) 18:35:25 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:35:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:35:25 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:35:25 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:35:25 using GIT_SSH to set credentials SSH Credentials for GitHub 18:35:25 > 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 18:35:25 > git config core.sparsecheckout # timeout=10 18:35:25 > git checkout -f 72307dfe99cbc97acd9a19ae833ac49a935faa66 # timeout=10 18:35:25 > git remote # timeout=10 18:35:25 > git config --get remote.origin.url # timeout=10 18:35:25 using GIT_SSH to set credentials SSH Credentials for GitHub 18:35:25 > git merge 172864091628f91237888ceec3b813680f51db30 # timeout=10 18:35:25 > git rev-parse HEAD^{commit} # timeout=10 18:35:25 > git config core.sparsecheckout # timeout=10 18:35:25 > git checkout -f 72307dfe99cbc97acd9a19ae833ac49a935faa66 # timeout=10 18:35:29 Commit message: "build(deps): Bump github.com/spf13/cast from 1.3.0 to 1.3.1" 18:35:29 > git --version # timeout=10 18:35:29 > git --version # 'git version 2.16.5' 18:35:29 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:35:30 ========================================================= 18:35:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:35:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:35:31 + 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 . 18:35:31 Sending build context to Docker daemon 8.059MB 18:35:31 Step 1/10 : ARG BASE=golang:1.15-alpine 18:35:31 Step 2/10 : FROM ${BASE} 18:35:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:35:32 df20fa9351a1: Pulling fs layer 18:35:32 ed8968b2872e: Pulling fs layer 18:35:32 a92cc7c5fd73: Pulling fs layer 18:35:32 e871e8e8d7a9: Pulling fs layer 18:35:32 e73272ec9a57: Pulling fs layer 18:35:32 1e910a182e73: Pulling fs layer 18:35:32 4e634b169226: Pulling fs layer 18:35:32 e73272ec9a57: Waiting 18:35:32 4e634b169226: Waiting 18:35:32 e871e8e8d7a9: Waiting 18:35:32 1e910a182e73: Waiting 18:35:32 a92cc7c5fd73: Verifying Checksum 18:35:32 a92cc7c5fd73: Download complete 18:35:32 ed8968b2872e: Verifying Checksum 18:35:32 ed8968b2872e: Download complete 18:35:32 e73272ec9a57: Verifying Checksum 18:35:32 e73272ec9a57: Download complete 18:35:32 1e910a182e73: Verifying Checksum 18:35:32 1e910a182e73: Download complete 18:35:32 df20fa9351a1: Verifying Checksum 18:35:32 df20fa9351a1: Download complete 18:35:32 df20fa9351a1: Pull complete 18:35:32 ed8968b2872e: Pull complete 18:35:32 a92cc7c5fd73: Pull complete 18:35:34 4e634b169226: Verifying Checksum 18:35:34 4e634b169226: Download complete 18:35:35 e871e8e8d7a9: Verifying Checksum 18:35:35 e871e8e8d7a9: Download complete 18:35:40 e871e8e8d7a9: Pull complete 18:35:40 e73272ec9a57: Pull complete 18:35:40 1e910a182e73: Pull complete 18:35:48 4e634b169226: Pull complete 18:35:48 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 18:35:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:35:48 ---> f7629b54cfaa 18:35:48 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 18:35:48 ---> Running in 9f04008b691f 18:35:48 Removing intermediate container 9f04008b691f 18:35:48 ---> 2f960e62e14b 18:35:48 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 18:35:48 ---> Running in 678ab6bfe0b6 18:35:48 Removing intermediate container 678ab6bfe0b6 18:35:48 ---> 8b06039f3814 18:35:48 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:35:48 ---> Running in d451508f81f6 18:35:48 Removing intermediate container d451508f81f6 18:35:48 ---> 93176e6c0023 18:35:48 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:35:48 ---> Running in e15f4a3a5e5a 18:35:50 Removing intermediate container e15f4a3a5e5a 18:35:50 ---> 617eb1cf4de8 18:35:50 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:35:50 ---> Running in 27f8009ac2f8 18:35:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:35:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:35:51 OK: 166 MiB in 39 packages 18:35:52 Removing intermediate container 27f8009ac2f8 18:35:52 ---> 7e0f7b03403e 18:35:52 Step 8/10 : WORKDIR /device-rest-go 18:35:52 ---> Running in c8b359c3a9de 18:35:52 Removing intermediate container c8b359c3a9de 18:35:52 ---> b2c2488407f9 18:35:52 Step 9/10 : COPY . . 18:35:52 ---> 6baaab1dac14 18:35:52 Step 10/10 : RUN go mod download 18:35:52 ---> Running in 2b3c345e9273 18:36:05 Removing intermediate container 2b3c345e9273 18:36:05 ---> a2925ca7e721 18:36:05 Successfully built a2925ca7e721 18:36:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:36:05 + docker inspect -f . ci-base-image-x86_64 18:36:05 . [Pipeline] withDockerContainer 18:36:05 prd-centos7-docker-4c-2g-2011 does not seem to be running inside a container 18:36:05 $ 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 18:36:06 $ docker top ba3f237a1aeaf81183860405868a0f3cc1f9ec9a4dcced513ee549de81627441 -eo pid,comm [Pipeline] { [Pipeline] sh 18:36:07 + go version 18:36:07 go version go1.15.2 linux/amd64 [Pipeline] } 18:36:07 $ docker stop --time=1 ba3f237a1aeaf81183860405868a0f3cc1f9ec9a4dcced513ee549de81627441 18:36:08 $ docker rm -f ba3f237a1aeaf81183860405868a0f3cc1f9ec9a4dcced513ee549de81627441 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:36:10 + docker inspect -f . ci-base-image-x86_64 18:36:10 . [Pipeline] withDockerContainer 18:36:10 prd-centos7-docker-4c-2g-2011 does not seem to be running inside a container 18:36:10 $ 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 18:36:10 $ docker top a1bd32005166eebf2040d6b96cc4b4f73fefe63ddf4cc0a59bb4cded571a73ba -eo pid,comm [Pipeline] { [Pipeline] sh 18:36:11 + make test 18:36:11 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:36:11 ? github.com/edgexfoundry/device-rest-go [no test files] 18:36:22 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:36:22 ok github.com/edgexfoundry/device-rest-go/driver 0.045s coverage: 56.3% of statements 18:36:22 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:36:24 gofmt -l . 18:36:24 [ "`gofmt -l .`" = "" ] 18:36:24 ./bin/test-go-mod-tidy.sh 18:36:24 ./bin/test-attribution-txt.sh [Pipeline] stash 18:36:24 Stashed 1 file(s) [Pipeline] } 18:36:24 $ docker stop --time=1 a1bd32005166eebf2040d6b96cc4b4f73fefe63ddf4cc0a59bb4cded571a73ba 18:36:26 $ docker rm -f a1bd32005166eebf2040d6b96cc4b4f73fefe63ddf4cc0a59bb4cded571a73ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:36:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:36:28 + ls -al . 18:36:28 total 96 18:36:28 drwxrwxr-x. 9 jenkins jenkins 4096 Sep 29 18:36 . 18:36:28 drwxrwxr-x. 4 jenkins jenkins 28 Sep 29 18:35 .. 18:36:28 -rw-rw-r--. 1 jenkins jenkins 4566 Sep 29 18:35 Attribution.txt 18:36:28 drwxrwxr-x. 2 jenkins jenkins 64 Sep 29 18:35 bin 18:36:28 drwxrwxr-x. 3 jenkins jenkins 32 Sep 29 18:35 cmd 18:36:28 -rw-r--r--. 1 jenkins jenkins 9369 Sep 29 18:36 coverage.out 18:36:28 -rw-rw-r--. 1 jenkins jenkins 1519 Sep 29 18:35 Dockerfile 18:36:28 -rw-rw-r--. 1 jenkins jenkins 989 Sep 29 18:35 Dockerfile.build 18:36:28 -rw-rw-r--. 1 jenkins jenkins 151 Sep 29 18:35 .dockerignore 18:36:28 drwxrwxr-x. 2 jenkins jenkins 93 Sep 29 18:36 driver 18:36:28 drwxrwxr-x. 8 jenkins jenkins 179 Sep 29 18:35 .git 18:36:28 drwxrwxr-x. 2 jenkins jenkins 60 Sep 29 18:35 .github 18:36:28 -rw-rw-r--. 1 jenkins jenkins 339 Sep 29 18:35 .gitignore 18:36:28 -rw-r--r--. 1 jenkins jenkins 273 Sep 29 18:36 go.mod 18:36:28 -rw-r--r--. 1 jenkins jenkins 12547 Sep 29 18:36 go.sum 18:36:28 -rw-rw-r--. 1 jenkins jenkins 680 Sep 29 18:35 Jenkinsfile 18:36:28 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 29 18:35 LICENSE 18:36:28 -rw-rw-r--. 1 jenkins jenkins 951 Sep 29 18:35 Makefile 18:36:28 -rw-rw-r--. 1 jenkins jenkins 5917 Sep 29 18:35 README.md 18:36:28 drwxrwxr-x. 3 jenkins jenkins 45 Sep 29 18:35 .semver 18:36:28 drwxrwxr-x. 4 jenkins jenkins 54 Sep 29 18:35 snap 18:36:28 -rw-rw-r--. 1 jenkins jenkins 5 Sep 29 18:33 VERSION 18:36:28 -rw-rw-r--. 1 jenkins jenkins 713 Sep 29 18:35 version.go [Pipeline] isUnix [Pipeline] sh 18:36:29 + 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 . 18:36:29 Sending build context to Docker daemon 8.071MB 18:36:29 Step 1/25 : ARG BASE=golang:1.15-alpine 18:36:29 Step 2/25 : FROM ${BASE} AS builder 18:36:29 ---> a2925ca7e721 18:36:29 Step 3/25 : ARG MAKE='make build' 18:36:29 ---> Running in a23645c52cf4 18:36:29 Removing intermediate container a23645c52cf4 18:36:29 ---> 34514204b3a2 18:36:29 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 18:36:29 ---> Running in 5e3dab1dbc12 18:36:30 Removing intermediate container 5e3dab1dbc12 18:36:30 ---> 5f4acd83f01c 18:36:30 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 18:36:30 ---> Running in a42659772931 18:36:30 Removing intermediate container a42659772931 18:36:30 ---> cf1d5f7f5fb4 18:36:30 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:36:30 ---> Running in b839e55733a0 18:36:30 Removing intermediate container b839e55733a0 18:36:30 ---> 4b627ddb5ed3 18:36:30 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:36:31 ---> Running in 98f28879af41 18:36:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:36:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:36:32 OK: 166 MiB in 39 packages 18:36:33 Removing intermediate container 98f28879af41 18:36:33 ---> cd769215349b 18:36:33 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 18:36:33 ---> Running in b2d7b59825a4 18:36:33 Removing intermediate container b2d7b59825a4 18:36:33 ---> 5ded12d8d3d2 18:36:33 Step 9/25 : COPY go.mod . 18:36:33 ---> 23f46ed37d93 18:36:33 Step 10/25 : COPY Makefile . 18:36:33 ---> 47da4d620b1e 18:36:33 Step 11/25 : RUN make update 18:36:33 ---> Running in e5f95a1211fc 18:36:34 CGO_ENABLED=0 GO111MODULE=on go mod download 18:36:34 Removing intermediate container e5f95a1211fc 18:36:34 ---> f79b2bf62789 18:36:34 Step 12/25 : COPY . . 18:36:36 ---> 30c7b00aced0 18:36:36 Step 13/25 : RUN $MAKE 18:36:36 ---> Running in a723f090ff71 18:36:36 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 18:36:36 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2012 in /w/workspace/dgexfoundry_device-rest-go_PR-45 [Pipeline] { [Pipeline] ws 18:36:36 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 18:36:41 using credential edgex-jenkins-ssh 18:36:42 Cloning the remote Git repository 18:36:42 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:36:42 > git init /w/workspace/device-rest-go/1 # timeout=10 18:36:42 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:36:42 > git --version # timeout=10 18:36:42 > git --version # 'git version 2.17.1' 18:36:42 using GIT_SSH to set credentials SSH Credentials for GitHub 18:36:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:36:44 Merging remotes/origin/master commit 172864091628f91237888ceec3b813680f51db30 into PR head commit 72307dfe99cbc97acd9a19ae833ac49a935faa66 18:36:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:36:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:36:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:36:43 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:36:43 using GIT_SSH to set credentials SSH Credentials for GitHub 18:36:43 > 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 18:36:44 > git config core.sparsecheckout # timeout=10 18:36:44 > git checkout -f 72307dfe99cbc97acd9a19ae833ac49a935faa66 # timeout=10 18:36:44 Merge succeeded, producing 72307dfe99cbc97acd9a19ae833ac49a935faa66 18:36:44 Checking out Revision 72307dfe99cbc97acd9a19ae833ac49a935faa66 (PR-45) 18:36:44 > git remote # timeout=10 18:36:44 > git config --get remote.origin.url # timeout=10 18:36:44 using GIT_SSH to set credentials SSH Credentials for GitHub 18:36:44 > git merge 172864091628f91237888ceec3b813680f51db30 # timeout=10 18:36:44 > git rev-parse HEAD^{commit} # timeout=10 18:36:44 > git config core.sparsecheckout # timeout=10 18:36:44 > git checkout -f 72307dfe99cbc97acd9a19ae833ac49a935faa66 # timeout=10 18:36:46 Removing intermediate container a723f090ff71 18:36:46 ---> 917044a64259 18:36:46 Step 14/25 : FROM alpine:latest 18:36:46 latest: Pulling from library/alpine 18:36:46 df20fa9351a1: Already exists 18:36:46 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 18:36:46 Status: Downloaded newer image for alpine:latest 18:36:46 ---> a24bb4013296 18:36:46 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:36:46 ---> Running in 18e697825b1a 18:36:46 Removing intermediate container 18e697825b1a 18:36:46 ---> fb1f1a876f79 18:36:46 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 18:36:46 ---> Running in 1f783e549f23 18:36:46 Removing intermediate container 1f783e549f23 18:36:46 ---> 5c44d14c3470 18:36:46 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 18:36:47 ---> d0d42d626738 18:36:47 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 18:36:47 ---> c5b4434af6d6 18:36:47 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 18:36:47 ---> 6d44c9271739 18:36:47 Step 20/25 : EXPOSE 49986 18:36:47 ---> Running in af628615eafc 18:36:48 Removing intermediate container af628615eafc 18:36:48 ---> a53580ba01b6 18:36:48 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 18:36:48 ---> Running in fcf93a988c0c 18:36:48 Removing intermediate container fcf93a988c0c 18:36:48 ---> 2a7b8ef1de93 18:36:48 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 18:36:48 ---> Running in 8f1810d52e0c 18:36:48 Removing intermediate container 8f1810d52e0c 18:36:48 ---> 465d74eae1e1 18:36:48 Step 23/25 : LABEL arch=amd64 18:36:48 ---> Running in 066d6401863b 18:36:48 Removing intermediate container 066d6401863b 18:36:48 ---> fe65c3e54e7b 18:36:48 Step 24/25 : LABEL git_sha=72307dfe99cbc97acd9a19ae833ac49a935faa66 18:36:48 ---> Running in f7d942d0da64 18:36:48 Removing intermediate container f7d942d0da64 18:36:48 ---> 0d486ffdb4a3 18:36:48 Step 25/25 : LABEL version=0.0.0 18:36:48 ---> Running in 61cf10790180 18:36:48 Commit message: "build(deps): Bump github.com/spf13/cast from 1.3.0 to 1.3.1" 18:36:48 > git --version # timeout=10 18:36:48 > git --version # 'git version 2.17.1' 18:36:48 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d 18:36:49 Removing intermediate container 61cf10790180 18:36:49 ---> 6dfa92da0f0c 18:36:49 [Warning] One or more build-args [ARCH] were not consumed 18:36:49 Successfully built 6dfa92da0f0c 18:36:49 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 18:36:52 ========================================================= 18:36:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:36:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:36:53 + 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 . 18:36:54 Sending build context to Docker daemon 8.059MB 18:36:54 Step 1/10 : ARG BASE=golang:1.15-alpine 18:36:54 Step 2/10 : FROM ${BASE} 18:36:54 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:36:54 b538f80385f9: Pulling fs layer 18:36:54 74f711af9a0d: Pulling fs layer 18:36:54 99f96fe45779: Pulling fs layer 18:36:54 8529a6b9a6be: Pulling fs layer 18:36:54 45590311c82a: Pulling fs layer 18:36:54 69ca0ff8b7b3: Pulling fs layer 18:36:54 209524e5b208: Pulling fs layer 18:36:54 45590311c82a: Waiting 18:36:54 69ca0ff8b7b3: Waiting 18:36:54 8529a6b9a6be: Waiting 18:36:54 209524e5b208: Waiting 18:36:54 99f96fe45779: Verifying Checksum 18:36:54 99f96fe45779: Download complete 18:36:54 74f711af9a0d: Download complete 18:36:54 45590311c82a: Verifying Checksum 18:36:54 45590311c82a: Download complete 18:36:55 69ca0ff8b7b3: Download complete 18:36:55 b538f80385f9: Verifying Checksum 18:36:55 b538f80385f9: Download complete 18:36:56 b538f80385f9: Pull complete 18:36:56 74f711af9a0d: Pull complete 18:36:57 99f96fe45779: Pull complete 18:36:57 209524e5b208: Verifying Checksum 18:36:57 209524e5b208: Download complete 18:36:59 8529a6b9a6be: Verifying Checksum 18:36:59 8529a6b9a6be: Download complete 18:37:09 8529a6b9a6be: Pull complete 18:37:09 45590311c82a: Pull complete 18:37:09 69ca0ff8b7b3: Pull complete 18:37:12 209524e5b208: Pull complete 18:37:12 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 18:37:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:37:12 ---> 5bddaf1c2fca 18:37:12 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 18:37:16 ---> Running in c0f87b973999 18:37:16 Removing intermediate container c0f87b973999 18:37:16 ---> 01cf0f8054ea 18:37:16 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 18:37:16 ---> Running in 0d145030716c 18:37:16 Removing intermediate container 0d145030716c 18:37:16 ---> 6c75fee81918 18:37:16 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:37:16 ---> Running in 1b8a3255ca59 18:37:17 Removing intermediate container 1b8a3255ca59 18:37:17 ---> ed9d0c85173f 18:37:17 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:37:17 ---> Running in f97e6f06cf31 18:37:19 Removing intermediate container f97e6f06cf31 18:37:19 ---> 886ac599bd2e 18:37:19 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:37:20 ---> Running in fc9a33d171b2 18:37:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:37:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:37:22 OK: 142 MiB in 39 packages 18:37:24 Removing intermediate container fc9a33d171b2 18:37:24 ---> 7de888e4cae5 18:37:24 Step 8/10 : WORKDIR /device-rest-go 18:37:24 ---> Running in bcd4b1a82815 18:37:24 Removing intermediate container bcd4b1a82815 18:37:24 ---> 38f257465df6 18:37:24 Step 9/10 : COPY . . 18:37:26 ---> d7b9922c9445 18:37:26 Step 10/10 : RUN go mod download 18:37:26 ---> Running in e141d70fb8f2 18:37:41 Removing intermediate container e141d70fb8f2 18:37:41 ---> faa9c7538784 18:37:41 Successfully built faa9c7538784 18:37:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:37:41 + docker inspect -f . ci-base-image-arm64 18:37:41 . [Pipeline] withDockerContainer 18:37:42 prd-ubuntu18.04-docker-arm64-4c-16g-2012 does not seem to be running inside a container 18:37:42 $ 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 18:37:44 $ docker top 06ee674d9ae7302dda8a8f6c02eb8794eaba634b93d1a3d10199120a7392d6b9 -eo pid,comm [Pipeline] { [Pipeline] sh 18:37:45 + go version 18:37:45 go version go1.15.2 linux/arm64 [Pipeline] } 18:37:45 $ docker stop --time=1 06ee674d9ae7302dda8a8f6c02eb8794eaba634b93d1a3d10199120a7392d6b9 18:37:47 $ docker rm -f 06ee674d9ae7302dda8a8f6c02eb8794eaba634b93d1a3d10199120a7392d6b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:37:48 + docker inspect -f . ci-base-image-arm64 18:37:48 . [Pipeline] withDockerContainer 18:37:49 prd-ubuntu18.04-docker-arm64-4c-16g-2012 does not seem to be running inside a container 18:37:49 $ 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 18:37:51 $ docker top 4e3f3a93e44c415703770dce7e50062fc55f33db0f0d836c3fb66d4b67c6f148 -eo pid,comm [Pipeline] { [Pipeline] sh 18:37:52 + make test 18:37:52 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:37:53 ? github.com/edgexfoundry/device-rest-go [no test files] 18:38:26 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:38:26 ok github.com/edgexfoundry/device-rest-go/driver 0.037s coverage: 56.3% of statements 18:38:26 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:38:30 gofmt -l . 18:38:30 [ "`gofmt -l .`" = "" ] 18:38:30 ./bin/test-go-mod-tidy.sh 18:38:30 ./bin/test-attribution-txt.sh [Pipeline] stash 18:38:31 Warning: overwriting stash ‘coverage-report’ 18:38:32 Stashed 1 file(s) [Pipeline] } 18:38:32 $ docker stop --time=1 4e3f3a93e44c415703770dce7e50062fc55f33db0f0d836c3fb66d4b67c6f148 18:38:34 $ docker rm -f 4e3f3a93e44c415703770dce7e50062fc55f33db0f0d836c3fb66d4b67c6f148 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:38:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:38:36 + ls -al . 18:38:36 total 128 18:38:36 drwxrwxr-x 9 jenkins jenkins 4096 Sep 29 18:38 . 18:38:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 18:36 .. 18:38:36 -rw-rw-r-- 1 jenkins jenkins 151 Sep 29 18:36 .dockerignore 18:38:36 drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 18:36 .git 18:38:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 18:36 .github 18:38:36 -rw-rw-r-- 1 jenkins jenkins 339 Sep 29 18:36 .gitignore 18:38:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 18:36 .semver 18:38:36 -rw-rw-r-- 1 jenkins jenkins 4566 Sep 29 18:36 Attribution.txt 18:38:36 -rw-rw-r-- 1 jenkins jenkins 1519 Sep 29 18:36 Dockerfile 18:38:36 -rw-rw-r-- 1 jenkins jenkins 989 Sep 29 18:36 Dockerfile.build 18:38:36 -rw-rw-r-- 1 jenkins jenkins 680 Sep 29 18:36 Jenkinsfile 18:38:36 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 29 18:36 LICENSE 18:38:36 -rw-rw-r-- 1 jenkins jenkins 951 Sep 29 18:36 Makefile 18:38:36 -rw-rw-r-- 1 jenkins jenkins 5917 Sep 29 18:36 README.md 18:38:36 -rw-rw-r-- 1 jenkins jenkins 5 Sep 29 18:33 VERSION 18:38:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 18:36 bin 18:38:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 18:36 cmd 18:38:36 -rw-r--r-- 1 jenkins jenkins 9369 Sep 29 18:38 coverage.out 18:38:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 18:38 driver 18:38:36 -rw-r--r-- 1 jenkins jenkins 273 Sep 29 18:38 go.mod 18:38:36 -rw-r--r-- 1 jenkins jenkins 12547 Sep 29 18:38 go.sum 18:38:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 18:36 snap 18:38:36 -rw-rw-r-- 1 jenkins jenkins 713 Sep 29 18:36 version.go [Pipeline] isUnix [Pipeline] sh 18:38:37 + 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 . 18:38:37 Sending build context to Docker daemon 8.071MB 18:38:37 Step 1/25 : ARG BASE=golang:1.15-alpine 18:38:37 Step 2/25 : FROM ${BASE} AS builder 18:38:37 ---> faa9c7538784 18:38:37 Step 3/25 : ARG MAKE='make build' 18:38:38 ---> Running in b9ccfae542ea 18:38:38 Removing intermediate container b9ccfae542ea 18:38:38 ---> 7d2b82aa1ee1 18:38:38 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 18:38:38 ---> Running in 3aef6a4e6291 18:38:39 Removing intermediate container 3aef6a4e6291 18:38:39 ---> 098479b09f41 18:38:39 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 18:38:39 ---> Running in 99124bfa8931 18:38:40 Removing intermediate container 99124bfa8931 18:38:40 ---> b8632a8b6d7f 18:38:40 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:38:40 ---> Running in 2b464e70a110 18:38:42 Removing intermediate container 2b464e70a110 18:38:42 ---> c6ad91d0294e 18:38:42 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:38:42 ---> Running in b8d09d546fb9 18:38:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:38:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:38:46 OK: 142 MiB in 39 packages 18:38:47 Removing intermediate container b8d09d546fb9 18:38:47 ---> 1d9c104fa38a 18:38:47 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 18:38:47 ---> Running in cecfc367eb99 18:38:48 Removing intermediate container cecfc367eb99 18:38:48 ---> 97439041caae 18:38:48 Step 9/25 : COPY go.mod . 18:38:48 ---> 4acd63061bf6 18:38:48 Step 10/25 : COPY Makefile . 18:38:49 ---> 397a376840e2 18:38:49 Step 11/25 : RUN make update 18:38:49 ---> Running in 1ed8d0f6fcaa 18:38:51 CGO_ENABLED=0 GO111MODULE=on go mod download 18:38:51 Removing intermediate container 1ed8d0f6fcaa 18:38:51 ---> 4cdf63c8dc28 18:38:51 Step 12/25 : COPY . . 18:38:53 ---> 2484df2f1f05 18:38:53 Step 13/25 : RUN $MAKE 18:38:53 ---> Running in e1e6d68fcbf8 18:38:54 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 18:39:21 Removing intermediate container e1e6d68fcbf8 18:39:21 ---> 596086d22ba3 18:39:21 Step 14/25 : FROM alpine:latest 18:39:21 latest: Pulling from library/alpine 18:39:21 b538f80385f9: Already exists 18:39:22 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 18:39:22 Status: Downloaded newer image for alpine:latest 18:39:22 ---> 62ee0e9f8440 18:39:22 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:39:22 ---> Running in 516e229f4b2c 18:39:22 Removing intermediate container 516e229f4b2c 18:39:22 ---> b915ced5c0b3 18:39:22 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 18:39:23 ---> Running in 96d199cbff59 18:39:23 Removing intermediate container 96d199cbff59 18:39:23 ---> 6e6876fb1300 18:39:23 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 18:39:24 ---> 2f08bac53fc8 18:39:24 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 18:39:24 ---> 09cab05ca186 18:39:24 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 18:39:25 ---> 68b7afebaaa0 18:39:25 Step 20/25 : EXPOSE 49986 18:39:26 ---> Running in 260f2e8a6062 18:39:26 Removing intermediate container 260f2e8a6062 18:39:26 ---> 10bd67588c93 18:39:26 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 18:39:26 ---> Running in d47f87ed48c5 18:39:27 Removing intermediate container d47f87ed48c5 18:39:27 ---> 5b3ae0248190 18:39:27 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 18:39:27 ---> Running in b61bc6aa62dd 18:39:27 Removing intermediate container b61bc6aa62dd 18:39:27 ---> 9e6086b03319 18:39:27 Step 23/25 : LABEL arch=arm64 18:39:27 ---> Running in f5ef4b2759e5 18:39:28 Removing intermediate container f5ef4b2759e5 18:39:28 ---> b6c3597bb890 18:39:28 Step 24/25 : LABEL git_sha=72307dfe99cbc97acd9a19ae833ac49a935faa66 18:39:28 ---> Running in bac4a6e90ac4 18:39:29 Removing intermediate container bac4a6e90ac4 18:39:29 ---> c30f286d5ef2 18:39:29 Step 25/25 : LABEL version=0.0.0 18:39:29 ---> Running in 7b393402473c 18:39:29 Removing intermediate container 7b393402473c 18:39:29 ---> cbd702c6e1a7 18:39:29 [Warning] One or more build-args [ARCH] were not consumed 18:39:29 Successfully built cbd702c6e1a7 18:39:29 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 18:39:32 provisioning config files... 18:39:32 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-45@tmp/config7495098184741324580tmp [Pipeline] { [Pipeline] sh 18:39:33 + set +x 18:39:33 + curl -s https://codecov.io/bash 18:39:33 + bash -s -- 18:39:33 18:39:33 _____ _ 18:39:33 / ____| | | 18:39:33 | | ___ __| | ___ ___ _____ __ 18:39:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:39:33 | |___| (_) | (_| | __/ (_| (_) \ V / 18:39:33 \_____\___/ \__,_|\___|\___\___/ \_/ 18:39:33 Bash-20200917-4e8f14b 18:39:33 18:39:33 18:39:33 ==> Jenkins CI detected. 18:39:33 project root: . 18:39:33 --> token set from env 18:39:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:39:33 ==> Running gcov in . (disable via -X gcov) 18:39:33 ==> Python coveragepy not found 18:39:33 ==> Searching for coverage reports in: 18:39:33 + . 18:39:33 -> Found 1 reports 18:39:33 ==> Detecting git/mercurial file structure 18:39:33 ==> Reading reports 18:39:33 + ./coverage.out bytes=9369 18:39:33 ==> Appending adjustments 18:39:33 https://docs.codecov.io/docs/fixing-reports 18:39:33 + Found adjustments 18:39:33 ==> Gzipping contents 18:39:33 ==> Uploading reports 18:39:33 url: https://codecov.io 18:39:33 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= 18:39:33 -> Pinging Codecov 18:39:33 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= 18:39:33 -> Uploading to 18:39:33 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 18:39:33 % Total % Received % Xferd Average Speed Time Time Time Current 18:39:33 Dload Upload Total Spent Left Speed 18:39:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1695 0 0 100 1695 0 4318 --:--:-- --:--:-- --:--:-- 4323 18:39:34 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/72307dfe99cbc97acd9a19ae833ac49a935faa66 [Pipeline] } 18:39:34 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 18:39:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:39:38 ---> package-listing.sh 18:39:38 ++ facter osfamily 18:39:38 ++ tr '[:upper:]' '[:lower:]' 18:39:38 + OS_FAMILY=redhat 18:39:38 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-45 18:39:38 + START_PACKAGES=/tmp/packages_start.txt 18:39:38 + END_PACKAGES=/tmp/packages_end.txt 18:39:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:39:38 + PACKAGES=/tmp/packages_start.txt 18:39:38 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-45 ']' 18:39:38 + PACKAGES=/tmp/packages_end.txt 18:39:38 + case "${OS_FAMILY}" in 18:39:38 + rpm -qa 18:39:38 + sort 18:39:43 + '[' -f /tmp/packages_start.txt ']' 18:39:43 + '[' -f /tmp/packages_end.txt ']' 18:39:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:39:43 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-45 ']' 18:39:43 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-45/archives/ 18:39:43 + 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 18:39:43 provisioning config files... 18:39:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-45@tmp/config1247935633901182023tmp [Pipeline] { [Pipeline] echo 18:39:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:39:43 ---> create-netrc.sh [Pipeline] } 18:39:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:39:43 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:39:44 ---> python-tools-install.sh 18:39:44 Generating Requirements File 18:41:05 Python 3.6.8 18:41:05 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 18:41:05 aiohttp==3.6.2 18:41:05 appdirs==1.4.3 18:41:05 argcomplete==1.12.1 18:41:05 aspy.yaml==1.3.0 18:41:05 async-timeout==3.0.1 18:41:05 attrs==19.3.0 18:41:05 Babel==2.8.0 18:41:05 beautifulsoup4==4.8.2 18:41:05 boto3==1.11.6 18:41:05 botocore==1.14.6 18:41:05 bs4==0.0.1 18:41:05 cachetools==4.1.1 18:41:05 certifi==2019.11.28 18:41:05 cffi==1.14.3 18:41:05 cfgv==2.0.1 18:41:05 chardet==3.0.4 18:41:05 click==7.1 18:41:05 cliff==3.4.0 18:41:05 cmd2==1.3.10 18:41:05 colorama==0.4.3 18:41:05 cryptography==3.1.1 18:41:05 debtcollector==2.2.0 18:41:05 decorator==4.4.2 18:41:05 defusedxml==0.6.0 18:41:05 Deprecated==1.2.7 18:41:05 distlib==0.3.1 18:41:05 distro==1.2.0 18:41:05 dnspython==1.16.0 18:41:05 docker==4.2.0 18:41:05 docutils==0.15.2 18:41:05 dogpile.cache==1.0.2 18:41:05 email-validator==1.0.5 18:41:05 filelock==3.0.12 18:41:05 future==0.18.2 18:41:05 google-auth==1.22.0 18:41:05 httplib2==0.17.0 18:41:05 identify==1.4.11 18:41:05 idna==2.9 18:41:05 idna-ssl==1.1.0 18:41:05 importlib-metadata==1.7.0 18:41:05 importlib-resources==1.5.0 18:41:05 iso8601==0.1.13 18:41:05 Jinja2==2.11.1 18:41:05 jmespath==0.10.0 18:41:05 jsonpatch==1.26 18:41:05 jsonpointer==2.0 18:41:05 jsonschema==3.2.0 18:41:05 keystoneauth1==4.2.1 18:41:05 kubernetes==11.0.0 18:41:05 lftools==0.34.2 18:41:05 lxml==4.5.0 18:41:05 MarkupSafe==0.23 18:41:05 msgpack==1.0.0 18:41:05 multi-key-dict==2.0.3 18:41:05 multidict==4.7.6 18:41:05 munch==2.5.0 18:41:05 netaddr==0.8.0 18:41:05 netifaces==0.10.9 18:41:05 niet==1.4.2 18:41:05 nodeenv==1.3.5 18:41:05 oauth2client==4.1.3 18:41:05 oauthlib==3.1.0 18:41:05 openstacksdk==0.50.0 18:41:05 os-client-config==2.1.0 18:41:05 os-service-types==1.7.0 18:41:05 osc-lib==2.2.1 18:41:05 oslo.config==8.3.2 18:41:05 oslo.context==3.1.1 18:41:05 oslo.i18n==5.0.1 18:41:05 oslo.log==4.4.0 18:41:05 oslo.serialization==4.0.1 18:41:05 oslo.utils==4.6.0 18:41:05 packaging==20.4 18:41:05 pbr==5.4.4 18:41:05 pluggy==0.13.1 18:41:05 prettytable==0.7.2 18:41:05 py==1.9.0 18:41:05 pyasn1==0.4.8 18:41:05 pyasn1-modules==0.2.8 18:41:05 pycparser==2.20 18:41:05 pygerrit2==2.0.10 18:41:05 PyGithub==1.46 18:41:05 pyinotify==0.9.6 18:41:05 PyJWT==1.7.1 18:41:05 pyparsing==2.4.7 18:41:05 pyperclip==1.8.0 18:41:05 pyroute2==0.4.13 18:41:05 pyrsistent==0.15.7 18:41:05 PySocks==1.6.8 18:41:05 python-cinderclient==7.2.0 18:41:05 python-dateutil==2.8.1 18:41:05 python-heatclient==2.2.1 18:41:05 python-jenkins==1.7.0 18:41:05 python-keystoneclient==4.1.1 18:41:05 python-magnumclient==3.2.1 18:41:05 python-novaclient==17.2.1 18:41:05 python-openstackclient==5.3.1 18:41:05 python-swiftclient==3.10.1 18:41:05 pytz==2020.1 18:41:05 PyYAML==5.3 18:41:05 requests==2.23.0 18:41:05 requests-oauthlib==1.3.0 18:41:05 requestsexceptions==1.4.0 18:41:05 rfc3986==1.4.0 18:41:05 rpm==4.11.3 18:41:05 rsa==4.0 18:41:05 ruamel.yaml==0.16.10 18:41:05 ruamel.yaml.clib==0.2.0 18:41:05 s3transfer==0.3.3 18:41:05 shade==1.27.2 18:41:05 simplejson==3.17.2 18:41:05 six==1.14.0 18:41:05 soupsieve==2.0 18:41:05 stevedore==3.2.2 18:41:05 tabulate==0.8.6 18:41:05 toml==0.10.0 18:41:05 tox==3.20.0 18:41:05 tqdm==4.43.0 18:41:05 typing-extensions==3.7.4.3 18:41:05 urllib3==1.25.8 18:41:05 virtualenv==20.0.31 18:41:05 wcwidth==0.2.5 18:41:05 websocket-client==0.57.0 18:41:05 wrapt==1.12.1 18:41:05 xdg==3.0.2 18:41:05 xmltodict==0.12.0 18:41:05 yarl==1.6.0 18:41:05 yq==2.11.1 18:41:05 zipp==3.2.0 18:41:05 Cache entry deserialization failed, entry ignored 18:41:05 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. 18:41:05 Python 2.7.5 18:41:05 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 18:41:05 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. 18:41:05 ansible==2.9.7 18:41:05 Babel==0.9.6 18:41:05 backports.ssl-match-hostname==3.5.0.1 18:41:05 beautifulsoup4==4.4.1 18:41:05 bodhi==2.11.0 18:41:05 bodhi-client==2.11.0 18:41:05 CCColUtils==1.4 18:41:05 cffi==1.6.0 18:41:05 chardet==2.2.1 18:41:05 click==6.7 18:41:05 cloud-init==18.5 18:41:05 configobj==4.7.2 18:41:05 cryptography==1.7.2 18:41:05 decorator==3.4.0 18:41:05 distro==1.2.0 18:41:05 enum34==1.0.4 18:41:05 fedpkg==1.38 18:41:05 futures==3.1.1 18:41:05 gitdb==0.6.4 18:41:05 GitPython==1.0.1 18:41:05 html5lib==0.999 18:41:05 httplib2==0.9.2 18:41:05 idna==2.4 18:41:05 iniparse==0.4 18:41:05 ipaddress==1.0.16 18:41:05 IPy==0.75 18:41:05 javapackages==1.0.0 18:41:05 Jinja2==2.7.2 18:41:05 jmespath==0.9.4 18:41:05 jsonpatch==1.2 18:41:05 jsonpointer==1.9 18:41:05 kerberos==1.1 18:41:05 kitchen==1.1.1 18:41:05 langtable==0.0.31 18:41:05 lockfile==0.9.1 18:41:05 lxml==3.2.1 18:41:05 MarkupSafe==0.11 18:41:05 munch==2.0.2 18:41:05 offtrac==0.1.0 18:41:05 openidc-client==0.6.0 18:41:05 packagedb-cli==2.14.1 18:41:05 paramiko==2.1.1 18:41:05 perf==0.1 18:41:05 ply==3.4 18:41:05 policycoreutils-default-encoding==0.1 18:41:05 prettytable==0.7.2 18:41:05 pyasn1==0.1.9 18:41:05 pycparser==2.14 18:41:05 pycurl==7.19.0 18:41:05 pygobject==3.22.0 18:41:05 pygpgme==0.3 18:41:05 pyliblzma==0.5.3 18:41:05 pyOpenSSL==0.13.1 18:41:05 pyparsing==1.5.6 18:41:05 pyserial==2.6 18:41:05 python-augeas==0.5.0 18:41:05 python-bugzilla==2.3.0 18:41:05 python-dateutil==1.5 18:41:05 python-fedora==0.10.0 18:41:05 python-linux-procfs==0.4.9 18:41:05 python-yubico==1.2.3 18:41:05 pyudev==0.15 18:41:05 pyusb==1.0.0b1 18:41:05 pyxattr==0.5.1 18:41:05 PyYAML==3.10 18:41:05 requests==2.6.0 18:41:05 requests-kerberos==0.7.0 18:41:05 rpkg==1.60 18:41:05 schedutils==0.4 18:41:05 seobject==0.1 18:41:05 sepolicy==1.1 18:41:05 six==1.9.0 18:41:05 smmap==0.9.0 18:41:05 urlgrabber==3.10 18:41:05 urllib3==1.10.2 18:41:05 virtualenv==15.1.0 18:41:05 yum-langpacks==0.4.2 18:41:05 yum-metadata-parser==1.1.4 [Pipeline] echo 18:41:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:41:06 ---> sudo-logs.sh 18:41:06 Archiving 'sudo' log.. [Pipeline] echo 18:41:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:41:06 ---> job-cost.sh 18:41:06 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-D6We 18:41:19 Cache entry deserialization failed, entry ignored 18:41:19 Cache entry deserialization failed, entry ignored 18:41:19 Cache entry deserialization failed, entry ignored 18:41:19 Cache entry deserialization failed, entry ignored 18:41:19 Cache entry deserialization failed, entry ignored 18:41:19 Cache entry deserialization failed, entry ignored 18:41:19 Cache entry deserialization failed, entry ignored 18:41:19 Cache entry deserialization failed, entry ignored 18:41:19 Cache entry deserialization failed, entry ignored 18:41:19 Cache entry deserialization failed, entry ignored 18:41:19 Cache entry deserialization failed, entry ignored 18:41:19 Cache entry deserialization failed, entry ignored 18:41:19 Cache entry deserialization failed, entry ignored 18:41:22 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:41:54 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. 18:41:54 18:41:54 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 18:41:54 18:41:54 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. 18:41:54 lf-activate-venv(): INFO: Adding /tmp/venv-D6We/bin to PATH 18:41:54 INFO: No Stack... 18:41:54 INFO: Retrieving Pricing Info for: v1-standard-2 18:41:54 INFO: Archiving Costs [Pipeline] echo 18:41:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:41:54 ---> logs-deploy.sh 18:41:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-45/1 18:41:54 INFO: archiving workspace using pattern(s): 18:41:56 Archives upload complete. 18:41:56 INFO: archiving logs to Nexus