Branch indexing Connecting to https://api.github.com using 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 main at 5e91c920051fb6e7b4d71bfc4019be227e7c3f77 rather than c361e36596753411470fccb5b3ed15a93da50ef1 Obtained Jenkinsfile from 5e91c920051fb6e7b4d71bfc4019be227e7c3f77 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6778244993431151396.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision db16f8292de5a0132d944c4e76ede2ca4f84da27 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8159364494410260002.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 db16f8292de5a0132d944c4e76ede2ca4f84da27 The recommended git tool is: git 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-653/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-653/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8122237918650009260.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-653/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8288596788054901397.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision db16f8292de5a0132d944c4e76ede2ca4f84da27 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f db16f8292de5a0132d944c4e76ede2ca4f84da27 # timeout=10 Commit message: "Merge pull request #343 from ernestojeda/pipeline-optimizations" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4640917011357186512.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE 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-653/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-653/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5777893295842019077.key > 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 Avoid second fetch Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 db16f8292de5a0132d944c4e76ede2ca4f84da27 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-90 in /w/workspace/dry_go-mod-core-contracts_PR-653 [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-653 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_go-mod-core-contracts_PR-653@tmp/jenkins-gitclient-ssh6450129968377697903.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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_go-mod-core-contracts_PR-653@tmp/jenkins-gitclient-ssh7988423426515313426.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/653/head:refs/remotes/origin/PR-653 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5e91c920051fb6e7b4d71bfc4019be227e7c3f77 into PR head commit c361e36596753411470fccb5b3ed15a93da50ef1 Merge succeeded, producing c361e36596753411470fccb5b3ed15a93da50ef1 Checking out Revision c361e36596753411470fccb5b3ed15a93da50ef1 (PR-653) > git config core.sparsecheckout # timeout=10 > git checkout -f c361e36596753411470fccb5b3ed15a93da50ef1 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_go-mod-core-contracts_PR-653@tmp/jenkins-gitclient-ssh6000415833623531247.key > git merge 5e91c920051fb6e7b4d71bfc4019be227e7c3f77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c361e36596753411470fccb5b3ed15a93da50ef1 # timeout=10 Commit message: "fix: Add missing DBTimestamp for Model To DTO conversion" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object db16f8292de5a0132d944c4e76ede2ca4f84da27 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-24T12:41:57.944Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-24T12:41:58.145Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-24T12:41:58.268Z] ========================================================= [2021-07-24T12:41:58.268Z] EdgeX Global Pipelines Version Info [2021-07-24T12:41:58.268Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-24T12:41:59.546Z] ------------------- [2021-07-24T12:41:59.546Z] stable info: [2021-07-24T12:41:59.546Z] ------------------- [2021-07-24T12:41:59.546Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-24T12:41:59.546Z] Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 [2021-07-24T12:41:59.546Z] Message: update stable to v1.0.197 [2021-07-24T12:42:00.132Z] ------------------- [2021-07-24T12:42:00.132Z] experimental info: [2021-07-24T12:42:00.132Z] ------------------- [2021-07-24T12:42:00.132Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-24T12:42:00.132Z] Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 [2021-07-24T12:42:00.132Z] Message: update experimental to v1.0.197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-24T12:42:00.382Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-07-24T12:42:00.452Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-07-24T12:42:00.513Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-24T12:42:00.582Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-24T12:42:00.640Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-24T12:42:00.699Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-24T12:42:00.767Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-24T12:42:00.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-24T12:42:00.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-24T12:42:00.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-24T12:42:01.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-24T12:42:01.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo [2021-07-24T12:42:01.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-24T12:42:01.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-24T12:42:01.240Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-07-24T12:42:01.308Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-24T12:42:01.367Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-24T12:42:01.427Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-24T12:42:01.486Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-24T12:42:01.549Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-24T12:42:01.617Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-07-24T12:42:01.680Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-07-24T12:42:01.743Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-24T12:42:01.813Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-24T12:42:01.881Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-07-24T12:42:01.956Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-24T12:42:02.030Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-653 [Pipeline] echo [2021-07-24T12:42:02.097Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-653 [Pipeline] echo [2021-07-24T12:42:02.161Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-653 [Pipeline] echo [2021-07-24T12:42:02.216Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c361e36596753411470fccb5b3ed15a93da50ef1 [Pipeline] echo [2021-07-24T12:42:02.271Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c361e36 [Pipeline] echo [2021-07-24T12:42:02.328Z] [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-24T12:42:03.050Z] + git log --format=format:%s -1 c361e36596753411470fccb5b3ed15a93da50ef1 [Pipeline] echo [2021-07-24T12:42:03.126Z] GIT_COMMIT: c361e36596753411470fccb5b3ed15a93da50ef1, Commit Message: fix: Add missing DBTimestamp for Model To DTO conversion [Pipeline] echo [2021-07-24T12:42:03.166Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-24T12:42:03.835Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-24T12:42:03.835Z] [2021-07-24T12:42:03.835Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-24T12:42:04.245Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-24T12:42:04.245Z] latest: Pulling from edgex-devops/git-semver [2021-07-24T12:42:04.245Z] 31603596830f: Pulling fs layer [2021-07-24T12:42:04.245Z] b6dc333f4379: Pulling fs layer [2021-07-24T12:42:04.245Z] 3d9ef1400e77: Pulling fs layer [2021-07-24T12:42:04.245Z] fd332fbdc1db: Pulling fs layer [2021-07-24T12:42:04.245Z] fd332fbdc1db: Waiting [2021-07-24T12:42:04.245Z] b6dc333f4379: Verifying Checksum [2021-07-24T12:42:04.245Z] b6dc333f4379: Download complete [2021-07-24T12:42:04.524Z] 31603596830f: Verifying Checksum [2021-07-24T12:42:04.524Z] 31603596830f: Download complete [2021-07-24T12:42:04.796Z] 31603596830f: Pull complete [2021-07-24T12:42:04.796Z] b6dc333f4379: Pull complete [2021-07-24T12:42:04.796Z] fd332fbdc1db: Verifying Checksum [2021-07-24T12:42:04.796Z] fd332fbdc1db: Download complete [2021-07-24T12:42:04.796Z] 3d9ef1400e77: Verifying Checksum [2021-07-24T12:42:04.796Z] 3d9ef1400e77: Download complete [2021-07-24T12:42:05.392Z] 3d9ef1400e77: Pull complete [2021-07-24T12:42:05.659Z] fd332fbdc1db: Pull complete [2021-07-24T12:42:05.659Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-24T12:42:05.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-24T12:42:05.659Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-24T12:42:05.779Z] prd-centos7-docker-4c-2g-90 does not seem to be running inside a container [2021-07-24T12:42:05.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-653 -v /w/workspace/dry_go-mod-core-contracts_PR-653:/w/workspace/dry_go-mod-core-contracts_PR-653:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-653@tmp:/w/workspace/dry_go-mod-core-contracts_PR-653@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-24T12:42:06.690Z] $ docker top 705dbd316e8e9dd3bdae2206f0a0aa0164129e8331de5a0c940fed01948b34bc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-24T12:42:06.914Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-24T12:42:06.914Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-24T12:42:07.042Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-24T12:42:07.042Z] $ docker exec 705dbd316e8e9dd3bdae2206f0a0aa0164129e8331de5a0c940fed01948b34bc ssh-agent [2021-07-24T12:42:07.159Z] SSH_AUTH_SOCK=/tmp/ssh-NzsWJGXBC31n/agent.14 [2021-07-24T12:42:07.159Z] SSH_AGENT_PID=21 [2021-07-24T12:42:07.171Z] Running ssh-add (command line suppressed) [2021-07-24T12:42:07.263Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-653@tmp/private_key_8712505082089425008.key (/w/workspace/dry_go-mod-core-contracts_PR-653@tmp/private_key_8712505082089425008.key) [2021-07-24T12:42:07.288Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-24T12:42:07.667Z] + git tag --points-at HEAD [Pipeline] } [2021-07-24T12:42:07.697Z] $ docker exec --env ******** --env ******** 705dbd316e8e9dd3bdae2206f0a0aa0164129e8331de5a0c940fed01948b34bc ssh-agent -k [2021-07-24T12:42:07.792Z] unset SSH_AUTH_SOCK; [2021-07-24T12:42:07.792Z] unset SSH_AGENT_PID; [2021-07-24T12:42:07.792Z] echo Agent pid 21 killed; [2021-07-24T12:42:07.812Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-24T12:42:07.908Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-24T12:42:07.908Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-24T12:42:08.020Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-24T12:42:08.019Z] $ docker exec 705dbd316e8e9dd3bdae2206f0a0aa0164129e8331de5a0c940fed01948b34bc ssh-agent [2021-07-24T12:42:08.138Z] SSH_AUTH_SOCK=/tmp/ssh-pvA6LrdIJFDH/agent.53 [2021-07-24T12:42:08.138Z] SSH_AGENT_PID=60 [2021-07-24T12:42:08.147Z] Running ssh-add (command line suppressed) [2021-07-24T12:42:08.241Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-653@tmp/private_key_3751790901707474966.key (/w/workspace/dry_go-mod-core-contracts_PR-653@tmp/private_key_3751790901707474966.key) [2021-07-24T12:42:08.267Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-24T12:42:08.625Z] + git semver init [2021-07-24T12:42:08.626Z] # -> Open(): unable to determine branch for HEAD [2021-07-24T12:42:08.626Z] # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-653/.git [2021-07-24T12:42:08.626Z] # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-653 [2021-07-24T12:42:08.626Z] # $SEMVER_REMOTE_NAME = origin [2021-07-24T12:42:08.626Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-24T12:42:08.626Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-24T12:42:08.626Z] # $SEMVER_BRANCH = PR-653 [2021-07-24T12:42:08.626Z] # $SEMVER_TEMP = /tmp/semver-175323676 [2021-07-24T12:42:08.626Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-07-24T12:42:09.212Z] # '/tmp/semver-175323676' -> '/w/workspace/dry_go-mod-core-contracts_PR-653/.semver' [2021-07-24T12:42:09.212Z] # -> Force: false [2021-07-24T12:42:09.212Z] # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-653/.semver [Pipeline] } [2021-07-24T12:42:09.232Z] $ docker exec --env ******** --env ******** 705dbd316e8e9dd3bdae2206f0a0aa0164129e8331de5a0c940fed01948b34bc ssh-agent -k [2021-07-24T12:42:09.330Z] unset SSH_AUTH_SOCK; [2021-07-24T12:42:09.331Z] unset SSH_AGENT_PID; [2021-07-24T12:42:09.331Z] echo Agent pid 60 killed; [2021-07-24T12:42:09.359Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-24T12:42:09.808Z] + git semver [Pipeline] } [2021-07-24T12:42:09.843Z] $ docker stop --time=1 705dbd316e8e9dd3bdae2206f0a0aa0164129e8331de5a0c940fed01948b34bc [2021-07-24T12:42:11.118Z] $ docker rm -f 705dbd316e8e9dd3bdae2206f0a0aa0164129e8331de5a0c940fed01948b34bc [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-24T12:42:11.569Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-24T12:42:11.966Z] Stashed 1 file(s) [Pipeline] echo [2021-07-24T12:42:11.989Z] [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-24T12:42:27.536Z] Still waiting to schedule task [2021-07-24T12:42:27.537Z] ‘prd-centos7-blackbox-4c-2g-76’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-24T12:42:27.537Z] ‘prd-centos7-blackbox-4c-2g-77’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-24T12:42:27.537Z] ‘prd-centos7-docker-4c-2g-92’ is offline [2021-07-24T12:42:27.537Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-89’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-24T12:42:27.567Z] Still waiting to schedule task [2021-07-24T12:42:27.567Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-89’ is offline [2021-07-24T12:44:24.732Z] Running on prd-centos7-docker-4c-2g-91 in /w/workspace/dry_go-mod-core-contracts_PR-653 [Pipeline] { [Pipeline] ws [2021-07-24T12:44:24.793Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2021-07-24T12:44:24.952Z] Selected Git installation does not exist. Using Default [2021-07-24T12:44:24.952Z] The recommended git tool is: NONE [2021-07-24T12:44:27.770Z] using credential edgex-jenkins-ssh [2021-07-24T12:44:27.786Z] Cloning the remote Git repository [2021-07-24T12:44:26.546Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-07-24T12:44:26.618Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2021-07-24T12:44:26.660Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-07-24T12:44:26.660Z] > git --version # timeout=10 [2021-07-24T12:44:26.681Z] > git --version # 'git version 2.24.4' [2021-07-24T12:44:26.681Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-24T12:44:26.715Z] [INFO] Currently running in a labeled security context [2021-07-24T12:44:26.715Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-24T12:44:26.715Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/1@tmp/jenkins-gitclient-ssh6705726335495090215.key [2021-07-24T12:44:26.745Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-24T12:44:29.452Z] Merging remotes/origin/main commit 5e91c920051fb6e7b4d71bfc4019be227e7c3f77 into PR head commit c361e36596753411470fccb5b3ed15a93da50ef1 [2021-07-24T12:44:29.590Z] Merge succeeded, producing c361e36596753411470fccb5b3ed15a93da50ef1 [2021-07-24T12:44:29.591Z] Checking out Revision c361e36596753411470fccb5b3ed15a93da50ef1 (PR-653) [2021-07-24T12:44:28.912Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-07-24T12:44:28.921Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-24T12:44:28.941Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-07-24T12:44:28.965Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-07-24T12:44:28.965Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-24T12:44:28.966Z] [INFO] Currently running in a labeled security context [2021-07-24T12:44:28.966Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-24T12:44:28.966Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/1@tmp/jenkins-gitclient-ssh1871851221498025457.key [2021-07-24T12:44:28.979Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/653/head:refs/remotes/origin/PR-653 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-24T12:44:29.461Z] > git config core.sparsecheckout # timeout=10 [2021-07-24T12:44:29.471Z] > git checkout -f c361e36596753411470fccb5b3ed15a93da50ef1 # timeout=10 [2021-07-24T12:44:29.529Z] > git remote # timeout=10 [2021-07-24T12:44:29.536Z] > git config --get remote.origin.url # timeout=10 [2021-07-24T12:44:29.547Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-24T12:44:29.549Z] [INFO] Currently running in a labeled security context [2021-07-24T12:44:29.549Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-24T12:44:29.549Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/1@tmp/jenkins-gitclient-ssh6662553997458527040.key [2021-07-24T12:44:29.557Z] > git merge 5e91c920051fb6e7b4d71bfc4019be227e7c3f77 # timeout=10 [2021-07-24T12:44:29.573Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-24T12:44:29.590Z] > git config core.sparsecheckout # timeout=10 [2021-07-24T12:44:29.599Z] > git checkout -f c361e36596753411470fccb5b3ed15a93da50ef1 # timeout=10 [2021-07-24T12:44:33.398Z] Commit message: "fix: Add missing DBTimestamp for Model To DTO conversion" [2021-07-24T12:44:33.422Z] > git --version # timeout=10 [2021-07-24T12:44:33.433Z] > git --version # 'git version 2.24.4' [2021-07-24T12:44:33.445Z] fatal: bad object db16f8292de5a0132d944c4e76ede2ca4f84da27 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-07-24T12:44:34.199Z] ========================================================= [2021-07-24T12:44:34.199Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-24T12:44:34.199Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-24T12:44:34.804Z] + 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-24T12:44:34.804Z] Sending build context to Docker daemon 2.936MB [2021-07-24T12:44:34.804Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-07-24T12:44:34.804Z] Step 2/7 : FROM ${BASE} [2021-07-24T12:44:35.073Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-24T12:44:35.074Z] 540db60ca938: Pulling fs layer [2021-07-24T12:44:35.074Z] adcc1eea9eea: Pulling fs layer [2021-07-24T12:44:35.074Z] 4c4ab2625f07: Pulling fs layer [2021-07-24T12:44:35.074Z] 0773c198feca: Pulling fs layer [2021-07-24T12:44:35.074Z] 345f892a5656: Pulling fs layer [2021-07-24T12:44:35.074Z] 4796506630df: Pulling fs layer [2021-07-24T12:44:35.074Z] cc55df3e53f1: Pulling fs layer [2021-07-24T12:44:35.074Z] 4d027b6c602c: Pulling fs layer [2021-07-24T12:44:35.074Z] 449e75d2c14e: Pulling fs layer [2021-07-24T12:44:35.074Z] 0773c198feca: Waiting [2021-07-24T12:44:35.074Z] 345f892a5656: Waiting [2021-07-24T12:44:35.074Z] 4796506630df: Waiting [2021-07-24T12:44:35.074Z] cc55df3e53f1: Waiting [2021-07-24T12:44:35.074Z] 4d027b6c602c: Waiting [2021-07-24T12:44:35.074Z] 449e75d2c14e: Waiting [2021-07-24T12:44:35.074Z] 4c4ab2625f07: Verifying Checksum [2021-07-24T12:44:35.074Z] 4c4ab2625f07: Download complete [2021-07-24T12:44:35.074Z] adcc1eea9eea: Verifying Checksum [2021-07-24T12:44:35.074Z] adcc1eea9eea: Download complete [2021-07-24T12:44:35.074Z] 345f892a5656: Verifying Checksum [2021-07-24T12:44:35.074Z] 345f892a5656: Download complete [2021-07-24T12:44:35.074Z] 4796506630df: Verifying Checksum [2021-07-24T12:44:35.074Z] 4796506630df: Download complete [2021-07-24T12:44:35.345Z] cc55df3e53f1: Verifying Checksum [2021-07-24T12:44:35.345Z] cc55df3e53f1: Download complete [2021-07-24T12:44:35.345Z] 540db60ca938: Verifying Checksum [2021-07-24T12:44:35.345Z] 540db60ca938: Download complete [2021-07-24T12:44:35.615Z] 540db60ca938: Pull complete [2021-07-24T12:44:35.615Z] adcc1eea9eea: Pull complete [2021-07-24T12:44:35.882Z] 4c4ab2625f07: Pull complete [2021-07-24T12:44:36.150Z] 4d027b6c602c: Verifying Checksum [2021-07-24T12:44:36.150Z] 4d027b6c602c: Download complete [2021-07-24T12:44:38.726Z] 449e75d2c14e: Verifying Checksum [2021-07-24T12:44:38.726Z] 449e75d2c14e: Download complete [2021-07-24T12:44:39.689Z] 0773c198feca: Verifying Checksum [2021-07-24T12:44:39.689Z] 0773c198feca: Download complete [2021-07-24T12:44:43.042Z] 0773c198feca: Pull complete [2021-07-24T12:44:43.312Z] 345f892a5656: Pull complete [2021-07-24T12:44:43.312Z] 4796506630df: Pull complete [2021-07-24T12:44:43.312Z] cc55df3e53f1: Pull complete [2021-07-24T12:44:43.588Z] 4d027b6c602c: Pull complete [2021-07-24T12:44:45.539Z] 449e75d2c14e: Pull complete [2021-07-24T12:44:45.539Z] Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 [2021-07-24T12:44:45.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-24T12:44:45.539Z] ---> 0d28375d9b5b [2021-07-24T12:44:45.539Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-24T12:44:46.947Z] ---> Running in b2dfc94846e2 [2021-07-24T12:44:46.947Z] Removing intermediate container b2dfc94846e2 [2021-07-24T12:44:46.947Z] ---> f55f3b9e77f2 [2021-07-24T12:44:46.947Z] Step 4/7 : RUN apk add bash [2021-07-24T12:44:46.947Z] ---> Running in dca01c8cf341 [2021-07-24T12:44:47.215Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-24T12:44:48.179Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-24T12:44:48.452Z] OK: 149 MiB in 40 packages [2021-07-24T12:44:48.718Z] Removing intermediate container dca01c8cf341 [2021-07-24T12:44:48.718Z] ---> bbfdd94ac8ea [2021-07-24T12:44:48.718Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-07-24T12:44:48.718Z] ---> Running in 538004bb10e0 [2021-07-24T12:44:48.718Z] Removing intermediate container 538004bb10e0 [2021-07-24T12:44:48.718Z] ---> 2cad11a97727 [2021-07-24T12:44:48.718Z] Step 6/7 : COPY go.mod . [2021-07-24T12:44:48.985Z] ---> b83bc3f4aee7 [2021-07-24T12:44:48.985Z] Step 7/7 : RUN go mod download [2021-07-24T12:44:48.985Z] ---> Running in b00527f2cf77 [2021-07-24T12:45:21.277Z] Removing intermediate container b00527f2cf77 [2021-07-24T12:45:21.277Z] ---> ad2e2f0277ac [2021-07-24T12:45:21.277Z] Successfully built ad2e2f0277ac [2021-07-24T12:45:21.277Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-24T12:45:21.683Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-24T12:45:21.683Z] . [Pipeline] withDockerContainer [2021-07-24T12:45:21.797Z] prd-centos7-docker-4c-2g-91 does not seem to be running inside a container [2021-07-24T12:45:21.852Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-07-24T12:45:22.224Z] $ docker top 279ab5ea8908de1d0c94c0f5c16c5103d8609eb7b16f10a6797070d1ffa730a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-24T12:45:22.683Z] + go version [2021-07-24T12:45:22.683Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-24T12:45:22.707Z] $ docker stop --time=1 279ab5ea8908de1d0c94c0f5c16c5103d8609eb7b16f10a6797070d1ffa730a2 [2021-07-24T12:45:23.909Z] $ docker rm -f 279ab5ea8908de1d0c94c0f5c16c5103d8609eb7b16f10a6797070d1ffa730a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-24T12:45:24.759Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-24T12:45:24.759Z] . [Pipeline] withDockerContainer [2021-07-24T12:45:24.870Z] prd-centos7-docker-4c-2g-91 does not seem to be running inside a container [2021-07-24T12:45:24.922Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-07-24T12:45:25.283Z] $ docker top 75d1a0cd0f50cacfc291e636764fae1809629959fc7ece0f60662ffb1d7ce9e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-24T12:45:25.742Z] + go mod tidy [Pipeline] sh [2021-07-24T12:45:26.351Z] + make test [2021-07-24T12:45:26.351Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-24T12:45:26.630Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-07-24T12:45:30.338Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-95 in /w/workspace/dry_go-mod-core-contracts_PR-653 [Pipeline] { [Pipeline] ws [2021-07-24T12:45:30.395Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2021-07-24T12:45:30.687Z] Selected Git installation does not exist. Using Default [2021-07-24T12:45:30.687Z] The recommended git tool is: NONE [2021-07-24T12:45:36.794Z] using credential edgex-jenkins-ssh [2021-07-24T12:45:36.846Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.084s coverage: 83.5% of statements [2021-07-24T12:45:36.846Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-07-24T12:45:36.846Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-07-24T12:45:36.864Z] Cloning the remote Git repository [2021-07-24T12:45:36.940Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-07-24T12:45:37.436Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] [2021-07-24T12:45:37.710Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.008s coverage: 26.3% of statements [2021-07-24T12:45:37.710Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] [2021-07-24T12:45:37.160Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2021-07-24T12:45:37.242Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-07-24T12:45:37.243Z] > git --version # timeout=10 [2021-07-24T12:45:37.263Z] > git --version # 'git version 2.17.1' [2021-07-24T12:45:37.265Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-24T12:45:37.384Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-24T12:45:39.154Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.012s coverage: 46.9% of statements [2021-07-24T12:45:39.155Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.027s coverage: 90.0% of statements [2021-07-24T12:45:39.155Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.035s coverage: 86.2% of statements [2021-07-24T12:45:38.792Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-07-24T12:45:38.813Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-24T12:45:38.844Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-07-24T12:45:38.905Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-07-24T12:45:38.907Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-24T12:45:38.925Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/653/head:refs/remotes/origin/PR-653 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-24T12:45:39.677Z] Merging remotes/origin/main commit 5e91c920051fb6e7b4d71bfc4019be227e7c3f77 into PR head commit c361e36596753411470fccb5b3ed15a93da50ef1 [2021-07-24T12:45:39.745Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.006s coverage: 59.5% of statements [2021-07-24T12:45:39.745Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.005s coverage: 36.1% of statements [2021-07-24T12:45:39.974Z] Merge succeeded, producing c361e36596753411470fccb5b3ed15a93da50ef1 [2021-07-24T12:45:39.975Z] Checking out Revision c361e36596753411470fccb5b3ed15a93da50ef1 (PR-653) [2021-07-24T12:45:40.013Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.008s coverage: 49.4% of statements [2021-07-24T12:45:40.013Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-07-24T12:45:39.702Z] > git config core.sparsecheckout # timeout=10 [2021-07-24T12:45:39.729Z] > git checkout -f c361e36596753411470fccb5b3ed15a93da50ef1 # timeout=10 [2021-07-24T12:45:39.862Z] > git remote # timeout=10 [2021-07-24T12:45:39.887Z] > git config --get remote.origin.url # timeout=10 [2021-07-24T12:45:39.920Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-24T12:45:39.931Z] > git merge 5e91c920051fb6e7b4d71bfc4019be227e7c3f77 # timeout=10 [2021-07-24T12:45:39.956Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-24T12:45:39.984Z] > git config core.sparsecheckout # timeout=10 [2021-07-24T12:45:40.011Z] > git checkout -f c361e36596753411470fccb5b3ed15a93da50ef1 # timeout=10 [2021-07-24T12:45:44.634Z] Commit message: "fix: Add missing DBTimestamp for Model To DTO conversion" [2021-07-24T12:45:44.709Z] > git --version # timeout=10 [2021-07-24T12:45:44.727Z] > git --version # 'git version 2.17.1' [2021-07-24T12:45:44.745Z] fatal: bad object db16f8292de5a0132d944c4e76ede2ca4f84da27 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2021-07-24T12:45:45.390Z] gofmt -l . [2021-07-24T12:45:45.390Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-24T12:45:45.684Z] $ docker stop --time=1 75d1a0cd0f50cacfc291e636764fae1809629959fc7ece0f60662ffb1d7ce9e6 [2021-07-24T12:45:47.124Z] $ docker rm -f 75d1a0cd0f50cacfc291e636764fae1809629959fc7ece0f60662ffb1d7ce9e6 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] echo [2021-07-24T12:45:47.384Z] ========================================================= [2021-07-24T12:45:47.384Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-24T12:45:47.385Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-24T12:45:47.598Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-24T12:45:47.947Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-07-24T12:45:48.037Z] + 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 . [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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-24T12:45:49.044Z] Sending build context to Docker daemon 2.936MB [2021-07-24T12:45:49.206Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-24T12:45:49.206Z] [2021-07-24T12:45:49.206Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-24T12:45:49.321Z] Step 1/7 : ARG BASE=golang:1.16-alpine [2021-07-24T12:45:49.321Z] Step 2/7 : FROM ${BASE} [2021-07-24T12:45:49.578Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-24T12:45:49.578Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-24T12:45:49.578Z] b4d181a07f80: Pulling fs layer [2021-07-24T12:45:49.578Z] a1111a8f2ec3: Pulling fs layer [2021-07-24T12:45:49.578Z] ed53099fbce6: Pulling fs layer [2021-07-24T12:45:49.578Z] dc539afda2c1: Pulling fs layer [2021-07-24T12:45:49.578Z] 77bc0d833cb6: Pulling fs layer [2021-07-24T12:45:49.578Z] 9065ff56babe: Pulling fs layer [2021-07-24T12:45:49.578Z] d287ab97295c: Pulling fs layer [2021-07-24T12:45:49.578Z] dc539afda2c1: Waiting [2021-07-24T12:45:49.578Z] 77bc0d833cb6: Waiting [2021-07-24T12:45:49.578Z] 9065ff56babe: Waiting [2021-07-24T12:45:49.578Z] d287ab97295c: Waiting [2021-07-24T12:45:49.845Z] a1111a8f2ec3: Verifying Checksum [2021-07-24T12:45:49.845Z] a1111a8f2ec3: Download complete [2021-07-24T12:45:49.845Z] dc539afda2c1: Verifying Checksum [2021-07-24T12:45:49.845Z] dc539afda2c1: Download complete [2021-07-24T12:45:50.113Z] 77bc0d833cb6: Verifying Checksum [2021-07-24T12:45:50.113Z] 77bc0d833cb6: Download complete [2021-07-24T12:45:50.113Z] 9065ff56babe: Verifying Checksum [2021-07-24T12:45:50.113Z] 9065ff56babe: Download complete [2021-07-24T12:45:50.378Z] ed53099fbce6: Verifying Checksum [2021-07-24T12:45:50.378Z] ed53099fbce6: Download complete [2021-07-24T12:45:50.970Z] b4d181a07f80: Verifying Checksum [2021-07-24T12:45:50.970Z] b4d181a07f80: Download complete [2021-07-24T12:45:51.316Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-24T12:45:51.316Z] 595b0fe564bb: Pulling fs layer [2021-07-24T12:45:51.316Z] 24495759ef45: Pulling fs layer [2021-07-24T12:45:51.316Z] d148012ef14d: Pulling fs layer [2021-07-24T12:45:51.316Z] cb65c68fc2e2: Pulling fs layer [2021-07-24T12:45:51.316Z] 093eec477d81: Pulling fs layer [2021-07-24T12:45:51.316Z] a6d5b2bbb924: Pulling fs layer [2021-07-24T12:45:51.316Z] 2446dc1eb7d3: Pulling fs layer [2021-07-24T12:45:51.316Z] 596795e73e0f: Pulling fs layer [2021-07-24T12:45:51.316Z] a6d5b2bbb924: Waiting [2021-07-24T12:45:51.316Z] 2446dc1eb7d3: Waiting [2021-07-24T12:45:51.316Z] 596795e73e0f: Waiting [2021-07-24T12:45:51.316Z] 093eec477d81: Waiting [2021-07-24T12:45:51.316Z] cb65c68fc2e2: Waiting [2021-07-24T12:45:51.316Z] d148012ef14d: Verifying Checksum [2021-07-24T12:45:51.316Z] d148012ef14d: Download complete [2021-07-24T12:45:51.316Z] 24495759ef45: Verifying Checksum [2021-07-24T12:45:51.316Z] 24495759ef45: Download complete [2021-07-24T12:45:51.316Z] 093eec477d81: Verifying Checksum [2021-07-24T12:45:51.316Z] 093eec477d81: Download complete [2021-07-24T12:45:51.316Z] 595b0fe564bb: Verifying Checksum [2021-07-24T12:45:51.316Z] 595b0fe564bb: Download complete [2021-07-24T12:45:51.316Z] a6d5b2bbb924: Verifying Checksum [2021-07-24T12:45:51.316Z] a6d5b2bbb924: Download complete [2021-07-24T12:45:51.316Z] 2446dc1eb7d3: Verifying Checksum [2021-07-24T12:45:51.316Z] 2446dc1eb7d3: Download complete [2021-07-24T12:45:51.941Z] 595b0fe564bb: Pull complete [2021-07-24T12:45:51.943Z] b4d181a07f80: Pull complete [2021-07-24T12:45:52.211Z] a1111a8f2ec3: Pull complete [2021-07-24T12:45:52.481Z] ed53099fbce6: Pull complete [2021-07-24T12:45:52.558Z] 24495759ef45: Pull complete [2021-07-24T12:45:52.749Z] dc539afda2c1: Pull complete [2021-07-24T12:45:53.016Z] 77bc0d833cb6: Pull complete [2021-07-24T12:45:53.016Z] 9065ff56babe: Pull complete [2021-07-24T12:45:53.175Z] d148012ef14d: Pull complete [2021-07-24T12:45:54.176Z] 596795e73e0f: Verifying Checksum [2021-07-24T12:45:54.176Z] 596795e73e0f: Download complete [2021-07-24T12:45:55.172Z] cb65c68fc2e2: Verifying Checksum [2021-07-24T12:45:55.172Z] cb65c68fc2e2: Download complete [2021-07-24T12:45:56.351Z] d287ab97295c: Verifying Checksum [2021-07-24T12:45:56.351Z] d287ab97295c: Download complete [2021-07-24T12:46:00.615Z] d287ab97295c: Pull complete [2021-07-24T12:46:00.615Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-24T12:46:00.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-24T12:46:00.615Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-24T12:46:00.726Z] prd-centos7-docker-4c-2g-91 does not seem to be running inside a container [2021-07-24T12:46:00.774Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-24T12:46:03.103Z] $ docker top d582a9d538accecf8f7ae40737185084727ed349ad246fb628d03ba00c6e3abe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-24T12:46:03.669Z] ---> job-cost.sh [2021-07-24T12:46:03.669Z] lf-activate-venv: SKIPPING [2021-07-24T12:46:03.669Z] INFO: No Stack... [2021-07-24T12:46:04.631Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-24T12:46:04.898Z] INFO: Archiving Costs [Pipeline] sh [2021-07-24T12:46:05.234Z] + cat /w/workspace/go-mod-core-contracts/1/archives/cost.csv [2021-07-24T12:46:05.234Z] + cut -d, -f6 [Pipeline] lock [2021-07-24T12:46:05.304Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-653-1-stack-cost] [2021-07-24T12:46:05.311Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-653-1-stack-cost] did not exist. Created. [2021-07-24T12:46:05.311Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-653-1-stack-cost] [Pipeline] { [Pipeline] unstash [2021-07-24T12:46:05.432Z] cb65c68fc2e2: Pull complete [Pipeline] sh [2021-07-24T12:46:05.707Z] 093eec477d81: Pull complete [2021-07-24T12:46:05.752Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-24T12:46:05.821Z] Stashed 1 file(s) [Pipeline] } [2021-07-24T12:46:05.845Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-653-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-24T12:46:05.927Z] $ docker stop --time=1 d582a9d538accecf8f7ae40737185084727ed349ad246fb628d03ba00c6e3abe [2021-07-24T12:46:06.310Z] a6d5b2bbb924: Pull complete [2021-07-24T12:46:06.587Z] 2446dc1eb7d3: Pull complete [2021-07-24T12:46:07.095Z] $ docker rm -f d582a9d538accecf8f7ae40737185084727ed349ad246fb628d03ba00c6e3abe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-24T12:46:10.892Z] 596795e73e0f: Pull complete [2021-07-24T12:46:10.892Z] Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 [2021-07-24T12:46:10.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-24T12:46:10.892Z] ---> d9e956139c92 [2021-07-24T12:46:10.892Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-24T12:46:13.528Z] ---> Running in 35bba8b9b8c6 [2021-07-24T12:46:13.528Z] Removing intermediate container 35bba8b9b8c6 [2021-07-24T12:46:13.528Z] ---> aaa1c16b235e [2021-07-24T12:46:13.528Z] Step 4/7 : RUN apk add bash [2021-07-24T12:46:13.802Z] ---> Running in 0ac700eaa411 [2021-07-24T12:46:15.246Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-24T12:46:16.235Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-24T12:46:17.242Z] OK: 138 MiB in 40 packages [2021-07-24T12:46:18.288Z] Removing intermediate container 0ac700eaa411 [2021-07-24T12:46:18.288Z] ---> 0725ef6c135c [2021-07-24T12:46:18.288Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2021-07-24T12:46:18.562Z] ---> Running in 60a34a40c8a6 [2021-07-24T12:46:19.166Z] Removing intermediate container 60a34a40c8a6 [2021-07-24T12:46:19.166Z] ---> 1421afc798d5 [2021-07-24T12:46:19.166Z] Step 6/7 : COPY go.mod . [2021-07-24T12:46:20.148Z] ---> 57dd32e57d1d [2021-07-24T12:46:20.148Z] Step 7/7 : RUN go mod download [2021-07-24T12:46:20.148Z] ---> Running in 4d1f777ee7f4 [2021-07-24T12:47:41.983Z] Removing intermediate container 4d1f777ee7f4 [2021-07-24T12:47:41.983Z] ---> dca9a8f54687 [2021-07-24T12:47:41.983Z] Successfully built dca9a8f54687 [2021-07-24T12:47:41.983Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-24T12:47:42.711Z] + docker inspect -f . ci-base-image-arm64 [2021-07-24T12:47:42.711Z] . [Pipeline] withDockerContainer [2021-07-24T12:47:43.071Z] prd-ubuntu18.04-docker-arm64-4c-16g-95 does not seem to be running inside a container [2021-07-24T12:47:43.159Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-07-24T12:47:45.016Z] $ docker top 4e057c2de35cb6aedec3a9b2d87c3eef77441ac9c575a452c5877719616a6832 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-24T12:47:46.113Z] + go version [2021-07-24T12:47:46.113Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-24T12:47:46.147Z] $ docker stop --time=1 4e057c2de35cb6aedec3a9b2d87c3eef77441ac9c575a452c5877719616a6832 [2021-07-24T12:47:48.115Z] $ docker rm -f 4e057c2de35cb6aedec3a9b2d87c3eef77441ac9c575a452c5877719616a6832 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-24T12:47:49.197Z] + docker inspect -f . ci-base-image-arm64 [2021-07-24T12:47:49.197Z] . [Pipeline] withDockerContainer [2021-07-24T12:47:49.502Z] prd-ubuntu18.04-docker-arm64-4c-16g-95 does not seem to be running inside a container [2021-07-24T12:47:49.585Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-07-24T12:47:51.284Z] $ docker top 5291e2fa4bd06487cfd6c5c9ed35d372c17d544be6b673b923f8ffcbe0a46a5f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-24T12:47:52.339Z] + go mod tidy [Pipeline] sh [2021-07-24T12:47:54.012Z] + make test [2021-07-24T12:47:54.012Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-24T12:47:55.002Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-07-24T12:48:27.578Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.395s coverage: 83.5% of statements [2021-07-24T12:48:27.578Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-07-24T12:48:27.578Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-07-24T12:48:27.578Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] [2021-07-24T12:48:27.578Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.051s coverage: 26.3% of statements [2021-07-24T12:48:27.578Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] [2021-07-24T12:48:31.007Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.088s coverage: 46.9% of statements [2021-07-24T12:48:31.007Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.041s coverage: 90.0% of statements [2021-07-24T12:48:31.993Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.282s coverage: 86.2% of statements [2021-07-24T12:48:31.993Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.052s coverage: 59.5% of statements [2021-07-24T12:48:31.993Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.012s coverage: 36.1% of statements [2021-07-24T12:48:33.437Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.037s coverage: 49.4% of statements [2021-07-24T12:48:33.437Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-07-24T12:48:55.643Z] gofmt -l . [2021-07-24T12:48:55.643Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-24T12:48:55.675Z] $ docker stop --time=1 5291e2fa4bd06487cfd6c5c9ed35d372c17d544be6b673b923f8ffcbe0a46a5f [2021-07-24T12:48:57.699Z] $ docker rm -f 5291e2fa4bd06487cfd6c5c9ed35d372c17d544be6b673b923f8ffcbe0a46a5f [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-24T12:48:58.605Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-24T12:48:58.646Z] Warning: overwriting stash ‘coverage-report’ [2021-07-24T12:48:59.267Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-24T12:49:00.396Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-24T12:49:00.668Z] [2021-07-24T12:49:00.668Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-07-24T12:49:01.078Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-24T12:49:01.354Z] arm64: Pulling from edgex-lftools-log-publisher [2021-07-24T12:49:01.354Z] 448f6bf000e3: Pulling fs layer [2021-07-24T12:49:01.354Z] f757da607395: Pulling fs layer [2021-07-24T12:49:01.354Z] 05883995daec: Pulling fs layer [2021-07-24T12:49:01.354Z] 8603b9c90790: Pulling fs layer [2021-07-24T12:49:01.354Z] 1560dd03e051: Pulling fs layer [2021-07-24T12:49:01.354Z] 27f5ce0e4adf: Pulling fs layer [2021-07-24T12:49:01.354Z] c2d8d7efcc4b: Pulling fs layer [2021-07-24T12:49:01.354Z] 1560dd03e051: Waiting [2021-07-24T12:49:01.354Z] 27f5ce0e4adf: Waiting [2021-07-24T12:49:01.354Z] c2d8d7efcc4b: Waiting [2021-07-24T12:49:01.354Z] 8603b9c90790: Waiting [2021-07-24T12:49:01.645Z] f757da607395: Verifying Checksum [2021-07-24T12:49:01.645Z] f757da607395: Download complete [2021-07-24T12:49:01.645Z] 8603b9c90790: Verifying Checksum [2021-07-24T12:49:01.645Z] 8603b9c90790: Download complete [2021-07-24T12:49:01.922Z] 1560dd03e051: Verifying Checksum [2021-07-24T12:49:01.922Z] 1560dd03e051: Download complete [2021-07-24T12:49:01.922Z] 27f5ce0e4adf: Download complete [2021-07-24T12:49:01.922Z] 05883995daec: Verifying Checksum [2021-07-24T12:49:02.917Z] 448f6bf000e3: Verifying Checksum [2021-07-24T12:49:02.918Z] 448f6bf000e3: Download complete [2021-07-24T12:49:06.326Z] c2d8d7efcc4b: Verifying Checksum [2021-07-24T12:49:06.326Z] c2d8d7efcc4b: Download complete [2021-07-24T12:49:06.326Z] 448f6bf000e3: Pull complete [2021-07-24T12:49:07.311Z] f757da607395: Pull complete [2021-07-24T12:49:08.755Z] 05883995daec: Pull complete [2021-07-24T12:49:09.031Z] 8603b9c90790: Pull complete [2021-07-24T12:49:10.017Z] 1560dd03e051: Pull complete [2021-07-24T12:49:10.296Z] 27f5ce0e4adf: Pull complete [2021-07-24T12:49:25.417Z] c2d8d7efcc4b: Pull complete [2021-07-24T12:49:25.417Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-07-24T12:49:25.417Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-24T12:49:25.417Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-07-24T12:49:25.650Z] prd-ubuntu18.04-docker-arm64-4c-16g-95 does not seem to be running inside a container [2021-07-24T12:49:25.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-07-24T12:49:28.916Z] $ docker top ee9efd6a615afdbdd72bd22356b0a8a7d34bd94ffbd0dbd546786c0f27782350 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-24T12:49:29.945Z] ---> job-cost.sh [2021-07-24T12:49:29.945Z] lf-activate-venv: SKIPPING [2021-07-24T12:49:29.945Z] INFO: No Stack... [2021-07-24T12:49:30.921Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-24T12:49:31.193Z] INFO: Archiving Costs [Pipeline] sh [2021-07-24T12:49:31.905Z] + cut -d, -f6 [2021-07-24T12:49:31.905Z] + cat /w/workspace/go-mod-core-contracts/1/archives/cost.csv [Pipeline] lock [2021-07-24T12:49:32.026Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-653-1-stack-cost] [2021-07-24T12:49:32.035Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-653-1-stack-cost] did not exist. Created. [2021-07-24T12:49:32.035Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-653-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-24T12:49:32.861Z] /w/workspace/go-mod-core-contracts/1@tmp/durable-b223e2d7/script.sh: 1: /w/workspace/go-mod-core-contracts/1@tmp/durable-b223e2d7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-24T12:49:33.640Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-24T12:49:33.680Z] Warning: overwriting stash ‘stack-cost’ [2021-07-24T12:49:33.728Z] Stashed 1 file(s) [Pipeline] } [2021-07-24T12:49:33.760Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-653-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-24T12:49:33.832Z] $ docker stop --time=1 ee9efd6a615afdbdd72bd22356b0a8a7d34bd94ffbd0dbd546786c0f27782350 [2021-07-24T12:49:35.502Z] $ docker rm -f ee9efd6a615afdbdd72bd22356b0a8a7d34bd94ffbd0dbd546786c0f27782350 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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-24T12:49:36.766Z] provisioning config files... [2021-07-24T12:49:36.784Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-653@tmp/config4493994604633155241tmp [Pipeline] { [Pipeline] sh [2021-07-24T12:49:37.148Z] + set +x [2021-07-24T12:49:37.148Z] + curl -s https://codecov.io/bash [2021-07-24T12:49:37.148Z] + bash -s -- [2021-07-24T12:49:37.148Z] [2021-07-24T12:49:37.148Z] _____ _ [2021-07-24T12:49:37.148Z] / ____| | | [2021-07-24T12:49:37.148Z] | | ___ __| | ___ ___ _____ __ [2021-07-24T12:49:37.148Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-24T12:49:37.148Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-24T12:49:37.148Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-24T12:49:37.148Z] Bash-1.0.6 [2021-07-24T12:49:37.148Z] [2021-07-24T12:49:37.148Z] [2021-07-24T12:49:37.148Z] ==> git version 2.24.4 found [2021-07-24T12:49:37.148Z] ==> 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-24T12:49:37.148Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-24T12:49:37.148Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-24T12:49:37.148Z] ==> Jenkins CI detected. [2021-07-24T12:49:37.148Z] current dir:  /w/workspace/dry_go-mod-core-contracts_PR-653 [2021-07-24T12:49:37.148Z] project root: . [2021-07-24T12:49:37.148Z] --> token set from env [2021-07-24T12:49:37.148Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-24T12:49:37.148Z] ==> Running gcov in . (disable via -X gcov) [2021-07-24T12:49:37.148Z] ==> Python coveragepy not found [2021-07-24T12:49:37.148Z] ==> Searching for coverage reports in: [2021-07-24T12:49:37.148Z] + . [2021-07-24T12:49:37.148Z] -> Found 1 reports [2021-07-24T12:49:37.148Z] ==> Detecting git/mercurial file structure [2021-07-24T12:49:37.417Z] ==> Reading reports [2021-07-24T12:49:37.417Z] + ./coverage.out bytes=101588 [2021-07-24T12:49:37.417Z] ==> Appending adjustments [2021-07-24T12:49:37.417Z] https://docs.codecov.io/docs/fixing-reports [2021-07-24T12:49:37.686Z] + Found adjustments [2021-07-24T12:49:37.686Z] ==> Gzipping contents [2021-07-24T12:49:37.686Z] 16K /tmp/codecov.5YikFt.gz [2021-07-24T12:49:37.686Z] ==> Uploading reports [2021-07-24T12:49:37.686Z] url: https://codecov.io [2021-07-24T12:49:37.686Z] query: branch=PR-653&commit=c361e36596753411470fccb5b3ed15a93da50ef1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-653%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=653&job=&cmd_args= [2021-07-24T12:49:37.958Z] -> Pinging Codecov [2021-07-24T12:49:37.958Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=ed6cf6b4-2a06-43fb-b229-bfa3e55f90ff&branch=PR-653&commit=c361e36596753411470fccb5b3ed15a93da50ef1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-653%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=653&job=&cmd_args= [2021-07-24T12:49:38.546Z] -> Uploading to [2021-07-24T12:49:38.546Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-24/71470A77251A30514AAF9C0BB2E5B6CE/c361e36596753411470fccb5b3ed15a93da50ef1/a2afde25-8c62-4049-b000-40d376ad6d2c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210724%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210724T124938Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9a2428618c53f34b2130086d1c924715a0489f28e3cb54f6f9fe4eaab28ca23d [2021-07-24T12:49:38.546Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-24T12:49:38.546Z] Dload Upload Total Spent Left Speed [2021-07-24T12:49:38.814Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15219 0 0 100 15219 0 30107 --:--:-- --:--:-- --:--:-- 30077 100 15219 0 0 100 15219 0 30099 --:--:-- --:--:-- --:--:-- 30077 [2021-07-24T12:49:38.814Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/c361e36596753411470fccb5b3ed15a93da50ef1 [Pipeline] } [2021-07-24T12:49:38.840Z] 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-24T12:49:41.287Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-24T12:49:41.939Z] ---> package-listing.sh [2021-07-24T12:49:41.939Z] ++ facter osfamily [2021-07-24T12:49:41.939Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-24T12:49:42.209Z] + OS_FAMILY=redhat [2021-07-24T12:49:42.209Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-653 [2021-07-24T12:49:42.209Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-24T12:49:42.209Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-24T12:49:42.209Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-24T12:49:42.209Z] + PACKAGES=/tmp/packages_start.txt [2021-07-24T12:49:42.209Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-653 ']' [2021-07-24T12:49:42.209Z] + PACKAGES=/tmp/packages_end.txt [2021-07-24T12:49:42.209Z] + case "${OS_FAMILY}" in [2021-07-24T12:49:42.209Z] + sort [2021-07-24T12:49:42.209Z] + rpm -qa [2021-07-24T12:49:42.794Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-24T12:49:42.794Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-24T12:49:42.794Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-24T12:49:42.794Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-653 ']' [2021-07-24T12:49:42.794Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-653/archives/ [2021-07-24T12:49:42.794Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-653/archives/ [Pipeline] echo [2021-07-24T12:49:42.837Z] 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-653/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-24T12:49:43.164Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-24T12:49:43.799Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-24T12:49:43.799Z] [2021-07-24T12:49:43.799Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-24T12:49:44.182Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-24T12:49:44.182Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-24T12:49:44.182Z] b4d181a07f80: Pulling fs layer [2021-07-24T12:49:44.182Z] a1111a8f2ec3: Pulling fs layer [2021-07-24T12:49:44.182Z] ed53099fbce6: Pulling fs layer [2021-07-24T12:49:44.182Z] dc539afda2c1: Pulling fs layer [2021-07-24T12:49:44.182Z] 77bc0d833cb6: Pulling fs layer [2021-07-24T12:49:44.182Z] 9065ff56babe: Pulling fs layer [2021-07-24T12:49:44.182Z] d287ab97295c: Pulling fs layer [2021-07-24T12:49:44.182Z] 77bc0d833cb6: Waiting [2021-07-24T12:49:44.182Z] 9065ff56babe: Waiting [2021-07-24T12:49:44.182Z] d287ab97295c: Waiting [2021-07-24T12:49:44.182Z] dc539afda2c1: Waiting [2021-07-24T12:49:44.448Z] a1111a8f2ec3: Verifying Checksum [2021-07-24T12:49:44.448Z] a1111a8f2ec3: Download complete [2021-07-24T12:49:44.448Z] dc539afda2c1: Verifying Checksum [2021-07-24T12:49:44.448Z] dc539afda2c1: Download complete [2021-07-24T12:49:44.717Z] ed53099fbce6: Download complete [2021-07-24T12:49:44.717Z] 77bc0d833cb6: Verifying Checksum [2021-07-24T12:49:44.717Z] 77bc0d833cb6: Download complete [2021-07-24T12:49:44.717Z] 9065ff56babe: Verifying Checksum [2021-07-24T12:49:44.717Z] 9065ff56babe: Download complete [2021-07-24T12:49:46.124Z] b4d181a07f80: Verifying Checksum [2021-07-24T12:49:46.124Z] b4d181a07f80: Download complete [2021-07-24T12:49:47.092Z] b4d181a07f80: Pull complete [2021-07-24T12:49:47.092Z] a1111a8f2ec3: Pull complete [2021-07-24T12:49:47.681Z] ed53099fbce6: Pull complete [2021-07-24T12:49:47.681Z] dc539afda2c1: Pull complete [2021-07-24T12:49:47.952Z] 77bc0d833cb6: Pull complete [2021-07-24T12:49:47.952Z] 9065ff56babe: Pull complete [2021-07-24T12:49:49.366Z] d287ab97295c: Verifying Checksum [2021-07-24T12:49:49.366Z] d287ab97295c: Download complete [2021-07-24T12:49:53.648Z] d287ab97295c: Pull complete [2021-07-24T12:49:53.648Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-24T12:49:53.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-24T12:49:53.648Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-24T12:49:53.760Z] prd-centos7-docker-4c-2g-90 does not seem to be running inside a container [2021-07-24T12:49:53.810Z] $ 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-653/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-653 -v /w/workspace/dry_go-mod-core-contracts_PR-653:/w/workspace/dry_go-mod-core-contracts_PR-653:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-653@tmp:/w/workspace/dry_go-mod-core-contracts_PR-653@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:latest cat [2021-07-24T12:49:56.577Z] $ docker top 8fae4a0b09c19c4e39007cc6ff55f71e1a67c6e19a81e7c916c16024018ac199 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-24T12:49:57.035Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-24T12:49:57.371Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-07-24T12:49:57.716Z] + ls /var/log/sa-host [2021-07-24T12:49:57.716Z] + sadf -c /var/log/sa-host/sa05 [2021-07-24T12:49:57.716Z] file_magic: OK [2021-07-24T12:49:57.716Z] HZ: Using current value: 100 [2021-07-24T12:49:57.716Z] file_header: OK [2021-07-24T12:49:57.716Z] 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-24T12:49:57.716Z] Statistics: [2021-07-24T12:49:57.717Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-24T12:49:57.717Z] File successfully converted to sysstat format version 12.0.3 [2021-07-24T12:49:57.717Z] + sadf -c /var/log/sa-host/sa24 [2021-07-24T12:49:57.717Z] file_magic: OK [2021-07-24T12:49:57.717Z] HZ: Using current value: 100 [2021-07-24T12:49:57.717Z] file_header: OK [2021-07-24T12:49:57.717Z] 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-24T12:49:57.717Z] Statistics: [2021-07-24T12:49:57.717Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-24T12:49:57.717Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-24T12:49:57.994Z] provisioning config files... [2021-07-24T12:49:58.016Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-653@tmp/config5811315431257231779tmp [Pipeline] { [Pipeline] echo [2021-07-24T12:49:58.089Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-24T12:49:58.447Z] ---> create-netrc.sh [Pipeline] } [2021-07-24T12:49:58.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-24T12:49:58.938Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-24T12:49:58.976Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-24T12:49:59.337Z] ---> sudo-logs.sh [2021-07-24T12:49:59.337Z] Archiving 'sudo' log.. [2021-07-24T12:49:59.337Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-90.vexxhost.local: Name or service not known [2021-07-24T12:49:59.337Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-90.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-07-24T12:49:59.434Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-24T12:49:59.804Z] ---> job-cost.sh [2021-07-24T12:49:59.804Z] lf-activate-venv: SKIPPING [2021-07-24T12:49:59.804Z] DEBUG: total: 0.18000000715255737 [2021-07-24T12:49:59.804Z] INFO: Retrieving Stack Cost... [2021-07-24T12:50:00.764Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-24T12:50:01.031Z] INFO: Archiving Costs [Pipeline] echo [2021-07-24T12:50:01.075Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-24T12:50:01.433Z] ---> logs-deploy.sh [2021-07-24T12:50:01.433Z] lf-activate-venv: SKIPPING [2021-07-24T12:50:01.433Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-653/1 [2021-07-24T12:50:01.433Z] INFO: archiving workspace using pattern(s): [2021-07-24T12:50:02.020Z] Archives upload complete. [2021-07-24T12:50:02.288Z] INFO: archiving logs to Nexus