Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 803e1f2e89e6f6c660233d8b1e97992e0443ffba+152c15f88b9e1c145499af1f47b8d68a35226704 (72e00ea52fdff12392d41d23e2fb4f7e866fd5db) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3413874231977898714.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6307740060591136722.key > 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 144eb70ba3d470a427e699408e811d3f535e987a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-641/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-641/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8722703802422734728.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh939745069593496497.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-641/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-641/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6763565199111622386.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com: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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-2090 in /w/workspace/dry_go-mod-core-contracts_PR-641 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-641 # 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_go-mod-core-contracts_PR-641@tmp/jenkins-gitclient-ssh899600593626771723.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_go-mod-core-contracts_PR-641@tmp/jenkins-gitclient-ssh3858957609696250865.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/641/head:refs/remotes/origin/PR-641 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 152c15f88b9e1c145499af1f47b8d68a35226704 into PR head commit 803e1f2e89e6f6c660233d8b1e97992e0443ffba Merge succeeded, producing 803e1f2e89e6f6c660233d8b1e97992e0443ffba Checking out Revision 803e1f2e89e6f6c660233d8b1e97992e0443ffba (PR-641) > git config core.sparsecheckout # timeout=10 > git checkout -f 803e1f2e89e6f6c660233d8b1e97992e0443ffba # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_go-mod-core-contracts_PR-641@tmp/jenkins-gitclient-ssh1470054567810214599.key > git merge 152c15f88b9e1c145499af1f47b8d68a35226704 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 803e1f2e89e6f6c660233d8b1e97992e0443ffba # timeout=10 Commit message: "build(deps): bump github.com/go-kit/kit from 0.9.0 to 0.11.0" > git rev-list --no-walk 803e1f2e89e6f6c660233d8b1e97992e0443ffba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-07T12:40:31.900Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-07T12:40:31.991Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-07T12:40:32.033Z] ========================================================= [2021-07-07T12:40:32.033Z] EdgeX Global Pipelines Version Info [2021-07-07T12:40:32.033Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-07T12:40:33.541Z] ------------------- [2021-07-07T12:40:33.541Z] stable info: [2021-07-07T12:40:33.541Z] ------------------- [2021-07-07T12:40:33.541Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-07T12:40:33.541Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-07T12:40:33.541Z] Message: update stable to v1.0.196 [2021-07-07T12:40:34.117Z] ------------------- [2021-07-07T12:40:34.117Z] experimental info: [2021-07-07T12:40:34.117Z] ------------------- [2021-07-07T12:40:34.117Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-07T12:40:34.117Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-07T12:40:34.117Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-07T12:40:34.246Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-07-07T12:40:34.272Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-07-07T12:40:34.300Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-07T12:40:34.326Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-07T12:40:34.353Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-07T12:40:34.380Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-07T12:40:34.407Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-07T12:40:34.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-07T12:40:34.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-07T12:40:34.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-07T12:40:34.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-07T12:40:34.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo [2021-07-07T12:40:34.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-07T12:40:34.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-07T12:40:34.644Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T12:40:34.670Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T12:40:34.696Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T12:40:34.722Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-07T12:40:34.747Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-07T12:40:34.772Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-07T12:40:34.797Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-07-07T12:40:34.823Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-07-07T12:40:34.850Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-07T12:40:34.877Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-07T12:40:34.905Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-07-07T12:40:34.932Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-07T12:40:34.958Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-641 [Pipeline] echo [2021-07-07T12:40:34.984Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-641 [Pipeline] echo [2021-07-07T12:40:35.014Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-641 [Pipeline] echo [2021-07-07T12:40:35.045Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 803e1f2e89e6f6c660233d8b1e97992e0443ffba [Pipeline] echo [2021-07-07T12:40:35.072Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 803e1f2 [Pipeline] echo [2021-07-07T12:40:35.100Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T12:40:35.581Z] + git log --format=format:%s -1 803e1f2e89e6f6c660233d8b1e97992e0443ffba [Pipeline] echo [2021-07-07T12:40:35.626Z] GIT_COMMIT: 803e1f2e89e6f6c660233d8b1e97992e0443ffba, Commit Message: build(deps): bump github.com/go-kit/kit from 0.9.0 to 0.11.0 [Pipeline] echo [2021-07-07T12:40:35.645Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-07T12:40:36.254Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T12:40:36.254Z] [2021-07-07T12:40:36.254Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T12:40:36.583Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T12:40:36.583Z] latest: Pulling from edgex-devops/git-semver [2021-07-07T12:40:36.584Z] 31603596830f: Pulling fs layer [2021-07-07T12:40:36.584Z] b6dc333f4379: Pulling fs layer [2021-07-07T12:40:36.584Z] 3d9ef1400e77: Pulling fs layer [2021-07-07T12:40:36.584Z] fd332fbdc1db: Pulling fs layer [2021-07-07T12:40:36.584Z] fd332fbdc1db: Waiting [2021-07-07T12:40:36.584Z] b6dc333f4379: Verifying Checksum [2021-07-07T12:40:36.584Z] b6dc333f4379: Download complete [2021-07-07T12:40:36.849Z] 31603596830f: Verifying Checksum [2021-07-07T12:40:36.849Z] 31603596830f: Download complete [2021-07-07T12:40:36.849Z] 3d9ef1400e77: Verifying Checksum [2021-07-07T12:40:36.849Z] 3d9ef1400e77: Download complete [2021-07-07T12:40:36.849Z] 31603596830f: Pull complete [2021-07-07T12:40:37.119Z] b6dc333f4379: Pull complete [2021-07-07T12:40:37.119Z] fd332fbdc1db: Verifying Checksum [2021-07-07T12:40:37.119Z] fd332fbdc1db: Download complete [2021-07-07T12:40:37.698Z] 3d9ef1400e77: Pull complete [2021-07-07T12:40:37.698Z] fd332fbdc1db: Pull complete [2021-07-07T12:40:37.698Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-07T12:40:37.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-07T12:40:37.993Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-07T12:40:38.076Z] prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container [2021-07-07T12:40:38.125Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-641 -v /w/workspace/dry_go-mod-core-contracts_PR-641:/w/workspace/dry_go-mod-core-contracts_PR-641:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-641@tmp:/w/workspace/dry_go-mod-core-contracts_PR-641@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-07-07T12:40:38.983Z] $ docker top 323e0e89764c3f461ab88881e40c1a1acb59532c5e5d658e09afb7ddc3acbb7b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-07T12:40:39.109Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-07T12:40:39.109Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-07T12:40:39.207Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-07T12:40:39.211Z] $ docker exec 323e0e89764c3f461ab88881e40c1a1acb59532c5e5d658e09afb7ddc3acbb7b ssh-agent [2021-07-07T12:40:39.310Z] SSH_AUTH_SOCK=/tmp/ssh-MBkLETpwwj4b/agent.15 [2021-07-07T12:40:39.310Z] SSH_AGENT_PID=21 [2021-07-07T12:40:39.318Z] Running ssh-add (command line suppressed) [2021-07-07T12:40:39.421Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-641@tmp/private_key_6950642562810245040.key (/w/workspace/dry_go-mod-core-contracts_PR-641@tmp/private_key_6950642562810245040.key) [2021-07-07T12:40:39.438Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-07T12:40:39.746Z] + git tag --points-at HEAD [Pipeline] } [2021-07-07T12:40:39.760Z] $ docker exec --env ******** --env ******** 323e0e89764c3f461ab88881e40c1a1acb59532c5e5d658e09afb7ddc3acbb7b ssh-agent -k [2021-07-07T12:40:39.852Z] unset SSH_AUTH_SOCK; [2021-07-07T12:40:39.852Z] unset SSH_AGENT_PID; [2021-07-07T12:40:39.852Z] echo Agent pid 21 killed; [2021-07-07T12:40:39.863Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-07T12:40:39.905Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-07T12:40:39.905Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-07T12:40:40.011Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-07T12:40:40.014Z] $ docker exec 323e0e89764c3f461ab88881e40c1a1acb59532c5e5d658e09afb7ddc3acbb7b ssh-agent [2021-07-07T12:40:40.129Z] SSH_AUTH_SOCK=/tmp/ssh-Q9yhaS0t4lyx/agent.55 [2021-07-07T12:40:40.129Z] SSH_AGENT_PID=62 [2021-07-07T12:40:40.135Z] Running ssh-add (command line suppressed) [2021-07-07T12:40:40.231Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-641@tmp/private_key_5809456949874996824.key (/w/workspace/dry_go-mod-core-contracts_PR-641@tmp/private_key_5809456949874996824.key) [2021-07-07T12:40:40.247Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-07T12:40:40.558Z] + git semver init [2021-07-07T12:40:40.558Z] # -> Open(): unable to determine branch for HEAD [2021-07-07T12:40:40.558Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-641/.git [2021-07-07T12:40:40.558Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-641 [2021-07-07T12:40:40.558Z] # $SEMVER_REMOTE_NAME = origin [2021-07-07T12:40:40.558Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-07T12:40:40.558Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-07T12:40:40.558Z] # $SEMVER_BRANCH = PR-641 [2021-07-07T12:40:40.558Z] # $SEMVER_TEMP = /tmp/semver-334492184 [2021-07-07T12:40:40.558Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-07-07T12:40:41.136Z] # '/tmp/semver-334492184' -> '/w/workspace/dry_go-mod-core-contracts_PR-641/.semver' [2021-07-07T12:40:41.136Z] # -> Force: false [2021-07-07T12:40:41.136Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-641/.semver [Pipeline] } [2021-07-07T12:40:41.147Z] $ docker exec --env ******** --env ******** 323e0e89764c3f461ab88881e40c1a1acb59532c5e5d658e09afb7ddc3acbb7b ssh-agent -k [2021-07-07T12:40:41.233Z] unset SSH_AUTH_SOCK; [2021-07-07T12:40:41.233Z] unset SSH_AGENT_PID; [2021-07-07T12:40:41.233Z] echo Agent pid 62 killed; [2021-07-07T12:40:41.245Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-07T12:40:41.583Z] + git semver [Pipeline] } [2021-07-07T12:40:41.601Z] $ docker stop --time=1 323e0e89764c3f461ab88881e40c1a1acb59532c5e5d658e09afb7ddc3acbb7b [2021-07-07T12:40:42.867Z] $ docker rm -f 323e0e89764c3f461ab88881e40c1a1acb59532c5e5d658e09afb7ddc3acbb7b [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-07T12:40:43.233Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-07T12:40:43.506Z] Stashed 1 file(s) [Pipeline] echo [2021-07-07T12:40:43.510Z] [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-07-07T12:40:58.820Z] Still waiting to schedule task [2021-07-07T12:40:58.820Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-07-07T12:40:58.823Z] Still waiting to schedule task [2021-07-07T12:40:58.823Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-07T12:42:08.870Z] Running on prd-centos7-docker-4c-2g-2094 in /w/workspace/dry_go-mod-core-contracts_PR-641 [Pipeline] { [Pipeline] ws [2021-07-07T12:42:08.892Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2021-07-07T12:42:09.009Z] Selected Git installation does not exist. Using Default [2021-07-07T12:42:09.009Z] The recommended git tool is: NONE [2021-07-07T12:42:11.468Z] using credential edgex-jenkins-ssh [2021-07-07T12:42:11.482Z] Cloning the remote Git repository [2021-07-07T12:42:11.340Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-07-07T12:42:11.416Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2021-07-07T12:42:11.446Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-07-07T12:42:11.446Z] > git --version # timeout=10 [2021-07-07T12:42:11.451Z] > git --version # 'git version 2.24.4' [2021-07-07T12:42:11.452Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T12:42:11.475Z] [INFO] Currently running in a labeled security context [2021-07-07T12:42:11.475Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T12:42:11.475Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/2@tmp/jenkins-gitclient-ssh3562703577752589241.key [2021-07-07T12:42:11.488Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T12:42:12.268Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-07-07T12:42:12.278Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T12:42:12.844Z] Merging remotes/origin/main commit 152c15f88b9e1c145499af1f47b8d68a35226704 into PR head commit 803e1f2e89e6f6c660233d8b1e97992e0443ffba [2021-07-07T12:42:12.947Z] Merge succeeded, producing 803e1f2e89e6f6c660233d8b1e97992e0443ffba [2021-07-07T12:42:12.947Z] Checking out Revision 803e1f2e89e6f6c660233d8b1e97992e0443ffba (PR-641) [2021-07-07T12:42:12.292Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-07-07T12:42:12.313Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-07-07T12:42:12.314Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T12:42:12.317Z] [INFO] Currently running in a labeled security context [2021-07-07T12:42:12.317Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T12:42:12.317Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/2@tmp/jenkins-gitclient-ssh6318087139219528018.key [2021-07-07T12:42:12.329Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/641/head:refs/remotes/origin/PR-641 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-07T12:42:12.804Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T12:42:12.810Z] > git checkout -f 803e1f2e89e6f6c660233d8b1e97992e0443ffba # timeout=10 [2021-07-07T12:42:12.857Z] > git remote # timeout=10 [2021-07-07T12:42:12.864Z] > git config --get remote.origin.url # timeout=10 [2021-07-07T12:42:12.873Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T12:42:12.874Z] [INFO] Currently running in a labeled security context [2021-07-07T12:42:12.874Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-07T12:42:12.874Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/2@tmp/jenkins-gitclient-ssh6808365949407041474.key [2021-07-07T12:42:12.883Z] > git merge 152c15f88b9e1c145499af1f47b8d68a35226704 # timeout=10 [2021-07-07T12:42:12.893Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-07T12:42:12.907Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T12:42:12.915Z] > git checkout -f 803e1f2e89e6f6c660233d8b1e97992e0443ffba # timeout=10 [2021-07-07T12:42:16.579Z] Commit message: "build(deps): bump github.com/go-kit/kit from 0.9.0 to 0.11.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T12:42:17.587Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-07T12:42:17.914Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-07T12:42:18.212Z] + sudo service docker restart [2021-07-07T12:42:18.212Z] + true [2021-07-07T12:42:18.212Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-07-07T12:42:36.504Z] ========================================================= [2021-07-07T12:42:36.504Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-07T12:42:36.504Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-07T12:42:36.830Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-07-07T12:42:36.830Z] Sending build context to Docker daemon 2.893MB [2021-07-07T12:42:36.830Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-07-07T12:42:36.830Z] Step 2/7 : FROM ${BASE} [2021-07-07T12:42:37.090Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-07T12:42:37.090Z] 540db60ca938: Pulling fs layer [2021-07-07T12:42:37.090Z] adcc1eea9eea: Pulling fs layer [2021-07-07T12:42:37.090Z] 4c4ab2625f07: Pulling fs layer [2021-07-07T12:42:37.090Z] 0510c868ecb4: Pulling fs layer [2021-07-07T12:42:37.090Z] afea3b2eda06: Pulling fs layer [2021-07-07T12:42:37.090Z] 7809a108b3ef: Pulling fs layer [2021-07-07T12:42:37.090Z] f706445af74f: Pulling fs layer [2021-07-07T12:42:37.090Z] 0510c868ecb4: Waiting [2021-07-07T12:42:37.090Z] afea3b2eda06: Waiting [2021-07-07T12:42:37.090Z] 7809a108b3ef: Waiting [2021-07-07T12:42:37.090Z] f706445af74f: Waiting [2021-07-07T12:42:37.090Z] 4c4ab2625f07: Verifying Checksum [2021-07-07T12:42:37.090Z] 4c4ab2625f07: Download complete [2021-07-07T12:42:37.090Z] adcc1eea9eea: Verifying Checksum [2021-07-07T12:42:37.090Z] adcc1eea9eea: Download complete [2021-07-07T12:42:37.090Z] afea3b2eda06: Verifying Checksum [2021-07-07T12:42:37.090Z] afea3b2eda06: Download complete [2021-07-07T12:42:37.090Z] 7809a108b3ef: Verifying Checksum [2021-07-07T12:42:37.090Z] 7809a108b3ef: Download complete [2021-07-07T12:42:37.090Z] 540db60ca938: Verifying Checksum [2021-07-07T12:42:37.090Z] 540db60ca938: Download complete [2021-07-07T12:42:37.351Z] 540db60ca938: Pull complete [2021-07-07T12:42:37.612Z] adcc1eea9eea: Pull complete [2021-07-07T12:42:37.613Z] 4c4ab2625f07: Pull complete [2021-07-07T12:42:39.003Z] f706445af74f: Verifying Checksum [2021-07-07T12:42:39.003Z] f706445af74f: Download complete [2021-07-07T12:42:39.263Z] 0510c868ecb4: Verifying Checksum [2021-07-07T12:42:39.263Z] 0510c868ecb4: Download complete [2021-07-07T12:42:42.600Z] 0510c868ecb4: Pull complete [2021-07-07T12:42:42.600Z] afea3b2eda06: Pull complete [2021-07-07T12:42:42.600Z] 7809a108b3ef: Pull complete [2021-07-07T12:42:43.592Z] f706445af74f: Pull complete [2021-07-07T12:42:43.592Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-07-07T12:42:43.592Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-07T12:42:43.592Z] ---> b068be0155e3 [2021-07-07T12:42:43.592Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-07T12:42:46.906Z] ---> Running in b5f5bdb5dac3 [2021-07-07T12:42:46.906Z] Removing intermediate container b5f5bdb5dac3 [2021-07-07T12:42:46.906Z] ---> 3617853b1d91 [2021-07-07T12:42:46.906Z] Step 4/7 : RUN apk add bash [2021-07-07T12:42:46.906Z] ---> Running in 78940641366f [2021-07-07T12:42:47.482Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-07T12:42:48.055Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-07T12:42:48.627Z] OK: 149 MiB in 40 packages [2021-07-07T12:42:48.891Z] Removing intermediate container 78940641366f [2021-07-07T12:42:48.891Z] ---> 08ac3f493535 [2021-07-07T12:42:48.891Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-07-07T12:42:48.891Z] ---> Running in 4db674d00ec8 [2021-07-07T12:42:49.156Z] Removing intermediate container 4db674d00ec8 [2021-07-07T12:42:49.156Z] ---> fe8dfb2486bd [2021-07-07T12:42:49.156Z] Step 6/7 : COPY go.mod . [2021-07-07T12:42:49.156Z] ---> 87366d4167ea [2021-07-07T12:42:49.156Z] Step 7/7 : RUN go mod download [2021-07-07T12:42:49.156Z] ---> Running in cad52af36fa9 [2021-07-07T12:43:28.043Z] Removing intermediate container cad52af36fa9 [2021-07-07T12:43:28.043Z] ---> a416a83619ea [2021-07-07T12:43:28.043Z] Successfully built a416a83619ea [2021-07-07T12:43:28.043Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T12:43:28.355Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-07T12:43:28.355Z] . [Pipeline] withDockerContainer [2021-07-07T12:43:28.439Z] prd-centos7-docker-4c-2g-2094 does not seem to be running inside a container [2021-07-07T12:43:28.481Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-x86_64 cat [2021-07-07T12:43:28.874Z] $ docker top d8155bb77b9dccbcd53e9a341fe8426c299da45954acb25a915054676ce3b7af -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T12:43:29.265Z] + go version [2021-07-07T12:43:29.265Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-07-07T12:43:29.280Z] $ docker stop --time=1 d8155bb77b9dccbcd53e9a341fe8426c299da45954acb25a915054676ce3b7af [2021-07-07T12:43:30.469Z] $ docker rm -f d8155bb77b9dccbcd53e9a341fe8426c299da45954acb25a915054676ce3b7af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-07T12:43:31.031Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-07T12:43:31.031Z] . [Pipeline] withDockerContainer [2021-07-07T12:43:31.107Z] prd-centos7-docker-4c-2g-2094 does not seem to be running inside a container [2021-07-07T12:43:31.150Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-x86_64 cat [2021-07-07T12:43:31.532Z] $ docker top 709c32e8d5a684289b2de8ee94eca4193beec07f0a71c9e0914a47f0f1af1904 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T12:43:31.908Z] + go mod tidy [Pipeline] sh [2021-07-07T12:43:32.488Z] + make test [2021-07-07T12:43:32.488Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-07T12:43:32.754Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-07-07T12:43:41.535Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.042s coverage: 83.2% of statements [2021-07-07T12:43:41.535Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-07-07T12:43:41.535Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-07-07T12:43:41.808Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] [2021-07-07T12:43:41.808Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.005s coverage: 26.3% of statements [2021-07-07T12:43:41.808Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] [2021-07-07T12:43:42.779Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.013s coverage: 47.2% of statements [2021-07-07T12:43:42.779Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.008s coverage: 90.0% of statements [2021-07-07T12:43:43.368Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.037s coverage: 86.2% of statements [2021-07-07T12:43:43.645Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.010s coverage: 59.5% of statements [2021-07-07T12:43:43.645Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.003s coverage: 35.5% of statements [2021-07-07T12:43:43.909Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.005s coverage: 49.4% of statements [2021-07-07T12:43:43.909Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-07-07T12:43:49.265Z] gofmt -l . [2021-07-07T12:43:49.265Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-07T12:43:49.278Z] $ docker stop --time=1 709c32e8d5a684289b2de8ee94eca4193beec07f0a71c9e0914a47f0f1af1904 [2021-07-07T12:43:50.608Z] $ docker rm -f 709c32e8d5a684289b2de8ee94eca4193beec07f0a71c9e0914a47f0f1af1904 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-07T12:43:51.026Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-07T12:43:51.244Z] 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-07-07T12:43:52.283Z] ---> job-cost.sh [2021-07-07T12:43:52.283Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-E5nB [2021-07-07T12:44:00.439Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-07T12:44:06.630Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2096 in /w/workspace/dry_go-mod-core-contracts_PR-641 [Pipeline] { [Pipeline] ws [2021-07-07T12:44:06.652Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2021-07-07T12:44:06.949Z] Selected Git installation does not exist. Using Default [2021-07-07T12:44:06.949Z] The recommended git tool is: NONE [2021-07-07T12:44:12.875Z] lf-activate-venv(): INFO: Adding /tmp/venv-E5nB/bin to PATH [2021-07-07T12:44:12.875Z] INFO: No Stack... [2021-07-07T12:44:13.443Z] using credential edgex-jenkins-ssh [2021-07-07T12:44:13.526Z] Cloning the remote Git repository [2021-07-07T12:44:14.272Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-07T12:44:13.588Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-07-07T12:44:13.724Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2021-07-07T12:44:13.805Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-07-07T12:44:13.806Z] > git --version # timeout=10 [2021-07-07T12:44:13.819Z] > git --version # 'git version 2.17.1' [2021-07-07T12:44:13.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T12:44:13.878Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T12:44:14.535Z] INFO: Archiving Costs [Pipeline] sh [2021-07-07T12:44:14.857Z] + cat /w/workspace/go-mod-core-contracts/2/archives/cost.csv [2021-07-07T12:44:14.858Z] + cut -d, -f6 [Pipeline] lock [2021-07-07T12:44:14.886Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-641-2-stack-cost] [2021-07-07T12:44:14.899Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-641-2-stack-cost] did not exist. Created. [2021-07-07T12:44:14.899Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-641-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-07T12:44:15.241Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-07T12:44:15.332Z] Stashed 1 file(s) [Pipeline] } [2021-07-07T12:44:15.351Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-641-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-07T12:44:15.197Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-07-07T12:44:15.221Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-07T12:44:15.246Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-07-07T12:44:15.277Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-07-07T12:44:15.277Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T12:44:15.290Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/641/head:refs/remotes/origin/PR-641 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-07T12:44:15.948Z] Merging remotes/origin/main commit 152c15f88b9e1c145499af1f47b8d68a35226704 into PR head commit 803e1f2e89e6f6c660233d8b1e97992e0443ffba [2021-07-07T12:44:16.179Z] Merge succeeded, producing 803e1f2e89e6f6c660233d8b1e97992e0443ffba [2021-07-07T12:44:16.179Z] Checking out Revision 803e1f2e89e6f6c660233d8b1e97992e0443ffba (PR-641) [2021-07-07T12:44:15.969Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T12:44:15.987Z] > git checkout -f 803e1f2e89e6f6c660233d8b1e97992e0443ffba # timeout=10 [2021-07-07T12:44:16.106Z] > git remote # timeout=10 [2021-07-07T12:44:16.124Z] > git config --get remote.origin.url # timeout=10 [2021-07-07T12:44:16.135Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-07T12:44:16.146Z] > git merge 152c15f88b9e1c145499af1f47b8d68a35226704 # timeout=10 [2021-07-07T12:44:16.169Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-07T12:44:16.187Z] > git config core.sparsecheckout # timeout=10 [2021-07-07T12:44:16.196Z] > git checkout -f 803e1f2e89e6f6c660233d8b1e97992e0443ffba # timeout=10 [2021-07-07T12:44:20.509Z] Commit message: "build(deps): bump github.com/go-kit/kit from 0.9.0 to 0.11.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-07T12:44:21.852Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-07T12:44:22.296Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-07T12:44:22.641Z] + sudo service docker restart [2021-07-07T12:44:22.642Z] + true [Pipeline] unstash [Pipeline] echo [2021-07-07T12:44:41.266Z] ========================================================= [2021-07-07T12:44:41.267Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-07T12:44:41.267Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-07T12:44:41.624Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-07-07T12:44:42.624Z] Sending build context to Docker daemon 2.892MB [2021-07-07T12:44:42.624Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-07-07T12:44:42.624Z] Step 2/7 : FROM ${BASE} [2021-07-07T12:44:43.224Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-07T12:44:43.224Z] 595b0fe564bb: Pulling fs layer [2021-07-07T12:44:43.224Z] 3088b5b3c5c0: Pulling fs layer [2021-07-07T12:44:43.224Z] 5b7225fbf94c: Pulling fs layer [2021-07-07T12:44:43.224Z] ba82ee9f976e: Pulling fs layer [2021-07-07T12:44:43.224Z] 506bd15cee9f: Pulling fs layer [2021-07-07T12:44:43.224Z] 75a0a4a0db45: Pulling fs layer [2021-07-07T12:44:43.224Z] 618dc40b7e24: Pulling fs layer [2021-07-07T12:44:43.224Z] ba82ee9f976e: Waiting [2021-07-07T12:44:43.224Z] 75a0a4a0db45: Waiting [2021-07-07T12:44:43.224Z] 618dc40b7e24: Waiting [2021-07-07T12:44:43.224Z] 506bd15cee9f: Waiting [2021-07-07T12:44:43.224Z] 5b7225fbf94c: Verifying Checksum [2021-07-07T12:44:43.224Z] 5b7225fbf94c: Download complete [2021-07-07T12:44:43.224Z] 3088b5b3c5c0: Verifying Checksum [2021-07-07T12:44:43.224Z] 3088b5b3c5c0: Download complete [2021-07-07T12:44:43.224Z] 506bd15cee9f: Verifying Checksum [2021-07-07T12:44:43.224Z] 506bd15cee9f: Download complete [2021-07-07T12:44:43.224Z] 75a0a4a0db45: Download complete [2021-07-07T12:44:43.224Z] 595b0fe564bb: Verifying Checksum [2021-07-07T12:44:44.222Z] 595b0fe564bb: Pull complete [2021-07-07T12:44:44.502Z] 3088b5b3c5c0: Pull complete [2021-07-07T12:44:45.110Z] 5b7225fbf94c: Pull complete [2021-07-07T12:44:45.384Z] 618dc40b7e24: Verifying Checksum [2021-07-07T12:44:45.384Z] 618dc40b7e24: Download complete [2021-07-07T12:44:46.822Z] ba82ee9f976e: Verifying Checksum [2021-07-07T12:44:46.822Z] ba82ee9f976e: Download complete [2021-07-07T12:44:56.989Z] ba82ee9f976e: Pull complete [2021-07-07T12:44:56.989Z] 506bd15cee9f: Pull complete [2021-07-07T12:44:56.989Z] 75a0a4a0db45: Pull complete [2021-07-07T12:45:00.380Z] 618dc40b7e24: Pull complete [2021-07-07T12:45:00.381Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-07-07T12:45:00.381Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-07T12:45:00.381Z] ---> a36622ca3599 [2021-07-07T12:45:00.381Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-07T12:45:03.066Z] ---> Running in 2947bab56a40 [2021-07-07T12:45:03.340Z] Removing intermediate container 2947bab56a40 [2021-07-07T12:45:03.340Z] ---> 2fb61bfccc09 [2021-07-07T12:45:03.340Z] Step 4/7 : RUN apk add bash [2021-07-07T12:45:03.616Z] ---> Running in 4d419a0f0fd7 [2021-07-07T12:45:05.069Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-07T12:45:06.065Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-07T12:45:07.053Z] OK: 138 MiB in 40 packages [2021-07-07T12:45:08.041Z] Removing intermediate container 4d419a0f0fd7 [2021-07-07T12:45:08.041Z] ---> 7232e1606cd8 [2021-07-07T12:45:08.041Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-07-07T12:45:08.327Z] ---> Running in 4cacd1de8c9f [2021-07-07T12:45:08.968Z] Removing intermediate container 4cacd1de8c9f [2021-07-07T12:45:08.968Z] ---> af83c21e0d2c [2021-07-07T12:45:08.968Z] Step 6/7 : COPY go.mod . [2021-07-07T12:45:09.974Z] ---> 461cafedd328 [2021-07-07T12:45:09.974Z] Step 7/7 : RUN go mod download [2021-07-07T12:45:09.974Z] ---> Running in 0266da4e2a8a [2021-07-07T12:46:31.839Z] Removing intermediate container 0266da4e2a8a [2021-07-07T12:46:31.839Z] ---> d91b7bb3b808 [2021-07-07T12:46:31.839Z] Successfully built d91b7bb3b808 [2021-07-07T12:46:31.839Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-07T12:46:32.194Z] + docker inspect -f . ci-base-image-arm64 [2021-07-07T12:46:32.194Z] . [Pipeline] withDockerContainer [2021-07-07T12:46:32.432Z] prd-ubuntu18.04-docker-arm64-4c-16g-2096 does not seem to be running inside a container [2021-07-07T12:46:32.522Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-07-07T12:46:34.092Z] $ docker top 6569391d8a3250c1153d2363e00fe1646db3b2099edf5c14a70b6c3aa6062c99 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T12:46:35.085Z] + go version [2021-07-07T12:46:35.085Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-07T12:46:35.128Z] $ docker stop --time=1 6569391d8a3250c1153d2363e00fe1646db3b2099edf5c14a70b6c3aa6062c99 [2021-07-07T12:46:36.938Z] $ docker rm -f 6569391d8a3250c1153d2363e00fe1646db3b2099edf5c14a70b6c3aa6062c99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-07T12:46:37.929Z] + docker inspect -f . ci-base-image-arm64 [2021-07-07T12:46:37.929Z] . [Pipeline] withDockerContainer [2021-07-07T12:46:38.170Z] prd-ubuntu18.04-docker-arm64-4c-16g-2096 does not seem to be running inside a container [2021-07-07T12:46:38.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@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-07-07T12:46:39.720Z] $ docker top ee9def60cb6608095c5a98e1be94cbfaabd45a249b58394973619fd8e86bcf35 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T12:46:40.675Z] + go mod tidy [Pipeline] sh [2021-07-07T12:46:41.994Z] + make test [2021-07-07T12:46:41.994Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-07T12:46:42.981Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-07-07T12:47:22.066Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.407s coverage: 83.2% of statements [2021-07-07T12:47:22.066Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-07-07T12:47:22.066Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-07-07T12:47:22.066Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] [2021-07-07T12:47:22.066Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.047s coverage: 26.3% of statements [2021-07-07T12:47:22.066Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] [2021-07-07T12:47:22.066Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.062s coverage: 47.2% of statements [2021-07-07T12:47:22.066Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.046s coverage: 90.0% of statements [2021-07-07T12:47:22.066Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.284s coverage: 86.2% of statements [2021-07-07T12:47:22.066Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.055s coverage: 59.5% of statements [2021-07-07T12:47:22.066Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.023s coverage: 35.5% of statements [2021-07-07T12:47:23.052Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.036s coverage: 49.4% of statements [2021-07-07T12:47:23.052Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-07-07T12:47:45.277Z] gofmt -l . [2021-07-07T12:47:45.277Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-07T12:47:45.301Z] $ docker stop --time=1 ee9def60cb6608095c5a98e1be94cbfaabd45a249b58394973619fd8e86bcf35 [2021-07-07T12:47:47.283Z] $ docker rm -f ee9def60cb6608095c5a98e1be94cbfaabd45a249b58394973619fd8e86bcf35 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-07T12:47:48.155Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-07T12:47:48.191Z] Warning: overwriting stash ‘coverage-report’ [2021-07-07T12:47:48.858Z] 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-07-07T12:47:49.575Z] ---> job-cost.sh [2021-07-07T12:47:49.575Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-e7Im [2021-07-07T12:48:28.548Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-07T12:50:05.415Z] lf-activate-venv(): INFO: Adding /tmp/venv-e7Im/bin to PATH [2021-07-07T12:50:05.415Z] INFO: No Stack... [2021-07-07T12:50:05.415Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-07T12:50:05.415Z] INFO: Archiving Costs [Pipeline] sh [2021-07-07T12:50:05.757Z] + cut -d, -f6 [2021-07-07T12:50:05.757Z] + cat /w/workspace/go-mod-core-contracts/2/archives/cost.csv [Pipeline] lock [2021-07-07T12:50:05.841Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-641-2-stack-cost] [2021-07-07T12:50:05.850Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-641-2-stack-cost] did not exist. Created. [2021-07-07T12:50:05.850Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-641-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-07T12:50:06.254Z] /w/workspace/go-mod-core-contracts/2@tmp/durable-f17994c5/script.sh: 1: /w/workspace/go-mod-core-contracts/2@tmp/durable-f17994c5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-07T12:50:06.615Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-07T12:50:06.651Z] Warning: overwriting stash ‘stack-cost’ [2021-07-07T12:50:06.821Z] Stashed 1 file(s) [Pipeline] } [2021-07-07T12:50:06.849Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-641-2-stack-cost] [Pipeline] // lock [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] configFileProvider [2021-07-07T12:50:07.767Z] provisioning config files... [2021-07-07T12:50:07.785Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-641@tmp/config3372877953835064884tmp [Pipeline] { [Pipeline] sh [2021-07-07T12:50:08.101Z] + set +x [2021-07-07T12:50:08.101Z] + bash -s -- [2021-07-07T12:50:08.101Z] + curl -s https://codecov.io/bash [2021-07-07T12:50:08.101Z] [2021-07-07T12:50:08.101Z] _____ _ [2021-07-07T12:50:08.101Z] / ____| | | [2021-07-07T12:50:08.101Z] | | ___ __| | ___ ___ _____ __ [2021-07-07T12:50:08.101Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-07T12:50:08.101Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-07T12:50:08.101Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-07T12:50:08.101Z] Bash-1.0.3 [2021-07-07T12:50:08.101Z] [2021-07-07T12:50:08.101Z] [2021-07-07T12:50:08.101Z] ==> git version 2.24.4 found [2021-07-07T12:50:08.101Z] ==> 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-07-07T12:50:08.101Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-07T12:50:08.101Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-07T12:50:08.101Z] ==> Jenkins CI detected. [2021-07-07T12:50:08.101Z] project root: . [2021-07-07T12:50:08.101Z] --> token set from env [2021-07-07T12:50:08.101Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-07T12:50:08.101Z] ==> Running gcov in . (disable via -X gcov) [2021-07-07T12:50:08.101Z] ==> Python coveragepy not found [2021-07-07T12:50:08.101Z] ==> Searching for coverage reports in: [2021-07-07T12:50:08.101Z] + . [2021-07-07T12:50:08.101Z] -> Found 1 reports [2021-07-07T12:50:08.101Z] ==> Detecting git/mercurial file structure [2021-07-07T12:50:08.364Z] ==> Reading reports [2021-07-07T12:50:08.364Z] + ./coverage.out bytes=100858 [2021-07-07T12:50:08.364Z] ==> Appending adjustments [2021-07-07T12:50:08.364Z] https://docs.codecov.io/docs/fixing-reports [2021-07-07T12:50:08.626Z] + Found adjustments [2021-07-07T12:50:08.626Z] ==> Gzipping contents [2021-07-07T12:50:08.626Z] 16K /tmp/codecov.QtrOBs.gz [2021-07-07T12:50:08.626Z] ==> Uploading reports [2021-07-07T12:50:08.626Z] url: https://codecov.io [2021-07-07T12:50:08.626Z] query: branch=PR-641&commit=803e1f2e89e6f6c660233d8b1e97992e0443ffba&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-641%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=641&job=&cmd_args= [2021-07-07T12:50:08.626Z] -> Pinging Codecov [2021-07-07T12:50:08.626Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-641&commit=803e1f2e89e6f6c660233d8b1e97992e0443ffba&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-641%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=641&job=&cmd_args= [2021-07-07T12:50:09.211Z] -> Uploading to [2021-07-07T12:50:09.211Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-07/71470A77251A30514AAF9C0BB2E5B6CE/803e1f2e89e6f6c660233d8b1e97992e0443ffba/d50c8832-63e6-46e5-ae60-083b5b48f20c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210707T125008Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fed8f768d6ec42f5389aeaf75b61343da5c6ad2d84cf73531defeae0d4e93e4f [2021-07-07T12:50:09.211Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-07T12:50:09.211Z] Dload Upload Total Spent Left Speed [2021-07-07T12:50:09.473Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15389 0 0 100 15389 0 38652 --:--:-- --:--:-- --:--:-- 38568 100 15389 0 0 100 15389 0 38638 --:--:-- --:--:-- --:--:-- 38568 [2021-07-07T12:50:09.473Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/803e1f2e89e6f6c660233d8b1e97992e0443ffba [Pipeline] } [2021-07-07T12:50:09.481Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency 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-07-07T12:50:11.255Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T12:50:11.821Z] ---> package-listing.sh [2021-07-07T12:50:11.822Z] ++ facter osfamily [2021-07-07T12:50:11.822Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-07T12:50:12.085Z] + OS_FAMILY=redhat [2021-07-07T12:50:12.085Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-641 [2021-07-07T12:50:12.085Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-07T12:50:12.085Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-07T12:50:12.085Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-07T12:50:12.085Z] + PACKAGES=/tmp/packages_start.txt [2021-07-07T12:50:12.085Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-641 ']' [2021-07-07T12:50:12.085Z] + PACKAGES=/tmp/packages_end.txt [2021-07-07T12:50:12.085Z] + case "${OS_FAMILY}" in [2021-07-07T12:50:12.085Z] + sort [2021-07-07T12:50:12.085Z] + rpm -qa [2021-07-07T12:50:12.670Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-07T12:50:12.670Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-07T12:50:12.670Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-07T12:50:12.670Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-641 ']' [2021-07-07T12:50:12.670Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-641/archives/ [2021-07-07T12:50:12.670Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-641/archives/ [Pipeline] echo [2021-07-07T12:50:12.683Z] 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-641/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-07T12:50:12.973Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-07T12:50:13.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T12:50:13.539Z] [2021-07-07T12:50:13.539Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-07T12:50:13.856Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T12:50:13.856Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-07T12:50:13.856Z] df20fa9351a1: Pulling fs layer [2021-07-07T12:50:13.856Z] 36b3adc4ff6f: Pulling fs layer [2021-07-07T12:50:13.857Z] 8ad3a11d3b57: Pulling fs layer [2021-07-07T12:50:13.857Z] 46f8f816bc3b: Pulling fs layer [2021-07-07T12:50:13.857Z] 93b61091891f: Pulling fs layer [2021-07-07T12:50:13.857Z] 93b9cdb0e59b: Pulling fs layer [2021-07-07T12:50:13.857Z] 5e14af77c1be: Pulling fs layer [2021-07-07T12:50:13.857Z] 01666e4c0597: Pulling fs layer [2021-07-07T12:50:13.857Z] aa168da1d23b: Pulling fs layer [2021-07-07T12:50:13.857Z] 93b9cdb0e59b: Waiting [2021-07-07T12:50:13.857Z] 5e14af77c1be: Waiting [2021-07-07T12:50:13.857Z] 01666e4c0597: Waiting [2021-07-07T12:50:13.857Z] aa168da1d23b: Waiting [2021-07-07T12:50:13.857Z] 46f8f816bc3b: Waiting [2021-07-07T12:50:13.857Z] 93b61091891f: Waiting [2021-07-07T12:50:13.857Z] 36b3adc4ff6f: Verifying Checksum [2021-07-07T12:50:13.857Z] 36b3adc4ff6f: Download complete [2021-07-07T12:50:13.857Z] 46f8f816bc3b: Verifying Checksum [2021-07-07T12:50:13.857Z] 46f8f816bc3b: Download complete [2021-07-07T12:50:14.117Z] df20fa9351a1: Verifying Checksum [2021-07-07T12:50:14.117Z] df20fa9351a1: Download complete [2021-07-07T12:50:14.117Z] 93b9cdb0e59b: Verifying Checksum [2021-07-07T12:50:14.117Z] 93b9cdb0e59b: Download complete [2021-07-07T12:50:14.117Z] 5e14af77c1be: Verifying Checksum [2021-07-07T12:50:14.117Z] 5e14af77c1be: Download complete [2021-07-07T12:50:14.117Z] 93b61091891f: Verifying Checksum [2021-07-07T12:50:14.117Z] 93b61091891f: Download complete [2021-07-07T12:50:14.117Z] 01666e4c0597: Verifying Checksum [2021-07-07T12:50:14.117Z] 01666e4c0597: Download complete [2021-07-07T12:50:14.117Z] 8ad3a11d3b57: Verifying Checksum [2021-07-07T12:50:14.117Z] 8ad3a11d3b57: Download complete [2021-07-07T12:50:14.117Z] df20fa9351a1: Pull complete [2021-07-07T12:50:14.377Z] 36b3adc4ff6f: Pull complete [2021-07-07T12:50:14.968Z] 8ad3a11d3b57: Pull complete [2021-07-07T12:50:14.968Z] 46f8f816bc3b: Pull complete [2021-07-07T12:50:15.235Z] 93b61091891f: Pull complete [2021-07-07T12:50:15.235Z] 93b9cdb0e59b: Pull complete [2021-07-07T12:50:15.235Z] 5e14af77c1be: Pull complete [2021-07-07T12:50:15.509Z] 01666e4c0597: Pull complete [2021-07-07T12:50:15.778Z] aa168da1d23b: Verifying Checksum [2021-07-07T12:50:15.778Z] aa168da1d23b: Download complete [2021-07-07T12:50:20.023Z] aa168da1d23b: Pull complete [2021-07-07T12:50:20.024Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-07T12:50:20.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-07T12:50:20.024Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-07T12:50:20.098Z] prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container [2021-07-07T12:50:20.140Z] $ 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-641/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-641 -v /w/workspace/dry_go-mod-core-contracts_PR-641:/w/workspace/dry_go-mod-core-contracts_PR-641:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-641@tmp:/w/workspace/dry_go-mod-core-contracts_PR-641@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-07-07T12:50:22.042Z] $ docker top 90863affa76373fde4184565189ade20584ace839efc5f0e9f53e3318d400fc2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-07T12:50:22.431Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-07T12:50:22.736Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-07T12:50:23.035Z] + ls /var/log/sa-host [2021-07-07T12:50:23.036Z] + sadf -c /var/log/sa-host/sa05 [2021-07-07T12:50:23.036Z] file_magic: OK [2021-07-07T12:50:23.036Z] HZ: Using current value: 100 [2021-07-07T12:50:23.036Z] file_header: OK [2021-07-07T12:50:23.036Z] 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-07-07T12:50:23.036Z] Statistics: [2021-07-07T12:50:23.036Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-07T12:50:23.036Z] File successfully converted to sysstat format version 12.2.1 [2021-07-07T12:50:23.036Z] + sadf -c /var/log/sa-host/sa07 [2021-07-07T12:50:23.036Z] file_magic: OK [2021-07-07T12:50:23.036Z] HZ: Using current value: 100 [2021-07-07T12:50:23.036Z] file_header: OK [2021-07-07T12:50:23.036Z] 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-07-07T12:50:23.036Z] Statistics: [2021-07-07T12:50:23.036Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-07T12:50:23.036Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-07T12:50:23.220Z] provisioning config files... [2021-07-07T12:50:23.233Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-641@tmp/config3258928849559960623tmp [Pipeline] { [Pipeline] echo [2021-07-07T12:50:23.257Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T12:50:23.556Z] ---> create-netrc.sh [Pipeline] } [2021-07-07T12:50:23.565Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-07T12:50:23.935Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-07T12:50:23.946Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T12:50:24.239Z] ---> sudo-logs.sh [2021-07-07T12:50:24.239Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-07T12:50:24.268Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T12:50:24.569Z] ---> job-cost.sh [2021-07-07T12:50:24.569Z] lf-activate-venv: SKIPPING [2021-07-07T12:50:24.569Z] DEBUG: total: 0.18000000715255737 [2021-07-07T12:50:24.569Z] INFO: Retrieving Stack Cost... [2021-07-07T12:50:25.517Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-07T12:50:25.779Z] INFO: Archiving Costs [Pipeline] echo [2021-07-07T12:50:25.797Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-07T12:50:26.108Z] ---> logs-deploy.sh [2021-07-07T12:50:26.109Z] lf-activate-venv: SKIPPING [2021-07-07T12:50:26.109Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-641/2 [2021-07-07T12:50:26.109Z] INFO: archiving workspace using pattern(s): [2021-07-07T12:50:27.055Z] Archives upload complete. [2021-07-07T12:50:27.055Z] INFO: archiving logs to Nexus