Pull request #599 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ef7c9dfe87f3484f78592bee813252dc44a3730c+0cafa7decaaa0dab3b86f836c2c615e8e839d11b (a5c6e51bff3364fa760a5ca63dc66d3063f57427) 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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 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-sdk-go/branches/PR-599/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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 85bea31ad76f85e2acd5a821f20c71e435d4ae12 # timeout=10 Commit message: "Merge pull request #249 from ernestojeda/fix-build-artifact" > 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-sdk-go/branches/PR-599/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 85bea31ad76f85e2acd5a821f20c71e435d4ae12 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-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1472 in /w/workspace/dgexfoundry_device-sdk-go_PR-599 [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-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-599 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit ef7c9dfe87f3484f78592bee813252dc44a3730c Merge succeeded, producing ef7c9dfe87f3484f78592bee813252dc44a3730c Checking out Revision ef7c9dfe87f3484f78592bee813252dc44a3730c (PR-599) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/599/head:refs/remotes/origin/PR-599 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ef7c9dfe87f3484f78592bee813252dc44a3730c # 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 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ef7c9dfe87f3484f78592bee813252dc44a3730c # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:28:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:28:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:28:46 ========================================================= 06:28:46 EdgeX Global Pipelines Version Info 06:28:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:28:48 ------------------- 06:28:48 stable info: 06:28:48 ------------------- 06:28:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:28:48 Commit SHA: 85bea31ad76f85e2acd5a821f20c71e435d4ae12 06:28:48 Message: update stable to v1.0.128 06:28:49 ------------------- 06:28:49 experimental info: 06:28:49 ------------------- 06:28:49 Commited By: **** collab-it+edgex@linuxfoundation.org 06:28:49 Commit SHA: db8a1d80b86ca0f96dca4d6027083ac3162e2a74 06:28:49 Message: update experimental to v1.0.129 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:28:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:28:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:28:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:28:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:28:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:28:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:28:51 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:28:51 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:28:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:28:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:28:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:28:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:28:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:28:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:28:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:28:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:28:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:28:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:28:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:28:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:28:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:28:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:28:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:28:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:28:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:28:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-599 [Pipeline] echo 06:28:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-599 [Pipeline] echo 06:28:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-599 [Pipeline] echo 06:28:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ef7c9dfe87f3484f78592bee813252dc44a3730c [Pipeline] echo 06:28:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ef7c9df [Pipeline] echo 06:28:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:28:55 + git log --format=format:%s -1 ef7c9dfe87f3484f78592bee813252dc44a3730c [Pipeline] echo 06:28:55 GIT_COMMIT: ef7c9dfe87f3484f78592bee813252dc44a3730c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 06:28:55 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:28:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:28:56 06:28:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:28:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:28:57 latest: Pulling from edgex-devops/git-semver 06:28:57 31603596830f: Pulling fs layer 06:28:57 2a8b12db71e7: Pulling fs layer 06:28:57 6ca5941a6612: Pulling fs layer 06:28:57 ecc8261a40a4: Pulling fs layer 06:28:57 ecc8261a40a4: Waiting 06:28:57 2a8b12db71e7: Verifying Checksum 06:28:57 2a8b12db71e7: Download complete 06:28:57 31603596830f: Verifying Checksum 06:28:57 31603596830f: Download complete 06:28:57 ecc8261a40a4: Verifying Checksum 06:28:57 ecc8261a40a4: Download complete 06:28:57 6ca5941a6612: Verifying Checksum 06:28:57 6ca5941a6612: Download complete 06:28:57 31603596830f: Pull complete 06:28:57 2a8b12db71e7: Pull complete 06:28:58 6ca5941a6612: Pull complete 06:28:58 ecc8261a40a4: Pull complete 06:28:58 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:28:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:28:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:28:58 prd-centos7-docker-4c-2g-1472 does not seem to be running inside a container 06:28:59 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-599 -v /w/workspace/dgexfoundry_device-sdk-go_PR-599:/w/workspace/dgexfoundry_device-sdk-go_PR-599:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-599@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-599@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 06:29:01 $ docker top 48a7b91180a4b1101c93390517982dd359e0169709a8a19dba0f6a56901b385b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:29:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:29:01 [ssh-agent] Looking for ssh-agent implementation... 06:29:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:29:01 $ docker exec 48a7b91180a4b1101c93390517982dd359e0169709a8a19dba0f6a56901b385b ssh-agent 06:29:02 SSH_AUTH_SOCK=/tmp/ssh-tYECMyVd4gnj/agent.12 06:29:02 SSH_AGENT_PID=17 06:29:02 Running ssh-add (command line suppressed) 06:29:02 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-599@tmp/private_key_274476688123997243.key (/w/workspace/dgexfoundry_device-sdk-go_PR-599@tmp/private_key_274476688123997243.key) 06:29:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:29:02 + git describe --exact-match --tags HEAD 06:29:02 fatal: no tag exactly matches 'ef7c9dfe87f3484f78592bee813252dc44a3730c' [Pipeline] } 06:29:02 $ docker exec --env ******** --env ******** 48a7b91180a4b1101c93390517982dd359e0169709a8a19dba0f6a56901b385b ssh-agent -k 06:29:02 unset SSH_AUTH_SOCK; 06:29:02 unset SSH_AGENT_PID; 06:29:02 echo Agent pid 17 killed; 06:29:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:29:02 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:29:02 This usually means this commit has not been tagged. [Pipeline] sshagent 06:29:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:29:03 [ssh-agent] Looking for ssh-agent implementation... 06:29:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:29:03 $ docker exec 48a7b91180a4b1101c93390517982dd359e0169709a8a19dba0f6a56901b385b ssh-agent 06:29:03 SSH_AUTH_SOCK=/tmp/ssh-BVkT7gkvWJCl/agent.45 06:29:03 SSH_AGENT_PID=50 06:29:03 Running ssh-add (command line suppressed) 06:29:03 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-599@tmp/private_key_119208735146080428.key (/w/workspace/dgexfoundry_device-sdk-go_PR-599@tmp/private_key_119208735146080428.key) 06:29:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:29:04 + git semver init 06:29:04 # -> Open(): unable to determine branch for HEAD 06:29:04 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-599/.git 06:29:04 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-599 06:29:04 # $SEMVER_REMOTE_NAME = origin 06:29:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:29:04 # $SEMVER_USER_NAME = edgex-jenkins 06:29:04 # $SEMVER_BRANCH = PR-599 06:29:04 # $SEMVER_TEMP = /tmp/semver-645393888 06:29:04 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:29:04 # '/tmp/semver-645393888' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-599/.semver' 06:29:04 # -> Force: false 06:29:04 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-599/.semver [Pipeline] } 06:29:04 $ docker exec --env ******** --env ******** 48a7b91180a4b1101c93390517982dd359e0169709a8a19dba0f6a56901b385b ssh-agent -k 06:29:04 unset SSH_AUTH_SOCK; 06:29:04 unset SSH_AGENT_PID; 06:29:04 echo Agent pid 50 killed; 06:29:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:29:05 + git semver [Pipeline] } 06:29:05 $ docker stop --time=1 48a7b91180a4b1101c93390517982dd359e0169709a8a19dba0f6a56901b385b 06:29:07 $ docker rm -f 48a7b91180a4b1101c93390517982dd359e0169709a8a19dba0f6a56901b385b [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:29:07 Stashed 39 file(s) [Pipeline] echo 06:29:07 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 06:29:08 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 06:29:24 Still waiting to schedule task 06:29:24 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:29:24 Still waiting to schedule task 06:29:24 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1470’ is offline 06:31:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1474 in /w/workspace/dgexfoundry_device-sdk-go_PR-599 [Pipeline] { [Pipeline] ws 06:31:10 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:31:15 using credential edgex-jenkins-ssh 06:31:15 Cloning the remote Git repository 06:31:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:31:15 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:31:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:31:15 > git --version # timeout=10 06:31:15 > git --version # 'git version 2.17.1' 06:31:15 using GIT_SSH to set credentials SSH Credentials for GitHub 06:31:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:31:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:31:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:31:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:31:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:31:16 using GIT_SSH to set credentials SSH Credentials for GitHub 06:31:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/599/head:refs/remotes/origin/PR-599 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:31:17 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit ef7c9dfe87f3484f78592bee813252dc44a3730c 06:31:17 Merge succeeded, producing ef7c9dfe87f3484f78592bee813252dc44a3730c 06:31:17 Checking out Revision ef7c9dfe87f3484f78592bee813252dc44a3730c (PR-599) 06:31:17 > git config core.sparsecheckout # timeout=10 06:31:17 > git checkout -f ef7c9dfe87f3484f78592bee813252dc44a3730c # timeout=10 06:31:17 > git remote # timeout=10 06:31:17 > git config --get remote.origin.url # timeout=10 06:31:17 using GIT_SSH to set credentials SSH Credentials for GitHub 06:31:17 > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 06:31:17 > git rev-parse HEAD^{commit} # timeout=10 06:31:17 > git config core.sparsecheckout # timeout=10 06:31:17 > git checkout -f ef7c9dfe87f3484f78592bee813252dc44a3730c # timeout=10 06:31:22 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 06:31:22 > git --version # timeout=10 06:31:22 > git --version # 'git version 2.17.1' 06:31:22 fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:31:23 ========================================================= 06:31:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:31:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:31:24 + 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 . 06:31:25 Sending build context to Docker daemon 3.365MB 06:31:25 Step 1/8 : ARG BASE=golang:1.15-alpine 06:31:25 Step 2/8 : FROM ${BASE} 06:31:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:31:26 b538f80385f9: Pulling fs layer 06:31:26 74f711af9a0d: Pulling fs layer 06:31:26 99f96fe45779: Pulling fs layer 06:31:26 8529a6b9a6be: Pulling fs layer 06:31:26 45590311c82a: Pulling fs layer 06:31:26 69ca0ff8b7b3: Pulling fs layer 06:31:26 209524e5b208: Pulling fs layer 06:31:26 45590311c82a: Waiting 06:31:26 69ca0ff8b7b3: Waiting 06:31:26 8529a6b9a6be: Waiting 06:31:26 209524e5b208: Waiting 06:31:26 99f96fe45779: Verifying Checksum 06:31:26 99f96fe45779: Download complete 06:31:26 74f711af9a0d: Verifying Checksum 06:31:26 74f711af9a0d: Download complete 06:31:26 45590311c82a: Verifying Checksum 06:31:26 45590311c82a: Download complete 06:31:26 69ca0ff8b7b3: Verifying Checksum 06:31:26 69ca0ff8b7b3: Download complete 06:31:26 b538f80385f9: Verifying Checksum 06:31:26 b538f80385f9: Download complete 06:31:26 b538f80385f9: Pull complete 06:31:27 74f711af9a0d: Pull complete 06:31:27 99f96fe45779: Pull complete 06:31:28 209524e5b208: Verifying Checksum 06:31:28 209524e5b208: Download complete 06:31:29 8529a6b9a6be: Verifying Checksum 06:31:29 8529a6b9a6be: Download complete 06:31:32 Running on prd-centos7-docker-4c-2g-1475 in /w/workspace/dgexfoundry_device-sdk-go_PR-599 [Pipeline] { [Pipeline] ws 06:31:32 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:31:37 using credential edgex-jenkins-ssh 06:31:37 Cloning the remote Git repository 06:31:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:31:37 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:31:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:31:38 > git --version # timeout=10 06:31:38 > git --version # 'git version 2.16.5' 06:31:38 using GIT_SSH to set credentials SSH Credentials for GitHub 06:31:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:31:40 Merging remotes/origin/master commit 0cafa7decaaa0dab3b86f836c2c615e8e839d11b into PR head commit ef7c9dfe87f3484f78592bee813252dc44a3730c 06:31:40 8529a6b9a6be: Pull complete 06:31:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:31:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:31:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:31:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:31:39 using GIT_SSH to set credentials SSH Credentials for GitHub 06:31:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/599/head:refs/remotes/origin/PR-599 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:31:40 > git config core.sparsecheckout # timeout=10 06:31:40 > git checkout -f ef7c9dfe87f3484f78592bee813252dc44a3730c # timeout=10 06:31:40 Merge succeeded, producing ef7c9dfe87f3484f78592bee813252dc44a3730c 06:31:40 Checking out Revision ef7c9dfe87f3484f78592bee813252dc44a3730c (PR-599) 06:31:40 45590311c82a: Pull complete 06:31:41 69ca0ff8b7b3: Pull complete 06:31:40 > git remote # timeout=10 06:31:40 > git config --get remote.origin.url # timeout=10 06:31:40 using GIT_SSH to set credentials SSH Credentials for GitHub 06:31:40 > git merge 0cafa7decaaa0dab3b86f836c2c615e8e839d11b # timeout=10 06:31:40 > git rev-parse HEAD^{commit} # timeout=10 06:31:40 > git config core.sparsecheckout # timeout=10 06:31:40 > git checkout -f ef7c9dfe87f3484f78592bee813252dc44a3730c # timeout=10 06:31:44 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 06:31:44 > git --version # timeout=10 06:31:44 > git --version # 'git version 2.16.5' 06:31:44 fatal: bad object 85bea31ad76f85e2acd5a821f20c71e435d4ae12 06:31:44 209524e5b208: Pull complete 06:31:44 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:31:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:31:44 ---> 5bddaf1c2fca 06:31:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:31:45 ========================================================= 06:31:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:31:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:31:46 + 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 . 06:31:47 Sending build context to Docker daemon 3.365MB 06:31:47 Step 1/8 : ARG BASE=golang:1.15-alpine 06:31:47 Step 2/8 : FROM ${BASE} 06:31:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:31:47 df20fa9351a1: Pulling fs layer 06:31:47 ed8968b2872e: Pulling fs layer 06:31:47 a92cc7c5fd73: Pulling fs layer 06:31:47 e871e8e8d7a9: Pulling fs layer 06:31:47 e73272ec9a57: Pulling fs layer 06:31:47 1e910a182e73: Pulling fs layer 06:31:47 4e634b169226: Pulling fs layer 06:31:47 e73272ec9a57: Waiting 06:31:47 1e910a182e73: Waiting 06:31:47 4e634b169226: Waiting 06:31:47 e871e8e8d7a9: Waiting 06:31:47 a92cc7c5fd73: Verifying Checksum 06:31:47 a92cc7c5fd73: Download complete 06:31:47 ed8968b2872e: Verifying Checksum 06:31:47 ed8968b2872e: Download complete 06:31:47 e73272ec9a57: Verifying Checksum 06:31:47 e73272ec9a57: Download complete 06:31:47 1e910a182e73: Verifying Checksum 06:31:47 1e910a182e73: Download complete 06:31:47 df20fa9351a1: Verifying Checksum 06:31:47 df20fa9351a1: Download complete 06:31:47 ---> Running in f0e361b1657c 06:31:48 Removing intermediate container f0e361b1657c 06:31:48 ---> 67a12ca276bf 06:31:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:31:48 df20fa9351a1: Pull complete 06:31:48 ---> Running in b84f9ed3f517 06:31:48 ed8968b2872e: Pull complete 06:31:48 a92cc7c5fd73: Pull complete 06:31:51 Removing intermediate container b84f9ed3f517 06:31:51 ---> 3706a085aebb 06:31:51 Step 5/8 : RUN apk add --no-cache make git 06:31:51 ---> Running in f5a4e1be4911 06:31:51 4e634b169226: Verifying Checksum 06:31:51 4e634b169226: Download complete 06:31:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:31:53 e871e8e8d7a9: Verifying Checksum 06:31:53 e871e8e8d7a9: Download complete 06:31:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:31:54 OK: 142 MiB in 39 packages 06:31:55 Removing intermediate container f5a4e1be4911 06:31:55 ---> d53da3e951c8 06:31:55 Step 6/8 : WORKDIR /device-sdk-go 06:31:55 ---> Running in 326eebfc376c 06:31:55 Removing intermediate container 326eebfc376c 06:31:55 ---> ffab6dc4dd5b 06:31:55 Step 7/8 : COPY . . 06:31:57 ---> c5252af4cc69 06:31:57 Step 8/8 : RUN go mod download 06:31:57 ---> Running in 00064f570cb4 06:32:01 e871e8e8d7a9: Pull complete 06:32:01 e73272ec9a57: Pull complete 06:32:01 1e910a182e73: Pull complete 06:32:08 4e634b169226: Pull complete 06:32:08 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:32:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:32:08 ---> f7629b54cfaa 06:32:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:32:08 ---> Running in d48908dd70bc 06:32:08 Removing intermediate container d48908dd70bc 06:32:08 ---> c8982cc27bfc 06:32:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:32:08 ---> Running in ff8404e5b63f 06:32:10 Removing intermediate container ff8404e5b63f 06:32:10 ---> aeea9f4179ed 06:32:10 Step 5/8 : RUN apk add --no-cache make git 06:32:10 ---> Running in f2445644c34c 06:32:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:32:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:32:12 OK: 166 MiB in 39 packages 06:32:13 Removing intermediate container f2445644c34c 06:32:13 ---> 8c6c801e453e 06:32:13 Step 6/8 : WORKDIR /device-sdk-go 06:32:13 ---> Running in 823e80e84edc 06:32:13 Removing intermediate container 823e80e84edc 06:32:13 ---> 5935e5e8ed39 06:32:13 Step 7/8 : COPY . . 06:32:14 ---> b21600d15695 06:32:14 Step 8/8 : RUN go mod download 06:32:14 ---> Running in 9a8ce86ec5db 06:32:19 Removing intermediate container 00064f570cb4 06:32:19 ---> e8dac0a6ab86 06:32:19 Successfully built e8dac0a6ab86 06:32:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:32:19 + docker inspect -f . ci-base-image-arm64 06:32:19 . [Pipeline] withDockerContainer 06:32:20 prd-ubuntu18.04-docker-arm64-4c-16g-1474 does not seem to be running inside a container 06:32:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-arm64 cat 06:32:22 $ docker top 42835c76e3d14d25ce7a6f4015deacb8253208d7988cfe41b8ce4c2fbc496cc4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:32:23 + go version 06:32:23 go version go1.15.2 linux/arm64 [Pipeline] } 06:32:23 $ docker stop --time=1 42835c76e3d14d25ce7a6f4015deacb8253208d7988cfe41b8ce4c2fbc496cc4 06:32:25 $ docker rm -f 42835c76e3d14d25ce7a6f4015deacb8253208d7988cfe41b8ce4c2fbc496cc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:32:27 + docker inspect -f . ci-base-image-arm64 06:32:27 . [Pipeline] withDockerContainer 06:32:27 prd-ubuntu18.04-docker-arm64-4c-16g-1474 does not seem to be running inside a container 06:32:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-arm64 cat 06:32:29 $ docker top 701fa203ceb512601de453a4625f6dc7f3f64fda3b4301b1de1534e8401f2c8c -eo pid,comm [Pipeline] { [Pipeline] sh 06:32:30 + make test 06:32:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:32:36 Removing intermediate container 9a8ce86ec5db 06:32:36 ---> 60deaab9ee56 06:32:36 Successfully built 60deaab9ee56 06:32:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:32:37 + docker inspect -f . ci-base-image-x86_64 06:32:37 . [Pipeline] withDockerContainer 06:32:37 prd-centos7-docker-4c-2g-1475 does not seem to be running inside a container 06:32:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-x86_64 cat 06:32:39 $ docker top df084c214bd7cdd6fdfd75b9def99663229060e406fb10ed768c6d90066980a7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:32:40 + go version 06:32:40 go version go1.15.2 linux/amd64 [Pipeline] } 06:32:40 $ docker stop --time=1 df084c214bd7cdd6fdfd75b9def99663229060e406fb10ed768c6d90066980a7 06:32:41 $ docker rm -f df084c214bd7cdd6fdfd75b9def99663229060e406fb10ed768c6d90066980a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:32:43 + docker inspect -f . ci-base-image-x86_64 06:32:43 . [Pipeline] withDockerContainer 06:32:43 prd-centos7-docker-4c-2g-1475 does not seem to be running inside a container 06:32:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-x86_64 cat 06:32:44 $ docker top 531cc6003f10e0da48f0a97526cbd4b363e2adad7828c245f4e06796d4ef10c3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:32:44 + make test 06:32:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:32:52 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:32:55 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:33:13 # github.com/edgexfoundry/device-sdk-go/internal/transformer 06:33:13 internal/transformer/transformresult.go:604:57: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName 06:33:14 FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] 06:33:15 # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] 06:33:15 internal/transformer/transformresult.go:604: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName 06:33:15 # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] 06:33:15 internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 06:33:15 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 06:33:15 have UpdateAdminState(context.Context, string, string) error 06:33:15 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 06:33:15 internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 06:33:15 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 06:33:15 have UpdateAdminState(context.Context, string, string) error 06:33:15 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 06:33:16 FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] 06:33:25 # github.com/edgexfoundry/device-sdk-go/internal/transformer 06:33:25 internal/transformer/transformresult.go:604:57: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName 06:33:25 # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] 06:33:25 internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 06:33:25 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 06:33:25 have UpdateAdminState(context.Context, string, string) error 06:33:25 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 06:33:25 internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 06:33:25 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 06:33:25 have UpdateAdminState(context.Context, string, string) error 06:33:25 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 06:33:26 FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] 06:33:27 # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] 06:33:27 internal/transformer/transformresult.go:604: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName 06:33:27 FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] 06:33:48 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.051s coverage: 8.6% of statements 06:33:48 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.042s coverage: 21.7% of statements 06:33:48 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 06:33:48 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 06:33:48 FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] 06:33:48 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.546s coverage: 68.9% of statements 06:33:48 make: *** [Makefile:32: test] Error 2 [Pipeline] } 06:33:48 $ docker stop --time=1 531cc6003f10e0da48f0a97526cbd4b363e2adad7828c245f4e06796d4ef10c3 06:33:50 $ docker rm -f 531cc6003f10e0da48f0a97526cbd4b363e2adad7828c245f4e06796d4ef10c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:33:53 Failed in branch amd64 06:34:06 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 8.6% of statements 06:34:06 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.059s coverage: 21.7% of statements 06:34:06 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 06:34:06 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 06:34:06 FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] 06:34:06 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.875s coverage: 68.9% of statements 06:34:06 make: *** [Makefile:32: test] Error 2 [Pipeline] } 06:34:06 $ docker stop --time=1 701fa203ceb512601de453a4625f6dc7f3f64fda3b4301b1de1534e8401f2c8c 06:34:08 $ docker rm -f 701fa203ceb512601de453a4625f6dc7f3f64fda3b4301b1de1534e8401f2c8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:34:11 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:34:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:34:16 ---> package-listing.sh 06:34:16 ++ facter osfamily 06:34:16 ++ tr '[:upper:]' '[:lower:]' 06:34:16 + OS_FAMILY=redhat 06:34:16 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-599 06:34:16 + START_PACKAGES=/tmp/packages_start.txt 06:34:16 + END_PACKAGES=/tmp/packages_end.txt 06:34:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:34:16 + PACKAGES=/tmp/packages_start.txt 06:34:16 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-599 ']' 06:34:16 + PACKAGES=/tmp/packages_end.txt 06:34:16 + case "${OS_FAMILY}" in 06:34:16 + rpm -qa 06:34:16 + sort 06:34:20 + '[' -f /tmp/packages_start.txt ']' 06:34:20 + '[' -f /tmp/packages_end.txt ']' 06:34:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:34:20 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-599 ']' 06:34:20 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-599/archives/ 06:34:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-599/archives/ [Pipeline] isUnix [Pipeline] sh 06:34:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:34:21 06:34:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:34:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:34:21 alpine: Pulling from edgex-lftools-log-publisher 06:34:21 df20fa9351a1: Pulling fs layer 06:34:21 36b3adc4ff6f: Pulling fs layer 06:34:21 8ad3a11d3b57: Pulling fs layer 06:34:21 46f8f816bc3b: Pulling fs layer 06:34:21 0dadc02b9964: Pulling fs layer 06:34:21 ce6a7cf60c04: Pulling fs layer 06:34:21 7a184a31f384: Pulling fs layer 06:34:21 0879bd2ef858: Pulling fs layer 06:34:21 46f8f816bc3b: Waiting 06:34:21 0dadc02b9964: Waiting 06:34:21 ce6a7cf60c04: Waiting 06:34:21 7a184a31f384: Waiting 06:34:21 0879bd2ef858: Waiting 06:34:21 36b3adc4ff6f: Verifying Checksum 06:34:21 36b3adc4ff6f: Download complete 06:34:21 46f8f816bc3b: Download complete 06:34:21 df20fa9351a1: Verifying Checksum 06:34:21 df20fa9351a1: Download complete 06:34:21 ce6a7cf60c04: Verifying Checksum 06:34:21 ce6a7cf60c04: Download complete 06:34:21 7a184a31f384: Download complete 06:34:21 0dadc02b9964: Verifying Checksum 06:34:21 0dadc02b9964: Download complete 06:34:21 8ad3a11d3b57: Verifying Checksum 06:34:21 8ad3a11d3b57: Download complete 06:34:21 df20fa9351a1: Pull complete 06:34:22 0879bd2ef858: Verifying Checksum 06:34:22 0879bd2ef858: Download complete 06:34:22 36b3adc4ff6f: Pull complete 06:34:22 8ad3a11d3b57: Pull complete 06:34:22 46f8f816bc3b: Pull complete 06:34:23 0dadc02b9964: Pull complete 06:34:23 ce6a7cf60c04: Pull complete 06:34:23 7a184a31f384: Pull complete 06:34:27 0879bd2ef858: Pull complete 06:34:27 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 06:34:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:34:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:34:27 prd-centos7-docker-4c-2g-1472 does not seem to be running inside a container 06:34:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-sdk-go_PR-599 -v /w/workspace/dgexfoundry_device-sdk-go_PR-599:/w/workspace/dgexfoundry_device-sdk-go_PR-599:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-599@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-599@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:34:30 $ docker top 49149921aaf3a6961f5e43c6aaaa889eed709299d7f0e33af383d317704dff8d -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:31 + mkdir -p /var/log/sa [Pipeline] sh 06:34:31 + ls /var/log/sa-host 06:34:31 + sadf -c /var/log/sa-host/sa05 06:34:31 file_magic: OK 06:34:31 HZ: Using current value: 100 06:34:31 file_header: OK 06:34:31 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:34:31 Statistics: 06:34:31 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:34:31 File successfully converted to sysstat format version 12.2.1 06:34:31 + sadf -c /var/log/sa-host/sa25 06:34:31 file_magic: OK 06:34:31 HZ: Using current value: 100 06:34:31 file_header: OK 06:34:31 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:34:31 Statistics: 06:34:31 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:34:31 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:34:31 provisioning config files... 06:34:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-599@tmp/config6689867466518551933tmp [Pipeline] { [Pipeline] echo 06:34:32 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:34:32 ---> create-netrc.sh [Pipeline] echo 06:34:32 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:34:32 ---> logs-deploy.sh 06:34:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-599/1 06:34:32 INFO: archiving workspace using pattern(s): 06:34:34 Archives upload complete. 06:34:34 INFO: archiving logs to Nexus