Push event to branch main 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-ssh3410209519262267520.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-ssh1181621577817216937.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-ssh8494337978979645698.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-ssh1741078137847855635.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-ssh7476598962282363775.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-1194 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-ssh1936629105944202592.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 db9dff2a34e3664b5922ffa83189a650db6fe00b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-04T16:46:44.330Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-04T16:46:44.437Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-04T16:46:44.462Z] ========================================================= [2021-10-04T16:46:44.462Z] EdgeX Global Pipelines Version Info [2021-10-04T16:46:44.462Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-04T16:46:45.712Z] ------------------- [2021-10-04T16:46:45.712Z] stable info: [2021-10-04T16:46:45.712Z] ------------------- [2021-10-04T16:46:45.712Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-04T16:46:45.712Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-04T16:46:45.712Z] Message: update stable to v1.0.206 [2021-10-04T16:46:46.301Z] ------------------- [2021-10-04T16:46:46.301Z] experimental info: [2021-10-04T16:46:46.301Z] ------------------- [2021-10-04T16:46:46.301Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-04T16:46:46.301Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-04T16:46:46.301Z] Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-04T16:46:48.231Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2021-10-04T16:46:48.263Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2021-10-04T16:46:48.287Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-04T16:46:48.311Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-04T16:46:48.335Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-04T16:46:48.359Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-04T16:46:48.382Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-10-04T16:46:48.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-04T16:46:48.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-04T16:46:48.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-04T16:46:48.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-04T16:46:48.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-04T16:46:48.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo [2021-10-04T16:46:48.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-04T16:46:48.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-04T16:46:48.591Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-10-04T16:46:48.613Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-04T16:46:48.636Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-04T16:46:48.659Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-04T16:46:48.682Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-04T16:46:48.704Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-04T16:46:48.730Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-04T16:46:48.756Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-04T16:46:48.782Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-04T16:46:48.806Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-04T16:46:48.830Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-10-04T16:46:48.879Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-04T16:46:48.902Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-04T16:46:48.925Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-04T16:46:48.949Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-04T16:46:48.973Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d59a7e79eea3462e9076066d39a7ec4eb47c6029 [Pipeline] echo [2021-10-04T16:46:48.997Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d59a7e7 [Pipeline] echo [2021-10-04T16:46:49.020Z] [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-04T16:46:49.514Z] + git log --format=format:%s -1 d59a7e79eea3462e9076066d39a7ec4eb47c6029 [Pipeline] echo [2021-10-04T16:46:49.566Z] GIT_COMMIT: d59a7e79eea3462e9076066d39a7ec4eb47c6029, Commit Message: Merge pull request #666 from weichou1229/issue-665 [Pipeline] echo [2021-10-04T16:46:49.580Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-04T16:46:50.578Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-04T16:46:50.578Z] [2021-10-04T16:46:50.578Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-04T16:46:50.938Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-04T16:46:50.938Z] latest: Pulling from edgex-devops/git-semver [2021-10-04T16:46:50.938Z] 31603596830f: Pulling fs layer [2021-10-04T16:46:50.938Z] 04fac38145f0: Pulling fs layer [2021-10-04T16:46:50.938Z] 701f6daf10bf: Pulling fs layer [2021-10-04T16:46:50.938Z] 24f72da36158: Pulling fs layer [2021-10-04T16:46:50.938Z] 24f72da36158: Waiting [2021-10-04T16:46:51.208Z] 04fac38145f0: Download complete [2021-10-04T16:46:51.208Z] 31603596830f: Verifying Checksum [2021-10-04T16:46:51.208Z] 31603596830f: Download complete [2021-10-04T16:46:51.208Z] 24f72da36158: Verifying Checksum [2021-10-04T16:46:51.208Z] 24f72da36158: Download complete [2021-10-04T16:46:51.476Z] 701f6daf10bf: Verifying Checksum [2021-10-04T16:46:51.476Z] 701f6daf10bf: Download complete [2021-10-04T16:46:51.476Z] 31603596830f: Pull complete [2021-10-04T16:46:51.476Z] 04fac38145f0: Pull complete [2021-10-04T16:46:52.079Z] 701f6daf10bf: Pull complete [2021-10-04T16:46:52.079Z] 24f72da36158: Pull complete [2021-10-04T16:46:52.355Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-04T16:46:52.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-04T16:46:52.355Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-04T16:46:52.443Z] prd-centos7-docker-4c-2g-1194 does not seem to be running inside a container [2021-10-04T16:46:52.503Z] $ 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-04T16:46:53.301Z] $ docker top 66256b0dc71a2feb4ab72fdfd271dc967ec3d2f9c9083a51050bc0b9fc759c0e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-04T16:46:53.441Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-04T16:46:53.441Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-04T16:46:53.570Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-04T16:46:53.575Z] $ docker exec 66256b0dc71a2feb4ab72fdfd271dc967ec3d2f9c9083a51050bc0b9fc759c0e ssh-agent [2021-10-04T16:46:53.696Z] SSH_AUTH_SOCK=/tmp/ssh-2PUH4I7RfEIB/agent.14 [2021-10-04T16:46:53.696Z] SSH_AGENT_PID=20 [2021-10-04T16:46:53.707Z] Running ssh-add (command line suppressed) [2021-10-04T16:46:53.810Z] Identity added: /w/workspace/undry_go-mod-core-contracts_main@tmp/private_key_5451462512629798748.key (/w/workspace/undry_go-mod-core-contracts_main@tmp/private_key_5451462512629798748.key) [2021-10-04T16:46:53.834Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-04T16:46:54.156Z] + git tag --points-at HEAD [Pipeline] } [2021-10-04T16:46:54.180Z] $ docker exec --env ******** --env ******** 66256b0dc71a2feb4ab72fdfd271dc967ec3d2f9c9083a51050bc0b9fc759c0e ssh-agent -k [2021-10-04T16:46:54.277Z] unset SSH_AUTH_SOCK; [2021-10-04T16:46:54.277Z] unset SSH_AGENT_PID; [2021-10-04T16:46:54.277Z] echo Agent pid 20 killed; [2021-10-04T16:46:54.294Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-04T16:46:54.333Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-04T16:46:54.333Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-04T16:46:54.455Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-04T16:46:54.458Z] $ docker exec 66256b0dc71a2feb4ab72fdfd271dc967ec3d2f9c9083a51050bc0b9fc759c0e ssh-agent [2021-10-04T16:46:54.596Z] SSH_AUTH_SOCK=/tmp/ssh-E1xClQ6KXseX/agent.55 [2021-10-04T16:46:54.596Z] SSH_AGENT_PID=62 [2021-10-04T16:46:54.605Z] Running ssh-add (command line suppressed) [2021-10-04T16:46:54.735Z] Identity added: /w/workspace/undry_go-mod-core-contracts_main@tmp/private_key_2201065597501097601.key (/w/workspace/undry_go-mod-core-contracts_main@tmp/private_key_2201065597501097601.key) [2021-10-04T16:46:54.774Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-04T16:46:55.096Z] + git semver init [2021-10-04T16:46:55.096Z] # -> Open(): unable to determine branch for HEAD [2021-10-04T16:46:55.096Z] # $GIT_DIR = /w/workspace/undry_go-mod-core-contracts_main/.git [2021-10-04T16:46:55.096Z] # $GIT_WORK_TREE = /w/workspace/undry_go-mod-core-contracts_main [2021-10-04T16:46:55.096Z] # $SEMVER_REMOTE_NAME = origin [2021-10-04T16:46:55.096Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-04T16:46:55.096Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-04T16:46:55.096Z] # $SEMVER_BRANCH = main [2021-10-04T16:46:55.096Z] # $SEMVER_TEMP = /tmp/semver-288773721 [2021-10-04T16:46:55.096Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP [2021-10-04T16:46:56.062Z] # '/tmp/semver-288773721' -> '/w/workspace/undry_go-mod-core-contracts_main/.semver' [2021-10-04T16:46:56.062Z] # -> Force: false [2021-10-04T16:46:56.062Z] # $SEMVER_DIR = /w/workspace/undry_go-mod-core-contracts_main/.semver [Pipeline] } [2021-10-04T16:46:56.077Z] $ docker exec --env ******** --env ******** 66256b0dc71a2feb4ab72fdfd271dc967ec3d2f9c9083a51050bc0b9fc759c0e ssh-agent -k [2021-10-04T16:46:56.181Z] unset SSH_AUTH_SOCK; [2021-10-04T16:46:56.181Z] unset SSH_AGENT_PID; [2021-10-04T16:46:56.181Z] echo Agent pid 62 killed; [2021-10-04T16:46:56.198Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-04T16:46:56.544Z] + git semver [Pipeline] } [2021-10-04T16:46:56.563Z] $ docker stop --time=1 66256b0dc71a2feb4ab72fdfd271dc967ec3d2f9c9083a51050bc0b9fc759c0e [2021-10-04T16:46:57.846Z] $ docker rm -f 66256b0dc71a2feb4ab72fdfd271dc967ec3d2f9c9083a51050bc0b9fc759c0e [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-04T16:46:58.230Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-04T16:46:58.561Z] Stashed 1 file(s) [Pipeline] echo [2021-10-04T16:46:58.564Z] [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-04T16:47:13.884Z] Still waiting to schedule task [2021-10-04T16:47:13.884Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-04T16:47:13.888Z] Still waiting to schedule task [2021-10-04T16:47:13.888Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-04T16:49:38.355Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1195 in /w/workspace/undry_go-mod-core-contracts_main [Pipeline] { [Pipeline] ws [2021-10-04T16:49:38.375Z] Running in /w/workspace/go-mod-core-contracts/20 [Pipeline] { [Pipeline] checkout [2021-10-04T16:49:38.625Z] Selected Git installation does not exist. Using Default [2021-10-04T16:49:38.625Z] The recommended git tool is: NONE [2021-10-04T16:49:45.563Z] using credential edgex-jenkins-ssh [2021-10-04T16:49:45.596Z] Cloning the remote Git repository [2021-10-04T16:49:45.764Z] Running on prd-centos7-docker-4c-2g-1196 in /w/workspace/undry_go-mod-core-contracts_main [Pipeline] { [Pipeline] ws [2021-10-04T16:49:45.781Z] Running in /w/workspace/go-mod-core-contracts/20 [Pipeline] { [Pipeline] checkout [2021-10-04T16:49:45.894Z] Selected Git installation does not exist. Using Default [2021-10-04T16:49:45.894Z] The recommended git tool is: NONE [2021-10-04T16:49:45.649Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-10-04T16:49:45.766Z] > git init /w/workspace/go-mod-core-contracts/20 # timeout=10 [2021-10-04T16:49:45.870Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-10-04T16:49:45.871Z] > git --version # timeout=10 [2021-10-04T16:49:45.887Z] > git --version # 'git version 2.17.1' [2021-10-04T16:49:45.889Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-04T16:49:45.963Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-04T16:49:47.562Z] Avoid second fetch [2021-10-04T16:49:47.563Z] Checking out Revision d59a7e79eea3462e9076066d39a7ec4eb47c6029 (main) [2021-10-04T16:49:48.612Z] using credential edgex-jenkins-ssh [2021-10-04T16:49:48.624Z] Cloning the remote Git repository [2021-10-04T16:49:47.519Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-10-04T16:49:47.541Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-04T16:49:47.587Z] > git config core.sparsecheckout # timeout=10 [2021-10-04T16:49:47.610Z] > git checkout -f d59a7e79eea3462e9076066d39a7ec4eb47c6029 # timeout=10 [2021-10-04T16:49:48.489Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-10-04T16:49:48.553Z] > git init /w/workspace/go-mod-core-contracts/20 # timeout=10 [2021-10-04T16:49:48.585Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2021-10-04T16:49:48.586Z] > git --version # timeout=10 [2021-10-04T16:49:48.598Z] > git --version # 'git version 2.24.4' [2021-10-04T16:49:48.598Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-04T16:49:48.628Z] [INFO] Currently running in a labeled security context [2021-10-04T16:49:48.628Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-04T16:49:48.629Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/20@tmp/jenkins-gitclient-ssh2249290353540521497.key [2021-10-04T16:49:48.641Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-04T16:49:49.670Z] Avoid second fetch [2021-10-04T16:49:49.671Z] Checking out Revision d59a7e79eea3462e9076066d39a7ec4eb47c6029 (main) [2021-10-04T16:49:49.482Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2021-10-04T16:49:49.496Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-04T16:49:49.519Z] > git config core.sparsecheckout # timeout=10 [2021-10-04T16:49:49.527Z] > git checkout -f d59a7e79eea3462e9076066d39a7ec4eb47c6029 # timeout=10 [2021-10-04T16:49:52.120Z] 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-04T16:49:52.789Z] ========================================================= [2021-10-04T16:49:52.789Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-04T16:49:52.789Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-04T16:49:53.364Z] Commit message: "Merge pull request #666 from weichou1229/issue-665" [2021-10-04T16:49:53.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-10-04T16:49:53.870Z] ========================================================= [2021-10-04T16:49:53.870Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-04T16:49:53.870Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-04T16:49:54.325Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-04T16:50:04.404Z] Error response from daemon: Get "https://nexus3.edgexfoundry.org:10003/v2/": net/http: TLS handshake timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-04T16:50:05.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T16:50:05.442Z] [2021-10-04T16:50:05.442Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-04T16:50:05.778Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T16:50:05.778Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-04T16:50:05.778Z] b4d181a07f80: Pulling fs layer [2021-10-04T16:50:05.778Z] a1111a8f2ec3: Pulling fs layer [2021-10-04T16:50:05.778Z] ed53099fbce6: Pulling fs layer [2021-10-04T16:50:05.778Z] dc539afda2c1: Pulling fs layer [2021-10-04T16:50:05.778Z] 77bc0d833cb6: Pulling fs layer [2021-10-04T16:50:05.778Z] 9065ff56babe: Pulling fs layer [2021-10-04T16:50:05.778Z] d287ab97295c: Pulling fs layer [2021-10-04T16:50:05.778Z] dc539afda2c1: Waiting [2021-10-04T16:50:05.778Z] 77bc0d833cb6: Waiting [2021-10-04T16:50:05.778Z] 9065ff56babe: Waiting [2021-10-04T16:50:05.778Z] d287ab97295c: Waiting [2021-10-04T16:50:05.971Z] Error response from daemon: Get https://nexus3.edgexfoundry.org:10003/v2/: net/http: TLS handshake timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [2021-10-04T16:50:06.367Z] a1111a8f2ec3: Verifying Checksum [2021-10-04T16:50:06.367Z] a1111a8f2ec3: Download complete [2021-10-04T16:50:06.367Z] dc539afda2c1: Verifying Checksum [2021-10-04T16:50:06.367Z] dc539afda2c1: Download complete [2021-10-04T16:50:06.367Z] 77bc0d833cb6: Verifying Checksum [2021-10-04T16:50:06.367Z] 77bc0d833cb6: Download complete [2021-10-04T16:50:06.367Z] ed53099fbce6: Verifying Checksum [2021-10-04T16:50:06.367Z] ed53099fbce6: Download complete [2021-10-04T16:50:06.367Z] 9065ff56babe: Verifying Checksum [2021-10-04T16:50:06.367Z] 9065ff56babe: Download complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-04T16:50:06.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-04T16:50:06.896Z] [2021-10-04T16:50:06.896Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-04T16:50:07.578Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-04T16:50:09.605Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-04T16:50:09.605Z] 448f6bf000e3: Pulling fs layer [2021-10-04T16:50:09.605Z] f757da607395: Pulling fs layer [2021-10-04T16:50:09.605Z] 05883995daec: Pulling fs layer [2021-10-04T16:50:09.605Z] 8603b9c90790: Pulling fs layer [2021-10-04T16:50:09.605Z] 1560dd03e051: Pulling fs layer [2021-10-04T16:50:09.605Z] 27f5ce0e4adf: Pulling fs layer [2021-10-04T16:50:09.605Z] c2d8d7efcc4b: Pulling fs layer [2021-10-04T16:50:09.605Z] 8603b9c90790: Waiting [2021-10-04T16:50:09.605Z] 1560dd03e051: Waiting [2021-10-04T16:50:09.605Z] 27f5ce0e4adf: Waiting [2021-10-04T16:50:09.605Z] c2d8d7efcc4b: Waiting [2021-10-04T16:50:09.893Z] f757da607395: Verifying Checksum [2021-10-04T16:50:09.893Z] f757da607395: Download complete [2021-10-04T16:50:09.893Z] 8603b9c90790: Verifying Checksum [2021-10-04T16:50:09.893Z] 8603b9c90790: Download complete [2021-10-04T16:50:10.182Z] 05883995daec: Verifying Checksum [2021-10-04T16:50:10.182Z] 05883995daec: Download complete [2021-10-04T16:50:10.182Z] 27f5ce0e4adf: Download complete [2021-10-04T16:50:10.465Z] 1560dd03e051: Verifying Checksum [2021-10-04T16:50:10.465Z] 1560dd03e051: Download complete [2021-10-04T16:50:10.631Z] b4d181a07f80: Verifying Checksum [2021-10-04T16:50:10.631Z] b4d181a07f80: Download complete [2021-10-04T16:50:11.223Z] b4d181a07f80: Pull complete [2021-10-04T16:50:11.490Z] a1111a8f2ec3: Pull complete [2021-10-04T16:50:12.080Z] ed53099fbce6: Pull complete [2021-10-04T16:50:12.080Z] dc539afda2c1: Pull complete [2021-10-04T16:50:12.356Z] 77bc0d833cb6: Pull complete [2021-10-04T16:50:12.621Z] 9065ff56babe: Pull complete [2021-10-04T16:50:15.966Z] d287ab97295c: Verifying Checksum [2021-10-04T16:50:15.966Z] d287ab97295c: Download complete [2021-10-04T16:50:15.969Z] 448f6bf000e3: Verifying Checksum [2021-10-04T16:50:15.969Z] 448f6bf000e3: Download complete [2021-10-04T16:50:18.663Z] c2d8d7efcc4b: Verifying Checksum [2021-10-04T16:50:18.663Z] c2d8d7efcc4b: Download complete [2021-10-04T16:50:18.948Z] 448f6bf000e3: Pull complete [2021-10-04T16:50:19.565Z] f757da607395: Pull complete [2021-10-04T16:50:21.042Z] 05883995daec: Pull complete [2021-10-04T16:50:21.333Z] d287ab97295c: Pull complete [2021-10-04T16:50:21.333Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-04T16:50:21.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T16:50:21.333Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-04T16:50:21.435Z] prd-centos7-docker-4c-2g-1196 does not seem to be running inside a container [2021-10-04T16:50:21.492Z] $ 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/20 -v /w/workspace/go-mod-core-contracts/20:/w/workspace/go-mod-core-contracts/20:rw,z -v /w/workspace/go-mod-core-contracts/20@tmp:/w/workspace/go-mod-core-contracts/20@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-04T16:50:21.687Z] 8603b9c90790: Pull complete [2021-10-04T16:50:22.727Z] 1560dd03e051: Pull complete [2021-10-04T16:50:23.012Z] 27f5ce0e4adf: Pull complete [2021-10-04T16:50:23.745Z] $ docker top db97ae56f50506063479f18e56d59eaf58ef49caf6cdc893a67a0c78ea2f36bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-04T16:50:24.246Z] ---> job-cost.sh [2021-10-04T16:50:24.247Z] lf-activate-venv: SKIPPING [2021-10-04T16:50:24.247Z] INFO: No Stack... [2021-10-04T16:50:24.513Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-04T16:50:24.780Z] INFO: Archiving Costs [Pipeline] sh [2021-10-04T16:50:25.099Z] + cut -d, -f6 [2021-10-04T16:50:25.099Z] + cat /w/workspace/go-mod-core-contracts/20/archives/cost.csv [Pipeline] lock [2021-10-04T16:50:25.138Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-main-20-stack-cost] [2021-10-04T16:50:25.167Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-main-20-stack-cost] did not exist. Created. [2021-10-04T16:50:25.167Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-04T16:50:25.502Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-04T16:50:25.746Z] Stashed 1 file(s) [Pipeline] } [2021-10-04T16:50:25.762Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-main-20-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-04T16:50:25.791Z] $ docker stop --time=1 db97ae56f50506063479f18e56d59eaf58ef49caf6cdc893a67a0c78ea2f36bb [2021-10-04T16:50:26.934Z] $ docker rm -f db97ae56f50506063479f18e56d59eaf58ef49caf6cdc893a67a0c78ea2f36bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-04T16:50:27.340Z] Failed in branch amd64 [2021-10-04T16:50:38.242Z] c2d8d7efcc4b: Pull complete [2021-10-04T16:50:38.242Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-04T16:50:38.242Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-04T16:50:38.242Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-04T16:50:38.530Z] prd-ubuntu18.04-docker-arm64-4c-16g-1195 does not seem to be running inside a container [2021-10-04T16:50:38.655Z] $ 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/20 -v /w/workspace/go-mod-core-contracts/20:/w/workspace/go-mod-core-contracts/20:rw,z -v /w/workspace/go-mod-core-contracts/20@tmp:/w/workspace/go-mod-core-contracts/20@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-04T16:50:43.949Z] $ docker top 2fe5b4d3cc7848065c844a8edca02b1d0b8f971ca4b18a9e68e475b5702fcfe9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-04T16:50:45.181Z] ---> job-cost.sh [2021-10-04T16:50:45.181Z] lf-activate-venv: SKIPPING [2021-10-04T16:50:45.181Z] INFO: No Stack... [2021-10-04T16:50:45.466Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-04T16:50:46.482Z] INFO: Archiving Costs [Pipeline] sh [2021-10-04T16:50:47.204Z] + cat /w/workspace/go-mod-core-contracts/20/archives/cost.csv+ [2021-10-04T16:50:47.204Z] cut -d, -f6 [Pipeline] lock [2021-10-04T16:50:47.434Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-main-20-stack-cost] [2021-10-04T16:50:47.447Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-main-20-stack-cost] did not exist. Created. [2021-10-04T16:50:47.447Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-04T16:50:48.262Z] /w/workspace/go-mod-core-contracts/20@tmp/durable-38e92bda/script.sh: 1: /w/workspace/go-mod-core-contracts/20@tmp/durable-38e92bda/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-04T16:50:48.976Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-04T16:50:49.017Z] Warning: overwriting stash ‘stack-cost’ [2021-10-04T16:50:49.624Z] Stashed 1 file(s) [Pipeline] } [2021-10-04T16:50:49.638Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-main-20-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-04T16:50:49.676Z] $ docker stop --time=1 2fe5b4d3cc7848065c844a8edca02b1d0b8f971ca4b18a9e68e475b5702fcfe9 [2021-10-04T16:50:51.431Z] $ docker rm -f 2fe5b4d3cc7848065c844a8edca02b1d0b8f971ca4b18a9e68e475b5702fcfe9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-04T16:50:52.092Z] 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-04T16:50:54.199Z] + '[' -d /w/workspace/undry_go-mod-core-contracts_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-04T16:50:54.528Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T16:50:55.123Z] ---> package-listing.sh [2021-10-04T16:50:55.123Z] ++ facter osfamily [2021-10-04T16:50:55.123Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-04T16:50:55.393Z] + OS_FAMILY=redhat [2021-10-04T16:50:55.393Z] + workspace=/w/workspace/undry_go-mod-core-contracts_main [2021-10-04T16:50:55.393Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-04T16:50:55.393Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-04T16:50:55.393Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-04T16:50:55.393Z] + PACKAGES=/tmp/packages_start.txt [2021-10-04T16:50:55.393Z] + '[' /w/workspace/undry_go-mod-core-contracts_main ']' [2021-10-04T16:50:55.393Z] + PACKAGES=/tmp/packages_end.txt [2021-10-04T16:50:55.393Z] + case "${OS_FAMILY}" in [2021-10-04T16:50:55.393Z] + sort [2021-10-04T16:50:55.393Z] + rpm -qa [2021-10-04T16:50:55.976Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-04T16:50:55.976Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-04T16:50:55.976Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-04T16:50:55.976Z] + '[' /w/workspace/undry_go-mod-core-contracts_main ']' [2021-10-04T16:50:55.976Z] + mkdir -p /w/workspace/undry_go-mod-core-contracts_main/archives/ [2021-10-04T16:50:55.976Z] + 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-04T16:50:55.992Z] 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-04T16:50:56.294Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-04T16:50:56.901Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T16:50:56.901Z] [2021-10-04T16:50:56.901Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-04T16:50:57.243Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T16:50:57.243Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-04T16:50:57.243Z] b4d181a07f80: Pulling fs layer [2021-10-04T16:50:57.243Z] a1111a8f2ec3: Pulling fs layer [2021-10-04T16:50:57.243Z] ed53099fbce6: Pulling fs layer [2021-10-04T16:50:57.243Z] dc539afda2c1: Pulling fs layer [2021-10-04T16:50:57.243Z] 77bc0d833cb6: Pulling fs layer [2021-10-04T16:50:57.243Z] 9065ff56babe: Pulling fs layer [2021-10-04T16:50:57.243Z] d287ab97295c: Pulling fs layer [2021-10-04T16:50:57.243Z] dc539afda2c1: Waiting [2021-10-04T16:50:57.243Z] 77bc0d833cb6: Waiting [2021-10-04T16:50:57.243Z] 9065ff56babe: Waiting [2021-10-04T16:50:57.243Z] d287ab97295c: Waiting [2021-10-04T16:50:57.510Z] a1111a8f2ec3: Verifying Checksum [2021-10-04T16:50:57.510Z] a1111a8f2ec3: Download complete [2021-10-04T16:50:57.510Z] dc539afda2c1: Verifying Checksum [2021-10-04T16:50:57.510Z] dc539afda2c1: Download complete [2021-10-04T16:50:57.774Z] 77bc0d833cb6: Verifying Checksum [2021-10-04T16:50:57.774Z] 77bc0d833cb6: Download complete [2021-10-04T16:50:57.774Z] 9065ff56babe: Verifying Checksum [2021-10-04T16:50:57.774Z] 9065ff56babe: Download complete [2021-10-04T16:50:57.774Z] ed53099fbce6: Verifying Checksum [2021-10-04T16:50:58.358Z] b4d181a07f80: Download complete [2021-10-04T16:50:59.328Z] d287ab97295c: Verifying Checksum [2021-10-04T16:50:59.328Z] d287ab97295c: Download complete [2021-10-04T16:50:59.932Z] b4d181a07f80: Pull complete [2021-10-04T16:51:00.201Z] a1111a8f2ec3: Pull complete [2021-10-04T16:51:00.798Z] ed53099fbce6: Pull complete [2021-10-04T16:51:00.798Z] dc539afda2c1: Pull complete [2021-10-04T16:51:01.063Z] 77bc0d833cb6: Pull complete [2021-10-04T16:51:01.063Z] 9065ff56babe: Pull complete [2021-10-04T16:51:06.440Z] d287ab97295c: Pull complete [2021-10-04T16:51:06.440Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-04T16:51:06.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-04T16:51:06.440Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-04T16:51:06.534Z] prd-centos7-docker-4c-2g-1194 does not seem to be running inside a container [2021-10-04T16:51:06.602Z] $ 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-04T16:51:08.841Z] $ docker top 005ad6c87d4499a84750b7c9b447b4a1c635227cf93e29d6ea64f159403829a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-04T16:51:09.249Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-04T16:51:09.562Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-04T16:51:09.876Z] + ls /var/log/sa-host [2021-10-04T16:51:09.876Z] + sadf -c /var/log/sa-host/sa04 [2021-10-04T16:51:09.876Z] file_magic: OK [2021-10-04T16:51:09.876Z] HZ: Using current value: 100 [2021-10-04T16:51:09.876Z] file_header: OK [2021-10-04T16:51:09.876Z] 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-04T16:51:09.876Z] Statistics: [2021-10-04T16:51:09.876Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-04T16:51:09.876Z] File successfully converted to sysstat format version 12.0.3 [2021-10-04T16:51:09.876Z] + sadf -c /var/log/sa-host/sa30 [2021-10-04T16:51:09.876Z] file_magic: OK [2021-10-04T16:51:09.876Z] HZ: Using current value: 100 [2021-10-04T16:51:09.876Z] file_header: OK [2021-10-04T16:51:09.876Z] 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-04T16:51:09.876Z] Statistics: [2021-10-04T16:51:09.876Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-04T16:51:09.876Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-04T16:51:10.070Z] provisioning config files... [2021-10-04T16:51:10.090Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_go-mod-core-contracts_main@tmp/config4041870608120341702tmp [Pipeline] { [Pipeline] echo [2021-10-04T16:51:10.117Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T16:51:10.433Z] ---> create-netrc.sh [Pipeline] } [2021-10-04T16:51:10.447Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-04T16:51:10.830Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-04T16:51:10.844Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T16:51:11.164Z] ---> sudo-logs.sh [2021-10-04T16:51:11.164Z] Archiving 'sudo' log.. [2021-10-04T16:51:11.164Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1194.novalocal: Name or service not known [2021-10-04T16:51:11.431Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1194.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-04T16:51:11.522Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T16:51:12.212Z] ---> job-cost.sh [2021-10-04T16:51:12.212Z] lf-activate-venv: SKIPPING [2021-10-04T16:51:12.212Z] DEBUG: total: 0.10999999940395355 [2021-10-04T16:51:12.212Z] INFO: Retrieving Stack Cost... [2021-10-04T16:51:22.417Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-04T16:51:22.417Z] INFO: Archiving Costs [Pipeline] echo [2021-10-04T16:51:22.434Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-04T16:51:22.746Z] ---> logs-deploy.sh [2021-10-04T16:51:22.746Z] lf-activate-venv: SKIPPING [2021-10-04T16:51:22.746Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/main/20 [2021-10-04T16:51:22.746Z] INFO: archiving workspace using pattern(s): [2021-10-04T16:51:23.332Z] Archives upload complete. [2021-10-04T16:51:23.600Z] INFO: archiving logs to Nexus