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 1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb rather than 7c782f36c5867f8658ac833bc6fb906e247c8941 Obtained Jenkinsfile from 1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb 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-21443 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 Merging remotes/origin/master commit 1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb into PR head commit 7c782f36c5867f8658ac833bc6fb906e247c8941 Merge succeeded, producing 256f892ef5c345f2e89ea283fbd5c4fc6b8259c3 Checking out Revision 256f892ef5c345f2e89ea283fbd5c4fc6b8259c3 (PR-439) > 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 > 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 1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 256f892ef5c345f2e89ea283fbd5c4fc6b8259c3 # timeout=10 Commit message: "Merge commit '1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb' into HEAD" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 933fcd3843581b23431498f126de2f555da7de88 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:41:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:41:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:41:05 ========================================================= 00:41:05 EdgeX Global Pipelines Version Info 00:41:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:41:06 ------------------- 00:41:06 stable info: 00:41:06 ------------------- 00:41:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:41:06 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:41:06 Message: update stable to v1.0.179 00:41:07 ------------------- 00:41:07 experimental info: 00:41:07 ------------------- 00:41:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:41:07 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:41:07 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:41:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 00:41:07 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 00:41:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:41:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:41:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:41:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:41:08 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:41:08 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:41:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:41:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:41:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:41:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 00:41:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:41:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:41:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:41:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:41:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:41:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:41:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:41:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:41:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:41:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:41:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:41:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:41:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:41:10 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:41:10 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:41:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-439 [Pipeline] echo 00:41:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-439 [Pipeline] echo 00:41:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-439 [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 256f892ef5c345f2e89ea283fbd5c4fc6b8259c3 [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 256f892 [Pipeline] echo 00:41:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:41:12 + git log --format=format:%s -1 256f892ef5c345f2e89ea283fbd5c4fc6b8259c3 [Pipeline] echo 00:41:12 GIT_COMMIT: 256f892ef5c345f2e89ea283fbd5c4fc6b8259c3, Commit Message: Merge commit '1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb' into HEAD [Pipeline] echo 00:41:12 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:41:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:41:12 00:41:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:41:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:41:13 latest: Pulling from edgex-devops/git-semver 00:41:13 31603596830f: Pulling fs layer 00:41:13 2a8b12db71e7: Pulling fs layer 00:41:13 6ca5941a6612: Pulling fs layer 00:41:13 ecc8261a40a4: Pulling fs layer 00:41:13 ecc8261a40a4: Waiting 00:41:13 2a8b12db71e7: Verifying Checksum 00:41:13 2a8b12db71e7: Download complete 00:41:13 31603596830f: Verifying Checksum 00:41:13 31603596830f: Download complete 00:41:13 6ca5941a6612: Verifying Checksum 00:41:13 6ca5941a6612: Download complete 00:41:13 ecc8261a40a4: Verifying Checksum 00:41:13 ecc8261a40a4: Download complete 00:41:13 31603596830f: Pull complete 00:41:13 2a8b12db71e7: Pull complete 00:41:14 6ca5941a6612: Pull complete 00:41:15 ecc8261a40a4: Pull complete 00:41:15 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:41:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:41:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:41:15 prd-centos7-docker-4c-2g-21443 does not seem to be running inside a container 00:41:15 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:41:17 $ docker top 6baaab3cbd8a7bad3577460892d498408678355f8699b21da30c94a55948e468 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:41:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:41:17 [ssh-agent] Looking for ssh-agent implementation... 00:41:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:41:17 $ docker exec 6baaab3cbd8a7bad3577460892d498408678355f8699b21da30c94a55948e468 ssh-agent 00:41:17 SSH_AUTH_SOCK=/tmp/ssh-musS4VxWZkJs/agent.11 00:41:17 SSH_AGENT_PID=16 00:41:17 Running ssh-add (command line suppressed) 00:41:17 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_5265524078690332692.key (/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_5265524078690332692.key) 00:41:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:41:18 + git tag --points-at HEAD [Pipeline] } 00:41:18 $ docker exec --env ******** --env ******** 6baaab3cbd8a7bad3577460892d498408678355f8699b21da30c94a55948e468 ssh-agent -k 00:41:18 unset SSH_AUTH_SOCK; 00:41:18 unset SSH_AGENT_PID; 00:41:18 echo Agent pid 16 killed; 00:41:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:41:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:41:18 [ssh-agent] Looking for ssh-agent implementation... 00:41:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:41:18 $ docker exec 6baaab3cbd8a7bad3577460892d498408678355f8699b21da30c94a55948e468 ssh-agent 00:41:19 SSH_AUTH_SOCK=/tmp/ssh-PGYmQ9QqLacX/agent.45 00:41:19 SSH_AGENT_PID=50 00:41:19 Running ssh-add (command line suppressed) 00:41:19 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_7018901865616748185.key (/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/private_key_7018901865616748185.key) 00:41:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:41:19 + git semver init 00:41:19 # -> Open(): unable to determine branch for HEAD 00:41:19 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-439/.git 00:41:19 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-439 00:41:19 # $SEMVER_REMOTE_NAME = origin 00:41:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:41:19 # $SEMVER_USER_NAME = edgex-jenkins 00:41:19 # $SEMVER_BRANCH = PR-439 00:41:19 # $SEMVER_TEMP = /tmp/semver-515928723 00:41:19 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 00:41:20 # '/tmp/semver-515928723' -> '/w/workspace/dry_go-mod-core-contracts_PR-439/.semver' 00:41:20 # -> Force: false 00:41:20 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-439/.semver [Pipeline] } 00:41:20 $ docker exec --env ******** --env ******** 6baaab3cbd8a7bad3577460892d498408678355f8699b21da30c94a55948e468 ssh-agent -k 00:41:20 unset SSH_AUTH_SOCK; 00:41:20 unset SSH_AGENT_PID; 00:41:20 echo Agent pid 50 killed; 00:41:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:41:20 + git semver [Pipeline] } 00:41:20 $ docker stop --time=1 6baaab3cbd8a7bad3577460892d498408678355f8699b21da30c94a55948e468 00:41:22 $ docker rm -f 6baaab3cbd8a7bad3577460892d498408678355f8699b21da30c94a55948e468 [Pipeline] // withDockerContainer [Pipeline] sh 00:41:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:41:23 Stashed 1 file(s) [Pipeline] echo 00:41:23 [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:41:39 Still waiting to schedule task 00:41:39 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:41:39 Still waiting to schedule task 00:41:39 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:46:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21448 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] ws 00:46:03 Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout 00:46:09 Running on prd-centos7-docker-4c-2g-21449 in /w/workspace/dry_go-mod-core-contracts_PR-439 [Pipeline] { [Pipeline] ws 00:46:09 Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout 00:46:09 using credential edgex-jenkins-ssh 00:46:09 Cloning the remote Git repository 00:46:09 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 00:46:09 > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 00:46:09 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:46:09 > git --version # timeout=10 00:46:09 > git --version # 'git version 2.17.1' 00:46:09 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:46:11 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:46:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:46:11 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:46:11 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:46:11 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:11 using credential edgex-jenkins-ssh 00:46:11 Cloning the remote Git repository 00:46:12 Merging remotes/origin/master commit 1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb into PR head commit 7c782f36c5867f8658ac833bc6fb906e247c8941 00:46:12 Merge succeeded, producing 7851b310051916b3f503d02f3e1e207312ec03d5 00:46:12 Checking out Revision 7851b310051916b3f503d02f3e1e207312ec03d5 (PR-439) 00:46:11 > 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:12 > git config core.sparsecheckout # timeout=10 00:46:12 > git checkout -f 7c782f36c5867f8658ac833bc6fb906e247c8941 # timeout=10 00:46:12 > git remote # timeout=10 00:46:12 > git config --get remote.origin.url # timeout=10 00:46:12 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:12 > git merge 1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb # timeout=10 00:46:12 > git rev-parse HEAD^{commit} # timeout=10 00:46:12 > git config core.sparsecheckout # timeout=10 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/2 # 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.24.3' 00:46:11 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:46:12 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:46:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:46:12 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 00:46:13 Merging remotes/origin/master commit 1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb into PR head commit 7c782f36c5867f8658ac833bc6fb906e247c8941 00:46:13 Merge succeeded, producing 7851b310051916b3f503d02f3e1e207312ec03d5 00:46:13 Checking out Revision 7851b310051916b3f503d02f3e1e207312ec03d5 (PR-439) 00:46:12 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 00:46:12 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:12 > 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:46:12 > git config core.sparsecheckout # timeout=10 00:46:12 > git checkout -f 7c782f36c5867f8658ac833bc6fb906e247c8941 # timeout=10 00:46:12 > git remote # timeout=10 00:46:12 > git config --get remote.origin.url # timeout=10 00:46:12 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:12 > git merge 1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb # timeout=10 00:46:12 > git rev-parse HEAD^{commit} # timeout=10 00:46:12 > git config core.sparsecheckout # timeout=10 00:46:12 > git checkout -f 7851b310051916b3f503d02f3e1e207312ec03d5 # timeout=10 00:46:12 > git checkout -f 7851b310051916b3f503d02f3e1e207312ec03d5 # timeout=10 00:46:16 Commit message: "Merge commit '1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb' into HEAD" 00:46:17 Commit message: "Merge commit '1915b16eb2eb9b1cb835de2bb0cf2b3eddccddfb' into HEAD" 00:46:17 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 00:46:17 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:46:17 > git rev-list --no-walk 933fcd3843581b23431498f126de2f555da7de88 # timeout=10 [Pipeline] sh 00:46:18 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 00:46:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh 00:46:19 + sudo service docker restart 00:46:19 + true 00:46:19 Redirecting to /bin/systemctl restart docker.service 00:46:19 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:46:19 + + sudo service dockertrue restart 00:46:19 [Pipeline] unstash [Pipeline] echo 00:46:21 ========================================================= 00:46:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:46:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:46:21 + 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:46:21 Sending build context to Docker daemon 2.307MB 00:46:21 Step 1/7 : ARG BASE=golang:1.15-alpine 00:46:21 Step 2/7 : FROM ${BASE} 00:46:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:46:22 188c0c94c7c5: Pulling fs layer 00:46:22 0ef7d3d256c8: Pulling fs layer 00:46:22 de9db76c5a1d: Pulling fs layer 00:46:22 bca2f99d35d6: Pulling fs layer 00:46:22 93359f2a8cfa: Pulling fs layer 00:46:22 7c6f9722023f: Pulling fs layer 00:46:22 a35cf1a2eb13: Pulling fs layer 00:46:22 bca2f99d35d6: Waiting 00:46:22 93359f2a8cfa: Waiting 00:46:22 a35cf1a2eb13: Waiting 00:46:22 7c6f9722023f: Waiting 00:46:22 de9db76c5a1d: Verifying Checksum 00:46:22 de9db76c5a1d: Download complete 00:46:22 0ef7d3d256c8: Verifying Checksum 00:46:22 0ef7d3d256c8: Download complete 00:46:22 93359f2a8cfa: Download complete 00:46:22 7c6f9722023f: Download complete 00:46:22 188c0c94c7c5: Verifying Checksum 00:46:22 188c0c94c7c5: Download complete 00:46:22 188c0c94c7c5: Pull complete [Pipeline] unstash 00:46:22 0ef7d3d256c8: Pull complete 00:46:22 de9db76c5a1d: Pull complete [Pipeline] echo 00:46:22 ========================================================= 00:46:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:46:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:46:23 + 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:24 a35cf1a2eb13: Verifying Checksum 00:46:24 a35cf1a2eb13: Download complete 00:46:24 Sending build context to Docker daemon 2.306MB 00:46:24 Step 1/7 : ARG BASE=golang:1.15-alpine 00:46:24 Step 2/7 : FROM ${BASE} 00:46:24 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:46:24 5f621e34cdf4: Pulling fs layer 00:46:24 a4357932f1b6: Pulling fs layer 00:46:24 18c013af1878: Pulling fs layer 00:46:24 00ac8860ef70: Pulling fs layer 00:46:24 63d7cb157983: Pulling fs layer 00:46:24 b116817d02f9: Pulling fs layer 00:46:24 745a02a5169b: Pulling fs layer 00:46:24 00ac8860ef70: Waiting 00:46:24 63d7cb157983: Waiting 00:46:24 b116817d02f9: Waiting 00:46:24 18c013af1878: Verifying Checksum 00:46:24 18c013af1878: Download complete 00:46:24 a4357932f1b6: Verifying Checksum 00:46:24 a4357932f1b6: Download complete 00:46:25 63d7cb157983: Download complete 00:46:25 5f621e34cdf4: Verifying Checksum 00:46:25 5f621e34cdf4: Download complete 00:46:25 b116817d02f9: Verifying Checksum 00:46:25 b116817d02f9: Download complete 00:46:25 bca2f99d35d6: Verifying Checksum 00:46:25 bca2f99d35d6: Download complete 00:46:26 5f621e34cdf4: Pull complete 00:46:26 a4357932f1b6: Pull complete 00:46:26 18c013af1878: Pull complete 00:46:27 745a02a5169b: Verifying Checksum 00:46:27 745a02a5169b: Download complete 00:46:28 00ac8860ef70: Verifying Checksum 00:46:28 00ac8860ef70: Download complete 00:46:30 bca2f99d35d6: Pull complete 00:46:30 93359f2a8cfa: Pull complete 00:46:30 7c6f9722023f: Pull complete 00:46:38 00ac8860ef70: Pull complete 00:46:38 63d7cb157983: Pull complete 00:46:38 b116817d02f9: Pull complete 00:46:39 a35cf1a2eb13: Pull complete 00:46:39 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:46:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:46:39 ---> a62c8e92a672 00:46:39 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:46:39 ---> Running in e5c166ad49fd 00:46:39 Removing intermediate container e5c166ad49fd 00:46:39 ---> 0cead0125bf6 00:46:39 Step 4/7 : RUN apk add bash 00:46:39 ---> Running in 6b8d8986f8eb 00:46:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:46:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:46:41 OK: 166 MiB in 39 packages 00:46:42 Removing intermediate container 6b8d8986f8eb 00:46:42 ---> ec5370cc3a7f 00:46:42 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 00:46:42 ---> Running in 981faa1e75f1 00:46:42 745a02a5169b: Pull complete 00:46:42 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:46:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:46:42 ---> b7e6874047d6 00:46:42 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:46:42 Removing intermediate container 981faa1e75f1 00:46:42 ---> b77077075a64 00:46:42 Step 6/7 : COPY go.mod . 00:46:42 ---> 5ada4d0a9f2b 00:46:42 Step 7/7 : RUN go mod download 00:46:42 ---> Running in 799d7a4c76eb 00:46:45 ---> Running in 88547c9b2071 00:46:45 Removing intermediate container 88547c9b2071 00:46:45 ---> 87be8b85cd48 00:46:45 Step 4/7 : RUN apk add bash 00:46:45 ---> Running in b9ed1284bf52 00:46:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:46:48 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 b9ed1284bf52 00:46:52 ---> fa5f0722e680 00:46:52 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 00:46:52 ---> Running in 88aaba108ee2 00:46:53 Removing intermediate container 88aaba108ee2 00:46:53 ---> a78ffbc17f4d 00:46:53 Step 6/7 : COPY go.mod . 00:46:53 ---> 368a38454898 00:46:53 Step 7/7 : RUN go mod download 00:46:54 ---> Running in b2d32cb305a4 00:46:55 Removing intermediate container 799d7a4c76eb 00:46:55 ---> 080638facc0e 00:46:55 Successfully built 080638facc0e 00:46:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:46:55 + docker inspect -f . ci-base-image-x86_64 00:46:55 . [Pipeline] withDockerContainer 00:46:55 prd-centos7-docker-4c-2g-21449 does not seem to be running inside a container 00:46:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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 ******** ci-base-image-x86_64 cat 00:46:56 $ docker top a645098cc64b2e9573f53daebd31cfa0d1f8d5634de8a82c220cf242a92ebfa7 -eo pid,comm [Pipeline] { [Pipeline] sh 00:46:56 + go version 00:46:56 go version go1.15.5 linux/amd64 [Pipeline] } 00:46:56 $ docker stop --time=1 a645098cc64b2e9573f53daebd31cfa0d1f8d5634de8a82c220cf242a92ebfa7 00:46:58 $ docker rm -f a645098cc64b2e9573f53daebd31cfa0d1f8d5634de8a82c220cf242a92ebfa7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:46:59 + docker inspect -f . ci-base-image-x86_64 00:46:59 . [Pipeline] withDockerContainer 00:46:59 prd-centos7-docker-4c-2g-21449 does not seem to be running inside a container 00:46:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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 ******** ci-base-image-x86_64 cat 00:47:00 $ docker top 75bb6f159acb51322b44dae90519d1420fc3900225d36ceed4eb2187977da8ee -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:00 + make test 00:47:00 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:47:00 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/errors 00:47:00 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 00:47:00 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2 00:47:00 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 00:47:00 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:47:01 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:01 go: found github.com/edgexfoundry/go-mod-core-contracts/errors in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:47:01 go: found github.com/edgexfoundry/go-mod-core-contracts/v2 in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:47:01 go: found github.com/edgexfoundry/go-mod-core-contracts/v2/dtos in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:47:01 clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: 00:47:01 github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/2/clients/interfaces) 00:47:01 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:01 clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: 00:47:01 github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/2/models) 00:47:01 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:01 clients/request.go:30:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces in multiple modules: 00:47:01 github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/2/clients/interfaces) 00:47:01 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:01 clients/agent/client.go:24:2: ambiguous import: found package github.com/edgexfoundry/go-mod-core-contracts/v2/models in multiple modules: 00:47:01 github.com/edgexfoundry/go-mod-core-contracts/v2 (/w/workspace/go-mod-core-contracts/2/models) 00:47:01 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:01 make: *** [Makefile:6: test] Error 1 [Pipeline] } 00:47:01 $ docker stop --time=1 75bb6f159acb51322b44dae90519d1420fc3900225d36ceed4eb2187977da8ee 00:47:03 $ docker rm -f 75bb6f159acb51322b44dae90519d1420fc3900225d36ceed4eb2187977da8ee [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:47:04 Failed in branch amd64 00:47:09 Removing intermediate container b2d32cb305a4 00:47:09 ---> 94c3554f9168 00:47:09 Successfully built 94c3554f9168 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:09 prd-ubuntu18.04-docker-arm64-4c-16g-21448 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/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-arm64 cat 00:47:11 $ docker top 7391b172ba2b357d8a286476c0ef6a4d4b29c5515e49067be3190d00ac7b79c2 -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 7391b172ba2b357d8a286476c0ef6a4d4b29c5515e49067be3190d00ac7b79c2 00:47:14 $ docker rm -f 7391b172ba2b357d8a286476c0ef6a4d4b29c5515e49067be3190d00ac7b79c2 [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:16 prd-ubuntu18.04-docker-arm64-4c-16g-21448 does not seem to be running inside a container 00:47:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-arm64 cat 00:47:17 $ docker top bcfd42fb168122c7dd3163251c896c8e37b9d7c80f63d4046a481f034e2d1119 -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:19 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 00:47:19 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 00:47:19 go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2 00:47:19 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:20 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:20 go: found github.com/edgexfoundry/go-mod-core-contracts/errors in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:47:20 go: found github.com/edgexfoundry/go-mod-core-contracts/v2 in github.com/edgexfoundry/go-mod-core-contracts v0.1.149 00:47:20 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/2/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/2/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/2/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/2/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 bcfd42fb168122c7dd3163251c896c8e37b9d7c80f63d4046a481f034e2d1119 00:47:22 $ docker rm -f bcfd42fb168122c7dd3163251c896c8e37b9d7c80f63d4046a481f034e2d1119 [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:33 + 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:33 df20fa9351a1: Download complete 00:47:33 93b9cdb0e59b: Verifying Checksum 00:47:33 93b9cdb0e59b: Download complete 00:47:33 5e14af77c1be: Verifying Checksum 00:47:33 5e14af77c1be: Download complete 00:47:33 01666e4c0597: Verifying Checksum 00:47:33 01666e4c0597: Download complete 00:47:33 93b61091891f: Verifying Checksum 00:47:33 93b61091891f: Download complete 00:47:34 df20fa9351a1: Pull complete 00:47:34 36b3adc4ff6f: Pull complete 00:47:34 8ad3a11d3b57: Verifying Checksum 00:47:34 8ad3a11d3b57: Download complete 00:47:35 8ad3a11d3b57: Pull complete 00:47:35 46f8f816bc3b: Pull complete 00:47:35 93b61091891f: Pull complete 00:47:36 aa168da1d23b: Verifying Checksum 00:47:36 aa168da1d23b: Download complete 00:47:36 93b9cdb0e59b: Pull complete 00:47:36 5e14af77c1be: Pull complete 00:47:36 01666e4c0597: Pull complete 00:47:43 aa168da1d23b: Pull complete 00:47:43 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:47:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:47:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:47:43 prd-centos7-docker-4c-2g-21443 does not seem to be running inside a container 00:47:43 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:47:47 $ docker top e518ebd47e279287b28c458f3a98dfb7a24877942f1f8f7336382b0abb7c6af3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:47 + touch /tmp/pre-build-complete [Pipeline] sh 00:47:48 + mkdir -p /var/log/sa [Pipeline] sh 00:47:48 + ls /var/log/sa-host 00:47:48 + sadf -c /var/log/sa-host/sa20 00:47:48 file_magic: OK 00:47:48 HZ: Using current value: 100 00:47:48 file_header: OK 00:47:48 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:48 Statistics: 00:47:48 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:47:48 File successfully converted to sysstat format version 12.2.1 00:47:48 + sadf -c /var/log/sa-host/sa23 00:47:48 file_magic: OK 00:47:48 HZ: Using current value: 100 00:47:48 file_header: OK 00:47:48 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:48 Statistics: 00:47:48 Hnuu...uuuununununu... 00:47:48 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:47:48 provisioning config files... 00:47:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-439@tmp/config6470866292355837834tmp [Pipeline] { [Pipeline] echo 00:47:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:47:49 ---> create-netrc.sh [Pipeline] } 00:47:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:47:49 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:47:49 ---> python-tools-install.sh [Pipeline] echo 00:47:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:47:49 ---> sudo-logs.sh 00:47:49 Archiving 'sudo' log.. [Pipeline] echo 00:47:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:47:50 ---> job-cost.sh 00:47:50 lf-activate-venv: SKIPPING 00:47:50 INFO: No Stack... 00:47:51 INFO: Retrieving Pricing Info for: v1-standard-2 00:47:51 INFO: Archiving Costs [Pipeline] echo 00:47:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:47:51 ---> logs-deploy.sh 00:47:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-439/2 00:47:51 INFO: archiving workspace using pattern(s): 00:47:54 Archives upload complete. 00:47:54 INFO: archiving logs to Nexus