Pull request #281 opened 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 lenny-intel for edgexfoundry/go-mod-core-contracts Obtained Jenkinsfile from 267d3ce78939cc7ec995156b5128dad6159cdb90+55b81cd576c2e67c5a7de51c068d3f3d26919862 (4aa8525e5827f62afb427ece02873adeabf453f4) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-281/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-1867 in /w/workspace/dry_go-mod-core-contracts_PR-281 [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-281 # 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/281/head:refs/remotes/origin/PR-281 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 55b81cd576c2e67c5a7de51c068d3f3d26919862 into PR head commit 267d3ce78939cc7ec995156b5128dad6159cdb90 Merge succeeded, producing 267d3ce78939cc7ec995156b5128dad6159cdb90 Checking out Revision 267d3ce78939cc7ec995156b5128dad6159cdb90 (PR-281) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/281/head:refs/remotes/origin/PR-281 # 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/281/head:refs/remotes/origin/PR-281 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 267d3ce78939cc7ec995156b5128dad6159cdb90 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 55b81cd576c2e67c5a7de51c068d3f3d26919862 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 267d3ce78939cc7ec995156b5128dad6159cdb90 # timeout=10 Commit message: "fix: Don't in-line `Metrics` property on MetricsResponse so that it matches swagger" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-08T23:06:03.456Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-08T23:06:03.796Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-08T23:06:03.964Z] ========================================================= [2020-09-08T23:06:03.964Z] EdgeX Global Pipelines Version Info [2020-09-08T23:06:03.964Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-08T23:06:05.374Z] ------------------- [2020-09-08T23:06:05.374Z] stable info: [2020-09-08T23:06:05.374Z] ------------------- [2020-09-08T23:06:05.374Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-08T23:06:05.374Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-08T23:06:05.374Z] Message: update stable to v1.0.119 [2020-09-08T23:06:06.320Z] ------------------- [2020-09-08T23:06:06.320Z] experimental info: [2020-09-08T23:06:06.320Z] ------------------- [2020-09-08T23:06:06.320Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-08T23:06:06.320Z] Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d [2020-09-08T23:06:06.320Z] Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-08T23:06:06.979Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2020-09-08T23:06:07.096Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2020-09-08T23:06:07.220Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-08T23:06:07.344Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-08T23:06:07.472Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-08T23:06:07.599Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-08T23:06:07.712Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-08T23:06:07.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-08T23:06:08.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-08T23:06:08.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-08T23:06:08.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-08T23:06:08.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2020-09-08T23:06:08.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-08T23:06:08.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-08T23:06:08.736Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-08T23:06:08.848Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-08T23:06:08.963Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-08T23:06:09.098Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-08T23:06:09.208Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2020-09-08T23:06:09.326Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-08T23:06:09.439Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-08T23:06:09.556Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-08T23:06:09.673Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-281 [Pipeline] echo [2020-09-08T23:06:09.786Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-281 [Pipeline] echo [2020-09-08T23:06:09.899Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-281 [Pipeline] echo [2020-09-08T23:06:10.011Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 267d3ce78939cc7ec995156b5128dad6159cdb90 [Pipeline] echo [2020-09-08T23:06:10.206Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 267d3ce [Pipeline] echo [2020-09-08T23:06:10.331Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-08T23:06:11.194Z] + git log --format=format:%s -1 267d3ce78939cc7ec995156b5128dad6159cdb90 [Pipeline] echo [2020-09-08T23:06:11.274Z] GIT_COMMIT: 267d3ce78939cc7ec995156b5128dad6159cdb90, Commit Message: fix: Don't in-line `Metrics` property on MetricsResponse so that it matches swagger [Pipeline] echo [2020-09-08T23:06:11.361Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-08T23:06:11.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-08T23:06:12.178Z] [2020-09-08T23:06:12.178Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-08T23:06:12.561Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-08T23:06:12.561Z] latest: Pulling from edgex-devops/git-semver [2020-09-08T23:06:12.561Z] 31603596830f: Pulling fs layer [2020-09-08T23:06:12.561Z] 2a8b12db71e7: Pulling fs layer [2020-09-08T23:06:12.561Z] 6ca5941a6612: Pulling fs layer [2020-09-08T23:06:12.561Z] ecc8261a40a4: Pulling fs layer [2020-09-08T23:06:12.561Z] ecc8261a40a4: Waiting [2020-09-08T23:06:12.561Z] 2a8b12db71e7: Verifying Checksum [2020-09-08T23:06:12.561Z] 2a8b12db71e7: Download complete [2020-09-08T23:06:12.561Z] 31603596830f: Verifying Checksum [2020-09-08T23:06:12.561Z] 31603596830f: Download complete [2020-09-08T23:06:12.829Z] ecc8261a40a4: Verifying Checksum [2020-09-08T23:06:12.829Z] ecc8261a40a4: Download complete [2020-09-08T23:06:12.829Z] 6ca5941a6612: Verifying Checksum [2020-09-08T23:06:12.829Z] 6ca5941a6612: Download complete [2020-09-08T23:06:13.094Z] 31603596830f: Pull complete [2020-09-08T23:06:13.094Z] 2a8b12db71e7: Pull complete [2020-09-08T23:06:14.048Z] 6ca5941a6612: Pull complete [2020-09-08T23:06:14.048Z] ecc8261a40a4: Pull complete [2020-09-08T23:06:14.048Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-08T23:06:14.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-08T23:06:14.048Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-08T23:06:14.191Z] prd-centos7-docker-4c-2g-1867 does not seem to be running inside a container [2020-09-08T23:06:14.245Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-281 -v /w/workspace/dry_go-mod-core-contracts_PR-281:/w/workspace/dry_go-mod-core-contracts_PR-281:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-281@tmp:/w/workspace/dry_go-mod-core-contracts_PR-281@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-08T23:06:16.212Z] $ docker top 8104cf63567a4ffd3a20519c3d9485ed6afc441c2aa165d0ebddbc4a45e6be3d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-08T23:06:16.594Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-08T23:06:16.594Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-08T23:06:16.807Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-08T23:06:16.812Z] $ docker exec 8104cf63567a4ffd3a20519c3d9485ed6afc441c2aa165d0ebddbc4a45e6be3d ssh-agent [2020-09-08T23:06:16.978Z] SSH_AUTH_SOCK=/tmp/ssh-yQ4Ek7vuyiDX/agent.11 [2020-09-08T23:06:16.978Z] SSH_AGENT_PID=16 [2020-09-08T23:06:17.066Z] Running ssh-add (command line suppressed) [2020-09-08T23:06:17.219Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-281@tmp/private_key_6296507338293803114.key (/w/workspace/dry_go-mod-core-contracts_PR-281@tmp/private_key_6296507338293803114.key) [2020-09-08T23:06:17.273Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-08T23:06:17.654Z] + git describe --exact-match --tags HEAD [2020-09-08T23:06:17.654Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-08T23:06:17.695Z] $ docker exec --env ******** --env ******** 8104cf63567a4ffd3a20519c3d9485ed6afc441c2aa165d0ebddbc4a45e6be3d ssh-agent -k [2020-09-08T23:06:17.812Z] unset SSH_AUTH_SOCK; [2020-09-08T23:06:17.812Z] unset SSH_AGENT_PID; [2020-09-08T23:06:17.812Z] echo Agent pid 16 killed; [2020-09-08T23:06:17.861Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-08T23:06:18.241Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-08T23:06:18.241Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-08T23:06:18.370Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-08T23:06:18.370Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-08T23:06:18.542Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-08T23:06:18.547Z] $ docker exec 8104cf63567a4ffd3a20519c3d9485ed6afc441c2aa165d0ebddbc4a45e6be3d ssh-agent [2020-09-08T23:06:18.706Z] SSH_AUTH_SOCK=/tmp/ssh-tFhIzPb47wmD/agent.45 [2020-09-08T23:06:18.706Z] SSH_AGENT_PID=50 [2020-09-08T23:06:18.712Z] Running ssh-add (command line suppressed) [2020-09-08T23:06:18.829Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-281@tmp/private_key_4758389678539215264.key (/w/workspace/dry_go-mod-core-contracts_PR-281@tmp/private_key_4758389678539215264.key) [2020-09-08T23:06:18.884Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-08T23:06:19.258Z] + git semver init [2020-09-08T23:06:19.258Z] # -> Open(): unable to determine branch for HEAD [2020-09-08T23:06:19.258Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-281/.git [2020-09-08T23:06:19.258Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-281 [2020-09-08T23:06:19.258Z] # $SEMVER_REMOTE_NAME = origin [2020-09-08T23:06:19.258Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-08T23:06:19.258Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-08T23:06:19.258Z] # $SEMVER_BRANCH = PR-281 [2020-09-08T23:06:19.258Z] # $SEMVER_TEMP = /tmp/semver-237045951 [2020-09-08T23:06:19.258Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2020-09-08T23:06:19.841Z] # '/tmp/semver-237045951' -> '/w/workspace/dry_go-mod-core-contracts_PR-281/.semver' [2020-09-08T23:06:19.841Z] # -> Force: false [2020-09-08T23:06:19.841Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-281/.semver [Pipeline] } [2020-09-08T23:06:19.863Z] $ docker exec --env ******** --env ******** 8104cf63567a4ffd3a20519c3d9485ed6afc441c2aa165d0ebddbc4a45e6be3d ssh-agent -k [2020-09-08T23:06:19.979Z] unset SSH_AUTH_SOCK; [2020-09-08T23:06:19.980Z] unset SSH_AGENT_PID; [2020-09-08T23:06:19.980Z] echo Agent pid 50 killed; [2020-09-08T23:06:20.027Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-08T23:06:20.714Z] + git semver [Pipeline] } [2020-09-08T23:06:20.745Z] $ docker stop --time=1 8104cf63567a4ffd3a20519c3d9485ed6afc441c2aa165d0ebddbc4a45e6be3d [2020-09-08T23:06:22.384Z] $ docker rm -f 8104cf63567a4ffd3a20519c3d9485ed6afc441c2aa165d0ebddbc4a45e6be3d [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-08T23:06:23.210Z] Stashed 91 file(s) [Pipeline] echo [2020-09-08T23:06:23.230Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-08T23:06:23.373Z] 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 [2020-09-08T23:06:39.024Z] Still waiting to schedule task [2020-09-08T23:06:39.024Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-08T23:06:39.046Z] Still waiting to schedule task [2020-09-08T23:06:39.046Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-09-08T23:09:11.494Z] Running on prd-centos7-docker-4c-2g-1868 in /w/workspace/dry_go-mod-core-contracts_PR-281 [Pipeline] { [Pipeline] ws [2020-09-08T23:09:11.583Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2020-09-08T23:09:19.803Z] using credential edgex-jenkins-ssh [2020-09-08T23:09:19.856Z] Cloning the remote Git repository [2020-09-08T23:09:19.856Z] Cloning with configured refspecs honoured and without tags [2020-09-08T23:09:19.911Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-09-08T23:09:20.018Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2020-09-08T23:09:20.085Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-09-08T23:09:20.086Z] > git --version # timeout=10 [2020-09-08T23:09:20.097Z] > git --version # 'git version 2.16.5' [2020-09-08T23:09:20.098Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-08T23:09:20.216Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-08T23:09:21.659Z] Fetching without tags [2020-09-08T23:09:21.523Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-09-08T23:09:21.594Z] > git config --add remote.origin.fetch +refs/pull/281/head:refs/remotes/origin/PR-281 # timeout=10 [2020-09-08T23:09:21.606Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-08T23:09:21.644Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-09-08T23:09:21.665Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-09-08T23:09:21.665Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-08T23:09:21.673Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-08T23:09:22.181Z] Merging remotes/origin/master commit 55b81cd576c2e67c5a7de51c068d3f3d26919862 into PR head commit 267d3ce78939cc7ec995156b5128dad6159cdb90 [2020-09-08T23:09:22.313Z] Merge succeeded, producing 267d3ce78939cc7ec995156b5128dad6159cdb90 [2020-09-08T23:09:22.313Z] Checking out Revision 267d3ce78939cc7ec995156b5128dad6159cdb90 (PR-281) [2020-09-08T23:09:22.193Z] > git config core.sparsecheckout # timeout=10 [2020-09-08T23:09:22.212Z] > git checkout -f 267d3ce78939cc7ec995156b5128dad6159cdb90 # timeout=10 [2020-09-08T23:09:22.276Z] > git remote # timeout=10 [2020-09-08T23:09:22.286Z] > git config --get remote.origin.url # timeout=10 [2020-09-08T23:09:22.291Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-08T23:09:22.295Z] > git merge 55b81cd576c2e67c5a7de51c068d3f3d26919862 # timeout=10 [2020-09-08T23:09:22.306Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-08T23:09:22.316Z] > git config core.sparsecheckout # timeout=10 [2020-09-08T23:09:22.333Z] > git checkout -f 267d3ce78939cc7ec995156b5128dad6159cdb90 # timeout=10 [2020-09-08T23:09:26.153Z] Commit message: "fix: Don't in-line `Metrics` property on MetricsResponse so that it matches swagger" [2020-09-08T23:09:26.182Z] > git --version # timeout=10 [2020-09-08T23:09:26.190Z] > git --version # 'git version 2.16.5' [2020-09-08T23:09:26.201Z] fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-08T23:09:27.440Z] ========================================================= [2020-09-08T23:09:27.440Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-08T23:09:27.440Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-08T23:09:28.637Z] + 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 . [2020-09-08T23:09:29.226Z] Sending build context to Docker daemon 2.179MB [2020-09-08T23:09:29.226Z] Step 1/7 : ARG BASE=golang:1.13-alpine [2020-09-08T23:09:29.226Z] Step 2/7 : FROM ${BASE} [2020-09-08T23:09:29.226Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-08T23:09:29.226Z] df20fa9351a1: Pulling fs layer [2020-09-08T23:09:29.226Z] ed8968b2872e: Pulling fs layer [2020-09-08T23:09:29.226Z] a92cc7c5fd73: Pulling fs layer [2020-09-08T23:09:29.226Z] 2dd03ba5bac4: Pulling fs layer [2020-09-08T23:09:29.226Z] 1e091d79d1de: Pulling fs layer [2020-09-08T23:09:29.226Z] 481702a1767f: Pulling fs layer [2020-09-08T23:09:29.226Z] f64a6f60c768: Pulling fs layer [2020-09-08T23:09:29.226Z] e78d2573fc39: Pulling fs layer [2020-09-08T23:09:29.226Z] e876d2f968b6: Pulling fs layer [2020-09-08T23:09:29.226Z] ce8a83651883: Pulling fs layer [2020-09-08T23:09:29.226Z] 07967f4d0e4b: Pulling fs layer [2020-09-08T23:09:29.226Z] 481702a1767f: Waiting [2020-09-08T23:09:29.226Z] f64a6f60c768: Waiting [2020-09-08T23:09:29.226Z] e78d2573fc39: Waiting [2020-09-08T23:09:29.226Z] e876d2f968b6: Waiting [2020-09-08T23:09:29.226Z] 07967f4d0e4b: Waiting [2020-09-08T23:09:29.226Z] 2dd03ba5bac4: Waiting [2020-09-08T23:09:29.226Z] 1e091d79d1de: Waiting [2020-09-08T23:09:29.226Z] ce8a83651883: Waiting [2020-09-08T23:09:29.226Z] a92cc7c5fd73: Verifying Checksum [2020-09-08T23:09:29.226Z] a92cc7c5fd73: Download complete [2020-09-08T23:09:29.226Z] ed8968b2872e: Verifying Checksum [2020-09-08T23:09:29.226Z] ed8968b2872e: Download complete [2020-09-08T23:09:29.226Z] 1e091d79d1de: Verifying Checksum [2020-09-08T23:09:29.226Z] 1e091d79d1de: Download complete [2020-09-08T23:09:29.226Z] 481702a1767f: Verifying Checksum [2020-09-08T23:09:29.226Z] 481702a1767f: Download complete [2020-09-08T23:09:29.506Z] df20fa9351a1: Download complete [2020-09-08T23:09:30.146Z] df20fa9351a1: Pull complete [2020-09-08T23:09:30.865Z] ed8968b2872e: Pull complete [2020-09-08T23:09:31.141Z] a92cc7c5fd73: Pull complete [2020-09-08T23:09:35.626Z] f64a6f60c768: Verifying Checksum [2020-09-08T23:09:35.626Z] e876d2f968b6: Verifying Checksum [2020-09-08T23:09:35.626Z] e876d2f968b6: Download complete [2020-09-08T23:09:35.626Z] e78d2573fc39: Verifying Checksum [2020-09-08T23:09:35.626Z] e78d2573fc39: Download complete [2020-09-08T23:09:35.895Z] 07967f4d0e4b: Verifying Checksum [2020-09-08T23:09:35.895Z] 07967f4d0e4b: Download complete [2020-09-08T23:09:38.624Z] 2dd03ba5bac4: Verifying Checksum [2020-09-08T23:09:38.624Z] 2dd03ba5bac4: Download complete [2020-09-08T23:09:38.624Z] ce8a83651883: Verifying Checksum [2020-09-08T23:09:38.624Z] ce8a83651883: Download complete [2020-09-08T23:09:48.874Z] 2dd03ba5bac4: Pull complete [2020-09-08T23:09:48.874Z] 1e091d79d1de: Pull complete [2020-09-08T23:09:48.874Z] 481702a1767f: Pull complete [2020-09-08T23:09:55.805Z] f64a6f60c768: Pull complete [2020-09-08T23:10:01.235Z] e78d2573fc39: Pull complete [2020-09-08T23:10:01.235Z] e876d2f968b6: Pull complete [2020-09-08T23:10:02.274Z] ce8a83651883: Pull complete [2020-09-08T23:10:02.551Z] 07967f4d0e4b: Pull complete [2020-09-08T23:10:02.551Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-08T23:10:02.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-08T23:10:02.551Z] ---> 5d7c900382c6 [2020-09-08T23:10:02.551Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-08T23:10:04.014Z] ---> Running in 8348deb83962 [2020-09-08T23:10:04.014Z] Removing intermediate container 8348deb83962 [2020-09-08T23:10:04.014Z] ---> 818e4fe71fba [2020-09-08T23:10:04.014Z] Step 4/7 : RUN apk add bash [2020-09-08T23:10:04.342Z] ---> Running in 62f627247bbc [2020-09-08T23:10:05.771Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-08T23:10:06.384Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-08T23:10:07.017Z] OK: 166 MiB in 39 packages [2020-09-08T23:10:07.652Z] Removing intermediate container 62f627247bbc [2020-09-08T23:10:07.652Z] ---> f94330c836a5 [2020-09-08T23:10:07.652Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-09-08T23:10:07.652Z] ---> Running in ba7c0c8e8a9d [2020-09-08T23:10:07.924Z] Removing intermediate container ba7c0c8e8a9d [2020-09-08T23:10:07.924Z] ---> ef2ac916aedb [2020-09-08T23:10:07.924Z] Step 6/7 : COPY go.mod . [2020-09-08T23:10:08.197Z] ---> fddb145f3f6a [2020-09-08T23:10:08.197Z] Step 7/7 : RUN go mod download [2020-09-08T23:10:08.197Z] ---> Running in e93a4e1e4c2c [2020-09-08T23:10:10.217Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-09-08T23:10:10.217Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-08T23:10:10.486Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-08T23:10:10.487Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-08T23:10:10.487Z] go: finding github.com/go-playground/assert/v2 v2.0.1 [2020-09-08T23:10:10.487Z] go: finding github.com/go-playground/locales v0.13.0 [2020-09-08T23:10:10.487Z] go: finding github.com/go-playground/universal-translator v0.17.0 [2020-09-08T23:10:10.487Z] go: finding github.com/go-playground/validator/v10 v10.3.0 [2020-09-08T23:10:10.487Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-08T23:10:10.487Z] go: finding github.com/google/uuid v1.1.0 [2020-09-08T23:10:10.487Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-08T23:10:10.487Z] go: finding github.com/leodido/go-urn v1.2.0 [2020-09-08T23:10:10.487Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-08T23:10:10.487Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-08T23:10:11.104Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-08T23:10:11.104Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-08T23:10:11.104Z] go: finding golang.org/x/text v0.3.2 [2020-09-08T23:10:11.104Z] go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e [2020-09-08T23:10:11.104Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-08T23:10:11.104Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-08T23:10:22.227Z] Removing intermediate container e93a4e1e4c2c [2020-09-08T23:10:22.227Z] ---> 1f042d176887 [2020-09-08T23:10:22.227Z] Successfully built 1f042d176887 [2020-09-08T23:10:22.227Z] 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 [2020-09-08T23:10:23.323Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-08T23:10:23.323Z] . [Pipeline] withDockerContainer [2020-09-08T23:10:23.534Z] prd-centos7-docker-4c-2g-1868 does not seem to be running inside a container [2020-09-08T23:10:23.608Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-08T23:10:25.192Z] $ docker top e8c210c98c958ce0cbf37fac3cfd862222ca85f8c88de15fa559cec7a26b3a3f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-08T23:10:25.831Z] + go version [2020-09-08T23:10:25.831Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-09-08T23:10:26.235Z] + make test [2020-09-08T23:10:26.235Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-08T23:10:39.156Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-09-08T23:10:40.806Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.028s coverage: 85.7% of statements [2020-09-08T23:10:40.806Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.020s coverage: 100.0% of statements [2020-09-08T23:10:40.806Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.018s coverage: 45.4% of statements [2020-09-08T23:10:42.427Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.025s coverage: 77.8% of statements [2020-09-08T23:10:42.427Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-09-08T23:10:42.427Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.010s coverage: 6.4% of statements [2020-09-08T23:10:43.585Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.014s coverage: 14.7% of statements [2020-09-08T23:10:43.585Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.019s coverage: 100.0% of statements [2020-09-08T23:10:44.880Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.112s coverage: 91.8% of statements [2020-09-08T23:10:44.880Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-09-08T23:10:44.880Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-09-08T23:10:44.880Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.129s coverage: 100.0% of statements [2020-09-08T23:10:49.397Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.070s coverage: 63.0% of statements [2020-09-08T23:10:49.397Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.039s coverage: 26.3% of statements [2020-09-08T23:10:49.397Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.022s coverage: 15.4% of statements [2020-09-08T23:10:49.397Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.058s coverage: 15.4% of statements [2020-09-08T23:10:49.397Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.011s coverage: 14.3% of statements [2020-09-08T23:10:49.397Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-09-08T23:10:49.667Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.027s coverage: 31.7% of statements [2020-09-08T23:10:49.667Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.031s coverage: 100.0% of statements [2020-09-08T23:10:50.295Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.076s coverage: 95.1% of statements [2020-09-08T23:10:51.707Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.046s coverage: 100.0% of statements [2020-09-08T23:10:51.707Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-09-08T23:10:51.707Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-08T23:10:53.744Z] gofmt -l . [2020-09-08T23:10:54.014Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-09-08T23:10:54.841Z] Stashed 1 file(s) [Pipeline] } [2020-09-08T23:10:54.864Z] $ docker stop --time=1 e8c210c98c958ce0cbf37fac3cfd862222ca85f8c88de15fa559cec7a26b3a3f [2020-09-08T23:10:57.555Z] $ docker rm -f e8c210c98c958ce0cbf37fac3cfd862222ca85f8c88de15fa559cec7a26b3a3f [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] } [2020-09-08T23:11:18.718Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1869 in /w/workspace/dry_go-mod-core-contracts_PR-281 [Pipeline] { [Pipeline] ws [2020-09-08T23:11:18.796Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2020-09-08T23:11:23.761Z] using credential edgex-jenkins-ssh [2020-09-08T23:11:23.842Z] Cloning the remote Git repository [2020-09-08T23:11:23.842Z] Cloning with configured refspecs honoured and without tags [2020-09-08T23:11:25.044Z] Fetching without tags [2020-09-08T23:11:23.909Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-09-08T23:11:24.025Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2020-09-08T23:11:24.087Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-09-08T23:11:24.087Z] > git --version # timeout=10 [2020-09-08T23:11:24.104Z] > git --version # 'git version 2.17.1' [2020-09-08T23:11:24.106Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-08T23:11:24.179Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-08T23:11:24.940Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-09-08T23:11:24.969Z] > git config --add remote.origin.fetch +refs/pull/281/head:refs/remotes/origin/PR-281 # timeout=10 [2020-09-08T23:11:24.989Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-08T23:11:25.018Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2020-09-08T23:11:25.054Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2020-09-08T23:11:25.054Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-08T23:11:25.483Z] Merging remotes/origin/master commit 55b81cd576c2e67c5a7de51c068d3f3d26919862 into PR head commit 267d3ce78939cc7ec995156b5128dad6159cdb90 [2020-09-08T23:11:25.736Z] Merge succeeded, producing 267d3ce78939cc7ec995156b5128dad6159cdb90 [2020-09-08T23:11:25.736Z] Checking out Revision 267d3ce78939cc7ec995156b5128dad6159cdb90 (PR-281) [2020-09-08T23:11:25.069Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-08T23:11:25.504Z] > git config core.sparsecheckout # timeout=10 [2020-09-08T23:11:25.527Z] > git checkout -f 267d3ce78939cc7ec995156b5128dad6159cdb90 # timeout=10 [2020-09-08T23:11:25.644Z] > git remote # timeout=10 [2020-09-08T23:11:25.664Z] > git config --get remote.origin.url # timeout=10 [2020-09-08T23:11:25.679Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-08T23:11:25.689Z] > git merge 55b81cd576c2e67c5a7de51c068d3f3d26919862 # timeout=10 [2020-09-08T23:11:25.713Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-08T23:11:25.744Z] > git config core.sparsecheckout # timeout=10 [2020-09-08T23:11:25.767Z] > git checkout -f 267d3ce78939cc7ec995156b5128dad6159cdb90 # timeout=10 [2020-09-08T23:11:30.278Z] Commit message: "fix: Don't in-line `Metrics` property on MetricsResponse so that it matches swagger" [2020-09-08T23:11:30.340Z] > git --version # timeout=10 [2020-09-08T23:11:30.354Z] > git --version # 'git version 2.17.1' [2020-09-08T23:11:30.375Z] fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-08T23:11:31.862Z] ========================================================= [2020-09-08T23:11:31.862Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-08T23:11:31.862Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-08T23:11:33.048Z] + 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 . [2020-09-08T23:11:34.037Z] Sending build context to Docker daemon 2.179MB [2020-09-08T23:11:34.037Z] Step 1/7 : ARG BASE=golang:1.13-alpine [2020-09-08T23:11:34.037Z] Step 2/7 : FROM ${BASE} [2020-09-08T23:11:34.312Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-08T23:11:34.312Z] b538f80385f9: Pulling fs layer [2020-09-08T23:11:34.312Z] 74f711af9a0d: Pulling fs layer [2020-09-08T23:11:34.312Z] 99f96fe45779: Pulling fs layer [2020-09-08T23:11:34.312Z] fd7a069fd194: Pulling fs layer [2020-09-08T23:11:34.313Z] 66aa3694b03b: Pulling fs layer [2020-09-08T23:11:34.313Z] 170f70906a0f: Pulling fs layer [2020-09-08T23:11:34.313Z] ad7c5574e4b9: Pulling fs layer [2020-09-08T23:11:34.313Z] e772456be8f7: Pulling fs layer [2020-09-08T23:11:34.313Z] c890913d741a: Pulling fs layer [2020-09-08T23:11:34.313Z] 2480fcc9aa5a: Pulling fs layer [2020-09-08T23:11:34.313Z] 09adf4765672: Pulling fs layer [2020-09-08T23:11:34.313Z] fd7a069fd194: Waiting [2020-09-08T23:11:34.313Z] 66aa3694b03b: Waiting [2020-09-08T23:11:34.313Z] 170f70906a0f: Waiting [2020-09-08T23:11:34.313Z] ad7c5574e4b9: Waiting [2020-09-08T23:11:34.313Z] 2480fcc9aa5a: Waiting [2020-09-08T23:11:34.313Z] e772456be8f7: Waiting [2020-09-08T23:11:34.313Z] 09adf4765672: Waiting [2020-09-08T23:11:34.313Z] c890913d741a: Waiting [2020-09-08T23:11:34.313Z] 99f96fe45779: Download complete [2020-09-08T23:11:34.313Z] 74f711af9a0d: Download complete [2020-09-08T23:11:34.313Z] 66aa3694b03b: Download complete [2020-09-08T23:11:34.597Z] 170f70906a0f: Verifying Checksum [2020-09-08T23:11:34.597Z] 170f70906a0f: Download complete [2020-09-08T23:11:34.597Z] b538f80385f9: Verifying Checksum [2020-09-08T23:11:34.597Z] b538f80385f9: Download complete [2020-09-08T23:11:35.197Z] b538f80385f9: Pull complete [2020-09-08T23:11:36.190Z] 74f711af9a0d: Pull complete [2020-09-08T23:11:36.190Z] 99f96fe45779: Pull complete [2020-09-08T23:11:37.643Z] ad7c5574e4b9: Verifying Checksum [2020-09-08T23:11:37.643Z] ad7c5574e4b9: Download complete [2020-09-08T23:11:37.643Z] c890913d741a: Verifying Checksum [2020-09-08T23:11:37.643Z] c890913d741a: Download complete [2020-09-08T23:11:39.644Z] e772456be8f7: Verifying Checksum [2020-09-08T23:11:39.644Z] 09adf4765672: Download complete [2020-09-08T23:11:39.644Z] 2480fcc9aa5a: Verifying Checksum [2020-09-08T23:11:39.644Z] 2480fcc9aa5a: Download complete [2020-09-08T23:11:39.921Z] fd7a069fd194: Verifying Checksum [2020-09-08T23:11:39.921Z] fd7a069fd194: Download complete [2020-09-08T23:11:52.311Z] fd7a069fd194: Pull complete [2020-09-08T23:11:52.311Z] 66aa3694b03b: Pull complete [2020-09-08T23:11:52.311Z] 170f70906a0f: Pull complete [2020-09-08T23:11:54.934Z] ad7c5574e4b9: Pull complete [2020-09-08T23:12:00.362Z] e772456be8f7: Pull complete [2020-09-08T23:12:00.362Z] c890913d741a: Pull complete [2020-09-08T23:12:02.355Z] 2480fcc9aa5a: Pull complete [2020-09-08T23:12:02.632Z] 09adf4765672: Pull complete [2020-09-08T23:12:02.632Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-08T23:12:02.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-08T23:12:02.632Z] ---> 2248a725d1cf [2020-09-08T23:12:02.632Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-08T23:12:06.942Z] ---> Running in 97926938ade2 [2020-09-08T23:12:07.213Z] Removing intermediate container 97926938ade2 [2020-09-08T23:12:07.213Z] ---> c27ba63fe891 [2020-09-08T23:12:07.213Z] Step 4/7 : RUN apk add bash [2020-09-08T23:12:07.490Z] ---> Running in d33428d07be7 [2020-09-08T23:12:08.928Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-08T23:12:09.907Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-08T23:12:10.891Z] OK: 142 MiB in 39 packages [2020-09-08T23:12:12.322Z] Removing intermediate container d33428d07be7 [2020-09-08T23:12:12.322Z] ---> d787f5224a66 [2020-09-08T23:12:12.322Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-09-08T23:12:12.322Z] ---> Running in 1d4cc623728d [2020-09-08T23:12:12.597Z] Removing intermediate container 1d4cc623728d [2020-09-08T23:12:12.597Z] ---> 5d3e5130ecb9 [2020-09-08T23:12:12.597Z] Step 6/7 : COPY go.mod . [2020-09-08T23:12:13.583Z] ---> 04f2562f5f46 [2020-09-08T23:12:13.583Z] Step 7/7 : RUN go mod download [2020-09-08T23:12:13.583Z] ---> Running in a7e612b74277 [2020-09-08T23:12:16.204Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-09-08T23:12:16.204Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-08T23:12:16.204Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-08T23:12:16.204Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-08T23:12:16.204Z] go: finding github.com/go-playground/assert/v2 v2.0.1 [2020-09-08T23:12:16.204Z] go: finding github.com/go-playground/locales v0.13.0 [2020-09-08T23:12:16.204Z] go: finding github.com/go-playground/universal-translator v0.17.0 [2020-09-08T23:12:16.204Z] go: finding github.com/go-playground/validator/v10 v10.3.0 [2020-09-08T23:12:16.204Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-08T23:12:16.204Z] go: finding github.com/google/uuid v1.1.0 [2020-09-08T23:12:16.204Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-08T23:12:16.204Z] go: finding github.com/leodido/go-urn v1.2.0 [2020-09-08T23:12:16.204Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-08T23:12:16.204Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-08T23:12:16.204Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-08T23:12:16.204Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-08T23:12:16.204Z] go: finding golang.org/x/text v0.3.2 [2020-09-08T23:12:16.204Z] go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e [2020-09-08T23:12:16.204Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-08T23:12:16.204Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-08T23:12:28.615Z] Removing intermediate container a7e612b74277 [2020-09-08T23:12:28.615Z] ---> cf63713e9888 [2020-09-08T23:12:28.615Z] Successfully built cf63713e9888 [2020-09-08T23:12:28.615Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-08T23:12:29.594Z] + docker inspect -f . ci-base-image-arm64 [2020-09-08T23:12:29.594Z] . [Pipeline] withDockerContainer [2020-09-08T23:12:29.889Z] prd-ubuntu18.04-docker-arm64-4c-16g-1869 does not seem to be running inside a container [2020-09-08T23:12:29.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-08T23:12:31.836Z] $ docker top d2ca57e899e081a8b4fe3d87825862fe9532d660ab6c02dc8af4919b8d2f391e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-08T23:12:33.301Z] + go version [2020-09-08T23:12:33.301Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-09-08T23:12:34.362Z] + make test [2020-09-08T23:12:34.362Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-08T23:12:56.545Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2020-09-08T23:12:57.149Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.069s coverage: 85.7% of statements [2020-09-08T23:12:57.149Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.086s coverage: 100.0% of statements [2020-09-08T23:12:59.789Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.048s coverage: 45.4% of statements [2020-09-08T23:12:59.789Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.083s coverage: 77.8% of statements [2020-09-08T23:12:59.789Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2020-09-08T23:12:59.789Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.016s coverage: 6.4% of statements [2020-09-08T23:13:01.788Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.055s coverage: 14.7% of statements [2020-09-08T23:13:01.788Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.059s coverage: 100.0% of statements [2020-09-08T23:13:04.419Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.122s coverage: 91.8% of statements [2020-09-08T23:13:04.419Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2020-09-08T23:13:04.419Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2020-09-08T23:13:04.419Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.045s coverage: 100.0% of statements [2020-09-08T23:13:09.835Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.095s coverage: 63.0% of statements [2020-09-08T23:13:09.835Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.034s coverage: 26.3% of statements [2020-09-08T23:13:09.835Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.012s coverage: 15.4% of statements [2020-09-08T23:13:09.835Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.025s coverage: 15.4% of statements [2020-09-08T23:13:09.835Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.019s coverage: 14.3% of statements [2020-09-08T23:13:09.835Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2020-09-08T23:13:10.818Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.044s coverage: 31.7% of statements [2020-09-08T23:13:10.818Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.051s coverage: 100.0% of statements [2020-09-08T23:13:12.802Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.061s coverage: 95.1% of statements [2020-09-08T23:13:12.802Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.025s coverage: 100.0% of statements [2020-09-08T23:13:12.802Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2020-09-08T23:13:13.073Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-08T23:13:16.462Z] gofmt -l . [2020-09-08T23:13:17.055Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-09-08T23:13:17.362Z] Warning: overwriting stash ‘coverage-report’ [2020-09-08T23:13:18.287Z] Stashed 1 file(s) [Pipeline] } [2020-09-08T23:13:18.310Z] $ docker stop --time=1 d2ca57e899e081a8b4fe3d87825862fe9532d660ab6c02dc8af4919b8d2f391e [2020-09-08T23:13:20.529Z] $ docker rm -f d2ca57e899e081a8b4fe3d87825862fe9532d660ab6c02dc8af4919b8d2f391e [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 [2020-09-08T23:13:23.962Z] provisioning config files... [2020-09-08T23:13:23.973Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-281@tmp/config6230768860976170326tmp [Pipeline] { [Pipeline] sh [2020-09-08T23:13:24.383Z] + curl -s https://codecov.io/bash [2020-09-08T23:13:24.383Z] + bash -s - -t @/w/workspace/dry_go-mod-core-contracts_PR-281@tmp/config6230768860976170326tmp [Pipeline] } [2020-09-08T23:13:24.665Z] 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 [2020-09-08T23:13:27.731Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-08T23:13:28.327Z] ---> package-listing.sh [2020-09-08T23:13:28.327Z] ++ facter osfamily [2020-09-08T23:13:28.327Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-08T23:13:28.327Z] + OS_FAMILY=redhat [2020-09-08T23:13:28.327Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-281 [2020-09-08T23:13:28.327Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-08T23:13:28.327Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-08T23:13:28.327Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-08T23:13:28.327Z] + PACKAGES=/tmp/packages_start.txt [2020-09-08T23:13:28.327Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-281 ']' [2020-09-08T23:13:28.327Z] + PACKAGES=/tmp/packages_end.txt [2020-09-08T23:13:28.327Z] + case "${OS_FAMILY}" in [2020-09-08T23:13:28.327Z] + rpm -qa [2020-09-08T23:13:28.327Z] + sort [2020-09-08T23:13:32.549Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-08T23:13:32.549Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-08T23:13:32.549Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-08T23:13:32.549Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-281 ']' [2020-09-08T23:13:32.549Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-281/archives/ [2020-09-08T23:13:32.549Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-281/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-08T23:13:33.686Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-08T23:13:33.687Z] [2020-09-08T23:13:33.687Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-08T23:13:34.124Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-08T23:13:34.124Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-08T23:13:34.124Z] df20fa9351a1: Pulling fs layer [2020-09-08T23:13:34.124Z] 36b3adc4ff6f: Pulling fs layer [2020-09-08T23:13:34.124Z] 8ad3a11d3b57: Pulling fs layer [2020-09-08T23:13:34.124Z] 46f8f816bc3b: Pulling fs layer [2020-09-08T23:13:34.124Z] 0dadc02b9964: Pulling fs layer [2020-09-08T23:13:34.124Z] ce6a7cf60c04: Pulling fs layer [2020-09-08T23:13:34.124Z] 7a184a31f384: Pulling fs layer [2020-09-08T23:13:34.124Z] 0879bd2ef858: Pulling fs layer [2020-09-08T23:13:34.124Z] 0dadc02b9964: Waiting [2020-09-08T23:13:34.124Z] ce6a7cf60c04: Waiting [2020-09-08T23:13:34.124Z] 7a184a31f384: Waiting [2020-09-08T23:13:34.124Z] 36b3adc4ff6f: Verifying Checksum [2020-09-08T23:13:34.124Z] 36b3adc4ff6f: Download complete [2020-09-08T23:13:34.124Z] 46f8f816bc3b: Verifying Checksum [2020-09-08T23:13:34.124Z] 46f8f816bc3b: Download complete [2020-09-08T23:13:34.124Z] df20fa9351a1: Verifying Checksum [2020-09-08T23:13:34.124Z] ce6a7cf60c04: Verifying Checksum [2020-09-08T23:13:34.124Z] ce6a7cf60c04: Download complete [2020-09-08T23:13:34.124Z] 7a184a31f384: Verifying Checksum [2020-09-08T23:13:34.124Z] 7a184a31f384: Download complete [2020-09-08T23:13:34.124Z] 0dadc02b9964: Verifying Checksum [2020-09-08T23:13:34.124Z] 0dadc02b9964: Download complete [2020-09-08T23:13:34.394Z] 8ad3a11d3b57: Verifying Checksum [2020-09-08T23:13:34.394Z] 8ad3a11d3b57: Download complete [2020-09-08T23:13:34.659Z] df20fa9351a1: Pull complete [2020-09-08T23:13:34.659Z] 36b3adc4ff6f: Pull complete [2020-09-08T23:13:34.659Z] 0879bd2ef858: Verifying Checksum [2020-09-08T23:13:34.659Z] 0879bd2ef858: Download complete [2020-09-08T23:13:35.235Z] 8ad3a11d3b57: Pull complete [2020-09-08T23:13:35.500Z] 46f8f816bc3b: Pull complete [2020-09-08T23:13:35.764Z] 0dadc02b9964: Pull complete [2020-09-08T23:13:35.764Z] ce6a7cf60c04: Pull complete [2020-09-08T23:13:36.024Z] 7a184a31f384: Pull complete [2020-09-08T23:13:38.609Z] 0879bd2ef858: Pull complete [2020-09-08T23:13:38.609Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-08T23:13:38.609Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-08T23:13:38.609Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-08T23:13:38.754Z] prd-centos7-docker-4c-2g-1867 does not seem to be running inside a container [2020-09-08T23:13:38.801Z] $ 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-281 -v /w/workspace/dry_go-mod-core-contracts_PR-281:/w/workspace/dry_go-mod-core-contracts_PR-281:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-281@tmp:/w/workspace/dry_go-mod-core-contracts_PR-281@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:10003/edgex-lftools-log-publisher:alpine cat [2020-09-08T23:13:44.934Z] $ docker top d01726882816174ca96bb7f81a078af8350fbb6df235f62127e3696dc32fc8ec -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-08T23:13:45.521Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-08T23:13:45.836Z] + ls /var/log/sa-host [2020-09-08T23:13:45.836Z] + sadf -c /var/log/sa-host/sa05 [2020-09-08T23:13:45.836Z] file_magic: OK [2020-09-08T23:13:45.836Z] HZ: Using current value: 100 [2020-09-08T23:13:45.836Z] file_header: OK [2020-09-08T23:13:45.836Z] 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 [2020-09-08T23:13:45.836Z] Statistics: [2020-09-08T23:13:45.836Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-08T23:13:45.836Z] File successfully converted to sysstat format version 12.2.1 [2020-09-08T23:13:45.836Z] + sadf -c /var/log/sa-host/sa08 [2020-09-08T23:13:45.836Z] file_magic: OK [2020-09-08T23:13:45.836Z] HZ: Using current value: 100 [2020-09-08T23:13:45.836Z] file_header: OK [2020-09-08T23:13:45.836Z] 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 [2020-09-08T23:13:45.836Z] Statistics: [2020-09-08T23:13:45.836Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-08T23:13:45.836Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-08T23:13:45.964Z] provisioning config files... [2020-09-08T23:13:45.978Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-281@tmp/config229964229381934359tmp [Pipeline] { [Pipeline] echo [2020-09-08T23:13:46.096Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-08T23:13:46.446Z] ---> create-netrc.sh [Pipeline] echo [2020-09-08T23:13:46.480Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-08T23:13:46.818Z] ---> logs-deploy.sh [2020-09-08T23:13:46.818Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-281/1 [2020-09-08T23:13:46.818Z] INFO: archiving workspace using pattern(s): [2020-09-08T23:13:48.207Z] Archives upload complete. [2020-09-08T23:13:48.207Z] INFO: archiving logs to Nexus