Pull request #279 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 3f996a924550b6de7b7cc663c5935bd395f4a2ad+55b81cd576c2e67c5a7de51c068d3f3d26919862 (2ca7457f8dddb6e058d3c9279bc3cd060505bba7) 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > 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, goVersion:1.13, 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.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-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-1717 in /w/workspace/dry_go-mod-core-contracts_PR-279 [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-279 # 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 Fetching without tags Merging remotes/origin/master commit 55b81cd576c2e67c5a7de51c068d3f3d26919862 into PR head commit 3f996a924550b6de7b7cc663c5935bd395f4a2ad Merge succeeded, producing 3f996a924550b6de7b7cc663c5935bd395f4a2ad Checking out Revision 3f996a924550b6de7b7cc663c5935bd395f4a2ad (PR-279) > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/279/head:refs/remotes/origin/PR-279 +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 > git config --add remote.origin.fetch +refs/pull/279/head:refs/remotes/origin/PR-279 # 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/279/head:refs/remotes/origin/PR-279 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f996a924550b6de7b7cc663c5935bd395f4a2ad # 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 55b81cd576c2e67c5a7de51c068d3f3d26919862 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f996a924550b6de7b7cc663c5935bd395f4a2ad # timeout=10 Commit message: "feat: new error mechanism for V2 API" First time build. Skipping changelog. > git rev-list --no-walk 6178e4da36d96070a567c8c6e08641e875178b17 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:30:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:30:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:30:15 ========================================================= 13:30:15 EdgeX Global Pipelines Version Info 13:30:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:30:16 ------------------- 13:30:16 stable info: 13:30:16 ------------------- 13:30:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:30:16 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 13:30:16 Message: update stable to v1.0.119 13:30:17 ------------------- 13:30:17 experimental info: 13:30:17 ------------------- 13:30:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:30:17 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 13:30:17 Message: update experimental to v1.0.119 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 13:30:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 13:30:18 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 13:30:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:30:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:30:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:30:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 13:30:18 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 13:30:18 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 13:30:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:30:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:30:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:30:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo 13:30:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:30:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:30:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 13:30:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:30:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:30:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:30:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 13:30:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:30:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:30:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:30:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-279 [Pipeline] echo 13:30:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-279 [Pipeline] echo 13:30:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-279 [Pipeline] echo 13:30:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3f996a924550b6de7b7cc663c5935bd395f4a2ad [Pipeline] echo 13:30:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3f996a9 [Pipeline] echo 13:30:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:30:21 + git log --format=format:%s -1 3f996a924550b6de7b7cc663c5935bd395f4a2ad [Pipeline] echo 13:30:21 GIT_COMMIT: 3f996a924550b6de7b7cc663c5935bd395f4a2ad, Commit Message: feat: new error mechanism for V2 API [Pipeline] echo 13:30:21 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 13:30:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:30:21 13:30:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:30:22 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:30:22 latest: Pulling from edgex-devops/git-semver 13:30:22 31603596830f: Pulling fs layer 13:30:22 2a8b12db71e7: Pulling fs layer 13:30:22 6ca5941a6612: Pulling fs layer 13:30:22 ecc8261a40a4: Pulling fs layer 13:30:22 ecc8261a40a4: Waiting 13:30:22 2a8b12db71e7: Verifying Checksum 13:30:22 2a8b12db71e7: Download complete 13:30:22 31603596830f: Verifying Checksum 13:30:22 31603596830f: Download complete 13:30:22 ecc8261a40a4: Verifying Checksum 13:30:22 ecc8261a40a4: Download complete 13:30:22 6ca5941a6612: Verifying Checksum 13:30:22 6ca5941a6612: Download complete 13:30:22 31603596830f: Pull complete 13:30:22 2a8b12db71e7: Pull complete 13:30:23 6ca5941a6612: Pull complete 13:30:23 ecc8261a40a4: Pull complete 13:30:23 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 13:30:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:30:23 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:30:23 prd-centos7-docker-4c-2g-1717 does not seem to be running inside a container 13:30:23 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-279 -v /w/workspace/dry_go-mod-core-contracts_PR-279:/w/workspace/dry_go-mod-core-contracts_PR-279:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-279@tmp:/w/workspace/dry_go-mod-core-contracts_PR-279@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 13:30:25 $ docker top 45c89db0a5aec0c21631a6c9a583a64ee0883b01138ac17c35394efe2673ee84 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:30:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:30:25 [ssh-agent] Looking for ssh-agent implementation... 13:30:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:30:25 $ docker exec 45c89db0a5aec0c21631a6c9a583a64ee0883b01138ac17c35394efe2673ee84 ssh-agent 13:30:26 SSH_AUTH_SOCK=/tmp/ssh-w02TYtjCHkI5/agent.11 13:30:26 SSH_AGENT_PID=16 13:30:26 Running ssh-add (command line suppressed) 13:30:26 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-279@tmp/private_key_7799807572657145388.key (/w/workspace/dry_go-mod-core-contracts_PR-279@tmp/private_key_7799807572657145388.key) 13:30:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:30:26 + git describe --exact-match --tags HEAD 13:30:26 fatal: No names found, cannot describe anything. [Pipeline] } 13:30:26 $ docker exec --env ******** --env ******** 45c89db0a5aec0c21631a6c9a583a64ee0883b01138ac17c35394efe2673ee84 ssh-agent -k 13:30:26 unset SSH_AUTH_SOCK; 13:30:26 unset SSH_AGENT_PID; 13:30:26 echo Agent pid 16 killed; 13:30:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 13:30:26 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 13:30:26 This usually means this commit has not been tagged. [Pipeline] sshagent 13:30:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:30:26 [ssh-agent] Looking for ssh-agent implementation... 13:30:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:30:27 $ docker exec 45c89db0a5aec0c21631a6c9a583a64ee0883b01138ac17c35394efe2673ee84 ssh-agent 13:30:27 SSH_AUTH_SOCK=/tmp/ssh-2FXsKRdVHRcV/agent.44 13:30:27 SSH_AGENT_PID=49 13:30:27 Running ssh-add (command line suppressed) 13:30:27 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-279@tmp/private_key_546613527393150442.key (/w/workspace/dry_go-mod-core-contracts_PR-279@tmp/private_key_546613527393150442.key) 13:30:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:30:27 + git semver init 13:30:27 # -> Open(): unable to determine branch for HEAD 13:30:27 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-279/.git 13:30:27 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-279 13:30:27 # $SEMVER_REMOTE_NAME = origin 13:30:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:30:27 # $SEMVER_USER_NAME = edgex-jenkins 13:30:27 # $SEMVER_BRANCH = PR-279 13:30:27 # $SEMVER_TEMP = /tmp/semver-212436660 13:30:27 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 13:30:28 # '/tmp/semver-212436660' -> '/w/workspace/dry_go-mod-core-contracts_PR-279/.semver' 13:30:28 # -> Force: false 13:30:28 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-279/.semver [Pipeline] } 13:30:28 $ docker exec --env ******** --env ******** 45c89db0a5aec0c21631a6c9a583a64ee0883b01138ac17c35394efe2673ee84 ssh-agent -k 13:30:28 unset SSH_AUTH_SOCK; 13:30:28 unset SSH_AGENT_PID; 13:30:28 echo Agent pid 49 killed; 13:30:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:30:28 + git semver [Pipeline] } 13:30:28 $ docker stop --time=1 45c89db0a5aec0c21631a6c9a583a64ee0883b01138ac17c35394efe2673ee84 13:30:30 $ docker rm -f 45c89db0a5aec0c21631a6c9a583a64ee0883b01138ac17c35394efe2673ee84 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 13:30:31 Stashed 91 file(s) [Pipeline] echo 13:30:31 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 13:30:31 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 13:30:46 Still waiting to schedule task 13:30:46 Waiting for next available executor on ‘centos7-docker-4c-2g’ 13:30:46 Still waiting to schedule task 13:30:46 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 13:32:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1718 in /w/workspace/dry_go-mod-core-contracts_PR-279 [Pipeline] { [Pipeline] ws 13:32:46 Running in /w/workspace/go-mod-core-contracts/3 [Pipeline] { [Pipeline] checkout 13:32:51 using credential edgex-jenkins-ssh 13:32:51 Cloning the remote Git repository 13:32:51 Cloning with configured refspecs honoured and without tags 13:32:51 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 13:32:51 > git init /w/workspace/go-mod-core-contracts/3 # timeout=10 13:32:51 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 13:32:51 > git --version # timeout=10 13:32:51 > git --version # 'git version 2.17.1' 13:32:52 Fetching without tags 13:32:51 using GIT_SSH to set credentials SSH Credentials for GitHub 13:32:52 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/279/head:refs/remotes/origin/PR-279 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:32:52 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 13:32:52 > git config --add remote.origin.fetch +refs/pull/279/head:refs/remotes/origin/PR-279 # timeout=10 13:32:52 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:32:52 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 13:32:52 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 13:32:52 using GIT_SSH to set credentials SSH Credentials for GitHub 13:32:52 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/279/head:refs/remotes/origin/PR-279 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:32:53 Merging remotes/origin/master commit 55b81cd576c2e67c5a7de51c068d3f3d26919862 into PR head commit 3f996a924550b6de7b7cc663c5935bd395f4a2ad 13:32:53 Merge succeeded, producing 3f996a924550b6de7b7cc663c5935bd395f4a2ad 13:32:53 Checking out Revision 3f996a924550b6de7b7cc663c5935bd395f4a2ad (PR-279) 13:32:53 > git config core.sparsecheckout # timeout=10 13:32:53 > git checkout -f 3f996a924550b6de7b7cc663c5935bd395f4a2ad # timeout=10 13:32:53 > git remote # timeout=10 13:32:53 > git config --get remote.origin.url # timeout=10 13:32:53 using GIT_SSH to set credentials SSH Credentials for GitHub 13:32:53 > git merge 55b81cd576c2e67c5a7de51c068d3f3d26919862 # timeout=10 13:32:53 > git rev-parse HEAD^{commit} # timeout=10 13:32:53 > git config core.sparsecheckout # timeout=10 13:32:53 > git checkout -f 3f996a924550b6de7b7cc663c5935bd395f4a2ad # timeout=10 13:32:58 Commit message: "feat: new error mechanism for V2 API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 13:32:59 ========================================================= 13:32:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 13:32:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:33:00 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 13:33:01 Sending build context to Docker daemon 2.194MB 13:33:01 Step 1/7 : ARG BASE=golang:1.13-alpine 13:33:01 Step 2/7 : FROM ${BASE} 13:33:01 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:33:01 b538f80385f9: Pulling fs layer 13:33:01 74f711af9a0d: Pulling fs layer 13:33:01 99f96fe45779: Pulling fs layer 13:33:01 fd7a069fd194: Pulling fs layer 13:33:01 66aa3694b03b: Pulling fs layer 13:33:01 170f70906a0f: Pulling fs layer 13:33:01 ad7c5574e4b9: Pulling fs layer 13:33:01 e772456be8f7: Pulling fs layer 13:33:01 c890913d741a: Pulling fs layer 13:33:01 2480fcc9aa5a: Pulling fs layer 13:33:01 09adf4765672: Pulling fs layer 13:33:01 66aa3694b03b: Waiting 13:33:01 170f70906a0f: Waiting 13:33:01 e772456be8f7: Waiting 13:33:01 c890913d741a: Waiting 13:33:01 2480fcc9aa5a: Waiting 13:33:01 09adf4765672: Waiting 13:33:01 ad7c5574e4b9: Waiting 13:33:01 fd7a069fd194: Waiting 13:33:01 99f96fe45779: Verifying Checksum 13:33:01 99f96fe45779: Download complete 13:33:01 74f711af9a0d: Verifying Checksum 13:33:01 74f711af9a0d: Download complete 13:33:01 66aa3694b03b: Verifying Checksum 13:33:01 66aa3694b03b: Download complete 13:33:01 170f70906a0f: Download complete 13:33:02 b538f80385f9: Verifying Checksum 13:33:02 b538f80385f9: Download complete 13:33:02 b538f80385f9: Pull complete 13:33:03 74f711af9a0d: Pull complete 13:33:03 99f96fe45779: Pull complete 13:33:04 ad7c5574e4b9: Verifying Checksum 13:33:04 ad7c5574e4b9: Download complete 13:33:04 c890913d741a: Verifying Checksum 13:33:04 c890913d741a: Download complete 13:33:06 2480fcc9aa5a: Verifying Checksum 13:33:06 2480fcc9aa5a: Download complete 13:33:06 09adf4765672: Verifying Checksum 13:33:06 09adf4765672: Download complete 13:33:07 e772456be8f7: Verifying Checksum 13:33:07 e772456be8f7: Download complete 13:33:07 fd7a069fd194: Verifying Checksum 13:33:07 fd7a069fd194: Download complete 13:33:20 fd7a069fd194: Pull complete 13:33:20 66aa3694b03b: Pull complete 13:33:20 170f70906a0f: Pull complete 13:33:23 ad7c5574e4b9: Pull complete 13:33:27 e772456be8f7: Pull complete 13:33:28 c890913d741a: Pull complete 13:33:28 Running on prd-centos7-docker-4c-2g-1719 in /w/workspace/dry_go-mod-core-contracts_PR-279 [Pipeline] { [Pipeline] ws 13:33:28 Running in /w/workspace/go-mod-core-contracts/3 [Pipeline] { [Pipeline] checkout 13:33:30 2480fcc9aa5a: Pull complete 13:33:30 09adf4765672: Pull complete 13:33:30 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 13:33:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 13:33:30 ---> 2248a725d1cf 13:33:30 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 13:33:36 ---> Running in f0d42cd5bdc5 13:33:36 Removing intermediate container f0d42cd5bdc5 13:33:36 ---> 5a6aa579827f 13:33:36 Step 4/7 : RUN apk add bash 13:33:36 ---> Running in 3ccbe8c154fe 13:33:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:33:37 using credential edgex-jenkins-ssh 13:33:38 Cloning the remote Git repository 13:33:38 Cloning with configured refspecs honoured and without tags 13:33:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:33:38 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 13:33:38 > git init /w/workspace/go-mod-core-contracts/3 # timeout=10 13:33:38 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 13:33:38 > git --version # timeout=10 13:33:38 > git --version # 'git version 2.16.5' 13:33:38 using GIT_SSH to set credentials SSH Credentials for GitHub 13:33:38 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/279/head:refs/remotes/origin/PR-279 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:33:39 OK: 142 MiB in 39 packages 13:33:39 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 13:33:40 > git config --add remote.origin.fetch +refs/pull/279/head:refs/remotes/origin/PR-279 # timeout=10 13:33:40 Fetching without tags 13:33:40 Removing intermediate container 3ccbe8c154fe 13:33:40 ---> 82c156558715 13:33:40 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 13:33:40 ---> Running in 07d9d6aa0049 13:33:41 Removing intermediate container 07d9d6aa0049 13:33:41 ---> b7ac867b72cf 13:33:41 Step 6/7 : COPY go.mod . 13:33:41 Merging remotes/origin/master commit 55b81cd576c2e67c5a7de51c068d3f3d26919862 into PR head commit 3f996a924550b6de7b7cc663c5935bd395f4a2ad 13:33:40 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 13:33:40 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 13:33:40 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 13:33:40 using GIT_SSH to set credentials SSH Credentials for GitHub 13:33:40 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/279/head:refs/remotes/origin/PR-279 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:33:41 > git config core.sparsecheckout # timeout=10 13:33:41 > git checkout -f 3f996a924550b6de7b7cc663c5935bd395f4a2ad # timeout=10 13:33:41 > git remote # timeout=10 13:33:41 > git config --get remote.origin.url # timeout=10 13:33:41 using GIT_SSH to set credentials SSH Credentials for GitHub 13:33:41 > git merge 55b81cd576c2e67c5a7de51c068d3f3d26919862 # timeout=10 13:33:41 Merge succeeded, producing 3f996a924550b6de7b7cc663c5935bd395f4a2ad 13:33:41 Checking out Revision 3f996a924550b6de7b7cc663c5935bd395f4a2ad (PR-279) 13:33:42 ---> 656c26beb5bf 13:33:42 Step 7/7 : RUN go mod download 13:33:42 ---> Running in bbb0b90f92ea 13:33:41 > git rev-parse HEAD^{commit} # timeout=10 13:33:41 > git config core.sparsecheckout # timeout=10 13:33:42 > git checkout -f 3f996a924550b6de7b7cc663c5935bd395f4a2ad # timeout=10 13:33:44 go: finding github.com/davecgh/go-spew v1.1.0 13:33:44 go: finding github.com/fxamacker/cbor/v2 v2.2.0 13:33:44 go: finding github.com/go-kit/kit v0.8.0 13:33:44 go: finding github.com/go-logfmt/logfmt v0.4.0 13:33:44 go: finding github.com/go-playground/assert/v2 v2.0.1 13:33:44 go: finding github.com/go-playground/locales v0.13.0 13:33:44 go: finding github.com/go-playground/universal-translator v0.17.0 13:33:44 go: finding github.com/go-playground/validator/v10 v10.3.0 13:33:44 go: finding github.com/go-stack/stack v1.8.0 13:33:44 go: finding github.com/google/uuid v1.1.0 13:33:44 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 13:33:44 go: finding github.com/leodido/go-urn v1.2.0 13:33:44 go: finding github.com/pmezard/go-difflib v1.0.0 13:33:44 go: finding github.com/stretchr/objx v0.1.0 13:33:44 go: finding github.com/stretchr/testify v1.5.1 13:33:44 go: finding github.com/x448/float16 v0.8.4 13:33:45 go: finding golang.org/x/text v0.3.2 13:33:45 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 13:33:45 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 13:33:45 go: finding gopkg.in/yaml.v2 v2.2.8 13:33:48 Commit message: "feat: new error mechanism for V2 API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 13:33:49 ========================================================= 13:33:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 13:33:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:33:51 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 13:33:53 Sending build context to Docker daemon 2.194MB 13:33:53 Step 1/7 : ARG BASE=golang:1.13-alpine 13:33:53 Step 2/7 : FROM ${BASE} 13:33:53 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 13:33:53 df20fa9351a1: Pulling fs layer 13:33:53 ed8968b2872e: Pulling fs layer 13:33:53 a92cc7c5fd73: Pulling fs layer 13:33:53 2dd03ba5bac4: Pulling fs layer 13:33:53 1e091d79d1de: Pulling fs layer 13:33:53 481702a1767f: Pulling fs layer 13:33:53 f64a6f60c768: Pulling fs layer 13:33:53 e78d2573fc39: Pulling fs layer 13:33:53 e876d2f968b6: Pulling fs layer 13:33:53 ce8a83651883: Pulling fs layer 13:33:53 07967f4d0e4b: Pulling fs layer 13:33:53 1e091d79d1de: Waiting 13:33:53 481702a1767f: Waiting 13:33:53 e876d2f968b6: Waiting 13:33:53 ce8a83651883: Waiting 13:33:53 f64a6f60c768: Waiting 13:33:53 07967f4d0e4b: Waiting 13:33:53 e78d2573fc39: Waiting 13:33:53 2dd03ba5bac4: Waiting 13:33:53 a92cc7c5fd73: Verifying Checksum 13:33:53 a92cc7c5fd73: Download complete 13:33:53 ed8968b2872e: Download complete 13:33:53 1e091d79d1de: Verifying Checksum 13:33:53 1e091d79d1de: Download complete 13:33:54 481702a1767f: Verifying Checksum 13:33:54 481702a1767f: Download complete 13:33:55 df20fa9351a1: Verifying Checksum 13:33:55 df20fa9351a1: Download complete 13:33:56 df20fa9351a1: Pull complete 13:33:57 ed8968b2872e: Pull complete 13:33:57 a92cc7c5fd73: Pull complete 13:33:57 Removing intermediate container bbb0b90f92ea 13:33:57 ---> d5645825b821 13:33:57 Successfully built d5645825b821 13:33:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:33:58 + docker inspect -f . ci-base-image-arm64 13:33:58 . [Pipeline] withDockerContainer 13:33:58 prd-ubuntu18.04-docker-arm64-4c-16g-1718 does not seem to be running inside a container 13:33:58 $ 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 ******** ci-base-image-arm64 cat 13:34:00 $ docker top 59393dd69526fbf7e24da34f508a9ed4bacdae2c83072064fe09e65f1b5500a4 -eo pid,comm [Pipeline] { [Pipeline] sh 13:34:01 + go version 13:34:01 go version go1.13.13 linux/arm64 [Pipeline] sh 13:34:02 + make test 13:34:02 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:34:09 f64a6f60c768: Verifying Checksum 13:34:09 f64a6f60c768: Download complete 13:34:09 e876d2f968b6: Verifying Checksum 13:34:09 e876d2f968b6: Download complete 13:34:13 2dd03ba5bac4: Verifying Checksum 13:34:13 2dd03ba5bac4: Download complete 13:34:13 07967f4d0e4b: Verifying Checksum 13:34:13 07967f4d0e4b: Download complete 13:34:14 ce8a83651883: Verifying Checksum 13:34:14 ce8a83651883: Download complete 13:34:14 e78d2573fc39: Verifying Checksum 13:34:14 e78d2573fc39: Download complete 13:34:24 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 13:34:25 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.041s coverage: 85.7% of statements 13:34:25 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.029s coverage: 100.0% of statements 13:34:28 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.047s coverage: 45.4% of statements 13:34:28 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.029s coverage: 77.8% of statements 13:34:28 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 13:34:28 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.016s coverage: 6.4% of statements 13:34:28 2dd03ba5bac4: Pull complete 13:34:28 1e091d79d1de: Pull complete 13:34:28 481702a1767f: Pull complete 13:34:30 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.073s coverage: 14.7% of statements 13:34:30 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.057s coverage: 100.0% of statements 13:34:31 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.138s coverage: 91.8% of statements 13:34:31 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 13:34:31 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 13:34:31 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.019s coverage: 100.0% of statements 13:34:33 f64a6f60c768: Pull complete 13:34:38 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.085s coverage: 63.0% of statements 13:34:38 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.039s coverage: 26.3% of statements 13:34:38 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.024s coverage: 15.4% of statements 13:34:38 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.054s coverage: 15.4% of statements 13:34:38 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.017s coverage: 14.3% of statements 13:34:38 ok github.com/edgexfoundry/go-mod-core-contracts/v2 0.069s coverage: 28.8% of statements 13:34:39 e78d2573fc39: Pull complete 13:34:39 e876d2f968b6: Pull complete 13:34:40 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.077s coverage: 31.7% of statements 13:34:40 ce8a83651883: Pull complete 13:34:40 07967f4d0e4b: Pull complete 13:34:40 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 13:34:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 13:34:40 ---> 5d7c900382c6 13:34:40 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 13:34:41 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.029s coverage: 100.0% of statements 13:34:42 ---> Running in 806932fa9c20 13:34:42 Removing intermediate container 806932fa9c20 13:34:42 ---> e2e44609e7ef 13:34:42 Step 4/7 : RUN apk add bash 13:34:42 ---> Running in 34ba52b0d528 13:34:42 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.063s coverage: 95.1% of statements 13:34:42 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.029s coverage: 100.0% of statements 13:34:42 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 13:34:42 CGO_ENABLED=0 GO111MODULE=on go vet ./... 13:34:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:34:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:34:47 gofmt -l . 13:34:47 [ "`gofmt -l .`" = "" ] [Pipeline] stash 13:34:48 Stashed 1 file(s) [Pipeline] } 13:34:48 $ docker stop --time=1 59393dd69526fbf7e24da34f508a9ed4bacdae2c83072064fe09e65f1b5500a4 13:34:49 OK: 166 MiB in 39 packages 13:34:49 Removing intermediate container 34ba52b0d528 13:34:49 ---> c16e0c73fb24 13:34:49 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 13:34:49 ---> Running in 14a97a596e1b 13:34:50 Removing intermediate container 14a97a596e1b 13:34:50 ---> 11cb5f8700ab 13:34:50 Step 6/7 : COPY go.mod . 13:34:50 ---> 6102b43542eb 13:34:50 Step 7/7 : RUN go mod download 13:34:50 ---> Running in 79f6498b9949 13:34:50 $ docker rm -f 59393dd69526fbf7e24da34f508a9ed4bacdae2c83072064fe09e65f1b5500a4 [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] } 13:34:52 go: finding github.com/davecgh/go-spew v1.1.0 13:34:52 go: finding github.com/fxamacker/cbor/v2 v2.2.0 13:34:52 go: finding github.com/go-kit/kit v0.8.0 13:34:52 go: finding github.com/go-logfmt/logfmt v0.4.0 13:34:52 go: finding github.com/go-playground/assert/v2 v2.0.1 13:34:52 go: finding github.com/go-playground/locales v0.13.0 13:34:52 go: finding github.com/go-playground/universal-translator v0.17.0 13:34:52 go: finding github.com/go-playground/validator/v10 v10.3.0 13:34:52 go: finding github.com/go-stack/stack v1.8.0 13:34:52 go: finding github.com/google/uuid v1.1.0 13:34:52 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 13:34:52 go: finding github.com/leodido/go-urn v1.2.0 13:34:52 go: finding github.com/pmezard/go-difflib v1.0.0 13:34:52 go: finding github.com/stretchr/objx v0.1.0 13:34:52 go: finding github.com/stretchr/testify v1.5.1 13:34:52 go: finding github.com/x448/float16 v0.8.4 13:34:52 go: finding golang.org/x/text v0.3.2 13:34:52 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e 13:34:52 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 13:34:52 go: finding gopkg.in/yaml.v2 v2.2.8 [Pipeline] // stage [Pipeline] } 13:35:02 Removing intermediate container 79f6498b9949 13:35:02 ---> 76168571c986 13:35:02 Successfully built 76168571c986 13:35:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:35:03 + docker inspect -f . ci-base-image-x86_64 13:35:03 . [Pipeline] withDockerContainer 13:35:04 prd-centos7-docker-4c-2g-1719 does not seem to be running inside a container 13:35:04 $ 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 ******** ci-base-image-x86_64 cat 13:35:05 $ docker top bdeceb090d26454b0c575835e9103f0585d9c02725e8016968ff076082510364 -eo pid,comm [Pipeline] { [Pipeline] sh 13:35:06 + go version 13:35:06 go version go1.13.13 linux/amd64 [Pipeline] sh 13:35:06 + make test 13:35:06 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:35:19 ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] 13:35:19 ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.026s coverage: 85.7% of statements 13:35:19 ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.044s coverage: 100.0% of statements 13:35:20 ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.035s coverage: 45.4% of statements 13:35:20 ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.028s coverage: 77.8% of statements 13:35:20 ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] 13:35:20 ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.045s coverage: 6.4% of statements 13:35:22 ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.071s coverage: 14.7% of statements 13:35:22 ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.024s coverage: 100.0% of statements 13:35:22 ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.028s coverage: 91.8% of statements 13:35:22 ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] 13:35:22 ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] 13:35:22 ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.022s coverage: 100.0% of statements 13:35:26 ok github.com/edgexfoundry/go-mod-core-contracts/models 0.058s coverage: 63.0% of statements 13:35:26 ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.044s coverage: 26.3% of statements 13:35:26 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.049s coverage: 15.4% of statements 13:35:26 ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.020s coverage: 15.4% of statements 13:35:26 ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.030s coverage: 14.3% of statements 13:35:27 ok github.com/edgexfoundry/go-mod-core-contracts/v2 0.011s coverage: 28.8% of statements 13:35:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.044s coverage: 31.7% of statements 13:35:28 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.174s coverage: 100.0% of statements 13:35:29 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.053s coverage: 95.1% of statements 13:35:29 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.038s coverage: 100.0% of statements 13:35:29 ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] 13:35:30 CGO_ENABLED=0 GO111MODULE=on go vet ./... 13:35:32 gofmt -l . 13:35:32 [ "`gofmt -l .`" = "" ] [Pipeline] stash 13:35:32 Warning: overwriting stash ‘coverage-report’ 13:35:32 Stashed 1 file(s) [Pipeline] } 13:35:32 $ docker stop --time=1 bdeceb090d26454b0c575835e9103f0585d9c02725e8016968ff076082510364 13:35:34 $ docker rm -f bdeceb090d26454b0c575835e9103f0585d9c02725e8016968ff076082510364 [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 13:35:36 provisioning config files... 13:35:36 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-279@tmp/config8953646479965153674tmp [Pipeline] { [Pipeline] sh 13:35:37 + curl -s https://codecov.io/bash 13:35:37 + bash -s - -t @/w/workspace/dry_go-mod-core-contracts_PR-279@tmp/config8953646479965153674tmp [Pipeline] } 13:35:37 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 13:35:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:35:40 ---> package-listing.sh 13:35:40 ++ facter osfamily 13:35:40 ++ tr '[:upper:]' '[:lower:]' 13:35:40 + OS_FAMILY=redhat 13:35:40 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-279 13:35:40 + START_PACKAGES=/tmp/packages_start.txt 13:35:40 + END_PACKAGES=/tmp/packages_end.txt 13:35:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:35:40 + PACKAGES=/tmp/packages_start.txt 13:35:40 + '[' /w/workspace/dry_go-mod-core-contracts_PR-279 ']' 13:35:40 + PACKAGES=/tmp/packages_end.txt 13:35:40 + case "${OS_FAMILY}" in 13:35:40 + rpm -qa 13:35:40 + sort 13:35:44 + '[' -f /tmp/packages_start.txt ']' 13:35:44 + '[' -f /tmp/packages_end.txt ']' 13:35:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:35:44 + '[' /w/workspace/dry_go-mod-core-contracts_PR-279 ']' 13:35:44 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-279/archives/ 13:35:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-279/archives/ [Pipeline] isUnix [Pipeline] sh 13:35:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:35:45 13:35:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:35:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:35:45 alpine: Pulling from edgex-lftools-log-publisher 13:35:45 df20fa9351a1: Pulling fs layer 13:35:45 36b3adc4ff6f: Pulling fs layer 13:35:45 8ad3a11d3b57: Pulling fs layer 13:35:45 46f8f816bc3b: Pulling fs layer 13:35:45 0dadc02b9964: Pulling fs layer 13:35:45 ce6a7cf60c04: Pulling fs layer 13:35:45 7a184a31f384: Pulling fs layer 13:35:45 0879bd2ef858: Pulling fs layer 13:35:45 7a184a31f384: Waiting 13:35:45 ce6a7cf60c04: Waiting 13:35:45 46f8f816bc3b: Waiting 13:35:45 0879bd2ef858: Waiting 13:35:45 36b3adc4ff6f: Download complete 13:35:45 46f8f816bc3b: Verifying Checksum 13:35:45 46f8f816bc3b: Download complete 13:35:45 df20fa9351a1: Verifying Checksum 13:35:45 df20fa9351a1: Download complete 13:35:45 ce6a7cf60c04: Verifying Checksum 13:35:45 ce6a7cf60c04: Download complete 13:35:45 0dadc02b9964: Verifying Checksum 13:35:45 0dadc02b9964: Download complete 13:35:45 7a184a31f384: Verifying Checksum 13:35:45 7a184a31f384: Download complete 13:35:45 8ad3a11d3b57: Verifying Checksum 13:35:45 8ad3a11d3b57: Download complete 13:35:46 df20fa9351a1: Pull complete 13:35:46 0879bd2ef858: Verifying Checksum 13:35:46 0879bd2ef858: Download complete 13:35:46 36b3adc4ff6f: Pull complete 13:35:46 8ad3a11d3b57: Pull complete 13:35:46 46f8f816bc3b: Pull complete 13:35:47 0dadc02b9964: Pull complete 13:35:47 ce6a7cf60c04: Pull complete 13:35:47 7a184a31f384: Pull complete 13:35:49 0879bd2ef858: Pull complete 13:35:49 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 13:35:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:35:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:35:49 prd-centos7-docker-4c-2g-1717 does not seem to be running inside a container 13:35:49 $ 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-279 -v /w/workspace/dry_go-mod-core-contracts_PR-279:/w/workspace/dry_go-mod-core-contracts_PR-279:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-279@tmp:/w/workspace/dry_go-mod-core-contracts_PR-279@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 13:35:55 $ docker top f2e07a5b202353c01356e6409fc2271ae4baf0673f12d9fe893f8ed43c779801 -eo pid,comm [Pipeline] { [Pipeline] sh 13:35:56 + mkdir -p /var/log/sa [Pipeline] sh 13:35:56 + ls /var/log/sa-host 13:35:56 + sadf -c /var/log/sa-host/sa05 13:35:56 file_magic: OK 13:35:56 HZ: Using current value: 100 13:35:56 file_header: OK 13:35:56 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 13:35:56 Statistics: 13:35:56 Hnuu...uuuununununu...Hnuu...uuuununununu... 13:35:56 File successfully converted to sysstat format version 12.2.1 13:35:56 + sadf -c /var/log/sa-host/sa07 13:35:56 file_magic: OK 13:35:56 HZ: Using current value: 100 13:35:56 file_header: OK 13:35:56 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 13:35:56 Statistics: 13:35:56 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:35:56 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:35:56 provisioning config files... 13:35:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-279@tmp/config7747883493235878466tmp [Pipeline] { [Pipeline] echo 13:35:56 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:35:57 ---> create-netrc.sh [Pipeline] echo 13:35:57 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:35:57 ---> logs-deploy.sh 13:35:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-279/3 13:35:57 INFO: archiving workspace using pattern(s): 13:35:58 Archives upload complete. 13:35:58 INFO: archiving logs to Nexus