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