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-ssh5565729058272785649.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-ssh7301525278364063783.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-ssh8379273546225207586.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-ssh6524590651510760506.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-ssh45868910011584633.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-1457 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-ssh4639695428624603460.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-05T02:04:30.125Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-05T02:04:30.211Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-05T02:04:30.238Z] ========================================================= [2021-10-05T02:04:30.238Z] EdgeX Global Pipelines Version Info [2021-10-05T02:04:30.238Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:04:31.137Z] ------------------- [2021-10-05T02:04:31.137Z] stable info: [2021-10-05T02:04:31.137Z] ------------------- [2021-10-05T02:04:31.137Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-05T02:04:31.137Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-05T02:04:31.137Z] Message: update stable to v1.0.206 [2021-10-05T02:04:32.098Z] ------------------- [2021-10-05T02:04:32.098Z] experimental info: [2021-10-05T02:04:32.098Z] ------------------- [2021-10-05T02:04:32.098Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-05T02:04:32.098Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-05T02:04:32.098Z] Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-05T02:04:32.227Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-10-05T02:04:32.252Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-10-05T02:04:32.276Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-05T02:04:32.301Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-05T02:04:32.325Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-05T02:04:32.349Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-05T02:04:32.372Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-10-05T02:04:32.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-05T02:04:32.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-05T02:04:32.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-05T02:04:32.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-05T02:04:32.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-05T02:04:32.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo [2021-10-05T02:04:32.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-05T02:04:32.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-05T02:04:32.621Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-10-05T02:04:32.644Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-05T02:04:32.667Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-05T02:04:32.690Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-05T02:04:32.714Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-05T02:04:32.737Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-05T02:04:32.759Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-05T02:04:32.781Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-05T02:04:32.804Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-05T02:04:32.829Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-05T02:04:32.852Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-10-05T02:04:32.874Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-05T02:04:32.896Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-05T02:04:32.919Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-05T02:04:32.941Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-05T02:04:32.964Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d59a7e79eea3462e9076066d39a7ec4eb47c6029 [Pipeline] echo [2021-10-05T02:04:32.988Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d59a7e7 [Pipeline] echo [2021-10-05T02:04:33.011Z] [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-05T02:04:33.488Z] + git log --format=format:%s -1 d59a7e79eea3462e9076066d39a7ec4eb47c6029 [Pipeline] echo [2021-10-05T02:04:33.540Z] GIT_COMMIT: d59a7e79eea3462e9076066d39a7ec4eb47c6029, Commit Message: Merge pull request #666 from weichou1229/issue-665 [Pipeline] echo [2021-10-05T02:04:33.553Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:04:34.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T02:04:34.186Z] [2021-10-05T02:04:34.186Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:04:34.535Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T02:04:34.535Z] latest: Pulling from edgex-devops/git-semver [2021-10-05T02:04:34.535Z] 31603596830f: Pulling fs layer [2021-10-05T02:04:34.535Z] 04fac38145f0: Pulling fs layer [2021-10-05T02:04:34.535Z] 701f6daf10bf: Pulling fs layer [2021-10-05T02:04:34.535Z] 24f72da36158: Pulling fs layer [2021-10-05T02:04:34.535Z] 24f72da36158: Waiting [2021-10-05T02:04:34.535Z] 04fac38145f0: Verifying Checksum [2021-10-05T02:04:34.535Z] 04fac38145f0: Download complete [2021-10-05T02:04:34.803Z] 31603596830f: Verifying Checksum [2021-10-05T02:04:34.803Z] 31603596830f: Download complete [2021-10-05T02:04:34.803Z] 24f72da36158: Verifying Checksum [2021-10-05T02:04:34.803Z] 24f72da36158: Download complete [2021-10-05T02:04:35.076Z] 701f6daf10bf: Verifying Checksum [2021-10-05T02:04:35.076Z] 701f6daf10bf: Download complete [2021-10-05T02:04:35.076Z] 31603596830f: Pull complete [2021-10-05T02:04:35.076Z] 04fac38145f0: Pull complete [2021-10-05T02:04:35.687Z] 701f6daf10bf: Pull complete [2021-10-05T02:04:35.687Z] 24f72da36158: Pull complete [2021-10-05T02:04:35.687Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-05T02:04:35.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T02:04:35.687Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-05T02:04:35.790Z] prd-centos7-docker-4c-2g-1457 does not seem to be running inside a container [2021-10-05T02:04:36.065Z] $ 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-05T02:04:36.818Z] $ docker top f7c4bd396dc5449460ca0129cba083b0e44d4d55e9c2fdb209391776350626df -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-05T02:04:36.945Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-05T02:04:36.946Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-05T02:04:37.063Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-05T02:04:37.066Z] $ docker exec f7c4bd396dc5449460ca0129cba083b0e44d4d55e9c2fdb209391776350626df ssh-agent [2021-10-05T02:04:37.201Z] SSH_AUTH_SOCK=/tmp/ssh-mPpKOUL7LAN6/agent.13 [2021-10-05T02:04:37.201Z] SSH_AGENT_PID=19 [2021-10-05T02:04:37.215Z] Running ssh-add (command line suppressed) [2021-10-05T02:04:37.306Z] Identity added: /w/workspace/undry_go-mod-core-contracts_main@tmp/private_key_8752950103898781732.key (/w/workspace/undry_go-mod-core-contracts_main@tmp/private_key_8752950103898781732.key) [2021-10-05T02:04:37.338Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-05T02:04:37.662Z] + git tag --points-at HEAD [Pipeline] } [2021-10-05T02:04:37.687Z] $ docker exec --env ******** --env ******** f7c4bd396dc5449460ca0129cba083b0e44d4d55e9c2fdb209391776350626df ssh-agent -k [2021-10-05T02:04:37.779Z] unset SSH_AUTH_SOCK; [2021-10-05T02:04:37.779Z] unset SSH_AGENT_PID; [2021-10-05T02:04:37.779Z] echo Agent pid 19 killed; [2021-10-05T02:04:37.797Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-05T02:04:37.849Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-05T02:04:37.849Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-05T02:04:37.962Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-05T02:04:37.964Z] $ docker exec f7c4bd396dc5449460ca0129cba083b0e44d4d55e9c2fdb209391776350626df ssh-agent [2021-10-05T02:04:38.072Z] SSH_AUTH_SOCK=/tmp/ssh-D5T1opkrC4Ml/agent.51 [2021-10-05T02:04:38.072Z] SSH_AGENT_PID=58 [2021-10-05T02:04:38.080Z] Running ssh-add (command line suppressed) [2021-10-05T02:04:38.175Z] Identity added: /w/workspace/undry_go-mod-core-contracts_main@tmp/private_key_5971150328323808914.key (/w/workspace/undry_go-mod-core-contracts_main@tmp/private_key_5971150328323808914.key) [2021-10-05T02:04:38.198Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-05T02:04:38.521Z] + git semver init [2021-10-05T02:04:38.521Z] # -> Open(): unable to determine branch for HEAD [2021-10-05T02:04:38.521Z] # $GIT_DIR = /w/workspace/undry_go-mod-core-contracts_main/.git [2021-10-05T02:04:38.521Z] # $GIT_WORK_TREE = /w/workspace/undry_go-mod-core-contracts_main [2021-10-05T02:04:38.521Z] # $SEMVER_REMOTE_NAME = origin [2021-10-05T02:04:38.521Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-05T02:04:38.521Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-05T02:04:38.521Z] # $SEMVER_BRANCH = main [2021-10-05T02:04:38.521Z] # $SEMVER_TEMP = /tmp/semver-986586418 [2021-10-05T02:04:38.521Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-10-05T02:04:39.499Z] # '/tmp/semver-986586418' -> '/w/workspace/undry_go-mod-core-contracts_main/.semver' [2021-10-05T02:04:39.499Z] # -> Force: false [2021-10-05T02:04:39.499Z] # $SEMVER_DIR = /w/workspace/undry_go-mod-core-contracts_main/.semver [Pipeline] } [2021-10-05T02:04:39.518Z] $ docker exec --env ******** --env ******** f7c4bd396dc5449460ca0129cba083b0e44d4d55e9c2fdb209391776350626df ssh-agent -k [2021-10-05T02:04:39.605Z] unset SSH_AUTH_SOCK; [2021-10-05T02:04:39.605Z] unset SSH_AGENT_PID; [2021-10-05T02:04:39.605Z] echo Agent pid 58 killed; [2021-10-05T02:04:39.625Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-05T02:04:40.004Z] + git semver [Pipeline] } [2021-10-05T02:04:40.023Z] $ docker stop --time=1 f7c4bd396dc5449460ca0129cba083b0e44d4d55e9c2fdb209391776350626df [2021-10-05T02:04:41.299Z] $ docker rm -f f7c4bd396dc5449460ca0129cba083b0e44d4d55e9c2fdb209391776350626df [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-05T02:04:41.706Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-05T02:04:42.326Z] Stashed 1 file(s) [Pipeline] echo [2021-10-05T02:04:42.329Z] [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-05T02:04:57.605Z] Still waiting to schedule task [2021-10-05T02:04:57.606Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-05T02:04:57.608Z] Still waiting to schedule task [2021-10-05T02:04:57.608Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-10-05T02:07:11.256Z] Running on prd-centos7-docker-4c-2g-1458 in /w/workspace/undry_go-mod-core-contracts_main [Pipeline] { [Pipeline] ws [2021-10-05T02:07:11.278Z] Running in /w/workspace/go-mod-core-contracts/22 [Pipeline] { [Pipeline] checkout [2021-10-05T02:07:11.396Z] Selected Git installation does not exist. Using Default [2021-10-05T02:07:11.396Z] The recommended git tool is: NONE [2021-10-05T02:07:15.241Z] using credential edgex-jenkins-ssh [2021-10-05T02:07:15.257Z] Cloning the remote Git repository [2021-10-05T02:07:14.511Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-10-05T02:07:14.578Z] > git init /w/workspace/go-mod-core-contracts/22 # timeout=10 [2021-10-05T02:07:14.612Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-10-05T02:07:14.612Z] > git --version # timeout=10 [2021-10-05T02:07:14.619Z] > git --version # 'git version 2.24.4' [2021-10-05T02:07:14.620Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T02:07:14.644Z] [INFO] Currently running in a labeled security context [2021-10-05T02:07:14.644Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-05T02:07:14.645Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/22@tmp/jenkins-gitclient-ssh2116552638378528817.key [2021-10-05T02:07:14.655Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T02:07:16.851Z] Avoid second fetch [2021-10-05T02:07:16.852Z] Checking out Revision d59a7e79eea3462e9076066d39a7ec4eb47c6029 (main) [2021-10-05T02:07:16.061Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-10-05T02:07:16.066Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T02:07:16.084Z] > git config core.sparsecheckout # timeout=10 [2021-10-05T02:07:16.089Z] > git checkout -f d59a7e79eea3462e9076066d39a7ec4eb47c6029 # timeout=10 [2021-10-05T02:07:20.758Z] 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-05T02:07:21.477Z] ========================================================= [2021-10-05T02:07:21.477Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-05T02:07:21.477Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-05T02:07:21.930Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-05T02:07:21.930Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-05T02:07:21.930Z] 540db60ca938: Pulling fs layer [2021-10-05T02:07:21.930Z] adcc1eea9eea: Pulling fs layer [2021-10-05T02:07:21.930Z] 4c4ab2625f07: Pulling fs layer [2021-10-05T02:07:21.930Z] db62176df00c: Pulling fs layer [2021-10-05T02:07:21.930Z] 3b30891b0d05: Pulling fs layer [2021-10-05T02:07:21.930Z] 06b49ca38bd5: Pulling fs layer [2021-10-05T02:07:21.930Z] c788192a36de: Pulling fs layer [2021-10-05T02:07:21.930Z] a77e37c0d609: Pulling fs layer [2021-10-05T02:07:21.930Z] c3185cebc471: Pulling fs layer [2021-10-05T02:07:21.930Z] 06b49ca38bd5: Waiting [2021-10-05T02:07:21.930Z] db62176df00c: Waiting [2021-10-05T02:07:21.930Z] c788192a36de: Waiting [2021-10-05T02:07:21.930Z] a77e37c0d609: Waiting [2021-10-05T02:07:21.930Z] c3185cebc471: Waiting [2021-10-05T02:07:21.930Z] 3b30891b0d05: Waiting [2021-10-05T02:07:21.930Z] 4c4ab2625f07: Verifying Checksum [2021-10-05T02:07:21.930Z] 4c4ab2625f07: Download complete [2021-10-05T02:07:22.206Z] adcc1eea9eea: Verifying Checksum [2021-10-05T02:07:22.206Z] adcc1eea9eea: Download complete [2021-10-05T02:07:22.206Z] 3b30891b0d05: Verifying Checksum [2021-10-05T02:07:22.206Z] 3b30891b0d05: Download complete [2021-10-05T02:07:22.206Z] 06b49ca38bd5: Verifying Checksum [2021-10-05T02:07:22.206Z] 06b49ca38bd5: Download complete [2021-10-05T02:07:22.206Z] 540db60ca938: Verifying Checksum [2021-10-05T02:07:22.206Z] c788192a36de: Verifying Checksum [2021-10-05T02:07:22.206Z] c788192a36de: Download complete [2021-10-05T02:07:22.477Z] 540db60ca938: Pull complete [2021-10-05T02:07:22.477Z] adcc1eea9eea: Pull complete [2021-10-05T02:07:22.477Z] 4c4ab2625f07: Pull complete [2021-10-05T02:07:23.075Z] a77e37c0d609: Verifying Checksum [2021-10-05T02:07:23.075Z] a77e37c0d609: Download complete [2021-10-05T02:07:23.075Z] db62176df00c: Verifying Checksum [2021-10-05T02:07:23.075Z] db62176df00c: Download complete [2021-10-05T02:07:24.052Z] c3185cebc471: Verifying Checksum [2021-10-05T02:07:24.052Z] c3185cebc471: Download complete [2021-10-05T02:07:27.435Z] db62176df00c: Pull complete [2021-10-05T02:07:27.435Z] 3b30891b0d05: Pull complete [2021-10-05T02:07:27.435Z] 06b49ca38bd5: Pull complete [2021-10-05T02:07:27.435Z] c788192a36de: Pull complete [2021-10-05T02:07:27.435Z] a77e37c0d609: Pull complete [2021-10-05T02:07:30.042Z] c3185cebc471: Pull complete [2021-10-05T02:07:30.042Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-10-05T02:07:30.042Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-05T02:07:30.042Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-10-05T02:07:30.391Z] + 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-05T02:07:30.710Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-05T02:07:30.711Z] . [Pipeline] withDockerContainer [2021-10-05T02:07:30.805Z] prd-centos7-docker-4c-2g-1458 does not seem to be running inside a container [2021-10-05T02:07:30.094Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/22 -v /w/workspace/go-mod-core-contracts/22:/w/workspace/go-mod-core-contracts/22:rw,z -v /w/workspace/go-mod-core-contracts/22@tmp:/w/workspace/go-mod-core-contracts/22@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-05T02:07:31.997Z] $ docker top 53f6bfa68e707bff989f62c6bb18a7dce0c0b5453d4987301cee2ed36205b3ea -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-05T02:07:33.385Z] + go version [2021-10-05T02:07:33.385Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-10-05T02:07:32.625Z] $ docker stop --time=1 53f6bfa68e707bff989f62c6bb18a7dce0c0b5453d4987301cee2ed36205b3ea [2021-10-05T02:07:33.805Z] $ docker rm -f 53f6bfa68e707bff989f62c6bb18a7dce0c0b5453d4987301cee2ed36205b3ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:07:35.181Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-05T02:07:35.181Z] . [Pipeline] withDockerContainer [2021-10-05T02:07:35.266Z] prd-centos7-docker-4c-2g-1458 does not seem to be running inside a container [2021-10-05T02:07:34.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/22 -v /w/workspace/go-mod-core-contracts/22:/w/workspace/go-mod-core-contracts/22:rw,z -v /w/workspace/go-mod-core-contracts/22@tmp:/w/workspace/go-mod-core-contracts/22@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-05T02:07:34.967Z] $ docker top 255d3b99de10ae5d30dc9102a680c263c52a3151b4876ad7846d2cc085b77ab3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-05T02:07:36.159Z] + go mod tidy [2021-10-05T02:07:43.247Z] go: downloading github.com/google/uuid v1.3.0 [2021-10-05T02:07:43.247Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-10-05T02:07:43.247Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-05T02:07:43.247Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-10-05T02:07:43.247Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-10-05T02:07:43.247Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-10-05T02:07:43.247Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-05T02:07:43.247Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-05T02:07:43.247Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-05T02:07:43.247Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-10-05T02:07:43.247Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-10-05T02:07:43.732Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-10-05T02:07:43.732Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-10-05T02:07:43.732Z] go: downloading golang.org/x/text v0.3.6 [2021-10-05T02:07:43.732Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-10-05T02:07:43.732Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-10-05T02:07:44.321Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-10-05T02:07:44.321Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-10-05T02:07:44.321Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2021-10-05T02:07:44.321Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2021-10-05T02:07:44.588Z] go: downloading github.com/kr/pretty v0.3.0 [2021-10-05T02:07:44.588Z] go: downloading github.com/kr/text v0.2.0 [2021-10-05T02:07:44.588Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [Pipeline] sh [2021-10-05T02:07:44.914Z] + make test [2021-10-05T02:07:44.914Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-10-05T02:07:45.509Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-10-05T02:07:55.629Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.055s coverage: 83.5% of statements [2021-10-05T02:07:55.629Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-10-05T02:07:55.629Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-10-05T02:07:55.629Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] [2021-10-05T02:07:55.911Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.011s coverage: 26.3% of statements [2021-10-05T02:07:55.911Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] [2021-10-05T02:07:56.917Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.024s coverage: 47.1% of statements [2021-10-05T02:07:56.917Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.016s coverage: 90.0% of statements [2021-10-05T02:07:57.197Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.030s coverage: 86.2% of statements [2021-10-05T02:07:57.197Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.013s coverage: 59.5% of statements [2021-10-05T02:07:57.464Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.011s coverage: 36.1% of statements [2021-10-05T02:07:57.735Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.009s coverage: 48.7% of statements [2021-10-05T02:07:58.014Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-10-05T02:08:03.428Z] gofmt -l . [2021-10-05T02:08:03.428Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-10-05T02:08:03.444Z] $ docker stop --time=1 255d3b99de10ae5d30dc9102a680c263c52a3151b4876ad7846d2cc085b77ab3 [2021-10-05T02:08:05.310Z] $ docker rm -f 255d3b99de10ae5d30dc9102a680c263c52a3151b4876ad7846d2cc085b77ab3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-05T02:08:05.879Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-05T02:08:06.174Z] 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-05T02:08:07.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T02:08:07.068Z] [2021-10-05T02:08:07.068Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:08:07.420Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T02:08:07.420Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-05T02:08:07.420Z] b4d181a07f80: Pulling fs layer [2021-10-05T02:08:07.420Z] a1111a8f2ec3: Pulling fs layer [2021-10-05T02:08:07.420Z] ed53099fbce6: Pulling fs layer [2021-10-05T02:08:07.420Z] dc539afda2c1: Pulling fs layer [2021-10-05T02:08:07.420Z] 77bc0d833cb6: Pulling fs layer [2021-10-05T02:08:07.420Z] 9065ff56babe: Pulling fs layer [2021-10-05T02:08:07.420Z] d287ab97295c: Pulling fs layer [2021-10-05T02:08:07.420Z] 77bc0d833cb6: Waiting [2021-10-05T02:08:07.420Z] 9065ff56babe: Waiting [2021-10-05T02:08:07.420Z] d287ab97295c: Waiting [2021-10-05T02:08:07.420Z] dc539afda2c1: Waiting [2021-10-05T02:08:07.902Z] a1111a8f2ec3: Verifying Checksum [2021-10-05T02:08:07.902Z] a1111a8f2ec3: Download complete [2021-10-05T02:08:07.902Z] dc539afda2c1: Verifying Checksum [2021-10-05T02:08:07.902Z] dc539afda2c1: Download complete [2021-10-05T02:08:07.902Z] ed53099fbce6: Verifying Checksum [2021-10-05T02:08:07.902Z] ed53099fbce6: Download complete [2021-10-05T02:08:07.902Z] 77bc0d833cb6: Verifying Checksum [2021-10-05T02:08:07.902Z] 77bc0d833cb6: Download complete [2021-10-05T02:08:07.902Z] 9065ff56babe: Verifying Checksum [2021-10-05T02:08:07.902Z] 9065ff56babe: Download complete [2021-10-05T02:08:07.902Z] b4d181a07f80: Verifying Checksum [2021-10-05T02:08:07.902Z] b4d181a07f80: Download complete [2021-10-05T02:08:09.345Z] d287ab97295c: Verifying Checksum [2021-10-05T02:08:09.345Z] d287ab97295c: Download complete [2021-10-05T02:08:09.345Z] b4d181a07f80: Pull complete [2021-10-05T02:08:09.621Z] a1111a8f2ec3: Pull complete [2021-10-05T02:08:10.219Z] ed53099fbce6: Pull complete [2021-10-05T02:08:10.219Z] dc539afda2c1: Pull complete [2021-10-05T02:08:10.493Z] 77bc0d833cb6: Pull complete [2021-10-05T02:08:10.493Z] 9065ff56babe: Pull complete [2021-10-05T02:08:15.963Z] d287ab97295c: Pull complete [2021-10-05T02:08:15.963Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-05T02:08:15.963Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T02:08:15.963Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-05T02:08:16.052Z] prd-centos7-docker-4c-2g-1458 does not seem to be running inside a container [2021-10-05T02:08:16.124Z] $ 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/22 -v /w/workspace/go-mod-core-contracts/22:/w/workspace/go-mod-core-contracts/22:rw,z -v /w/workspace/go-mod-core-contracts/22@tmp:/w/workspace/go-mod-core-contracts/22@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-05T02:08:18.251Z] $ docker top fece2e74fa3cace9b97e62c6e217eab3364e343999f46c44cc5608d080be341d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:08:18.747Z] ---> job-cost.sh [2021-10-05T02:08:18.747Z] lf-activate-venv: SKIPPING [2021-10-05T02:08:18.747Z] INFO: No Stack... [2021-10-05T02:08:19.015Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-05T02:08:19.283Z] INFO: Archiving Costs [Pipeline] sh [2021-10-05T02:08:19.600Z] + cat /w/workspace/go-mod-core-contracts/22/archives/cost.csv [2021-10-05T02:08:19.601Z] + cut -d, -f6 [Pipeline] lock [2021-10-05T02:08:20.102Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-main-22-stack-cost] [2021-10-05T02:08:20.116Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-main-22-stack-cost] did not exist. Created. [2021-10-05T02:08:20.116Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-05T02:08:20.455Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-05T02:08:20.501Z] Stashed 1 file(s) [Pipeline] } [2021-10-05T02:08:20.515Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-main-22-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-05T02:08:20.539Z] $ docker stop --time=1 fece2e74fa3cace9b97e62c6e217eab3364e343999f46c44cc5608d080be341d [2021-10-05T02:08:21.678Z] $ docker rm -f fece2e74fa3cace9b97e62c6e217eab3364e343999f46c44cc5608d080be341d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-05T02:15:56.840Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1462 in /w/workspace/undry_go-mod-core-contracts_main [Pipeline] { [Pipeline] ws [2021-10-05T02:15:56.863Z] Running in /w/workspace/go-mod-core-contracts/22 [Pipeline] { [Pipeline] checkout [2021-10-05T02:15:57.151Z] Selected Git installation does not exist. Using Default [2021-10-05T02:15:57.151Z] The recommended git tool is: NONE [2021-10-05T02:16:03.740Z] using credential edgex-jenkins-ssh [2021-10-05T02:16:03.778Z] Cloning the remote Git repository [2021-10-05T02:16:03.845Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-10-05T02:16:03.976Z] > git init /w/workspace/go-mod-core-contracts/22 # timeout=10 [2021-10-05T02:16:04.112Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-10-05T02:16:04.113Z] > git --version # timeout=10 [2021-10-05T02:16:04.133Z] > git --version # 'git version 2.17.1' [2021-10-05T02:16:04.135Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T02:16:04.265Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T02:16:05.772Z] Avoid second fetch [2021-10-05T02:16:05.773Z] Checking out Revision d59a7e79eea3462e9076066d39a7ec4eb47c6029 (main) [2021-10-05T02:16:05.732Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-10-05T02:16:05.750Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T02:16:05.792Z] > git config core.sparsecheckout # timeout=10 [2021-10-05T02:16:05.804Z] > git checkout -f d59a7e79eea3462e9076066d39a7ec4eb47c6029 # timeout=10 [2021-10-05T02:16:10.375Z] 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-05T02:16:11.245Z] ========================================================= [2021-10-05T02:16:11.245Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-05T02:16:11.245Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-05T02:16:11.887Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-05T02:16:17.420Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-05T02:16:17.420Z] 595b0fe564bb: Pulling fs layer [2021-10-05T02:16:17.420Z] 24495759ef45: Pulling fs layer [2021-10-05T02:16:17.420Z] d148012ef14d: Pulling fs layer [2021-10-05T02:16:17.420Z] e90a11edd702: Pulling fs layer [2021-10-05T02:16:17.420Z] d77568369979: Pulling fs layer [2021-10-05T02:16:17.420Z] fc1c9f9a7f3b: Pulling fs layer [2021-10-05T02:16:17.420Z] 170f2ba95c9a: Pulling fs layer [2021-10-05T02:16:17.420Z] 97ac5df62f85: Pulling fs layer [2021-10-05T02:16:17.420Z] e90a11edd702: Waiting [2021-10-05T02:16:17.420Z] d77568369979: Waiting [2021-10-05T02:16:17.420Z] fc1c9f9a7f3b: Waiting [2021-10-05T02:16:17.420Z] 170f2ba95c9a: Waiting [2021-10-05T02:16:17.420Z] 97ac5df62f85: Waiting [2021-10-05T02:16:17.420Z] d148012ef14d: Verifying Checksum [2021-10-05T02:16:17.420Z] d148012ef14d: Download complete [2021-10-05T02:16:17.420Z] 24495759ef45: Download complete [2021-10-05T02:16:17.420Z] d77568369979: Download complete [2021-10-05T02:16:17.420Z] fc1c9f9a7f3b: Verifying Checksum [2021-10-05T02:16:17.420Z] fc1c9f9a7f3b: Download complete [2021-10-05T02:16:17.420Z] 170f2ba95c9a: Download complete [2021-10-05T02:16:17.420Z] 595b0fe564bb: Download complete [2021-10-05T02:16:18.063Z] 595b0fe564bb: Pull complete [2021-10-05T02:16:18.715Z] 24495759ef45: Pull complete [2021-10-05T02:16:19.353Z] d148012ef14d: Pull complete [2021-10-05T02:16:19.909Z] 97ac5df62f85: Verifying Checksum [2021-10-05T02:16:19.909Z] 97ac5df62f85: Download complete [2021-10-05T02:16:19.909Z] e90a11edd702: Download complete [2021-10-05T02:16:30.329Z] e90a11edd702: Pull complete [2021-10-05T02:16:30.329Z] d77568369979: Pull complete [2021-10-05T02:16:30.947Z] fc1c9f9a7f3b: Pull complete [2021-10-05T02:16:31.233Z] 170f2ba95c9a: Pull complete [2021-10-05T02:16:36.754Z] 97ac5df62f85: Pull complete [2021-10-05T02:16:36.754Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-10-05T02:16:36.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-05T02:16:36.754Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-10-05T02:16:37.202Z] + 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-05T02:16:37.586Z] + docker inspect -f . ci-base-image-arm64 [2021-10-05T02:16:37.586Z] . [Pipeline] withDockerContainer [2021-10-05T02:16:37.902Z] prd-ubuntu18.04-docker-arm64-4c-16g-1462 does not seem to be running inside a container [2021-10-05T02:16:38.032Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/22 -v /w/workspace/go-mod-core-contracts/22:/w/workspace/go-mod-core-contracts/22:rw,z -v /w/workspace/go-mod-core-contracts/22@tmp:/w/workspace/go-mod-core-contracts/22@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-05T02:16:45.639Z] $ docker top 8d9c2922e4c21057bd06aec044168bf132c4a346a6eced2d207a6de219622d2a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-05T02:16:46.670Z] + go version [2021-10-05T02:16:46.670Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-10-05T02:16:46.707Z] $ docker stop --time=1 8d9c2922e4c21057bd06aec044168bf132c4a346a6eced2d207a6de219622d2a [2021-10-05T02:16:48.550Z] $ docker rm -f 8d9c2922e4c21057bd06aec044168bf132c4a346a6eced2d207a6de219622d2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:16:49.448Z] + docker inspect -f . ci-base-image-arm64 [2021-10-05T02:16:49.448Z] . [Pipeline] withDockerContainer [2021-10-05T02:16:49.773Z] prd-ubuntu18.04-docker-arm64-4c-16g-1462 does not seem to be running inside a container [2021-10-05T02:16:49.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/22 -v /w/workspace/go-mod-core-contracts/22:/w/workspace/go-mod-core-contracts/22:rw,z -v /w/workspace/go-mod-core-contracts/22@tmp:/w/workspace/go-mod-core-contracts/22@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-05T02:16:51.649Z] $ docker top 9d3c4fa86d858de6e5e4ea3aabcd333becdad8877262a826246fec2e6f8c2693 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-05T02:16:52.936Z] + go mod tidy [2021-10-05T02:16:57.353Z] go: downloading github.com/google/uuid v1.3.0 [2021-10-05T02:16:57.353Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-10-05T02:16:57.353Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-05T02:16:57.353Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-10-05T02:16:57.353Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-10-05T02:16:57.353Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-10-05T02:16:57.641Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-05T02:16:57.642Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-05T02:16:57.642Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-10-05T02:16:57.642Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-10-05T02:16:57.642Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-10-05T02:16:57.642Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-10-05T02:16:57.642Z] go: downloading golang.org/x/text v0.3.6 [2021-10-05T02:16:57.642Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-10-05T02:16:57.642Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-10-05T02:17:01.365Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-05T02:17:01.365Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2021-10-05T02:17:01.365Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-10-05T02:17:01.365Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-10-05T02:17:01.365Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2021-10-05T02:17:01.365Z] go: downloading github.com/kr/pretty v0.3.0 [2021-10-05T02:17:01.365Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2021-10-05T02:17:01.365Z] go: downloading github.com/kr/text v0.2.0 [Pipeline] sh [2021-10-05T02:17:02.581Z] + make test [2021-10-05T02:17:02.581Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-10-05T02:17:03.677Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] [2021-10-05T02:17:36.514Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.403s coverage: 83.5% of statements [2021-10-05T02:17:36.514Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] [2021-10-05T02:17:36.514Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] [2021-10-05T02:17:36.514Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] [2021-10-05T02:17:36.514Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.044s coverage: 26.3% of statements [2021-10-05T02:17:36.514Z] ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] [2021-10-05T02:17:38.034Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.081s coverage: 47.1% of statements [2021-10-05T02:17:38.034Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.081s coverage: 90.0% of statements [2021-10-05T02:17:38.665Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.307s coverage: 86.2% of statements [2021-10-05T02:17:38.665Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.055s coverage: 59.5% of statements [2021-10-05T02:17:39.288Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.028s coverage: 36.1% of statements [2021-10-05T02:17:39.946Z] ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.036s coverage: 48.7% of statements [2021-10-05T02:17:40.233Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-10-05T02:17:58.713Z] gofmt -l . [2021-10-05T02:17:58.713Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-10-05T02:17:58.763Z] $ docker stop --time=1 9d3c4fa86d858de6e5e4ea3aabcd333becdad8877262a826246fec2e6f8c2693 [2021-10-05T02:18:00.765Z] $ docker rm -f 9d3c4fa86d858de6e5e4ea3aabcd333becdad8877262a826246fec2e6f8c2693 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-05T02:18:02.712Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-05T02:18:02.754Z] Warning: overwriting stash ‘coverage-report’ [2021-10-05T02:18:03.486Z] 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-05T02:18:04.297Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T02:18:04.297Z] [2021-10-05T02:18:04.297Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:18:04.702Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T02:18:06.728Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-05T02:18:06.728Z] 448f6bf000e3: Pulling fs layer [2021-10-05T02:18:06.728Z] f757da607395: Pulling fs layer [2021-10-05T02:18:06.728Z] 05883995daec: Pulling fs layer [2021-10-05T02:18:06.728Z] 8603b9c90790: Pulling fs layer [2021-10-05T02:18:06.728Z] 1560dd03e051: Pulling fs layer [2021-10-05T02:18:06.728Z] 27f5ce0e4adf: Pulling fs layer [2021-10-05T02:18:06.728Z] c2d8d7efcc4b: Pulling fs layer [2021-10-05T02:18:06.728Z] 27f5ce0e4adf: Waiting [2021-10-05T02:18:06.728Z] c2d8d7efcc4b: Waiting [2021-10-05T02:18:06.728Z] 8603b9c90790: Waiting [2021-10-05T02:18:07.019Z] f757da607395: Verifying Checksum [2021-10-05T02:18:07.019Z] f757da607395: Download complete [2021-10-05T02:18:07.019Z] 8603b9c90790: Verifying Checksum [2021-10-05T02:18:07.019Z] 8603b9c90790: Download complete [2021-10-05T02:18:07.307Z] 1560dd03e051: Verifying Checksum [2021-10-05T02:18:07.307Z] 1560dd03e051: Download complete [2021-10-05T02:18:07.307Z] 05883995daec: Download complete [2021-10-05T02:18:07.307Z] 27f5ce0e4adf: Download complete [2021-10-05T02:18:07.592Z] 448f6bf000e3: Verifying Checksum [2021-10-05T02:18:07.592Z] 448f6bf000e3: Download complete [2021-10-05T02:18:10.314Z] c2d8d7efcc4b: Verifying Checksum [2021-10-05T02:18:10.314Z] c2d8d7efcc4b: Download complete [2021-10-05T02:18:11.328Z] 448f6bf000e3: Pull complete [2021-10-05T02:18:12.351Z] f757da607395: Pull complete [2021-10-05T02:18:13.374Z] 05883995daec: Pull complete [2021-10-05T02:18:13.996Z] 8603b9c90790: Pull complete [2021-10-05T02:18:15.017Z] 1560dd03e051: Pull complete [2021-10-05T02:18:15.308Z] 27f5ce0e4adf: Pull complete [2021-10-05T02:18:30.879Z] c2d8d7efcc4b: Pull complete [2021-10-05T02:18:30.879Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-05T02:18:30.879Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T02:18:30.879Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-05T02:18:31.196Z] prd-ubuntu18.04-docker-arm64-4c-16g-1462 does not seem to be running inside a container [2021-10-05T02:18:31.580Z] $ 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/22 -v /w/workspace/go-mod-core-contracts/22:/w/workspace/go-mod-core-contracts/22:rw,z -v /w/workspace/go-mod-core-contracts/22@tmp:/w/workspace/go-mod-core-contracts/22@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:arm64 cat [2021-10-05T02:18:36.950Z] $ docker top ccc4ffd9f5bd7454db320c216fa1b9c5cf71b3e0588d5c75bb809e749f31eb36 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:18:38.018Z] ---> job-cost.sh [2021-10-05T02:18:38.018Z] lf-activate-venv: SKIPPING [2021-10-05T02:18:38.018Z] INFO: No Stack... [2021-10-05T02:18:38.307Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-05T02:18:38.930Z] INFO: Archiving Costs [Pipeline] sh [2021-10-05T02:18:39.670Z] + cut -d, -f6 [2021-10-05T02:18:39.670Z] + cat /w/workspace/go-mod-core-contracts/22/archives/cost.csv [Pipeline] lock [2021-10-05T02:18:39.758Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-main-22-stack-cost] [2021-10-05T02:18:39.794Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-main-22-stack-cost] did not exist. Created. [2021-10-05T02:18:39.794Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-05T02:18:40.565Z] /w/workspace/go-mod-core-contracts/22@tmp/durable-7886f719/script.sh: 1: /w/workspace/go-mod-core-contracts/22@tmp/durable-7886f719/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-05T02:18:41.316Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-05T02:18:41.389Z] Warning: overwriting stash ‘stack-cost’ [2021-10-05T02:18:41.448Z] Stashed 1 file(s) [Pipeline] } [2021-10-05T02:18:41.465Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-main-22-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-05T02:18:41.506Z] $ docker stop --time=1 ccc4ffd9f5bd7454db320c216fa1b9c5cf71b3e0588d5c75bb809e749f31eb36 [2021-10-05T02:18:43.106Z] $ docker rm -f ccc4ffd9f5bd7454db320c216fa1b9c5cf71b3e0588d5c75bb809e749f31eb36 [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-10-05T02:18:44.241Z] provisioning config files... [2021-10-05T02:18:44.468Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/undry_go-mod-core-contracts_main@tmp/config1164150611420772105tmp [Pipeline] { [Pipeline] sh [2021-10-05T02:18:44.836Z] + set +x [2021-10-05T02:18:44.836Z] + curl -s https://codecov.io/bash [2021-10-05T02:18:44.836Z] + bash -s -- [2021-10-05T02:18:44.836Z] [2021-10-05T02:18:44.836Z] _____ _ [2021-10-05T02:18:44.836Z] / ____| | | [2021-10-05T02:18:44.836Z] | | ___ __| | ___ ___ _____ __ [2021-10-05T02:18:44.836Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-05T02:18:44.836Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-05T02:18:44.836Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-05T02:18:44.836Z] Bash-1.0.6 [2021-10-05T02:18:44.836Z] [2021-10-05T02:18:44.836Z] [2021-10-05T02:18:44.836Z] ==> git version 2.24.4 found [2021-10-05T02:18:44.836Z] ==> 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-10-05T02:18:44.836Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-05T02:18:44.836Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-05T02:18:44.836Z] ==> Jenkins CI detected. [2021-10-05T02:18:44.836Z] current dir:  /w/workspace/undry_go-mod-core-contracts_main [2021-10-05T02:18:44.836Z] project root: . [2021-10-05T02:18:44.836Z] --> token set from env [2021-10-05T02:18:44.836Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-05T02:18:45.106Z] ==> Running gcov in . (disable via -X gcov) [2021-10-05T02:18:45.106Z] ==> Python coveragepy not found [2021-10-05T02:18:45.106Z] ==> Searching for coverage reports in: [2021-10-05T02:18:45.106Z] + . [2021-10-05T02:18:45.106Z] -> Found 1 reports [2021-10-05T02:18:45.106Z] ==> Detecting git/mercurial file structure [2021-10-05T02:18:45.106Z] ==> Reading reports [2021-10-05T02:18:45.106Z] + ./coverage.out bytes=102517 [2021-10-05T02:18:45.106Z] ==> Appending adjustments [2021-10-05T02:18:45.106Z] https://docs.codecov.io/docs/fixing-reports [2021-10-05T02:18:45.697Z] + Found adjustments [2021-10-05T02:18:45.697Z] ==> Gzipping contents [2021-10-05T02:18:45.697Z] 16K /tmp/codecov.2O3etY.gz [2021-10-05T02:18:45.697Z] ==> Uploading reports [2021-10-05T02:18:45.697Z] url: https://codecov.io [2021-10-05T02:18:45.697Z] query: branch=main&commit=d59a7e79eea3462e9076066d39a7ec4eb47c6029&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-05T02:18:45.697Z] -> Pinging Codecov [2021-10-05T02:18:45.697Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=ed6cf6b4-2a06-43fb-b229-bfa3e55f90ff&branch=main&commit=d59a7e79eea3462e9076066d39a7ec4eb47c6029&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-05T02:18:45.967Z] -> Uploading to [2021-10-05T02:18:45.967Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-05/71470A77251A30514AAF9C0BB2E5B6CE/d59a7e79eea3462e9076066d39a7ec4eb47c6029/2fd78e38-f8f9-43e8-8dfd-e10e616d0619.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211005T021845Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=07d957973528852aeec82aefb42c3f1157f876d9510ab403462127d191038a4e [2021-10-05T02:18:45.967Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-05T02:18:45.967Z] Dload Upload Total Spent Left Speed [2021-10-05T02:18:46.238Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15284 0 0 100 15284 0 44171 --:--:-- --:--:-- --:--:-- 44301 [2021-10-05T02:18:46.238Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/d59a7e79eea3462e9076066d39a7ec4eb47c6029 [Pipeline] } [2021-10-05T02:18:46.252Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-05T02:18:46.992Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-05T02:18:47.018Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:18:47.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-05T02:18:47.349Z] [2021-10-05T02:18:47.349Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:18:47.721Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-05T02:18:47.721Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-05T02:18:47.721Z] 188c0c94c7c5: Pulling fs layer [2021-10-05T02:18:47.721Z] 0ef7d3d256c8: Pulling fs layer [2021-10-05T02:18:47.721Z] de9db76c5a1d: Pulling fs layer [2021-10-05T02:18:47.721Z] 0eba1c9be4d2: Pulling fs layer [2021-10-05T02:18:47.721Z] 0d57e429df01: Pulling fs layer [2021-10-05T02:18:47.721Z] 4e4be7b47b0d: Pulling fs layer [2021-10-05T02:18:47.721Z] e1f770b5df2f: Pulling fs layer [2021-10-05T02:18:47.721Z] 85a0685a4137: Pulling fs layer [2021-10-05T02:18:47.721Z] 0eba1c9be4d2: Waiting [2021-10-05T02:18:47.721Z] 0d57e429df01: Waiting [2021-10-05T02:18:47.721Z] 4e4be7b47b0d: Waiting [2021-10-05T02:18:47.721Z] e1f770b5df2f: Waiting [2021-10-05T02:18:47.721Z] 85a0685a4137: Waiting [2021-10-05T02:18:47.721Z] de9db76c5a1d: Verifying Checksum [2021-10-05T02:18:47.721Z] de9db76c5a1d: Download complete [2021-10-05T02:18:47.721Z] 0ef7d3d256c8: Verifying Checksum [2021-10-05T02:18:47.721Z] 0ef7d3d256c8: Download complete [2021-10-05T02:18:47.721Z] 0d57e429df01: Verifying Checksum [2021-10-05T02:18:47.721Z] 0d57e429df01: Download complete [2021-10-05T02:18:47.721Z] 4e4be7b47b0d: Verifying Checksum [2021-10-05T02:18:47.721Z] 4e4be7b47b0d: Download complete [2021-10-05T02:18:47.996Z] 188c0c94c7c5: Verifying Checksum [2021-10-05T02:18:47.996Z] 188c0c94c7c5: Download complete [2021-10-05T02:18:47.996Z] 188c0c94c7c5: Pull complete [2021-10-05T02:18:48.269Z] 0ef7d3d256c8: Pull complete [2021-10-05T02:18:48.269Z] de9db76c5a1d: Pull complete [2021-10-05T02:18:55.162Z] e1f770b5df2f: Verifying Checksum [2021-10-05T02:18:55.162Z] e1f770b5df2f: Download complete [2021-10-05T02:19:01.850Z] 0eba1c9be4d2: Verifying Checksum [2021-10-05T02:19:01.850Z] 0eba1c9be4d2: Download complete [2021-10-05T02:19:02.449Z] 85a0685a4137: Verifying Checksum [2021-10-05T02:19:02.449Z] 85a0685a4137: Download complete [2021-10-05T02:19:05.820Z] 0eba1c9be4d2: Pull complete [2021-10-05T02:19:05.821Z] 0d57e429df01: Pull complete [2021-10-05T02:19:05.821Z] 4e4be7b47b0d: Pull complete [2021-10-05T02:19:06.411Z] e1f770b5df2f: Pull complete [2021-10-05T02:19:10.195Z] 85a0685a4137: Pull complete [2021-10-05T02:19:10.195Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-05T02:19:10.195Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-05T02:19:10.195Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-05T02:19:10.297Z] prd-centos7-docker-4c-2g-1457 does not seem to be running inside a container [2021-10-05T02:19:10.373Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-10-05T02:19:12.747Z] $ docker top c543513256f75a641273f062149e77cb4f4f171a5e25d5be9d5211db32368886 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-05T02:19:13.054Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-05T02:19:13.412Z] + set -o pipefail [2021-10-05T02:19:13.412Z] + snyk monitor '--org=edgex-jenkins' [2021-10-05T02:21:35.819Z] [2021-10-05T02:21:35.819Z] Monitoring /w/workspace/undry_go-mod-core-contracts_main... [2021-10-05T02:21:35.819Z] [2021-10-05T02:21:35.819Z] Server returned unexpected error for the monitor request. Status code: 502 [2021-10-05T02:21:35.819Z] [Pipeline] } [2021-10-05T02:21:35.839Z] $ docker stop --time=1 c543513256f75a641273f062149e77cb4f4f171a5e25d5be9d5211db32368886 [2021-10-05T02:21:37.279Z] $ docker rm -f c543513256f75a641273f062149e77cb4f4f171a5e25d5be9d5211db32368886 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-05T02:21:37.574Z] [edgeXSnyk] Exit Code: 2 [Pipeline] error [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-05T02:21:39.126Z] + '[' -d /w/workspace/undry_go-mod-core-contracts_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:21:39.464Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:21:40.073Z] ---> package-listing.sh [2021-10-05T02:21:40.073Z] ++ facter osfamily [2021-10-05T02:21:40.073Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-05T02:21:40.345Z] + OS_FAMILY=redhat [2021-10-05T02:21:40.345Z] + workspace=/w/workspace/undry_go-mod-core-contracts_main [2021-10-05T02:21:40.345Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-05T02:21:40.345Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-05T02:21:40.345Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-05T02:21:40.345Z] + PACKAGES=/tmp/packages_start.txt [2021-10-05T02:21:40.345Z] + '[' /w/workspace/undry_go-mod-core-contracts_main ']' [2021-10-05T02:21:40.345Z] + PACKAGES=/tmp/packages_end.txt [2021-10-05T02:21:40.345Z] + case "${OS_FAMILY}" in [2021-10-05T02:21:40.345Z] + rpm -qa [2021-10-05T02:21:40.345Z] + sort [2021-10-05T02:21:40.930Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-05T02:21:40.930Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-05T02:21:40.930Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-05T02:21:40.930Z] + '[' /w/workspace/undry_go-mod-core-contracts_main ']' [2021-10-05T02:21:40.930Z] + mkdir -p /w/workspace/undry_go-mod-core-contracts_main/archives/ [2021-10-05T02:21:40.930Z] + 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-05T02:21:40.949Z] 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-05T02:21:41.261Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:21:42.076Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T02:21:42.076Z] [2021-10-05T02:21:42.076Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T02:21:42.418Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T02:21:42.687Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-05T02:21:42.687Z] b4d181a07f80: Pulling fs layer [2021-10-05T02:21:42.687Z] a1111a8f2ec3: Pulling fs layer [2021-10-05T02:21:42.687Z] ed53099fbce6: Pulling fs layer [2021-10-05T02:21:42.687Z] dc539afda2c1: Pulling fs layer [2021-10-05T02:21:42.687Z] 77bc0d833cb6: Pulling fs layer [2021-10-05T02:21:42.687Z] 9065ff56babe: Pulling fs layer [2021-10-05T02:21:42.687Z] d287ab97295c: Pulling fs layer [2021-10-05T02:21:42.687Z] dc539afda2c1: Waiting [2021-10-05T02:21:42.687Z] 77bc0d833cb6: Waiting [2021-10-05T02:21:42.687Z] 9065ff56babe: Waiting [2021-10-05T02:21:42.687Z] d287ab97295c: Waiting [2021-10-05T02:21:42.953Z] a1111a8f2ec3: Verifying Checksum [2021-10-05T02:21:42.953Z] a1111a8f2ec3: Download complete [2021-10-05T02:21:42.953Z] dc539afda2c1: Verifying Checksum [2021-10-05T02:21:42.953Z] dc539afda2c1: Download complete [2021-10-05T02:21:42.953Z] ed53099fbce6: Verifying Checksum [2021-10-05T02:21:42.953Z] ed53099fbce6: Download complete [2021-10-05T02:21:42.953Z] 9065ff56babe: Verifying Checksum [2021-10-05T02:21:42.953Z] 9065ff56babe: Download complete [2021-10-05T02:21:42.953Z] 77bc0d833cb6: Verifying Checksum [2021-10-05T02:21:42.953Z] 77bc0d833cb6: Download complete [2021-10-05T02:21:43.538Z] b4d181a07f80: Verifying Checksum [2021-10-05T02:21:43.538Z] b4d181a07f80: Download complete [2021-10-05T02:21:44.137Z] d287ab97295c: Verifying Checksum [2021-10-05T02:21:44.137Z] d287ab97295c: Download complete [2021-10-05T02:21:44.736Z] b4d181a07f80: Pull complete [2021-10-05T02:21:45.011Z] a1111a8f2ec3: Pull complete [2021-10-05T02:21:45.606Z] ed53099fbce6: Pull complete [2021-10-05T02:21:45.606Z] dc539afda2c1: Pull complete [2021-10-05T02:21:45.881Z] 77bc0d833cb6: Pull complete [2021-10-05T02:21:45.881Z] 9065ff56babe: Pull complete [2021-10-05T02:21:51.283Z] d287ab97295c: Pull complete [2021-10-05T02:21:51.283Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-05T02:21:51.283Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T02:21:51.283Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-05T02:21:51.362Z] prd-centos7-docker-4c-2g-1457 does not seem to be running inside a container [2021-10-05T02:21:51.428Z] $ 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-05T02:21:53.192Z] $ docker top 430f59c1e52adbf91d5cade0ef602827127707c7cd4ce18ab60100d634b2f415 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-05T02:21:53.602Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-05T02:21:53.920Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-05T02:21:54.444Z] + ls /var/log/sa-host [2021-10-05T02:21:54.444Z] + sadf -c /var/log/sa-host/sa05 [2021-10-05T02:21:54.444Z] file_magic: OK [2021-10-05T02:21:54.444Z] HZ: Using current value: 100 [2021-10-05T02:21:54.444Z] file_header: OK [2021-10-05T02:21:54.444Z] 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-05T02:21:54.444Z] Statistics: [2021-10-05T02:21:54.444Z] 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...Hnuu...uuuununununu... [2021-10-05T02:21:54.444Z] File successfully converted to sysstat format version 12.0.3 [2021-10-05T02:21:54.444Z] + sadf -c /var/log/sa-host/sa30 [2021-10-05T02:21:54.444Z] file_magic: OK [2021-10-05T02:21:54.444Z] HZ: Using current value: 100 [2021-10-05T02:21:54.444Z] file_header: OK [2021-10-05T02:21:54.444Z] 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-05T02:21:54.444Z] Statistics: [2021-10-05T02:21:54.444Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-05T02:21:54.444Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T02:21:56.884Z] provisioning config files... [2021-10-05T02:21:56.901Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_go-mod-core-contracts_main@tmp/config4555910312515375914tmp [Pipeline] { [Pipeline] echo [2021-10-05T02:21:56.924Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:21:57.243Z] ---> create-netrc.sh [Pipeline] } [2021-10-05T02:21:57.255Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:21:57.677Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-05T02:21:57.691Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:21:58.013Z] ---> sudo-logs.sh [2021-10-05T02:21:58.013Z] Archiving 'sudo' log.. [2021-10-05T02:21:58.013Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1457.novalocal: Name or service not known [2021-10-05T02:21:58.013Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1457.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-05T02:21:58.055Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:21:58.368Z] ---> job-cost.sh [2021-10-05T02:21:58.368Z] lf-activate-venv: SKIPPING [2021-10-05T02:21:58.368Z] DEBUG: total: 0.10999999940395355 [2021-10-05T02:21:58.368Z] INFO: Retrieving Stack Cost... [2021-10-05T02:21:58.636Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-05T02:21:59.217Z] INFO: Archiving Costs [Pipeline] echo [2021-10-05T02:21:59.236Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T02:21:59.558Z] ---> logs-deploy.sh [2021-10-05T02:21:59.558Z] lf-activate-venv: SKIPPING [2021-10-05T02:21:59.558Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/main/22 [2021-10-05T02:21:59.558Z] INFO: archiving workspace using pattern(s): [2021-10-05T02:22:00.144Z] Archives upload complete. [2021-10-05T02:22:00.412Z] INFO: archiving logs to Nexus