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