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 14db601ad80c586c44455a3605f5265582403725+2c8a35a33da69e0e15c6cecf4a7dd101c7259fc8 (fee1f9b74a155233d6fddb6a8128b52a24537616) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-751 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 2c8a35a33da69e0e15c6cecf4a7dd101c7259fc8 into PR head commit 14db601ad80c586c44455a3605f5265582403725 > 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 14db601ad80c586c44455a3605f5265582403725 # timeout=10 Merge succeeded, producing 14db601ad80c586c44455a3605f5265582403725 Checking out Revision 14db601ad80c586c44455a3605f5265582403725 (PR-291) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2c8a35a33da69e0e15c6cecf4a7dd101c7259fc8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 14db601ad80c586c44455a3605f5265582403725 # timeout=10 Commit message: "Fix: Error msg should return first non-empty msg" First time build. Skipping changelog. > git rev-list --no-walk a1e016e8c7739dd9595ed2bb59b1b25013ed507c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:31:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:31:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:31:06 ========================================================= 02:31:06 EdgeX Global Pipelines Version Info 02:31:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:31:07 ------------------- 02:31:07 stable info: 02:31:07 ------------------- 02:31:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:31:07 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 02:31:07 Message: update stable to v1.0.122 02:31:08 ------------------- 02:31:08 experimental info: 02:31:08 ------------------- 02:31:08 Commited By: **** collab-it+edgex@linuxfoundation.org 02:31:08 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 02:31:08 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:31:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 02:31:09 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 02:31:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:31:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:31:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:31:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:31:09 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:31:09 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:31:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:31:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:31:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:31:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 02:31:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:31:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:31:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 02:31:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:31:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:31:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:31:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 02:31:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:31:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:31:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:31:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-291 [Pipeline] echo 02:31:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-291 [Pipeline] echo 02:31:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-291 [Pipeline] echo 02:31:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 14db601ad80c586c44455a3605f5265582403725 [Pipeline] echo 02:31:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 14db601 [Pipeline] echo 02:31:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:31:13 + git log --format=format:%s -1 14db601ad80c586c44455a3605f5265582403725 [Pipeline] echo 02:31:13 GIT_COMMIT: 14db601ad80c586c44455a3605f5265582403725, Commit Message: Fix: Error msg should return first non-empty msg [Pipeline] echo 02:31:13 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:31:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:31:14 02:31:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:31:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:31:14 latest: Pulling from edgex-devops/git-semver 02:31:14 31603596830f: Pulling fs layer 02:31:14 2a8b12db71e7: Pulling fs layer 02:31:14 6ca5941a6612: Pulling fs layer 02:31:14 ecc8261a40a4: Pulling fs layer 02:31:14 ecc8261a40a4: Waiting 02:31:14 2a8b12db71e7: Verifying Checksum 02:31:14 2a8b12db71e7: Download complete 02:31:14 31603596830f: Download complete 02:31:15 31603596830f: Pull complete 02:31:15 2a8b12db71e7: Pull complete 02:31:15 ecc8261a40a4: Verifying Checksum 02:31:15 ecc8261a40a4: Download complete 02:31:15 6ca5941a6612: Verifying Checksum 02:31:15 6ca5941a6612: Download complete 02:31:16 6ca5941a6612: Pull complete 02:31:16 ecc8261a40a4: Pull complete 02:31:16 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:31:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:31:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:31:16 prd-centos7-docker-4c-2g-751 does not seem to be running inside a container 02:31:16 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:31:18 $ docker top a0f34dc5b82084d08ef3c4ff79b6c4aae1cfec15f88ff5e2fce7b0acc6c5e5fe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:31:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:31:18 [ssh-agent] Looking for ssh-agent implementation... 02:31:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:31:18 $ docker exec a0f34dc5b82084d08ef3c4ff79b6c4aae1cfec15f88ff5e2fce7b0acc6c5e5fe ssh-agent 02:31:19 SSH_AUTH_SOCK=/tmp/ssh-N6HNIj14g7hR/agent.11 02:31:19 SSH_AGENT_PID=17 02:31:19 Running ssh-add (command line suppressed) 02:31:19 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-291@tmp/private_key_7689608082586371168.key (/w/workspace/dry_go-mod-core-contracts_PR-291@tmp/private_key_7689608082586371168.key) 02:31:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:31:19 + git describe --exact-match --tags HEAD 02:31:19 fatal: No names found, cannot describe anything. [Pipeline] } 02:31:19 $ docker exec --env ******** --env ******** a0f34dc5b82084d08ef3c4ff79b6c4aae1cfec15f88ff5e2fce7b0acc6c5e5fe ssh-agent -k 02:31:19 unset SSH_AUTH_SOCK; 02:31:19 unset SSH_AGENT_PID; 02:31:19 echo Agent pid 17 killed; 02:31:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:31:19 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:31:19 This usually means this commit has not been tagged. [Pipeline] sshagent 02:31:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:31:20 [ssh-agent] Looking for ssh-agent implementation... 02:31:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:31:20 $ docker exec a0f34dc5b82084d08ef3c4ff79b6c4aae1cfec15f88ff5e2fce7b0acc6c5e5fe ssh-agent 02:31:20 SSH_AUTH_SOCK=/tmp/ssh-82gmitcdLhka/agent.47 02:31:20 SSH_AGENT_PID=52 02:31:20 Running ssh-add (command line suppressed) 02:31:20 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-291@tmp/private_key_1533905003447424351.key (/w/workspace/dry_go-mod-core-contracts_PR-291@tmp/private_key_1533905003447424351.key) 02:31:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:31:20 + git semver init 02:31:20 # -> Open(): unable to determine branch for HEAD 02:31:20 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-291/.git 02:31:20 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-291 02:31:20 # $SEMVER_REMOTE_NAME = origin 02:31:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:31:20 # $SEMVER_USER_NAME = edgex-jenkins 02:31:20 # $SEMVER_BRANCH = PR-291 02:31:20 # $SEMVER_TEMP = /tmp/semver-248792582 02:31:20 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 02:31:21 # '/tmp/semver-248792582' -> '/w/workspace/dry_go-mod-core-contracts_PR-291/.semver' 02:31:21 # -> Force: false 02:31:21 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-291/.semver [Pipeline] } 02:31:21 $ docker exec --env ******** --env ******** a0f34dc5b82084d08ef3c4ff79b6c4aae1cfec15f88ff5e2fce7b0acc6c5e5fe ssh-agent -k 02:31:21 unset SSH_AUTH_SOCK; 02:31:21 unset SSH_AGENT_PID; 02:31:21 echo Agent pid 52 killed; 02:31:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:31:22 + git semver [Pipeline] } 02:31:22 $ docker stop --time=1 a0f34dc5b82084d08ef3c4ff79b6c4aae1cfec15f88ff5e2fce7b0acc6c5e5fe 02:31:23 $ docker rm -f a0f34dc5b82084d08ef3c4ff79b6c4aae1cfec15f88ff5e2fce7b0acc6c5e5fe [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:31:24 Stashed 96 file(s) [Pipeline] echo 02:31:24 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 02:31:24 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 02:31:40 Still waiting to schedule task 02:31:40 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:31:40 Still waiting to schedule task 02:31:40 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 02:34:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-752 in /w/workspace/dry_go-mod-core-contracts_PR-291 [Pipeline] { [Pipeline] ws 02:34:24 Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout 02:34:29 using credential edgex-jenkins-ssh 02:34:29 Cloning the remote Git repository 02:34:29 Cloning with configured refspecs honoured and without tags 02:34:29 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 02:34:30 > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 02:34:30 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 02:34:30 > git --version # timeout=10 02:34:30 > git --version # 'git version 2.17.1' 02:34:30 using GIT_SSH to set credentials SSH Credentials for GitHub 02:34:30 > 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 02:34:31 Fetching without tags 02:34:31 Merging remotes/origin/master commit 2c8a35a33da69e0e15c6cecf4a7dd101c7259fc8 into PR head commit 14db601ad80c586c44455a3605f5265582403725 02:34:31 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 02:34:31 > git config --add remote.origin.fetch +refs/pull/291/head:refs/remotes/origin/PR-291 # timeout=10 02:34:31 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:34:31 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 02:34:31 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 02:34:31 using GIT_SSH to set credentials SSH Credentials for GitHub 02:34:31 > 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 02:34:31 > git config core.sparsecheckout # timeout=10 02:34:31 > git checkout -f 14db601ad80c586c44455a3605f5265582403725 # timeout=10 02:34:32 Merge succeeded, producing 14db601ad80c586c44455a3605f5265582403725 02:34:32 Checking out Revision 14db601ad80c586c44455a3605f5265582403725 (PR-291) 02:34:32 > git remote # timeout=10 02:34:32 > git config --get remote.origin.url # timeout=10 02:34:32 using GIT_SSH to set credentials SSH Credentials for GitHub 02:34:32 > git merge 2c8a35a33da69e0e15c6cecf4a7dd101c7259fc8 # timeout=10 02:34:32 > git rev-parse HEAD^{commit} # timeout=10 02:34:32 > git config core.sparsecheckout # timeout=10 02:34:32 > git checkout -f 14db601ad80c586c44455a3605f5265582403725 # timeout=10 02:34:36 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 02:34:37 ========================================================= 02:34:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:34:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:34:39 + 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 . 02:34:40 Sending build context to Docker daemon 2.262MB 02:34:40 Step 1/7 : ARG BASE=golang:1.15-alpine 02:34:40 Step 2/7 : FROM ${BASE} 02:34:40 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:34:40 b538f80385f9: Pulling fs layer 02:34:40 74f711af9a0d: Pulling fs layer 02:34:40 99f96fe45779: Pulling fs layer 02:34:40 8529a6b9a6be: Pulling fs layer 02:34:40 45590311c82a: Pulling fs layer 02:34:40 69ca0ff8b7b3: Pulling fs layer 02:34:40 209524e5b208: Pulling fs layer 02:34:40 8529a6b9a6be: Waiting 02:34:40 45590311c82a: Waiting 02:34:40 209524e5b208: Waiting 02:34:40 99f96fe45779: Verifying Checksum 02:34:40 99f96fe45779: Download complete 02:34:40 74f711af9a0d: Verifying Checksum 02:34:40 74f711af9a0d: Download complete 02:34:40 45590311c82a: Verifying Checksum 02:34:40 45590311c82a: Download complete 02:34:40 69ca0ff8b7b3: Download complete 02:34:41 b538f80385f9: Verifying Checksum 02:34:41 b538f80385f9: Download complete 02:34:41 b538f80385f9: Pull complete 02:34:42 74f711af9a0d: Pull complete 02:34:43 99f96fe45779: Pull complete 02:34:43 209524e5b208: Download complete 02:34:44 8529a6b9a6be: Verifying Checksum 02:34:44 8529a6b9a6be: Download complete 02:34:57 8529a6b9a6be: Pull complete 02:34:57 45590311c82a: Pull complete 02:34:57 69ca0ff8b7b3: Pull complete 02:34:59 209524e5b208: Pull complete 02:34:59 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:34:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:34:59 ---> 5bddaf1c2fca 02:34:59 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 02:35:03 Running on prd-centos7-docker-4c-2g-753 in /w/workspace/dry_go-mod-core-contracts_PR-291 [Pipeline] { [Pipeline] ws 02:35:03 Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout 02:35:03 ---> Running in 39f3876f2578 02:35:03 Removing intermediate container 39f3876f2578 02:35:03 ---> bac681303fd1 02:35:03 Step 4/7 : RUN apk add bash 02:35:03 ---> Running in 5fa507cd8e2d 02:35:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:35:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:35:06 OK: 142 MiB in 39 packages 02:35:07 using credential edgex-jenkins-ssh 02:35:07 Cloning the remote Git repository 02:35:07 Cloning with configured refspecs honoured and without tags 02:35:07 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 02:35:07 > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 02:35:07 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 02:35:07 > git --version # timeout=10 02:35:07 > git --version # 'git version 2.16.5' 02:35:07 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:07 > 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 02:35:08 Removing intermediate container 5fa507cd8e2d 02:35:08 ---> aed3fa7c55ea 02:35:08 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 02:35:08 ---> Running in 47238b9deea5 02:35:08 Fetching without tags 02:35:08 Removing intermediate container 47238b9deea5 02:35:08 ---> ced4e5523131 02:35:08 Step 6/7 : COPY go.mod . 02:35:09 Merging remotes/origin/master commit 2c8a35a33da69e0e15c6cecf4a7dd101c7259fc8 into PR head commit 14db601ad80c586c44455a3605f5265582403725 02:35:09 Merge succeeded, producing 14db601ad80c586c44455a3605f5265582403725 02:35:09 Checking out Revision 14db601ad80c586c44455a3605f5265582403725 (PR-291) 02:35:08 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 02:35:08 > git config --add remote.origin.fetch +refs/pull/291/head:refs/remotes/origin/PR-291 # timeout=10 02:35:08 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:35:08 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 02:35:08 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 02:35:08 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:08 > 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 02:35:09 > git config core.sparsecheckout # timeout=10 02:35:09 > git checkout -f 14db601ad80c586c44455a3605f5265582403725 # timeout=10 02:35:09 > git remote # timeout=10 02:35:09 > git config --get remote.origin.url # timeout=10 02:35:09 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:09 > git merge 2c8a35a33da69e0e15c6cecf4a7dd101c7259fc8 # timeout=10 02:35:09 > git rev-parse HEAD^{commit} # timeout=10 02:35:09 > git config core.sparsecheckout # timeout=10 02:35:09 ---> 030a4b2e7b20 02:35:09 Step 7/7 : RUN go mod download 02:35:09 ---> Running in fcc451ca00ed 02:35:09 > git checkout -f 14db601ad80c586c44455a3605f5265582403725 # timeout=10 02:35:14 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 02:35:15 ========================================================= 02:35:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:35:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:35:17 + 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 . 02:35:17 Sending build context to Docker daemon 2.262MB 02:35:17 Step 1/7 : ARG BASE=golang:1.15-alpine 02:35:17 Step 2/7 : FROM ${BASE} 02:35:17 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:35:17 df20fa9351a1: Pulling fs layer 02:35:17 ed8968b2872e: Pulling fs layer 02:35:17 a92cc7c5fd73: Pulling fs layer 02:35:17 e871e8e8d7a9: Pulling fs layer 02:35:17 e73272ec9a57: Pulling fs layer 02:35:17 1e910a182e73: Pulling fs layer 02:35:17 4e634b169226: Pulling fs layer 02:35:17 e871e8e8d7a9: Waiting 02:35:17 e73272ec9a57: Waiting 02:35:17 1e910a182e73: Waiting 02:35:17 4e634b169226: Waiting 02:35:17 a92cc7c5fd73: Verifying Checksum 02:35:17 a92cc7c5fd73: Download complete 02:35:17 ed8968b2872e: Download complete 02:35:17 e73272ec9a57: Verifying Checksum 02:35:17 e73272ec9a57: Download complete 02:35:18 1e910a182e73: Verifying Checksum 02:35:18 df20fa9351a1: Verifying Checksum 02:35:18 df20fa9351a1: Download complete 02:35:18 df20fa9351a1: Pull complete 02:35:19 ed8968b2872e: Pull complete 02:35:19 a92cc7c5fd73: Pull complete 02:35:23 4e634b169226: Verifying Checksum 02:35:23 4e634b169226: Download complete 02:35:24 e871e8e8d7a9: Verifying Checksum 02:35:24 e871e8e8d7a9: Download complete 02:35:24 Removing intermediate container fcc451ca00ed 02:35:24 ---> 9a70ddd418c8 02:35:24 Successfully built 9a70ddd418c8 02:35:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:35:25 + docker inspect -f . ci-base-image-arm64 02:35:25 . [Pipeline] withDockerContainer 02:35:25 prd-ubuntu18.04-docker-arm64-4c-16g-752 does not seem to be running inside a container 02:35:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:35:27 $ docker top 718ba70200a726594f7b56bfefb6b8345671caca8d842d2f40893323aeddead9 -eo pid,comm [Pipeline] { [Pipeline] sh 02:35:29 + go version 02:35:29 go version go1.15.2 linux/arm64 [Pipeline] } 02:35:29 $ docker stop --time=1 718ba70200a726594f7b56bfefb6b8345671caca8d842d2f40893323aeddead9 02:35:31 $ docker rm -f 718ba70200a726594f7b56bfefb6b8345671caca8d842d2f40893323aeddead9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:35:32 + docker inspect -f . ci-base-image-arm64 02:35:32 . [Pipeline] withDockerContainer 02:35:32 prd-ubuntu18.04-docker-arm64-4c-16g-752 does not seem to be running inside a container 02:35:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:35:32 e871e8e8d7a9: Pull complete 02:35:32 e73272ec9a57: Pull complete 02:35:32 1e910a182e73: Pull complete 02:35:34 $ docker top 166ab24bb974f6bbb2665483a09211caa9720ad8eefa49e4c7318645a3cf9916 -eo pid,comm [Pipeline] { [Pipeline] sh 02:35:36 + make test 02:35:36 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:35:39 4e634b169226: Pull complete 02:35:39 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:35:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:35:39 ---> f7629b54cfaa 02:35:39 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 02:35:39 ---> Running in 1f50dd5740c5 02:35:39 Removing intermediate container 1f50dd5740c5 02:35:39 ---> 4c7971cd5286 02:35:39 Step 4/7 : RUN apk add bash 02:35:39 ---> Running in a1ca8e2d51f8 02:35:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:35:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:35:42 OK: 166 MiB in 39 packages 02:35:43 Removing intermediate container a1ca8e2d51f8 02:35:43 ---> 76d622acb477 02:35:43 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 02:35:43 ---> Running in 15303ec1e175 02:35:43 Removing intermediate container 15303ec1e175 02:35:43 ---> 89c08a894936 02:35:43 Step 6/7 : COPY go.mod . 02:35:43 ---> 2e2411e1b3f5 02:35:43 Step 7/7 : RUN go mod download 02:35:43 ---> Running in 7b602b0dd712 02:35:58 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 02:35:58 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.035s coverage: 85.7% of statements 02:35:58 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.047s coverage: 100.0% of statements 02:35:59 Removing intermediate container 7b602b0dd712 02:35:59 ---> 2bb9279d72c0 02:35:59 Successfully built 2bb9279d72c0 02:35:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:35:59 + docker inspect -f . ci-base-image-x86_64 02:35:59 . [Pipeline] withDockerContainer 02:35:59 prd-centos7-docker-4c-2g-753 does not seem to be running inside a container 02:35:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:36:00 $ docker top 6210678729a4f236199eedbaeb11448b01bf4b941ce4ee45e8e6fe32fe254ec3 -eo pid,comm [Pipeline] { 02:36:01 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.059s coverage: 45.4% of statements 02:36:01 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.029s coverage: 77.8% of statements 02:36:01 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 02:36:01 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.014s coverage: 6.4% of statements [Pipeline] sh 02:36:01 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.054s coverage: 14.7% of statements 02:36:01 + go version 02:36:01 go version go1.15.2 linux/amd64 [Pipeline] } 02:36:01 $ docker stop --time=1 6210678729a4f236199eedbaeb11448b01bf4b941ce4ee45e8e6fe32fe254ec3 02:36:01 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.065s coverage: 100.0% of statements 02:36:02 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.093s coverage: 91.8% of statements 02:36:02 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 02:36:02 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 02:36:02 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.037s coverage: 100.0% of statements 02:36:03 $ docker rm -f 6210678729a4f236199eedbaeb11448b01bf4b941ce4ee45e8e6fe32fe254ec3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:36:04 + docker inspect -f . ci-base-image-x86_64 02:36:04 . [Pipeline] withDockerContainer 02:36:04 prd-centos7-docker-4c-2g-753 does not seem to be running inside a container 02:36:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:36:04 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.019s coverage: 53.7% of statements 02:36:05 $ docker top aa9ed5b7b32c67ee3219804cd0ce5d58c52e7d04d674e998f7479235ef1c205a -eo pid,comm [Pipeline] { [Pipeline] sh 02:36:05 + make test 02:36:05 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:36:09 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.076s coverage: 63.0% of statements 02:36:09 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.025s coverage: 26.3% of statements 02:36:09 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.018s coverage: 15.4% of statements 02:36:09 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.010s coverage: 15.4% of statements 02:36:09 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.015s coverage: 14.3% of statements 02:36:09 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 02:36:09 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.086s coverage: 31.7% of statements 02:36:09 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.033s coverage: 100.0% of statements 02:36:10 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.062s coverage: 95.1% of statements 02:36:10 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.025s coverage: 100.0% of statements 02:36:10 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 02:36:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:36:15 gofmt -l . 02:36:15 [ "`gofmt -l .`" = "" ] 02:36:15 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 02:36:15 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.019s coverage: 85.7% of statements 02:36:15 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.025s coverage: 100.0% of statements 02:36:15 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.029s coverage: 45.4% of statements [Pipeline] stash 02:36:16 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.061s coverage: 77.8% of statements 02:36:16 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 02:36:16 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.089s coverage: 6.4% of statements 02:36:17 Stashed 1 file(s) [Pipeline] } 02:36:17 $ docker stop --time=1 166ab24bb974f6bbb2665483a09211caa9720ad8eefa49e4c7318645a3cf9916 02:36:19 $ docker rm -f 166ab24bb974f6bbb2665483a09211caa9720ad8eefa49e4c7318645a3cf9916 02:36:19 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.031s coverage: 14.7% of statements 02:36:19 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.047s coverage: 100.0% of statements 02:36:19 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.101s coverage: 91.8% of statements 02:36:19 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 02:36:19 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 02:36:19 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.022s coverage: 100.0% of statements 02:36:19 ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.060s coverage: 53.7% of statements [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] } 02:36:24 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.055s coverage: 63.0% of statements 02:36:24 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.068s coverage: 26.3% of statements 02:36:24 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.023s coverage: 15.4% of statements 02:36:24 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.054s coverage: 15.4% of statements 02:36:24 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.215s coverage: 14.3% of statements 02:36:24 ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] 02:36:24 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.019s coverage: 31.7% of statements 02:36:24 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.009s coverage: 100.0% of statements 02:36:25 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.040s coverage: 95.1% of statements 02:36:25 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.009s coverage: 100.0% of statements 02:36:25 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 02:36:25 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:36:26 gofmt -l . 02:36:27 [ "`gofmt -l .`" = "" ] [Pipeline] stash 02:36:27 Warning: overwriting stash ‘coverage-report’ 02:36:28 Stashed 1 file(s) [Pipeline] } 02:36:28 $ docker stop --time=1 aa9ed5b7b32c67ee3219804cd0ce5d58c52e7d04d674e998f7479235ef1c205a 02:36:31 $ docker rm -f aa9ed5b7b32c67ee3219804cd0ce5d58c52e7d04d674e998f7479235ef1c205a [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 02:36:33 provisioning config files... 02:36:33 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-291@tmp/config712009799715362328tmp [Pipeline] { [Pipeline] sh 02:36:33 + curl -s https://codecov.io/bash 02:36:33 + bash -s - -t @/w/workspace/dry_go-mod-core-contracts_PR-291@tmp/config712009799715362328tmp [Pipeline] } 02:36:34 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 02:36:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:36:36 ---> package-listing.sh 02:36:36 ++ facter osfamily 02:36:36 ++ tr '[:upper:]' '[:lower:]' 02:36:36 + OS_FAMILY=redhat 02:36:36 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-291 02:36:36 + START_PACKAGES=/tmp/packages_start.txt 02:36:36 + END_PACKAGES=/tmp/packages_end.txt 02:36:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:36:36 + PACKAGES=/tmp/packages_start.txt 02:36:36 + '[' /w/workspace/dry_go-mod-core-contracts_PR-291 ']' 02:36:36 + PACKAGES=/tmp/packages_end.txt 02:36:36 + case "${OS_FAMILY}" in 02:36:36 + rpm -qa 02:36:36 + sort 02:36:42 + '[' -f /tmp/packages_start.txt ']' 02:36:42 + '[' -f /tmp/packages_end.txt ']' 02:36:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:36:42 + '[' /w/workspace/dry_go-mod-core-contracts_PR-291 ']' 02:36:42 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-291/archives/ 02:36:42 + 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 02:36:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:36:43 02:36:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:36:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:36:43 alpine: Pulling from edgex-lftools-log-publisher 02:36:43 df20fa9351a1: Pulling fs layer 02:36:43 36b3adc4ff6f: Pulling fs layer 02:36:43 8ad3a11d3b57: Pulling fs layer 02:36:43 46f8f816bc3b: Pulling fs layer 02:36:43 0dadc02b9964: Pulling fs layer 02:36:43 ce6a7cf60c04: Pulling fs layer 02:36:43 7a184a31f384: Pulling fs layer 02:36:43 0879bd2ef858: Pulling fs layer 02:36:43 0dadc02b9964: Waiting 02:36:43 ce6a7cf60c04: Waiting 02:36:43 7a184a31f384: Waiting 02:36:43 0879bd2ef858: Waiting 02:36:43 46f8f816bc3b: Waiting 02:36:43 36b3adc4ff6f: Download complete 02:36:43 46f8f816bc3b: Verifying Checksum 02:36:43 46f8f816bc3b: Download complete 02:36:43 df20fa9351a1: Verifying Checksum 02:36:43 ce6a7cf60c04: Verifying Checksum 02:36:43 ce6a7cf60c04: Download complete 02:36:43 0dadc02b9964: Verifying Checksum 02:36:43 0dadc02b9964: Download complete 02:36:43 7a184a31f384: Verifying Checksum 02:36:43 7a184a31f384: Download complete 02:36:43 8ad3a11d3b57: Verifying Checksum 02:36:43 8ad3a11d3b57: Download complete 02:36:43 df20fa9351a1: Pull complete 02:36:44 36b3adc4ff6f: Pull complete 02:36:44 0879bd2ef858: Verifying Checksum 02:36:44 0879bd2ef858: Download complete 02:36:44 8ad3a11d3b57: Pull complete 02:36:44 46f8f816bc3b: Pull complete 02:36:45 0dadc02b9964: Pull complete 02:36:45 ce6a7cf60c04: Pull complete 02:36:45 7a184a31f384: Pull complete 02:36:48 0879bd2ef858: Pull complete 02:36:48 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 02:36:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:36:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:36:48 prd-centos7-docker-4c-2g-751 does not seem to be running inside a container 02:36:48 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:36:51 $ docker top 8359423210e39b897cfc05315c4b202bb721433b70f083c440445102fa38e60f -eo pid,comm [Pipeline] { [Pipeline] sh 02:36:52 + mkdir -p /var/log/sa [Pipeline] sh 02:36:52 + ls /var/log/sa-host 02:36:52 + sadf -c /var/log/sa-host/sa05 02:36:52 file_magic: OK 02:36:52 HZ: Using current value: 100 02:36:52 file_header: OK 02:36:52 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 02:36:52 Statistics: 02:36:52 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:36:52 File successfully converted to sysstat format version 12.2.1 02:36:52 + sadf -c /var/log/sa-host/sa22 02:36:52 file_magic: OK 02:36:52 HZ: Using current value: 100 02:36:52 file_header: OK 02:36:52 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 02:36:52 Statistics: 02:36:52 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:36:52 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:36:52 provisioning config files... 02:36:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-291@tmp/config9077756062819692255tmp [Pipeline] { [Pipeline] echo 02:36:52 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:36:52 ---> create-netrc.sh [Pipeline] echo 02:36:52 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:36:53 ---> logs-deploy.sh 02:36:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-291/2 02:36:53 INFO: archiving workspace using pattern(s): 02:36:54 Archives upload complete. 02:36:54 INFO: archiving logs to Nexus