Pull request #291 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 cloudxxx8 for edgexfoundry/go-mod-core-contracts Obtained Jenkinsfile from b21f5c8332eac12f44817843c8407ad1c1505b64+0d5d88458eaedf18de20903fc0779208ad678d39 (cb5e40e4e4197d3454c2b8a75a3842a471295f12) 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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. [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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-842’ is offline Running on prd-centos7-docker-4c-2g-844 in /w/workspace/dry_go-mod-core-contracts_PR-291 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-291 # 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 --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/291/head:refs/remotes/origin/PR-291 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 0d5d88458eaedf18de20903fc0779208ad678d39 into PR head commit b21f5c8332eac12f44817843c8407ad1c1505b64 Merge succeeded, producing b21f5c8332eac12f44817843c8407ad1c1505b64 Checking out Revision b21f5c8332eac12f44817843c8407ad1c1505b64 (PR-291) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/291/head:refs/remotes/origin/PR-291 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/291/head:refs/remotes/origin/PR-291 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b21f5c8332eac12f44817843c8407ad1c1505b64 # 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 0d5d88458eaedf18de20903fc0779208ad678d39 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b21f5c8332eac12f44817843c8407ad1c1505b64 # timeout=10 Commit message: "Fix: Error msg should return first non-empty msg" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 14db601ad80c586c44455a3605f5265582403725 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:28:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:28:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:28:28 ========================================================= 14:28:28 EdgeX Global Pipelines Version Info 14:28:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:28:29 ------------------- 14:28:29 stable info: 14:28:29 ------------------- 14:28:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:28:29 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 14:28:29 Message: update stable to v1.0.122 14:28:30 ------------------- 14:28:30 experimental info: 14:28:30 ------------------- 14:28:30 Commited By: **** collab-it+edgex@linuxfoundation.org 14:28:30 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 14:28:30 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 14:28:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 14:28:30 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 14:28:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:28:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:28:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:28:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 14:28:31 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 14:28:31 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 14:28:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:28:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:28:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 14:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:28:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 14:28:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:28:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:28:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:28:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 14:28:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:28:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:28:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:28:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-291 [Pipeline] echo 14:28:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-291 [Pipeline] echo 14:28:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-291 [Pipeline] echo 14:28:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b21f5c8332eac12f44817843c8407ad1c1505b64 [Pipeline] echo 14:28:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b21f5c8 [Pipeline] echo 14:28:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:28:34 + git log --format=format:%s -1 b21f5c8332eac12f44817843c8407ad1c1505b64 [Pipeline] echo 14:28:34 GIT_COMMIT: b21f5c8332eac12f44817843c8407ad1c1505b64, Commit Message: Fix: Error msg should return first non-empty msg [Pipeline] echo 14:28:34 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 14:28:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:28:35 14:28:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:28:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:28:35 latest: Pulling from edgex-devops/git-semver 14:28:35 31603596830f: Pulling fs layer 14:28:35 2a8b12db71e7: Pulling fs layer 14:28:35 6ca5941a6612: Pulling fs layer 14:28:35 ecc8261a40a4: Pulling fs layer 14:28:35 ecc8261a40a4: Waiting 14:28:35 2a8b12db71e7: Verifying Checksum 14:28:35 2a8b12db71e7: Download complete 14:28:36 31603596830f: Verifying Checksum 14:28:36 31603596830f: Download complete 14:28:36 ecc8261a40a4: Verifying Checksum 14:28:36 ecc8261a40a4: Download complete 14:28:36 6ca5941a6612: Verifying Checksum 14:28:36 6ca5941a6612: Download complete 14:28:36 31603596830f: Pull complete 14:28:36 2a8b12db71e7: Pull complete 14:28:37 6ca5941a6612: Pull complete 14:28:37 ecc8261a40a4: Pull complete 14:28:37 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 14:28:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:28:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:28:37 prd-centos7-docker-4c-2g-844 does not seem to be running inside a container 14:28:37 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-291 -v /w/workspace/dry_go-mod-core-contracts_PR-291:/w/workspace/dry_go-mod-core-contracts_PR-291:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-291@tmp:/w/workspace/dry_go-mod-core-contracts_PR-291@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:28:39 $ docker top 14b4a880b8f7ad48aca559110a53aef6c7770a77c69a3aa56d90fb214e70a380 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:28:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:28:39 [ssh-agent] Looking for ssh-agent implementation... 14:28:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:28:40 $ docker exec 14b4a880b8f7ad48aca559110a53aef6c7770a77c69a3aa56d90fb214e70a380 ssh-agent 14:28:40 SSH_AUTH_SOCK=/tmp/ssh-heDX4RbNM3k6/agent.11 14:28:40 SSH_AGENT_PID=16 14:28:40 Running ssh-add (command line suppressed) 14:28:40 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-291@tmp/private_key_5294275241576567890.key (/w/workspace/dry_go-mod-core-contracts_PR-291@tmp/private_key_5294275241576567890.key) 14:28:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:28:40 + git describe --exact-match --tags HEAD 14:28:40 fatal: No names found, cannot describe anything. [Pipeline] } 14:28:40 $ docker exec --env ******** --env ******** 14b4a880b8f7ad48aca559110a53aef6c7770a77c69a3aa56d90fb214e70a380 ssh-agent -k 14:28:40 unset SSH_AUTH_SOCK; 14:28:40 unset SSH_AGENT_PID; 14:28:40 echo Agent pid 16 killed; 14:28:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:28:41 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:28:41 This usually means this commit has not been tagged. [Pipeline] sshagent 14:28:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:28:41 [ssh-agent] Looking for ssh-agent implementation... 14:28:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:28:41 $ docker exec 14b4a880b8f7ad48aca559110a53aef6c7770a77c69a3aa56d90fb214e70a380 ssh-agent 14:28:41 SSH_AUTH_SOCK=/tmp/ssh-J3ldw3OJ169K/agent.44 14:28:41 SSH_AGENT_PID=49 14:28:41 Running ssh-add (command line suppressed) 14:28:41 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-291@tmp/private_key_485481259373972300.key (/w/workspace/dry_go-mod-core-contracts_PR-291@tmp/private_key_485481259373972300.key) 14:28:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:28:42 + git semver init 14:28:42 # -> Open(): unable to determine branch for HEAD 14:28:42 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-291/.git 14:28:42 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-291 14:28:42 # $SEMVER_REMOTE_NAME = origin 14:28:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:28:42 # $SEMVER_USER_NAME = edgex-jenkins 14:28:42 # $SEMVER_BRANCH = PR-291 14:28:42 # $SEMVER_TEMP = /tmp/semver-612938182 14:28:42 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 14:28:42 # '/tmp/semver-612938182' -> '/w/workspace/dry_go-mod-core-contracts_PR-291/.semver' 14:28:42 # -> Force: false 14:28:42 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-291/.semver [Pipeline] } 14:28:42 $ docker exec --env ******** --env ******** 14b4a880b8f7ad48aca559110a53aef6c7770a77c69a3aa56d90fb214e70a380 ssh-agent -k 14:28:42 unset SSH_AUTH_SOCK; 14:28:42 unset SSH_AGENT_PID; 14:28:42 echo Agent pid 49 killed; 14:28:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:28:43 + git semver [Pipeline] } 14:28:43 $ docker stop --time=1 14b4a880b8f7ad48aca559110a53aef6c7770a77c69a3aa56d90fb214e70a380 14:28:45 $ docker rm -f 14b4a880b8f7ad48aca559110a53aef6c7770a77c69a3aa56d90fb214e70a380 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:28:46 Stashed 96 file(s) [Pipeline] echo 14:28:46 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 14:28:46 Archived original 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:29:01 Still waiting to schedule task 14:29:01 ‘prd-centos7-docker-4c-2g-845’ is offline; ‘prd-centos7-docker-4c-2g-846’ is offline 14:29:01 Still waiting to schedule task 14:29:01 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-843’ 14:30:19 Running on prd-centos7-docker-4c-2g-847 in /w/workspace/dry_go-mod-core-contracts_PR-291 [Pipeline] { [Pipeline] ws 14:30:19 Running in /w/workspace/go-mod-core-contracts/3 [Pipeline] { [Pipeline] checkout 14:30:22 using credential edgex-jenkins-ssh 14:30:22 Cloning the remote Git repository 14:30:22 Cloning with configured refspecs honoured and without tags 14:30:22 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 14:30:22 > git init /w/workspace/go-mod-core-contracts/3 # timeout=10 14:30:23 Fetching without tags 14:30:22 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 14:30:22 > git --version # timeout=10 14:30:22 > git --version # 'git version 2.16.5' 14:30:22 using GIT_SSH to set credentials SSH Credentials for GitHub 14:30:22 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/291/head:refs/remotes/origin/PR-291 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:30:23 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 14:30:23 > git config --add remote.origin.fetch +refs/pull/291/head:refs/remotes/origin/PR-291 # timeout=10 14:30:23 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:30:23 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 14:30:23 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 14:30:23 using GIT_SSH to set credentials SSH Credentials for GitHub 14:30:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/291/head:refs/remotes/origin/PR-291 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:30:23 Merging remotes/origin/master commit 0d5d88458eaedf18de20903fc0779208ad678d39 into PR head commit b21f5c8332eac12f44817843c8407ad1c1505b64 14:30:23 Merge succeeded, producing b21f5c8332eac12f44817843c8407ad1c1505b64 14:30:23 Checking out Revision b21f5c8332eac12f44817843c8407ad1c1505b64 (PR-291) 14:30:23 > git config core.sparsecheckout # timeout=10 14:30:23 > git checkout -f b21f5c8332eac12f44817843c8407ad1c1505b64 # timeout=10 14:30:23 > git remote # timeout=10 14:30:23 > git config --get remote.origin.url # timeout=10 14:30:23 using GIT_SSH to set credentials SSH Credentials for GitHub 14:30:23 > git merge 0d5d88458eaedf18de20903fc0779208ad678d39 # timeout=10 14:30:23 > git rev-parse HEAD^{commit} # timeout=10 14:30:23 > git config core.sparsecheckout # timeout=10 14:30:23 > git checkout -f b21f5c8332eac12f44817843c8407ad1c1505b64 # timeout=10 14:30:27 Commit message: "Fix: Error msg should return first non-empty msg" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:30:28 ========================================================= 14:30:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 14:30:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:30:28 + 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:30:29 Sending build context to Docker daemon 2.267MB 14:30:29 Step 1/7 : ARG BASE=golang:1.15-alpine 14:30:29 Step 2/7 : FROM ${BASE} 14:30:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 14:30:29 df20fa9351a1: Pulling fs layer 14:30:29 ed8968b2872e: Pulling fs layer 14:30:29 a92cc7c5fd73: Pulling fs layer 14:30:29 e871e8e8d7a9: Pulling fs layer 14:30:29 e73272ec9a57: Pulling fs layer 14:30:29 1e910a182e73: Pulling fs layer 14:30:29 4e634b169226: Pulling fs layer 14:30:29 e871e8e8d7a9: Waiting 14:30:29 e73272ec9a57: Waiting 14:30:29 1e910a182e73: Waiting 14:30:29 4e634b169226: Waiting 14:30:29 a92cc7c5fd73: Verifying Checksum 14:30:29 a92cc7c5fd73: Download complete 14:30:29 ed8968b2872e: Verifying Checksum 14:30:29 ed8968b2872e: Download complete 14:30:29 e73272ec9a57: Download complete 14:30:29 1e910a182e73: Verifying Checksum 14:30:29 1e910a182e73: Download complete 14:30:29 df20fa9351a1: Verifying Checksum 14:30:29 df20fa9351a1: Download complete 14:30:29 df20fa9351a1: Pull complete 14:30:29 ed8968b2872e: Pull complete 14:30:29 a92cc7c5fd73: Pull complete 14:30:31 4e634b169226: Verifying Checksum 14:30:31 4e634b169226: Download complete 14:30:31 e871e8e8d7a9: Verifying Checksum 14:30:31 e871e8e8d7a9: Download complete 14:30:37 e871e8e8d7a9: Pull complete 14:30:37 e73272ec9a57: Pull complete 14:30:37 1e910a182e73: Pull complete 14:30:43 4e634b169226: Pull complete 14:30:43 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 14:30:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 14:30:43 ---> f7629b54cfaa 14:30:43 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:30:43 ---> Running in 21a575968be7 14:30:44 Removing intermediate container 21a575968be7 14:30:44 ---> 36f0f349b2d5 14:30:44 Step 4/7 : RUN apk add bash 14:30:44 ---> Running in c2c5c57be007 14:30:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 14:30:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 14:30:46 OK: 166 MiB in 39 packages 14:30:47 Removing intermediate container c2c5c57be007 14:30:47 ---> 763d276235d0 14:30:47 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 14:30:47 ---> Running in 54a4ff85a67f 14:30:47 Removing intermediate container 54a4ff85a67f 14:30:47 ---> 9a7404e4a45d 14:30:47 Step 6/7 : COPY go.mod . 14:30:47 ---> 242d6bb9910b 14:30:47 Step 7/7 : RUN go mod download 14:30:47 ---> Running in 3be97c32f8c1 14:30:59 Removing intermediate container 3be97c32f8c1 14:30:59 ---> fb752f76cfee 14:30:59 Successfully built fb752f76cfee 14:30:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:31:00 + docker inspect -f . ci-base-image-x86_64 14:31:00 . [Pipeline] withDockerContainer 14:31:00 prd-centos7-docker-4c-2g-847 does not seem to be running inside a container 14:31:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@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 ******** ci-base-image-x86_64 cat 14:31:00 $ docker top 16a57bcf0937cadc7b92f576c64c021caf58292c443b7371e7079e08c640175f -eo pid,comm [Pipeline] { [Pipeline] sh 14:31:01 + go version 14:31:01 go version go1.15.2 linux/amd64 [Pipeline] } 14:31:01 $ docker stop --time=1 16a57bcf0937cadc7b92f576c64c021caf58292c443b7371e7079e08c640175f 14:31:02 $ docker rm -f 16a57bcf0937cadc7b92f576c64c021caf58292c443b7371e7079e08c640175f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:31:03 + docker inspect -f . ci-base-image-x86_64 14:31:03 . [Pipeline] withDockerContainer 14:31:03 prd-centos7-docker-4c-2g-847 does not seem to be running inside a container 14:31:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@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 ******** ci-base-image-x86_64 cat 14:31:04 $ docker top 0cab0dcc75cae6ef4353fce58771fda57c8623af7a52ee341e8955397b3e0445 -eo pid,comm [Pipeline] { [Pipeline] sh 14:31:05 + make test 14:31:05 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:31:12 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 14:31:12 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.025s coverage: 85.7% of statements 14:31:12 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.016s coverage: 100.0% of statements 14:31:12 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.065s coverage: 45.4% of statements 14:31:12 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.018s coverage: 77.8% of statements 14:31:12 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 14:31:12 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.012s coverage: 6.4% of statements 14:31:13 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.038s coverage: 14.7% of statements 14:31:13 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.005s coverage: 100.0% of statements 14:31:13 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.047s coverage: 91.8% of statements 14:31:13 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 14:31:13 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 14:31:13 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.016s coverage: 100.0% of statements 14:31:14 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.010s coverage: 53.7% of statements 14:31:15 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.022s coverage: 63.0% of statements 14:31:15 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.016s coverage: 26.3% of statements 14:31:15 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.010s coverage: 15.4% of statements 14:31:15 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.004s coverage: 15.4% of statements 14:31:15 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.004s coverage: 14.3% of statements 14:31:15 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 14:31:16 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.018s coverage: 31.3% of statements 14:31:16 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.017s coverage: 100.0% of statements 14:31:16 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.020s coverage: 95.0% of statements 14:31:16 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.007s coverage: 100.0% of statements 14:31:16 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 14:31:16 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:31:17 gofmt -l . 14:31:18 [ "`gofmt -l .`" = "" ] [Pipeline] stash 14:31:18 Stashed 1 file(s) [Pipeline] } 14:31:18 $ docker stop --time=1 0cab0dcc75cae6ef4353fce58771fda57c8623af7a52ee341e8955397b3e0445 14:31:20 $ docker rm -f 0cab0dcc75cae6ef4353fce58771fda57c8623af7a52ee341e8955397b3e0445 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:32:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-849 in /w/workspace/dry_go-mod-core-contracts_PR-291 [Pipeline] { [Pipeline] ws 14:32:13 Running in /w/workspace/go-mod-core-contracts/3 [Pipeline] { [Pipeline] checkout 14:32:18 using credential edgex-jenkins-ssh 14:32:19 Cloning the remote Git repository 14:32:19 Cloning with configured refspecs honoured and without tags 14:32:19 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 14:32:19 > git init /w/workspace/go-mod-core-contracts/3 # timeout=10 14:32:19 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 14:32:19 > git --version # timeout=10 14:32:19 > git --version # 'git version 2.17.1' 14:32:19 using GIT_SSH to set credentials SSH Credentials for GitHub 14:32:19 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/291/head:refs/remotes/origin/PR-291 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:32:20 Fetching without tags 14:32:20 Merging remotes/origin/master commit 0d5d88458eaedf18de20903fc0779208ad678d39 into PR head commit b21f5c8332eac12f44817843c8407ad1c1505b64 14:32:21 Merge succeeded, producing b21f5c8332eac12f44817843c8407ad1c1505b64 14:32:21 Checking out Revision b21f5c8332eac12f44817843c8407ad1c1505b64 (PR-291) 14:32:20 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 14:32:20 > git config --add remote.origin.fetch +refs/pull/291/head:refs/remotes/origin/PR-291 # timeout=10 14:32:20 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:32:20 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 14:32:20 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 14:32:20 using GIT_SSH to set credentials SSH Credentials for GitHub 14:32:20 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/291/head:refs/remotes/origin/PR-291 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:32:20 > git config core.sparsecheckout # timeout=10 14:32:20 > git checkout -f b21f5c8332eac12f44817843c8407ad1c1505b64 # timeout=10 14:32:20 > git remote # timeout=10 14:32:20 > git config --get remote.origin.url # timeout=10 14:32:20 using GIT_SSH to set credentials SSH Credentials for GitHub 14:32:20 > git merge 0d5d88458eaedf18de20903fc0779208ad678d39 # timeout=10 14:32:20 > git rev-parse HEAD^{commit} # timeout=10 14:32:21 > git config core.sparsecheckout # timeout=10 14:32:21 > git checkout -f b21f5c8332eac12f44817843c8407ad1c1505b64 # timeout=10 14:32:25 Commit message: "Fix: Error msg should return first non-empty msg" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:32:26 ========================================================= 14:32:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 14:32:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:32:27 + 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:32:28 Sending build context to Docker daemon 2.267MB 14:32:28 Step 1/7 : ARG BASE=golang:1.15-alpine 14:32:28 Step 2/7 : FROM ${BASE} 14:32:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:32:29 b538f80385f9: Pulling fs layer 14:32:29 74f711af9a0d: Pulling fs layer 14:32:29 99f96fe45779: Pulling fs layer 14:32:29 8529a6b9a6be: Pulling fs layer 14:32:29 45590311c82a: Pulling fs layer 14:32:29 69ca0ff8b7b3: Pulling fs layer 14:32:29 209524e5b208: Pulling fs layer 14:32:29 8529a6b9a6be: Waiting 14:32:29 45590311c82a: Waiting 14:32:29 69ca0ff8b7b3: Waiting 14:32:29 209524e5b208: Waiting 14:32:29 99f96fe45779: Download complete 14:32:29 74f711af9a0d: Verifying Checksum 14:32:29 74f711af9a0d: Download complete 14:32:29 45590311c82a: Verifying Checksum 14:32:29 45590311c82a: Download complete 14:32:29 69ca0ff8b7b3: Verifying Checksum 14:32:29 69ca0ff8b7b3: Download complete 14:32:29 b538f80385f9: Verifying Checksum 14:32:29 b538f80385f9: Download complete 14:32:30 b538f80385f9: Pull complete 14:32:30 74f711af9a0d: Pull complete 14:32:30 99f96fe45779: Pull complete 14:32:31 209524e5b208: Verifying Checksum 14:32:31 209524e5b208: Download complete 14:32:32 8529a6b9a6be: Verifying Checksum 14:32:32 8529a6b9a6be: Download complete 14:32:42 8529a6b9a6be: Pull complete 14:32:43 45590311c82a: Pull complete 14:32:43 69ca0ff8b7b3: Pull complete 14:32:47 209524e5b208: Pull complete 14:32:47 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 14:32:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 14:32:47 ---> 5bddaf1c2fca 14:32:47 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:32:50 ---> Running in affd69820e1b 14:32:50 Removing intermediate container affd69820e1b 14:32:50 ---> 0bf747dbd49d 14:32:50 Step 4/7 : RUN apk add bash 14:32:50 ---> Running in 4fab71ca0133 14:32:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 14:32:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 14:32:53 OK: 142 MiB in 39 packages 14:32:54 Removing intermediate container 4fab71ca0133 14:32:54 ---> 0a8f56dbdf4f 14:32:54 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 14:32:55 ---> Running in c90e610a40ee 14:32:55 Removing intermediate container c90e610a40ee 14:32:55 ---> 519cbdc9d21f 14:32:55 Step 6/7 : COPY go.mod . 14:32:56 ---> 85cb18cb32f6 14:32:56 Step 7/7 : RUN go mod download 14:32:56 ---> Running in 62e87303d72c 14:33:11 Removing intermediate container 62e87303d72c 14:33:11 ---> c391820f95ca 14:33:11 Successfully built c391820f95ca 14:33:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:33:11 + docker inspect -f . ci-base-image-arm64 14:33:11 . [Pipeline] withDockerContainer 14:33:12 prd-ubuntu18.04-docker-arm64-4c-16g-849 does not seem to be running inside a container 14:33:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@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 ******** ci-base-image-arm64 cat 14:33:14 $ docker top 765bf58611c2fb1f91c154cb5b07cc142caf768837499bf4ba512cbde3e94cdf -eo pid,comm [Pipeline] { [Pipeline] sh 14:33:15 + go version 14:33:15 go version go1.15.2 linux/arm64 [Pipeline] } 14:33:15 $ docker stop --time=1 765bf58611c2fb1f91c154cb5b07cc142caf768837499bf4ba512cbde3e94cdf 14:33:17 $ docker rm -f 765bf58611c2fb1f91c154cb5b07cc142caf768837499bf4ba512cbde3e94cdf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:33:18 + docker inspect -f . ci-base-image-arm64 14:33:18 . [Pipeline] withDockerContainer 14:33:18 prd-ubuntu18.04-docker-arm64-4c-16g-849 does not seem to be running inside a container 14:33:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/3 -v /w/workspace/go-mod-core-contracts/3:/w/workspace/go-mod-core-contracts/3:rw,z -v /w/workspace/go-mod-core-contracts/3@tmp:/w/workspace/go-mod-core-contracts/3@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 ******** ci-base-image-arm64 cat 14:33:20 $ docker top 74b7866c01087da3bb3a342d1d991d97338b09c5b861c949d833b92f5aa41d12 -eo pid,comm [Pipeline] { [Pipeline] sh 14:33:22 + make test 14:33:22 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:33:44 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 14:33:44 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.063s coverage: 85.7% of statements 14:33:44 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.036s coverage: 100.0% of statements 14:33:46 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.032s coverage: 45.4% of statements 14:33:46 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.024s coverage: 77.8% of statements 14:33:46 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 14:33:46 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.017s coverage: 6.4% of statements 14:33:48 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.076s coverage: 14.7% of statements 14:33:48 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.021s coverage: 100.0% of statements 14:33:49 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.084s coverage: 91.8% of statements 14:33:49 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 14:33:49 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 14:33:49 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.013s coverage: 100.0% of statements 14:33:50 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.022s coverage: 53.7% of statements 14:33:57 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.091s coverage: 63.0% of statements 14:33:57 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.016s coverage: 26.3% of statements 14:33:57 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.024s coverage: 15.4% of statements 14:33:57 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.058s coverage: 15.4% of statements 14:33:57 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.071s coverage: 14.3% of statements 14:33:57 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 14:33:57 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.041s coverage: 31.3% of statements 14:33:57 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.038s coverage: 100.0% of statements 14:33:57 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.056s coverage: 95.0% of statements 14:33:57 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.024s coverage: 100.0% of statements 14:33:57 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 14:33:57 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:34:01 gofmt -l . 14:34:01 [ "`gofmt -l .`" = "" ] [Pipeline] stash 14:34:02 Warning: overwriting stash ‘coverage-report’ 14:34:03 Stashed 1 file(s) [Pipeline] } 14:34:03 $ docker stop --time=1 74b7866c01087da3bb3a342d1d991d97338b09c5b861c949d833b92f5aa41d12 14:34:05 $ docker rm -f 74b7866c01087da3bb3a342d1d991d97338b09c5b861c949d833b92f5aa41d12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 14:34:08 provisioning config files... 14:34:08 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-291@tmp/config6006056033129216392tmp [Pipeline] { [Pipeline] sh 14:34:08 + curl -s https://codecov.io/bash 14:34:08 + bash -s - -t @/w/workspace/dry_go-mod-core-contracts_PR-291@tmp/config6006056033129216392tmp [Pipeline] } 14:34:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 14:34:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:34:12 ---> package-listing.sh 14:34:12 ++ facter osfamily 14:34:12 ++ tr '[:upper:]' '[:lower:]' 14:34:12 + OS_FAMILY=redhat 14:34:12 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-291 14:34:12 + START_PACKAGES=/tmp/packages_start.txt 14:34:12 + END_PACKAGES=/tmp/packages_end.txt 14:34:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:34:12 + PACKAGES=/tmp/packages_start.txt 14:34:12 + '[' /w/workspace/dry_go-mod-core-contracts_PR-291 ']' 14:34:12 + PACKAGES=/tmp/packages_end.txt 14:34:12 + case "${OS_FAMILY}" in 14:34:12 + rpm -qa 14:34:12 + sort 14:34:16 + '[' -f /tmp/packages_start.txt ']' 14:34:16 + '[' -f /tmp/packages_end.txt ']' 14:34:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:34:16 + '[' /w/workspace/dry_go-mod-core-contracts_PR-291 ']' 14:34:16 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-291/archives/ 14:34:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-291/archives/ [Pipeline] isUnix [Pipeline] sh 14:34:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:34:16 14:34:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:34:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:34:17 alpine: Pulling from edgex-lftools-log-publisher 14:34:17 df20fa9351a1: Pulling fs layer 14:34:17 36b3adc4ff6f: Pulling fs layer 14:34:17 8ad3a11d3b57: Pulling fs layer 14:34:17 46f8f816bc3b: Pulling fs layer 14:34:17 0dadc02b9964: Pulling fs layer 14:34:17 ce6a7cf60c04: Pulling fs layer 14:34:17 7a184a31f384: Pulling fs layer 14:34:17 0879bd2ef858: Pulling fs layer 14:34:17 46f8f816bc3b: Waiting 14:34:17 0879bd2ef858: Waiting 14:34:17 0dadc02b9964: Waiting 14:34:17 ce6a7cf60c04: Waiting 14:34:17 7a184a31f384: Waiting 14:34:17 df20fa9351a1: Verifying Checksum 14:34:17 46f8f816bc3b: Verifying Checksum 14:34:17 46f8f816bc3b: Download complete 14:34:17 36b3adc4ff6f: Download complete 14:34:17 8ad3a11d3b57: Verifying Checksum 14:34:17 8ad3a11d3b57: Download complete 14:34:17 0dadc02b9964: Verifying Checksum 14:34:17 0dadc02b9964: Download complete 14:34:17 ce6a7cf60c04: Verifying Checksum 14:34:17 ce6a7cf60c04: Download complete 14:34:17 7a184a31f384: Verifying Checksum 14:34:17 7a184a31f384: Download complete 14:34:17 df20fa9351a1: Pull complete 14:34:18 36b3adc4ff6f: Pull complete 14:34:18 0879bd2ef858: Verifying Checksum 14:34:18 0879bd2ef858: Download complete 14:34:18 8ad3a11d3b57: Pull complete 14:34:18 46f8f816bc3b: Pull complete 14:34:18 0dadc02b9964: Pull complete 14:34:19 ce6a7cf60c04: Pull complete 14:34:19 7a184a31f384: Pull complete 14:34:21 0879bd2ef858: Pull complete 14:34:21 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 14:34:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:34:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:34:21 prd-centos7-docker-4c-2g-844 does not seem to be running inside a container 14:34:22 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dry_go-mod-core-contracts_PR-291 -v /w/workspace/dry_go-mod-core-contracts_PR-291:/w/workspace/dry_go-mod-core-contracts_PR-291:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-291@tmp:/w/workspace/dry_go-mod-core-contracts_PR-291@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 14:34:28 $ docker top c87c1773166fae454733df9abd970a4f952de94b3da596268b18f5bfd3a6d700 -eo pid,comm [Pipeline] { [Pipeline] sh 14:34:28 + mkdir -p /var/log/sa [Pipeline] sh 14:34:28 + ls /var/log/sa-host 14:34:28 + sadf -c /var/log/sa-host/sa05 14:34:28 file_magic: OK 14:34:28 HZ: Using current value: 100 14:34:28 file_header: OK 14:34:28 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:34:28 Statistics: 14:34:28 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:34:28 File successfully converted to sysstat format version 12.2.1 14:34:28 + sadf -c /var/log/sa-host/sa22 14:34:28 file_magic: OK 14:34:28 HZ: Using current value: 100 14:34:28 file_header: OK 14:34:28 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:34:28 Statistics: 14:34:28 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:34:28 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:34:28 provisioning config files... 14:34:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-291@tmp/config2902130456131496495tmp [Pipeline] { [Pipeline] echo 14:34:29 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:34:29 ---> create-netrc.sh [Pipeline] echo 14:34:29 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:34:29 ---> logs-deploy.sh 14:34:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-291/3 14:34:29 INFO: archiving workspace using pattern(s): 14:34:31 Archives upload complete. 14:34:31 INFO: archiving logs to Nexus