Pull request #670 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of judehung for edgexfoundry/go-mod-core-contracts Obtained Jenkinsfile from 99ac5f5619a62648f944ac7ba717f4713b4f487b+06c87069a03c5bf31c2925303556bffed4f68a26 (653b9e4fba86af1522c136a0958c02b27d9da02b) 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-ssh563014058637320579.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh893981275958407380.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-670/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/PR-670/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7428445896302784687.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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-ssh6425666476624461945.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/PR-670/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/PR-670/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4517390799192053455.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 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 ‘prd-centos7-docker-4c-2g-2344’ Running on prd-centos7-docker-4c-2g-2346 in /w/workspace/dry_go-mod-core-contracts_PR-670 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-670 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_go-mod-core-contracts_PR-670@tmp/jenkins-gitclient-ssh7398504386154494062.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_go-mod-core-contracts_PR-670@tmp/jenkins-gitclient-ssh6870908289221055092.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/670/head:refs/remotes/origin/PR-670 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 06c87069a03c5bf31c2925303556bffed4f68a26 into PR head commit 99ac5f5619a62648f944ac7ba717f4713b4f487b Merge succeeded, producing 99ac5f5619a62648f944ac7ba717f4713b4f487b Checking out Revision 99ac5f5619a62648f944ac7ba717f4713b4f487b (PR-670) > git config core.sparsecheckout # timeout=10 > git checkout -f 99ac5f5619a62648f944ac7ba717f4713b4f487b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_go-mod-core-contracts_PR-670@tmp/jenkins-gitclient-ssh3518558333830047660.key > git merge 06c87069a03c5bf31c2925303556bffed4f68a26 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 99ac5f5619a62648f944ac7ba717f4713b4f487b # timeout=10 Commit message: "feat(all): update the api version inside all godoc from 2.x to 2.1.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:22:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:22:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:22:00 ========================================================= 04:22:00 EdgeX Global Pipelines Version Info 04:22:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f1e20b01bcabbbcd63b04855c1548f350e1c3381 # timeout=10 04:22:01 ------------------- 04:22:01 stable info: 04:22:01 ------------------- 04:22:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:22:01 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 04:22:01 Message: update stable to v1.0.210 04:22:02 ------------------- 04:22:02 experimental info: 04:22:02 ------------------- 04:22:02 Commited By: **** collab-it+edgex@linuxfoundation.org 04:22:02 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 04:22:02 Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:22:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 04:22:03 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 04:22:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:22:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:22:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:22:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:22:03 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 04:22:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:22:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:22:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:22:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:22:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo 04:22:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:22:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:22:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 04:22:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:22:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:22:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:22:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:22:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:22:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:22:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:22:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:22:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:22:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 04:22:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:22:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-670 [Pipeline] echo 04:22:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-670 [Pipeline] echo 04:22:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-670 [Pipeline] echo 04:22:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 99ac5f5619a62648f944ac7ba717f4713b4f487b [Pipeline] echo 04:22:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 99ac5f5 [Pipeline] echo 04:22:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:22:04 + git log --format=format:%s -1 99ac5f5619a62648f944ac7ba717f4713b4f487b [Pipeline] echo 04:22:04 GIT_COMMIT: 99ac5f5619a62648f944ac7ba717f4713b4f487b, Commit Message: feat(all): update the api version inside all godoc from 2.x to 2.1.0 [Pipeline] echo 04:22:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:22:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:22:06 04:22:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:22:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:22:06 latest: Pulling from edgex-devops/git-semver 04:22:06 a0d0a0d46f8b: Pulling fs layer 04:22:06 3e5f54012d9b: Pulling fs layer 04:22:06 4c7163046ea9: Pulling fs layer 04:22:06 0c2d73faf560: Pulling fs layer 04:22:06 0c2d73faf560: Waiting 04:22:06 3e5f54012d9b: Verifying Checksum 04:22:06 3e5f54012d9b: Download complete 04:22:07 a0d0a0d46f8b: Verifying Checksum 04:22:07 a0d0a0d46f8b: Download complete 04:22:07 4c7163046ea9: Verifying Checksum 04:22:07 4c7163046ea9: Download complete 04:22:07 0c2d73faf560: Verifying Checksum 04:22:07 0c2d73faf560: Download complete 04:22:07 a0d0a0d46f8b: Pull complete 04:22:07 3e5f54012d9b: Pull complete 04:22:07 4c7163046ea9: Pull complete 04:22:07 0c2d73faf560: Pull complete 04:22:07 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:22:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:22:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:22:07 prd-centos7-docker-4c-2g-2346 does not seem to be running inside a container 04:22:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-670 -v /w/workspace/dry_go-mod-core-contracts_PR-670:/w/workspace/dry_go-mod-core-contracts_PR-670:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-670@tmp:/w/workspace/dry_go-mod-core-contracts_PR-670@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:22:08 $ docker top 15b136b40c6704163dce95548cc075e423a08c002961f4699daef97eb40ee963 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:22:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:22:08 [ssh-agent] Looking for ssh-agent implementation... 04:22:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:22:08 $ docker exec 15b136b40c6704163dce95548cc075e423a08c002961f4699daef97eb40ee963 ssh-agent 04:22:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEipbni/agent.14 04:22:08 SSH_AGENT_PID=20 04:22:08 Running ssh-add (command line suppressed) 04:22:08 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-670@tmp/private_key_6971751856978704645.key (/w/workspace/dry_go-mod-core-contracts_PR-670@tmp/private_key_6971751856978704645.key) 04:22:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:22:09 + git tag --points-at HEAD [Pipeline] } 04:22:09 $ docker exec --env ******** --env ******** 15b136b40c6704163dce95548cc075e423a08c002961f4699daef97eb40ee963 ssh-agent -k 04:22:09 unset SSH_AUTH_SOCK; 04:22:09 unset SSH_AGENT_PID; 04:22:09 echo Agent pid 20 killed; 04:22:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:22:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:22:09 [ssh-agent] Looking for ssh-agent implementation... 04:22:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:22:09 $ docker exec 15b136b40c6704163dce95548cc075e423a08c002961f4699daef97eb40ee963 ssh-agent 04:22:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjahmNP/agent.55 04:22:09 SSH_AGENT_PID=61 04:22:09 Running ssh-add (command line suppressed) 04:22:09 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-670@tmp/private_key_7605845148116656757.key (/w/workspace/dry_go-mod-core-contracts_PR-670@tmp/private_key_7605845148116656757.key) 04:22:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:22:09 + git semver init 04:22:09 # -> Open(): unable to determine branch for HEAD 04:22:09 # $GIT_DIR = /w/workspace/dry_go-mod-core-contracts_PR-670/.git 04:22:09 # $GIT_WORK_TREE = /w/workspace/dry_go-mod-core-contracts_PR-670 04:22:09 # $SEMVER_REMOTE_NAME = origin 04:22:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:22:09 # $SEMVER_USER_NAME = edgex-jenkins 04:22:09 # $SEMVER_BRANCH = PR-670 04:22:09 # $SEMVER_TEMP = /tmp/semver-813900772 04:22:09 # git clone --branch semver git@github.com:edgexfoundry/go-mod-core-contracts.git $SEMVER_TEMP 04:22:10 # '/tmp/semver-813900772' -> '/w/workspace/dry_go-mod-core-contracts_PR-670/.semver' 04:22:10 # -> Force: false 04:22:10 # $SEMVER_DIR = /w/workspace/dry_go-mod-core-contracts_PR-670/.semver [Pipeline] } 04:22:10 $ docker exec --env ******** --env ******** 15b136b40c6704163dce95548cc075e423a08c002961f4699daef97eb40ee963 ssh-agent -k 04:22:10 unset SSH_AUTH_SOCK; 04:22:10 unset SSH_AGENT_PID; 04:22:10 echo Agent pid 61 killed; 04:22:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:22:11 + git semver [Pipeline] } 04:22:11 $ docker stop --time=1 15b136b40c6704163dce95548cc075e423a08c002961f4699daef97eb40ee963 04:22:12 $ docker rm -f 15b136b40c6704163dce95548cc075e423a08c002961f4699daef97eb40ee963 [Pipeline] // withDockerContainer [Pipeline] sh 04:22:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:22:13 Stashed 1 file(s) [Pipeline] echo 04:22:13 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 04:22:29 Still waiting to schedule task 04:22:29 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:22:29 Still waiting to schedule task 04:22:29 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:22:56 Running on prd-centos7-docker-4c-2g-2351 in /w/workspace/dry_go-mod-core-contracts_PR-670 [Pipeline] { [Pipeline] ws 04:22:56 Running in /w/workspace/go-mod-core-contracts/12 [Pipeline] { [Pipeline] checkout 04:22:56 Selected Git installation does not exist. Using Default 04:22:56 The recommended git tool is: NONE 04:22:59 using credential edgex-jenkins-ssh 04:22:59 Cloning the remote Git repository 04:22:59 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 04:22:59 > git init /w/workspace/go-mod-core-contracts/12 # timeout=10 04:22:59 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 04:22:59 > git --version # timeout=10 04:22:59 > git --version # 'git version 2.24.4' 04:22:59 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:59 [INFO] Currently running in a labeled security context 04:22:59 [INFO] Currently SELinux is 'enforcing' on the host 04:22:59 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/12@tmp/jenkins-gitclient-ssh3398463718937157894.key 04:22:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:23:00 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 04:23:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:23:00 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 04:23:00 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 04:23:00 using GIT_SSH to set credentials SSH Credentials for GitHub 04:23:00 [INFO] Currently running in a labeled security context 04:23:00 [INFO] Currently SELinux is 'enforcing' on the host 04:23:00 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/12@tmp/jenkins-gitclient-ssh1823114262158466835.key 04:23:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/670/head:refs/remotes/origin/PR-670 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:23:01 Merging remotes/origin/main commit 06c87069a03c5bf31c2925303556bffed4f68a26 into PR head commit 99ac5f5619a62648f944ac7ba717f4713b4f487b 04:23:01 Merge succeeded, producing 99ac5f5619a62648f944ac7ba717f4713b4f487b 04:23:01 Checking out Revision 99ac5f5619a62648f944ac7ba717f4713b4f487b (PR-670) 04:23:01 > git config core.sparsecheckout # timeout=10 04:23:01 > git checkout -f 99ac5f5619a62648f944ac7ba717f4713b4f487b # timeout=10 04:23:01 > git remote # timeout=10 04:23:01 > git config --get remote.origin.url # timeout=10 04:23:01 using GIT_SSH to set credentials SSH Credentials for GitHub 04:23:01 [INFO] Currently running in a labeled security context 04:23:01 [INFO] Currently SELinux is 'enforcing' on the host 04:23:01 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-core-contracts/12@tmp/jenkins-gitclient-ssh2995064272296191247.key 04:23:01 > git merge 06c87069a03c5bf31c2925303556bffed4f68a26 # timeout=10 04:23:01 > git rev-parse HEAD^{commit} # timeout=10 04:23:01 > git config core.sparsecheckout # timeout=10 04:23:01 > git checkout -f 99ac5f5619a62648f944ac7ba717f4713b4f487b # timeout=10 04:23:05 Commit message: "feat(all): update the api version inside all godoc from 2.x to 2.1.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:23:05 ========================================================= 04:23:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 04:23:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 04:23:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:23:06 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:23:06 a0d0a0d46f8b: Pulling fs layer 04:23:06 31adcdaf11c8: Pulling fs layer 04:23:06 b8b176561691: Pulling fs layer 04:23:06 4527c011a84f: Pulling fs layer 04:23:06 5d74067f8e1e: Pulling fs layer 04:23:06 e0aca202a116: Pulling fs layer 04:23:06 3a43be97a3b4: Pulling fs layer 04:23:06 34cad66bf833: Pulling fs layer 04:23:06 b4e3c513aaa6: Pulling fs layer 04:23:06 4527c011a84f: Waiting 04:23:06 34cad66bf833: Waiting 04:23:06 b4e3c513aaa6: Waiting 04:23:06 5d74067f8e1e: Waiting 04:23:06 3a43be97a3b4: Waiting 04:23:06 e0aca202a116: Waiting 04:23:06 b8b176561691: Verifying Checksum 04:23:06 b8b176561691: Download complete 04:23:06 31adcdaf11c8: Download complete 04:23:06 5d74067f8e1e: Verifying Checksum 04:23:06 5d74067f8e1e: Download complete 04:23:06 e0aca202a116: Verifying Checksum 04:23:06 e0aca202a116: Download complete 04:23:06 3a43be97a3b4: Verifying Checksum 04:23:06 3a43be97a3b4: Download complete 04:23:06 a0d0a0d46f8b: Verifying Checksum 04:23:06 a0d0a0d46f8b: Download complete 04:23:06 34cad66bf833: Verifying Checksum 04:23:06 34cad66bf833: Download complete 04:23:06 a0d0a0d46f8b: Pull complete 04:23:07 4527c011a84f: Verifying Checksum 04:23:07 4527c011a84f: Download complete 04:23:07 b4e3c513aaa6: Verifying Checksum 04:23:07 b4e3c513aaa6: Download complete 04:23:07 31adcdaf11c8: Pull complete 04:23:07 b8b176561691: Pull complete 04:23:10 4527c011a84f: Pull complete 04:23:10 5d74067f8e1e: Pull complete 04:23:11 e0aca202a116: Pull complete 04:23:11 3a43be97a3b4: Pull complete 04:23:11 34cad66bf833: Pull complete 04:23:14 b4e3c513aaa6: Pull complete 04:23:14 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 04:23:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:23:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 04:23:16 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 04:23:16 + docker inspect -f . ci-base-image-x86_64 04:23:16 . [Pipeline] withDockerContainer 04:23:16 prd-centos7-docker-4c-2g-2351 does not seem to be running inside a container 04:23:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/12 -v /w/workspace/go-mod-core-contracts/12:/w/workspace/go-mod-core-contracts/12:rw,z -v /w/workspace/go-mod-core-contracts/12@tmp:/w/workspace/go-mod-core-contracts/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:23:18 $ docker top 25c0c22367db5d905c042929843f39cf8855163661489c0dd7195a58461790f0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:19 + go version 04:23:19 go version go1.16.8 linux/amd64 [Pipeline] } 04:23:19 $ docker stop --time=1 25c0c22367db5d905c042929843f39cf8855163661489c0dd7195a58461790f0 04:23:20 $ docker rm -f 25c0c22367db5d905c042929843f39cf8855163661489c0dd7195a58461790f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:23:20 + docker inspect -f . ci-base-image-x86_64 04:23:20 . [Pipeline] withDockerContainer 04:23:20 prd-centos7-docker-4c-2g-2351 does not seem to be running inside a container 04:23:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/12 -v /w/workspace/go-mod-core-contracts/12:/w/workspace/go-mod-core-contracts/12:rw,z -v /w/workspace/go-mod-core-contracts/12@tmp:/w/workspace/go-mod-core-contracts/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:23:21 $ docker top 6689d0ca15b2b8cbeb0be767cc15c125e155e0c346b01ad04cb1ee50b0aef307 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:23:21 + make test 04:23:21 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:23:23 go: downloading github.com/google/uuid v1.3.0 04:23:23 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 04:23:23 go: downloading github.com/stretchr/testify v1.7.0 04:23:23 go: downloading github.com/go-kit/kit v0.11.0 04:23:23 go: downloading github.com/go-playground/validator/v10 v10.9.0 04:23:23 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 04:23:23 go: downloading github.com/x448/float16 v0.8.4 04:23:23 go: downloading github.com/davecgh/go-spew v1.1.1 04:23:23 go: downloading github.com/pmezard/go-difflib v1.0.0 04:23:23 go: downloading github.com/go-playground/universal-translator v0.18.0 04:23:23 go: downloading github.com/leodido/go-urn v1.2.1 04:23:23 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 04:23:23 go: downloading golang.org/x/text v0.3.6 04:23:23 go: downloading github.com/stretchr/objx v0.1.1 04:23:23 go: downloading github.com/go-logfmt/logfmt v0.5.0 04:23:23 go: downloading github.com/go-playground/locales v0.14.0 04:23:24 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 04:23:35 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.060s coverage: 83.5% of statements 04:23:35 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 04:23:35 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 04:23:35 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] 04:23:35 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.007s coverage: 26.3% of statements 04:23:35 ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] 04:23:35 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.025s coverage: 47.1% of statements 04:23:35 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.005s coverage: 90.5% of statements 04:23:35 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.033s coverage: 86.2% of statements 04:23:35 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.006s coverage: 59.5% of statements 04:23:35 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.004s coverage: 36.1% of statements 04:23:35 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.006s coverage: 48.7% of statements 04:23:35 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:23:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:23:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 04:23:40 $ docker stop --time=1 6689d0ca15b2b8cbeb0be767cc15c125e155e0c346b01ad04cb1ee50b0aef307 04:23:42 $ docker rm -f 6689d0ca15b2b8cbeb0be767cc15c125e155e0c346b01ad04cb1ee50b0aef307 [Pipeline] // withDockerContainer [Pipeline] sh 04:23:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:23:43 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 04:23:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:44 04:23:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:23:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:44 latest: Pulling from edgex-lftools-log-publisher 04:23:44 b4d181a07f80: Pulling fs layer 04:23:44 a1111a8f2ec3: Pulling fs layer 04:23:44 ed53099fbce6: Pulling fs layer 04:23:44 dc539afda2c1: Pulling fs layer 04:23:44 77bc0d833cb6: Pulling fs layer 04:23:44 9065ff56babe: Pulling fs layer 04:23:44 d287ab97295c: Pulling fs layer 04:23:44 dc539afda2c1: Waiting 04:23:44 77bc0d833cb6: Waiting 04:23:44 9065ff56babe: Waiting 04:23:44 d287ab97295c: Waiting 04:23:44 a1111a8f2ec3: Verifying Checksum 04:23:44 a1111a8f2ec3: Download complete 04:23:44 dc539afda2c1: Verifying Checksum 04:23:44 dc539afda2c1: Download complete 04:23:44 ed53099fbce6: Verifying Checksum 04:23:44 ed53099fbce6: Download complete 04:23:44 9065ff56babe: Verifying Checksum 04:23:44 9065ff56babe: Download complete 04:23:44 77bc0d833cb6: Verifying Checksum 04:23:44 77bc0d833cb6: Download complete 04:23:44 b4d181a07f80: Verifying Checksum 04:23:44 b4d181a07f80: Download complete 04:23:45 d287ab97295c: Verifying Checksum 04:23:45 d287ab97295c: Download complete 04:23:46 b4d181a07f80: Pull complete 04:23:46 a1111a8f2ec3: Pull complete 04:23:46 ed53099fbce6: Pull complete 04:23:47 dc539afda2c1: Pull complete 04:23:47 77bc0d833cb6: Pull complete 04:23:47 9065ff56babe: Pull complete 04:23:52 d287ab97295c: Pull complete 04:23:52 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:23:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:23:52 prd-centos7-docker-4c-2g-2351 does not seem to be running inside a container 04:23:52 $ 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/12 -v /w/workspace/go-mod-core-contracts/12:/w/workspace/go-mod-core-contracts/12:rw,z -v /w/workspace/go-mod-core-contracts/12@tmp:/w/workspace/go-mod-core-contracts/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:23:55 $ docker top d36ac00ec3f7c08374f059b8cf52246fd8349433631dfb9332bb2d79f1747b4e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:55 ---> job-cost.sh 04:23:55 lf-activate-venv: SKIPPING 04:23:55 INFO: No Stack... 04:23:56 INFO: Retrieving Pricing Info for: v3-standard-2 04:23:56 INFO: Archiving Costs [Pipeline] sh 04:23:57 + cat /w/workspace/go-mod-core-contracts/12/archives/cost.csv 04:23:57 + cut -d, -f6 [Pipeline] lock 04:23:57 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-12-stack-cost] 04:23:57 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-12-stack-cost] did not exist. Created. 04:23:57 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:23:57 + echo total: 0.05999999865889549 [Pipeline] stash 04:23:57 Stashed 1 file(s) [Pipeline] } 04:23:57 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-12-stack-cost] [Pipeline] // lock [Pipeline] } 04:23:57 $ docker stop --time=1 d36ac00ec3f7c08374f059b8cf52246fd8349433631dfb9332bb2d79f1747b4e 04:23:58 $ docker rm -f d36ac00ec3f7c08374f059b8cf52246fd8349433631dfb9332bb2d79f1747b4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:24:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2352 in /w/workspace/dry_go-mod-core-contracts_PR-670 [Pipeline] { [Pipeline] ws 04:24:47 Running in /w/workspace/go-mod-core-contracts/12 [Pipeline] { [Pipeline] checkout 04:24:48 Selected Git installation does not exist. Using Default 04:24:48 The recommended git tool is: NONE 04:24:54 using credential edgex-jenkins-ssh 04:24:54 Cloning the remote Git repository 04:24:54 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 04:24:54 > git init /w/workspace/go-mod-core-contracts/12 # timeout=10 04:24:54 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 04:24:54 > git --version # timeout=10 04:24:54 > git --version # 'git version 2.17.1' 04:24:54 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:24:56 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 04:24:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:24:56 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 04:24:56 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 04:24:56 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/670/head:refs/remotes/origin/PR-670 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:24:57 Merging remotes/origin/main commit 06c87069a03c5bf31c2925303556bffed4f68a26 into PR head commit 99ac5f5619a62648f944ac7ba717f4713b4f487b 04:24:57 Merge succeeded, producing 99ac5f5619a62648f944ac7ba717f4713b4f487b 04:24:57 Checking out Revision 99ac5f5619a62648f944ac7ba717f4713b4f487b (PR-670) 04:24:57 > git config core.sparsecheckout # timeout=10 04:24:57 > git checkout -f 99ac5f5619a62648f944ac7ba717f4713b4f487b # timeout=10 04:24:57 > git remote # timeout=10 04:24:57 > git config --get remote.origin.url # timeout=10 04:24:57 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:57 > git merge 06c87069a03c5bf31c2925303556bffed4f68a26 # timeout=10 04:24:57 > git rev-parse HEAD^{commit} # timeout=10 04:24:57 > git config core.sparsecheckout # timeout=10 04:24:57 > git checkout -f 99ac5f5619a62648f944ac7ba717f4713b4f487b # timeout=10 04:25:02 Commit message: "feat(all): update the api version inside all godoc from 2.x to 2.1.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:25:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:25:03 % Total % Received % Xferd Average Speed Time Time Time Current 04:25:03 Dload Upload Total Spent Left Speed 04:25:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 63913 0 --:--:-- --:--:-- --:--:-- 63913 [Pipeline] sh 04:25:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:25:04 + sudo tee /etc/docker/daemon.new 04:25:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:25:04 { 04:25:04 "registry-mirrors": [ 04:25:04 "https://nexus3.edgexfoundry.org:10001" 04:25:04 ], 04:25:04 "bip": "10.250.0.254/24", 04:25:04 "hosts": [ 04:25:04 "tcp://0.0.0.0:5555", 04:25:04 "unix:///var/run/docker.sock" 04:25:04 ], 04:25:04 "mtu": 1458, 04:25:04 "selinux-enabled": true, 04:25:04 "seccomp-profile": "/etc/docker/seccomp.json" 04:25:04 } [Pipeline] sh 04:25:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:25:04 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 04:25:25 ========================================================= 04:25:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:25:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 04:25:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:25:27 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:25:27 552d1f2373af: Pulling fs layer 04:25:27 ea3f2d53f512: Pulling fs layer 04:25:27 9e70ebbbe112: Pulling fs layer 04:25:27 7a9cfe048b4a: Pulling fs layer 04:25:27 72dc09318566: Pulling fs layer 04:25:27 f4f7b4309257: Pulling fs layer 04:25:27 0ac9a79272e3: Pulling fs layer 04:25:27 b78e95d17946: Pulling fs layer 04:25:27 7a9cfe048b4a: Waiting 04:25:27 72dc09318566: Waiting 04:25:27 f4f7b4309257: Waiting 04:25:27 0ac9a79272e3: Waiting 04:25:27 b78e95d17946: Waiting 04:25:27 9e70ebbbe112: Verifying Checksum 04:25:27 9e70ebbbe112: Download complete 04:25:27 ea3f2d53f512: Verifying Checksum 04:25:27 ea3f2d53f512: Download complete 04:25:27 72dc09318566: Verifying Checksum 04:25:27 72dc09318566: Download complete 04:25:27 f4f7b4309257: Verifying Checksum 04:25:27 f4f7b4309257: Download complete 04:25:27 0ac9a79272e3: Verifying Checksum 04:25:27 0ac9a79272e3: Download complete 04:25:27 552d1f2373af: Download complete 04:25:28 552d1f2373af: Pull complete 04:25:29 ea3f2d53f512: Pull complete 04:25:29 9e70ebbbe112: Pull complete 04:25:29 b78e95d17946: Verifying Checksum 04:25:29 b78e95d17946: Download complete 04:25:30 7a9cfe048b4a: Verifying Checksum 04:25:30 7a9cfe048b4a: Download complete 04:25:40 7a9cfe048b4a: Pull complete 04:25:40 72dc09318566: Pull complete 04:25:40 f4f7b4309257: Pull complete 04:25:41 0ac9a79272e3: Pull complete 04:25:48 b78e95d17946: Pull complete 04:25:48 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 04:25:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:25:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 04:25:48 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 04:25:49 + docker inspect -f . ci-base-image-arm64 04:25:49 . [Pipeline] withDockerContainer 04:25:50 prd-ubuntu18.04-docker-arm64-4c-16g-2352 does not seem to be running inside a container 04:25:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/12 -v /w/workspace/go-mod-core-contracts/12:/w/workspace/go-mod-core-contracts/12:rw,z -v /w/workspace/go-mod-core-contracts/12@tmp:/w/workspace/go-mod-core-contracts/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:25:57 $ docker top b6b38d5e0dc6758a81bd2f2c3258181f2c6663d1697ab938664ef247a79a92c7 -eo pid,comm [Pipeline] { [Pipeline] sh 04:25:58 + go version 04:25:58 go version go1.16.8 linux/arm64 [Pipeline] } 04:25:58 $ docker stop --time=1 b6b38d5e0dc6758a81bd2f2c3258181f2c6663d1697ab938664ef247a79a92c7 04:26:00 $ docker rm -f b6b38d5e0dc6758a81bd2f2c3258181f2c6663d1697ab938664ef247a79a92c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:26:01 + docker inspect -f . ci-base-image-arm64 04:26:01 . [Pipeline] withDockerContainer 04:26:01 prd-ubuntu18.04-docker-arm64-4c-16g-2352 does not seem to be running inside a container 04:26:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/12 -v /w/workspace/go-mod-core-contracts/12:/w/workspace/go-mod-core-contracts/12:rw,z -v /w/workspace/go-mod-core-contracts/12@tmp:/w/workspace/go-mod-core-contracts/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:26:03 $ docker top a9a74f32f36c538a35d150179070ecae8dc7e1fc2621f0971056e9a91eeb9bf9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:26:05 + make test 04:26:05 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:26:08 go: downloading github.com/google/uuid v1.3.0 04:26:08 go: downloading github.com/go-kit/kit v0.11.0 04:26:08 go: downloading github.com/stretchr/testify v1.7.0 04:26:08 go: downloading github.com/go-playground/validator/v10 v10.9.0 04:26:08 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 04:26:08 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 04:26:08 go: downloading github.com/davecgh/go-spew v1.1.1 04:26:08 go: downloading github.com/pmezard/go-difflib v1.0.0 04:26:08 go: downloading github.com/stretchr/objx v0.1.1 04:26:08 go: downloading github.com/x448/float16 v0.8.4 04:26:08 go: downloading github.com/go-playground/universal-translator v0.18.0 04:26:08 go: downloading github.com/leodido/go-urn v1.2.1 04:26:08 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 04:26:08 go: downloading golang.org/x/text v0.3.6 04:26:08 go: downloading github.com/go-logfmt/logfmt v0.5.0 04:26:08 go: downloading github.com/go-playground/locales v0.14.0 04:26:13 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients [no test files] 04:26:48 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http 0.319s coverage: 83.5% of statements 04:26:48 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/http/utils [no test files] 04:26:48 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces [no test files] 04:26:48 ? github.com/edgexfoundry/go-mod-core-contracts/v2/clients/interfaces/mocks [no test files] 04:26:48 ok github.com/edgexfoundry/go-mod-core-contracts/v2/clients/logger 0.099s coverage: 26.3% of statements 04:26:48 ? github.com/edgexfoundry/go-mod-core-contracts/v2/common [no test files] 04:26:48 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos 0.127s coverage: 47.1% of statements 04:26:48 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/common 0.092s coverage: 90.5% of statements 04:26:49 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/requests 0.275s coverage: 86.2% of statements 04:26:49 ok github.com/edgexfoundry/go-mod-core-contracts/v2/dtos/responses 0.056s coverage: 59.5% of statements 04:26:49 ok github.com/edgexfoundry/go-mod-core-contracts/v2/errors 0.013s coverage: 36.1% of statements 04:26:51 ok github.com/edgexfoundry/go-mod-core-contracts/v2/models 0.033s coverage: 48.7% of statements 04:26:51 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:27:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:27:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 04:27:11 $ docker stop --time=1 a9a74f32f36c538a35d150179070ecae8dc7e1fc2621f0971056e9a91eeb9bf9 04:27:13 $ docker rm -f a9a74f32f36c538a35d150179070ecae8dc7e1fc2621f0971056e9a91eeb9bf9 [Pipeline] // withDockerContainer [Pipeline] sh 04:27:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:27:15 Warning: overwriting stash ‘coverage-report’ 04:27:15 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 04:27:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:27:17 04:27:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:27:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:27:18 arm64: Pulling from edgex-lftools-log-publisher 04:27:18 448f6bf000e3: Pulling fs layer 04:27:18 f757da607395: Pulling fs layer 04:27:18 05883995daec: Pulling fs layer 04:27:18 8603b9c90790: Pulling fs layer 04:27:18 1560dd03e051: Pulling fs layer 04:27:18 27f5ce0e4adf: Pulling fs layer 04:27:18 c2d8d7efcc4b: Pulling fs layer 04:27:18 1560dd03e051: Waiting 04:27:18 27f5ce0e4adf: Waiting 04:27:18 c2d8d7efcc4b: Waiting 04:27:18 8603b9c90790: Waiting 04:27:18 f757da607395: Verifying Checksum 04:27:18 f757da607395: Download complete 04:27:18 8603b9c90790: Verifying Checksum 04:27:18 8603b9c90790: Download complete 04:27:18 1560dd03e051: Verifying Checksum 04:27:18 1560dd03e051: Download complete 04:27:18 27f5ce0e4adf: Download complete 04:27:18 05883995daec: Verifying Checksum 04:27:18 05883995daec: Download complete 04:27:19 448f6bf000e3: Verifying Checksum 04:27:19 448f6bf000e3: Download complete 04:27:21 c2d8d7efcc4b: Verifying Checksum 04:27:21 c2d8d7efcc4b: Download complete 04:27:22 448f6bf000e3: Pull complete 04:27:23 f757da607395: Pull complete 04:27:24 05883995daec: Pull complete 04:27:25 8603b9c90790: Pull complete 04:27:26 1560dd03e051: Pull complete 04:27:26 27f5ce0e4adf: Pull complete 04:27:40 c2d8d7efcc4b: Pull complete 04:27:40 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 04:27:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:27:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:27:41 prd-ubuntu18.04-docker-arm64-4c-16g-2352 does not seem to be running inside a container 04:27:41 $ 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/12 -v /w/workspace/go-mod-core-contracts/12:/w/workspace/go-mod-core-contracts/12:rw,z -v /w/workspace/go-mod-core-contracts/12@tmp:/w/workspace/go-mod-core-contracts/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:27:48 $ docker top 4760de2731b10ae66b090794a480e9f612a10acd8ef4bf3a242d4a6bdb3b6212 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:27:49 ---> job-cost.sh 04:27:49 lf-activate-venv: SKIPPING 04:27:49 INFO: No Stack... 04:27:49 INFO: Retrieving Pricing Info for: v3-standard-4 04:27:49 INFO: Archiving Costs [Pipeline] sh 04:27:50 + cat /w/workspace/go-mod-core-contracts/12/archives/cost.csv 04:27:50 + cut -d, -f6 [Pipeline] lock 04:27:50 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-12-stack-cost] 04:27:50 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-12-stack-cost] did not exist. Created. 04:27:50 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:27:51 /w/workspace/go-mod-core-contracts/12@tmp/durable-f56ce9b4/script.sh: 1: /w/workspace/go-mod-core-contracts/12@tmp/durable-f56ce9b4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:27:52 + echo total: 0.10999999940395355 [Pipeline] stash 04:27:52 Warning: overwriting stash ‘stack-cost’ 04:27:52 Stashed 1 file(s) [Pipeline] } 04:27:52 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-670-12-stack-cost] [Pipeline] // lock [Pipeline] } 04:27:52 $ docker stop --time=1 4760de2731b10ae66b090794a480e9f612a10acd8ef4bf3a242d4a6bdb3b6212 04:27:54 $ docker rm -f 4760de2731b10ae66b090794a480e9f612a10acd8ef4bf3a242d4a6bdb3b6212 [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 04:27:54 provisioning config files... 04:27:54 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-670@tmp/config4079091917645558254tmp [Pipeline] { [Pipeline] sh 04:27:55 + set +x 04:27:55 + bash -s -- 04:27:55 + curl -s https://codecov.io/bash 04:27:55 04:27:55 _____ _ 04:27:55 / ____| | | 04:27:55 | | ___ __| | ___ ___ _____ __ 04:27:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:27:55 | |___| (_) | (_| | __/ (_| (_) \ V / 04:27:55 \_____\___/ \__,_|\___|\___\___/ \_/ 04:27:55 Bash-1.0.6 04:27:55 04:27:55 04:27:55 ==> git version 2.24.4 found 04:27:55 ==> 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 04:27:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:27:55 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:27:55 ==> Jenkins CI detected. 04:27:55 current dir:  /w/workspace/dry_go-mod-core-contracts_PR-670 04:27:55 project root: . 04:27:55 --> token set from env 04:27:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:27:55 ==> Running gcov in . (disable via -X gcov) 04:27:55 ==> Python coveragepy not found 04:27:55 ==> Searching for coverage reports in: 04:27:55 + . 04:27:55 -> Found 1 reports 04:27:55 ==> Detecting git/mercurial file structure 04:27:55 ==> Reading reports 04:27:55 + ./coverage.out bytes=102892 04:27:55 ==> Appending adjustments 04:27:55 https://docs.codecov.io/docs/fixing-reports 04:27:55 + Found adjustments 04:27:55 ==> Gzipping contents 04:27:55 16K /tmp/codecov.kj57ZL.gz 04:27:55 ==> Uploading reports 04:27:55 url: https://codecov.io 04:27:55 query: branch=PR-670&commit=99ac5f5619a62648f944ac7ba717f4713b4f487b&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-670%2F12%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=670&job=&cmd_args= 04:27:55 -> Pinging Codecov 04:27:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=ed6cf6b4-2a06-43fb-b229-bfa3e55f90ff&branch=PR-670&commit=99ac5f5619a62648f944ac7ba717f4713b4f487b&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-670%2F12%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=670&job=&cmd_args= 04:27:56 -> Uploading to 04:27:56 https://storage.googleapis.com/codecov/v4/raw/2021-10-19/71470A77251A30514AAF9C0BB2E5B6CE/99ac5f5619a62648f944ac7ba717f4713b4f487b/bd58a807-0769-4ffd-a02e-61c3ee4a8c4d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211019%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211019T042756Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=084111c315440ee2cb231d725d34c8771b74850a4e1dcb414fe64ff820935c0a 04:27:56 % Total % Received % Xferd Average Speed Time Time Time Current 04:27:56 Dload Upload Total Spent Left Speed 04:27:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15341 0 0 100 15341 0 51217 --:--:-- --:--:-- --:--:-- 51136 100 15341 0 0 100 15341 0 51187 --:--:-- --:--:-- --:--:-- 51136 04:27:56 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/99ac5f5619a62648f944ac7ba717f4713b4f487b [Pipeline] } 04:27:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:27:59 + '[' -d /w/workspace/dry_go-mod-core-contracts_PR-670/archives ']' [Pipeline] libraryResource [Pipeline] sh 04:27:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:28:00 ---> package-listing.sh 04:28:00 ++ facter osfamily 04:28:00 ++ tr '[:upper:]' '[:lower:]' 04:28:00 + OS_FAMILY=redhat 04:28:00 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-670 04:28:00 + START_PACKAGES=/tmp/packages_start.txt 04:28:00 + END_PACKAGES=/tmp/packages_end.txt 04:28:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:28:00 + PACKAGES=/tmp/packages_start.txt 04:28:00 + '[' /w/workspace/dry_go-mod-core-contracts_PR-670 ']' 04:28:00 + PACKAGES=/tmp/packages_end.txt 04:28:00 + case "${OS_FAMILY}" in 04:28:00 + rpm -qa 04:28:00 + sort 04:28:01 + '[' -f /tmp/packages_start.txt ']' 04:28:01 + '[' -f /tmp/packages_end.txt ']' 04:28:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:28:01 + '[' /w/workspace/dry_go-mod-core-contracts_PR-670 ']' 04:28:01 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-670/archives/ 04:28:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-670/archives/ [Pipeline] echo 04:28:01 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_go-mod-core-contracts_PR-670/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:28:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:28:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:01 04:28:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:28:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:02 latest: Pulling from edgex-lftools-log-publisher 04:28:02 b4d181a07f80: Pulling fs layer 04:28:02 a1111a8f2ec3: Pulling fs layer 04:28:02 ed53099fbce6: Pulling fs layer 04:28:02 dc539afda2c1: Pulling fs layer 04:28:02 77bc0d833cb6: Pulling fs layer 04:28:02 9065ff56babe: Pulling fs layer 04:28:02 d287ab97295c: Pulling fs layer 04:28:02 dc539afda2c1: Waiting 04:28:02 77bc0d833cb6: Waiting 04:28:02 9065ff56babe: Waiting 04:28:02 d287ab97295c: Waiting 04:28:02 a1111a8f2ec3: Verifying Checksum 04:28:02 a1111a8f2ec3: Download complete 04:28:02 dc539afda2c1: Verifying Checksum 04:28:02 dc539afda2c1: Download complete 04:28:02 ed53099fbce6: Verifying Checksum 04:28:02 ed53099fbce6: Download complete 04:28:02 9065ff56babe: Verifying Checksum 04:28:02 9065ff56babe: Download complete 04:28:02 77bc0d833cb6: Verifying Checksum 04:28:02 77bc0d833cb6: Download complete 04:28:02 b4d181a07f80: Verifying Checksum 04:28:02 b4d181a07f80: Download complete 04:28:03 d287ab97295c: Verifying Checksum 04:28:03 d287ab97295c: Download complete 04:28:04 b4d181a07f80: Pull complete 04:28:04 a1111a8f2ec3: Pull complete 04:28:04 ed53099fbce6: Pull complete 04:28:04 dc539afda2c1: Pull complete 04:28:04 77bc0d833cb6: Pull complete 04:28:04 9065ff56babe: Pull complete 04:28:10 d287ab97295c: Pull complete 04:28:10 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:28:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:28:10 prd-centos7-docker-4c-2g-2346 does not seem to be running inside a container 04:28:10 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_go-mod-core-contracts_PR-670/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_go-mod-core-contracts_PR-670 -v /w/workspace/dry_go-mod-core-contracts_PR-670:/w/workspace/dry_go-mod-core-contracts_PR-670:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-670@tmp:/w/workspace/dry_go-mod-core-contracts_PR-670@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:28:12 $ docker top f52ba6a7d6d3c4d905f275de78e0719e2860cc834cf90467257a7e6f7214d8e2 -eo pid,comm [Pipeline] { [Pipeline] sh 04:28:12 + touch /tmp/pre-build-complete [Pipeline] sh 04:28:13 + mkdir -p /var/log/sysstat [Pipeline] sh 04:28:13 + ls /var/log/sa-host 04:28:13 + sadf -c /var/log/sa-host/sa19 04:28:13 file_magic: OK 04:28:13 HZ: Using current value: 100 04:28:13 file_header: OK 04:28:13 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 04:28:13 Statistics: 04:28:13 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:28:13 File successfully converted to sysstat format version 12.0.3 04:28:13 + sadf -c /var/log/sa-host/sa30 04:28:13 file_magic: OK 04:28:13 HZ: Using current value: 100 04:28:13 file_header: OK 04:28:13 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 04:28:13 Statistics: 04:28:13 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:28:13 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:28:15 provisioning config files... 04:28:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-670@tmp/config8814937137984192727tmp [Pipeline] { [Pipeline] echo 04:28:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:28:15 ---> create-netrc.sh [Pipeline] } 04:28:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:28:15 ---> python-tools-install.sh [Pipeline] echo 04:28:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:28:16 ---> sudo-logs.sh 04:28:16 Archiving 'sudo' log.. 04:28:16 sudo: unable to resolve host prd-centos7-docker-4c-2g-2346.novalocal: Name or service not known 04:28:16 sudo: unable to resolve host prd-centos7-docker-4c-2g-2346.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:28:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:28:16 ---> job-cost.sh 04:28:16 lf-activate-venv: SKIPPING 04:28:16 DEBUG: total: 0.10999999940395355 04:28:16 INFO: Retrieving Stack Cost... 04:28:26 INFO: Retrieving Pricing Info for: v3-standard-2 04:28:26 INFO: Archiving Costs [Pipeline] echo 04:28:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:28:27 ---> logs-deploy.sh 04:28:27 lf-activate-venv: SKIPPING 04:28:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-670/12 04:28:27 INFO: archiving workspace using pattern(s): 04:28:27 Archives upload complete. 04:28:27 INFO: archiving logs to Nexus