Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d59a7e79eea3462e9076066d39a7ec4eb47c6029 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh760791997851203725.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 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-ssh5447192284139681729.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 c141c1271097dc03ad291c2451e310eaf98cdd06 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/main/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3404446725711363839.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5490515936198140480.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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/main/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1899979585314745152.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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_BUILD_IMAGE_TARGET: builder 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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1322 in /w/workspace/undry_go-mod-core-contracts_main [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/undry_go-mod-core-contracts_main # 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/undry_go-mod-core-contracts_main@tmp/jenkins-gitclient-ssh4708794372386607953.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d59a7e79eea3462e9076066d39a7ec4eb47c6029 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f d59a7e79eea3462e9076066d39a7ec4eb47c6029 # timeout=10 Commit message: "Merge pull request #666 from weichou1229/issue-665" > git rev-list --no-walk d59a7e79eea3462e9076066d39a7ec4eb47c6029 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-04T18:07:07.293Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-04T18:07:07.381Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-04T18:07:07.409Z] ========================================================= [2021-10-04T18:07:07.409Z] EdgeX Global Pipelines Version Info [2021-10-04T18:07:07.409Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:07:08.692Z] ------------------- [2021-10-04T18:07:08.692Z] stable info: [2021-10-04T18:07:08.692Z] ------------------- [2021-10-04T18:07:08.692Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-04T18:07:08.692Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-04T18:07:08.692Z] Message: update stable to v1.0.206 [2021-10-04T18:07:09.278Z] ------------------- [2021-10-04T18:07:09.278Z] experimental info: [2021-10-04T18:07:09.278Z] ------------------- [2021-10-04T18:07:09.278Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-04T18:07:09.278Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-04T18:07:09.278Z] Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-04T18:07:09.410Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-10-04T18:07:09.435Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-10-04T18:07:09.459Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-04T18:07:09.484Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-04T18:07:09.509Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-04T18:07:09.534Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-04T18:07:09.559Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-10-04T18:07:09.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-04T18:07:09.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-04T18:07:09.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-04T18:07:09.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-04T18:07:09.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-04T18:07:09.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo [2021-10-04T18:07:09.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-04T18:07:09.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-04T18:07:09.800Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-10-04T18:07:09.825Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-04T18:07:09.850Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-04T18:07:09.875Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-04T18:07:09.900Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-04T18:07:09.924Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-04T18:07:09.949Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-04T18:07:09.974Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-04T18:07:09.999Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-04T18:07:10.025Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-04T18:07:10.054Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-10-04T18:07:10.082Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-04T18:07:10.105Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-04T18:07:10.128Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-04T18:07:10.153Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-04T18:07:10.177Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d59a7e79eea3462e9076066d39a7ec4eb47c6029 [Pipeline] echo [2021-10-04T18:07:10.200Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d59a7e7 [Pipeline] echo [2021-10-04T18:07:10.224Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-04T18:07:10.746Z] + git log --format=format:%s -1 d59a7e79eea3462e9076066d39a7ec4eb47c6029 [Pipeline] echo [2021-10-04T18:07:10.809Z] GIT_COMMIT: d59a7e79eea3462e9076066d39a7ec4eb47c6029, Commit Message: Merge pull request #666 from weichou1229/issue-665 [Pipeline] echo [2021-10-04T18:07:10.823Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:07:11.411Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-04T18:07:11.411Z] [2021-10-04T18:07:11.411Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:07:11.757Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-04T18:07:12.026Z] latest: Pulling from edgex-devops/git-semver [2021-10-04T18:07:12.026Z] 31603596830f: Pulling fs layer [2021-10-04T18:07:12.026Z] 04fac38145f0: Pulling fs layer [2021-10-04T18:07:12.026Z] 701f6daf10bf: Pulling fs layer [2021-10-04T18:07:12.026Z] 24f72da36158: Pulling fs layer [2021-10-04T18:07:12.026Z] 24f72da36158: Waiting [2021-10-04T18:07:12.026Z] 04fac38145f0: Verifying Checksum [2021-10-04T18:07:12.026Z] 04fac38145f0: Download complete [2021-10-04T18:07:12.296Z] 31603596830f: Verifying Checksum [2021-10-04T18:07:12.296Z] 31603596830f: Download complete [2021-10-04T18:07:12.296Z] 24f72da36158: Verifying Checksum [2021-10-04T18:07:12.296Z] 24f72da36158: Download complete [2021-10-04T18:07:12.296Z] 31603596830f: Pull complete [2021-10-04T18:07:12.565Z] 04fac38145f0: Pull complete [2021-10-04T18:07:12.565Z] 701f6daf10bf: Verifying Checksum [2021-10-04T18:07:12.565Z] 701f6daf10bf: Download complete [2021-10-04T18:07:13.154Z] 701f6daf10bf: Pull complete [2021-10-04T18:07:13.423Z] 24f72da36158: Pull complete [2021-10-04T18:07:13.423Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-04T18:07:13.423Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-04T18:07:13.423Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-04T18:07:13.522Z] prd-centos7-docker-4c-2g-1322 does not seem to be running inside a container [2021-10-04T18:07:13.576Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_go-mod-core-contracts_main -v /w/workspace/undry_go-mod-core-contracts_main:/w/workspace/undry_go-mod-core-contracts_main:rw,z -v /w/workspace/undry_go-mod-core-contracts_main@tmp:/w/workspace/undry_go-mod-core-contracts_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-04T18:07:14.419Z] $ docker top 85378e019a6ffe5e97db7adb806cf1e75f94c6b51ebd2ccb770aa4bb35818ca2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-04T18:07:14.542Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-04T18:07:14.542Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-04T18:07:14.850Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-04T18:07:14.853Z] $ docker exec 85378e019a6ffe5e97db7adb806cf1e75f94c6b51ebd2ccb770aa4bb35818ca2 ssh-agent [2021-10-04T18:07:14.960Z] SSH_AUTH_SOCK=/tmp/ssh-Ok272BZgCceI/agent.14 [2021-10-04T18:07:14.960Z] SSH_AGENT_PID=21 [2021-10-04T18:07:14.972Z] Running ssh-add (command line suppressed) [2021-10-04T18:07:15.074Z] Identity added: /w/workspace/undry_go-mod-core-contracts_main@tmp/private_key_324833814471212947.key (/w/workspace/undry_go-mod-core-contracts_main@tmp/private_key_324833814471212947.key) [2021-10-04T18:07:15.095Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-04T18:07:15.408Z] + git tag --points-at HEAD [Pipeline] } [2021-10-04T18:07:15.427Z] $ docker exec --env ******** --env ******** 85378e019a6ffe5e97db7adb806cf1e75f94c6b51ebd2ccb770aa4bb35818ca2 ssh-agent -k [2021-10-04T18:07:15.517Z] unset SSH_AUTH_SOCK; [2021-10-04T18:07:15.517Z] unset SSH_AGENT_PID; [2021-10-04T18:07:15.517Z] echo Agent pid 21 killed; [2021-10-04T18:07:15.545Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-04T18:07:15.589Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-04T18:07:15.589Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-04T18:07:15.696Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-04T18:07:15.696Z] $ docker exec 85378e019a6ffe5e97db7adb806cf1e75f94c6b51ebd2ccb770aa4bb35818ca2 ssh-agent [2021-10-04T18:07:15.812Z] SSH_AUTH_SOCK=/tmp/ssh-0De2Y1M6d7nw/agent.55 [2021-10-04T18:07:15.812Z] SSH_AGENT_PID=62 [2021-10-04T18:07:15.820Z] Running ssh-add (command line suppressed) [2021-10-04T18:07:15.931Z] Identity added: /w/workspace/undry_go-mod-core-contracts_main@tmp/private_key_9152463789248114542.key (/w/workspace/undry_go-mod-core-contracts_main@tmp/private_key_9152463789248114542.key) [2021-10-04T18:07:15.956Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-04T18:07:16.275Z] + git semver init [2021-10-04T18:07:16.275Z] # -> Open(): unable to determine branch for HEAD [2021-10-04T18:07:16.275Z] # $GIT_DIR = /w/workspace/undry_go-mod-core-contracts_main/.git [2021-10-04T18:07:16.275Z] # $GIT_WORK_TREE = /w/workspace/undry_go-mod-core-contracts_main [2021-10-04T18:07:16.275Z] # $SEMVER_REMOTE_NAME = origin [2021-10-04T18:07:16.275Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-04T18:07:16.275Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-04T18:07:16.275Z] # $SEMVER_BRANCH = main [2021-10-04T18:07:16.275Z] # $SEMVER_TEMP = /tmp/semver-008366074 [2021-10-04T18:07:16.275Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-10-04T18:07:17.243Z] # '/tmp/semver-008366074' -> '/w/workspace/undry_go-mod-core-contracts_main/.semver' [2021-10-04T18:07:17.243Z] # -> Force: false [2021-10-04T18:07:17.243Z] # $SEMVER_DIR = /w/workspace/undry_go-mod-core-contracts_main/.semver [Pipeline] } [2021-10-04T18:07:17.256Z] $ docker exec --env ******** --env ******** 85378e019a6ffe5e97db7adb806cf1e75f94c6b51ebd2ccb770aa4bb35818ca2 ssh-agent -k [2021-10-04T18:07:17.347Z] unset SSH_AUTH_SOCK; [2021-10-04T18:07:17.348Z] unset SSH_AGENT_PID; [2021-10-04T18:07:17.348Z] echo Agent pid 62 killed; [2021-10-04T18:07:17.363Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-04T18:07:17.702Z] + git semver [Pipeline] } [2021-10-04T18:07:17.720Z] $ docker stop --time=1 85378e019a6ffe5e97db7adb806cf1e75f94c6b51ebd2ccb770aa4bb35818ca2 [2021-10-04T18:07:19.014Z] $ docker rm -f 85378e019a6ffe5e97db7adb806cf1e75f94c6b51ebd2ccb770aa4bb35818ca2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-04T18:07:19.383Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-04T18:07:19.738Z] Stashed 1 file(s) [Pipeline] echo [2021-10-04T18:07:19.743Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.19 [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-10-04T18:07:35.144Z] Still waiting to schedule task [2021-10-04T18:07:35.144Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-04T18:07:35.146Z] Still waiting to schedule task [2021-10-04T18:07:35.146Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1320’ is offline [2021-10-04T18:13:03.023Z] Running on prd-centos7-docker-4c-2g-1357 in /w/workspace/undry_go-mod-core-contracts_main [Pipeline] { [Pipeline] ws [2021-10-04T18:13:03.045Z] Running in /w/workspace/go-mod-core-contracts/21 [Pipeline] { [Pipeline] checkout [2021-10-04T18:13:03.161Z] Selected Git installation does not exist. Using Default [2021-10-04T18:13:03.161Z] The recommended git tool is: NONE [2021-10-04T18:13:06.003Z] using credential edgex-jenkins-ssh [2021-10-04T18:13:06.022Z] Cloning the remote Git repository [2021-10-04T18:13:06.068Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-10-04T18:13:06.158Z] > git init /w/workspace/go-mod-core-contracts/21 # timeout=10 [2021-10-04T18:13:06.200Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-10-04T18:13:06.200Z] > git --version # timeout=10 [2021-10-04T18:13:06.210Z] > git --version # 'git version 2.24.4' [2021-10-04T18:13:06.210Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-04T18:13:06.234Z] [INFO] Currently running in a labeled security context [2021-10-04T18:13:06.234Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-04T18:13:06.234Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/21@tmp/jenkins-gitclient-ssh4707622175159469934.key [2021-10-04T18:13:06.249Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-04T18:13:07.151Z] Avoid second fetch [2021-10-04T18:13:07.151Z] Checking out Revision d59a7e79eea3462e9076066d39a7ec4eb47c6029 (main) [2021-10-04T18:13:07.121Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-10-04T18:13:07.137Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-04T18:13:07.166Z] > git config core.sparsecheckout # timeout=10 [2021-10-04T18:13:07.179Z] > git checkout -f d59a7e79eea3462e9076066d39a7ec4eb47c6029 # timeout=10 [2021-10-04T18:13:10.927Z] Commit message: "Merge pull request #666 from weichou1229/issue-665" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-10-04T18:13:11.897Z] ========================================================= [2021-10-04T18:13:11.897Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-04T18:13:11.897Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-04T18:13:12.315Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-04T18:13:12.315Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-04T18:13:12.315Z] 540db60ca938: Pulling fs layer [2021-10-04T18:13:12.315Z] adcc1eea9eea: Pulling fs layer [2021-10-04T18:13:12.315Z] 4c4ab2625f07: Pulling fs layer [2021-10-04T18:13:12.315Z] db62176df00c: Pulling fs layer [2021-10-04T18:13:12.315Z] 3b30891b0d05: Pulling fs layer [2021-10-04T18:13:12.315Z] 06b49ca38bd5: Pulling fs layer [2021-10-04T18:13:12.315Z] c788192a36de: Pulling fs layer [2021-10-04T18:13:12.315Z] a77e37c0d609: Pulling fs layer [2021-10-04T18:13:12.315Z] c3185cebc471: Pulling fs layer [2021-10-04T18:13:12.315Z] db62176df00c: Waiting [2021-10-04T18:13:12.315Z] 3b30891b0d05: Waiting [2021-10-04T18:13:12.315Z] 06b49ca38bd5: Waiting [2021-10-04T18:13:12.315Z] c788192a36de: Waiting [2021-10-04T18:13:12.315Z] a77e37c0d609: Waiting [2021-10-04T18:13:12.315Z] c3185cebc471: Waiting [2021-10-04T18:13:12.315Z] 4c4ab2625f07: Verifying Checksum [2021-10-04T18:13:12.315Z] 4c4ab2625f07: Download complete [2021-10-04T18:13:12.588Z] adcc1eea9eea: Verifying Checksum [2021-10-04T18:13:12.588Z] adcc1eea9eea: Download complete [2021-10-04T18:13:12.588Z] 3b30891b0d05: Verifying Checksum [2021-10-04T18:13:12.588Z] 3b30891b0d05: Download complete [2021-10-04T18:13:12.588Z] 06b49ca38bd5: Verifying Checksum [2021-10-04T18:13:12.588Z] 06b49ca38bd5: Download complete [2021-10-04T18:13:12.588Z] c788192a36de: Verifying Checksum [2021-10-04T18:13:12.588Z] c788192a36de: Download complete [2021-10-04T18:13:12.588Z] 540db60ca938: Verifying Checksum [2021-10-04T18:13:12.588Z] 540db60ca938: Download complete [2021-10-04T18:13:12.856Z] 540db60ca938: Pull complete [2021-10-04T18:13:12.856Z] adcc1eea9eea: Pull complete [2021-10-04T18:13:12.856Z] a77e37c0d609: Verifying Checksum [2021-10-04T18:13:12.856Z] a77e37c0d609: Download complete [2021-10-04T18:13:12.856Z] 4c4ab2625f07: Pull complete [2021-10-04T18:13:14.265Z] db62176df00c: Verifying Checksum [2021-10-04T18:13:14.265Z] db62176df00c: Download complete [2021-10-04T18:13:14.868Z] c3185cebc471: Verifying Checksum [2021-10-04T18:13:14.868Z] c3185cebc471: Download complete [2021-10-04T18:13:18.247Z] db62176df00c: Pull complete [2021-10-04T18:13:18.247Z] 3b30891b0d05: Pull complete [2021-10-04T18:13:18.247Z] 06b49ca38bd5: Pull complete [2021-10-04T18:13:18.247Z] c788192a36de: Pull complete [2021-10-04T18:13:18.247Z] a77e37c0d609: Pull complete [2021-10-04T18:13:20.872Z] c3185cebc471: Pull complete [2021-10-04T18:13:20.872Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-10-04T18:13:20.872Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-04T18:13:20.872Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-10-04T18:13:21.230Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:13:21.549Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-04T18:13:21.549Z] . [Pipeline] withDockerContainer [2021-10-04T18:13:21.632Z] prd-centos7-docker-4c-2g-1357 does not seem to be running inside a container [2021-10-04T18:13:21.699Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/21 -v /w/workspace/go-mod-core-contracts/21:/w/workspace/go-mod-core-contracts/21:rw,z -v /w/workspace/go-mod-core-contracts/21@tmp:/w/workspace/go-mod-core-contracts/21@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 ******** ci-base-image-x86_64 cat [2021-10-04T18:13:25.374Z] $ docker top d6e2e924020f4b383005128d75571c01a485634c5bf71da9aab2c5377ecba0b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-04T18:13:25.791Z] + go version [2021-10-04T18:13:25.791Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-10-04T18:13:25.807Z] $ docker stop --time=1 d6e2e924020f4b383005128d75571c01a485634c5bf71da9aab2c5377ecba0b4 [2021-10-04T18:13:26.978Z] $ docker rm -f d6e2e924020f4b383005128d75571c01a485634c5bf71da9aab2c5377ecba0b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:13:27.589Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-04T18:13:27.589Z] . [Pipeline] withDockerContainer [2021-10-04T18:13:27.676Z] prd-centos7-docker-4c-2g-1357 does not seem to be running inside a container [2021-10-04T18:13:27.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/21 -v /w/workspace/go-mod-core-contracts/21:/w/workspace/go-mod-core-contracts/21:rw,z -v /w/workspace/go-mod-core-contracts/21@tmp:/w/workspace/go-mod-core-contracts/21@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 ******** ci-base-image-x86_64 cat [2021-10-04T18:13:28.074Z] $ docker top a6d9bbe4edf91e4292dc7cf1c388404edb35d66d1cec9421f1cde6299b9b588a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-04T18:13:28.487Z] + go mod tidy [2021-10-04T18:13:31.083Z] go: downloading github.com/google/uuid v1.3.0 [2021-10-04T18:13:31.083Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-04T18:13:31.083Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-10-04T18:13:31.083Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-10-04T18:13:31.083Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-10-04T18:13:31.083Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-10-04T18:13:31.083Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-04T18:13:31.083Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-04T18:13:31.083Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-10-04T18:13:31.083Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-10-04T18:13:31.083Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-10-04T18:13:31.083Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-10-04T18:13:31.083Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-10-04T18:13:31.083Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-10-04T18:13:31.083Z] go: downloading golang.org/x/text v0.3.6 [2021-10-04T18:13:31.366Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-10-04T18:13:31.366Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-10-04T18:13:32.332Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2021-10-04T18:13:32.332Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-04T18:13:32.332Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2021-10-04T18:13:32.332Z] go: downloading github.com/kr/pretty v0.3.0 [2021-10-04T18:13:32.332Z] go: downloading github.com/kr/text v0.2.0 [2021-10-04T18:13:32.332Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [Pipeline] sh [2021-10-04T18:13:32.915Z] + make test [2021-10-04T18:13:32.915Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-10-04T18:13:33.506Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-10-04T18:13:43.656Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.048s coverage: 83.5% of statements [2021-10-04T18:13:43.656Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-10-04T18:13:43.656Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-10-04T18:13:43.656Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] [2021-10-04T18:13:43.656Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.005s coverage: 26.3% of statements [2021-10-04T18:13:43.656Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] [2021-10-04T18:13:43.940Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.017s coverage: 47.1% of statements [2021-10-04T18:13:43.940Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.007s coverage: 90.0% of statements [2021-10-04T18:13:44.533Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.024s coverage: 86.2% of statements [2021-10-04T18:13:44.533Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.006s coverage: 59.5% of statements [2021-10-04T18:13:44.799Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.011s coverage: 36.1% of statements [2021-10-04T18:13:45.077Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.007s coverage: 48.7% of statements [2021-10-04T18:13:45.077Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-10-04T18:13:50.457Z] gofmt -l . [2021-10-04T18:13:50.457Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-10-04T18:13:50.476Z] $ docker stop --time=1 a6d9bbe4edf91e4292dc7cf1c388404edb35d66d1cec9421f1cde6299b9b588a [2021-10-04T18:13:52.576Z] $ docker rm -f a6d9bbe4edf91e4292dc7cf1c388404edb35d66d1cec9421f1cde6299b9b588a [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-04T18:13:53.178Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-04T18:13:53.448Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:13:54.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T18:13:54.417Z] [2021-10-04T18:13:54.417Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:13:54.777Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T18:13:54.778Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-04T18:13:54.778Z] b4d181a07f80: Pulling fs layer [2021-10-04T18:13:54.778Z] a1111a8f2ec3: Pulling fs layer [2021-10-04T18:13:54.778Z] ed53099fbce6: Pulling fs layer [2021-10-04T18:13:54.778Z] dc539afda2c1: Pulling fs layer [2021-10-04T18:13:54.778Z] 77bc0d833cb6: Pulling fs layer [2021-10-04T18:13:54.778Z] 9065ff56babe: Pulling fs layer [2021-10-04T18:13:54.778Z] d287ab97295c: Pulling fs layer [2021-10-04T18:13:54.778Z] dc539afda2c1: Waiting [2021-10-04T18:13:54.778Z] 77bc0d833cb6: Waiting [2021-10-04T18:13:54.778Z] 9065ff56babe: Waiting [2021-10-04T18:13:54.778Z] d287ab97295c: Waiting [2021-10-04T18:13:55.367Z] a1111a8f2ec3: Verifying Checksum [2021-10-04T18:13:55.367Z] a1111a8f2ec3: Download complete [2021-10-04T18:13:55.367Z] ed53099fbce6: Verifying Checksum [2021-10-04T18:13:55.367Z] ed53099fbce6: Download complete [2021-10-04T18:13:55.367Z] dc539afda2c1: Verifying Checksum [2021-10-04T18:13:55.367Z] dc539afda2c1: Download complete [2021-10-04T18:13:55.367Z] 9065ff56babe: Verifying Checksum [2021-10-04T18:13:55.367Z] 9065ff56babe: Download complete [2021-10-04T18:13:55.367Z] 77bc0d833cb6: Verifying Checksum [2021-10-04T18:13:55.367Z] 77bc0d833cb6: Download complete [2021-10-04T18:13:55.633Z] b4d181a07f80: Verifying Checksum [2021-10-04T18:13:55.633Z] b4d181a07f80: Download complete [2021-10-04T18:13:57.058Z] d287ab97295c: Verifying Checksum [2021-10-04T18:13:57.059Z] d287ab97295c: Download complete [2021-10-04T18:13:57.327Z] b4d181a07f80: Pull complete [2021-10-04T18:13:57.327Z] a1111a8f2ec3: Pull complete [2021-10-04T18:13:57.920Z] ed53099fbce6: Pull complete [2021-10-04T18:13:57.921Z] dc539afda2c1: Pull complete [2021-10-04T18:13:58.520Z] 77bc0d833cb6: Pull complete [2021-10-04T18:13:58.520Z] 9065ff56babe: Pull complete [2021-10-04T18:14:03.918Z] d287ab97295c: Pull complete [2021-10-04T18:14:03.918Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-04T18:14:03.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T18:14:03.918Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-04T18:14:04.004Z] prd-centos7-docker-4c-2g-1357 does not seem to be running inside a container [2021-10-04T18:14:04.077Z] $ 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/21 -v /w/workspace/go-mod-core-contracts/21:/w/workspace/go-mod-core-contracts/21:rw,z -v /w/workspace/go-mod-core-contracts/21@tmp:/w/workspace/go-mod-core-contracts/21@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:10003/edgex-lftools-log-publisher:latest cat [2021-10-04T18:14:06.111Z] $ docker top 52efda87f7ea4ba80116db6a24144938cb44a912719bedef35f24785bd32200b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:14:06.576Z] ---> job-cost.sh [2021-10-04T18:14:06.576Z] lf-activate-venv: SKIPPING [2021-10-04T18:14:06.576Z] INFO: No Stack... [2021-10-04T18:14:06.843Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-04T18:14:07.809Z] INFO: Archiving Costs [Pipeline] sh [2021-10-04T18:14:08.345Z] + cat /w/workspace/go-mod-core-contracts/21/archives/cost.csv [2021-10-04T18:14:08.346Z] + cut -d, -f6 [Pipeline] lock [2021-10-04T18:14:08.420Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-main-21-stack-cost] [2021-10-04T18:14:08.428Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-main-21-stack-cost] did not exist. Created. [2021-10-04T18:14:08.429Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-04T18:14:08.763Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-04T18:14:08.808Z] Stashed 1 file(s) [Pipeline] } [2021-10-04T18:14:08.821Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-main-21-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-04T18:14:08.849Z] $ docker stop --time=1 52efda87f7ea4ba80116db6a24144938cb44a912719bedef35f24785bd32200b [2021-10-04T18:14:09.995Z] $ docker rm -f 52efda87f7ea4ba80116db6a24144938cb44a912719bedef35f24785bd32200b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-04T18:17:35.689Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1376 in /w/workspace/undry_go-mod-core-contracts_main [Pipeline] { [Pipeline] ws [2021-10-04T18:17:35.708Z] Running in /w/workspace/go-mod-core-contracts/21 [Pipeline] { [Pipeline] checkout [2021-10-04T18:17:35.999Z] Selected Git installation does not exist. Using Default [2021-10-04T18:17:35.999Z] The recommended git tool is: NONE [2021-10-04T18:17:42.821Z] using credential edgex-jenkins-ssh [2021-10-04T18:17:42.845Z] Cloning the remote Git repository [2021-10-04T18:17:42.903Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-10-04T18:17:43.039Z] > git init /w/workspace/go-mod-core-contracts/21 # timeout=10 [2021-10-04T18:17:43.149Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-10-04T18:17:43.150Z] > git --version # timeout=10 [2021-10-04T18:17:43.167Z] > git --version # 'git version 2.17.1' [2021-10-04T18:17:43.169Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-04T18:17:43.251Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-04T18:17:44.711Z] Avoid second fetch [2021-10-04T18:17:44.712Z] Checking out Revision d59a7e79eea3462e9076066d39a7ec4eb47c6029 (main) [2021-10-04T18:17:44.670Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-10-04T18:17:44.688Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-04T18:17:44.733Z] > git config core.sparsecheckout # timeout=10 [2021-10-04T18:17:44.750Z] > git checkout -f d59a7e79eea3462e9076066d39a7ec4eb47c6029 # timeout=10 [2021-10-04T18:17:49.328Z] Commit message: "Merge pull request #666 from weichou1229/issue-665" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-10-04T18:17:50.037Z] ========================================================= [2021-10-04T18:17:50.037Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-04T18:17:50.037Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-04T18:17:50.747Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-04T18:17:52.237Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-04T18:17:52.237Z] 595b0fe564bb: Pulling fs layer [2021-10-04T18:17:52.237Z] 24495759ef45: Pulling fs layer [2021-10-04T18:17:52.237Z] d148012ef14d: Pulling fs layer [2021-10-04T18:17:52.237Z] e90a11edd702: Pulling fs layer [2021-10-04T18:17:52.237Z] d77568369979: Pulling fs layer [2021-10-04T18:17:52.237Z] fc1c9f9a7f3b: Pulling fs layer [2021-10-04T18:17:52.237Z] 170f2ba95c9a: Pulling fs layer [2021-10-04T18:17:52.237Z] 97ac5df62f85: Pulling fs layer [2021-10-04T18:17:52.237Z] d77568369979: Waiting [2021-10-04T18:17:52.237Z] fc1c9f9a7f3b: Waiting [2021-10-04T18:17:52.237Z] 170f2ba95c9a: Waiting [2021-10-04T18:17:52.237Z] 97ac5df62f85: Waiting [2021-10-04T18:17:52.237Z] e90a11edd702: Waiting [2021-10-04T18:17:52.237Z] d148012ef14d: Download complete [2021-10-04T18:17:52.237Z] 24495759ef45: Verifying Checksum [2021-10-04T18:17:52.237Z] 24495759ef45: Download complete [2021-10-04T18:17:52.237Z] d77568369979: Verifying Checksum [2021-10-04T18:17:52.237Z] d77568369979: Download complete [2021-10-04T18:17:52.237Z] fc1c9f9a7f3b: Verifying Checksum [2021-10-04T18:17:52.237Z] fc1c9f9a7f3b: Download complete [2021-10-04T18:17:52.237Z] 170f2ba95c9a: Verifying Checksum [2021-10-04T18:17:52.237Z] 170f2ba95c9a: Download complete [2021-10-04T18:17:52.523Z] 595b0fe564bb: Verifying Checksum [2021-10-04T18:17:52.523Z] 595b0fe564bb: Download complete [2021-10-04T18:17:53.152Z] 595b0fe564bb: Pull complete [2021-10-04T18:17:53.787Z] 24495759ef45: Pull complete [2021-10-04T18:17:54.078Z] d148012ef14d: Pull complete [2021-10-04T18:17:55.103Z] 97ac5df62f85: Verifying Checksum [2021-10-04T18:17:55.103Z] 97ac5df62f85: Download complete [2021-10-04T18:17:55.390Z] e90a11edd702: Verifying Checksum [2021-10-04T18:17:55.390Z] e90a11edd702: Download complete [2021-10-04T18:18:05.719Z] e90a11edd702: Pull complete [2021-10-04T18:18:05.719Z] d77568369979: Pull complete [2021-10-04T18:18:06.005Z] fc1c9f9a7f3b: Pull complete [2021-10-04T18:18:06.292Z] 170f2ba95c9a: Pull complete [2021-10-04T18:18:13.146Z] 97ac5df62f85: Pull complete [2021-10-04T18:18:13.146Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-10-04T18:18:13.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-04T18:18:13.146Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-10-04T18:18:13.611Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:18:14.007Z] + docker inspect -f . ci-base-image-arm64 [2021-10-04T18:18:14.008Z] . [Pipeline] withDockerContainer [2021-10-04T18:18:14.317Z] prd-ubuntu18.04-docker-arm64-4c-16g-1376 does not seem to be running inside a container [2021-10-04T18:18:14.459Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/21 -v /w/workspace/go-mod-core-contracts/21:/w/workspace/go-mod-core-contracts/21:rw,z -v /w/workspace/go-mod-core-contracts/21@tmp:/w/workspace/go-mod-core-contracts/21@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 ******** ci-base-image-arm64 cat [2021-10-04T18:18:20.382Z] $ docker top 765a380f4401addb128b462666326110e7514e3ee31660bdfa63eaca5379113e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-04T18:18:21.349Z] + go version [2021-10-04T18:18:21.349Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-10-04T18:18:21.379Z] $ docker stop --time=1 765a380f4401addb128b462666326110e7514e3ee31660bdfa63eaca5379113e [2021-10-04T18:18:23.252Z] $ docker rm -f 765a380f4401addb128b462666326110e7514e3ee31660bdfa63eaca5379113e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:18:24.148Z] + docker inspect -f . ci-base-image-arm64 [2021-10-04T18:18:24.148Z] . [Pipeline] withDockerContainer [2021-10-04T18:18:24.430Z] prd-ubuntu18.04-docker-arm64-4c-16g-1376 does not seem to be running inside a container [2021-10-04T18:18:24.555Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/21 -v /w/workspace/go-mod-core-contracts/21:/w/workspace/go-mod-core-contracts/21:rw,z -v /w/workspace/go-mod-core-contracts/21@tmp:/w/workspace/go-mod-core-contracts/21@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 ******** ci-base-image-arm64 cat [2021-10-04T18:18:26.163Z] $ docker top 69549d5f6b68b852bb303ceaeba73adabf6108f769c1f5afa5f52eb12b1885ad -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-04T18:18:27.206Z] + go mod tidy [2021-10-04T18:18:42.665Z] go: downloading github.com/google/uuid v1.3.0 [2021-10-04T18:18:42.665Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-10-04T18:18:42.665Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-04T18:18:42.665Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-10-04T18:18:42.665Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-10-04T18:18:42.665Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-10-04T18:18:42.665Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-04T18:18:42.665Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-04T18:18:42.665Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-10-04T18:18:42.665Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2021-10-04T18:18:42.665Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-10-04T18:18:42.665Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-10-04T18:18:42.665Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-10-04T18:18:42.665Z] go: downloading golang.org/x/text v0.3.6 [2021-10-04T18:18:42.665Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-10-04T18:18:42.665Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-10-04T18:18:46.157Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-04T18:18:46.157Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-10-04T18:18:46.157Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-10-04T18:18:46.157Z] go: downloading github.com/kr/pretty v0.3.0 [2021-10-04T18:18:46.157Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2021-10-04T18:18:46.445Z] go: downloading github.com/kr/text v0.2.0 [2021-10-04T18:18:46.445Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [Pipeline] sh [2021-10-04T18:18:47.778Z] + make test [2021-10-04T18:18:47.778Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-10-04T18:18:49.259Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-10-04T18:19:22.502Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.416s coverage: 83.5% of statements [2021-10-04T18:19:22.502Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-10-04T18:19:22.502Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-10-04T18:19:22.502Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] [2021-10-04T18:19:22.502Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.071s coverage: 26.3% of statements [2021-10-04T18:19:22.502Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] [2021-10-04T18:19:22.502Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.079s coverage: 47.1% of statements [2021-10-04T18:19:22.502Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.049s coverage: 90.0% of statements [2021-10-04T18:19:23.548Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.256s coverage: 86.2% of statements [2021-10-04T18:19:23.548Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.064s coverage: 59.5% of statements [2021-10-04T18:19:24.168Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.017s coverage: 36.1% of statements [2021-10-04T18:19:24.785Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.034s coverage: 48.7% of statements [2021-10-04T18:19:24.785Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-10-04T18:19:47.184Z] gofmt -l . [2021-10-04T18:19:47.184Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-10-04T18:19:47.213Z] $ docker stop --time=1 69549d5f6b68b852bb303ceaeba73adabf6108f769c1f5afa5f52eb12b1885ad [2021-10-04T18:19:49.231Z] $ docker rm -f 69549d5f6b68b852bb303ceaeba73adabf6108f769c1f5afa5f52eb12b1885ad [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-04T18:19:51.133Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-04T18:19:51.172Z] Warning: overwriting stash ‘coverage-report’ [2021-10-04T18:19:51.932Z] 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-10-04T18:19:52.876Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-04T18:19:52.876Z] [2021-10-04T18:19:52.876Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:19:53.274Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-04T18:20:03.768Z] Error response from daemon: Get https://nexus3.edgexfoundry.org:10003/v2/: net/http: TLS handshake timeout [Pipeline] } [Pipeline] // script Error when executing always post condition: hudson.AbortException: script returned exit code 1 at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:659) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:605) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:549) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-04T18:20:04.099Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-04T18:20:06.341Z] + '[' -d /w/workspace/undry_go-mod-core-contracts_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:20:06.677Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:20:07.290Z] ---> package-listing.sh [2021-10-04T18:20:07.290Z] ++ facter osfamily [2021-10-04T18:20:07.290Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-04T18:20:07.768Z] + OS_FAMILY=redhat [2021-10-04T18:20:07.768Z] + workspace=/w/workspace/undry_go-mod-core-contracts_main [2021-10-04T18:20:07.768Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-04T18:20:07.768Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-04T18:20:07.768Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-04T18:20:07.768Z] + PACKAGES=/tmp/packages_start.txt [2021-10-04T18:20:07.768Z] + '[' /w/workspace/undry_go-mod-core-contracts_main ']' [2021-10-04T18:20:07.768Z] + PACKAGES=/tmp/packages_end.txt [2021-10-04T18:20:07.768Z] + case "${OS_FAMILY}" in [2021-10-04T18:20:07.768Z] + rpm -qa [2021-10-04T18:20:07.768Z] + sort [2021-10-04T18:20:08.359Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-04T18:20:08.359Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-04T18:20:08.359Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-04T18:20:08.359Z] + '[' /w/workspace/undry_go-mod-core-contracts_main ']' [2021-10-04T18:20:08.359Z] + mkdir -p /w/workspace/undry_go-mod-core-contracts_main/archives/ [2021-10-04T18:20:08.359Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_go-mod-core-contracts_main/archives/ [Pipeline] echo [2021-10-04T18:20:08.378Z] 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/undry_go-mod-core-contracts_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-04T18:20:08.712Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:20:09.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T18:20:09.262Z] [2021-10-04T18:20:09.262Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-04T18:20:09.607Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T18:20:09.607Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-04T18:20:09.607Z] b4d181a07f80: Pulling fs layer [2021-10-04T18:20:09.607Z] a1111a8f2ec3: Pulling fs layer [2021-10-04T18:20:09.607Z] ed53099fbce6: Pulling fs layer [2021-10-04T18:20:09.607Z] dc539afda2c1: Pulling fs layer [2021-10-04T18:20:09.607Z] 77bc0d833cb6: Pulling fs layer [2021-10-04T18:20:09.607Z] 9065ff56babe: Pulling fs layer [2021-10-04T18:20:09.607Z] d287ab97295c: Pulling fs layer [2021-10-04T18:20:09.607Z] dc539afda2c1: Waiting [2021-10-04T18:20:09.607Z] 77bc0d833cb6: Waiting [2021-10-04T18:20:09.607Z] 9065ff56babe: Waiting [2021-10-04T18:20:09.607Z] d287ab97295c: Waiting [2021-10-04T18:20:09.876Z] a1111a8f2ec3: Verifying Checksum [2021-10-04T18:20:09.876Z] a1111a8f2ec3: Download complete [2021-10-04T18:20:09.876Z] dc539afda2c1: Verifying Checksum [2021-10-04T18:20:09.876Z] dc539afda2c1: Download complete [2021-10-04T18:20:10.142Z] 77bc0d833cb6: Verifying Checksum [2021-10-04T18:20:10.142Z] 77bc0d833cb6: Download complete [2021-10-04T18:20:10.142Z] 9065ff56babe: Verifying Checksum [2021-10-04T18:20:10.142Z] 9065ff56babe: Download complete [2021-10-04T18:20:10.142Z] ed53099fbce6: Verifying Checksum [2021-10-04T18:20:10.142Z] ed53099fbce6: Download complete [2021-10-04T18:20:10.732Z] b4d181a07f80: Verifying Checksum [2021-10-04T18:20:10.732Z] b4d181a07f80: Download complete [2021-10-04T18:20:12.175Z] b4d181a07f80: Pull complete [2021-10-04T18:20:12.175Z] a1111a8f2ec3: Pull complete [2021-10-04T18:20:12.771Z] ed53099fbce6: Pull complete [2021-10-04T18:20:13.041Z] dc539afda2c1: Pull complete [2021-10-04T18:20:13.310Z] 77bc0d833cb6: Pull complete [2021-10-04T18:20:13.310Z] 9065ff56babe: Pull complete [2021-10-04T18:22:19.995Z] d287ab97295c: Retrying in 5 seconds [2021-10-04T18:22:19.996Z] d287ab97295c: Retrying in 4 seconds [2021-10-04T18:22:19.996Z] d287ab97295c: Retrying in 3 seconds [2021-10-04T18:22:19.996Z] d287ab97295c: Retrying in 2 seconds [2021-10-04T18:22:19.996Z] d287ab97295c: Retrying in 1 second [2021-10-04T18:22:28.213Z] d287ab97295c: Retrying in 10 seconds [2021-10-04T18:22:28.213Z] d287ab97295c: Retrying in 9 seconds [2021-10-04T18:22:29.171Z] d287ab97295c: Retrying in 8 seconds [2021-10-04T18:22:30.130Z] d287ab97295c: Retrying in 7 seconds [2021-10-04T18:22:31.090Z] d287ab97295c: Retrying in 6 seconds [2021-10-04T18:22:32.048Z] d287ab97295c: Retrying in 5 seconds [2021-10-04T18:22:33.009Z] d287ab97295c: Retrying in 4 seconds [2021-10-04T18:22:34.417Z] d287ab97295c: Retrying in 3 seconds [2021-10-04T18:22:35.384Z] d287ab97295c: Retrying in 2 seconds [2021-10-04T18:22:36.174Z] d287ab97295c: Retrying in 1 second [2021-10-04T18:23:08.428Z] d287ab97295c: Verifying Checksum [2021-10-04T18:23:08.428Z] d287ab97295c: Download complete [2021-10-04T18:23:10.417Z] d287ab97295c: Pull complete [2021-10-04T18:23:10.417Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-04T18:23:10.417Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T18:23:10.417Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-04T18:23:10.546Z] prd-centos7-docker-4c-2g-1322 does not seem to be running inside a container [2021-10-04T18:23:10.635Z] $ 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/undry_go-mod-core-contracts_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_go-mod-core-contracts_main -v /w/workspace/undry_go-mod-core-contracts_main:/w/workspace/undry_go-mod-core-contracts_main:rw,z -v /w/workspace/undry_go-mod-core-contracts_main@tmp:/w/workspace/undry_go-mod-core-contracts_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-04T18:23:12.827Z] $ docker top 0a01bbb5ad0ec812b870eee3541251229ffdea98ad430943bc9c10b8031acc71 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-04T18:23:13.245Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-04T18:23:13.571Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-04T18:23:14.102Z] + ls /var/log/sa-host [2021-10-04T18:23:14.102Z] + sadf -c /var/log/sa-host/sa04 [2021-10-04T18:23:14.102Z] file_magic: OK [2021-10-04T18:23:14.102Z] HZ: Using current value: 100 [2021-10-04T18:23:14.102Z] file_header: OK [2021-10-04T18:23:14.102Z] 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-10-04T18:23:14.102Z] Statistics: [2021-10-04T18:23:14.102Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-04T18:23:14.102Z] File successfully converted to sysstat format version 12.0.3 [2021-10-04T18:23:14.102Z] + sadf -c /var/log/sa-host/sa30 [2021-10-04T18:23:14.102Z] file_magic: OK [2021-10-04T18:23:14.102Z] HZ: Using current value: 100 [2021-10-04T18:23:14.102Z] file_header: OK [2021-10-04T18:23:14.102Z] 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-10-04T18:23:14.102Z] Statistics: [2021-10-04T18:23:14.102Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-04T18:23:14.102Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-04T18:23:14.482Z] provisioning config files... [2021-10-04T18:23:14.503Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_go-mod-core-contracts_main@tmp/config2626928657084818136tmp [Pipeline] { [Pipeline] echo [2021-10-04T18:23:14.531Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:23:14.845Z] ---> create-netrc.sh [Pipeline] } [2021-10-04T18:23:14.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:23:15.256Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-04T18:23:15.271Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:23:15.587Z] ---> sudo-logs.sh [2021-10-04T18:23:15.587Z] Archiving 'sudo' log.. [2021-10-04T18:23:15.587Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1322.novalocal: Name or service not known [2021-10-04T18:23:15.587Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1322.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-04T18:23:15.649Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:23:15.977Z] ---> job-cost.sh [2021-10-04T18:23:15.977Z] lf-activate-venv: SKIPPING [2021-10-04T18:23:15.977Z] DEBUG: total: 0.05999999865889549 [2021-10-04T18:23:15.977Z] INFO: Retrieving Stack Cost... [2021-10-04T18:23:38.083Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-04T18:23:38.083Z] INFO: Archiving Costs [Pipeline] echo [2021-10-04T18:23:38.103Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T18:23:38.422Z] ---> logs-deploy.sh [2021-10-04T18:23:38.423Z] lf-activate-venv: SKIPPING [2021-10-04T18:23:38.423Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/main/21 [2021-10-04T18:23:38.423Z] INFO: archiving workspace using pattern(s): [2021-10-04T18:23:39.008Z] Archives upload complete. [2021-10-04T18:23:39.275Z] INFO: archiving logs to Nexus