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