Pull request #492 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 weichou1229 for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch master at e77b08da5f936ea45b5dd243effb6146996f10bb rather than f534e8d8a43efc010a1ad60c5b2e03e8b4426d42 Obtained Jenkinsfile from e77b08da5f936ea45b5dd243effb6146996f10bb 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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-492/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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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-492/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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 69a7e166112f335804d9fea76440e5140e47f034 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:pre] ========================================================= [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: pre 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-25439 in /w/workspace/dry_go-mod-core-contracts_PR-492 [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-492 # 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/492/head:refs/remotes/origin/PR-492 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e77b08da5f936ea45b5dd243effb6146996f10bb into PR head commit f534e8d8a43efc010a1ad60c5b2e03e8b4426d42 Merge succeeded, producing f534e8d8a43efc010a1ad60c5b2e03e8b4426d42 Checking out Revision f534e8d8a43efc010a1ad60c5b2e03e8b4426d42 (PR-492) > git config core.sparsecheckout # timeout=10 > git checkout -f f534e8d8a43efc010a1ad60c5b2e03e8b4426d42 # 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 e77b08da5f936ea45b5dd243effb6146996f10bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f534e8d8a43efc010a1ad60c5b2e03e8b4426d42 # timeout=10 Commit message: "feat(V2): Add factory methods for DeviceRequest DTO" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-08T05:54:25.329Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-08T05:54:25.675Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-08T05:54:25.848Z] ========================================================= [2021-02-08T05:54:25.848Z] EdgeX Global Pipelines Version Info [2021-02-08T05:54:25.848Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-08T05:54:27.367Z] ------------------- [2021-02-08T05:54:27.367Z] stable info: [2021-02-08T05:54:27.367Z] ------------------- [2021-02-08T05:54:27.367Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-08T05:54:27.367Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-08T05:54:27.368Z] Message: update stable to v1.0.179 [2021-02-08T05:54:28.315Z] ------------------- [2021-02-08T05:54:28.315Z] experimental info: [2021-02-08T05:54:28.315Z] ------------------- [2021-02-08T05:54:28.315Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-08T05:54:28.315Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-08T05:54:28.315Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-08T05:54:28.714Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-02-08T05:54:28.851Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-02-08T05:54:29.005Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-08T05:54:29.134Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-08T05:54:29.261Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-08T05:54:29.403Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-08T05:54:29.531Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-08T05:54:29.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-08T05:54:29.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-08T05:54:29.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-08T05:54:30.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-08T05:54:30.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-core-contracts [Pipeline] echo [2021-02-08T05:54:30.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-08T05:54:30.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-08T05:54:30.652Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-02-08T05:54:30.789Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-08T05:54:30.953Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-08T05:54:31.098Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-08T05:54:31.225Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-08T05:54:31.355Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-08T05:54:31.481Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-02-08T05:54:31.607Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-02-08T05:54:31.738Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-08T05:54:31.882Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-08T05:54:32.020Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-02-08T05:54:32.200Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-08T05:54:32.337Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-08T05:54:32.473Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-492 [Pipeline] echo [2021-02-08T05:54:32.599Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-492 [Pipeline] echo [2021-02-08T05:54:32.732Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-492 [Pipeline] echo [2021-02-08T05:54:32.874Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f534e8d8a43efc010a1ad60c5b2e03e8b4426d42 [Pipeline] echo [2021-02-08T05:54:32.997Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f534e8d [Pipeline] echo [2021-02-08T05:54:33.123Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-08T05:54:34.049Z] + git log --format=format:%s -1 f534e8d8a43efc010a1ad60c5b2e03e8b4426d42 [Pipeline] echo [2021-02-08T05:54:34.134Z] GIT_COMMIT: f534e8d8a43efc010a1ad60c5b2e03e8b4426d42, Commit Message: feat(V2): Add factory methods for DeviceRequest DTO [Pipeline] echo [2021-02-08T05:54:34.209Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-08T05:54:35.500Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-08T05:54:35.764Z] [2021-02-08T05:54:35.764Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-08T05:54:36.158Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-08T05:54:36.158Z] latest: Pulling from edgex-devops/git-semver [2021-02-08T05:54:36.158Z] 31603596830f: Pulling fs layer [2021-02-08T05:54:36.158Z] 2a8b12db71e7: Pulling fs layer [2021-02-08T05:54:36.158Z] 6ca5941a6612: Pulling fs layer [2021-02-08T05:54:36.158Z] ecc8261a40a4: Pulling fs layer [2021-02-08T05:54:36.158Z] ecc8261a40a4: Waiting [2021-02-08T05:54:36.158Z] 2a8b12db71e7: Download complete [2021-02-08T05:54:36.437Z] 31603596830f: Download complete [2021-02-08T05:54:36.437Z] ecc8261a40a4: Verifying Checksum [2021-02-08T05:54:36.437Z] ecc8261a40a4: Download complete [2021-02-08T05:54:36.437Z] 6ca5941a6612: Verifying Checksum [2021-02-08T05:54:36.437Z] 6ca5941a6612: Download complete [2021-02-08T05:54:36.700Z] 31603596830f: Pull complete [2021-02-08T05:54:36.964Z] 2a8b12db71e7: Pull complete [2021-02-08T05:54:37.929Z] 6ca5941a6612: Pull complete [2021-02-08T05:54:38.193Z] ecc8261a40a4: Pull complete [2021-02-08T05:54:38.193Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-08T05:54:38.193Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-08T05:54:38.193Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-08T05:54:38.402Z] prd-centos7-docker-4c-2g-25439 does not seem to be running inside a container [2021-02-08T05:54:38.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-492 -v /w/workspace/dry_go-mod-core-contracts_PR-492:/w/workspace/dry_go-mod-core-contracts_PR-492:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-492@tmp:/w/workspace/dry_go-mod-core-contracts_PR-492@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-08T05:54:40.726Z] $ docker top 6e364814d146f280a1669e53fee7a7185d889d0cd793f041a5c37899cfeaa57a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-08T05:54:41.163Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-08T05:54:41.163Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-08T05:54:41.451Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-08T05:54:41.455Z] $ docker exec 6e364814d146f280a1669e53fee7a7185d889d0cd793f041a5c37899cfeaa57a ssh-agent [2021-02-08T05:54:41.632Z] SSH_AUTH_SOCK=/tmp/ssh-fabG8fwQzevT/agent.11 [2021-02-08T05:54:41.632Z] SSH_AGENT_PID=16 [2021-02-08T05:54:41.644Z] Running ssh-add (command line suppressed) [2021-02-08T05:54:41.787Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-492@tmp/private_key_1996356031001445711.key (/w/workspace/dry_go-mod-core-contracts_PR-492@tmp/private_key_1996356031001445711.key) [2021-02-08T05:54:41.846Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-08T05:54:42.238Z] + git tag --points-at HEAD [Pipeline] } [2021-02-08T05:54:42.269Z] $ docker exec --env ******** --env ******** 6e364814d146f280a1669e53fee7a7185d889d0cd793f041a5c37899cfeaa57a ssh-agent -k [2021-02-08T05:54:42.385Z] unset SSH_AUTH_SOCK; [2021-02-08T05:54:42.385Z] unset SSH_AGENT_PID; [2021-02-08T05:54:42.386Z] echo Agent pid 16 killed; [2021-02-08T05:54:42.433Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-08T05:54:42.656Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-08T05:54:42.656Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-08T05:54:42.833Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-08T05:54:42.836Z] $ docker exec 6e364814d146f280a1669e53fee7a7185d889d0cd793f041a5c37899cfeaa57a ssh-agent [2021-02-08T05:54:43.014Z] SSH_AUTH_SOCK=/tmp/ssh-EGIyOupnP8cM/agent.44 [2021-02-08T05:54:43.014Z] SSH_AGENT_PID=49 [2021-02-08T05:54:43.021Z] Running ssh-add (command line suppressed) [2021-02-08T05:54:43.148Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-492@tmp/private_key_8501457596030834928.key (/w/workspace/dry_go-mod-core-contracts_PR-492@tmp/private_key_8501457596030834928.key) [2021-02-08T05:54:43.209Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-08T05:54:43.618Z] + git semver init [2021-02-08T05:54:43.619Z] # -> Open(): unable to determine branch for HEAD [2021-02-08T05:54:43.619Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-492/.git [2021-02-08T05:54:43.619Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-492 [2021-02-08T05:54:43.619Z] # $SEMVER_REMOTE_NAME = origin [2021-02-08T05:54:43.619Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-08T05:54:43.619Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-08T05:54:43.619Z] # $SEMVER_BRANCH = PR-492 [2021-02-08T05:54:43.619Z] # $SEMVER_TEMP = /tmp/semver-373313244 [2021-02-08T05:54:43.619Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-02-08T05:54:44.198Z] # '/tmp/semver-373313244' -> '/w/workspace/dry_go-mod-core-contracts_PR-492/.semver' [2021-02-08T05:54:44.198Z] # -> Force: false [2021-02-08T05:54:44.467Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-492/.semver [Pipeline] } [2021-02-08T05:54:44.504Z] $ docker exec --env ******** --env ******** 6e364814d146f280a1669e53fee7a7185d889d0cd793f041a5c37899cfeaa57a ssh-agent -k [2021-02-08T05:54:44.620Z] unset SSH_AUTH_SOCK; [2021-02-08T05:54:44.625Z] unset SSH_AGENT_PID; [2021-02-08T05:54:44.626Z] echo Agent pid 49 killed; [2021-02-08T05:54:44.673Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-08T05:54:45.278Z] + git semver [Pipeline] } [2021-02-08T05:54:45.311Z] $ docker stop --time=1 6e364814d146f280a1669e53fee7a7185d889d0cd793f041a5c37899cfeaa57a [2021-02-08T05:54:47.237Z] $ docker rm -f 6e364814d146f280a1669e53fee7a7185d889d0cd793f041a5c37899cfeaa57a [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-08T05:54:47.796Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-08T05:54:48.249Z] Stashed 1 file(s) [Pipeline] echo [2021-02-08T05:54:48.270Z] [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-02-08T05:55:04.174Z] Still waiting to schedule task [2021-02-08T05:55:04.174Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-25439’ [2021-02-08T05:55:04.202Z] Still waiting to schedule task [2021-02-08T05:55:04.202Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-02-08T05:56:47.921Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-25440 in /w/workspace/dry_go-mod-core-contracts_PR-492 [Pipeline] { [Pipeline] ws [2021-02-08T05:56:48.077Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2021-02-08T05:56:52.800Z] using credential edgex-jenkins-ssh [2021-02-08T05:56:52.861Z] Cloning the remote Git repository [2021-02-08T05:56:52.914Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-08T05:56:53.023Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2021-02-08T05:56:53.083Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-08T05:56:53.084Z] > git --version # timeout=10 [2021-02-08T05:56:53.100Z] > git --version # 'git version 2.17.1' [2021-02-08T05:56:53.101Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T05:56:53.175Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-08T05:56:54.232Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-02-08T05:56:54.252Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-08T05:56:54.276Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-02-08T05:56:54.307Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-08T05:56:54.308Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T05:56:54.319Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/492/head:refs/remotes/origin/PR-492 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-08T05:56:54.963Z] Merging remotes/origin/master commit e77b08da5f936ea45b5dd243effb6146996f10bb into PR head commit f534e8d8a43efc010a1ad60c5b2e03e8b4426d42 [2021-02-08T05:56:55.213Z] Merge succeeded, producing f534e8d8a43efc010a1ad60c5b2e03e8b4426d42 [2021-02-08T05:56:55.213Z] Checking out Revision f534e8d8a43efc010a1ad60c5b2e03e8b4426d42 (PR-492) [2021-02-08T05:56:54.984Z] > git config core.sparsecheckout # timeout=10 [2021-02-08T05:56:54.998Z] > git checkout -f f534e8d8a43efc010a1ad60c5b2e03e8b4426d42 # timeout=10 [2021-02-08T05:56:55.136Z] > git remote # timeout=10 [2021-02-08T05:56:55.153Z] > git config --get remote.origin.url # timeout=10 [2021-02-08T05:56:55.168Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T05:56:55.179Z] > git merge e77b08da5f936ea45b5dd243effb6146996f10bb # timeout=10 [2021-02-08T05:56:55.201Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-08T05:56:55.221Z] > git config core.sparsecheckout # timeout=10 [2021-02-08T05:56:55.237Z] > git checkout -f f534e8d8a43efc010a1ad60c5b2e03e8b4426d42 # timeout=10 [2021-02-08T05:56:59.639Z] Commit message: "feat(V2): Add factory methods for DeviceRequest DTO" [2021-02-08T05:56:59.691Z] > git --version # timeout=10 [2021-02-08T05:56:59.701Z] > git --version # 'git version 2.17.1' [2021-02-08T05:56:59.711Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-08T05:57:01.566Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-08T05:57:02.053Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-08T05:57:02.427Z] + true [2021-02-08T05:57:02.427Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-02-08T05:57:04.686Z] ========================================================= [2021-02-08T05:57:04.686Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-08T05:57:04.686Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-08T05:57:05.111Z] + 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-02-08T05:57:06.096Z] Sending build context to Docker daemon 2.572MB [2021-02-08T05:57:06.096Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-02-08T05:57:06.096Z] Step 2/7 : FROM ${BASE} [2021-02-08T05:57:06.372Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-08T05:57:06.372Z] 5f621e34cdf4: Pulling fs layer [2021-02-08T05:57:06.372Z] a4357932f1b6: Pulling fs layer [2021-02-08T05:57:06.372Z] 18c013af1878: Pulling fs layer [2021-02-08T05:57:06.372Z] 00ac8860ef70: Pulling fs layer [2021-02-08T05:57:06.372Z] 63d7cb157983: Pulling fs layer [2021-02-08T05:57:06.372Z] b116817d02f9: Pulling fs layer [2021-02-08T05:57:06.372Z] 745a02a5169b: Pulling fs layer [2021-02-08T05:57:06.372Z] 63d7cb157983: Waiting [2021-02-08T05:57:06.372Z] b116817d02f9: Waiting [2021-02-08T05:57:06.372Z] 745a02a5169b: Waiting [2021-02-08T05:57:06.372Z] 00ac8860ef70: Waiting [2021-02-08T05:57:06.372Z] 18c013af1878: Download complete [2021-02-08T05:57:06.372Z] a4357932f1b6: Verifying Checksum [2021-02-08T05:57:06.372Z] a4357932f1b6: Download complete [2021-02-08T05:57:06.646Z] 63d7cb157983: Verifying Checksum [2021-02-08T05:57:06.646Z] 63d7cb157983: Download complete [2021-02-08T05:57:07.243Z] 5f621e34cdf4: Verifying Checksum [2021-02-08T05:57:07.243Z] 5f621e34cdf4: Download complete [2021-02-08T05:57:07.518Z] b116817d02f9: Verifying Checksum [2021-02-08T05:57:07.518Z] b116817d02f9: Download complete [2021-02-08T05:57:07.797Z] 5f621e34cdf4: Pull complete [2021-02-08T05:57:08.401Z] a4357932f1b6: Pull complete [2021-02-08T05:57:09.006Z] 18c013af1878: Pull complete [2021-02-08T05:57:09.281Z] 745a02a5169b: Download complete [2021-02-08T05:57:10.711Z] 00ac8860ef70: Verifying Checksum [2021-02-08T05:57:10.712Z] 00ac8860ef70: Download complete [2021-02-08T05:57:20.895Z] 00ac8860ef70: Pull complete [2021-02-08T05:57:20.895Z] 63d7cb157983: Pull complete [2021-02-08T05:57:20.895Z] b116817d02f9: Pull complete [2021-02-08T05:57:24.346Z] 745a02a5169b: Pull complete [2021-02-08T05:57:24.640Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-08T05:57:24.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-08T05:57:24.640Z] ---> b7e6874047d6 [2021-02-08T05:57:24.640Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-08T05:57:27.310Z] ---> Running in aae34c9fa96b [2021-02-08T05:57:27.591Z] Removing intermediate container aae34c9fa96b [2021-02-08T05:57:27.591Z] ---> 2238a1391bc9 [2021-02-08T05:57:27.591Z] Step 4/7 : RUN apk add bash [2021-02-08T05:57:27.889Z] ---> Running in de54b2b7557b [2021-02-08T05:57:29.377Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-08T05:57:29.981Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-08T05:57:31.005Z] OK: 142 MiB in 39 packages [2021-02-08T05:57:31.989Z] Removing intermediate container de54b2b7557b [2021-02-08T05:57:31.989Z] ---> 1d0e26608e62 [2021-02-08T05:57:31.989Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-02-08T05:57:31.989Z] ---> Running in 0229bf6c072f [2021-02-08T05:57:32.590Z] Removing intermediate container 0229bf6c072f [2021-02-08T05:57:32.590Z] ---> e673845ac6a8 [2021-02-08T05:57:32.590Z] Step 6/7 : COPY go.mod . [2021-02-08T05:57:33.188Z] ---> 9d4fcc0e049e [2021-02-08T05:57:33.188Z] Step 7/7 : RUN go mod download [2021-02-08T05:57:33.465Z] ---> Running in d765c90a0d02 [2021-02-08T05:57:36.778Z] Running on prd-centos7-docker-4c-2g-25441 in /w/workspace/dry_go-mod-core-contracts_PR-492 [Pipeline] { [Pipeline] ws [2021-02-08T05:57:36.876Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2021-02-08T05:57:39.218Z] using credential edgex-jenkins-ssh [2021-02-08T05:57:39.273Z] Cloning the remote Git repository [2021-02-08T05:57:39.302Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-08T05:57:39.385Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2021-02-08T05:57:39.445Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-08T05:57:39.445Z] > git --version # timeout=10 [2021-02-08T05:57:39.452Z] > git --version # 'git version 2.24.3' [2021-02-08T05:57:39.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T05:57:39.489Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-08T05:57:40.133Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-02-08T05:57:40.142Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-08T05:57:40.153Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-02-08T05:57:40.167Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-02-08T05:57:40.167Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T05:57:40.173Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/492/head:refs/remotes/origin/PR-492 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-08T05:57:40.685Z] Merging remotes/origin/master commit e77b08da5f936ea45b5dd243effb6146996f10bb into PR head commit f534e8d8a43efc010a1ad60c5b2e03e8b4426d42 [2021-02-08T05:57:40.810Z] Merge succeeded, producing f534e8d8a43efc010a1ad60c5b2e03e8b4426d42 [2021-02-08T05:57:40.811Z] Checking out Revision f534e8d8a43efc010a1ad60c5b2e03e8b4426d42 (PR-492) [2021-02-08T05:57:40.693Z] > git config core.sparsecheckout # timeout=10 [2021-02-08T05:57:40.700Z] > git checkout -f f534e8d8a43efc010a1ad60c5b2e03e8b4426d42 # timeout=10 [2021-02-08T05:57:40.770Z] > git remote # timeout=10 [2021-02-08T05:57:40.776Z] > git config --get remote.origin.url # timeout=10 [2021-02-08T05:57:40.784Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T05:57:40.788Z] > git merge e77b08da5f936ea45b5dd243effb6146996f10bb # timeout=10 [2021-02-08T05:57:40.798Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-08T05:57:40.813Z] > git config core.sparsecheckout # timeout=10 [2021-02-08T05:57:40.819Z] > git checkout -f f534e8d8a43efc010a1ad60c5b2e03e8b4426d42 # timeout=10 [2021-02-08T05:57:44.515Z] Commit message: "feat(V2): Add factory methods for DeviceRequest DTO" [2021-02-08T05:57:44.562Z] > git --version # timeout=10 [2021-02-08T05:57:44.572Z] > git --version # 'git version 2.24.3' [2021-02-08T05:57:44.595Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-08T05:57:46.143Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-08T05:57:46.496Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-08T05:57:46.822Z] + sudo service docker restart [2021-02-08T05:57:46.823Z] + true [2021-02-08T05:57:46.823Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-02-08T05:57:48.463Z] ========================================================= [2021-02-08T05:57:48.463Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-08T05:57:48.463Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-08T05:57:48.581Z] Removing intermediate container d765c90a0d02 [2021-02-08T05:57:48.581Z] ---> 993602b2b194 [2021-02-08T05:57:48.581Z] Successfully built 993602b2b194 [2021-02-08T05:57:48.581Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-08T05:57:48.855Z] + 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-02-08T05:57:49.033Z] + docker inspect -f . ci-base-image-arm64 [2021-02-08T05:57:49.033Z] . [Pipeline] withDockerContainer [2021-02-08T05:57:49.326Z] prd-ubuntu18.04-docker-arm64-4c-16g-25440 does not seem to be running inside a container [2021-02-08T05:57:49.409Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-02-08T05:57:49.434Z] Sending build context to Docker daemon 2.572MB [2021-02-08T05:57:49.434Z] Step 1/7 : ARG BASE=golang:1.15-alpine [2021-02-08T05:57:49.434Z] Step 2/7 : FROM ${BASE} [2021-02-08T05:57:49.434Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-08T05:57:49.434Z] 188c0c94c7c5: Pulling fs layer [2021-02-08T05:57:49.434Z] 0ef7d3d256c8: Pulling fs layer [2021-02-08T05:57:49.434Z] de9db76c5a1d: Pulling fs layer [2021-02-08T05:57:49.434Z] bca2f99d35d6: Pulling fs layer [2021-02-08T05:57:49.434Z] 93359f2a8cfa: Pulling fs layer [2021-02-08T05:57:49.435Z] 7c6f9722023f: Pulling fs layer [2021-02-08T05:57:49.435Z] a35cf1a2eb13: Pulling fs layer [2021-02-08T05:57:49.435Z] 7c6f9722023f: Waiting [2021-02-08T05:57:49.435Z] 93359f2a8cfa: Waiting [2021-02-08T05:57:49.435Z] a35cf1a2eb13: Waiting [2021-02-08T05:57:49.435Z] bca2f99d35d6: Waiting [2021-02-08T05:57:49.435Z] de9db76c5a1d: Verifying Checksum [2021-02-08T05:57:49.435Z] de9db76c5a1d: Download complete [2021-02-08T05:57:49.435Z] 0ef7d3d256c8: Download complete [2021-02-08T05:57:49.705Z] 93359f2a8cfa: Verifying Checksum [2021-02-08T05:57:49.705Z] 93359f2a8cfa: Download complete [2021-02-08T05:57:49.705Z] 7c6f9722023f: Verifying Checksum [2021-02-08T05:57:49.705Z] 7c6f9722023f: Download complete [2021-02-08T05:57:49.705Z] 188c0c94c7c5: Verifying Checksum [2021-02-08T05:57:49.705Z] 188c0c94c7c5: Download complete [2021-02-08T05:57:49.968Z] 188c0c94c7c5: Pull complete [2021-02-08T05:57:50.235Z] 0ef7d3d256c8: Pull complete [2021-02-08T05:57:50.235Z] de9db76c5a1d: Pull complete [2021-02-08T05:57:50.951Z] $ docker top 372c168316faedf83433b71f528f24fd880fdcfff19ffcf6d8c2f878cae14837 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-08T05:57:51.634Z] a35cf1a2eb13: Verifying Checksum [2021-02-08T05:57:51.634Z] a35cf1a2eb13: Download complete [2021-02-08T05:57:52.168Z] + go version [2021-02-08T05:57:52.168Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-08T05:57:52.210Z] $ docker stop --time=1 372c168316faedf83433b71f528f24fd880fdcfff19ffcf6d8c2f878cae14837 [2021-02-08T05:57:52.209Z] bca2f99d35d6: Verifying Checksum [2021-02-08T05:57:52.209Z] bca2f99d35d6: Download complete [2021-02-08T05:57:54.176Z] $ docker rm -f 372c168316faedf83433b71f528f24fd880fdcfff19ffcf6d8c2f878cae14837 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-08T05:57:55.429Z] + docker inspect -f . ci-base-image-arm64 [2021-02-08T05:57:55.429Z] . [Pipeline] withDockerContainer [2021-02-08T05:57:55.840Z] prd-ubuntu18.04-docker-arm64-4c-16g-25440 does not seem to be running inside a container [2021-02-08T05:57:55.919Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-02-08T05:57:57.463Z] $ docker top b0be14eac4d5d429dc6b1a54ccec39422afd522b674f92096c3526ca972edd96 -eo pid,comm [2021-02-08T05:57:57.537Z] bca2f99d35d6: Pull complete [2021-02-08T05:57:57.537Z] 93359f2a8cfa: Pull complete [2021-02-08T05:57:57.537Z] 7c6f9722023f: Pull complete [Pipeline] { [Pipeline] sh [2021-02-08T05:57:58.545Z] + make test [2021-02-08T05:57:58.545Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-08T05:58:07.609Z] a35cf1a2eb13: Pull complete [2021-02-08T05:58:07.610Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-08T05:58:07.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-08T05:58:07.610Z] ---> a62c8e92a672 [2021-02-08T05:58:07.610Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-08T05:58:07.610Z] ---> Running in 1627b4713f98 [2021-02-08T05:58:07.610Z] Removing intermediate container 1627b4713f98 [2021-02-08T05:58:07.610Z] ---> da214e367d2b [2021-02-08T05:58:07.610Z] Step 4/7 : RUN apk add bash [2021-02-08T05:58:07.610Z] ---> Running in 077c6c3db7e4 [2021-02-08T05:58:07.610Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-08T05:58:08.189Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-08T05:58:08.452Z] OK: 166 MiB in 39 packages [2021-02-08T05:58:09.037Z] Removing intermediate container 077c6c3db7e4 [2021-02-08T05:58:09.037Z] ---> d1f369f4808c [2021-02-08T05:58:09.037Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-02-08T05:58:09.303Z] ---> Running in 77a6b1577a9e [2021-02-08T05:58:09.574Z] Removing intermediate container 77a6b1577a9e [2021-02-08T05:58:09.574Z] ---> b78e05cf7325 [2021-02-08T05:58:09.574Z] Step 6/7 : COPY go.mod . [2021-02-08T05:58:09.845Z] ---> 6cbfb79c1362 [2021-02-08T05:58:09.845Z] Step 7/7 : RUN go mod download [2021-02-08T05:58:09.845Z] ---> Running in a892e8ec2f85 [2021-02-08T05:58:20.733Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-02-08T05:58:22.130Z] Removing intermediate container a892e8ec2f85 [2021-02-08T05:58:22.130Z] ---> 1ce13f4f1875 [2021-02-08T05:58:22.130Z] Successfully built 1ce13f4f1875 [2021-02-08T05:58:22.130Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-08T05:58:22.181Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.026s coverage: 85.7% of statements [2021-02-08T05:58:22.181Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.025s coverage: 100.0% of statements [2021-02-08T05:58:22.506Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-08T05:58:22.506Z] . [Pipeline] withDockerContainer [2021-02-08T05:58:22.654Z] prd-centos7-docker-4c-2g-25441 does not seem to be running inside a container [2021-02-08T05:58:22.703Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-02-08T05:58:23.224Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.079s coverage: 45.4% of statements [2021-02-08T05:58:23.498Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.036s coverage: 77.8% of statements [2021-02-08T05:58:23.498Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-02-08T05:58:23.554Z] $ docker top 93a7eba5543cfeca5cb43e34bdbef5570643a340c9663adaca66c9423041f5fc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-08T05:58:24.189Z] + go version [2021-02-08T05:58:24.190Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-08T05:58:24.224Z] $ docker stop --time=1 93a7eba5543cfeca5cb43e34bdbef5570643a340c9663adaca66c9423041f5fc [2021-02-08T05:58:25.487Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.026s coverage: 26.3% of statements [2021-02-08T05:58:25.607Z] $ docker rm -f 93a7eba5543cfeca5cb43e34bdbef5570643a340c9663adaca66c9423041f5fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-08T05:58:26.481Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.074s coverage: 14.7% of statements [2021-02-08T05:58:26.482Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.020s coverage: 100.0% of statements [2021-02-08T05:58:26.734Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-08T05:58:26.734Z] . [Pipeline] withDockerContainer [2021-02-08T05:58:26.858Z] prd-centos7-docker-4c-2g-25441 does not seem to be running inside a container [2021-02-08T05:58:26.911Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-02-08T05:58:27.526Z] $ docker top 811ce533afad23fd9e636cf4252fa1e1b5fbc3551b421638c0063a0632317189 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-08T05:58:28.066Z] + make test [2021-02-08T05:58:28.066Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-08T05:58:28.472Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.099s coverage: 91.8% of statements [2021-02-08T05:58:28.472Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-02-08T05:58:28.472Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-02-08T05:58:28.472Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.018s coverage: 100.0% of statements [2021-02-08T05:58:28.472Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.038s coverage: 36.7% of statements [2021-02-08T05:58:33.908Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.113s coverage: 63.0% of statements [2021-02-08T05:58:33.908Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.031s coverage: 26.3% of statements [2021-02-08T05:58:33.908Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.055s coverage: 15.4% of statements [2021-02-08T05:58:33.908Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.056s coverage: 15.4% of statements [2021-02-08T05:58:33.908Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.008s coverage: 14.3% of statements [2021-02-08T05:58:33.908Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-02-08T05:58:34.763Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-02-08T05:58:35.746Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/agent 0.039s coverage: 85.7% of statements [2021-02-08T05:58:35.746Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/command 0.014s coverage: 100.0% of statements [2021-02-08T05:58:35.746Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/coredata 0.045s coverage: 45.4% of statements [2021-02-08T05:58:36.042Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/general 0.026s coverage: 77.8% of statements [2021-02-08T05:58:36.042Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-02-08T05:58:36.638Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.006s coverage: 26.3% of statements [2021-02-08T05:58:37.243Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/metadata 0.022s coverage: 14.7% of statements [2021-02-08T05:58:37.243Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/notifications 0.022s coverage: 100.0% of statements [2021-02-08T05:58:37.337Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.284s coverage: 84.6% of statements [2021-02-08T05:58:37.337Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-02-08T05:58:37.337Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-02-08T05:58:37.337Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] [2021-02-08T05:58:37.337Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.078s coverage: 51.0% of statements [2021-02-08T05:58:37.516Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/scheduler 0.026s coverage: 91.8% of statements [2021-02-08T05:58:37.516Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/types [no test files] [2021-02-08T05:58:37.516Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/errors [no test files] [2021-02-08T05:58:37.516Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/urlclient/local 0.014s coverage: 100.0% of statements [2021-02-08T05:58:37.792Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.007s coverage: 36.7% of statements [2021-02-08T05:58:38.345Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.073s coverage: 94.7% of statements [2021-02-08T05:58:38.941Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.144s coverage: 88.9% of statements [2021-02-08T05:58:39.210Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.023s coverage: 100.0% of statements [2021-02-08T05:58:39.210Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] [2021-02-08T05:58:39.481Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-08T05:58:40.413Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.019s coverage: 63.0% of statements [2021-02-08T05:58:40.414Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/configuration 0.008s coverage: 26.3% of statements [2021-02-08T05:58:40.414Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/admin 0.006s coverage: 15.4% of statements [2021-02-08T05:58:40.414Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/requests/states/operating 0.011s coverage: 15.4% of statements [2021-02-08T05:58:40.414Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/responses/configuration 0.029s coverage: 14.3% of statements [2021-02-08T05:58:40.414Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [no test files] [2021-02-08T05:58:41.889Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http 0.087s coverage: 84.6% of statements [2021-02-08T05:58:41.889Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http/utils [no test files] [2021-02-08T05:58:41.889Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [no test files] [2021-02-08T05:58:41.889Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [no test files] [2021-02-08T05:58:41.889Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos 0.033s coverage: 51.0% of statements [2021-02-08T05:58:41.889Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common 0.024s coverage: 94.7% of statements [2021-02-08T05:58:41.889Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests 0.042s coverage: 88.9% of statements [2021-02-08T05:58:42.162Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses 0.009s coverage: 100.0% of statements [2021-02-08T05:58:42.162Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [no test files] [2021-02-08T05:58:42.432Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-08T05:58:44.380Z] gofmt -l . [2021-02-08T05:58:44.380Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-02-08T05:58:44.420Z] $ docker stop --time=1 811ce533afad23fd9e636cf4252fa1e1b5fbc3551b421638c0063a0632317189 [2021-02-08T05:58:44.878Z] gofmt -l . [2021-02-08T05:58:45.148Z] [ "`gofmt -l .`" = "" ] [2021-02-08T05:58:46.939Z] $ docker rm -f 811ce533afad23fd9e636cf4252fa1e1b5fbc3551b421638c0063a0632317189 [Pipeline] // withDockerContainer [Pipeline] } [2021-02-08T05:58:47.277Z] $ docker stop --time=1 b0be14eac4d5d429dc6b1a54ccec39422afd522b674f92096c3526ca972edd96 [2021-02-08T05:58:49.660Z] $ docker rm -f b0be14eac4d5d429dc6b1a54ccec39422afd522b674f92096c3526ca972edd96 [Pipeline] sh [Pipeline] // withDockerContainer [2021-02-08T05:58:50.488Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stash [2021-02-08T05:58:50.827Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-08T05:58:50.883Z] Warning: overwriting stash ‘coverage-report’ [2021-02-08T05:58:51.063Z] 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] } [2021-02-08T05:58:51.868Z] Stashed 1 file(s) [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] stage [Pipeline] { (Snap) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] } [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Stage "Docker Push" 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-02-08T05:58:55.633Z] provisioning config files... [2021-02-08T05:58:55.660Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-492@tmp/config8158471842044957466tmp [Pipeline] { [Pipeline] sh [2021-02-08T05:58:56.078Z] + set +x [2021-02-08T05:58:56.078Z] + curl -s https://codecov.io/bash [2021-02-08T05:58:56.078Z] + bash -s -- [2021-02-08T05:58:56.352Z] [2021-02-08T05:58:56.352Z] _____ _ [2021-02-08T05:58:56.352Z] / ____| | | [2021-02-08T05:58:56.352Z] | | ___ __| | ___ ___ _____ __ [2021-02-08T05:58:56.352Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-08T05:58:56.352Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-08T05:58:56.352Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-08T05:58:56.352Z] Bash-20210129-7c25fce [2021-02-08T05:58:56.352Z] [2021-02-08T05:58:56.352Z] [2021-02-08T05:58:56.352Z] ==> git version 2.24.3 found [2021-02-08T05:58:56.352Z] ==> 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-02-08T05:58:56.352Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-08T05:58:56.352Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-08T05:58:56.352Z] ==> Jenkins CI detected. [2021-02-08T05:58:56.352Z] project root: . [2021-02-08T05:58:56.352Z] --> token set from env [2021-02-08T05:58:56.352Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-08T05:58:56.352Z] ==> Running gcov in . (disable via -X gcov) [2021-02-08T05:58:56.352Z] ==> Python coveragepy not found [2021-02-08T05:58:56.352Z] ==> Searching for coverage reports in: [2021-02-08T05:58:56.352Z] + . [2021-02-08T05:58:56.352Z] -> Found 1 reports [2021-02-08T05:58:56.352Z] ==> Detecting git/mercurial file structure [2021-02-08T05:58:56.352Z] ==> Reading reports [2021-02-08T05:58:56.621Z] + ./coverage.out bytes=147767 [2021-02-08T05:58:56.621Z] ==> Appending adjustments [2021-02-08T05:58:56.621Z] https://docs.codecov.io/docs/fixing-reports [2021-02-08T05:58:57.577Z] + Found adjustments [2021-02-08T05:58:57.577Z] ==> Gzipping contents [2021-02-08T05:58:57.577Z] 24K /tmp/codecov.NYQf76.gz [2021-02-08T05:58:57.577Z] ==> Uploading reports [2021-02-08T05:58:57.577Z] url: https://codecov.io [2021-02-08T05:58:57.577Z] query: branch=PR-492&commit=f534e8d8a43efc010a1ad60c5b2e03e8b4426d42&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-492%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=492&job=&cmd_args= [2021-02-08T05:58:57.577Z] -> Pinging Codecov [2021-02-08T05:58:57.577Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-492&commit=f534e8d8a43efc010a1ad60c5b2e03e8b4426d42&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-492%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=492&job=&cmd_args= [2021-02-08T05:58:57.847Z] -> Uploading to [2021-02-08T05:58:57.847Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-08/71470A77251A30514AAF9C0BB2E5B6CE/f534e8d8a43efc010a1ad60c5b2e03e8b4426d42/c84abd05-dfa7-4a2f-8e8a-e390a30abcbe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210208%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210208T055857Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3f53ebcd55f0042905ed4c870445706ac3179c8dbfe1ea768ba1afb64f43c54a [2021-02-08T05:58:57.847Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-08T05:58:57.847Z] Dload Upload Total Spent Left Speed [2021-02-08T05:58:58.425Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22528 0 0 100 22528 0 50084 --:--:-- --:--:-- --:--:-- 50173 [2021-02-08T05:58:58.425Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/f534e8d8a43efc010a1ad60c5b2e03e8b4426d42 [Pipeline] } [2021-02-08T05:58:58.449Z] 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-02-08T05:59:02.331Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T05:59:02.697Z] ---> package-listing.sh [2021-02-08T05:59:02.697Z] ++ facter osfamily [2021-02-08T05:59:02.697Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-08T05:59:02.697Z] + OS_FAMILY=redhat [2021-02-08T05:59:02.697Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-492 [2021-02-08T05:59:02.697Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-08T05:59:02.697Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-08T05:59:02.697Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-08T05:59:02.697Z] + PACKAGES=/tmp/packages_start.txt [2021-02-08T05:59:02.697Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-492 ']' [2021-02-08T05:59:02.697Z] + PACKAGES=/tmp/packages_end.txt [2021-02-08T05:59:02.697Z] + case "${OS_FAMILY}" in [2021-02-08T05:59:02.697Z] + rpm -qa [2021-02-08T05:59:02.697Z] + sort [2021-02-08T05:59:08.016Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-08T05:59:08.016Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-08T05:59:08.016Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-08T05:59:08.016Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-492 ']' [2021-02-08T05:59:08.016Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-492/archives/ [2021-02-08T05:59:08.016Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-492/archives/ [Pipeline] echo [2021-02-08T05:59:08.053Z] 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-492/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-08T05:59:08.365Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-08T05:59:08.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-08T05:59:08.707Z] [2021-02-08T05:59:08.707Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-08T05:59:09.125Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-08T05:59:09.125Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-08T05:59:09.125Z] df20fa9351a1: Pulling fs layer [2021-02-08T05:59:09.125Z] 36b3adc4ff6f: Pulling fs layer [2021-02-08T05:59:09.125Z] 8ad3a11d3b57: Pulling fs layer [2021-02-08T05:59:09.125Z] 46f8f816bc3b: Pulling fs layer [2021-02-08T05:59:09.125Z] 93b61091891f: Pulling fs layer [2021-02-08T05:59:09.125Z] 93b9cdb0e59b: Pulling fs layer [2021-02-08T05:59:09.125Z] 5e14af77c1be: Pulling fs layer [2021-02-08T05:59:09.125Z] 01666e4c0597: Pulling fs layer [2021-02-08T05:59:09.125Z] aa168da1d23b: Pulling fs layer [2021-02-08T05:59:09.125Z] 93b61091891f: Waiting [2021-02-08T05:59:09.125Z] 93b9cdb0e59b: Waiting [2021-02-08T05:59:09.125Z] 5e14af77c1be: Waiting [2021-02-08T05:59:09.125Z] 01666e4c0597: Waiting [2021-02-08T05:59:09.125Z] 46f8f816bc3b: Waiting [2021-02-08T05:59:09.125Z] aa168da1d23b: Waiting [2021-02-08T05:59:09.125Z] 36b3adc4ff6f: Verifying Checksum [2021-02-08T05:59:09.125Z] 36b3adc4ff6f: Download complete [2021-02-08T05:59:09.125Z] 46f8f816bc3b: Verifying Checksum [2021-02-08T05:59:09.125Z] 46f8f816bc3b: Download complete [2021-02-08T05:59:09.403Z] df20fa9351a1: Verifying Checksum [2021-02-08T05:59:09.403Z] df20fa9351a1: Download complete [2021-02-08T05:59:09.403Z] 93b9cdb0e59b: Verifying Checksum [2021-02-08T05:59:09.403Z] 93b9cdb0e59b: Download complete [2021-02-08T05:59:09.403Z] 5e14af77c1be: Verifying Checksum [2021-02-08T05:59:09.403Z] 5e14af77c1be: Download complete [2021-02-08T05:59:09.403Z] 01666e4c0597: Verifying Checksum [2021-02-08T05:59:09.403Z] 01666e4c0597: Download complete [2021-02-08T05:59:09.403Z] 93b61091891f: Verifying Checksum [2021-02-08T05:59:09.403Z] 93b61091891f: Download complete [2021-02-08T05:59:09.403Z] 8ad3a11d3b57: Verifying Checksum [2021-02-08T05:59:09.403Z] 8ad3a11d3b57: Download complete [2021-02-08T05:59:10.000Z] df20fa9351a1: Pull complete [2021-02-08T05:59:10.956Z] 36b3adc4ff6f: Pull complete [2021-02-08T05:59:11.554Z] aa168da1d23b: Verifying Checksum [2021-02-08T05:59:11.554Z] aa168da1d23b: Download complete [2021-02-08T05:59:12.130Z] 8ad3a11d3b57: Pull complete [2021-02-08T05:59:12.393Z] 46f8f816bc3b: Pull complete [2021-02-08T05:59:12.969Z] 93b61091891f: Pull complete [2021-02-08T05:59:13.545Z] 93b9cdb0e59b: Pull complete [2021-02-08T05:59:13.814Z] 5e14af77c1be: Pull complete [2021-02-08T05:59:14.079Z] 01666e4c0597: Pull complete [2021-02-08T05:59:22.274Z] aa168da1d23b: Pull complete [2021-02-08T05:59:22.274Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-08T05:59:22.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-08T05:59:22.274Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-08T05:59:22.527Z] prd-centos7-docker-4c-2g-25439 does not seem to be running inside a container [2021-02-08T05:59:22.583Z] $ 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-492/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-492 -v /w/workspace/dry_go-mod-core-contracts_PR-492:/w/workspace/dry_go-mod-core-contracts_PR-492:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-492@tmp:/w/workspace/dry_go-mod-core-contracts_PR-492@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-08T05:59:26.738Z] $ docker top aa4b20f4a040ea826056adefb32702ea7a3e65f03795e10c11cd470c26a79eb5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-08T05:59:27.288Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-08T05:59:27.624Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-08T05:59:27.962Z] + ls /var/log/sa-host [2021-02-08T05:59:27.962Z] + sadf -c /var/log/sa-host/sa08 [2021-02-08T05:59:27.962Z] file_magic: OK [2021-02-08T05:59:27.962Z] HZ: Using current value: 100 [2021-02-08T05:59:27.962Z] file_header: OK [2021-02-08T05:59:27.962Z] 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-02-08T05:59:27.962Z] Statistics: [2021-02-08T05:59:27.962Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-08T05:59:27.962Z] File successfully converted to sysstat format version 12.2.1 [2021-02-08T05:59:27.962Z] + sadf -c /var/log/sa-host/sa23 [2021-02-08T05:59:27.962Z] file_magic: OK [2021-02-08T05:59:27.962Z] HZ: Using current value: 100 [2021-02-08T05:59:27.962Z] file_header: OK [2021-02-08T05:59:27.962Z] 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-02-08T05:59:27.962Z] Statistics: [2021-02-08T05:59:27.962Z] Hnuu...uuuununununu... [2021-02-08T05:59:27.962Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-08T05:59:28.651Z] provisioning config files... [2021-02-08T05:59:28.668Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-492@tmp/config525217753512984131tmp [Pipeline] { [Pipeline] echo [2021-02-08T05:59:28.783Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T05:59:29.145Z] ---> create-netrc.sh [Pipeline] } [2021-02-08T05:59:29.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-08T05:59:29.322Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T05:59:29.668Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-08T05:59:29.704Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T05:59:30.045Z] ---> sudo-logs.sh [2021-02-08T05:59:30.045Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-08T05:59:30.076Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T05:59:30.410Z] ---> job-cost.sh [2021-02-08T05:59:30.410Z] lf-activate-venv: SKIPPING [2021-02-08T05:59:30.410Z] INFO: No Stack... [2021-02-08T05:59:31.801Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-08T05:59:32.065Z] INFO: Archiving Costs [Pipeline] echo [2021-02-08T05:59:32.112Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T05:59:32.452Z] ---> logs-deploy.sh [2021-02-08T05:59:32.452Z] lf-activate-venv: SKIPPING [2021-02-08T05:59:32.452Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-492/1 [2021-02-08T05:59:32.452Z] INFO: archiving workspace using pattern(s): [2021-02-08T05:59:34.376Z] Archives upload complete. [2021-02-08T05:59:34.376Z] INFO: archiving logs to Nexus [2021-02-08T05:59:35.324Z] ---> uname -a: [2021-02-08T05:59:35.324Z] Linux prd-centos7-docker-4c-2g-25439.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-02-08T05:59:35.324Z] [2021-02-08T05:59:35.324Z]