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