Pull request #365 updated 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 af8aa216260df0556b394ae78b2a31d110cb53a2 rather than e65508cfeaa29f2e2d512a01c43cded84eb6cdc3 Obtained Jenkinsfile from af8aa216260df0556b394ae78b2a31d110cb53a2 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 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 4d45bb06fbd349d05c83df7b0a7176550fae40e6 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d45bb06fbd349d05c83df7b0a7176550fae40e6 # timeout=10 Commit message: "Merge pull request #295 from ernestojeda/always-docker-auth" > 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:patch] ========================================================= [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: patch 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-11600 in /w/workspace/dry_go-mod-core-contracts_PR-365 [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-365 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit af8aa216260df0556b394ae78b2a31d110cb53a2 into PR head commit e65508cfeaa29f2e2d512a01c43cded84eb6cdc3 Merge succeeded, producing e65508cfeaa29f2e2d512a01c43cded84eb6cdc3 Checking out Revision e65508cfeaa29f2e2d512a01c43cded84eb6cdc3 (PR-365) > git config core.sparsecheckout # timeout=10 > git checkout -f e65508cfeaa29f2e2d512a01c43cded84eb6cdc3 # 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 af8aa216260df0556b394ae78b2a31d110cb53a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e65508cfeaa29f2e2d512a01c43cded84eb6cdc3 # timeout=10 Commit message: "feat(clients): Add V2 CommonClient" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:11:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 0a81a3158a62444627f2e64ac16745261dc2dd4a # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:11:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:11:44 ========================================================= 14:11:44 EdgeX Global Pipelines Version Info 14:11:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:11:45 ------------------- 14:11:45 stable info: 14:11:45 ------------------- 14:11:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:11:45 Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 14:11:45 Message: update stable to v1.0.162 14:11:46 ------------------- 14:11:46 experimental info: 14:11:46 ------------------- 14:11:46 Commited By: **** collab-it+edgex@linuxfoundation.org 14:11:46 Commit SHA: 4d45bb06fbd349d05c83df7b0a7176550fae40e6 14:11:46 Message: update experimental to v1.0.162 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 14:11:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 14:11:47 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 14:11:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:11:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:11:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:11:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 14:11:47 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 14:11:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 14:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 14:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:11:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 14:11:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:11:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:11:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:11:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 14:11:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:11:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:11:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:11:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:11:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:11:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 14:11:50 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 14:11:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-365 [Pipeline] echo 14:11:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-365 [Pipeline] echo 14:11:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-365 [Pipeline] echo 14:11:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e65508cfeaa29f2e2d512a01c43cded84eb6cdc3 [Pipeline] echo 14:11:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e65508c [Pipeline] echo 14:11:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 14:11:50 provisioning config files... 14:11:50 copy managed file [go-mod-core-contracts-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-365@tmp/config792338520980607204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:11:51 ---> docker-login.sh 14:11:51 nexus3.edgexfoundry.org:10001 14:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:51 Configure a credential helper to remove this warning. See 14:11:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:51 14:11:51 Login Succeeded 14:11:51 nexus3.edgexfoundry.org:10002 14:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:52 Configure a credential helper to remove this warning. See 14:11:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:52 14:11:52 Login Succeeded 14:11:52 nexus3.edgexfoundry.org:10003 14:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:52 Configure a credential helper to remove this warning. See 14:11:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:52 14:11:52 Login Succeeded 14:11:52 nexus3.edgexfoundry.org:10004 14:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:52 Configure a credential helper to remove this warning. See 14:11:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:52 14:11:52 Login Succeeded 14:11:52 docker.io 14:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:52 Configure a credential helper to remove this warning. See 14:11:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:52 14:11:52 Login Succeeded 14:11:52 ---> docker-login.sh ends [Pipeline] } 14:11:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:11:53 + git log --format=format:%s -1 e65508cfeaa29f2e2d512a01c43cded84eb6cdc3 [Pipeline] echo 14:11:53 GIT_COMMIT: e65508cfeaa29f2e2d512a01c43cded84eb6cdc3, Commit Message: feat(clients): Add V2 CommonClient [Pipeline] echo 14:11:53 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 14:11:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:11:54 14:11:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:11:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:11:55 latest: Pulling from edgex-devops/git-semver 14:11:55 31603596830f: Pulling fs layer 14:11:55 2a8b12db71e7: Pulling fs layer 14:11:55 6ca5941a6612: Pulling fs layer 14:11:55 ecc8261a40a4: Pulling fs layer 14:11:55 ecc8261a40a4: Waiting 14:11:55 2a8b12db71e7: Verifying Checksum 14:11:55 2a8b12db71e7: Download complete 14:11:55 31603596830f: Verifying Checksum 14:11:55 31603596830f: Download complete 14:11:55 ecc8261a40a4: Verifying Checksum 14:11:55 ecc8261a40a4: Download complete 14:11:55 6ca5941a6612: Verifying Checksum 14:11:55 6ca5941a6612: Download complete 14:11:55 31603596830f: Pull complete 14:11:55 2a8b12db71e7: Pull complete 14:11:56 6ca5941a6612: Pull complete 14:11:56 ecc8261a40a4: Pull complete 14:11:56 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 14:11:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:11:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:11:57 prd-centos7-docker-4c-2g-11600 does not seem to be running inside a container 14:11:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-365 -v /w/workspace/dry_go-mod-core-contracts_PR-365:/w/workspace/dry_go-mod-core-contracts_PR-365:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-365@tmp:/w/workspace/dry_go-mod-core-contracts_PR-365@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 14:11:59 $ docker top d97a6162ca5fe68b951a1716d9a48102eaef0ef78c87926a3a0bf85c9c2ef89e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:11:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:11:59 [ssh-agent] Looking for ssh-agent implementation... 14:11:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:11:59 $ docker exec d97a6162ca5fe68b951a1716d9a48102eaef0ef78c87926a3a0bf85c9c2ef89e ssh-agent 14:11:59 SSH_AUTH_SOCK=/tmp/ssh-zpsU0gG2MZjn/agent.13 14:11:59 SSH_AGENT_PID=18 14:11:59 Running ssh-add (command line suppressed) 14:11:59 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-365@tmp/private_key_3779615171085617526.key (/w/workspace/dry_go-mod-core-contracts_PR-365@tmp/private_key_3779615171085617526.key) 14:11:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:12:00 + git tag --points-at HEAD [Pipeline] } 14:12:00 $ docker exec --env ******** --env ******** d97a6162ca5fe68b951a1716d9a48102eaef0ef78c87926a3a0bf85c9c2ef89e ssh-agent -k 14:12:00 unset SSH_AUTH_SOCK; 14:12:00 unset SSH_AGENT_PID; 14:12:00 echo Agent pid 18 killed; 14:12:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:12:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:12:00 [ssh-agent] Looking for ssh-agent implementation... 14:12:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:12:00 $ docker exec d97a6162ca5fe68b951a1716d9a48102eaef0ef78c87926a3a0bf85c9c2ef89e ssh-agent 14:12:00 SSH_AUTH_SOCK=/tmp/ssh-N2agXsmzxciF/agent.46 14:12:00 SSH_AGENT_PID=51 14:12:00 Running ssh-add (command line suppressed) 14:12:01 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-365@tmp/private_key_9147297127911895472.key (/w/workspace/dry_go-mod-core-contracts_PR-365@tmp/private_key_9147297127911895472.key) 14:12:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:12:01 + git semver init 14:12:01 # -> Open(): unable to determine branch for HEAD 14:12:01 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-365/.git 14:12:01 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-365 14:12:01 # $SEMVER_REMOTE_NAME = origin 14:12:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:12:01 # $SEMVER_USER_NAME = edgex-jenkins 14:12:01 # $SEMVER_BRANCH = PR-365 14:12:01 # $SEMVER_TEMP = /tmp/semver-293090584 14:12:01 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 14:12:02 # '/tmp/semver-293090584' -> '/w/workspace/dry_go-mod-core-contracts_PR-365/.semver' 14:12:02 # -> Force: false 14:12:02 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-365/.semver [Pipeline] } 14:12:02 $ docker exec --env ******** --env ******** d97a6162ca5fe68b951a1716d9a48102eaef0ef78c87926a3a0bf85c9c2ef89e ssh-agent -k 14:12:02 unset SSH_AUTH_SOCK; 14:12:02 unset SSH_AGENT_PID; 14:12:02 echo Agent pid 51 killed; 14:12:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:12:03 + git semver [Pipeline] } 14:12:03 $ docker stop --time=1 d97a6162ca5fe68b951a1716d9a48102eaef0ef78c87926a3a0bf85c9c2ef89e 14:12:04 $ docker rm -f d97a6162ca5fe68b951a1716d9a48102eaef0ef78c87926a3a0bf85c9c2ef89e [Pipeline] // withDockerContainer [Pipeline] sh 14:12:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:12:05 Stashed 1 file(s) [Pipeline] echo 14:12:05 [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 14:12:21 Still waiting to schedule task 14:12:21 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-11600’ 14:12:21 Still waiting to schedule task 14:12:21 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 14:14:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-11601 in /w/workspace/dry_go-mod-core-contracts_PR-365 [Pipeline] { [Pipeline] ws 14:14:04 Running in /w/workspace/go-mod-core-contracts/12 [Pipeline] { [Pipeline] checkout 14:14:09 using credential edgex-jenkins-ssh 14:14:10 Cloning the remote Git repository 14:14:10 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 14:14:10 > git init /w/workspace/go-mod-core-contracts/12 # timeout=10 14:14:10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 14:14:10 > git --version # timeout=10 14:14:10 > git --version # 'git version 2.17.1' 14:14:10 using GIT_SSH to set credentials SSH Credentials for GitHub 14:14:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:14:11 Merging remotes/origin/master commit af8aa216260df0556b394ae78b2a31d110cb53a2 into PR head commit e65508cfeaa29f2e2d512a01c43cded84eb6cdc3 14:14:11 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 14:14:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:14:11 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 14:14:11 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 14:14:11 using GIT_SSH to set credentials SSH Credentials for GitHub 14:14:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:14:11 > git config core.sparsecheckout # timeout=10 14:14:11 > git checkout -f e65508cfeaa29f2e2d512a01c43cded84eb6cdc3 # timeout=10 14:14:12 Merge succeeded, producing e65508cfeaa29f2e2d512a01c43cded84eb6cdc3 14:14:12 Checking out Revision e65508cfeaa29f2e2d512a01c43cded84eb6cdc3 (PR-365) 14:14:12 > git remote # timeout=10 14:14:12 > git config --get remote.origin.url # timeout=10 14:14:12 using GIT_SSH to set credentials SSH Credentials for GitHub 14:14:12 > git merge af8aa216260df0556b394ae78b2a31d110cb53a2 # timeout=10 14:14:12 > git rev-parse HEAD^{commit} # timeout=10 14:14:12 > git config core.sparsecheckout # timeout=10 14:14:12 > git checkout -f e65508cfeaa29f2e2d512a01c43cded84eb6cdc3 # timeout=10 14:14:16 Commit message: "feat(clients): Add V2 CommonClient" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 14:14:17 provisioning config files... 14:14:17 copy managed file [go-mod-core-contracts-settings] to file:/w/workspace/go-mod-core-contracts/12@tmp/config4338924787640970692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:14:18 ---> docker-login.sh 14:14:18 nexus3.edgexfoundry.org:10001 14:14:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:14:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:14:19 Configure a credential helper to remove this warning. See 14:14:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:14:19 14:14:19 Login Succeeded 14:14:19 nexus3.edgexfoundry.org:10002 14:14:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:14:20 Configure a credential helper to remove this warning. See 14:14:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:14:20 14:14:20 Login Succeeded 14:14:20 nexus3.edgexfoundry.org:10003 14:14:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:14:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:14:21 Configure a credential helper to remove this warning. See 14:14:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:14:21 14:14:21 Login Succeeded 14:14:21 nexus3.edgexfoundry.org:10004 14:14:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:14:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:14:21 Configure a credential helper to remove this warning. See 14:14:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:14:21 14:14:21 Login Succeeded 14:14:21 docker.io 14:14:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:14:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:14:22 Configure a credential helper to remove this warning. See 14:14:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:14:22 14:14:22 Login Succeeded 14:14:22 ---> docker-login.sh ends [Pipeline] } 14:14:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:14:23 ========================================================= 14:14:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 14:14:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:14: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 . 14:14:24 Sending build context to Docker daemon 1.857MB 14:14:24 Step 1/7 : ARG BASE=golang:1.15-alpine 14:14:24 Step 2/7 : FROM ${BASE} 14:14:24 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:14:24 b538f80385f9: Pulling fs layer 14:14:24 74f711af9a0d: Pulling fs layer 14:14:24 99f96fe45779: Pulling fs layer 14:14:24 8529a6b9a6be: Pulling fs layer 14:14:24 45590311c82a: Pulling fs layer 14:14:24 69ca0ff8b7b3: Pulling fs layer 14:14:24 209524e5b208: Pulling fs layer 14:14:24 8529a6b9a6be: Waiting 14:14:24 45590311c82a: Waiting 14:14:24 69ca0ff8b7b3: Waiting 14:14:24 209524e5b208: Waiting 14:14:24 99f96fe45779: Verifying Checksum 14:14:24 74f711af9a0d: Verifying Checksum 14:14:24 74f711af9a0d: Download complete 14:14:24 45590311c82a: Verifying Checksum 14:14:24 45590311c82a: Download complete 14:14:24 b538f80385f9: Verifying Checksum 14:14:24 b538f80385f9: Download complete 14:14:24 69ca0ff8b7b3: Verifying Checksum 14:14:24 69ca0ff8b7b3: Download complete 14:14:25 b538f80385f9: Pull complete 14:14:25 74f711af9a0d: Pull complete 14:14:26 99f96fe45779: Pull complete 14:14:27 209524e5b208: Verifying Checksum 14:14:27 209524e5b208: Download complete 14:14:28 8529a6b9a6be: Verifying Checksum 14:14:28 8529a6b9a6be: Download complete 14:14:38 8529a6b9a6be: Pull complete 14:14:38 45590311c82a: Pull complete 14:14:38 69ca0ff8b7b3: Pull complete 14:14:42 209524e5b208: Pull complete 14:14:42 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 14:14:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 14:14:42 ---> 5bddaf1c2fca 14:14:42 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:14:45 ---> Running in e744f522dd34 14:14:46 Removing intermediate container e744f522dd34 14:14:46 ---> 7c460686895d 14:14:46 Step 4/7 : RUN apk add bash 14:14:46 ---> Running in 9b869ec02adb 14:14:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 14:14:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 14:14:50 OK: 142 MiB in 39 packages 14:14:51 Removing intermediate container 9b869ec02adb 14:14:51 ---> c854d5d8b8a5 14:14:51 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 14:14:51 ---> Running in 7c25ac79a402 14:14:51 Removing intermediate container 7c25ac79a402 14:14:51 ---> 1f964b0a1d4a 14:14:51 Step 6/7 : COPY go.mod . 14:14:52 ---> fd1d99b017fd 14:14:52 Step 7/7 : RUN go mod download 14:14:52 ---> Running in fda62bf94bd6 14:15:07 Removing intermediate container fda62bf94bd6 14:15:07 ---> 2a5011395822 14:15:07 Successfully built 2a5011395822 14:15:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:15:08 + docker inspect -f . ci-base-image-arm64 14:15:08 . [Pipeline] withDockerContainer 14:15:08 prd-ubuntu18.04-docker-arm64-4c-16g-11601 does not seem to be running inside a container 14:15:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/12 -v /w/workspace/go-mod-core-contracts/12:/w/workspace/go-mod-core-contracts/12:rw,z -v /w/workspace/go-mod-core-contracts/12@tmp:/w/workspace/go-mod-core-contracts/12@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-arm64 cat 14:15:10 $ docker top a83422fadb6aaf406e2dcb24f5066140dc7868d892ac385e662354d3078d8a8c -eo pid,comm [Pipeline] { [Pipeline] sh 14:15:11 + go version 14:15:11 go version go1.15.2 linux/arm64 [Pipeline] } 14:15:11 $ docker stop --time=1 a83422fadb6aaf406e2dcb24f5066140dc7868d892ac385e662354d3078d8a8c 14:15:13 $ docker rm -f a83422fadb6aaf406e2dcb24f5066140dc7868d892ac385e662354d3078d8a8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:15:14 + docker inspect -f . ci-base-image-arm64 14:15:14 . [Pipeline] withDockerContainer 14:15:14 prd-ubuntu18.04-docker-arm64-4c-16g-11601 does not seem to be running inside a container 14:15:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/12 -v /w/workspace/go-mod-core-contracts/12:/w/workspace/go-mod-core-contracts/12:rw,z -v /w/workspace/go-mod-core-contracts/12@tmp:/w/workspace/go-mod-core-contracts/12@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-arm64 cat 14:15:16 $ docker top e027483d236c4a79328051edf17edce2e25fe7ef483c68302c3f81f6551e6046 -eo pid,comm [Pipeline] { [Pipeline] sh 14:15:18 + make test 14:15:18 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:15:18 package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 14:15:18 imports github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils 14:15:18 imports github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http: import cycle not allowed 14:15:18 make: *** [Makefile:6: test] Error 1 [Pipeline] } 14:15:18 $ docker stop --time=1 e027483d236c4a79328051edf17edce2e25fe7ef483c68302c3f81f6551e6046 14:15:20 $ docker rm -f e027483d236c4a79328051edf17edce2e25fe7ef483c68302c3f81f6551e6046 [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] } 14:15:22 Failed in branch arm64 14:15:35 Running on prd-centos7-docker-4c-2g-11602 in /w/workspace/dry_go-mod-core-contracts_PR-365 [Pipeline] { [Pipeline] ws 14:15:36 Running in /w/workspace/go-mod-core-contracts/12 [Pipeline] { [Pipeline] checkout 14:15:46 using credential edgex-jenkins-ssh 14:15:46 Cloning the remote Git repository 14:15:46 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 14:15:46 > git init /w/workspace/go-mod-core-contracts/12 # timeout=10 14:15:46 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 14:15:46 > git --version # timeout=10 14:15:46 > git --version # 'git version 2.16.5' 14:15:46 using GIT_SSH to set credentials SSH Credentials for GitHub 14:15:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:15:48 Merging remotes/origin/master commit af8aa216260df0556b394ae78b2a31d110cb53a2 into PR head commit e65508cfeaa29f2e2d512a01c43cded84eb6cdc3 14:15:47 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 14:15:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:15:47 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 14:15:47 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 14:15:47 using GIT_SSH to set credentials SSH Credentials for GitHub 14:15:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:15:48 > git config core.sparsecheckout # timeout=10 14:15:48 > git checkout -f e65508cfeaa29f2e2d512a01c43cded84eb6cdc3 # timeout=10 14:15:48 > git remote # timeout=10 14:15:49 Merge succeeded, producing e65508cfeaa29f2e2d512a01c43cded84eb6cdc3 14:15:49 Checking out Revision e65508cfeaa29f2e2d512a01c43cded84eb6cdc3 (PR-365) 14:15:49 > git config --get remote.origin.url # timeout=10 14:15:49 using GIT_SSH to set credentials SSH Credentials for GitHub 14:15:49 > git merge af8aa216260df0556b394ae78b2a31d110cb53a2 # timeout=10 14:15:49 > git rev-parse HEAD^{commit} # timeout=10 14:15:49 > git config core.sparsecheckout # timeout=10 14:15:49 > git checkout -f e65508cfeaa29f2e2d512a01c43cded84eb6cdc3 # timeout=10 14:15:54 Commit message: "feat(clients): Add V2 CommonClient" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 14:15:55 provisioning config files... 14:15:55 copy managed file [go-mod-core-contracts-settings] to file:/w/workspace/go-mod-core-contracts/12@tmp/config5888076319985299577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:15:56 ---> docker-login.sh 14:15:56 nexus3.edgexfoundry.org:10001 14:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:57 Configure a credential helper to remove this warning. See 14:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:57 14:15:57 Login Succeeded 14:15:57 nexus3.edgexfoundry.org:10002 14:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:57 Configure a credential helper to remove this warning. See 14:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:57 14:15:57 Login Succeeded 14:15:57 nexus3.edgexfoundry.org:10003 14:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:58 Configure a credential helper to remove this warning. See 14:15:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:58 14:15:58 Login Succeeded 14:15:58 nexus3.edgexfoundry.org:10004 14:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:58 Configure a credential helper to remove this warning. See 14:15:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:58 14:15:58 Login Succeeded 14:15:58 docker.io 14:15:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:59 Configure a credential helper to remove this warning. See 14:15:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:59 14:15:59 Login Succeeded 14:15:59 ---> docker-login.sh ends [Pipeline] } 14:15:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:16:00 ========================================================= 14:16:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 14:16:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:16:00 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 14:16:01 Sending build context to Docker daemon 1.857MB 14:16:01 Step 1/7 : ARG BASE=golang:1.15-alpine 14:16:01 Step 2/7 : FROM ${BASE} 14:16:01 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 14:16:01 df20fa9351a1: Pulling fs layer 14:16:01 ed8968b2872e: Pulling fs layer 14:16:01 a92cc7c5fd73: Pulling fs layer 14:16:01 e871e8e8d7a9: Pulling fs layer 14:16:01 e73272ec9a57: Pulling fs layer 14:16:01 1e910a182e73: Pulling fs layer 14:16:01 4e634b169226: Pulling fs layer 14:16:01 e73272ec9a57: Waiting 14:16:01 1e910a182e73: Waiting 14:16:01 4e634b169226: Waiting 14:16:01 e871e8e8d7a9: Waiting 14:16:01 a92cc7c5fd73: Verifying Checksum 14:16:01 a92cc7c5fd73: Download complete 14:16:01 ed8968b2872e: Download complete 14:16:01 e73272ec9a57: Verifying Checksum 14:16:01 e73272ec9a57: Download complete 14:16:01 1e910a182e73: Verifying Checksum 14:16:01 1e910a182e73: Download complete 14:16:01 df20fa9351a1: Verifying Checksum 14:16:01 df20fa9351a1: Download complete 14:16:02 df20fa9351a1: Pull complete 14:16:02 ed8968b2872e: Pull complete 14:16:03 a92cc7c5fd73: Pull complete 14:16:07 4e634b169226: Verifying Checksum 14:16:07 4e634b169226: Download complete 14:16:08 e871e8e8d7a9: Verifying Checksum 14:16:08 e871e8e8d7a9: Download complete 14:16:16 e871e8e8d7a9: Pull complete 14:16:16 e73272ec9a57: Pull complete 14:16:16 1e910a182e73: Pull complete 14:16:22 4e634b169226: Pull complete 14:16:22 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 14:16:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 14:16:22 ---> f7629b54cfaa 14:16:22 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:16:22 ---> Running in b7261a6d420f 14:16:22 Removing intermediate container b7261a6d420f 14:16:22 ---> 541e2b3b2a8b 14:16:22 Step 4/7 : RUN apk add bash 14:16:22 ---> Running in fb94609d3834 14:16:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 14:16:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 14:16:24 OK: 166 MiB in 39 packages 14:16:25 Removing intermediate container fb94609d3834 14:16:25 ---> 3ea46eabab22 14:16:25 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 14:16:25 ---> Running in c31b5d6dfb9b 14:16:26 Removing intermediate container c31b5d6dfb9b 14:16:26 ---> f4e96bbb344f 14:16:26 Step 6/7 : COPY go.mod . 14:16:26 ---> dbf80a6d6e04 14:16:26 Step 7/7 : RUN go mod download 14:16:26 ---> Running in b7a7fdfb1a91 14:16:38 Removing intermediate container b7a7fdfb1a91 14:16:38 ---> a5faaa6e9ff0 14:16:38 Successfully built a5faaa6e9ff0 14:16:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:16:39 + docker inspect -f . ci-base-image-x86_64 14:16:39 . [Pipeline] withDockerContainer 14:16:40 prd-centos7-docker-4c-2g-11602 does not seem to be running inside a container 14:16:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/12 -v /w/workspace/go-mod-core-contracts/12:/w/workspace/go-mod-core-contracts/12:rw,z -v /w/workspace/go-mod-core-contracts/12@tmp:/w/workspace/go-mod-core-contracts/12@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 14:16:41 $ docker top 50fa7abfe4434d59fa387c3ae13b3c136fb9a3095e090b815a19137b75c1d034 -eo pid,comm [Pipeline] { [Pipeline] sh 14:16:42 + go version 14:16:42 go version go1.15.2 linux/amd64 [Pipeline] } 14:16:42 $ docker stop --time=1 50fa7abfe4434d59fa387c3ae13b3c136fb9a3095e090b815a19137b75c1d034 14:16:43 $ docker rm -f 50fa7abfe4434d59fa387c3ae13b3c136fb9a3095e090b815a19137b75c1d034 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:16:44 + docker inspect -f . ci-base-image-x86_64 14:16:44 . [Pipeline] withDockerContainer 14:16:44 prd-centos7-docker-4c-2g-11602 does not seem to be running inside a container 14:16:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/12 -v /w/workspace/go-mod-core-contracts/12:/w/workspace/go-mod-core-contracts/12:rw,z -v /w/workspace/go-mod-core-contracts/12@tmp:/w/workspace/go-mod-core-contracts/12@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 14:16:46 $ docker top 3ad20da9b3012d723cdb517e9101daa75c3b69795197ebdc7605c9d1e895d541 -eo pid,comm [Pipeline] { [Pipeline] sh 14:16:46 + make test 14:16:46 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:16:47 package github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 14:16:47 imports github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils 14:16:47 imports github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http: import cycle not allowed 14:16:47 make: *** [Makefile:6: test] Error 1 [Pipeline] } 14:16:47 $ docker stop --time=1 3ad20da9b3012d723cdb517e9101daa75c3b69795197ebdc7605c9d1e895d541 14:16:49 $ docker rm -f 3ad20da9b3012d723cdb517e9101daa75c3b69795197ebdc7605c9d1e895d541 [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] } 14:16:51 Failed in branch amd64 [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 14:16:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:16:54 ---> package-listing.sh 14:16:54 ++ facter osfamily 14:16:54 ++ tr '[:upper:]' '[:lower:]' 14:16:54 + OS_FAMILY=redhat 14:16:54 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-365 14:16:54 + START_PACKAGES=/tmp/packages_start.txt 14:16:54 + END_PACKAGES=/tmp/packages_end.txt 14:16:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:16:54 + PACKAGES=/tmp/packages_start.txt 14:16:54 + '[' /w/workspace/dry_go-mod-core-contracts_PR-365 ']' 14:16:54 + PACKAGES=/tmp/packages_end.txt 14:16:54 + case "${OS_FAMILY}" in 14:16:54 + rpm -qa 14:16:54 + sort 14:16:59 + '[' -f /tmp/packages_start.txt ']' 14:16:59 + '[' -f /tmp/packages_end.txt ']' 14:16:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:16:59 + '[' /w/workspace/dry_go-mod-core-contracts_PR-365 ']' 14:16:59 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-365/archives/ 14:16:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-365/archives/ [Pipeline] echo 14:16: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-365/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:16:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:16:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:16:59 14:16:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:17:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:17:00 alpine: Pulling from edgex-lftools-log-publisher 14:17:00 df20fa9351a1: Pulling fs layer 14:17:00 36b3adc4ff6f: Pulling fs layer 14:17:00 8ad3a11d3b57: Pulling fs layer 14:17:00 46f8f816bc3b: Pulling fs layer 14:17:00 93b61091891f: Pulling fs layer 14:17:00 93b9cdb0e59b: Pulling fs layer 14:17:00 5e14af77c1be: Pulling fs layer 14:17:00 01666e4c0597: Pulling fs layer 14:17:00 aa168da1d23b: Pulling fs layer 14:17:00 93b9cdb0e59b: Waiting 14:17:00 5e14af77c1be: Waiting 14:17:00 01666e4c0597: Waiting 14:17:00 aa168da1d23b: Waiting 14:17:00 46f8f816bc3b: Waiting 14:17:00 93b61091891f: Waiting 14:17:00 36b3adc4ff6f: Verifying Checksum 14:17:00 36b3adc4ff6f: Download complete 14:17:00 46f8f816bc3b: Verifying Checksum 14:17:00 46f8f816bc3b: Download complete 14:17:00 df20fa9351a1: Verifying Checksum 14:17:00 df20fa9351a1: Download complete 14:17:00 93b9cdb0e59b: Verifying Checksum 14:17:00 93b9cdb0e59b: Download complete 14:17:00 5e14af77c1be: Download complete 14:17:00 93b61091891f: Verifying Checksum 14:17:00 93b61091891f: Download complete 14:17:00 01666e4c0597: Verifying Checksum 14:17:00 01666e4c0597: Download complete 14:17:00 8ad3a11d3b57: Verifying Checksum 14:17:00 8ad3a11d3b57: Download complete 14:17:00 df20fa9351a1: Pull complete 14:17:00 36b3adc4ff6f: Pull complete 14:17:01 8ad3a11d3b57: Pull complete 14:17:01 46f8f816bc3b: Pull complete 14:17:02 93b61091891f: Pull complete 14:17:02 93b9cdb0e59b: Pull complete 14:17:02 5e14af77c1be: Pull complete 14:17:02 aa168da1d23b: Verifying Checksum 14:17:02 aa168da1d23b: Download complete 14:17:02 01666e4c0597: Pull complete 14:17:09 aa168da1d23b: Pull complete 14:17:09 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 14:17:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:17:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:17:09 prd-centos7-docker-4c-2g-11600 does not seem to be running inside a container 14:17:09 $ 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-365/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-365 -v /w/workspace/dry_go-mod-core-contracts_PR-365:/w/workspace/dry_go-mod-core-contracts_PR-365:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-365@tmp:/w/workspace/dry_go-mod-core-contracts_PR-365@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 14:17:16 $ docker top 41c84d72e43539b03b156535482a5f1d0265ffa2aae626186a30c707014bd3b3 -eo pid,comm [Pipeline] { [Pipeline] sh 14:17:16 + touch /tmp/pre-build-complete [Pipeline] sh 14:17:17 + mkdir -p /var/log/sa [Pipeline] sh 14:17:17 + ls /var/log/sa-host 14:17:17 + sadf -c /var/log/sa-host/sa05 14:17:17 file_magic: OK 14:17:17 HZ: Using current value: 100 14:17:17 file_header: OK 14:17:17 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 14:17:17 Statistics: 14:17:17 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:17:17 File successfully converted to sysstat format version 12.2.1 14:17:17 + sadf -c /var/log/sa-host/sa09 14:17:17 file_magic: OK 14:17:17 HZ: Using current value: 100 14:17:17 file_header: OK 14:17:17 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 14:17:17 Statistics: 14:17:17 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:17:17 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:17:18 provisioning config files... 14:17:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-365@tmp/config7526727989636354458tmp [Pipeline] { [Pipeline] echo 14:17:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:17:18 ---> create-netrc.sh [Pipeline] } 14:17:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 14:17:18 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 14:17:18 ---> python-tools-install.sh [Pipeline] echo 14:17:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:17:19 ---> sudo-logs.sh 14:17:19 Archiving 'sudo' log.. [Pipeline] echo 14:17:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:17:19 ---> job-cost.sh 14:17:19 lf-activate-venv: SKIPPING 14:17:19 INFO: No Stack... 14:17:21 INFO: Retrieving Pricing Info for: v1-standard-2 14:17:22 INFO: Archiving Costs [Pipeline] echo 14:17:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:17:22 ---> logs-deploy.sh 14:17:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-365/12 14:17:22 INFO: archiving workspace using pattern(s): 14:17:25 Archives upload complete. 14:17:25 INFO: archiving logs to Nexus