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 FelixTing for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at e35ca5e202a3b4aeda829793b42f699c895703f6 rather than 7c782f36c5867f8658ac833bc6fb906e247c8941 Obtained Jenkinsfile from e35ca5e202a3b4aeda829793b42f699c895703f6 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 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 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-22744 in /w/workspace/dry_go-mod-core-contracts_PR-439 [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-439 # 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 > 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/439/head:refs/remotes/origin/PR-439 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e35ca5e202a3b4aeda829793b42f699c895703f6 into PR head commit 7c782f36c5867f8658ac833bc6fb906e247c8941 Merge succeeded, producing 6095dacf2b962ac75a7425c389430e6e31a4716a Checking out Revision 6095dacf2b962ac75a7425c389430e6e31a4716a (PR-439) > git config core.sparsecheckout # timeout=10 > git checkout -f 7c782f36c5867f8658ac833bc6fb906e247c8941 # 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 e35ca5e202a3b4aeda829793b42f699c895703f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6095dacf2b962ac75a7425c389430e6e31a4716a # timeout=10 Commit message: "Merge commit 'e35ca5e202a3b4aeda829793b42f699c895703f6' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:43:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 77f4bb821743ba7970b274fed25bb648e3f9a9e1 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:43:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:43:02 ========================================================= 00:43:02 EdgeX Global Pipelines Version Info 00:43:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:43:03 ------------------- 00:43:03 stable info: 00:43:03 ------------------- 00:43:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:43:03 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:43:03 Message: update stable to v1.0.179 00:43:04 ------------------- 00:43:04 experimental info: 00:43:04 ------------------- 00:43:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:43:04 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:43:04 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:43:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 00:43:04 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 00:43:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 00:43:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:43:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:43:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:43:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:43:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:43:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:43:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:43:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:43:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:43:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:43:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:43:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:43:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:43:07 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:43:07 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:43:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-439 [Pipeline] echo 00:43:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-439 [Pipeline] echo 00:43:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-439 [Pipeline] echo 00:43:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6095dacf2b962ac75a7425c389430e6e31a4716a [Pipeline] echo 00:43:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6095dac [Pipeline] echo 00:43:07 [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:08 + git log --format=format:%s -1 6095dacf2b962ac75a7425c389430e6e31a4716a [Pipeline] echo 00:43:08 GIT_COMMIT: 6095dacf2b962ac75a7425c389430e6e31a4716a, Commit Message: Merge commit 'e35ca5e202a3b4aeda829793b42f699c895703f6' into HEAD [Pipeline] echo 00:43:08 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:43:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:43:09 00:43:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:43:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:43:10 latest: Pulling from edgex-devops/git-semver 00:43:10 31603596830f: Pulling fs layer 00:43:10 2a8b12db71e7: Pulling fs layer 00:43:10 6ca5941a6612: Pulling fs layer 00:43:10 ecc8261a40a4: Pulling fs layer 00:43:10 ecc8261a40a4: Waiting 00:43:10 2a8b12db71e7: Verifying Checksum 00:43:10 2a8b12db71e7: Download complete 00:43:10 31603596830f: Verifying Checksum 00:43:10 31603596830f: Download complete 00:43:10 ecc8261a40a4: Verifying Checksum 00:43:10 ecc8261a40a4: Download complete 00:43:10 31603596830f: Pull complete 00:43:10 2a8b12db71e7: Pull complete 00:43:10 6ca5941a6612: Verifying Checksum 00:43:10 6ca5941a6612: Download complete 00:43:11 6ca5941a6612: Pull complete 00:43:12 ecc8261a40a4: Pull complete 00:43:12 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:43:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:43:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:43:12 prd-centos7-docker-4c-2g-22744 does not seem to be running inside a container 00:43:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-439 -v /w/workspace/dry_go-mod-core-contracts_PR-439:/w/workspace/dry_go-mod-core-contracts_PR-439:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-439@tmp:/w/workspace/dry_go-mod-core-contracts_PR-439@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:43:14 $ docker top 8ee14c593140d015e84e00240df9e6177ce3c9b9d8ac58050a3d2491c92d85ca -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:43:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:15 [ssh-agent] Looking for ssh-agent implementation... 00:43:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:15 $ docker exec 8ee14c593140d015e84e00240df9e6177ce3c9b9d8ac58050a3d2491c92d85ca ssh-agent 00:43:15 SSH_AUTH_SOCK=/tmp/ssh-ug9b4dFkvrUz/agent.12 00:43:15 SSH_AGENT_PID=17 00:43:15 Running ssh-add (command line suppressed) 00:43:15 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_6727969009293964113.key (/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_6727969009293964113.key) 00:43:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:16 + git tag --points-at HEAD [Pipeline] } 00:43:16 $ docker exec --env ******** --env ******** 8ee14c593140d015e84e00240df9e6177ce3c9b9d8ac58050a3d2491c92d85ca ssh-agent -k 00:43:16 unset SSH_AUTH_SOCK; 00:43:16 unset SSH_AGENT_PID; 00:43:16 echo Agent pid 17 killed; 00:43:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:43:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:16 [ssh-agent] Looking for ssh-agent implementation... 00:43:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:16 $ docker exec 8ee14c593140d015e84e00240df9e6177ce3c9b9d8ac58050a3d2491c92d85ca ssh-agent 00:43:16 SSH_AUTH_SOCK=/tmp/ssh-Bbjj0i2hIVpf/agent.47 00:43:16 SSH_AGENT_PID=52 00:43:16 Running ssh-add (command line suppressed) 00:43:16 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_8300758111164439598.key (/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_8300758111164439598.key) 00:43:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:17 + git semver init 00:43:17 # -> Open(): unable to determine branch for HEAD 00:43:17 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-439/.git 00:43:17 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-439 00:43:17 # $SEMVER_REMOTE_NAME = origin 00:43:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:43:17 # $SEMVER_USER_NAME = edgex-jenkins 00:43:17 # $SEMVER_BRANCH = PR-439 00:43:17 # $SEMVER_TEMP = /tmp/semver-498215987 00:43:17 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 00:43:17 # '/tmp/semver-498215987' -> '/w/workspace/dry_go-mod-core-contracts_PR-439/.semver' 00:43:17 # -> Force: false 00:43:17 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-439/.semver [Pipeline] } 00:43:17 $ docker exec --env ******** --env ******** 8ee14c593140d015e84e00240df9e6177ce3c9b9d8ac58050a3d2491c92d85ca ssh-agent -k 00:43:17 unset SSH_AUTH_SOCK; 00:43:17 unset SSH_AGENT_PID; 00:43:17 echo Agent pid 52 killed; 00:43:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:43:18 + git semver [Pipeline] } 00:43:18 $ docker stop --time=1 8ee14c593140d015e84e00240df9e6177ce3c9b9d8ac58050a3d2491c92d85ca 00:43:20 $ docker rm -f 8ee14c593140d015e84e00240df9e6177ce3c9b9d8ac58050a3d2491c92d85ca [Pipeline] // withDockerContainer [Pipeline] sh 00:43:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:43:21 Stashed 1 file(s) [Pipeline] echo 00:43:21 [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:37 Still waiting to schedule task 00:43:37 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-22746’ is offline; ‘prd-centos7-docker-4c-2g-22747’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 00:43:37 Still waiting to schedule task 00:43:37 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:43:49 Running on prd-centos7-docker-4c-2g-22747 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] ws 00:43:49 Running in /w/workspace/go-mod-core-contracts/5 [Pipeline] { [Pipeline] checkout 00:43:51 using credential edgex-jenkins-ssh 00:43:51 Cloning the remote Git repository 00:43:51 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 00:43:51 > git init /w/workspace/go-mod-core-contracts/5 # timeout=10 00:43:51 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:43:51 > git --version # timeout=10 00:43:51 > git --version # 'git version 2.24.3' 00:43:51 using GIT_SSH to set credentials SSH Credentials for GitHub 00:43:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:43:53 Merging remotes/origin/master commit e35ca5e202a3b4aeda829793b42f699c895703f6 into PR head commit 7c782f36c5867f8658ac833bc6fb906e247c8941 00:43:53 Merge succeeded, producing 33f9063a403ea6941b132918abcb78816d5e3ef4 00:43:53 Checking out Revision 33f9063a403ea6941b132918abcb78816d5e3ef4 (PR-439) 00:43:52 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:43:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:43:52 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:43:52 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:43:52 using GIT_SSH to set credentials SSH Credentials for GitHub 00:43:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:43:53 > git config core.sparsecheckout # timeout=10 00:43:53 > git checkout -f 7c782f36c5867f8658ac833bc6fb906e247c8941 # timeout=10 00:43:53 > git remote # timeout=10 00:43:53 > git config --get remote.origin.url # timeout=10 00:43:53 using GIT_SSH to set credentials SSH Credentials for GitHub 00:43:53 > git merge e35ca5e202a3b4aeda829793b42f699c895703f6 # timeout=10 00:43:53 > git rev-parse HEAD^{commit} # timeout=10 00:43:53 > git config core.sparsecheckout # timeout=10 00:43:53 > git checkout -f 33f9063a403ea6941b132918abcb78816d5e3ef4 # timeout=10 00:43:57 Commit message: "Merge commit 'e35ca5e202a3b4aeda829793b42f699c895703f6' into HEAD" 00:43:57 First time build. Skipping changelog. 00:43:57 > git rev-list --no-walk 77f4bb821743ba7970b274fed25bb648e3f9a9e1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:43:58 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:43:58 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:43:59 + sudo service docker restart 00:43:59 + true 00:43:59 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 00:44:00 ========================================================= 00:44:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:44:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:44:00 + 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:44:01 Sending build context to Docker daemon 2.427MB 00:44:01 Step 1/7 : ARG BASE=golang:1.15-alpine 00:44:01 Step 2/7 : FROM ${BASE} 00:44:01 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:44:01 188c0c94c7c5: Pulling fs layer 00:44:01 0ef7d3d256c8: Pulling fs layer 00:44:01 de9db76c5a1d: Pulling fs layer 00:44:01 bca2f99d35d6: Pulling fs layer 00:44:01 93359f2a8cfa: Pulling fs layer 00:44:01 7c6f9722023f: Pulling fs layer 00:44:01 a35cf1a2eb13: Pulling fs layer 00:44:01 93359f2a8cfa: Waiting 00:44:01 7c6f9722023f: Waiting 00:44:01 a35cf1a2eb13: Waiting 00:44:01 bca2f99d35d6: Waiting 00:44:01 de9db76c5a1d: Verifying Checksum 00:44:01 de9db76c5a1d: Download complete 00:44:01 0ef7d3d256c8: Verifying Checksum 00:44:01 0ef7d3d256c8: Download complete 00:44:01 93359f2a8cfa: Verifying Checksum 00:44:01 93359f2a8cfa: Download complete 00:44:01 7c6f9722023f: Verifying Checksum 00:44:01 7c6f9722023f: Download complete 00:44:01 188c0c94c7c5: Verifying Checksum 00:44:01 188c0c94c7c5: Download complete 00:44:02 188c0c94c7c5: Pull complete 00:44:02 0ef7d3d256c8: Pull complete 00:44:02 de9db76c5a1d: Pull complete 00:44:04 a35cf1a2eb13: Verifying Checksum 00:44:04 a35cf1a2eb13: Download complete 00:44:05 bca2f99d35d6: Verifying Checksum 00:44:05 bca2f99d35d6: Download complete 00:44:10 bca2f99d35d6: Pull complete 00:44:10 93359f2a8cfa: Pull complete 00:44:10 7c6f9722023f: Pull complete 00:44:17 a35cf1a2eb13: Pull complete 00:44:17 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:44:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:44:17 ---> a62c8e92a672 00:44:17 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:44:17 ---> Running in ba6aa3271031 00:44:18 Removing intermediate container ba6aa3271031 00:44:18 ---> 53aebf585084 00:44:18 Step 4/7 : RUN apk add bash 00:44:18 ---> Running in 460c551a66e6 00:44:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:44:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:44:26 OK: 166 MiB in 39 packages 00:44:26 Removing intermediate container 460c551a66e6 00:44:26 ---> 5f103dad0ba4 00:44:26 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 00:44:26 ---> Running in 77bec769c229 00:44:26 Removing intermediate container 77bec769c229 00:44:26 ---> 42b46015c50f 00:44:26 Step 6/7 : COPY go.mod . 00:44:27 ---> 929265f5c3f5 00:44:27 Step 7/7 : RUN go mod download 00:44:27 ---> Running in acde2b873384 00:44:39 Removing intermediate container acde2b873384 00:44:39 ---> 3be83e67af1b 00:44:39 Successfully built 3be83e67af1b 00:44:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:44:39 + docker inspect -f . ci-base-image-x86_64 00:44:39 . [Pipeline] withDockerContainer 00:44:39 prd-centos7-docker-4c-2g-22747 does not seem to be running inside a container 00:44:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@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 ******** ci-base-image-x86_64 cat 00:44:40 $ docker top 406ebea7fd99e79c3a5cce4db31133f081451e6f7f6b174749b750c438a908c7 -eo pid,comm [Pipeline] { [Pipeline] sh 00:44:41 + go version 00:44:41 go version go1.15.5 linux/amd64 [Pipeline] } 00:44:41 $ docker stop --time=1 406ebea7fd99e79c3a5cce4db31133f081451e6f7f6b174749b750c438a908c7 00:44:42 $ docker rm -f 406ebea7fd99e79c3a5cce4db31133f081451e6f7f6b174749b750c438a908c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:44:43 + docker inspect -f . ci-base-image-x86_64 00:44:43 . [Pipeline] withDockerContainer 00:44:43 prd-centos7-docker-4c-2g-22747 does not seem to be running inside a container 00:44:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@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 ******** ci-base-image-x86_64 cat 00:44:44 $ docker top 28e3bcf423911e72ee9be8a0027c16abd08de5d8b303a975c1a3002fefba59c4 -eo pid,comm [Pipeline] { [Pipeline] sh 00:44:45 + make test 00:44:45 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:44:45 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/errors 00:44:45 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 00:44:45 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2 00:44:45 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 00:44:47 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:44:49 go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:44:49 go: found github.com/edgexfoundry/go-mod-core-contracts/errors in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:44:49 go: found github.com/edgexfoundry/go-mod-core-contracts/v2 in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:44:49 go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:44:49 clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: 00:44:49 github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/5/clients/interfaces) 00:44:49 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:44:49 clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: 00:44:49 github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/5/models) 00:44:49 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:44:49 clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: 00:44:49 github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/5/clients/interfaces) 00:44:49 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:44:49 clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: 00:44:49 github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/5/models) 00:44:49 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:44:49 make: *** [Makefile:6: test] Error 1 [Pipeline] } 00:44:49 $ docker stop --time=1 28e3bcf423911e72ee9be8a0027c16abd08de5d8b303a975c1a3002fefba59c4 00:44:51 $ docker rm -f 28e3bcf423911e72ee9be8a0027c16abd08de5d8b303a975c1a3002fefba59c4 [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:44:52 Failed in branch amd64 00:46:06 Running on prd-ubuntu18.04-docker-arm64-4c-16g-22750 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] ws 00:46:06 Running in /w/workspace/go-mod-core-contracts/5 [Pipeline] { [Pipeline] checkout 00:46:11 using credential edgex-jenkins-ssh 00:46:11 Cloning the remote Git repository 00:46:11 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 00:46:11 > git init /w/workspace/go-mod-core-contracts/5 # timeout=10 00:46:11 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:46:11 > git --version # timeout=10 00:46:11 > git --version # 'git version 2.17.1' 00:46:11 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:46:13 Merging remotes/origin/master commit e35ca5e202a3b4aeda829793b42f699c895703f6 into PR head commit 7c782f36c5867f8658ac833bc6fb906e247c8941 00:46:13 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:46:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:46:13 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:46:13 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:46:13 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:46:14 > git config core.sparsecheckout # timeout=10 00:46:14 > git checkout -f 7c782f36c5867f8658ac833bc6fb906e247c8941 # timeout=10 00:46:14 > git remote # timeout=10 00:46:14 > git config --get remote.origin.url # timeout=10 00:46:14 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:14 > git merge e35ca5e202a3b4aeda829793b42f699c895703f6 # timeout=10 00:46:14 Merge succeeded, producing d47adf4c9d145a56a249487827292b32a3aeee82 00:46:14 Checking out Revision d47adf4c9d145a56a249487827292b32a3aeee82 (PR-439) 00:46:14 > git rev-parse HEAD^{commit} # timeout=10 00:46:14 > git config core.sparsecheckout # timeout=10 00:46:14 > git checkout -f d47adf4c9d145a56a249487827292b32a3aeee82 # timeout=10 00:46:19 Commit message: "Merge commit 'e35ca5e202a3b4aeda829793b42f699c895703f6' into HEAD" 00:46:19 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:46:19 > git rev-list --no-walk 77f4bb821743ba7970b274fed25bb648e3f9a9e1 # timeout=10 00:46:20 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:46:21 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:46:21 + sudo service docker restart 00:46:21 + true [Pipeline] unstash [Pipeline] echo 00:46:24 ========================================================= 00:46:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:46:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:46: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 . 00:46:25 Sending build context to Docker daemon 2.426MB 00:46:25 Step 1/7 : ARG BASE=golang:1.15-alpine 00:46:25 Step 2/7 : FROM ${BASE} 00:46:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:46:26 5f621e34cdf4: Pulling fs layer 00:46:26 a4357932f1b6: Pulling fs layer 00:46:26 18c013af1878: Pulling fs layer 00:46:26 00ac8860ef70: Pulling fs layer 00:46:26 63d7cb157983: Pulling fs layer 00:46:26 b116817d02f9: Pulling fs layer 00:46:26 745a02a5169b: Pulling fs layer 00:46:26 b116817d02f9: Waiting 00:46:26 00ac8860ef70: Waiting 00:46:26 63d7cb157983: Waiting 00:46:26 18c013af1878: Download complete 00:46:26 a4357932f1b6: Verifying Checksum 00:46:26 a4357932f1b6: Download complete 00:46:26 63d7cb157983: Verifying Checksum 00:46:26 63d7cb157983: Download complete 00:46:26 b116817d02f9: Verifying Checksum 00:46:26 b116817d02f9: Download complete 00:46:26 5f621e34cdf4: Verifying Checksum 00:46:26 5f621e34cdf4: Download complete 00:46:27 5f621e34cdf4: Pull complete 00:46:27 a4357932f1b6: Pull complete 00:46:28 18c013af1878: Pull complete 00:46:29 745a02a5169b: Verifying Checksum 00:46:29 745a02a5169b: Download complete 00:46:31 00ac8860ef70: Verifying Checksum 00:46:31 00ac8860ef70: Download complete 00:46:41 00ac8860ef70: Pull complete 00:46:41 63d7cb157983: Pull complete 00:46:41 b116817d02f9: Pull complete 00:46:44 745a02a5169b: Pull complete 00:46:44 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:46:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:46:44 ---> b7e6874047d6 00:46:44 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:46:47 ---> Running in 4a44bd38b869 00:46:47 Removing intermediate container 4a44bd38b869 00:46:47 ---> 8da9b819f785 00:46:47 Step 4/7 : RUN apk add bash 00:46:48 ---> Running in 013f3f62c68c 00:46:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:46:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:46:51 OK: 142 MiB in 39 packages 00:46:52 Removing intermediate container 013f3f62c68c 00:46:52 ---> f175bae90b47 00:46:52 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 00:46:52 ---> Running in 85b64d8e6e68 00:46:53 Removing intermediate container 85b64d8e6e68 00:46:53 ---> 2757deb1ff94 00:46:53 Step 6/7 : COPY go.mod . 00:46:54 ---> 9fb0c2b40a70 00:46:54 Step 7/7 : RUN go mod download 00:46:54 ---> Running in 32914a873f20 00:47:09 Removing intermediate container 32914a873f20 00:47:09 ---> deb0c503b792 00:47:09 Successfully built deb0c503b792 00:47:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:47:09 + docker inspect -f . ci-base-image-arm64 00:47:09 . [Pipeline] withDockerContainer 00:47:10 prd-ubuntu18.04-docker-arm64-4c-16g-22750 does not seem to be running inside a container 00:47:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@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:47:11 $ docker top e650a11f11ca12382875c975ffe6e5bc8299ce82e3fb7ed54c89c4d70bcedf25 -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:12 + go version 00:47:12 go version go1.15.5 linux/arm64 [Pipeline] } 00:47:12 $ docker stop --time=1 e650a11f11ca12382875c975ffe6e5bc8299ce82e3fb7ed54c89c4d70bcedf25 00:47:14 $ docker rm -f e650a11f11ca12382875c975ffe6e5bc8299ce82e3fb7ed54c89c4d70bcedf25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:47:15 + docker inspect -f . ci-base-image-arm64 00:47:15 . [Pipeline] withDockerContainer 00:47:15 prd-ubuntu18.04-docker-arm64-4c-16g-22750 does not seem to be running inside a container 00:47:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/5 -v /w/workspace/go-mod-core-contracts/5:/w/workspace/go-mod-core-contracts/5:rw,z -v /w/workspace/go-mod-core-contracts/5@tmp:/w/workspace/go-mod-core-contracts/5@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:47:17 $ docker top 26395b0afb89ace743a5b749817eb0e59544d18b989d5ceff4f7be206def92db -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:18 + make test 00:47:18 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:47:18 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 00:47:18 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 00:47:18 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2 00:47:18 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/errors 00:47:19 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:47:19 go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:47:19 go: found github.com/edgexfoundry/go-mod-core-contracts/errors in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:47:19 go: found github.com/edgexfoundry/go-mod-core-contracts/v2 in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:47:19 go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:47:20 clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: 00:47:20 github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/5/clients/interfaces) 00:47:20 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:47:20 clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: 00:47:20 github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/5/models) 00:47:20 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:47:20 clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: 00:47:20 github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/5/clients/interfaces) 00:47:20 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:47:20 clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: 00:47:20 github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/5/models) 00:47:20 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:47:20 make: *** [Makefile:6: test] Error 1 [Pipeline] } 00:47:20 $ docker stop --time=1 26395b0afb89ace743a5b749817eb0e59544d18b989d5ceff4f7be206def92db 00:47:22 $ docker rm -f 26395b0afb89ace743a5b749817eb0e59544d18b989d5ceff4f7be206def92db [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:47:24 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:47:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:47:27 ---> package-listing.sh 00:47:27 ++ facter osfamily 00:47:27 ++ tr '[:upper:]' '[:lower:]' 00:47:27 + OS_FAMILY=redhat 00:47:27 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-439 00:47:27 + START_PACKAGES=/tmp/packages_start.txt 00:47:27 + END_PACKAGES=/tmp/packages_end.txt 00:47:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:47:27 + PACKAGES=/tmp/packages_start.txt 00:47:27 + '[' /w/workspace/dry_go-mod-core-contracts_PR-439 ']' 00:47:27 + PACKAGES=/tmp/packages_end.txt 00:47:27 + case "${OS_FAMILY}" in 00:47:27 + rpm -qa 00:47:27 + sort 00:47:32 + '[' -f /tmp/packages_start.txt ']' 00:47:32 + '[' -f /tmp/packages_end.txt ']' 00:47:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:47:32 + '[' /w/workspace/dry_go-mod-core-contracts_PR-439 ']' 00:47:32 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-439/archives/ 00:47:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-439/archives/ [Pipeline] echo 00:47:32 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-439/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:47:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:47:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:47:33 00:47:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:47:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:47:33 alpine: Pulling from edgex-lftools-log-publisher 00:47:33 df20fa9351a1: Pulling fs layer 00:47:33 36b3adc4ff6f: Pulling fs layer 00:47:33 8ad3a11d3b57: Pulling fs layer 00:47:33 46f8f816bc3b: Pulling fs layer 00:47:33 93b61091891f: Pulling fs layer 00:47:33 93b9cdb0e59b: Pulling fs layer 00:47:33 5e14af77c1be: Pulling fs layer 00:47:33 01666e4c0597: Pulling fs layer 00:47:33 aa168da1d23b: Pulling fs layer 00:47:33 93b9cdb0e59b: Waiting 00:47:33 5e14af77c1be: Waiting 00:47:33 01666e4c0597: Waiting 00:47:33 aa168da1d23b: Waiting 00:47:33 46f8f816bc3b: Waiting 00:47:33 93b61091891f: Waiting 00:47:33 36b3adc4ff6f: Download complete 00:47:33 46f8f816bc3b: Verifying Checksum 00:47:33 46f8f816bc3b: Download complete 00:47:34 93b61091891f: Verifying Checksum 00:47:34 93b61091891f: Download complete 00:47:34 93b9cdb0e59b: Download complete 00:47:34 5e14af77c1be: Download complete 00:47:34 01666e4c0597: Verifying Checksum 00:47:34 01666e4c0597: Download complete 00:47:34 df20fa9351a1: Download complete 00:47:34 8ad3a11d3b57: Verifying Checksum 00:47:34 8ad3a11d3b57: Download complete 00:47:35 df20fa9351a1: Pull complete 00:47:35 36b3adc4ff6f: Pull complete 00:47:36 8ad3a11d3b57: Pull complete 00:47:36 aa168da1d23b: Download complete 00:47:36 46f8f816bc3b: Pull complete 00:47:37 93b61091891f: Pull complete 00:47:37 93b9cdb0e59b: Pull complete 00:47:37 5e14af77c1be: Pull complete 00:47:37 01666e4c0597: Pull complete 00:47:45 aa168da1d23b: Pull complete 00:47:45 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:47:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:47:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:47:45 prd-centos7-docker-4c-2g-22744 does not seem to be running inside a container 00:47:45 $ 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-439/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-439 -v /w/workspace/dry_go-mod-core-contracts_PR-439:/w/workspace/dry_go-mod-core-contracts_PR-439:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-439@tmp:/w/workspace/dry_go-mod-core-contracts_PR-439@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:47:49 $ docker top 0b2abe4ebdecdb189d1b93457cfa260860f9783f4bd99ed14bd1cca7ed1ceff0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:49 + touch /tmp/pre-build-complete [Pipeline] sh 00:47:50 + mkdir -p /var/log/sa [Pipeline] sh 00:47:50 + ls /var/log/sa-host 00:47:50 + sadf -c /var/log/sa-host/sa23 00:47:50 file_magic: OK 00:47:50 HZ: Using current value: 100 00:47:50 file_header: OK 00:47:50 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:47:50 Statistics: 00:47:50 Hnuu...uuuununununu... 00:47:50 File successfully converted to sysstat format version 12.2.1 00:47:50 + sadf -c /var/log/sa-host/sa26 00:47:50 file_magic: OK 00:47:50 HZ: Using current value: 100 00:47:50 file_header: OK 00:47:50 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:47:50 Statistics: 00:47:50 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:47:50 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:47:50 provisioning config files... 00:47:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/config5531945302546521789tmp [Pipeline] { [Pipeline] echo 00:47:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:47:50 ---> create-netrc.sh [Pipeline] } 00:47:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:47:51 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:47:51 ---> python-tools-install.sh [Pipeline] echo 00:47:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:47:51 ---> sudo-logs.sh 00:47:51 Archiving 'sudo' log.. [Pipeline] echo 00:47:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:47:52 ---> job-cost.sh 00:47:52 lf-activate-venv: SKIPPING 00:47:52 INFO: No Stack... 00:47:53 INFO: Retrieving Pricing Info for: v1-standard-2 00:47:53 INFO: Archiving Costs [Pipeline] echo 00:47:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:47:53 ---> logs-deploy.sh 00:47:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-439/5 00:47:53 INFO: archiving workspace using pattern(s): 00:47:55 Archives upload complete. 00:47:55 INFO: archiving logs to Nexus