Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at 693df338c8eb598b828fcdb5998037a9ff32d047 rather than 1264726816372c4614cf555109dc71fe30f40706 Obtained Jenkinsfile from 693df338c8eb598b828fcdb5998037a9ff32d047 Running in Durability level: PERFORMANCE_OPTIMIZED 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 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:go-mod-core-contracts, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [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: go-mod-core-contracts-settings PROJECT: go-mod-core-contracts 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-go-mod-core-contracts DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false 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: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-23586 in /w/workspace/dry_go-mod-core-contracts_PR-427 [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/go-mod-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-427 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 693df338c8eb598b828fcdb5998037a9ff32d047 into PR head commit 1264726816372c4614cf555109dc71fe30f40706 Merge succeeded, producing b311805bb2340dd6f8fefbf64378817066affda2 Checking out Revision b311805bb2340dd6f8fefbf64378817066affda2 (PR-427) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.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/go-mod-core-contracts.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/427/head:refs/remotes/origin/PR-427 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1264726816372c4614cf555109dc71fe30f40706 # 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 693df338c8eb598b828fcdb5998037a9ff32d047 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b311805bb2340dd6f8fefbf64378817066affda2 # timeout=10 Commit message: "Merge commit '693df338c8eb598b828fcdb5998037a9ff32d047' into HEAD" > git rev-list --no-walk 1264726816372c4614cf555109dc71fe30f40706 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:43:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:43:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:43:23 ========================================================= 00:43:23 EdgeX Global Pipelines Version Info 00:43:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:43:25 ------------------- 00:43:25 stable info: 00:43:25 ------------------- 00:43:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:43:25 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:43:25 Message: update stable to v1.0.179 00:43:26 ------------------- 00:43:26 experimental info: 00:43:26 ------------------- 00:43:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:43:26 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:43:26 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:43:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 00:43:27 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 00:43:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:43:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:43:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:43:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:43:27 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:43:27 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:43:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:43:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:43:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:43:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 00:43:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:43:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:43:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:43:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:43:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:43:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:43:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:43:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:43:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:43:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:43:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:43:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:43:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:43:29 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:43:29 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:43:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-427 [Pipeline] echo 00:43:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-427 [Pipeline] echo 00:43:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-427 [Pipeline] echo 00:43:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b311805bb2340dd6f8fefbf64378817066affda2 [Pipeline] echo 00:43:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b311805 [Pipeline] echo 00:43:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:43:30 + git log --format=format:%s -1 b311805bb2340dd6f8fefbf64378817066affda2 [Pipeline] echo 00:43:30 GIT_COMMIT: b311805bb2340dd6f8fefbf64378817066affda2, Commit Message: Merge commit '693df338c8eb598b828fcdb5998037a9ff32d047' into HEAD [Pipeline] echo 00:43:30 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:43:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:43:31 00:43:31 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:43:32 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:43:32 latest: Pulling from edgex-devops/git-semver 00:43:32 31603596830f: Pulling fs layer 00:43:32 2a8b12db71e7: Pulling fs layer 00:43:32 6ca5941a6612: Pulling fs layer 00:43:32 ecc8261a40a4: Pulling fs layer 00:43:32 ecc8261a40a4: Waiting 00:43:32 2a8b12db71e7: Verifying Checksum 00:43:32 2a8b12db71e7: Download complete 00:43:32 31603596830f: Verifying Checksum 00:43:32 31603596830f: Download complete 00:43:32 ecc8261a40a4: Verifying Checksum 00:43:32 ecc8261a40a4: Download complete 00:43:32 6ca5941a6612: Verifying Checksum 00:43:32 6ca5941a6612: Download complete 00:43:32 31603596830f: Pull complete 00:43:33 2a8b12db71e7: Pull complete 00:43:33 6ca5941a6612: Pull complete 00:43:34 ecc8261a40a4: Pull complete 00:43:34 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:43:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:43:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:43:34 prd-centos7-docker-4c-2g-23586 does not seem to be running inside a container 00:43:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-427 -v /w/workspace/dry_go-mod-core-contracts_PR-427:/w/workspace/dry_go-mod-core-contracts_PR-427:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-427@tmp:/w/workspace/dry_go-mod-core-contracts_PR-427@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:43:36 $ docker top 8d75c1176e673ece105c3ee866db084680de8f3254af40d0444e5a6e3cab5b3b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:43:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:36 [ssh-agent] Looking for ssh-agent implementation... 00:43:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:37 $ docker exec 8d75c1176e673ece105c3ee866db084680de8f3254af40d0444e5a6e3cab5b3b ssh-agent 00:43:37 SSH_AUTH_SOCK=/tmp/ssh-sxYCGzz6F7S0/agent.12 00:43:37 SSH_AGENT_PID=17 00:43:37 Running ssh-add (command line suppressed) 00:43:37 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-427@tmp/private_key_5668432263954182936.key (/w/workspace/dry_go-mod-core-contracts_PR-427@tmp/private_key_5668432263954182936.key) 00:43:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:38 + git tag --points-at HEAD [Pipeline] } 00:43:38 $ docker exec --env ******** --env ******** 8d75c1176e673ece105c3ee866db084680de8f3254af40d0444e5a6e3cab5b3b ssh-agent -k 00:43:38 unset SSH_AUTH_SOCK; 00:43:38 unset SSH_AGENT_PID; 00:43:38 echo Agent pid 17 killed; 00:43:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:43:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:38 [ssh-agent] Looking for ssh-agent implementation... 00:43:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:38 $ docker exec 8d75c1176e673ece105c3ee866db084680de8f3254af40d0444e5a6e3cab5b3b ssh-agent 00:43:38 SSH_AUTH_SOCK=/tmp/ssh-0wwYKqYITjlq/agent.47 00:43:38 SSH_AGENT_PID=52 00:43:38 Running ssh-add (command line suppressed) 00:43:39 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-427@tmp/private_key_1289844731590439973.key (/w/workspace/dry_go-mod-core-contracts_PR-427@tmp/private_key_1289844731590439973.key) 00:43:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:39 + git semver init 00:43:39 # -> Open(): unable to determine branch for HEAD 00:43:39 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-427/.git 00:43:39 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-427 00:43:39 # $SEMVER_REMOTE_NAME = origin 00:43:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:43:39 # $SEMVER_USER_NAME = edgex-jenkins 00:43:39 # $SEMVER_BRANCH = PR-427 00:43:39 # $SEMVER_TEMP = /tmp/semver-335882501 00:43:39 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 00:43:40 # '/tmp/semver-335882501' -> '/w/workspace/dry_go-mod-core-contracts_PR-427/.semver' 00:43:40 # -> Force: false 00:43:40 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-427/.semver [Pipeline] } 00:43:40 $ docker exec --env ******** --env ******** 8d75c1176e673ece105c3ee866db084680de8f3254af40d0444e5a6e3cab5b3b ssh-agent -k 00:43:40 unset SSH_AUTH_SOCK; 00:43:40 unset SSH_AGENT_PID; 00:43:40 echo Agent pid 52 killed; 00:43:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:43:40 + git semver [Pipeline] } 00:43:41 $ docker stop --time=1 8d75c1176e673ece105c3ee866db084680de8f3254af40d0444e5a6e3cab5b3b 00:43:42 $ docker rm -f 8d75c1176e673ece105c3ee866db084680de8f3254af40d0444e5a6e3cab5b3b [Pipeline] // withDockerContainer [Pipeline] sh 00:43:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:43:44 Stashed 1 file(s) [Pipeline] echo 00:43:44 [edgeXSemver]: initialized semver on 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 00:43:59 Still waiting to schedule task 00:43:59 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:43:59 Still waiting to schedule task 00:43:59 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:44:55 Running on prd-centos7-docker-4c-2g-23588 in /w/workspace/dry_go-mod-core-contracts_PR-427 [Pipeline] { [Pipeline] ws 00:44:55 Running in /w/workspace/go-mod-core-contracts/9 [Pipeline] { [Pipeline] checkout 00:44:58 using credential edgex-jenkins-ssh 00:44:58 Cloning the remote Git repository 00:44:58 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 00:44:59 > git init /w/workspace/go-mod-core-contracts/9 # timeout=10 00:44:59 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:44:59 > git --version # timeout=10 00:44:59 > git --version # 'git version 2.24.3' 00:44:59 using GIT_SSH to set credentials SSH Credentials for GitHub 00:44:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:45:00 Merging remotes/origin/master commit 693df338c8eb598b828fcdb5998037a9ff32d047 into PR head commit 1264726816372c4614cf555109dc71fe30f40706 00:45:00 Merge succeeded, producing 481f5756637d9bbc17b5286f76a67dd11ce5bcad 00:45:00 Checking out Revision 481f5756637d9bbc17b5286f76a67dd11ce5bcad (PR-427) 00:44:59 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:44:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:44:59 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:44:59 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:44:59 using GIT_SSH to set credentials SSH Credentials for GitHub 00:44:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/427/head:refs/remotes/origin/PR-427 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:45:00 > git config core.sparsecheckout # timeout=10 00:45:00 > git checkout -f 1264726816372c4614cf555109dc71fe30f40706 # timeout=10 00:45:00 > git remote # timeout=10 00:45:00 > git config --get remote.origin.url # timeout=10 00:45:00 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:00 > git merge 693df338c8eb598b828fcdb5998037a9ff32d047 # timeout=10 00:45:00 > git rev-parse HEAD^{commit} # timeout=10 00:45:00 > git config core.sparsecheckout # timeout=10 00:45:00 > git checkout -f 481f5756637d9bbc17b5286f76a67dd11ce5bcad # timeout=10 00:45:04 Commit message: "Merge commit '693df338c8eb598b828fcdb5998037a9ff32d047' into HEAD" 00:45:04 > git rev-list --no-walk 1264726816372c4614cf555109dc71fe30f40706 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:45:06 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:45:06 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:45:06 + sudo service docker restart 00:45:06 + true 00:45:06 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 00:45:08 ========================================================= 00:45:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:45:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:45:08 + 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 . 00:45:09 Sending build context to Docker daemon 2.442MB 00:45:09 Step 1/7 : ARG BASE=golang:1.15-alpine 00:45:09 Step 2/7 : FROM ${BASE} 00:45:09 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:45:09 188c0c94c7c5: Pulling fs layer 00:45:09 0ef7d3d256c8: Pulling fs layer 00:45:09 de9db76c5a1d: Pulling fs layer 00:45:09 bca2f99d35d6: Pulling fs layer 00:45:09 93359f2a8cfa: Pulling fs layer 00:45:09 7c6f9722023f: Pulling fs layer 00:45:09 a35cf1a2eb13: Pulling fs layer 00:45:09 93359f2a8cfa: Waiting 00:45:09 7c6f9722023f: Waiting 00:45:09 a35cf1a2eb13: Waiting 00:45:09 bca2f99d35d6: Waiting 00:45:09 de9db76c5a1d: Verifying Checksum 00:45:09 de9db76c5a1d: Download complete 00:45:09 0ef7d3d256c8: Verifying Checksum 00:45:09 0ef7d3d256c8: Download complete 00:45:09 93359f2a8cfa: Download complete 00:45:09 7c6f9722023f: Verifying Checksum 00:45:09 7c6f9722023f: Download complete 00:45:09 188c0c94c7c5: Verifying Checksum 00:45:09 188c0c94c7c5: Download complete 00:45:09 188c0c94c7c5: Pull complete 00:45:09 0ef7d3d256c8: Pull complete 00:45:09 de9db76c5a1d: Pull complete 00:45:10 a35cf1a2eb13: Verifying Checksum 00:45:11 bca2f99d35d6: Download complete 00:45:16 bca2f99d35d6: Pull complete 00:45:17 93359f2a8cfa: Pull complete 00:45:17 7c6f9722023f: Pull complete 00:45:21 a35cf1a2eb13: Pull complete 00:45:21 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:45:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:45:21 ---> a62c8e92a672 00:45:21 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:45:21 ---> Running in 24a523c5dbd4 00:45:22 Removing intermediate container 24a523c5dbd4 00:45:22 ---> dc404d157a23 00:45:22 Step 4/7 : RUN apk add bash 00:45:22 ---> Running in 91b9877a43bd 00:45:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:45:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:45:26 OK: 166 MiB in 39 packages 00:45:26 Removing intermediate container 91b9877a43bd 00:45:26 ---> 4fc224bbcf0e 00:45:26 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 00:45:26 ---> Running in d57cdc49b5f4 00:45:27 Removing intermediate container d57cdc49b5f4 00:45:27 ---> 99f9385263cb 00:45:27 Step 6/7 : COPY go.mod . 00:45:27 ---> 3d829e6208ef 00:45:27 Step 7/7 : RUN go mod download 00:45:27 ---> Running in 9ca2f5ff8e90 00:45:39 Removing intermediate container 9ca2f5ff8e90 00:45:39 ---> 6dd502190fb6 00:45:39 Successfully built 6dd502190fb6 00:45:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:45:40 + docker inspect -f . ci-base-image-x86_64 00:45:40 . [Pipeline] withDockerContainer 00:45:40 prd-centos7-docker-4c-2g-23588 does not seem to be running inside a container 00:45:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/9 -v /w/workspace/go-mod-core-contracts/9:/w/workspace/go-mod-core-contracts/9:rw,z -v /w/workspace/go-mod-core-contracts/9@tmp:/w/workspace/go-mod-core-contracts/9@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:45:41 $ docker top f83ec6db9edbab52cd64fd09e5ffd364c0d37b061becf5df26ea1a9d65b2834c -eo pid,comm [Pipeline] { [Pipeline] sh 00:45:41 + go version 00:45:41 go version go1.15.5 linux/amd64 [Pipeline] } 00:45:41 $ docker stop --time=1 f83ec6db9edbab52cd64fd09e5ffd364c0d37b061becf5df26ea1a9d65b2834c 00:45:43 $ docker rm -f f83ec6db9edbab52cd64fd09e5ffd364c0d37b061becf5df26ea1a9d65b2834c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:45:44 + docker inspect -f . ci-base-image-x86_64 00:45:44 . [Pipeline] withDockerContainer 00:45:44 prd-centos7-docker-4c-2g-23588 does not seem to be running inside a container 00:45:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/9 -v /w/workspace/go-mod-core-contracts/9:/w/workspace/go-mod-core-contracts/9:rw,z -v /w/workspace/go-mod-core-contracts/9@tmp:/w/workspace/go-mod-core-contracts/9@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:45:45 $ docker top c4bfb974e8c6af1838aa3342a76d022404920e8c6066f875e7f1bd71756657f1 -eo pid,comm [Pipeline] { [Pipeline] sh 00:45:45 + make test 00:45:45 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:45:45 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 00:45:45 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2 00:45:45 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 00:45:45 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/errors 00:45:47 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:45:47 go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:45:47 go: found github.com/edgexfoundry/go-mod-core-contracts/errors in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:45:47 go: found github.com/edgexfoundry/go-mod-core-contracts/v2 in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:45:47 go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:45:47 clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: 00:45:47 github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/9/clients/interfaces) 00:45:47 github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/clients/interfaces) 00:45:47 clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: 00:45:47 github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/9/models) 00:45:47 github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/models) 00:45:47 clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: 00:45:47 github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/9/clients/interfaces) 00:45:47 github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/clients/interfaces) 00:45:47 clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: 00:45:47 github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/9/models) 00:45:47 github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/models) 00:45:47 make: *** [Makefile:6: test] Error 1 [Pipeline] } 00:45:48 $ docker stop --time=1 c4bfb974e8c6af1838aa3342a76d022404920e8c6066f875e7f1bd71756657f1 00:45:49 $ docker rm -f c4bfb974e8c6af1838aa3342a76d022404920e8c6066f875e7f1bd71756657f1 [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] } 00:45:51 Failed in branch amd64 00:47:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23592 in /w/workspace/dry_go-mod-core-contracts_PR-427 [Pipeline] { [Pipeline] ws 00:47:16 Running in /w/workspace/go-mod-core-contracts/9 [Pipeline] { [Pipeline] checkout 00:47:21 using credential edgex-jenkins-ssh 00:47:21 Cloning the remote Git repository 00:47:21 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 00:47:22 > git init /w/workspace/go-mod-core-contracts/9 # timeout=10 00:47:22 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:47:22 > git --version # timeout=10 00:47:22 > git --version # 'git version 2.17.1' 00:47:22 using GIT_SSH to set credentials SSH Credentials for GitHub 00:47:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:47:23 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:47:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:47:23 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:47:23 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:47:23 using GIT_SSH to set credentials SSH Credentials for GitHub 00:47:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/427/head:refs/remotes/origin/PR-427 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:47:24 Merging remotes/origin/master commit 693df338c8eb598b828fcdb5998037a9ff32d047 into PR head commit 1264726816372c4614cf555109dc71fe30f40706 00:47:24 Merge succeeded, producing 7f82706f81f31d9bffcf8b0d72b0c504c93e95b4 00:47:24 Checking out Revision 7f82706f81f31d9bffcf8b0d72b0c504c93e95b4 (PR-427) 00:47:24 > git config core.sparsecheckout # timeout=10 00:47:24 > git checkout -f 1264726816372c4614cf555109dc71fe30f40706 # timeout=10 00:47:24 > git remote # timeout=10 00:47:24 > git config --get remote.origin.url # timeout=10 00:47:24 using GIT_SSH to set credentials SSH Credentials for GitHub 00:47:24 > git merge 693df338c8eb598b828fcdb5998037a9ff32d047 # timeout=10 00:47:24 > git rev-parse HEAD^{commit} # timeout=10 00:47:24 > git config core.sparsecheckout # timeout=10 00:47:24 > git checkout -f 7f82706f81f31d9bffcf8b0d72b0c504c93e95b4 # timeout=10 00:47:29 Commit message: "Merge commit '693df338c8eb598b828fcdb5998037a9ff32d047' into HEAD" 00:47:29 > git rev-list --no-walk 1264726816372c4614cf555109dc71fe30f40706 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:47:31 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:47:32 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:47:32 + true 00:47:32 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 00:47:35 ========================================================= 00:47:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:47:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:47:35 + 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 . 00:47:36 Sending build context to Docker daemon 2.441MB 00:47:37 Step 1/7 : ARG BASE=golang:1.15-alpine 00:47:37 Step 2/7 : FROM ${BASE} 00:47:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:47:37 5f621e34cdf4: Pulling fs layer 00:47:37 a4357932f1b6: Pulling fs layer 00:47:37 18c013af1878: Pulling fs layer 00:47:37 00ac8860ef70: Pulling fs layer 00:47:37 63d7cb157983: Pulling fs layer 00:47:37 b116817d02f9: Pulling fs layer 00:47:37 745a02a5169b: Pulling fs layer 00:47:37 00ac8860ef70: Waiting 00:47:37 b116817d02f9: Waiting 00:47:37 63d7cb157983: Waiting 00:47:37 745a02a5169b: Waiting 00:47:37 18c013af1878: Verifying Checksum 00:47:37 18c013af1878: Download complete 00:47:37 a4357932f1b6: Verifying Checksum 00:47:37 a4357932f1b6: Download complete 00:47:37 63d7cb157983: Verifying Checksum 00:47:37 63d7cb157983: Download complete 00:47:37 b116817d02f9: Verifying Checksum 00:47:37 b116817d02f9: Download complete 00:47:37 5f621e34cdf4: Download complete 00:47:38 5f621e34cdf4: Pull complete 00:47:38 a4357932f1b6: Pull complete 00:47:39 18c013af1878: Pull complete 00:47:40 745a02a5169b: Verifying Checksum 00:47:40 745a02a5169b: Download complete 00:47:41 00ac8860ef70: Verifying Checksum 00:47:41 00ac8860ef70: Download complete 00:47:51 00ac8860ef70: Pull complete 00:47:51 63d7cb157983: Pull complete 00:47:51 b116817d02f9: Pull complete 00:47:54 745a02a5169b: Pull complete 00:47:54 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:47:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:47:54 ---> b7e6874047d6 00:47:54 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:47:57 ---> Running in 6960c65ed62e 00:47:57 Removing intermediate container 6960c65ed62e 00:47:57 ---> 9ea8766363fd 00:47:57 Step 4/7 : RUN apk add bash 00:47:58 ---> Running in 5362dacfd40c 00:47:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:48:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:48:02 OK: 142 MiB in 39 packages 00:48:03 Removing intermediate container 5362dacfd40c 00:48:03 ---> 1830fedc851f 00:48:03 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 00:48:03 ---> Running in 04a00dff5674 00:48:03 Removing intermediate container 04a00dff5674 00:48:03 ---> f3dbde6a82a8 00:48:03 Step 6/7 : COPY go.mod . 00:48:04 ---> 64a0f7549a4a 00:48:04 Step 7/7 : RUN go mod download 00:48:04 ---> Running in 31794f4f2a53 00:48:19 Removing intermediate container 31794f4f2a53 00:48:19 ---> cc4d708b5978 00:48:19 Successfully built cc4d708b5978 00:48:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:48:20 + docker inspect -f . ci-base-image-arm64 00:48:20 . [Pipeline] withDockerContainer 00:48:20 prd-ubuntu18.04-docker-arm64-4c-16g-23592 does not seem to be running inside a container 00:48:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/9 -v /w/workspace/go-mod-core-contracts/9:/w/workspace/go-mod-core-contracts/9:rw,z -v /w/workspace/go-mod-core-contracts/9@tmp:/w/workspace/go-mod-core-contracts/9@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:48:22 $ docker top 26d136ed9cbef00dbf2fda98d96a2f4ecbf64eda3d2f110054b6594c7b0db0a9 -eo pid,comm [Pipeline] { [Pipeline] sh 00:48:23 + go version 00:48:23 go version go1.15.5 linux/arm64 [Pipeline] } 00:48:23 $ docker stop --time=1 26d136ed9cbef00dbf2fda98d96a2f4ecbf64eda3d2f110054b6594c7b0db0a9 00:48:25 $ docker rm -f 26d136ed9cbef00dbf2fda98d96a2f4ecbf64eda3d2f110054b6594c7b0db0a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:48:26 + docker inspect -f . ci-base-image-arm64 00:48:26 . [Pipeline] withDockerContainer 00:48:26 prd-ubuntu18.04-docker-arm64-4c-16g-23592 does not seem to be running inside a container 00:48:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/9 -v /w/workspace/go-mod-core-contracts/9:/w/workspace/go-mod-core-contracts/9:rw,z -v /w/workspace/go-mod-core-contracts/9@tmp:/w/workspace/go-mod-core-contracts/9@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:48:28 $ docker top 82b90260305348a7a1b4956d53a1846d7ead28c93213e4ba737d535e5b5c94e2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:48:29 + make test 00:48:29 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:48:30 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 00:48:30 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/errors 00:48:30 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 00:48:30 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2 00:48:30 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:48:31 go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:48:31 go: found github.com/edgexfoundry/go-mod-core-contracts/errors in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:48:31 go: found github.com/edgexfoundry/go-mod-core-contracts/v2 in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:48:31 go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:48:31 clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: 00:48:31 github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/9/clients/interfaces) 00:48:31 github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/clients/interfaces) 00:48:31 clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: 00:48:31 github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/9/models) 00:48:31 github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/models) 00:48:31 clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: 00:48:31 github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/9/clients/interfaces) 00:48:31 github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/clients/interfaces) 00:48:31 clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: 00:48:31 github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/9/models) 00:48:31 github.com/edgexfoundry/go-mod-core-contracts v0.1.149 (/go/pkg/mod/github.com/edgexfoundry/go-mod-core-contracts@v0.1.149/v2/models) 00:48:31 make: *** [Makefile:6: test] Error 1 [Pipeline] } 00:48:32 $ docker stop --time=1 82b90260305348a7a1b4956d53a1846d7ead28c93213e4ba737d535e5b5c94e2 00:48:34 $ docker rm -f 82b90260305348a7a1b4956d53a1846d7ead28c93213e4ba737d535e5b5c94e2 [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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:48:36 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 Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 00:48:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:48:40 ---> package-listing.sh 00:48:40 ++ facter osfamily 00:48:40 ++ tr '[:upper:]' '[:lower:]' 00:48:40 + OS_FAMILY=redhat 00:48:40 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-427 00:48:40 + START_PACKAGES=/tmp/packages_start.txt 00:48:40 + END_PACKAGES=/tmp/packages_end.txt 00:48:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:48:40 + PACKAGES=/tmp/packages_start.txt 00:48:40 + '[' /w/workspace/dry_go-mod-core-contracts_PR-427 ']' 00:48:40 + PACKAGES=/tmp/packages_end.txt 00:48:40 + case "${OS_FAMILY}" in 00:48:40 + rpm -qa 00:48:40 + sort 00:48:45 + '[' -f /tmp/packages_start.txt ']' 00:48:45 + '[' -f /tmp/packages_end.txt ']' 00:48:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:48:45 + '[' /w/workspace/dry_go-mod-core-contracts_PR-427 ']' 00:48:45 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-427/archives/ 00:48:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-427/archives/ [Pipeline] echo 00:48:45 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_go-mod-core-contracts_PR-427/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:48:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:48:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:48:46 00:48:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:48:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:48:46 alpine: Pulling from edgex-lftools-log-publisher 00:48:46 df20fa9351a1: Pulling fs layer 00:48:46 36b3adc4ff6f: Pulling fs layer 00:48:46 8ad3a11d3b57: Pulling fs layer 00:48:46 46f8f816bc3b: Pulling fs layer 00:48:46 93b61091891f: Pulling fs layer 00:48:46 93b9cdb0e59b: Pulling fs layer 00:48:46 5e14af77c1be: Pulling fs layer 00:48:46 01666e4c0597: Pulling fs layer 00:48:46 aa168da1d23b: Pulling fs layer 00:48:46 93b61091891f: Waiting 00:48:46 93b9cdb0e59b: Waiting 00:48:46 aa168da1d23b: Waiting 00:48:46 5e14af77c1be: Waiting 00:48:46 01666e4c0597: Waiting 00:48:46 46f8f816bc3b: Waiting 00:48:46 36b3adc4ff6f: Download complete 00:48:46 46f8f816bc3b: Verifying Checksum 00:48:46 46f8f816bc3b: Download complete 00:48:46 df20fa9351a1: Verifying Checksum 00:48:46 df20fa9351a1: Download complete 00:48:46 93b9cdb0e59b: Verifying Checksum 00:48:46 93b9cdb0e59b: Download complete 00:48:46 5e14af77c1be: Verifying Checksum 00:48:46 5e14af77c1be: Download complete 00:48:46 93b61091891f: Verifying Checksum 00:48:46 93b61091891f: Download complete 00:48:46 01666e4c0597: Verifying Checksum 00:48:46 01666e4c0597: Download complete 00:48:47 df20fa9351a1: Pull complete 00:48:47 36b3adc4ff6f: Pull complete 00:48:48 8ad3a11d3b57: Verifying Checksum 00:48:48 8ad3a11d3b57: Download complete 00:48:48 8ad3a11d3b57: Pull complete 00:48:48 46f8f816bc3b: Pull complete 00:48:49 93b61091891f: Pull complete 00:48:49 93b9cdb0e59b: Pull complete 00:48:50 5e14af77c1be: Pull complete 00:48:50 01666e4c0597: Pull complete 00:48:51 aa168da1d23b: Verifying Checksum 00:48:51 aa168da1d23b: Download complete 00:48:59 aa168da1d23b: Pull complete 00:48:59 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:48:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:48:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:49:00 prd-centos7-docker-4c-2g-23586 does not seem to be running inside a container 00:49:00 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_go-mod-core-contracts_PR-427/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_go-mod-core-contracts_PR-427 -v /w/workspace/dry_go-mod-core-contracts_PR-427:/w/workspace/dry_go-mod-core-contracts_PR-427:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-427@tmp:/w/workspace/dry_go-mod-core-contracts_PR-427@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:49:03 $ docker top 844e7f0bb9c2f71faeedcb14607c21a55a12b19619673eaaf974caa7a4041637 -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:04 + touch /tmp/pre-build-complete [Pipeline] sh 00:49:04 + mkdir -p /var/log/sa [Pipeline] sh 00:49:04 + ls /var/log/sa-host 00:49:04 + sadf -c /var/log/sa-host/sa23 00:49:04 file_magic: OK 00:49:04 HZ: Using current value: 100 00:49:04 file_header: OK 00:49:04 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 00:49:04 Statistics: 00:49:04 Hnuu...uuuununununu... 00:49:04 File successfully converted to sysstat format version 12.2.1 00:49:04 + sadf -c /var/log/sa-host/sa28 00:49:04 file_magic: OK 00:49:04 HZ: Using current value: 100 00:49:04 file_header: OK 00:49:04 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 00:49:04 Statistics: 00:49:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:49:04 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:49:05 provisioning config files... 00:49:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-427@tmp/config782056011484480586tmp [Pipeline] { [Pipeline] echo 00:49:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:49:05 ---> create-netrc.sh [Pipeline] } 00:49:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:49:05 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:49:06 ---> python-tools-install.sh [Pipeline] echo 00:49:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:49:06 ---> sudo-logs.sh 00:49:06 Archiving 'sudo' log.. [Pipeline] echo 00:49:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:49:06 ---> job-cost.sh 00:49:06 lf-activate-venv: SKIPPING 00:49:06 INFO: No Stack... 00:49:08 INFO: Retrieving Pricing Info for: v1-standard-2 00:49:08 INFO: Archiving Costs [Pipeline] echo 00:49:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:49:09 ---> logs-deploy.sh 00:49:09 lf-activate-venv: SKIPPING 00:49:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-427/9 00:49:09 INFO: archiving workspace using pattern(s): 00:49:11 Archives upload complete. 00:49:11 INFO: archiving logs to Nexus