Pull request #414 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 FelixTing for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at fba1ce6aa098b1f473fd8face5a8d6a2c491cc25 rather than d0b5ae462fe35d948aaa385c3709069d7b5a4db9 Obtained Jenkinsfile from fba1ce6aa098b1f473fd8face5a8d6a2c491cc25 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-414/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-414/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Excluding src/test/ from checkout of git git@github.com:lfit/releng-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, 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18111’ is offline; ‘prd-centos7-docker-4c-2g-18113’ is offline; ‘prd-centos7-docker-4c-2g-18138’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18122’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18127’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18131’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18139 in /w/workspace/dry_go-mod-core-contracts_PR-414 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-414 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # 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/heads/*:refs/remotes/origin/* # 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 --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/414/head:refs/remotes/origin/PR-414 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit fba1ce6aa098b1f473fd8face5a8d6a2c491cc25 into PR head commit d0b5ae462fe35d948aaa385c3709069d7b5a4db9 Merge succeeded, producing d0b5ae462fe35d948aaa385c3709069d7b5a4db9 Checking out Revision d0b5ae462fe35d948aaa385c3709069d7b5a4db9 (PR-414) > git config core.sparsecheckout # timeout=10 > git checkout -f d0b5ae462fe35d948aaa385c3709069d7b5a4db9 # 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 fba1ce6aa098b1f473fd8face5a8d6a2c491cc25 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0b5ae462fe35d948aaa385c3709069d7b5a4db9 # timeout=10 Commit message: "feat(meta): Add DeviceServiceClient" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-04T06:25:51.657Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-04T06:25:51.991Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-04T06:25:52.175Z] ========================================================= [2021-01-04T06:25:52.175Z] EdgeX Global Pipelines Version Info [2021-01-04T06:25:52.175Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:25:54.151Z] ------------------- [2021-01-04T06:25:54.151Z] stable info: [2021-01-04T06:25:54.151Z] ------------------- [2021-01-04T06:25:54.151Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-04T06:25:54.151Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T06:25:54.151Z] Message: update stable to v1.0.173 [2021-01-04T06:25:54.725Z] ------------------- [2021-01-04T06:25:54.725Z] experimental info: [2021-01-04T06:25:54.725Z] ------------------- [2021-01-04T06:25:54.725Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-04T06:25:54.725Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T06:25:54.725Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-04T06:25:56.425Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-01-04T06:25:56.541Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-01-04T06:25:56.672Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-04T06:25:56.797Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-04T06:25:56.917Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-04T06:25:57.031Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-04T06:25:57.152Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-04T06:25:57.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-04T06:25:57.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-04T06:25:57.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-04T06:25:57.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-04T06:25:57.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-01-04T06:25:57.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-04T06:25:58.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-04T06:25:58.247Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T06:25:58.369Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T06:25:58.508Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T06:25:58.670Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T06:25:58.788Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo [2021-01-04T06:25:58.921Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-04T06:25:59.077Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-04T06:25:59.204Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-04T06:25:59.329Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-04T06:25:59.457Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-04T06:25:59.590Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-04T06:25:59.708Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-04T06:25:59.831Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-04T06:25:59.962Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-414 [Pipeline] echo [2021-01-04T06:26:00.102Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-414 [Pipeline] echo [2021-01-04T06:26:00.241Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-414 [Pipeline] echo [2021-01-04T06:26:00.370Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d0b5ae462fe35d948aaa385c3709069d7b5a4db9 [Pipeline] echo [2021-01-04T06:26:00.519Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d0b5ae4 [Pipeline] echo [2021-01-04T06:26:00.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T06:26:01.621Z] + git log --format=format:%s -1 d0b5ae462fe35d948aaa385c3709069d7b5a4db9 [Pipeline] echo [2021-01-04T06:26:01.718Z] GIT_COMMIT: d0b5ae462fe35d948aaa385c3709069d7b5a4db9, Commit Message: feat(meta): Add DeviceServiceClient [Pipeline] echo [2021-01-04T06:26:01.801Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:26:02.750Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T06:26:03.015Z] [2021-01-04T06:26:03.015Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:26:03.460Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T06:26:03.460Z] latest: Pulling from edgex-devops/git-semver [2021-01-04T06:26:03.460Z] 31603596830f: Pulling fs layer [2021-01-04T06:26:03.460Z] 2a8b12db71e7: Pulling fs layer [2021-01-04T06:26:03.460Z] 6ca5941a6612: Pulling fs layer [2021-01-04T06:26:03.460Z] ecc8261a40a4: Pulling fs layer [2021-01-04T06:26:03.460Z] ecc8261a40a4: Waiting [2021-01-04T06:26:03.460Z] 2a8b12db71e7: Verifying Checksum [2021-01-04T06:26:03.460Z] 2a8b12db71e7: Download complete [2021-01-04T06:26:03.739Z] 31603596830f: Download complete [2021-01-04T06:26:03.739Z] ecc8261a40a4: Verifying Checksum [2021-01-04T06:26:03.739Z] ecc8261a40a4: Download complete [2021-01-04T06:26:03.739Z] 6ca5941a6612: Verifying Checksum [2021-01-04T06:26:03.739Z] 6ca5941a6612: Download complete [2021-01-04T06:26:04.006Z] 31603596830f: Pull complete [2021-01-04T06:26:04.006Z] 2a8b12db71e7: Pull complete [2021-01-04T06:26:04.955Z] 6ca5941a6612: Pull complete [2021-01-04T06:26:05.218Z] ecc8261a40a4: Pull complete [2021-01-04T06:26:05.218Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-04T06:26:05.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T06:26:05.218Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-04T06:26:05.349Z] prd-centos7-docker-4c-2g-18139 does not seem to be running inside a container [2021-01-04T06:26:05.398Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-414 -v /w/workspace/dry_go-mod-core-contracts_PR-414:/w/workspace/dry_go-mod-core-contracts_PR-414:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-414@tmp:/w/workspace/dry_go-mod-core-contracts_PR-414@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-04T06:26:07.365Z] $ docker top 2fb51f9b06eb93859c69c66ce336d4fd890138048e25e1a432562edea56b559a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T06:26:07.791Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T06:26:07.791Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T06:26:08.004Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T06:26:08.008Z] $ docker exec 2fb51f9b06eb93859c69c66ce336d4fd890138048e25e1a432562edea56b559a ssh-agent [2021-01-04T06:26:08.185Z] SSH_AUTH_SOCK=/tmp/ssh-4KXh7Piwtodx/agent.12 [2021-01-04T06:26:08.185Z] SSH_AGENT_PID=18 [2021-01-04T06:26:08.196Z] Running ssh-add (command line suppressed) [2021-01-04T06:26:08.312Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-414@tmp/private_key_7066110304937663779.key (/w/workspace/dry_go-mod-core-contracts_PR-414@tmp/private_key_7066110304937663779.key) [2021-01-04T06:26:08.363Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T06:26:08.769Z] + git tag --points-at HEAD [Pipeline] } [2021-01-04T06:26:08.803Z] $ docker exec --env ******** --env ******** 2fb51f9b06eb93859c69c66ce336d4fd890138048e25e1a432562edea56b559a ssh-agent -k [2021-01-04T06:26:08.915Z] unset SSH_AUTH_SOCK; [2021-01-04T06:26:08.916Z] unset SSH_AGENT_PID; [2021-01-04T06:26:08.916Z] echo Agent pid 18 killed; [2021-01-04T06:26:08.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-04T06:26:09.186Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T06:26:09.186Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T06:26:09.365Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T06:26:09.369Z] $ docker exec 2fb51f9b06eb93859c69c66ce336d4fd890138048e25e1a432562edea56b559a ssh-agent [2021-01-04T06:26:09.558Z] SSH_AUTH_SOCK=/tmp/ssh-qa3J7hhazh9w/agent.47 [2021-01-04T06:26:09.558Z] SSH_AGENT_PID=52 [2021-01-04T06:26:09.565Z] Running ssh-add (command line suppressed) [2021-01-04T06:26:09.691Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-414@tmp/private_key_5289878433365410043.key (/w/workspace/dry_go-mod-core-contracts_PR-414@tmp/private_key_5289878433365410043.key) [2021-01-04T06:26:09.744Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T06:26:10.126Z] + git semver init [2021-01-04T06:26:10.127Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T06:26:10.127Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-414/.git [2021-01-04T06:26:10.127Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-414 [2021-01-04T06:26:10.127Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T06:26:10.127Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T06:26:10.127Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T06:26:10.127Z] # $SEMVER_BRANCH = PR-414 [2021-01-04T06:26:10.127Z] # $SEMVER_TEMP = /tmp/semver-008088591 [2021-01-04T06:26:10.127Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-01-04T06:26:10.704Z] # '/tmp/semver-008088591' -> '/w/workspace/dry_go-mod-core-contracts_PR-414/.semver' [2021-01-04T06:26:10.704Z] # -> Force: false [2021-01-04T06:26:10.704Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-414/.semver [Pipeline] } [2021-01-04T06:26:10.728Z] $ docker exec --env ******** --env ******** 2fb51f9b06eb93859c69c66ce336d4fd890138048e25e1a432562edea56b559a ssh-agent -k [2021-01-04T06:26:10.856Z] unset SSH_AUTH_SOCK; [2021-01-04T06:26:10.856Z] unset SSH_AGENT_PID; [2021-01-04T06:26:10.856Z] echo Agent pid 52 killed; [2021-01-04T06:26:10.916Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T06:26:11.534Z] + git semver [Pipeline] } [2021-01-04T06:26:11.572Z] $ docker stop --time=1 2fb51f9b06eb93859c69c66ce336d4fd890138048e25e1a432562edea56b559a [2021-01-04T06:26:13.370Z] $ docker rm -f 2fb51f9b06eb93859c69c66ce336d4fd890138048e25e1a432562edea56b559a [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T06:26:13.899Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-04T06:26:14.437Z] Stashed 1 file(s) [Pipeline] echo [2021-01-04T06:26:14.463Z] [edgeXSemver]: initialized semver on 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 [2021-01-04T06:26:30.347Z] Still waiting to schedule task [2021-01-04T06:26:30.347Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-04T06:26:30.372Z] Still waiting to schedule task [2021-01-04T06:26:30.373Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-04T06:28:27.470Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18141 in /w/workspace/dry_go-mod-core-contracts_PR-414 [Pipeline] { [Pipeline] ws [2021-01-04T06:28:27.563Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2021-01-04T06:28:32.673Z] using credential edgex-jenkins-ssh [2021-01-04T06:28:32.730Z] Cloning the remote Git repository [2021-01-04T06:28:32.810Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-04T06:28:32.924Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2021-01-04T06:28:32.990Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-04T06:28:32.991Z] > git --version # timeout=10 [2021-01-04T06:28:33.014Z] > git --version # 'git version 2.17.1' [2021-01-04T06:28:33.016Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:28:33.107Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T06:28:34.851Z] Merging remotes/origin/master commit fba1ce6aa098b1f473fd8face5a8d6a2c491cc25 into PR head commit d0b5ae462fe35d948aaa385c3709069d7b5a4db9 [2021-01-04T06:28:34.120Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-04T06:28:34.142Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T06:28:34.174Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-04T06:28:34.214Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-04T06:28:34.215Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:28:34.228Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/414/head:refs/remotes/origin/PR-414 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T06:28:34.877Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T06:28:34.947Z] > git checkout -f d0b5ae462fe35d948aaa385c3709069d7b5a4db9 # timeout=10 [2021-01-04T06:28:35.300Z] Merge succeeded, producing d0b5ae462fe35d948aaa385c3709069d7b5a4db9 [2021-01-04T06:28:35.300Z] Checking out Revision d0b5ae462fe35d948aaa385c3709069d7b5a4db9 (PR-414) [2021-01-04T06:28:35.166Z] > git remote # timeout=10 [2021-01-04T06:28:35.195Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T06:28:35.226Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:28:35.244Z] > git merge fba1ce6aa098b1f473fd8face5a8d6a2c491cc25 # timeout=10 [2021-01-04T06:28:35.282Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T06:28:35.312Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T06:28:35.327Z] > git checkout -f d0b5ae462fe35d948aaa385c3709069d7b5a4db9 # timeout=10 [2021-01-04T06:28:39.719Z] Commit message: "feat(meta): Add DeviceServiceClient" [2021-01-04T06:28:39.782Z] > git --version # timeout=10 [2021-01-04T06:28:39.792Z] > git --version # 'git version 2.17.1' [2021-01-04T06:28:39.808Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T06:28:41.743Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-04T06:28:42.153Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T06:28:42.516Z] + sudo service docker restart [2021-01-04T06:28:42.516Z] + true [Pipeline] unstash [Pipeline] echo [2021-01-04T06:28:45.526Z] ========================================================= [2021-01-04T06:28:45.527Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-04T06:28:45.527Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:28:45.982Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-04T06:28:46.974Z] Sending build context to Docker daemon 2.088MB [2021-01-04T06:28:46.974Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-04T06:28:46.974Z] Step 2/7 : FROM ${BASE} [2021-01-04T06:28:47.584Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-04T06:28:47.584Z] 5f621e34cdf4: Pulling fs layer [2021-01-04T06:28:47.584Z] a4357932f1b6: Pulling fs layer [2021-01-04T06:28:47.584Z] 18c013af1878: Pulling fs layer [2021-01-04T06:28:47.584Z] 00ac8860ef70: Pulling fs layer [2021-01-04T06:28:47.584Z] 63d7cb157983: Pulling fs layer [2021-01-04T06:28:47.584Z] b116817d02f9: Pulling fs layer [2021-01-04T06:28:47.584Z] 745a02a5169b: Pulling fs layer [2021-01-04T06:28:47.584Z] 00ac8860ef70: Waiting [2021-01-04T06:28:47.584Z] 63d7cb157983: Waiting [2021-01-04T06:28:47.584Z] b116817d02f9: Waiting [2021-01-04T06:28:47.584Z] 745a02a5169b: Waiting [2021-01-04T06:28:47.584Z] 18c013af1878: Verifying Checksum [2021-01-04T06:28:47.584Z] 18c013af1878: Download complete [2021-01-04T06:28:47.584Z] a4357932f1b6: Verifying Checksum [2021-01-04T06:28:47.584Z] 63d7cb157983: Download complete [2021-01-04T06:28:47.584Z] b116817d02f9: Download complete [2021-01-04T06:28:47.584Z] 5f621e34cdf4: Download complete [2021-01-04T06:28:48.184Z] 5f621e34cdf4: Pull complete [2021-01-04T06:28:48.797Z] a4357932f1b6: Pull complete [2021-01-04T06:28:49.397Z] 18c013af1878: Pull complete [2021-01-04T06:28:50.004Z] 745a02a5169b: Verifying Checksum [2021-01-04T06:28:50.004Z] 745a02a5169b: Download complete [2021-01-04T06:28:50.988Z] 00ac8860ef70: Verifying Checksum [2021-01-04T06:28:50.988Z] 00ac8860ef70: Download complete [2021-01-04T06:29:01.163Z] 00ac8860ef70: Pull complete [2021-01-04T06:29:01.444Z] 63d7cb157983: Pull complete [2021-01-04T06:29:01.726Z] b116817d02f9: Pull complete [2021-01-04T06:29:06.050Z] 745a02a5169b: Pull complete [2021-01-04T06:29:06.050Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-04T06:29:06.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-04T06:29:06.050Z] ---> b7e6874047d6 [2021-01-04T06:29:06.050Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-04T06:29:08.662Z] ---> Running in aed101e1e1cc [2021-01-04T06:29:09.267Z] Removing intermediate container aed101e1e1cc [2021-01-04T06:29:09.267Z] ---> 3b2dd5a58a5c [2021-01-04T06:29:09.267Z] Step 4/7 : RUN apk add bash [2021-01-04T06:29:09.267Z] ---> Running in da97c227031d [2021-01-04T06:29:10.741Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T06:29:11.720Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-04T06:29:12.709Z] OK: 142 MiB in 39 packages [2021-01-04T06:29:14.152Z] Removing intermediate container da97c227031d [2021-01-04T06:29:14.152Z] ---> 715dc63d5cbe [2021-01-04T06:29:14.152Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-04T06:29:14.152Z] ---> Running in 8606c34e5424 [2021-01-04T06:29:14.433Z] Removing intermediate container 8606c34e5424 [2021-01-04T06:29:14.433Z] ---> 22d3511e322d [2021-01-04T06:29:14.433Z] Step 6/7 : COPY go.mod . [2021-01-04T06:29:15.035Z] ---> 1f8d4e0e85a5 [2021-01-04T06:29:15.035Z] Step 7/7 : RUN go mod download [2021-01-04T06:29:15.316Z] ---> Running in 219d293a44a1 [2021-01-04T06:29:30.432Z] Removing intermediate container 219d293a44a1 [2021-01-04T06:29:30.432Z] ---> f593e1e13240 [2021-01-04T06:29:30.432Z] Successfully built f593e1e13240 [2021-01-04T06:29:30.432Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:29:30.812Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T06:29:30.812Z] . [Pipeline] withDockerContainer [2021-01-04T06:29:31.060Z] prd-ubuntu18.04-docker-arm64-4c-16g-18141 does not seem to be running inside a container [2021-01-04T06:29:31.145Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-04T06:29:32.490Z] $ docker top e12997f6590ca543bc49cc543b210d477ae1422d5fc205d443ec0634f86f8b40 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:29:33.590Z] + go version [2021-01-04T06:29:33.590Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-04T06:29:33.632Z] $ docker stop --time=1 e12997f6590ca543bc49cc543b210d477ae1422d5fc205d443ec0634f86f8b40 [2021-01-04T06:29:35.581Z] $ docker rm -f e12997f6590ca543bc49cc543b210d477ae1422d5fc205d443ec0634f86f8b40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:29:37.080Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T06:29:37.080Z] . [Pipeline] withDockerContainer [2021-01-04T06:29:37.375Z] prd-ubuntu18.04-docker-arm64-4c-16g-18141 does not seem to be running inside a container [2021-01-04T06:29:37.478Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-04T06:29:39.128Z] $ docker top ba4bba7f9047e970297d74e5ce0409098d7ee390c82a2f0f748ed36235b5caa4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:29:40.200Z] + make test [2021-01-04T06:29:40.200Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-04T06:29:43.161Z] Running on prd-centos7-docker-4c-2g-18143 in /w/workspace/dry_go-mod-core-contracts_PR-414 [Pipeline] { [Pipeline] ws [2021-01-04T06:29:43.255Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2021-01-04T06:29:49.929Z] using credential edgex-jenkins-ssh [2021-01-04T06:29:50.010Z] Cloning the remote Git repository [2021-01-04T06:29:50.060Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-04T06:29:50.133Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2021-01-04T06:29:50.219Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-04T06:29:50.220Z] > git --version # timeout=10 [2021-01-04T06:29:50.264Z] > git --version # 'git version 2.24.3' [2021-01-04T06:29:50.265Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:29:50.310Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T06:29:51.150Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-04T06:29:51.193Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T06:29:51.935Z] Merging remotes/origin/master commit fba1ce6aa098b1f473fd8face5a8d6a2c491cc25 into PR head commit d0b5ae462fe35d948aaa385c3709069d7b5a4db9 [2021-01-04T06:29:52.383Z] Merge succeeded, producing d0b5ae462fe35d948aaa385c3709069d7b5a4db9 [2021-01-04T06:29:52.383Z] Checking out Revision d0b5ae462fe35d948aaa385c3709069d7b5a4db9 (PR-414) [2021-01-04T06:29:51.258Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-01-04T06:29:51.339Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-01-04T06:29:51.340Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:29:51.348Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/414/head:refs/remotes/origin/PR-414 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T06:29:51.945Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T06:29:52.003Z] > git checkout -f d0b5ae462fe35d948aaa385c3709069d7b5a4db9 # timeout=10 [2021-01-04T06:29:52.149Z] > git remote # timeout=10 [2021-01-04T06:29:52.208Z] > git config --get remote.origin.url # timeout=10 [2021-01-04T06:29:52.255Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T06:29:52.263Z] > git merge fba1ce6aa098b1f473fd8face5a8d6a2c491cc25 # timeout=10 [2021-01-04T06:29:52.342Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-04T06:29:52.387Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T06:29:52.400Z] > git checkout -f d0b5ae462fe35d948aaa385c3709069d7b5a4db9 # timeout=10 [2021-01-04T06:29:56.830Z] Commit message: "feat(meta): Add DeviceServiceClient" [2021-01-04T06:29:56.861Z] > git --version # timeout=10 [2021-01-04T06:29:56.866Z] > git --version # 'git version 2.24.3' [2021-01-04T06:29:56.874Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T06:29:58.785Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-04T06:29:59.214Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T06:29:59.588Z] + sudo service docker restart [2021-01-04T06:29:59.588Z] + true [2021-01-04T06:29:59.588Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-04T06:30:02.142Z] ========================================================= [2021-01-04T06:30:02.142Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-04T06:30:02.142Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:30:02.447Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2021-01-04T06:30:02.447Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.038s coverage: 85.7% of statements [2021-01-04T06:30:02.447Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.034s coverage: 100.0% of statements [2021-01-04T06:30:02.691Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-04T06:30:03.355Z] Sending build context to Docker daemon 2.089MB [2021-01-04T06:30:03.355Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-01-04T06:30:03.355Z] Step 2/7 : FROM ${BASE} [2021-01-04T06:30:03.928Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.075s coverage: 45.4% of statements [2021-01-04T06:30:03.969Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-04T06:30:03.969Z] 188c0c94c7c5: Pulling fs layer [2021-01-04T06:30:03.969Z] 0ef7d3d256c8: Pulling fs layer [2021-01-04T06:30:03.969Z] de9db76c5a1d: Pulling fs layer [2021-01-04T06:30:03.969Z] bca2f99d35d6: Pulling fs layer [2021-01-04T06:30:03.969Z] 93359f2a8cfa: Pulling fs layer [2021-01-04T06:30:03.969Z] 7c6f9722023f: Pulling fs layer [2021-01-04T06:30:03.969Z] a35cf1a2eb13: Pulling fs layer [2021-01-04T06:30:03.969Z] bca2f99d35d6: Waiting [2021-01-04T06:30:03.969Z] 93359f2a8cfa: Waiting [2021-01-04T06:30:03.969Z] 7c6f9722023f: Waiting [2021-01-04T06:30:03.969Z] a35cf1a2eb13: Waiting [2021-01-04T06:30:03.969Z] de9db76c5a1d: Verifying Checksum [2021-01-04T06:30:03.969Z] de9db76c5a1d: Download complete [2021-01-04T06:30:03.969Z] 0ef7d3d256c8: Download complete [2021-01-04T06:30:03.969Z] 93359f2a8cfa: Verifying Checksum [2021-01-04T06:30:03.969Z] 93359f2a8cfa: Download complete [2021-01-04T06:30:03.969Z] 7c6f9722023f: Verifying Checksum [2021-01-04T06:30:03.969Z] 7c6f9722023f: Download complete [2021-01-04T06:30:04.447Z] 188c0c94c7c5: Verifying Checksum [2021-01-04T06:30:04.447Z] 188c0c94c7c5: Download complete [2021-01-04T06:30:04.528Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.030s coverage: 77.8% of statements [2021-01-04T06:30:04.528Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2021-01-04T06:30:04.758Z] 188c0c94c7c5: Pull complete [2021-01-04T06:30:05.041Z] 0ef7d3d256c8: Pull complete [2021-01-04T06:30:05.347Z] de9db76c5a1d: Pull complete [2021-01-04T06:30:05.981Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.030s coverage: 26.3% of statements [2021-01-04T06:30:07.421Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.052s coverage: 14.7% of statements [2021-01-04T06:30:07.421Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.013s coverage: 100.0% of statements [2021-01-04T06:30:08.018Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.072s coverage: 91.8% of statements [2021-01-04T06:30:08.018Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2021-01-04T06:30:08.018Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2021-01-04T06:30:08.018Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.035s coverage: 100.0% of statements [2021-01-04T06:30:08.297Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.025s coverage: 47.8% of statements [2021-01-04T06:30:09.757Z] a35cf1a2eb13: Verifying Checksum [2021-01-04T06:30:09.757Z] a35cf1a2eb13: Download complete [2021-01-04T06:30:09.757Z] bca2f99d35d6: Verifying Checksum [2021-01-04T06:30:09.757Z] bca2f99d35d6: Download complete [2021-01-04T06:30:13.747Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.151s coverage: 63.0% of statements [2021-01-04T06:30:13.747Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.032s coverage: 26.3% of statements [2021-01-04T06:30:13.747Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.011s coverage: 15.4% of statements [2021-01-04T06:30:13.747Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.040s coverage: 15.4% of statements [2021-01-04T06:30:13.747Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.014s coverage: 14.3% of statements [2021-01-04T06:30:13.747Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2021-01-04T06:30:15.760Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.120s coverage: 84.4% of statements [2021-01-04T06:30:15.760Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-01-04T06:30:15.760Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-04T06:30:15.760Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.048s coverage: 44.6% of statements [2021-01-04T06:30:15.760Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.058s coverage: 94.4% of statements [2021-01-04T06:30:17.226Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.126s coverage: 93.6% of statements [2021-01-04T06:30:17.226Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.025s coverage: 100.0% of statements [2021-01-04T06:30:17.226Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2021-01-04T06:30:17.501Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-04T06:30:20.140Z] bca2f99d35d6: Pull complete [2021-01-04T06:30:20.441Z] 93359f2a8cfa: Pull complete [2021-01-04T06:30:20.730Z] 7c6f9722023f: Pull complete [2021-01-04T06:30:22.948Z] gofmt -l . [2021-01-04T06:30:22.948Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-04T06:30:23.277Z] $ docker stop --time=1 ba4bba7f9047e970297d74e5ce0409098d7ee390c82a2f0f748ed36235b5caa4 [2021-01-04T06:30:25.549Z] $ docker rm -f ba4bba7f9047e970297d74e5ce0409098d7ee390c82a2f0f748ed36235b5caa4 [Pipeline] // withDockerContainer [2021-01-04T06:30:26.258Z] a35cf1a2eb13: Pull complete [2021-01-04T06:30:26.258Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-04T06:30:26.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-04T06:30:26.258Z] ---> a62c8e92a672 [2021-01-04T06:30:26.258Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [Pipeline] sh [2021-01-04T06:30:26.619Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-04T06:30:26.849Z] ---> Running in 8cfd0b765dd7 [2021-01-04T06:30:27.134Z] Removing intermediate container 8cfd0b765dd7 [2021-01-04T06:30:27.134Z] ---> 359cf9fbef47 [2021-01-04T06:30:27.134Z] Step 4/7 : RUN apk add bash [2021-01-04T06:30:27.134Z] ---> Running in 115774ab9687 [2021-01-04T06:30:27.870Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-01-04T06:30:28.177Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2021-01-04T06:30:29.143Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-04T06:30:29.785Z] OK: 166 MiB in 39 packages [2021-01-04T06:30:30.391Z] Removing intermediate container 115774ab9687 [2021-01-04T06:30:30.391Z] ---> 7e47a756161d [2021-01-04T06:30:30.391Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-01-04T06:30:30.391Z] ---> Running in 6b1691f01113 [2021-01-04T06:30:30.674Z] Removing intermediate container 6b1691f01113 [2021-01-04T06:30:30.674Z] ---> 7b7fb985864e [2021-01-04T06:30:30.674Z] Step 6/7 : COPY go.mod . [2021-01-04T06:30:31.270Z] ---> fa38edf10bf7 [2021-01-04T06:30:31.270Z] Step 7/7 : RUN go mod download [2021-01-04T06:30:31.270Z] ---> Running in 625a6801d9b1 [2021-01-04T06:30:46.494Z] Removing intermediate container 625a6801d9b1 [2021-01-04T06:30:46.494Z] ---> 7156002e2398 [2021-01-04T06:30:46.494Z] Successfully built 7156002e2398 [2021-01-04T06:30:46.494Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:30:46.879Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T06:30:46.879Z] . [Pipeline] withDockerContainer [2021-01-04T06:30:47.111Z] prd-centos7-docker-4c-2g-18143 does not seem to be running inside a container [2021-01-04T06:30:47.231Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-04T06:30:48.439Z] $ docker top dd4e134a6449bd8282dd5acb24602a6eddff4cdb8c9cbaf27d00138ca3d48f79 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:30:49.186Z] + go version [2021-01-04T06:30:49.186Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-04T06:30:49.236Z] $ docker stop --time=1 dd4e134a6449bd8282dd5acb24602a6eddff4cdb8c9cbaf27d00138ca3d48f79 [2021-01-04T06:30:50.797Z] $ docker rm -f dd4e134a6449bd8282dd5acb24602a6eddff4cdb8c9cbaf27d00138ca3d48f79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:30:52.177Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T06:30:52.177Z] . [Pipeline] withDockerContainer [2021-01-04T06:30:52.543Z] prd-centos7-docker-4c-2g-18143 does not seem to be running inside a container [2021-01-04T06:30:52.620Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-04T06:30:53.543Z] $ docker top 197c4325f8eec53a63dea6fa08cdb5d45649b2617a5e8b19d2b7b88185317b04 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:30:54.209Z] + make test [2021-01-04T06:30:54.209Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-04T06:31:06.913Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients [no test files] [2021-01-04T06:31:06.913Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/agent 0.052s coverage: 85.7% of statements [2021-01-04T06:31:06.913Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/command 0.062s coverage: 100.0% of statements [2021-01-04T06:31:06.913Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/coredata 0.043s coverage: 45.4% of statements [2021-01-04T06:31:07.524Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/general 0.019s coverage: 77.8% of statements [2021-01-04T06:31:07.524Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces [no test files] [2021-01-04T06:31:08.144Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/logger 0.017s coverage: 26.3% of statements [2021-01-04T06:31:09.162Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/metadata 0.038s coverage: 14.7% of statements [2021-01-04T06:31:09.162Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/notifications 0.011s coverage: 100.0% of statements [2021-01-04T06:31:09.162Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/scheduler 0.052s coverage: 91.8% of statements [2021-01-04T06:31:09.162Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/types [no test files] [2021-01-04T06:31:09.162Z] ? github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/errors [no test files] [2021-01-04T06:31:09.162Z] ok github.com/edgexfoundry/go-mod-core-contracts/clients/urlclient/local 0.007s coverage: 100.0% of statements [2021-01-04T06:31:09.776Z] ok github.com/edgexfoundry/go-mod-core-contracts/errors 0.024s coverage: 47.8% of statements [2021-01-04T06:31:12.517Z] ok github.com/edgexfoundry/go-mod-core-contracts/models 0.038s coverage: 63.0% of statements [2021-01-04T06:31:12.517Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/configuration 0.011s coverage: 26.3% of statements [2021-01-04T06:31:12.517Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin 0.013s coverage: 15.4% of statements [2021-01-04T06:31:12.517Z] ok github.com/edgexfoundry/go-mod-core-contracts/requests/states/operating 0.061s coverage: 15.4% of statements [2021-01-04T06:31:12.517Z] ok github.com/edgexfoundry/go-mod-core-contracts/responses/configuration 0.044s coverage: 14.3% of statements [2021-01-04T06:31:12.517Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2 [no test files] [2021-01-04T06:31:14.593Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.072s coverage: 84.4% of statements [2021-01-04T06:31:14.593Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-01-04T06:31:14.593Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-01-04T06:31:14.593Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.018s coverage: 44.6% of statements [2021-01-04T06:31:14.593Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.057s coverage: 94.4% of statements [2021-01-04T06:31:14.860Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.064s coverage: 93.6% of statements [2021-01-04T06:31:15.126Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.016s coverage: 100.0% of statements [2021-01-04T06:31:15.126Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/models [no test files] [2021-01-04T06:31:15.408Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-04T06:31:19.847Z] gofmt -l . [2021-01-04T06:31:19.847Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-01-04T06:31:19.884Z] $ docker stop --time=1 197c4325f8eec53a63dea6fa08cdb5d45649b2617a5e8b19d2b7b88185317b04 [2021-01-04T06:31:22.585Z] $ docker rm -f 197c4325f8eec53a63dea6fa08cdb5d45649b2617a5e8b19d2b7b88185317b04 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T06:31:23.326Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-04T06:31:23.363Z] Warning: overwriting stash ‘coverage-report’ [2021-01-04T06:31:23.900Z] Stashed 1 file(s) [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 [2021-01-04T06:31:26.780Z] provisioning config files... [2021-01-04T06:31:26.795Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-414@tmp/config7369871191865724360tmp [Pipeline] { [Pipeline] sh [2021-01-04T06:31:27.236Z] + set +x [2021-01-04T06:31:27.236Z] + curl -s https://codecov.io/bash [2021-01-04T06:31:27.236Z] + bash -s -- [2021-01-04T06:31:27.498Z] [2021-01-04T06:31:27.498Z] _____ _ [2021-01-04T06:31:27.498Z] / ____| | | [2021-01-04T06:31:27.498Z] | | ___ __| | ___ ___ _____ __ [2021-01-04T06:31:27.498Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-04T06:31:27.498Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-04T06:31:27.498Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-04T06:31:27.498Z] Bash-20201231-23d4836 [2021-01-04T06:31:27.498Z] [2021-01-04T06:31:27.498Z] [2021-01-04T06:31:27.498Z] ==> git version 2.24.3 found [2021-01-04T06:31:27.498Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-04T06:31:27.498Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-04T06:31:27.498Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-04T06:31:27.498Z] ==> Jenkins CI detected. [2021-01-04T06:31:27.498Z] project root: . [2021-01-04T06:31:27.498Z] --> token set from env [2021-01-04T06:31:27.498Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-04T06:31:27.498Z] ==> Running gcov in . (disable via -X gcov) [2021-01-04T06:31:27.498Z] ==> Python coveragepy not found [2021-01-04T06:31:27.498Z] ==> Searching for coverage reports in: [2021-01-04T06:31:27.498Z] + . [2021-01-04T06:31:27.498Z] -> Found 1 reports [2021-01-04T06:31:27.498Z] ==> Detecting git/mercurial file structure [2021-01-04T06:31:27.498Z] ==> Reading reports [2021-01-04T06:31:27.498Z] + ./coverage.out bytes=116621 [2021-01-04T06:31:27.498Z] ==> Appending adjustments [2021-01-04T06:31:27.498Z] https://docs.codecov.io/docs/fixing-reports [2021-01-04T06:31:28.448Z] + Found adjustments [2021-01-04T06:31:28.448Z] ==> Gzipping contents [2021-01-04T06:31:28.448Z] 20K /tmp/codecov.suV03Y.gz [2021-01-04T06:31:28.448Z] ==> Uploading reports [2021-01-04T06:31:28.448Z] url: https://codecov.io [2021-01-04T06:31:28.448Z] query: branch=PR-414&commit=d0b5ae462fe35d948aaa385c3709069d7b5a4db9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-414%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=414&job=&cmd_args= [2021-01-04T06:31:28.448Z] -> Pinging Codecov [2021-01-04T06:31:28.448Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-414&commit=d0b5ae462fe35d948aaa385c3709069d7b5a4db9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-414%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=414&job=&cmd_args= [2021-01-04T06:31:29.025Z] -> Uploading to [2021-01-04T06:31:29.025Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-04/71470A77251A30514AAF9C0BB2E5B6CE/d0b5ae462fe35d948aaa385c3709069d7b5a4db9/ea59e01a-aba5-4361-b4e1-83d5efe3247b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210104T063128Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2d970367708bf4b551abc73af63fef2ba2cb8085f51d3dde19af4a927430a605 [2021-01-04T06:31:29.025Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-04T06:31:29.025Z] Dload Upload Total Spent Left Speed [2021-01-04T06:31:29.602Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18686 0 0 100 18686 0 33044 --:--:-- --:--:-- --:--:-- 33072 [2021-01-04T06:31:29.602Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/d0b5ae462fe35d948aaa385c3709069d7b5a4db9 [Pipeline] } [2021-01-04T06:31:29.639Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" 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 [2021-01-04T06:31:33.275Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:31:33.908Z] ---> package-listing.sh [2021-01-04T06:31:33.909Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-04T06:31:33.909Z] ++ facter osfamily [2021-01-04T06:31:33.909Z] + OS_FAMILY=redhat [2021-01-04T06:31:33.909Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-414 [2021-01-04T06:31:33.909Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-04T06:31:33.909Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-04T06:31:33.909Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-04T06:31:33.909Z] + PACKAGES=/tmp/packages_start.txt [2021-01-04T06:31:33.909Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-414 ']' [2021-01-04T06:31:33.909Z] + PACKAGES=/tmp/packages_end.txt [2021-01-04T06:31:33.909Z] + case "${OS_FAMILY}" in [2021-01-04T06:31:33.909Z] + rpm -qa [2021-01-04T06:31:33.909Z] + sort [2021-01-04T06:31:39.247Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-04T06:31:39.247Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-04T06:31:39.247Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-04T06:31:39.247Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-414 ']' [2021-01-04T06:31:39.247Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-414/archives/ [2021-01-04T06:31:39.247Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-414/archives/ [Pipeline] echo [2021-01-04T06:31:39.293Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_go-mod-core-contracts_PR-414/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-04T06:31:39.614Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:31:39.980Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T06:31:39.980Z] [2021-01-04T06:31:39.980Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-04T06:31:40.398Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T06:31:40.398Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-04T06:31:40.398Z] df20fa9351a1: Pulling fs layer [2021-01-04T06:31:40.398Z] 36b3adc4ff6f: Pulling fs layer [2021-01-04T06:31:40.398Z] 8ad3a11d3b57: Pulling fs layer [2021-01-04T06:31:40.398Z] 46f8f816bc3b: Pulling fs layer [2021-01-04T06:31:40.398Z] 93b61091891f: Pulling fs layer [2021-01-04T06:31:40.398Z] 93b9cdb0e59b: Pulling fs layer [2021-01-04T06:31:40.398Z] 5e14af77c1be: Pulling fs layer [2021-01-04T06:31:40.398Z] 01666e4c0597: Pulling fs layer [2021-01-04T06:31:40.398Z] aa168da1d23b: Pulling fs layer [2021-01-04T06:31:40.398Z] 46f8f816bc3b: Waiting [2021-01-04T06:31:40.398Z] 93b61091891f: Waiting [2021-01-04T06:31:40.398Z] 01666e4c0597: Waiting [2021-01-04T06:31:40.398Z] aa168da1d23b: Waiting [2021-01-04T06:31:40.398Z] 5e14af77c1be: Waiting [2021-01-04T06:31:40.398Z] 36b3adc4ff6f: Download complete [2021-01-04T06:31:40.398Z] 46f8f816bc3b: Verifying Checksum [2021-01-04T06:31:40.398Z] 46f8f816bc3b: Download complete [2021-01-04T06:31:40.398Z] df20fa9351a1: Verifying Checksum [2021-01-04T06:31:40.398Z] df20fa9351a1: Download complete [2021-01-04T06:31:40.661Z] 93b9cdb0e59b: Download complete [2021-01-04T06:31:40.661Z] 5e14af77c1be: Verifying Checksum [2021-01-04T06:31:40.661Z] 5e14af77c1be: Download complete [2021-01-04T06:31:40.661Z] 01666e4c0597: Verifying Checksum [2021-01-04T06:31:40.661Z] 01666e4c0597: Download complete [2021-01-04T06:31:40.661Z] 93b61091891f: Verifying Checksum [2021-01-04T06:31:40.661Z] 93b61091891f: Download complete [2021-01-04T06:31:40.926Z] df20fa9351a1: Pull complete [2021-01-04T06:31:40.926Z] 36b3adc4ff6f: Pull complete [2021-01-04T06:31:40.926Z] 8ad3a11d3b57: Verifying Checksum [2021-01-04T06:31:40.926Z] 8ad3a11d3b57: Download complete [2021-01-04T06:31:41.885Z] 8ad3a11d3b57: Pull complete [2021-01-04T06:31:41.885Z] 46f8f816bc3b: Pull complete [2021-01-04T06:31:43.294Z] 93b61091891f: Pull complete [2021-01-04T06:31:43.557Z] aa168da1d23b: Verifying Checksum [2021-01-04T06:31:43.557Z] aa168da1d23b: Download complete [2021-01-04T06:31:43.557Z] 93b9cdb0e59b: Pull complete [2021-01-04T06:31:43.826Z] 5e14af77c1be: Pull complete [2021-01-04T06:31:44.094Z] 01666e4c0597: Pull complete [2021-01-04T06:31:52.303Z] aa168da1d23b: Pull complete [2021-01-04T06:31:52.303Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-04T06:31:52.303Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T06:31:52.303Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-04T06:31:52.555Z] prd-centos7-docker-4c-2g-18139 does not seem to be running inside a container [2021-01-04T06:31:52.606Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_go-mod-core-contracts_PR-414/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_go-mod-core-contracts_PR-414 -v /w/workspace/dry_go-mod-core-contracts_PR-414:/w/workspace/dry_go-mod-core-contracts_PR-414:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-414@tmp:/w/workspace/dry_go-mod-core-contracts_PR-414@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-04T06:31:55.748Z] $ docker top e28d4c2e0c29e8cf44fb1d783dfcc7c131f45fd56b73b567d4c8c789288bebc5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T06:31:56.367Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-04T06:31:56.700Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-04T06:31:57.022Z] + ls /var/log/sa-host [2021-01-04T06:31:57.022Z] + sadf -c /var/log/sa-host/sa04 [2021-01-04T06:31:57.022Z] file_magic: OK [2021-01-04T06:31:57.022Z] HZ: Using current value: 100 [2021-01-04T06:31:57.022Z] file_header: OK [2021-01-04T06:31:57.022Z] 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 [2021-01-04T06:31:57.022Z] Statistics: [2021-01-04T06:31:57.022Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-04T06:31:57.022Z] File successfully converted to sysstat format version 12.2.1 [2021-01-04T06:31:57.022Z] + sadf -c /var/log/sa-host/sa23 [2021-01-04T06:31:57.022Z] file_magic: OK [2021-01-04T06:31:57.022Z] HZ: Using current value: 100 [2021-01-04T06:31:57.022Z] file_header: OK [2021-01-04T06:31:57.022Z] 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 [2021-01-04T06:31:57.022Z] Statistics: [2021-01-04T06:31:57.022Z] Hnuu...uuuununununu... [2021-01-04T06:31:57.022Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-04T06:31:57.306Z] provisioning config files... [2021-01-04T06:31:57.322Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-414@tmp/config2316033064314816066tmp [Pipeline] { [Pipeline] echo [2021-01-04T06:31:57.447Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:31:57.786Z] ---> create-netrc.sh [Pipeline] } [2021-01-04T06:31:57.810Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-04T06:31:57.955Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:31:58.306Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-04T06:31:58.343Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:31:58.674Z] ---> sudo-logs.sh [2021-01-04T06:31:58.674Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-04T06:31:58.709Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:31:59.042Z] ---> job-cost.sh [2021-01-04T06:31:59.042Z] lf-activate-venv: SKIPPING [2021-01-04T06:31:59.042Z] INFO: No Stack... [2021-01-04T06:31:59.989Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-04T06:32:00.569Z] INFO: Archiving Costs [Pipeline] echo [2021-01-04T06:32:00.599Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T06:32:00.933Z] ---> logs-deploy.sh [2021-01-04T06:32:00.933Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-414/1 [2021-01-04T06:32:00.933Z] INFO: archiving workspace using pattern(s): [2021-01-04T06:32:02.866Z] Archives upload complete. [2021-01-04T06:32:02.866Z] INFO: archiving logs to Nexus